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

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