Class DataStore (0.1.0)

public final class DataStore extends GeneratedMessage implements DataStoreOrBuilder

A DataStore resource in Vertex AI Search.

Protobuf type google.cloud.ces.v1.DataStore

Implements

DataStoreOrBuilder

Static Fields

CONNECTOR_CONFIG_FIELD_NUMBER

public static final int CONNECTOR_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

DOCUMENT_PROCESSING_MODE_FIELD_NUMBER

public static final int DOCUMENT_PROCESSING_MODE_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataStore getDefaultInstance()
Returns
Type Description
DataStore

getDescriptor()

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

newBuilder()

public static DataStore.Builder newBuilder()
Returns
Type Description
DataStore.Builder

newBuilder(DataStore prototype)

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

parseDelimitedFrom(InputStream input)

public static DataStore parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataStore
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static DataStore parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataStore
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static DataStore parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataStore
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static DataStore parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataStore
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static DataStore parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataStore
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<DataStore> parser()
Returns
Type Description
Parser<DataStore>

Methods

equals(Object obj)

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

getConnectorConfig()

public DataStore.ConnectorConfig getConnectorConfig()

Output only. The connector config for the data store connection.

.google.cloud.ces.v1.DataStore.ConnectorConfig connector_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataStore.ConnectorConfig

The connectorConfig.

getConnectorConfigOrBuilder()

public DataStore.ConnectorConfigOrBuilder getConnectorConfigOrBuilder()

Output only. The connector config for the data store connection.

.google.cloud.ces.v1.DataStore.ConnectorConfig connector_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataStore.ConnectorConfigOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Output only. Timestamp when the data store was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp when the data store was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public DataStore getDefaultInstanceForType()
Returns
Type Description
DataStore

getDisplayName()

public String getDisplayName()

Output only. The display name of the data store.

string display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Output only. The display name of the data store.

string display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for displayName.

getDocumentProcessingMode()

public DataStore.DocumentProcessingMode getDocumentProcessingMode()

Output only. The document processing mode for the data store connection. Only set for PUBLIC_WEB and UNSTRUCTURED data stores.

.google.cloud.ces.v1.DataStore.DocumentProcessingMode document_processing_mode = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataStore.DocumentProcessingMode

The documentProcessingMode.

getDocumentProcessingModeValue()

public int getDocumentProcessingModeValue()

Output only. The document processing mode for the data store connection. Only set for PUBLIC_WEB and UNSTRUCTURED data stores.

.google.cloud.ces.v1.DataStore.DocumentProcessingMode document_processing_mode = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for documentProcessingMode.

getName()

public String getName()

Required. Full resource name of the DataStore. Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Full resource name of the DataStore. Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<DataStore> getParserForType()
Returns
Type Description
Parser<DataStore>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getType()

public DataStore.DataStoreType getType()

Output only. The type of the data store. This field is readonly and populated by the server.

.google.cloud.ces.v1.DataStore.DataStoreType type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataStore.DataStoreType

The type.

getTypeValue()

public int getTypeValue()

Output only. The type of the data store. This field is readonly and populated by the server.

.google.cloud.ces.v1.DataStore.DataStoreType type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for type.

hasConnectorConfig()

public boolean hasConnectorConfig()

Output only. The connector config for the data store connection.

.google.cloud.ces.v1.DataStore.ConnectorConfig connector_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the connectorConfig field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. Timestamp when the data store was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

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 DataStore.Builder newBuilderForType()
Returns
Type Description
DataStore.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

public DataStore.Builder toBuilder()
Returns
Type Description
DataStore.Builder

writeTo(CodedOutputStream output)

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