public Builder setLogActionStates(
        int index,
        com.google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableActionState value) {
      if (value == null) {
        throw new NullPointerException();
      }
      ensureLogActionStatesIsMutable();
      logActionStates_.set(index, value.getNumber());
      onChanged();
      return this;
    }
<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 to set the value at.
@param value The logActionStates to set.
@return This builder for chaining.
java-storagebatchoperations/proto-google-cloud-storagebatchoperations-v1/src/main/java/com/google/cloud/storagebatchoperations/v1/LoggingConfig.java