@java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    {
      int dataSize = 0;
      for (int i = 0; i < logActions_.size(); i++) {
        dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(logActions_.get(i));
      }
      size += dataSize;
      if (!getLogActionsList().isEmpty()) {
        size += 1;
        size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize);
      }
      logActionsMemoizedSerializedSize = dataSize;
    }
    {
      int dataSize = 0;
      for (int i = 0; i < logActionStates_.size(); i++) {
        dataSize +=
            com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(logActionStates_.get(i));
      }
      size += dataSize;
      if (!getLogActionStatesList().isEmpty()) {
        size += 1;
        size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize);
      }
      logActionStatesMemoizedSerializedSize = dataSize;
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<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