private void buildPartialOneofs(
        com.google.cloud.workstations.v1.GenerateAccessTokenRequest result) {
      result.expirationCase_ = expirationCase_;
      result.expiration_ = this.expiration_;
      if (expirationCase_ == 2 && expireTimeBuilder_ != null) {
        result.expiration_ = expireTimeBuilder_.build();
      }
      if (expirationCase_ == 3 && ttlBuilder_ != null) {
        result.expiration_ = ttlBuilder_.build();
      }
    }
<pre>
Request message for GenerateAccessToken.
</pre>

Protobuf type {@code google.cloud.workstations.v1.GenerateAccessTokenRequest}
java-workstations/proto-google-cloud-workstations-v1/src/main/java/com/google/cloud/workstations/v1/GenerateAccessTokenRequest.java