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
BOOT_OPTION_FIELD_NUMBER
public static final int BOOT_OPTION_FIELD_NUMBER
Field Value
COMMITTED_STORAGE_MB_FIELD_NUMBER
public static final int COMMITTED_STORAGE_MB_FIELD_NUMBER
Field Value
CPU_COUNT_FIELD_NUMBER
public static final int CPU_COUNT_FIELD_NUMBER
Field Value
DISK_COUNT_FIELD_NUMBER
public static final int DISK_COUNT_FIELD_NUMBER
Field Value
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
INSTANCE_TYPE_FIELD_NUMBER
public static final int INSTANCE_TYPE_FIELD_NUMBER
Field Value
MEMORY_MB_FIELD_NUMBER
public static final int MEMORY_MB_FIELD_NUMBER
Field Value
OS_DESCRIPTION_FIELD_NUMBER
public static final int OS_DESCRIPTION_FIELD_NUMBER
Field Value
POWER_STATE_FIELD_NUMBER
public static final int POWER_STATE_FIELD_NUMBER
Field Value
SECURITY_GROUPS_FIELD_NUMBER
public static final int SECURITY_GROUPS_FIELD_NUMBER
Field Value
SOURCE_DESCRIPTION_FIELD_NUMBER
public static final int SOURCE_DESCRIPTION_FIELD_NUMBER
Field Value
SOURCE_ID_FIELD_NUMBER
public static final int SOURCE_ID_FIELD_NUMBER
Field Value
public static final int TAGS_FIELD_NUMBER
Field Value
VIRTUALIZATION_TYPE_FIELD_NUMBER
public static final int VIRTUALIZATION_TYPE_FIELD_NUMBER
Field Value
VM_ID_FIELD_NUMBER
public static final int VM_ID_FIELD_NUMBER
Field Value
VPC_ID_FIELD_NUMBER
public static final int VPC_ID_FIELD_NUMBER
Field Value
ZONE_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AwsVmDetails getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AwsVmDetails.Builder newBuilder()
Returns
newBuilder(AwsVmDetails prototype)
public static AwsVmDetails.Builder newBuilder(AwsVmDetails prototype)
Parameter
Returns
public static AwsVmDetails parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AwsVmDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AwsVmDetails parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AwsVmDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AwsVmDetails parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AwsVmDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AwsVmDetails parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AwsVmDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AwsVmDetails parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AwsVmDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AwsVmDetails parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AwsVmDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AwsVmDetails> parser()
Returns
Methods
public boolean containsTags(String key)
The tags of the VM.
map<string, string> tags = 15;
Parameter
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getArchitecture()
public AwsVmDetails.VmArchitecture getArchitecture()
The CPU architecture.
.google.cloud.vmmigration.v1.AwsVmDetails.VmArchitecture architecture = 18;
Returns
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
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()
The number of cpus the VM has.
int32 cpu_count = 6;
Returns
Type | Description |
int | The cpuCount.
|
getDefaultInstanceForType()
public AwsVmDetails getDefaultInstanceForType()
Returns
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()
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
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
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
Returns
getSecurityGroupsCount()
public int getSecurityGroupsCount()
The security groups the VM belongs to.
repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
Returns
getSecurityGroupsList()
public List<AwsSecurityGroup> getSecurityGroupsList()
The security groups the VM belongs to.
repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
Returns
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
Returns
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
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
public Map<String,String> getTags()
Returns
public int getTagsCount()
The tags of the VM.
map<string, string> tags = 15;
Returns
public Map<String,String> getTagsMap()
The tags of the VM.
map<string, string> tags = 15;
Returns
public String getTagsOrDefault(String key, String defaultValue)
The tags of the VM.
map<string, string> tags = 15;
Parameters
Returns
public String getTagsOrThrow(String key)
The tags of the VM.
map<string, string> tags = 15;
Parameter
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getVirtualizationType()
public AwsVmDetails.VmVirtualizationType getVirtualizationType()
The virtualization type.
.google.cloud.vmmigration.v1.AwsVmDetails.VmVirtualizationType virtualization_type = 17;
Returns
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()
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
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
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
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AwsVmDetails.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AwsVmDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AwsVmDetails.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions