Class AwsVmDetails (1.45.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
Type Description
int

BOOT_OPTION_FIELD_NUMBER

public static final int BOOT_OPTION_FIELD_NUMBER
Field Value
Type Description
int

COMMITTED_STORAGE_MB_FIELD_NUMBER

public static final int COMMITTED_STORAGE_MB_FIELD_NUMBER
Field Value
Type Description
int

CPU_COUNT_FIELD_NUMBER

public static final int CPU_COUNT_FIELD_NUMBER
Field Value
Type Description
int

DISK_COUNT_FIELD_NUMBER

public static final int DISK_COUNT_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

INSTANCE_TYPE_FIELD_NUMBER

public static final int INSTANCE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

MEMORY_MB_FIELD_NUMBER

public static final int MEMORY_MB_FIELD_NUMBER
Field Value
Type Description
int

OS_DESCRIPTION_FIELD_NUMBER

public static final int OS_DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

POWER_STATE_FIELD_NUMBER

public static final int POWER_STATE_FIELD_NUMBER
Field Value
Type Description
int

SECURITY_GROUPS_FIELD_NUMBER

public static final int SECURITY_GROUPS_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_DESCRIPTION_FIELD_NUMBER

public static final int SOURCE_DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_ID_FIELD_NUMBER

public static final int SOURCE_ID_FIELD_NUMBER
Field Value
Type Description
int

TAGS_FIELD_NUMBER

public static final int TAGS_FIELD_NUMBER
Field Value
Type Description
int

VIRTUALIZATION_TYPE_FIELD_NUMBER

public static final int VIRTUALIZATION_TYPE_FIELD_NUMBER
Field Value
Type Description
int

VM_ID_FIELD_NUMBER

public static final int VM_ID_FIELD_NUMBER
Field Value
Type Description
int

VPC_ID_FIELD_NUMBER

public static final int VPC_ID_FIELD_NUMBER
Field Value
Type Description
int

ZONE_FIELD_NUMBER

public static final int ZONE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AwsVmDetails getDefaultInstance()
Returns
Type Description
AwsVmDetails

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AwsVmDetails.Builder newBuilder()
Returns
Type Description
AwsVmDetails.Builder

newBuilder(AwsVmDetails prototype)

public static AwsVmDetails.Builder newBuilder(AwsVmDetails prototype)
Parameter
Name Description
prototype AwsVmDetails
Returns
Type Description
AwsVmDetails.Builder

parseDelimitedFrom(InputStream input)

public static AwsVmDetails parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AwsVmDetails
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsVmDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsVmDetails
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AwsVmDetails parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AwsVmDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AwsVmDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsVmDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AwsVmDetails parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AwsVmDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AwsVmDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsVmDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AwsVmDetails parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AwsVmDetails
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsVmDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsVmDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AwsVmDetails parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AwsVmDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsVmDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsVmDetails
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AwsVmDetails parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AwsVmDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AwsVmDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsVmDetails
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AwsVmDetails> parser()
Returns
Type Description
Parser<AwsVmDetails>

Methods

containsTags(String key)

public boolean containsTags(String key)

The tags of the VM.

map<string, string> tags = 15;

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getArchitecture()

public AwsVmDetails.VmArchitecture getArchitecture()

The CPU architecture.

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

Returns
Type Description
AwsVmDetails.VmArchitecture

The architecture.

getArchitectureValue()

public int getArchitectureValue()

The CPU architecture.

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

Returns
Type Description
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
Type Description
AwsVmDetails.BootOption

The bootOption.

getBootOptionValue()

public int getBootOptionValue()

The VM Boot Option.

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

Returns
Type Description
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
Type Description
long

The committedStorageMb.

getCpuCount()

public int getCpuCount()

The number of cpus the VM has.

int32 cpu_count = 6;

Returns
Type Description
int

The cpuCount.

getDefaultInstanceForType()

public AwsVmDetails getDefaultInstanceForType()
Returns
Type Description
AwsVmDetails

getDiskCount()

public int getDiskCount()

The number of disks the VM has.

int32 disk_count = 8;

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for displayName.

getInstanceType()

public String getInstanceType()

The instance type of the VM.

string instance_type = 12;

Returns
Type Description
String

The instanceType.

getInstanceTypeBytes()

public ByteString getInstanceTypeBytes()

The instance type of the VM.

string instance_type = 12;

Returns
Type Description
ByteString

The bytes for instanceType.

getMemoryMb()

public int getMemoryMb()

The memory size of the VM in MB.

int32 memory_mb = 7;

Returns
Type Description
int

The memoryMb.

getOsDescription()

public String getOsDescription()

The VM's OS.

string os_description = 10;

Returns
Type Description
String

The osDescription.

getOsDescriptionBytes()

public ByteString getOsDescriptionBytes()

The VM's OS.

string os_description = 10;

Returns
Type Description
ByteString

The bytes for osDescription.

getParserForType()

public Parser<AwsVmDetails> getParserForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
AwsSecurityGroup

getSecurityGroupsCount()

public int getSecurityGroupsCount()

The security groups the VM belongs to.

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

Returns
Type Description
int

getSecurityGroupsList()

public List<AwsSecurityGroup> getSecurityGroupsList()

The security groups the VM belongs to.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
AwsSecurityGroupOrBuilder

getSecurityGroupsOrBuilderList()

public List<? extends AwsSecurityGroupOrBuilder> getSecurityGroupsOrBuilderList()

The security groups the VM belongs to.

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

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceDescription()

public String getSourceDescription()

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

string source_description = 4;

Returns
Type Description
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
Type Description
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
Type Description
String

The sourceId.

getSourceIdBytes()

public ByteString getSourceIdBytes()

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

string source_id = 3;

Returns
Type Description
ByteString

The bytes for sourceId.

getTags() (deprecated)

public Map<String,String> getTags()

Use #getTagsMap() instead.

Returns
Type Description
Map<String,String>

getTagsCount()

public int getTagsCount()

The tags of the VM.

map<string, string> tags = 15;

Returns
Type Description
int

getTagsMap()

public Map<String,String> getTagsMap()

The tags of the VM.

map<string, string> tags = 15;

Returns
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
String

getTagsOrThrow(String key)

public String getTagsOrThrow(String key)

The tags of the VM.

map<string, string> tags = 15;

Parameter
Name Description
key String
Returns
Type Description
String

getVirtualizationType()

public AwsVmDetails.VmVirtualizationType getVirtualizationType()

The virtualization type.

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

Returns
Type Description
AwsVmDetails.VmVirtualizationType

The virtualizationType.

getVirtualizationTypeValue()

public int getVirtualizationTypeValue()

The virtualization type.

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

Returns
Type Description
int

The enum numeric value on the wire for virtualizationType.

getVmId()

public String getVmId()

The VM ID in AWS.

string vm_id = 1;

Returns
Type Description
String

The vmId.

getVmIdBytes()

public ByteString getVmIdBytes()

The VM ID in AWS.

string vm_id = 1;

Returns
Type Description
ByteString

The bytes for vmId.

getVpcId()

public String getVpcId()

The VPC ID the VM belongs to.

string vpc_id = 13;

Returns
Type Description
String

The vpcId.

getVpcIdBytes()

public ByteString getVpcIdBytes()

The VPC ID the VM belongs to.

string vpc_id = 13;

Returns
Type Description
ByteString

The bytes for vpcId.

getZone()

public String getZone()

The AWS zone of the VM.

string zone = 16;

Returns
Type Description
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

The AWS zone of the VM.

string zone = 16;

Returns
Type Description
ByteString

The bytes for zone.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AwsVmDetails.Builder newBuilderForType()
Returns
Type Description
AwsVmDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AwsVmDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AwsVmDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AwsVmDetails.Builder toBuilder()
Returns
Type Description
AwsVmDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException