public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails parseFrom(
      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
<pre>
The hostname to assign to the VM.
</pre>

<code>string hostname = 18;</code>

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