Class AwsVmDetails.Builder

  • All Implemented Interfaces:
    AwsVmDetailsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    AwsVmDetails

    public static final class AwsVmDetails.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
    implements AwsVmDetailsOrBuilder
     AwsVmDetails describes a VM in AWS.
     
    Protobuf type google.cloud.vmmigration.v1.AwsVmDetails
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
      • clear

        public AwsVmDetails.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
      • getDefaultInstanceForType

        public AwsVmDetails getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public AwsVmDetails build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public AwsVmDetails buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public AwsVmDetails.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
      • setField

        public AwsVmDetails.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                             Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
      • clearField

        public AwsVmDetails.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
      • clearOneof

        public AwsVmDetails.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
      • setRepeatedField

        public AwsVmDetails.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     int index,
                                                     Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
      • addRepeatedField

        public AwsVmDetails.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
      • mergeFrom

        public AwsVmDetails.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AwsVmDetails.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
      • mergeFrom

        public AwsVmDetails.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AwsVmDetails.Builder>
        Throws:
        IOException
      • getVmIdBytes

        public com.google.protobuf.ByteString getVmIdBytes()
         The VM ID in AWS.
         
        string vm_id = 1;
        Specified by:
        getVmIdBytes in interface AwsVmDetailsOrBuilder
        Returns:
        The bytes for vmId.
      • setVmId

        public AwsVmDetails.Builder setVmId​(String value)
         The VM ID in AWS.
         
        string vm_id = 1;
        Parameters:
        value - The vmId to set.
        Returns:
        This builder for chaining.
      • clearVmId

        public AwsVmDetails.Builder clearVmId()
         The VM ID in AWS.
         
        string vm_id = 1;
        Returns:
        This builder for chaining.
      • setVmIdBytes

        public AwsVmDetails.Builder setVmIdBytes​(com.google.protobuf.ByteString value)
         The VM ID in AWS.
         
        string vm_id = 1;
        Parameters:
        value - The bytes for vmId to set.
        Returns:
        This builder for chaining.
      • getDisplayName

        public String getDisplayName()
         The display name of the VM. Note that this value is not necessarily unique.
         
        string display_name = 2;
        Specified by:
        getDisplayName in interface AwsVmDetailsOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         The display name of the VM. Note that this value is not necessarily unique.
         
        string display_name = 2;
        Specified by:
        getDisplayNameBytes in interface AwsVmDetailsOrBuilder
        Returns:
        The bytes for displayName.
      • setDisplayName

        public AwsVmDetails.Builder setDisplayName​(String value)
         The display name of the VM. Note that this value is not necessarily unique.
         
        string display_name = 2;
        Parameters:
        value - The displayName to set.
        Returns:
        This builder for chaining.
      • clearDisplayName

        public AwsVmDetails.Builder clearDisplayName()
         The display name of the VM. Note that this value is not necessarily unique.
         
        string display_name = 2;
        Returns:
        This builder for chaining.
      • setDisplayNameBytes

        public AwsVmDetails.Builder setDisplayNameBytes​(com.google.protobuf.ByteString value)
         The display name of the VM. Note that this value is not necessarily unique.
         
        string display_name = 2;
        Parameters:
        value - The bytes for displayName to set.
        Returns:
        This builder for chaining.
      • getSourceId

        public String getSourceId()
         The id of the AWS's source this VM is connected to.
         
        string source_id = 3;
        Specified by:
        getSourceId in interface AwsVmDetailsOrBuilder
        Returns:
        The sourceId.
      • getSourceIdBytes

        public com.google.protobuf.ByteString getSourceIdBytes()
         The id of the AWS's source this VM is connected to.
         
        string source_id = 3;
        Specified by:
        getSourceIdBytes in interface AwsVmDetailsOrBuilder
        Returns:
        The bytes for sourceId.
      • setSourceId

        public AwsVmDetails.Builder setSourceId​(String value)
         The id of the AWS's source this VM is connected to.
         
        string source_id = 3;
        Parameters:
        value - The sourceId to set.
        Returns:
        This builder for chaining.
      • clearSourceId

        public AwsVmDetails.Builder clearSourceId()
         The id of the AWS's source this VM is connected to.
         
        string source_id = 3;
        Returns:
        This builder for chaining.
      • setSourceIdBytes

        public AwsVmDetails.Builder setSourceIdBytes​(com.google.protobuf.ByteString value)
         The id of the AWS's source this VM is connected to.
         
        string source_id = 3;
        Parameters:
        value - The bytes for sourceId to set.
        Returns:
        This builder for chaining.
      • getSourceDescription

        public String getSourceDescription()
         The descriptive name of the AWS's source this VM is connected to.
         
        string source_description = 4;
        Specified by:
        getSourceDescription in interface AwsVmDetailsOrBuilder
        Returns:
        The sourceDescription.
      • getSourceDescriptionBytes

        public com.google.protobuf.ByteString getSourceDescriptionBytes()
         The descriptive name of the AWS's source this VM is connected to.
         
        string source_description = 4;
        Specified by:
        getSourceDescriptionBytes in interface AwsVmDetailsOrBuilder
        Returns:
        The bytes for sourceDescription.
      • setSourceDescription

        public AwsVmDetails.Builder setSourceDescription​(String value)
         The descriptive name of the AWS's source this VM is connected to.
         
        string source_description = 4;
        Parameters:
        value - The sourceDescription to set.
        Returns:
        This builder for chaining.
      • clearSourceDescription

        public AwsVmDetails.Builder clearSourceDescription()
         The descriptive name of the AWS's source this VM is connected to.
         
        string source_description = 4;
        Returns:
        This builder for chaining.
      • setSourceDescriptionBytes

        public AwsVmDetails.Builder setSourceDescriptionBytes​(com.google.protobuf.ByteString value)
         The descriptive name of the AWS's source this VM is connected to.
         
        string source_description = 4;
        Parameters:
        value - The bytes for sourceDescription to set.
        Returns:
        This builder for chaining.
      • getPowerStateValue

        public int getPowerStateValue()
         Output only. The power state of the VM at the moment list was taken.
         
        .google.cloud.vmmigration.v1.AwsVmDetails.PowerState power_state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPowerStateValue in interface AwsVmDetailsOrBuilder
        Returns:
        The enum numeric value on the wire for powerState.
      • setPowerStateValue

        public AwsVmDetails.Builder setPowerStateValue​(int value)
         Output only. The power state of the VM at the moment list was taken.
         
        .google.cloud.vmmigration.v1.AwsVmDetails.PowerState power_state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for powerState to set.
        Returns:
        This builder for chaining.
      • getPowerState

        public AwsVmDetails.PowerState getPowerState()
         Output only. The power state of the VM at the moment list was taken.
         
        .google.cloud.vmmigration.v1.AwsVmDetails.PowerState power_state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPowerState in interface AwsVmDetailsOrBuilder
        Returns:
        The powerState.
      • setPowerState

        public AwsVmDetails.Builder setPowerState​(AwsVmDetails.PowerState value)
         Output only. The power state of the VM at the moment list was taken.
         
        .google.cloud.vmmigration.v1.AwsVmDetails.PowerState power_state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The powerState to set.
        Returns:
        This builder for chaining.
      • clearPowerState

        public AwsVmDetails.Builder clearPowerState()
         Output only. The power state of the VM at the moment list was taken.
         
        .google.cloud.vmmigration.v1.AwsVmDetails.PowerState power_state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getCpuCount

        public int getCpuCount()
         The number of cpus the VM has.
         
        int32 cpu_count = 6;
        Specified by:
        getCpuCount in interface AwsVmDetailsOrBuilder
        Returns:
        The cpuCount.
      • setCpuCount

        public AwsVmDetails.Builder setCpuCount​(int value)
         The number of cpus the VM has.
         
        int32 cpu_count = 6;
        Parameters:
        value - The cpuCount to set.
        Returns:
        This builder for chaining.
      • clearCpuCount

        public AwsVmDetails.Builder clearCpuCount()
         The number of cpus the VM has.
         
        int32 cpu_count = 6;
        Returns:
        This builder for chaining.
      • getMemoryMb

        public int getMemoryMb()
         The memory size of the VM in MB.
         
        int32 memory_mb = 7;
        Specified by:
        getMemoryMb in interface AwsVmDetailsOrBuilder
        Returns:
        The memoryMb.
      • setMemoryMb

        public AwsVmDetails.Builder setMemoryMb​(int value)
         The memory size of the VM in MB.
         
        int32 memory_mb = 7;
        Parameters:
        value - The memoryMb to set.
        Returns:
        This builder for chaining.
      • clearMemoryMb

        public AwsVmDetails.Builder clearMemoryMb()
         The memory size of the VM in MB.
         
        int32 memory_mb = 7;
        Returns:
        This builder for chaining.
      • getDiskCount

        public int getDiskCount()
         The number of disks the VM has.
         
        int32 disk_count = 8;
        Specified by:
        getDiskCount in interface AwsVmDetailsOrBuilder
        Returns:
        The diskCount.
      • setDiskCount

        public AwsVmDetails.Builder setDiskCount​(int value)
         The number of disks the VM has.
         
        int32 disk_count = 8;
        Parameters:
        value - The diskCount to set.
        Returns:
        This builder for chaining.
      • clearDiskCount

        public AwsVmDetails.Builder clearDiskCount()
         The number of disks the VM has.
         
        int32 disk_count = 8;
        Returns:
        This builder for chaining.
      • getCommittedStorageMb

        public long getCommittedStorageMb()
         The total size of the storage allocated to the VM in MB.
         
        int64 committed_storage_mb = 9;
        Specified by:
        getCommittedStorageMb in interface AwsVmDetailsOrBuilder
        Returns:
        The committedStorageMb.
      • setCommittedStorageMb

        public AwsVmDetails.Builder setCommittedStorageMb​(long value)
         The total size of the storage allocated to the VM in MB.
         
        int64 committed_storage_mb = 9;
        Parameters:
        value - The committedStorageMb to set.
        Returns:
        This builder for chaining.
      • clearCommittedStorageMb

        public AwsVmDetails.Builder clearCommittedStorageMb()
         The total size of the storage allocated to the VM in MB.
         
        int64 committed_storage_mb = 9;
        Returns:
        This builder for chaining.
      • getOsDescriptionBytes

        public com.google.protobuf.ByteString getOsDescriptionBytes()
         The VM's OS.
         
        string os_description = 10;
        Specified by:
        getOsDescriptionBytes in interface AwsVmDetailsOrBuilder
        Returns:
        The bytes for osDescription.
      • setOsDescription

        public AwsVmDetails.Builder setOsDescription​(String value)
         The VM's OS.
         
        string os_description = 10;
        Parameters:
        value - The osDescription to set.
        Returns:
        This builder for chaining.
      • clearOsDescription

        public AwsVmDetails.Builder clearOsDescription()
         The VM's OS.
         
        string os_description = 10;
        Returns:
        This builder for chaining.
      • setOsDescriptionBytes

        public AwsVmDetails.Builder setOsDescriptionBytes​(com.google.protobuf.ByteString value)
         The VM's OS.
         
        string os_description = 10;
        Parameters:
        value - The bytes for osDescription to set.
        Returns:
        This builder for chaining.
      • getBootOptionValue

        public int getBootOptionValue()
         The VM Boot Option.
         
        .google.cloud.vmmigration.v1.AwsVmDetails.BootOption boot_option = 11;
        Specified by:
        getBootOptionValue in interface AwsVmDetailsOrBuilder
        Returns:
        The enum numeric value on the wire for bootOption.
      • setBootOptionValue

        public AwsVmDetails.Builder setBootOptionValue​(int value)
         The VM Boot Option.
         
        .google.cloud.vmmigration.v1.AwsVmDetails.BootOption boot_option = 11;
        Parameters:
        value - The enum numeric value on the wire for bootOption to set.
        Returns:
        This builder for chaining.
      • setBootOption

        public AwsVmDetails.Builder setBootOption​(AwsVmDetails.BootOption value)
         The VM Boot Option.
         
        .google.cloud.vmmigration.v1.AwsVmDetails.BootOption boot_option = 11;
        Parameters:
        value - The bootOption to set.
        Returns:
        This builder for chaining.
      • clearBootOption

        public AwsVmDetails.Builder clearBootOption()
         The VM Boot Option.
         
        .google.cloud.vmmigration.v1.AwsVmDetails.BootOption boot_option = 11;
        Returns:
        This builder for chaining.
      • getInstanceTypeBytes

        public com.google.protobuf.ByteString getInstanceTypeBytes()
         The instance type of the VM.
         
        string instance_type = 12;
        Specified by:
        getInstanceTypeBytes in interface AwsVmDetailsOrBuilder
        Returns:
        The bytes for instanceType.
      • setInstanceType

        public AwsVmDetails.Builder setInstanceType​(String value)
         The instance type of the VM.
         
        string instance_type = 12;
        Parameters:
        value - The instanceType to set.
        Returns:
        This builder for chaining.
      • clearInstanceType

        public AwsVmDetails.Builder clearInstanceType()
         The instance type of the VM.
         
        string instance_type = 12;
        Returns:
        This builder for chaining.
      • setInstanceTypeBytes

        public AwsVmDetails.Builder setInstanceTypeBytes​(com.google.protobuf.ByteString value)
         The instance type of the VM.
         
        string instance_type = 12;
        Parameters:
        value - The bytes for instanceType to set.
        Returns:
        This builder for chaining.
      • getVpcIdBytes

        public com.google.protobuf.ByteString getVpcIdBytes()
         The VPC ID the VM belongs to.
         
        string vpc_id = 13;
        Specified by:
        getVpcIdBytes in interface AwsVmDetailsOrBuilder
        Returns:
        The bytes for vpcId.
      • setVpcId

        public AwsVmDetails.Builder setVpcId​(String value)
         The VPC ID the VM belongs to.
         
        string vpc_id = 13;
        Parameters:
        value - The vpcId to set.
        Returns:
        This builder for chaining.
      • clearVpcId

        public AwsVmDetails.Builder clearVpcId()
         The VPC ID the VM belongs to.
         
        string vpc_id = 13;
        Returns:
        This builder for chaining.
      • setVpcIdBytes

        public AwsVmDetails.Builder setVpcIdBytes​(com.google.protobuf.ByteString value)
         The VPC ID the VM belongs to.
         
        string vpc_id = 13;
        Parameters:
        value - The bytes for vpcId to set.
        Returns:
        This builder for chaining.
      • getSecurityGroupsCount

        public int getSecurityGroupsCount()
         The security groups the VM belongs to.
         
        repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
        Specified by:
        getSecurityGroupsCount in interface AwsVmDetailsOrBuilder
      • setSecurityGroups

        public AwsVmDetails.Builder setSecurityGroups​(int index,
                                                      AwsSecurityGroup value)
         The security groups the VM belongs to.
         
        repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
      • setSecurityGroups

        public AwsVmDetails.Builder setSecurityGroups​(int index,
                                                      AwsSecurityGroup.Builder builderForValue)
         The security groups the VM belongs to.
         
        repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
      • addSecurityGroups

        public AwsVmDetails.Builder addSecurityGroups​(AwsSecurityGroup value)
         The security groups the VM belongs to.
         
        repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
      • addSecurityGroups

        public AwsVmDetails.Builder addSecurityGroups​(int index,
                                                      AwsSecurityGroup value)
         The security groups the VM belongs to.
         
        repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
      • addSecurityGroups

        public AwsVmDetails.Builder addSecurityGroups​(AwsSecurityGroup.Builder builderForValue)
         The security groups the VM belongs to.
         
        repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
      • addSecurityGroups

        public AwsVmDetails.Builder addSecurityGroups​(int index,
                                                      AwsSecurityGroup.Builder builderForValue)
         The security groups the VM belongs to.
         
        repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
      • addAllSecurityGroups

        public AwsVmDetails.Builder addAllSecurityGroups​(Iterable<? extends AwsSecurityGroup> values)
         The security groups the VM belongs to.
         
        repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
      • clearSecurityGroups

        public AwsVmDetails.Builder clearSecurityGroups()
         The security groups the VM belongs to.
         
        repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
      • removeSecurityGroups

        public AwsVmDetails.Builder removeSecurityGroups​(int index)
         The security groups the VM belongs to.
         
        repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
      • getSecurityGroupsBuilder

        public AwsSecurityGroup.Builder getSecurityGroupsBuilder​(int index)
         The security groups the VM belongs to.
         
        repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
      • addSecurityGroupsBuilder

        public AwsSecurityGroup.Builder addSecurityGroupsBuilder()
         The security groups the VM belongs to.
         
        repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
      • addSecurityGroupsBuilder

        public AwsSecurityGroup.Builder addSecurityGroupsBuilder​(int index)
         The security groups the VM belongs to.
         
        repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
      • getSecurityGroupsBuilderList

        public List<AwsSecurityGroup.Builder> getSecurityGroupsBuilderList()
         The security groups the VM belongs to.
         
        repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
      • getMutableTags

        @Deprecated
        public Map<String,​String> getMutableTags()
        Deprecated.
        Use alternate mutation accessors instead.
      • getZoneBytes

        public com.google.protobuf.ByteString getZoneBytes()
         The AWS zone of the VM.
         
        string zone = 16;
        Specified by:
        getZoneBytes in interface AwsVmDetailsOrBuilder
        Returns:
        The bytes for zone.
      • setZone

        public AwsVmDetails.Builder setZone​(String value)
         The AWS zone of the VM.
         
        string zone = 16;
        Parameters:
        value - The zone to set.
        Returns:
        This builder for chaining.
      • clearZone

        public AwsVmDetails.Builder clearZone()
         The AWS zone of the VM.
         
        string zone = 16;
        Returns:
        This builder for chaining.
      • setZoneBytes

        public AwsVmDetails.Builder setZoneBytes​(com.google.protobuf.ByteString value)
         The AWS zone of the VM.
         
        string zone = 16;
        Parameters:
        value - The bytes for zone to set.
        Returns:
        This builder for chaining.
      • getVirtualizationTypeValue

        public int getVirtualizationTypeValue()
         The virtualization type.
         
        .google.cloud.vmmigration.v1.AwsVmDetails.VmVirtualizationType virtualization_type = 17;
        Specified by:
        getVirtualizationTypeValue in interface AwsVmDetailsOrBuilder
        Returns:
        The enum numeric value on the wire for virtualizationType.
      • setVirtualizationTypeValue

        public AwsVmDetails.Builder setVirtualizationTypeValue​(int value)
         The virtualization type.
         
        .google.cloud.vmmigration.v1.AwsVmDetails.VmVirtualizationType virtualization_type = 17;
        Parameters:
        value - The enum numeric value on the wire for virtualizationType to set.
        Returns:
        This builder for chaining.
      • setVirtualizationType

        public AwsVmDetails.Builder setVirtualizationType​(AwsVmDetails.VmVirtualizationType value)
         The virtualization type.
         
        .google.cloud.vmmigration.v1.AwsVmDetails.VmVirtualizationType virtualization_type = 17;
        Parameters:
        value - The virtualizationType to set.
        Returns:
        This builder for chaining.
      • clearVirtualizationType

        public AwsVmDetails.Builder clearVirtualizationType()
         The virtualization type.
         
        .google.cloud.vmmigration.v1.AwsVmDetails.VmVirtualizationType virtualization_type = 17;
        Returns:
        This builder for chaining.
      • getArchitectureValue

        public int getArchitectureValue()
         The CPU architecture.
         
        .google.cloud.vmmigration.v1.AwsVmDetails.VmArchitecture architecture = 18;
        Specified by:
        getArchitectureValue in interface AwsVmDetailsOrBuilder
        Returns:
        The enum numeric value on the wire for architecture.
      • setArchitectureValue

        public AwsVmDetails.Builder setArchitectureValue​(int value)
         The CPU architecture.
         
        .google.cloud.vmmigration.v1.AwsVmDetails.VmArchitecture architecture = 18;
        Parameters:
        value - The enum numeric value on the wire for architecture to set.
        Returns:
        This builder for chaining.
      • setArchitecture

        public AwsVmDetails.Builder setArchitecture​(AwsVmDetails.VmArchitecture value)
         The CPU architecture.
         
        .google.cloud.vmmigration.v1.AwsVmDetails.VmArchitecture architecture = 18;
        Parameters:
        value - The architecture to set.
        Returns:
        This builder for chaining.
      • clearArchitecture

        public AwsVmDetails.Builder clearArchitecture()
         The CPU architecture.
         
        .google.cloud.vmmigration.v1.AwsVmDetails.VmArchitecture architecture = 18;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final AwsVmDetails.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
      • mergeUnknownFields

        public final AwsVmDetails.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>