# Interface LoggingConfigOrBuilder (0.33.0)

0.33.0 (latest) 0.31.0 0.28.0 0.27.0 0.25.0 0.23.0 0.22.0 0.20.0 0.18.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.10.0 0.8.0 0.7.0 0.4.0 0.3.0 0.2.0

    public interface LoggingConfigOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getLogActionStates(int index)

    public abstract LoggingConfig.LoggableActionState getLogActionStates(int index)

Required. States in which Action are logged.If empty, no logs are
generated.

`
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableActionState log_action_states = 2 [(.google.api.field_behavior) = REQUIRED];
`

| **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.cloud.google.com/java/docs/reference/google-cloud-storagebatchoperations/latest/com.google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableActionState` | The logActionStates at the given index. |

### getLogActionStatesCount()

    public abstract int getLogActionStatesCount()

Required. States in which Action are logged.If empty, no logs are
generated.

`
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableActionState log_action_states = 2 [(.google.api.field_behavior) = REQUIRED];
`

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

### getLogActionStatesList()

    public abstract List<LoggingConfig.LoggableActionState> getLogActionStatesList()

Required. States in which Action are logged.If empty, no logs are
generated.

`
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableActionState log_action_states = 2 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-storagebatchoperations/latest/com.google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableActionState>` | A list containing the logActionStates. |

### getLogActionStatesValue(int index)

    public abstract int getLogActionStatesValue(int index)

Required. States in which Action are logged.If empty, no logs are
generated.

`
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableActionState log_action_states = 2 [(.google.api.field_behavior) = REQUIRED];
`

| **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://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire of logActionStates at the given index. |

### getLogActionStatesValueList()

    public abstract List<Integer> getLogActionStatesValueList()

Required. States in which Action are logged.If empty, no logs are
generated.

`
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableActionState log_action_states = 2 [(.google.api.field_behavior) = REQUIRED];
`

| **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/Integer.html>` | A list containing the enum numeric values on the wire for logActionStates. |

### getLogActions(int index)

    public abstract LoggingConfig.LoggableAction getLogActions(int index)

Required. Specifies the actions to be logged.

`
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableAction log_actions = 1 [(.google.api.field_behavior) = REQUIRED];
`

| **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.cloud.google.com/java/docs/reference/google-cloud-storagebatchoperations/latest/com.google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableAction` | The logActions at the given index. |

### getLogActionsCount()

    public abstract int getLogActionsCount()

Required. Specifies the actions to be logged.

`
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableAction log_actions = 1 [(.google.api.field_behavior) = REQUIRED];
`

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

### getLogActionsList()

    public abstract List<LoggingConfig.LoggableAction> getLogActionsList()

Required. Specifies the actions to be logged.

`
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableAction log_actions = 1 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-storagebatchoperations/latest/com.google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableAction>` | A list containing the logActions. |

### getLogActionsValue(int index)

    public abstract int getLogActionsValue(int index)

Required. Specifies the actions to be logged.

`
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableAction log_actions = 1 [(.google.api.field_behavior) = REQUIRED];
`

| **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://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire of logActions at the given index. |

### getLogActionsValueList()

    public abstract List<Integer> getLogActionsValueList()

Required. Specifies the actions to be logged.

`
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableAction log_actions = 1 [(.google.api.field_behavior) = REQUIRED];
`

| **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/Integer.html>` | A list containing the enum numeric values on the wire for logActions. |