Class Tool.ConnectorTool (0.71.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

Static Fields

ACTIONS_FIELD_NUMBER

public static final int ACTIONS_FIELD_NUMBER
Field Value
Type Description
int

END_USER_AUTH_CONFIG_FIELD_NUMBER

public static final int END_USER_AUTH_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Tool.ConnectorTool getDefaultInstance()
Returns
Type Description
Tool.ConnectorTool

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Tool.ConnectorTool.Builder newBuilder()
Returns
Type Description
Tool.ConnectorTool.Builder

newBuilder(Tool.ConnectorTool prototype)

public static Tool.ConnectorTool.Builder newBuilder(Tool.ConnectorTool prototype)
Parameter
Name Description
prototype Tool.ConnectorTool
Returns
Type Description
Tool.ConnectorTool.Builder

parseDelimitedFrom(InputStream input)

public static Tool.ConnectorTool parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Tool.ConnectorTool
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Tool.ConnectorTool parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Tool.ConnectorTool
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Tool.ConnectorTool parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Tool.ConnectorTool
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Tool.ConnectorTool parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Tool.ConnectorTool
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Tool.ConnectorTool parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Tool.ConnectorTool
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Tool.ConnectorTool parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Tool.ConnectorTool
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Tool.ConnectorTool parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Tool.ConnectorTool
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Tool.ConnectorTool parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Tool.ConnectorTool
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Tool.ConnectorTool parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Tool.ConnectorTool
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Tool.ConnectorTool parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Tool.ConnectorTool
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Tool.ConnectorTool parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Tool.ConnectorTool
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Tool.ConnectorTool parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Tool.ConnectorTool
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Tool.ConnectorTool> parser()
Returns
Type Description
Parser<ConnectorTool>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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

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.

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.

getParserForType()

public Parser<Tool.ConnectorTool> getParserForType()
Returns
Type Description
Parser<ConnectorTool>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Tool.ConnectorTool.Builder newBuilderForType()
Returns
Type Description
Tool.ConnectorTool.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Tool.ConnectorTool.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Tool.ConnectorTool.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Tool.ConnectorTool.Builder toBuilder()
Returns
Type Description
Tool.ConnectorTool.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException