# Interface ConnectorToolOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public interface ConnectorToolOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getAction()

    public abstract Action getAction()

Required. Action for the tool to use.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.Action` | The action. |

### getActionOrBuilder()

    public abstract ActionOrBuilder getActionOrBuilder()

Required. Action for the tool to use.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.ActionOrBuilder` |   |

### getAuthConfig()

    public abstract 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.v1beta.EndUserAuthConfig auth_config = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.EndUserAuthConfig` | The authConfig. |

### getAuthConfigOrBuilder()

    public abstract 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.v1beta.EndUserAuthConfig auth_config = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.EndUserAuthConfigOrBuilder` |   |

### getConnection()

    public abstract 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The connection. |

### getConnectionBytes()

    public abstract 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for connection. |

### getDescription()

    public abstract 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The description. |

### getDescriptionBytes()

    public abstract 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for description. |

### getName()

    public abstract 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The name. |

### getNameBytes()

    public abstract 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for name. |

### hasAction()

    public abstract boolean hasAction()

Required. Action for the tool to use.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the action field is set. |

### hasAuthConfig()

    public abstract 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.v1beta.EndUserAuthConfig auth_config = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the authConfig field is set. |