@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workstation_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workstation_);
    }
    if (expirationCase_ == 2) {
      output.writeMessage(2, (com.google.protobuf.Timestamp) expiration_);
    }
    if (expirationCase_ == 3) {
      output.writeMessage(3, (com.google.protobuf.Duration) expiration_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Required. Name of the workstation for which the access token should be
generated.
</pre>

<code>
string workstation = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
</code>

@return The bytes for workstation.
java-workstations/proto-google-cloud-workstations-v1/src/main/java/com/google/cloud/workstations/v1/GenerateAccessTokenRequest.java