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

    if (!getPrincipalCase().equals(other.getPrincipalCase())) return false;
    switch (principalCase_) {
      case 1:
        if (!getUser().equals(other.getUser())) return false;
        break;
      case 2:
        if (!getServiceAccount().equals(other.getServiceAccount())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
The service account which needs to be granted the permission.
</pre>

<code>string service_account = 2;</code>

@return The bytes for serviceAccount.
java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/Principal.java