@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vmId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, vmId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, sourceId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceDescription_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, sourceDescription_);
    }
    if (powerState_
        != com.google.cloud.vmmigration.v1.AwsVmDetails.PowerState.POWER_STATE_UNSPECIFIED
            .getNumber()) {
      output.writeEnum(5, powerState_);
    }
    if (cpuCount_ != 0) {
      output.writeInt32(6, cpuCount_);
    }
    if (memoryMb_ != 0) {
      output.writeInt32(7, memoryMb_);
    }
    if (diskCount_ != 0) {
      output.writeInt32(8, diskCount_);
    }
    if (committedStorageMb_ != 0L) {
      output.writeInt64(9, committedStorageMb_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osDescription_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, osDescription_);
    }
    if (bootOption_
        != com.google.cloud.vmmigration.v1.AwsVmDetails.BootOption.BOOT_OPTION_UNSPECIFIED
            .getNumber()) {
      output.writeEnum(11, bootOption_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceType_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 12, instanceType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vpcId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 13, vpcId_);
    }
    for (int i = 0; i < securityGroups_.size(); i++) {
      output.writeMessage(14, securityGroups_.get(i));
    }
    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
        output, internalGetTags(), TagsDefaultEntryHolder.defaultEntry, 15);
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 16, zone_);
    }
    if (virtualizationType_
        != com.google.cloud.vmmigration.v1.AwsVmDetails.VmVirtualizationType
            .VM_VIRTUALIZATION_TYPE_UNSPECIFIED
            .getNumber()) {
      output.writeEnum(17, virtualizationType_);
    }
    if (architecture_
        != com.google.cloud.vmmigration.v1.AwsVmDetails.VmArchitecture.VM_ARCHITECTURE_UNSPECIFIED
            .getNumber()) {
      output.writeEnum(18, architecture_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
The CPU architecture.
</pre>

<code>.google.cloud.vmmigration.v1.AwsVmDetails.VmArchitecture architecture = 18;</code>

@return The architecture.
java-vmmigration/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AwsVmDetails.java