public static final class DataStoreConnection.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DataStoreConnection.Builder> implements DataStoreConnectionOrBuilder
A data store connection. It represents a data store in Discovery Engine and the type of the contents it contains.Protobuf type
google.cloud.dialogflow.cx.v3.DataStoreConnection| Modifier and Type | Method and Description |
|---|---|
DataStoreConnection.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DataStoreConnection |
build() |
DataStoreConnection |
buildPartial() |
DataStoreConnection.Builder |
clear() |
DataStoreConnection.Builder |
clearDataStore()
The full name of the referenced data store.
|
DataStoreConnection.Builder |
clearDataStoreType()
The type of the connected data store.
|
DataStoreConnection.Builder |
clearDocumentProcessingMode()
The document processing mode for the data store connection.
|
DataStoreConnection.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DataStoreConnection.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DataStoreConnection.Builder |
clone() |
String |
getDataStore()
The full name of the referenced data store.
|
com.google.protobuf.ByteString |
getDataStoreBytes()
The full name of the referenced data store.
|
DataStoreType |
getDataStoreType()
The type of the connected data store.
|
int |
getDataStoreTypeValue()
The type of the connected data store.
|
DataStoreConnection |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
DocumentProcessingMode |
getDocumentProcessingMode()
The document processing mode for the data store connection.
|
int |
getDocumentProcessingModeValue()
The document processing mode for the data store connection.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DataStoreConnection.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DataStoreConnection.Builder |
mergeFrom(DataStoreConnection other) |
DataStoreConnection.Builder |
mergeFrom(com.google.protobuf.Message other) |
DataStoreConnection.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DataStoreConnection.Builder |
setDataStore(String value)
The full name of the referenced data store.
|
DataStoreConnection.Builder |
setDataStoreBytes(com.google.protobuf.ByteString value)
The full name of the referenced data store.
|
DataStoreConnection.Builder |
setDataStoreType(DataStoreType value)
The type of the connected data store.
|
DataStoreConnection.Builder |
setDataStoreTypeValue(int value)
The type of the connected data store.
|
DataStoreConnection.Builder |
setDocumentProcessingMode(DocumentProcessingMode value)
The document processing mode for the data store connection.
|
DataStoreConnection.Builder |
setDocumentProcessingModeValue(int value)
The document processing mode for the data store connection.
|
DataStoreConnection.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DataStoreConnection.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DataStoreConnection.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DataStoreConnection.Builder>public DataStoreConnection.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<DataStoreConnection.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DataStoreConnection.Builder>public DataStoreConnection getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DataStoreConnection build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DataStoreConnection buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DataStoreConnection.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DataStoreConnection.Builder>public DataStoreConnection.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<DataStoreConnection.Builder>public DataStoreConnection.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DataStoreConnection.Builder>public DataStoreConnection.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DataStoreConnection.Builder>public DataStoreConnection.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DataStoreConnection.Builder>public DataStoreConnection.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DataStoreConnection.Builder>public DataStoreConnection.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataStoreConnection.Builder>public DataStoreConnection.Builder mergeFrom(DataStoreConnection other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DataStoreConnection.Builder>public DataStoreConnection.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataStoreConnection.Builder>IOExceptionpublic int getDataStoreTypeValue()
The type of the connected data store.
.google.cloud.dialogflow.cx.v3.DataStoreType data_store_type = 1;getDataStoreTypeValue in interface DataStoreConnectionOrBuilderpublic DataStoreConnection.Builder setDataStoreTypeValue(int value)
The type of the connected data store.
.google.cloud.dialogflow.cx.v3.DataStoreType data_store_type = 1;value - The enum numeric value on the wire for dataStoreType to set.public DataStoreType getDataStoreType()
The type of the connected data store.
.google.cloud.dialogflow.cx.v3.DataStoreType data_store_type = 1;getDataStoreType in interface DataStoreConnectionOrBuilderpublic DataStoreConnection.Builder setDataStoreType(DataStoreType value)
The type of the connected data store.
.google.cloud.dialogflow.cx.v3.DataStoreType data_store_type = 1;value - The dataStoreType to set.public DataStoreConnection.Builder clearDataStoreType()
The type of the connected data store.
.google.cloud.dialogflow.cx.v3.DataStoreType data_store_type = 1;public String getDataStore()
The full name of the referenced data store.
Formats:
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`
`projects/{project}/locations/{location}/dataStores/{data_store}`
string data_store = 2;getDataStore in interface DataStoreConnectionOrBuilderpublic com.google.protobuf.ByteString getDataStoreBytes()
The full name of the referenced data store.
Formats:
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`
`projects/{project}/locations/{location}/dataStores/{data_store}`
string data_store = 2;getDataStoreBytes in interface DataStoreConnectionOrBuilderpublic DataStoreConnection.Builder setDataStore(String value)
The full name of the referenced data store.
Formats:
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`
`projects/{project}/locations/{location}/dataStores/{data_store}`
string data_store = 2;value - The dataStore to set.public DataStoreConnection.Builder clearDataStore()
The full name of the referenced data store.
Formats:
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`
`projects/{project}/locations/{location}/dataStores/{data_store}`
string data_store = 2;public DataStoreConnection.Builder setDataStoreBytes(com.google.protobuf.ByteString value)
The full name of the referenced data store.
Formats:
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`
`projects/{project}/locations/{location}/dataStores/{data_store}`
string data_store = 2;value - The bytes for dataStore to set.public int getDocumentProcessingModeValue()
The document processing mode for the data store connection. Should only be set for PUBLIC_WEB and UNSTRUCTURED data stores. If not set it is considered as DOCUMENTS, as this is the legacy mode.
.google.cloud.dialogflow.cx.v3.DocumentProcessingMode document_processing_mode = 4;
getDocumentProcessingModeValue in interface DataStoreConnectionOrBuilderpublic DataStoreConnection.Builder setDocumentProcessingModeValue(int value)
The document processing mode for the data store connection. Should only be set for PUBLIC_WEB and UNSTRUCTURED data stores. If not set it is considered as DOCUMENTS, as this is the legacy mode.
.google.cloud.dialogflow.cx.v3.DocumentProcessingMode document_processing_mode = 4;
value - The enum numeric value on the wire for documentProcessingMode to set.public DocumentProcessingMode getDocumentProcessingMode()
The document processing mode for the data store connection. Should only be set for PUBLIC_WEB and UNSTRUCTURED data stores. If not set it is considered as DOCUMENTS, as this is the legacy mode.
.google.cloud.dialogflow.cx.v3.DocumentProcessingMode document_processing_mode = 4;
getDocumentProcessingMode in interface DataStoreConnectionOrBuilderpublic DataStoreConnection.Builder setDocumentProcessingMode(DocumentProcessingMode value)
The document processing mode for the data store connection. Should only be set for PUBLIC_WEB and UNSTRUCTURED data stores. If not set it is considered as DOCUMENTS, as this is the legacy mode.
.google.cloud.dialogflow.cx.v3.DocumentProcessingMode document_processing_mode = 4;
value - The documentProcessingMode to set.public DataStoreConnection.Builder clearDocumentProcessingMode()
The document processing mode for the data store connection. Should only be set for PUBLIC_WEB and UNSTRUCTURED data stores. If not set it is considered as DOCUMENTS, as this is the legacy mode.
.google.cloud.dialogflow.cx.v3.DocumentProcessingMode document_processing_mode = 4;
public final DataStoreConnection.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DataStoreConnection.Builder>public final DataStoreConnection.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DataStoreConnection.Builder>Copyright © 2025 Google LLC. All rights reserved.