Class WidgetConfig.DataStoreComponent (0.99.0)

public static final class WidgetConfig.DataStoreComponent extends GeneratedMessage implements WidgetConfig.DataStoreComponentOrBuilder

Read-only data store component that contains data stores fields that may be used for filtering, it's the child of CollectionComponent.

Protobuf type google.cloud.discoveryengine.v1.WidgetConfig.DataStoreComponent

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > WidgetConfig.DataStoreComponent

Static Fields

DATA_STORE_CONFIG_TYPE_FIELD_NUMBER

public static final int DATA_STORE_CONFIG_TYPE_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

ENTITY_NAME_FIELD_NUMBER

public static final int ENTITY_NAME_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static WidgetConfig.DataStoreComponent getDefaultInstance()
Returns
Type Description
WidgetConfig.DataStoreComponent

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static WidgetConfig.DataStoreComponent.Builder newBuilder()
Returns
Type Description
WidgetConfig.DataStoreComponent.Builder

newBuilder(WidgetConfig.DataStoreComponent prototype)

public static WidgetConfig.DataStoreComponent.Builder newBuilder(WidgetConfig.DataStoreComponent prototype)
Parameter
Name Description
prototype WidgetConfig.DataStoreComponent
Returns
Type Description
WidgetConfig.DataStoreComponent.Builder

parseDelimitedFrom(InputStream input)

public static WidgetConfig.DataStoreComponent parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WidgetConfig.DataStoreComponent
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WidgetConfig.DataStoreComponent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetConfig.DataStoreComponent
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static WidgetConfig.DataStoreComponent parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
WidgetConfig.DataStoreComponent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WidgetConfig.DataStoreComponent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetConfig.DataStoreComponent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WidgetConfig.DataStoreComponent parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
WidgetConfig.DataStoreComponent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WidgetConfig.DataStoreComponent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetConfig.DataStoreComponent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WidgetConfig.DataStoreComponent parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
WidgetConfig.DataStoreComponent
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WidgetConfig.DataStoreComponent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetConfig.DataStoreComponent
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static WidgetConfig.DataStoreComponent parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WidgetConfig.DataStoreComponent
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WidgetConfig.DataStoreComponent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetConfig.DataStoreComponent
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static WidgetConfig.DataStoreComponent parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
WidgetConfig.DataStoreComponent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WidgetConfig.DataStoreComponent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetConfig.DataStoreComponent
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<WidgetConfig.DataStoreComponent> parser()
Returns
Type Description
Parser<DataStoreComponent>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDataStoreConfigType()

public WidgetConfig.DataStoreComponent.DataStoreConfigType getDataStoreConfigType()

Output only. The type of the data store config.

.google.cloud.discoveryengine.v1.WidgetConfig.DataStoreComponent.DataStoreConfigType data_store_config_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.DataStoreComponent.DataStoreConfigType

The dataStoreConfigType.

getDataStoreConfigTypeValue()

public int getDataStoreConfigTypeValue()

Output only. The type of the data store config.

.google.cloud.discoveryengine.v1.WidgetConfig.DataStoreComponent.DataStoreConfigType data_store_config_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for dataStoreConfigType.

getDefaultInstanceForType()

public WidgetConfig.DataStoreComponent getDefaultInstanceForType()
Returns
Type Description
WidgetConfig.DataStoreComponent

getDisplayName()

public String getDisplayName()

The display name of the data store.

string display_name = 3;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The display name of the data store.

string display_name = 3;

Returns
Type Description
ByteString

The bytes for displayName.

getEntityName()

public String getEntityName()

The name of the entity, retrieved from Collection.data_connector.entities.entityName.

string entity_name = 4;

Returns
Type Description
String

The entityName.

getEntityNameBytes()

public ByteString getEntityNameBytes()

The name of the entity, retrieved from Collection.data_connector.entities.entityName.

string entity_name = 4;

Returns
Type Description
ByteString

The bytes for entityName.

getId()

public String getId()

Output only. the identifier of the data store, used for widget service. For now it refers to data_store_id, in the future we will migrate the field to encrypted data store name UUID.

string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Output only. the identifier of the data store, used for widget service. For now it refers to data_store_id, in the future we will migrate the field to encrypted data store name UUID.

string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for id.

getName()

public String getName()

The name of the data store. It should be data store resource name Format: projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}. For APIs under WidgetService, such as WidgetService.LookupWidgetConfig, the project number and location part is erased in this field.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the data store. It should be data store resource name Format: projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}. For APIs under WidgetService, such as WidgetService.LookupWidgetConfig, the project number and location part is erased in this field.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<WidgetConfig.DataStoreComponent> getParserForType()
Returns
Type Description
Parser<DataStoreComponent>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public WidgetConfig.DataStoreComponent.Builder newBuilderForType()
Returns
Type Description
WidgetConfig.DataStoreComponent.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected WidgetConfig.DataStoreComponent.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
WidgetConfig.DataStoreComponent.Builder
Overrides

toBuilder()

public WidgetConfig.DataStoreComponent.Builder toBuilder()
Returns
Type Description
WidgetConfig.DataStoreComponent.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException