public static final class Tool.ConnectorTool.Builder extends GeneratedMessage.Builder<Tool.ConnectorTool.Builder> implements Tool.ConnectorToolOrBuilderA ConnectorTool enabling using Integration Connectors Connections as tools.
Protobuf type google.cloud.dialogflow.v2.Tool.ConnectorTool
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Tool.ConnectorTool.BuilderImplements
Tool.ConnectorToolOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addActions(Tool.ConnectorTool.Action value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
Tool.ConnectorTool.Action |
| Returns | |
|---|---|
| Type | Description |
Tool.ConnectorTool.Builder |
|
addActions(Tool.ConnectorTool.Action.Builder builderForValue)
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Tool.ConnectorTool.Action.Builder |
| Returns | |
|---|---|
| Type | Description |
Tool.ConnectorTool.Builder |
|
addActions(int index, Tool.ConnectorTool.Action value)
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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Tool.ConnectorTool.Action |
| Returns | |
|---|---|
| Type | Description |
Tool.ConnectorTool.Builder |
|
addActions(int index, Tool.ConnectorTool.Action.Builder builderForValue)
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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Tool.ConnectorTool.Action.Builder |
| Returns | |
|---|---|
| Type | Description |
Tool.ConnectorTool.Builder |
|
addActionsBuilder()
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];
| Returns | |
|---|---|
| Type | Description |
Tool.ConnectorTool.Action.Builder |
|
addActionsBuilder(int index)
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 |
| Returns | |
|---|---|
| Type | Description |
Tool.ConnectorTool.Action.Builder |
|
addAllActions(Iterable<? extends Tool.ConnectorTool.Action> values)
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> |
| Returns | |
|---|---|
| Type | Description |
Tool.ConnectorTool.Builder |
|
build()
public Tool.ConnectorTool build()| Returns | |
|---|---|
| Type | Description |
Tool.ConnectorTool |
|
buildPartial()
public Tool.ConnectorTool buildPartial()| Returns | |
|---|---|
| Type | Description |
Tool.ConnectorTool |
|
clear()
public Tool.ConnectorTool.Builder clear()| Returns | |
|---|---|
| Type | Description |
Tool.ConnectorTool.Builder |
|
clearActions()
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];
| Returns | |
|---|---|
| Type | Description |
Tool.ConnectorTool.Builder |
|
clearName()
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];
| Returns | |
|---|---|
| Type | Description |
Tool.ConnectorTool.Builder |
This builder for chaining. |
getActions(int index)
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 |
| Returns | |
|---|---|
| Type | Description |
Tool.ConnectorTool.Action |
|
getActionsBuilder(int index)
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 |
| Returns | |
|---|---|
| Type | Description |
Tool.ConnectorTool.Action.Builder |
|
getActionsBuilderList()
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];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getActionsCount()
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 |
|
getActionsList()
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];
| Returns | |
|---|---|
| Type | Description |
List<Action> |
|
getActionsOrBuilder(int index)
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 |
| Returns | |
|---|---|
| Type | Description |
Tool.ConnectorTool.ActionOrBuilder |
|
getActionsOrBuilderList()
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> |
|
getDefaultInstanceForType()
public Tool.ConnectorTool getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Tool.ConnectorTool |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()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. |
getNameBytes()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Tool.ConnectorTool other)
public Tool.ConnectorTool.Builder mergeFrom(Tool.ConnectorTool other)| Parameter | |
|---|---|
| Name | Description |
other |
Tool.ConnectorTool |
| Returns | |
|---|---|
| Type | Description |
Tool.ConnectorTool.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Tool.ConnectorTool.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Tool.ConnectorTool.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Tool.ConnectorTool.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Tool.ConnectorTool.Builder |
|
removeActions(int index)
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 |
| Returns | |
|---|---|
| Type | Description |
Tool.ConnectorTool.Builder |
|
setActions(int index, Tool.ConnectorTool.Action value)
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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Tool.ConnectorTool.Action |
| Returns | |
|---|---|
| Type | Description |
Tool.ConnectorTool.Builder |
|
setActions(int index, Tool.ConnectorTool.Action.Builder builderForValue)
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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Tool.ConnectorTool.Action.Builder |
| Returns | |
|---|---|
| Type | Description |
Tool.ConnectorTool.Builder |
|
setName(String value)
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 |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Tool.ConnectorTool.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Tool.ConnectorTool.Builder |
This builder for chaining. |