public com.google.protobuf.ByteString getPublicIpBytes() {
      java.lang.Object ref = publicIp_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        publicIp_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
<pre>
Output only. The source's public IP. All communication initiated by this
source will originate from this IP.
</pre>

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

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