Class AwsVmDetails (1.18.0)

public final class AwsVmDetails extends GeneratedMessageV3 implements AwsVmDetailsOrBuilder

AwsVmDetails describes a VM in AWS.

Protobuf type google.cloud.vmmigration.v1.AwsVmDetails

Static Fields

ARCHITECTURE_FIELD_NUMBER

public static final int ARCHITECTURE_FIELD_NUMBER
Field Value
TypeDescription
int

BOOT_OPTION_FIELD_NUMBER

public static final int BOOT_OPTION_FIELD_NUMBER
Field Value
TypeDescription
int

COMMITTED_STORAGE_MB_FIELD_NUMBER

public static final int COMMITTED_STORAGE_MB_FIELD_NUMBER
Field Value
TypeDescription
int

CPU_COUNT_FIELD_NUMBER

public static final int CPU_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

DISK_COUNT_FIELD_NUMBER

public static final int DISK_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

INSTANCE_TYPE_FIELD_NUMBER

public static final int INSTANCE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

MEMORY_MB_FIELD_NUMBER

public static final int MEMORY_MB_FIELD_NUMBER
Field Value
TypeDescription
int

OS_DESCRIPTION_FIELD_NUMBER

public static final int OS_DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

POWER_STATE_FIELD_NUMBER

public static final int POWER_STATE_FIELD_NUMBER
Field Value
TypeDescription
int

SECURITY_GROUPS_FIELD_NUMBER

public static final int SECURITY_GROUPS_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_DESCRIPTION_FIELD_NUMBER

public static final int SOURCE_DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_ID_FIELD_NUMBER

public static final int SOURCE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

TAGS_FIELD_NUMBER

public static final int TAGS_FIELD_NUMBER
Field Value
TypeDescription
int

VIRTUALIZATION_TYPE_FIELD_NUMBER

public static final int VIRTUALIZATION_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

VM_ID_FIELD_NUMBER

public static final int VM_ID_FIELD_NUMBER
Field Value
TypeDescription
int

VPC_ID_FIELD_NUMBER

public static final int VPC_ID_FIELD_NUMBER
Field Value
TypeDescription
int

ZONE_FIELD_NUMBER

public static final int ZONE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AwsVmDetails getDefaultInstance()
Returns
TypeDescription
AwsVmDetails

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AwsVmDetails.Builder newBuilder()
Returns
TypeDescription
AwsVmDetails.Builder

newBuilder(AwsVmDetails prototype)

public static AwsVmDetails.Builder newBuilder(AwsVmDetails prototype)
Parameter
NameDescription
prototypeAwsVmDetails
Returns
TypeDescription
AwsVmDetails.Builder

parseDelimitedFrom(InputStream input)

public static AwsVmDetails parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AwsVmDetails
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsVmDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsVmDetails
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AwsVmDetails parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AwsVmDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AwsVmDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsVmDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AwsVmDetails parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AwsVmDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AwsVmDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsVmDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AwsVmDetails parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AwsVmDetails
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsVmDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsVmDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AwsVmDetails parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AwsVmDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsVmDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsVmDetails
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AwsVmDetails parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AwsVmDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AwsVmDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsVmDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AwsVmDetails> parser()
Returns
TypeDescription
Parser<AwsVmDetails>

Methods

containsTags(String key)

public boolean containsTags(String key)

The tags of the VM.

map<string, string> tags = 15;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getArchitecture()

public AwsVmDetails.VmArchitecture getArchitecture()

The CPU architecture.

.google.cloud.vmmigration.v1.AwsVmDetails.VmArchitecture architecture = 18;

Returns
TypeDescription
AwsVmDetails.VmArchitecture

The architecture.

getArchitectureValue()

public int getArchitectureValue()

The CPU architecture.

.google.cloud.vmmigration.v1.AwsVmDetails.VmArchitecture architecture = 18;

Returns
TypeDescription
int

The enum numeric value on the wire for architecture.

getBootOption()

public AwsVmDetails.BootOption getBootOption()

The VM Boot Option.

.google.cloud.vmmigration.v1.AwsVmDetails.BootOption boot_option = 11;

Returns
TypeDescription
AwsVmDetails.BootOption

The bootOption.

getBootOptionValue()

public int getBootOptionValue()

The VM Boot Option.

.google.cloud.vmmigration.v1.AwsVmDetails.BootOption boot_option = 11;

Returns
TypeDescription
int

The enum numeric value on the wire for bootOption.

getCommittedStorageMb()

public long getCommittedStorageMb()

The total size of the storage allocated to the VM in MB.

int64 committed_storage_mb = 9;

Returns
TypeDescription
long

The committedStorageMb.

getCpuCount()

public int getCpuCount()

The number of cpus the VM has.

int32 cpu_count = 6;

Returns
TypeDescription
int

The cpuCount.

getDefaultInstanceForType()

public AwsVmDetails getDefaultInstanceForType()
Returns
TypeDescription
AwsVmDetails

getDiskCount()

public int getDiskCount()

The number of disks the VM has.

int32 disk_count = 8;

Returns
TypeDescription
int

The diskCount.

getDisplayName()

public String getDisplayName()

The display name of the VM. Note that this value is not necessarily unique.

string display_name = 2;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The display name of the VM. Note that this value is not necessarily unique.

string display_name = 2;

Returns
TypeDescription
ByteString

The bytes for displayName.

getInstanceType()

public String getInstanceType()

The instance type of the VM.

string instance_type = 12;

