public static final class Tool.ConnectorTool.Builder extends GeneratedMessageV3.Builder<Tool.ConnectorTool.Builder> implements Tool.ConnectorToolOrBuilder
A ConnectorTool enabling using Integration Connectors Connections as tools.
Protobuf type google.cloud.dialogflow.v2.Tool.ConnectorTool
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.ConnectorTool.Builder addActions(Tool.ConnectorTool.Action value)
Required. Actions for the tool to use.
repeated .google.cloud.dialogflow.v2.Tool.ConnectorTool.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
public Tool.ConnectorTool.Builder addActions(Tool.ConnectorTool.Action.Builder builderForValue)
Required. Actions for the tool to use.
repeated .google.cloud.dialogflow.v2.Tool.ConnectorTool.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
public Tool.ConnectorTool.Builder addActions(int index, Tool.ConnectorTool.Action value)
Required. Actions for the tool to use.
repeated .google.cloud.dialogflow.v2.Tool.ConnectorTool.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
public Tool.ConnectorTool.Builder addActions(int index, Tool.ConnectorTool.Action.Builder builderForValue)
Required. Actions for the tool to use.
repeated .google.cloud.dialogflow.v2.Tool.ConnectorTool.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
public Tool.ConnectorTool.Action.Builder addActionsBuilder()
Required. Actions for the tool to use.
repeated .google.cloud.dialogflow.v2.Tool.ConnectorTool.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
public Tool.ConnectorTool.Action.Builder addActionsBuilder(int index)
Required. Actions for the tool to use.
repeated .google.cloud.dialogflow.v2.Tool.ConnectorTool.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public Tool.ConnectorTool.Builder addAllActions(Iterable<? extends Tool.ConnectorTool.Action> values)
Required. Actions for the tool to use.
repeated .google.cloud.dialogflow.v2.Tool.ConnectorTool.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2.Tool.ConnectorTool.Action>
|
public Tool.ConnectorTool.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Tool.ConnectorTool build()
public Tool.ConnectorTool buildPartial()
public Tool.ConnectorTool.Builder clear()
Overrides
public Tool.ConnectorTool.Builder clearActions()
Required. Actions for the tool to use.
repeated .google.cloud.dialogflow.v2.Tool.ConnectorTool.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
public Tool.ConnectorTool.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public Tool.ConnectorTool.Builder clearName()
Required. The full resource name of the referenced Integration Connectors
Connection. Format: 'projects/*/locations/*/connections/*'
string name = 1 [(.google.api.field_behavior) = REQUIRED];
public Tool.ConnectorTool.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public Tool.ConnectorTool.Builder clone()
Overrides
public Tool.ConnectorTool.Action getActions(int index)
Required. Actions for the tool to use.
repeated .google.cloud.dialogflow.v2.Tool.ConnectorTool.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public Tool.ConnectorTool.Action.Builder getActionsBuilder(int index)
Required. Actions for the tool to use.
repeated .google.cloud.dialogflow.v2.Tool.ConnectorTool.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public List<Tool.ConnectorTool.Action.Builder> getActionsBuilderList()
Required. Actions for the tool to use.
repeated .google.cloud.dialogflow.v2.Tool.ConnectorTool.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
public int getActionsCount()
Required. Actions for the tool to use.
repeated .google.cloud.dialogflow.v2.Tool.ConnectorTool.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
int |
|
public List<Tool.ConnectorTool.Action> getActionsList()
Required. Actions for the tool to use.
repeated .google.cloud.dialogflow.v2.Tool.ConnectorTool.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
public Tool.ConnectorTool.ActionOrBuilder getActionsOrBuilder(int index)
Required. Actions for the tool to use.
repeated .google.cloud.dialogflow.v2.Tool.ConnectorTool.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public List<? extends Tool.ConnectorTool.ActionOrBuilder> getActionsOrBuilderList()
Required. Actions for the tool to use.
repeated .google.cloud.dialogflow.v2.Tool.ConnectorTool.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.dialogflow.v2.Tool.ConnectorTool.ActionOrBuilder> |
|
public Tool.ConnectorTool getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
Required. The full resource name of the referenced Integration Connectors
Connection. Format: 'projects/*/locations/*/connections/*'
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The name.
|
public ByteString getNameBytes()
Required. The full resource name of the referenced Integration Connectors
Connection. Format: 'projects/*/locations/*/connections/*'
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Tool.ConnectorTool.Builder mergeFrom(Tool.ConnectorTool other)
public Tool.ConnectorTool.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public Tool.ConnectorTool.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
public final Tool.ConnectorTool.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public Tool.ConnectorTool.Builder removeActions(int index)
Required. Actions for the tool to use.
repeated .google.cloud.dialogflow.v2.Tool.ConnectorTool.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public Tool.ConnectorTool.Builder setActions(int index, Tool.ConnectorTool.Action value)
Required. Actions for the tool to use.
repeated .google.cloud.dialogflow.v2.Tool.ConnectorTool.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
public Tool.ConnectorTool.Builder setActions(int index, Tool.ConnectorTool.Action.Builder builderForValue)
Required. Actions for the tool to use.
repeated .google.cloud.dialogflow.v2.Tool.ConnectorTool.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
public Tool.ConnectorTool.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Tool.ConnectorTool.Builder setName(String value)
Required. The full resource name of the referenced Integration Connectors
Connection. Format: 'projects/*/locations/*/connections/*'
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
String
The name to set.
|
public Tool.ConnectorTool.Builder setNameBytes(ByteString value)
Required. The full resource name of the referenced Integration Connectors
Connection. Format: 'projects/*/locations/*/connections/*'
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for name to set.
|
public Tool.ConnectorTool.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final Tool.ConnectorTool.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides