@java.lang.Override
  public com.google.cloud.memorystore.v1beta.CertificateAuthority
          .ManagedCertificateAuthorityOrBuilder
      getManagedServerCaOrBuilder() {
    if (serverCaCase_ == 2) {
      return (com.google.cloud.memorystore.v1beta.CertificateAuthority.ManagedCertificateAuthority)
          serverCa_;
    }
    return com.google.cloud.memorystore.v1beta.CertificateAuthority.ManagedCertificateAuthority
        .getDefaultInstance();
  }
<pre>
A managed server certificate authority.
</pre>

<code>
.google.cloud.memorystore.v1beta.CertificateAuthority.ManagedCertificateAuthority managed_server_ca = 2;
</code>
java-valkey/proto-google-cloud-valkey-v1beta/src/main/java/com/google/cloud/memorystore/v1beta/CertificateAuthority.java