public final class AwsVmDetails extends GeneratedMessageV3 implements AwsVmDetailsOrBuilder
AwsVmDetails describes a VM in AWS.
Protobuf type google.cloud.vmmigration.v1.AwsVmDetails
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 |
|
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AwsVmDetails.Builder newBuilder()
newBuilder(AwsVmDetails prototype)
public static AwsVmDetails.Builder newBuilder(AwsVmDetails prototype)
public static AwsVmDetails parseDelimitedFrom(InputStream input)
public static AwsVmDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AwsVmDetails parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AwsVmDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AwsVmDetails parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AwsVmDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AwsVmDetails parseFrom(CodedInputStream input)
public static AwsVmDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AwsVmDetails parseFrom(InputStream input)
public static AwsVmDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AwsVmDetails parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AwsVmDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AwsVmDetails> parser()
Methods
public boolean containsTags(String key)
The tags of the VM.
map<string, string> tags = 15;
Parameter |
Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getArchitecture()
public AwsVmDetails.VmArchitecture getArchitecture()
The CPU architecture.
.google.cloud.vmmigration.v1.AwsVmDetails.VmArchitecture architecture = 18;
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;
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()
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()
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];
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
|
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;
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
|
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.
|
public Map<String,String> getTags()
public int getTagsCount()
The tags of the VM.
map<string, string> tags = 15;
Returns |
Type |
Description |
int |
|
public Map<String,String> getTagsMap()
The tags of the VM.
map<string, string> tags = 15;
public String getTagsOrDefault(String key, String defaultValue)
The tags of the VM.
map<string, string> tags = 15;
Returns |
Type |
Description |
String |
|
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;
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 |
Type |
Description |
ByteString |
The bytes for vmId.
|
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()
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
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()
Overrides
newBuilderForType()
public AwsVmDetails.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AwsVmDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AwsVmDetails.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides