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

    if (!getName().equals(other.getName())) return false;
    if (!getServerCaCase().equals(other.getServerCaCase())) return false;
    switch (serverCaCase_) {
      case 2:
        if (!getManagedServerCa().equals(other.getManagedServerCa())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Identifier. Unique name of the certificate authority.
Format:
projects/{project}/locations/{location}/instances/{instance}
</pre>

<code>string name = 1 [(.google.api.field_behavior) = IDENTIFIER];</code>

@return The bytes for name.
java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/CertificateAuthority.java