public static final class DataStore.Builder extends GeneratedMessage.Builder<DataStore.Builder> implements DataStoreOrBuilderA DataStore resource in Vertex AI Search.
Protobuf type google.cloud.ces.v1.DataStore
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataStore.BuilderImplements
DataStoreOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DataStore build()| Returns | |
|---|---|
| Type | Description |
DataStore |
|
buildPartial()
public DataStore buildPartial()| Returns | |
|---|---|
| Type | Description |
DataStore |
|
clear()
public DataStore.Builder clear()| Returns | |
|---|---|
| Type | Description |
DataStore.Builder |
|
clearConnectorConfig()
public DataStore.Builder clearConnectorConfig()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.Builder |
|
clearCreateTime()
public DataStore.Builder clearCreateTime()Output only. Timestamp when the data store was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataStore.Builder |
|
clearDisplayName()
public DataStore.Builder clearDisplayName()Output only. The display name of the data store.
string display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataStore.Builder |
This builder for chaining. |
clearDocumentProcessingMode()
public DataStore.Builder clearDocumentProcessingMode()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.Builder |
This builder for chaining. |
clearName()
public DataStore.Builder clearName() 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 |
DataStore.Builder |
This builder for chaining. |
clearType()
public DataStore.Builder clearType()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.Builder |
This builder for chaining. |
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. |
getConnectorConfigBuilder()
public DataStore.ConnectorConfig.Builder getConnectorConfigBuilder()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.Builder |
|
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. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. Timestamp when the data store was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeConnectorConfig(DataStore.ConnectorConfig value)
public DataStore.Builder mergeConnectorConfig(DataStore.ConnectorConfig value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
DataStore.ConnectorConfig |
| Returns | |
|---|---|
| Type | Description |
DataStore.Builder |
|
mergeCreateTime(Timestamp value)
public DataStore.Builder mergeCreateTime(Timestamp value)Output only. Timestamp when the data store was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
DataStore.Builder |
|
mergeFrom(DataStore other)
public DataStore.Builder mergeFrom(DataStore other)| Parameter | |
|---|---|
| Name | Description |
other |
DataStore |
| Returns | |
|---|---|
| Type | Description |
DataStore.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataStore.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataStore.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DataStore.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataStore.Builder |
|
setConnectorConfig(DataStore.ConnectorConfig value)
public DataStore.Builder setConnectorConfig(DataStore.ConnectorConfig value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
DataStore.ConnectorConfig |
| Returns | |
|---|---|
| Type | Description |
DataStore.Builder |
|
setConnectorConfig(DataStore.ConnectorConfig.Builder builderForValue)
public DataStore.Builder setConnectorConfig(DataStore.ConnectorConfig.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DataStore.ConnectorConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
DataStore.Builder |
|
setCreateTime(Timestamp value)
public DataStore.Builder setCreateTime(Timestamp value)Output only. Timestamp when the data store was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
DataStore.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public DataStore.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. Timestamp when the data store was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DataStore.Builder |
|
setDisplayName(String value)
public DataStore.Builder setDisplayName(String value)Output only. The display name of the data store.
string display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
DataStore.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public DataStore.Builder setDisplayNameBytes(ByteString value)Output only. The display name of the data store.
string display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
DataStore.Builder |
This builder for chaining. |
setDocumentProcessingMode(DataStore.DocumentProcessingMode value)
public DataStore.Builder setDocumentProcessingMode(DataStore.DocumentProcessingMode value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
DataStore.DocumentProcessingModeThe documentProcessingMode to set. |
| Returns | |
|---|---|
| Type | Description |
DataStore.Builder |
This builder for chaining. |
setDocumentProcessingModeValue(int value)
public DataStore.Builder setDocumentProcessingModeValue(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for documentProcessingMode to set. |
| Returns | |
|---|---|
| Type | Description |
DataStore.Builder |
This builder for chaining. |
setName(String value)
public DataStore.Builder setName(String value) Required. Full resource name of the DataStore.
Format:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DataStore.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DataStore.Builder setNameBytes(ByteString value) Required. Full resource name of the DataStore.
Format:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DataStore.Builder |
This builder for chaining. |
setType(DataStore.DataStoreType value)
public DataStore.Builder setType(DataStore.DataStoreType value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
DataStore.DataStoreTypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
DataStore.Builder |
This builder for chaining. |
setTypeValue(int value)
public DataStore.Builder setTypeValue(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
DataStore.Builder |
This builder for chaining. |