public static final class Tool.ConnectorTool.Builder extends com.google.protobuf.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.ConnectorToolgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Tool.ConnectorTool.Builder>public Tool.ConnectorTool.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Tool.ConnectorTool.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Tool.ConnectorTool.Builder>public Tool.ConnectorTool getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Tool.ConnectorTool build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Tool.ConnectorTool buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Tool.ConnectorTool.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Tool.ConnectorTool.Builder>public Tool.ConnectorTool.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Tool.ConnectorTool.Builder>public Tool.ConnectorTool.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Tool.ConnectorTool.Builder>public Tool.ConnectorTool.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Tool.ConnectorTool.Builder>public Tool.ConnectorTool.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Tool.ConnectorTool.Builder>public Tool.ConnectorTool.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Tool.ConnectorTool.Builder>public Tool.ConnectorTool.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Tool.ConnectorTool.Builder>public Tool.ConnectorTool.Builder mergeFrom(Tool.ConnectorTool other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Tool.ConnectorTool.Builder>public Tool.ConnectorTool.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Tool.ConnectorTool.Builder>IOExceptionpublic 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];getName in interface Tool.ConnectorToolOrBuilderpublic com.google.protobuf.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];getNameBytes in interface Tool.ConnectorToolOrBuilderpublic 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];value - The name to set.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 setNameBytes(com.google.protobuf.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];value - The bytes for name to set.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];
getActionsList in interface Tool.ConnectorToolOrBuilderpublic 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];
getActionsCount in interface Tool.ConnectorToolOrBuilderpublic 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];
getActions in interface Tool.ConnectorToolOrBuilderpublic 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 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(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(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.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 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];
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 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];
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];
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];
getActionsOrBuilder in interface Tool.ConnectorToolOrBuilderpublic 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];
getActionsOrBuilderList in interface Tool.ConnectorToolOrBuilderpublic 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];
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 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];
hasEndUserAuthConfig in interface Tool.ConnectorToolOrBuilderpublic 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];
getEndUserAuthConfig in interface Tool.ConnectorToolOrBuilderpublic 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 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 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.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];
getEndUserAuthConfigOrBuilder in interface Tool.ConnectorToolOrBuilderpublic final Tool.ConnectorTool.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Tool.ConnectorTool.Builder>public final Tool.ConnectorTool.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Tool.ConnectorTool.Builder>Copyright © 2025 Google LLC. All rights reserved.