public Builder setState(com.google.cloud.translate.v3.CreateGlossaryMetadata.State value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000002;
      state_ = value.getNumber();
      onChanged();
      return this;
    }
<pre>
The current state of the glossary creation operation.
</pre>

<code>.google.cloud.translation.v3.CreateGlossaryMetadata.State state = 2;</code>

@param value The state to set.
@return This builder for chaining.
java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/CreateGlossaryMetadata.java