Class Tool.ConnectorTool.Builder (0.71.0)

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.cx.v3beta1.Tool.ConnectorTool

Static 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.cx.v3beta1.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.cx.v3beta1.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.cx.v3beta1.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.cx.v3beta1.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.cx.v3beta1.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.cx.v3beta1.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.cx.v3beta1.Tool.ConnectorTool.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.Tool.ConnectorTool.Action>
Returns
Type Description
Tool.ConnectorTool.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Tool.ConnectorTool.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Tool.ConnectorTool.Builder
Overrides

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
Overrides

clearActions()

public Tool.ConnectorTool.Builder clearActions()

Required. Actions for the tool to use.

repeated .google.cloud.dialogflow.cx.v3beta1.Tool.ConnectorTool.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Tool.ConnectorTool.Builder

clearEndUserAuthConfig()

public Tool.ConnectorTool.Builder clearEndUserAuthConfig()

Optional. Integration Connectors end-user authentication configuration. If configured, the end-user authentication fields will be passed in the Integration Connectors API request and override the admin, default authentication configured for the Connection. Note: The Connection must have authentication override enabled in order to specify an EUC configuration here - otherwise, the ConnectorTool creation will fail. See: https://cloud.google.com/application-integration/docs/configure-connectors-task#configure-authentication-override

.google.cloud.dialogflow.cx.v3beta1.Tool.EndUserAuthConfig end_user_auth_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Tool.ConnectorTool.Builder

clearField(Descriptors.FieldDescriptor field)

public Tool.ConnectorTool.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Tool.ConnectorTool.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public Tool.ConnectorTool.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Tool.ConnectorTool.Builder
Overrides

clone()

public Tool.ConnectorTool.Builder clone()
Returns
Type Description
Tool.ConnectorTool.Builder
Overrides

getActions(int index)

public Tool.ConnectorTool.Action getActions(int index)

Required. Actions for the tool to use.

repeated .google.cloud.dialogflow.cx.v3beta1.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.cx.v3beta1.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.cx.v3beta1.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.cx.v3beta1.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.cx.v3beta1.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.cx.v3beta1.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.cx.v3beta1.Tool.ConnectorTool.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.Tool.ConnectorTool.ActionOrBuilder>

getDefaultInstanceForType()

public Tool.ConnectorTool getDefaultInstanceForType()
Returns
Type Description
Tool.ConnectorTool

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEndUserAuthConfig()

public Tool.EndUserAuthConfig getEndUserAuthConfig()

Optional. Integration Connectors end-user authentication configuration. If configured, the end-user authentication fields will be passed in the Integration Connectors API request and override the admin, default authentication configured for the Connection. Note: The Connection must have authentication override enabled in order to specify an EUC configuration here - otherwise, the ConnectorTool creation will fail. See: https://cloud.google.com/application-integration/docs/configure-connectors-task#configure-authentication-override

.google.cloud.dialogflow.cx.v3beta1.Tool.EndUserAuthConfig end_user_auth_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Tool.EndUserAuthConfig

The endUserAuthConfig.

getEndUserAuthConfigBuilder()

public Tool.EndUserAuthConfig.Builder getEndUserAuthConfigBuilder()

Optional. Integration Connectors end-user authentication configuration. If configured, the end-user authentication fields will be passed in the Integration Connectors API request and override the admin, default authentication configured for the Connection. Note: The Connection must have authentication override enabled in order to specify an EUC configuration here - otherwise, the ConnectorTool creation will fail. See: https://cloud.google.com/application-integration/docs/configure-connectors-task#configure-authentication-override

.google.cloud.dialogflow.cx.v3beta1.Tool.EndUserAuthConfig end_user_auth_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Tool.EndUserAuthConfig.Builder

getEndUserAuthConfigOrBuilder()

public Tool.EndUserAuthConfigOrBuilder getEndUserAuthConfigOrBuilder()

Optional. Integration Connectors end-user authentication configuration. If configured, the end-user authentication fields will be passed in the Integration Connectors API request and override the admin, default authentication configured for the Connection. Note: The Connection must have authentication override enabled in order to specify an EUC configuration here - otherwise, the ConnectorTool creation will fail. See: https://cloud.google.com/application-integration/docs/configure-connectors-task#configure-authentication-override

