@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    getSerializedSize();
    if (getLogActionsList().size() > 0) {
      output.writeUInt32NoTag(10);
      output.writeUInt32NoTag(logActionsMemoizedSerializedSize);
    }
    for (int i = 0; i < logActions_.size(); i++) {
      output.writeEnumNoTag(logActions_.get(i));
    }
    if (getLogActionStatesList().size() > 0) {
      output.writeUInt32NoTag(18);
      output.writeUInt32NoTag(logActionStatesMemoizedSerializedSize);
    }
    for (int i = 0; i < logActionStates_.size(); i++) {
      output.writeEnumNoTag(logActionStates_.get(i));
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Required. States in which Action are logged.If empty, no logs are
generated.
</pre>

<code>
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableActionState log_action_states = 2 [(.google.api.field_behavior) = REQUIRED];
</code>

@param index The index of the value to return.
@return The enum numeric value on the wire of logActionStates at the given index.
java-storagebatchoperations/proto-google-cloud-storagebatchoperations-v1/src/main/java/com/google/cloud/storagebatchoperations/v1/LoggingConfig.java