public int getNameServersCount() {
        return nameServers_.size();
      }
<pre>
Required. List of DNS servers to use for domain resolution
</pre>

<code>repeated string name_servers = 2 [(.google.api.field_behavior) = REQUIRED];</code>

@return The count of nameServers.
java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/DnsForwarding.java