@java.lang.Override
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;

        size = 0;
        {
          int dataSize = 0;
          for (int i = 0; i < certificates_.size(); i++) {
            dataSize += computeStringSizeNoTag(certificates_.getRaw(i));
          }
          size += dataSize;
          size += 1 * getCertificatesList().size();
        }
        size += getUnknownFields().getSerializedSize();
        memoizedSize = size;
        return size;
      }
<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-v1beta/src/main/java/com/google/cloud/memorystore/v1beta/CertificateAuthority.java