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

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(managementCidr_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, managementCidr_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vmwareEngineNetwork_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, vmwareEngineNetwork_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vmwareEngineNetworkCanonical_)) {
      size +=
          com.google.protobuf.GeneratedMessageV3.computeStringSize(
              6, vmwareEngineNetworkCanonical_);
    }
    if (managementIpAddressLayoutVersion_ != 0) {
      size +=
          com.google.protobuf.CodedOutputStream.computeInt32Size(
              8, managementIpAddressLayoutVersion_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dnsServerIp_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, dnsServerIp_);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<pre>
Output only. DNS Server IP of the Private Cloud.
All DNS queries can be forwarded to this address for name resolution of
Private Cloud's management entities like vCenter, NSX-T Manager and
ESXi hosts.
</pre>

<code>string dns_server_ip = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>

@return The bytes for dnsServerIp.
java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NetworkConfig.java