# Interface ActionOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public interface ActionOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getActionSpecCase()

    public abstract Action.ActionSpecCase getActionSpecCase()

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

### getConnectionActionId()

    public abstract String getConnectionActionId()

ID of a Connection action for the tool to use.

`string connection_action_id = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The connectionActionId. |

### getConnectionActionIdBytes()

    public abstract ByteString getConnectionActionIdBytes()

ID of a Connection action for the tool to use.

`string connection_action_id = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for connectionActionId. |

### getEntityOperation()

    public abstract Action.EntityOperation getEntityOperation()

Entity operation configuration for the tool to use.

`.google.cloud.ces.v1.Action.EntityOperation entity_operation = 5;`

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

### getEntityOperationOrBuilder()

    public abstract Action.EntityOperationOrBuilder getEntityOperationOrBuilder()

Entity operation configuration for the tool to use.

`.google.cloud.ces.v1.Action.EntityOperation entity_operation = 5;`

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

### getInputFields(int index)

    public abstract String getInputFields(int index)

Optional. Entity fields to use as inputs for the operation.
If no fields are specified, all fields of the Entity will be used.

`repeated string input_fields = 2 [(.google.api.field_behavior) = OPTIONAL];`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The inputFields at the given index. |

### getInputFieldsBytes(int index)

    public abstract ByteString getInputFieldsBytes(int index)

Optional. Entity fields to use as inputs for the operation.
If no fields are specified, all fields of the Entity will be used.

`repeated string input_fields = 2 [(.google.api.field_behavior) = OPTIONAL];`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the inputFields at the given index. |

### getInputFieldsCount()

    public abstract int getInputFieldsCount()

Optional. Entity fields to use as inputs for the operation.
If no fields are specified, all fields of the Entity will be used.

`repeated string input_fields = 2 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count of inputFields. |

### getInputFieldsList()

    public abstract List<String> getInputFieldsList()

Optional. Entity fields to use as inputs for the operation.
If no fields are specified, all fields of the Entity will be used.

`repeated string input_fields = 2 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | A list containing the inputFields. |

### getOutputFields(int index)

    public abstract String getOutputFields(int index)

Optional. Entity fields to return from the operation.
If no fields are specified, all fields of the Entity will be returned.

`repeated string output_fields = 3 [(.google.api.field_behavior) = OPTIONAL];`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The outputFields at the given index. |

### getOutputFieldsBytes(int index)

    public abstract ByteString getOutputFieldsBytes(int index)

Optional. Entity fields to return from the operation.
If no fields are specified, all fields of the Entity will be returned.

`repeated string output_fields = 3 [(.google.api.field_behavior) = OPTIONAL];`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the outputFields at the given index. |

### getOutputFieldsCount()

    public abstract int getOutputFieldsCount()

Optional. Entity fields to return from the operation.
If no fields are specified, all fields of the Entity will be returned.

`repeated string output_fields = 3 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count of outputFields. |

### getOutputFieldsList()

    public abstract List<String> getOutputFieldsList()

Optional. Entity fields to return from the operation.
If no fields are specified, all fields of the Entity will be returned.

`repeated string output_fields = 3 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | A list containing the outputFields. |

### hasConnectionActionId()

    public abstract boolean hasConnectionActionId()

ID of a Connection action for the tool to use.

`string connection_action_id = 4;`

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

### hasEntityOperation()

    public abstract boolean hasEntityOperation()

Entity operation configuration for the tool to use.

`.google.cloud.ces.v1.Action.EntityOperation entity_operation = 5;`

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