@java.lang.Override
  public com.google.cloud.workstations.v1.Workstation.State getState() {
    com.google.cloud.workstations.v1.Workstation.State result =
        com.google.cloud.workstations.v1.Workstation.State.forNumber(state_);
    return result == null
        ? com.google.cloud.workstations.v1.Workstation.State.UNRECOGNIZED
        : result;
  }
<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>

@return The state.
java-workstations/proto-google-cloud-workstations-v1/src/main/java/com/google/cloud/workstations/v1/Workstation.java