@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
    }
    if (serverCaCase_ == 2) {
      output.writeMessage(
          2,
          (com.google.cloud.memorystore.v1.CertificateAuthority.ManagedCertificateAuthority)
              serverCa_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Identifier. Unique name of the certificate authority.
Format:
projects/{project}/locations/{location}/instances/{instance}
</pre>

<code>string name = 1 [(.google.api.field_behavior) = IDENTIFIER];</code>

@return The bytes for name.
java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/CertificateAuthority.java