Returns
TypeDescription
String

The instanceType.

getInstanceTypeBytes()

public ByteString getInstanceTypeBytes()

The instance type of the VM.

string instance_type = 12;

Returns
TypeDescription
ByteString

The bytes for instanceType.

getMemoryMb()

public int getMemoryMb()

The memory size of the VM in MB.

int32 memory_mb = 7;

Returns
TypeDescription
int

The memoryMb.

getOsDescription()

public String getOsDescription()

The VM's OS.

string os_description = 10;

Returns
TypeDescription
String

The osDescription.

getOsDescriptionBytes()

public ByteString getOsDescriptionBytes()

The VM's OS.

string os_description = 10;

Returns
TypeDescription
ByteString

The bytes for osDescription.

getParserForType()

public Parser<AwsVmDetails> getParserForType()
Returns
TypeDescription
Parser<AwsVmDetails>
Overrides

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];

Returns
TypeDescription
AwsVmDetails.PowerState

The powerState.

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];

Returns
TypeDescription
int

The enum numeric value on the wire for powerState.

getSecurityGroups(int index)

public AwsSecurityGroup getSecurityGroups(int index)

The security groups the VM belongs to.

repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;

Parameter
NameDescription
indexint
Returns
TypeDescription
AwsSecurityGroup

getSecurityGroupsCount()

public int getSecurityGroupsCount()

The security groups the VM belongs to.

repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;

Returns
TypeDescription
int

getSecurityGroupsList()

public List<AwsSecurityGroup> getSecurityGroupsList()

The security groups the VM belongs to.

repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;

Returns
TypeDescription
List<AwsSecurityGroup>

getSecurityGroupsOrBuilder(int index)

public AwsSecurityGroupOrBuilder getSecurityGroupsOrBuilder(int index)

The security groups the VM belongs to.

repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;

Parameter
NameDescription
indexint
Returns
TypeDescription
AwsSecurityGroupOrBuilder

getSecurityGroupsOrBuilderList()

public List<? extends AwsSecurityGroupOrBuilder> getSecurityGroupsOrBuilderList()

The security groups the VM belongs to.

repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;

Returns
TypeDescription
List<? extends com.google.cloud.vmmigration.v1.AwsSecurityGroupOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceDescription()

public String getSourceDescription()

The descriptive name of the AWS's source this VM is connected to.

string source_description = 4;

Returns
TypeDescription
String

The sourceDescription.

getSourceDescriptionBytes()

public ByteString getSourceDescriptionBytes()

The descriptive name of the AWS's source this VM is connected to.

string source_description = 4;

Returns
TypeDescription
ByteString

The bytes for sourceDescription.

getSourceId()

public String getSourceId()

The id of the AWS's source this VM is connected to.

string source_id = 3;

Returns
TypeDescription
String

The sourceId.

getSourceIdBytes()

public ByteString getSourceIdBytes()

The id of the AWS's source this VM is connected to.

string source_id = 3;

Returns
TypeDescription
ByteString

The bytes for sourceId.

getTags()

public Map<String,String> getTags()

Use #getTagsMap() instead.

Returns
TypeDescription
Map<String,String>

getTagsCount()

public int getTagsCount()

The tags of the VM.

map<string, string> tags = 15;

Returns
TypeDescription
int

getTagsMap()

public Map<String,String> getTagsMap()

The tags of the VM.

map<string, string> tags = 15;

Returns
TypeDescription
Map<String,String>

getTagsOrDefault(String key, String defaultValue)

public String getTagsOrDefault(String key, String defaultValue)

The tags of the VM.

map<string, string> tags = 15;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getTagsOrThrow(String key)

public String getTagsOrThrow(String key)

The tags of the VM.

map<string, string> tags = 15;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getVirtualizationType()

public AwsVmDetails.VmVirtualizationType getVirtualizationType()

The virtualization type.

.google.cloud.vmmigration.v1.AwsVmDetails.VmVirtualizationType virtualization_type = 17;

Returns
TypeDescription
AwsVmDetails.VmVirtualizationType

The virtualizationType.

getVirtualizationTypeValue()

public int getVirtualizationTypeValue()

The virtualization type.

.google.cloud.vmmigration.v1.AwsVmDetails.VmVirtualizationType virtualization_type = 17;

Returns
TypeDescription
int

The enum numeric value on the wire for virtualizationType.

getVmId()

public String getVmId()

The VM ID in AWS.

string vm_id = 1;

Returns
TypeDescription
String

The vmId.

getVmIdBytes()

public ByteString getVmIdBytes()

The VM ID in AWS.

string vm_id = 1;

Returns
TypeDescription
ByteString

The bytes for vmId.

getVpcId()

public String getVpcId()

The VPC ID the VM belongs to.

string vpc_id = 13;

Returns
TypeDescription
String

The vpcId.

getVpcIdBytes()

public ByteString getVpcIdBytes()

The VPC ID the VM belongs to.

string vpc_id = 13;

Returns
TypeDescription
ByteString

The bytes for vpcId.

getZone()

public String getZone()

The AWS zone of the VM.

string zone = 16;

Returns
TypeDescription
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

The AWS zone of the VM.

string zone = 16;

Returns
TypeDescription
ByteString

The bytes for zone.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AwsVmDetails.Builder newBuilderForType()
Returns
TypeDescription
AwsVmDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AwsVmDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AwsVmDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AwsVmDetails.Builder toBuilder()
Returns
TypeDescription
AwsVmDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException