@java.lang.Override
  public com.google.protobuf.ByteString getExternalIpBytes() {
    java.lang.Object ref = externalIp_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      externalIp_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }
<pre>
The external IP to define in the NIC.
</pre>

<code>string external_ip = 4;</code>

@return The bytes for externalIp.
java-vmmigration/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterface.java