@java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + VM_NAME_FIELD_NUMBER;
    hash = (53 * hash) + getVmName().hashCode();
    hash = (37 * hash) + PROJECT_FIELD_NUMBER;
    hash = (53 * hash) + getProject().hashCode();
    hash = (37 * hash) + ZONE_FIELD_NUMBER;
    hash = (53 * hash) + getZone().hashCode();
    hash = (37 * hash) + MACHINE_TYPE_SERIES_FIELD_NUMBER;
    hash = (53 * hash) + getMachineTypeSeries().hashCode();
    hash = (37 * hash) + MACHINE_TYPE_FIELD_NUMBER;
    hash = (53 * hash) + getMachineType().hashCode();
    if (getNetworkTagsCount() > 0) {
      hash = (37 * hash) + NETWORK_TAGS_FIELD_NUMBER;
      hash = (53 * hash) + getNetworkTagsList().hashCode();
    }
    if (getNetworkInterfacesCount() > 0) {
      hash = (37 * hash) + NETWORK_INTERFACES_FIELD_NUMBER;
      hash = (53 * hash) + getNetworkInterfacesList().hashCode();
    }
    hash = (37 * hash) + SERVICE_ACCOUNT_FIELD_NUMBER;
    hash = (53 * hash) + getServiceAccount().hashCode();
    hash = (37 * hash) + DISK_TYPE_FIELD_NUMBER;
    hash = (53 * hash) + diskType_;
    if (!internalGetLabels().getMap().isEmpty()) {
      hash = (37 * hash) + LABELS_FIELD_NUMBER;
      hash = (53 * hash) + internalGetLabels().hashCode();
    }
    hash = (37 * hash) + LICENSE_TYPE_FIELD_NUMBER;
    hash = (53 * hash) + licenseType_;
    if (hasAppliedLicense()) {
      hash = (37 * hash) + APPLIED_LICENSE_FIELD_NUMBER;
      hash = (53 * hash) + getAppliedLicense().hashCode();
    }
    if (hasComputeScheduling()) {
      hash = (37 * hash) + COMPUTE_SCHEDULING_FIELD_NUMBER;
      hash = (53 * hash) + getComputeScheduling().hashCode();
    }
    hash = (37 * hash) + SECURE_BOOT_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSecureBoot());
    hash = (37 * hash) + BOOT_OPTION_FIELD_NUMBER;
    hash = (53 * hash) + bootOption_;
    if (!internalGetMetadata().getMap().isEmpty()) {
      hash = (37 * hash) + METADATA_FIELD_NUMBER;
      hash = (53 * hash) + internalGetMetadata().hashCode();
    }
    if (getAdditionalLicensesCount() > 0) {
      hash = (37 * hash) + ADDITIONAL_LICENSES_FIELD_NUMBER;
      hash = (53 * hash) + getAdditionalLicensesList().hashCode();
    }
    hash = (37 * hash) + HOSTNAME_FIELD_NUMBER;
    hash = (53 * hash) + getHostname().hashCode();
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }
<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