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

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, network_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetwork_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, subnetwork_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(internalIp_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, internalIp_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(externalIp_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, externalIp_);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<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