Class Tool.ConnectorTool (0.87.0)
public static final class Tool.ConnectorTool extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ACTIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int END_USER_AUTH_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static Tool.ConnectorTool getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Tool.ConnectorTool.Builder newBuilder()
public static Tool.ConnectorTool.Builder newBuilder(Tool.ConnectorTool prototype)
public static Tool.ConnectorTool parseDelimitedFrom(InputStream input)
public static Tool.ConnectorTool parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Tool.ConnectorTool parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static Tool.ConnectorTool parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Tool.ConnectorTool parseFrom(ByteString data)
public static Tool.ConnectorTool parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Tool.ConnectorTool parseFrom(CodedInputStream input)
public static Tool.ConnectorTool parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Tool.ConnectorTool parseFrom(InputStream input)
public static Tool.ConnectorTool parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Tool.ConnectorTool parseFrom(ByteBuffer data)
public static Tool.ConnectorTool parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Tool.ConnectorTool> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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 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 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.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 Parser<Tool.ConnectorTool> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Tool.ConnectorTool.Builder newBuilderForType()
protected Tool.ConnectorTool.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public Tool.ConnectorTool.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]