# Interface Action.EntityOperationOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public static interface Action.EntityOperationOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getEntityId()

    public abstract String getEntityId()

Required. ID of the entity.

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

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

### getEntityIdBytes()

    public abstract ByteString getEntityIdBytes()

Required. ID of the entity.

`string entity_id = 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 entityId. |

### getOperation()

    public abstract Action.EntityOperation.OperationType getOperation()

Required. Operation to perform on the entity.

`
.google.cloud.ces.v1beta.Action.EntityOperation.OperationType operation = 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.EntityOperation.OperationType` | The operation. |

### getOperationValue()

    public abstract int getOperationValue()

Required. Operation to perform on the entity.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for operation. |