Class ConnectorTool (0.1.0)

public final class ConnectorTool extends GeneratedMessage implements ConnectorToolOrBuilder

A ConnectorTool allows connections to different integrations. See: https://cloud.google.com/integration-connectors/docs/overview.

Protobuf type google.cloud.ces.v1.ConnectorTool

Static Fields

ACTION_FIELD_NUMBER

public static final int ACTION_FIELD_NUMBER
Field Value
Type Description
int

AUTH_CONFIG_FIELD_NUMBER

public static final int AUTH_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

CONNECTION_FIELD_NUMBER

public static final int CONNECTION_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_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 ConnectorTool getDefaultInstance()
Returns
Type Description
ConnectorTool

getDescriptor()

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

newBuilder()

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

newBuilder(ConnectorTool prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<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

getAction()

public Action getAction()

Required. Action for the tool to use.

.google.cloud.ces.v1.Action action = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Action

The action.

getActionOrBuilder()

public ActionOrBuilder getActionOrBuilder()

Required. Action for the tool to use.

.google.cloud.ces.v1.Action action = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ActionOrBuilder

getAuthConfig()

public EndUserAuthConfig getAuthConfig()

Optional. Configures how authentication is handled in Integration Connectors. By default, an admin authentication is passed in the Integration Connectors API requests. You can override it with a different end-user authentication config. 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 for details.

.google.cloud.ces.v1.EndUserAuthConfig auth_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EndUserAuthConfig

The authConfig.

getAuthConfigOrBuilder()

public EndUserAuthConfigOrBuilder getAuthConfigOrBuilder()

Optional. Configures how authentication is handled in Integration Connectors. By default, an admin authentication is passed in the Integration Connectors API requests. You can override it with a different end-user authentication config. 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 for details.

.google.cloud.ces.v1.EndUserAuthConfig auth_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EndUserAuthConfigOrBuilder

getConnection()

public String getConnection()

Required. The full resource name of the referenced Integration Connectors Connection. Format: projects/{project}/locations/{location}/connections/{connection}

string connection = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The connection.

getConnectionBytes()

public ByteString getConnectionBytes()

Required. The full resource name of the referenced Integration Connectors Connection. Format: projects/{project}/locations/{location}/connections/{connection}

string connection = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for connection.

getDefaultInstanceForType()

public ConnectorTool getDefaultInstanceForType()
Returns
Type Description
ConnectorTool

getDescription()

public String getDescription()

Optional. The description of the tool that can be used by the Agent to decide whether to call this ConnectorTool.

string description = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. The description of the tool that can be used by the Agent to decide whether to call this ConnectorTool.

string description = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getName()

public String getName()

Optional. The name of the tool that can be used by the Agent to decide whether to call this ConnectorTool.

string name = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Optional. The name of the tool that can be used by the Agent to decide whether to call this ConnectorTool.

string name = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAction()

public boolean hasAction()

Required. Action for the tool to use.

.google.cloud.ces.v1.Action action = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the action field is set.

hasAuthConfig()

public boolean hasAuthConfig()

Optional. Configures how authentication is handled in Integration Connectors. By default, an admin authentication is passed in the Integration Connectors API requests. You can override it with a different end-user authentication config. 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 for details.

.google.cloud.ces.v1.EndUserAuthConfig auth_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the authConfig field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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