@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.ManagedCertificateAuthority
                .CertChain)) {
          return super.equals(obj);
        }
        com.google.cloud.memorystore.v1.CertificateAuthority.ManagedCertificateAuthority.CertChain
            other =
                (com.google.cloud.memorystore.v1.CertificateAuthority.ManagedCertificateAuthority
                        .CertChain)
                    obj;

        if (!getCertificatesList().equals(other.getCertificatesList())) return false;
        if (!getUnknownFields().equals(other.getUnknownFields())) return false;
        return true;
      }
<pre>
The certificates that form the CA chain in order of leaf to root.
</pre>

<code>repeated string certificates = 1;</code>

@param index The index of the value to return.
@return The bytes of the certificates at the given index.
java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/CertificateAuthority.java