Class AwsVmDetails

  • All Implemented Interfaces:
    AwsVmDetailsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class AwsVmDetails
    extends com.google.protobuf.GeneratedMessageV3
    implements AwsVmDetailsOrBuilder
     AwsVmDetails describes a VM in AWS.
     
    Protobuf type google.cloud.vmmigration.v1.AwsVmDetails
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • getCpuCount

        public int getCpuCount()
         The number of cpus the VM has.
         
        int32 cpu_count = 6;
        Specified by:
        getCpuCount in interface AwsVmDetailsOrBuilder
        Returns:
        The cpuCount.
      • 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.
      • getDiskCount

        public int getDiskCount()
         The number of disks the VM has.
         
        int32 disk_count = 8;
        Specified by:
        getDiskCount in interface AwsVmDetailsOrBuilder
        Returns:
        The diskCount.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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
      • 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.
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static AwsVmDetails parseFrom​(ByteBuffer data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AwsVmDetails parseFrom​(ByteBuffer data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AwsVmDetails parseFrom​(com.google.protobuf.ByteString data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AwsVmDetails parseFrom​(com.google.protobuf.ByteString data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AwsVmDetails parseFrom​(byte[] data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AwsVmDetails parseFrom​(byte[] data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AwsVmDetails parseFrom​(com.google.protobuf.CodedInputStream input,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws IOException
        Throws:
        IOException
      • newBuilderForType

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

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

        protected AwsVmDetails.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static AwsVmDetails getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<AwsVmDetails> parser()
      • getParserForType

        public com.google.protobuf.Parser<AwsVmDetails> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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