@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.workstations.v1beta.GenerateAccessTokenRequest)) {
      return super.equals(obj);
    }
    com.google.cloud.workstations.v1beta.GenerateAccessTokenRequest other =
        (com.google.cloud.workstations.v1beta.GenerateAccessTokenRequest) obj;

    if (!getWorkstation().equals(other.getWorkstation())) return false;
    if (!getExpirationCase().equals(other.getExpirationCase())) return false;
    switch (expirationCase_) {
      case 2:
        if (!getExpireTime().equals(other.getExpireTime())) return false;
        break;
      case 3:
        if (!getTtl().equals(other.getTtl())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<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-v1beta/src/main/java/com/google/cloud/workstations/v1beta/GenerateAccessTokenRequest.java