.google.cloud.dialogflow.cx.v3beta1.Tool.EndUserAuthConfig end_user_auth_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Tool.EndUserAuthConfigOrBuilder

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.

hasEndUserAuthConfig()

public boolean hasEndUserAuthConfig()

Optional. Integration Connectors end-user authentication configuration. If configured, the end-user authentication fields will be passed in the Integration Connectors API request and override the admin, default authentication configured for the Connection. Note: The Connection must have authentication override enabled in order to specify an EUC configuration here - otherwise, the ConnectorTool creation will fail. See: https://cloud.google.com/application-integration/docs/configure-connectors-task#configure-authentication-override

.google.cloud.dialogflow.cx.v3beta1.Tool.EndUserAuthConfig end_user_auth_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the endUserAuthConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndUserAuthConfig(Tool.EndUserAuthConfig value)

public Tool.ConnectorTool.Builder mergeEndUserAuthConfig(Tool.EndUserAuthConfig value)

Optional. Integration Connectors end-user authentication configuration. If configured, the end-user authentication fields will be passed in the Integration Connectors API request and override the admin, default authentication configured for the Connection. Note: The Connection must have authentication override enabled in order to specify an EUC configuration here - otherwise, the ConnectorTool creation will fail. See: https://cloud.google.com/application-integration/docs/configure-connectors-task#configure-authentication-override

.google.cloud.dialogflow.cx.v3beta1.Tool.EndUserAuthConfig end_user_auth_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Tool.EndUserAuthConfig
Returns
Type Description
Tool.ConnectorTool.Builder

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
Overrides
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
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Tool.ConnectorTool.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Tool.ConnectorTool.Builder
Overrides

removeActions(int index)

public Tool.ConnectorTool.Builder removeActions(int index)

Required. Actions for the tool to use.

repeated .google.cloud.dialogflow.cx.v3beta1.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.cx.v3beta1.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.cx.v3beta1.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

setEndUserAuthConfig(Tool.EndUserAuthConfig value)

public Tool.ConnectorTool.Builder setEndUserAuthConfig(Tool.EndUserAuthConfig value)

Optional. Integration Connectors end-user authentication configuration. If configured, the end-user authentication fields will be passed in the Integration Connectors API request and override the admin, default authentication configured for the Connection. Note: The Connection must have authentication override enabled in order to specify an EUC configuration here - otherwise, the ConnectorTool creation will fail. See: https://cloud.google.com/application-integration/docs/configure-connectors-task#configure-authentication-override

.google.cloud.dialogflow.cx.v3beta1.Tool.EndUserAuthConfig end_user_auth_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Tool.EndUserAuthConfig
Returns
Type Description
Tool.ConnectorTool.Builder

setEndUserAuthConfig(Tool.EndUserAuthConfig.Builder builderForValue)

public Tool.ConnectorTool.Builder setEndUserAuthConfig(Tool.EndUserAuthConfig.Builder builderForValue)

Optional. Integration Connectors end-user authentication configuration. If configured, the end-user authentication fields will be passed in the Integration Connectors API request and override the admin, default authentication configured for the Connection. Note: The Connection must have authentication override enabled in order to specify an EUC configuration here - otherwise, the ConnectorTool creation will fail. See: https://cloud.google.com/application-integration/docs/configure-connectors-task#configure-authentication-override

.google.cloud.dialogflow.cx.v3beta1.Tool.EndUserAuthConfig end_user_auth_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Tool.EndUserAuthConfig.Builder
Returns
Type Description
Tool.ConnectorTool.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Tool.ConnectorTool.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Tool.ConnectorTool.Builder
Overrides

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 String

The 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 ByteString

The bytes for name to set.

Returns
Type Description
Tool.ConnectorTool.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Tool.ConnectorTool.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Tool.ConnectorTool.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Tool.ConnectorTool.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Tool.ConnectorTool.Builder
Overrides