public int getCertificatesCount() {
        return certificates_.size();
      }
<pre>
The certificates that form the CA chain in order of leaf to root.
</pre>

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

@return The count of certificates.
java-valkey/proto-google-cloud-valkey-v1beta/src/main/java/com/google/cloud/memorystore/v1beta/CertificateAuthority.java