public Builder setState(com.google.cloud.workstations.v1.Workstation.State value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000800;
      state_ = value.getNumber();
      onChanged();
      return this;
    }
<pre>
Output only. Current state of the workstation.
</pre>

<code>
.google.cloud.workstations.v1.Workstation.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
</code>

@param value The state to set.
@return This builder for chaining.
java-workstations/proto-google-cloud-workstations-v1/src/main/java/com/google/cloud/workstations/v1/Workstation.java