public static final class Tool.DataStoreTool.Builder extends GeneratedMessageV3.Builder<Tool.DataStoreTool.Builder> implements Tool.DataStoreToolOrBuilder
A DataStoreTool is a way to provide specifications needed to search a
list of data stores.
Protobuf type google.cloud.dialogflow.cx.v3beta1.Tool.DataStoreTool
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public Tool.DataStoreTool.Builder addAllDataStoreConnections(Iterable<? extends DataStoreConnection> values)
Required. List of data stores to search.
repeated .google.cloud.dialogflow.cx.v3beta1.DataStoreConnection data_store_connections = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.DataStoreConnection>
|
public Tool.DataStoreTool.Builder addDataStoreConnections(DataStoreConnection value)
Required. List of data stores to search.
repeated .google.cloud.dialogflow.cx.v3beta1.DataStoreConnection data_store_connections = 1 [(.google.api.field_behavior) = REQUIRED];
public Tool.DataStoreTool.Builder addDataStoreConnections(DataStoreConnection.Builder builderForValue)
Required. List of data stores to search.
repeated .google.cloud.dialogflow.cx.v3beta1.DataStoreConnection data_store_connections = 1 [(.google.api.field_behavior) = REQUIRED];
public Tool.DataStoreTool.Builder addDataStoreConnections(int index, DataStoreConnection value)
Required. List of data stores to search.
repeated .google.cloud.dialogflow.cx.v3beta1.DataStoreConnection data_store_connections = 1 [(.google.api.field_behavior) = REQUIRED];
public Tool.DataStoreTool.Builder addDataStoreConnections(int index, DataStoreConnection.Builder builderForValue)
Required. List of data stores to search.
repeated .google.cloud.dialogflow.cx.v3beta1.DataStoreConnection data_store_connections = 1 [(.google.api.field_behavior) = REQUIRED];
public DataStoreConnection.Builder addDataStoreConnectionsBuilder()
Required. List of data stores to search.
repeated .google.cloud.dialogflow.cx.v3beta1.DataStoreConnection data_store_connections = 1 [(.google.api.field_behavior) = REQUIRED];
public DataStoreConnection.Builder addDataStoreConnectionsBuilder(int index)
Required. List of data stores to search.
repeated .google.cloud.dialogflow.cx.v3beta1.DataStoreConnection data_store_connections = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
public Tool.DataStoreTool.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Tool.DataStoreTool build()
public Tool.DataStoreTool buildPartial()
public Tool.DataStoreTool.Builder clear()
Overrides
public Tool.DataStoreTool.Builder clearDataStoreConnections()
Required. List of data stores to search.
repeated .google.cloud.dialogflow.cx.v3beta1.DataStoreConnection data_store_connections = 1 [(.google.api.field_behavior) = REQUIRED];
public Tool.DataStoreTool.Builder clearFallbackPrompt()
Required. Fallback prompt configurations to use.
.google.cloud.dialogflow.cx.v3beta1.Tool.DataStoreTool.FallbackPrompt fallback_prompt = 3 [(.google.api.field_behavior) = REQUIRED];
public Tool.DataStoreTool.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public Tool.DataStoreTool.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public Tool.DataStoreTool.Builder clone()
Overrides
public DataStoreConnection getDataStoreConnections(int index)
Required. List of data stores to search.
repeated .google.cloud.dialogflow.cx.v3beta1.DataStoreConnection data_store_connections = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
public DataStoreConnection.Builder getDataStoreConnectionsBuilder(int index)
Required. List of data stores to search.
repeated .google.cloud.dialogflow.cx.v3beta1.DataStoreConnection data_store_connections = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
public List<DataStoreConnection.Builder> getDataStoreConnectionsBuilderList()
Required. List of data stores to search.
repeated .google.cloud.dialogflow.cx.v3beta1.DataStoreConnection data_store_connections = 1 [(.google.api.field_behavior) = REQUIRED];
public int getDataStoreConnectionsCount()
Required. List of data stores to search.
repeated .google.cloud.dialogflow.cx.v3beta1.DataStoreConnection data_store_connections = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
public List<DataStoreConnection> getDataStoreConnectionsList()
Required. List of data stores to search.
repeated .google.cloud.dialogflow.cx.v3beta1.DataStoreConnection data_store_connections = 1 [(.google.api.field_behavior) = REQUIRED];
public DataStoreConnectionOrBuilder getDataStoreConnectionsOrBuilder(int index)
Required. List of data stores to search.
repeated .google.cloud.dialogflow.cx.v3beta1.DataStoreConnection data_store_connections = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
public List<? extends DataStoreConnectionOrBuilder> getDataStoreConnectionsOrBuilderList()
Required. List of data stores to search.
repeated .google.cloud.dialogflow.cx.v3beta1.DataStoreConnection data_store_connections = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionOrBuilder> |
|
public Tool.DataStoreTool getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Tool.DataStoreTool.FallbackPrompt getFallbackPrompt()
Required. Fallback prompt configurations to use.
.google.cloud.dialogflow.cx.v3beta1.Tool.DataStoreTool.FallbackPrompt fallback_prompt = 3 [(.google.api.field_behavior) = REQUIRED];
public Tool.DataStoreTool.FallbackPrompt.Builder getFallbackPromptBuilder()
Required. Fallback prompt configurations to use.
.google.cloud.dialogflow.cx.v3beta1.Tool.DataStoreTool.FallbackPrompt fallback_prompt = 3 [(.google.api.field_behavior) = REQUIRED];
public Tool.DataStoreTool.FallbackPromptOrBuilder getFallbackPromptOrBuilder()
Required. Fallback prompt configurations to use.
.google.cloud.dialogflow.cx.v3beta1.Tool.DataStoreTool.FallbackPrompt fallback_prompt = 3 [(.google.api.field_behavior) = REQUIRED];
public boolean hasFallbackPrompt()
Required. Fallback prompt configurations to use.
.google.cloud.dialogflow.cx.v3beta1.Tool.DataStoreTool.FallbackPrompt fallback_prompt = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the fallbackPrompt field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Tool.DataStoreTool.Builder mergeFallbackPrompt(Tool.DataStoreTool.FallbackPrompt value)
Required. Fallback prompt configurations to use.
.google.cloud.dialogflow.cx.v3beta1.Tool.DataStoreTool.FallbackPrompt fallback_prompt = 3 [(.google.api.field_behavior) = REQUIRED];
public Tool.DataStoreTool.Builder mergeFrom(Tool.DataStoreTool other)
public Tool.DataStoreTool.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public Tool.DataStoreTool.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final Tool.DataStoreTool.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public Tool.DataStoreTool.Builder removeDataStoreConnections(int index)
Required. List of data stores to search.
repeated .google.cloud.dialogflow.cx.v3beta1.DataStoreConnection data_store_connections = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
public Tool.DataStoreTool.Builder setDataStoreConnections(int index, DataStoreConnection value)
Required. List of data stores to search.
repeated .google.cloud.dialogflow.cx.v3beta1.DataStoreConnection data_store_connections = 1 [(.google.api.field_behavior) = REQUIRED];
public Tool.DataStoreTool.Builder setDataStoreConnections(int index, DataStoreConnection.Builder builderForValue)
Required. List of data stores to search.
repeated .google.cloud.dialogflow.cx.v3beta1.DataStoreConnection data_store_connections = 1 [(.google.api.field_behavior) = REQUIRED];
public Tool.DataStoreTool.Builder setFallbackPrompt(Tool.DataStoreTool.FallbackPrompt value)
Required. Fallback prompt configurations to use.
.google.cloud.dialogflow.cx.v3beta1.Tool.DataStoreTool.FallbackPrompt fallback_prompt = 3 [(.google.api.field_behavior) = REQUIRED];
public Tool.DataStoreTool.Builder setFallbackPrompt(Tool.DataStoreTool.FallbackPrompt.Builder builderForValue)
Required. Fallback prompt configurations to use.
.google.cloud.dialogflow.cx.v3beta1.Tool.DataStoreTool.FallbackPrompt fallback_prompt = 3 [(.google.api.field_behavior) = REQUIRED];
public Tool.DataStoreTool.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Tool.DataStoreTool.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final Tool.DataStoreTool.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides