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
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.cx.v3beta1.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.cx.v3beta1.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.cx.v3beta1.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.cx.v3beta1.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.cx.v3beta1.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.cx.v3beta1.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.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>
|
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.cx.v3beta1.Tool.ConnectorTool.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
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];
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.cx.v3beta1.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.cx.v3beta1.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.cx.v3beta1.Tool.ConnectorTool.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
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 |
|
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];
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
|
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> |
|
public Tool.ConnectorTool getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
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];
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];
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
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];
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.cx.v3beta1.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.cx.v3beta1.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.cx.v3beta1.Tool.ConnectorTool.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
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];
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];
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