Package com.google.cloud.vmmigration.v1
Class AwsVmDetails.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
-
- com.google.cloud.vmmigration.v1.AwsVmDetails.Builder
-
- All Implemented Interfaces:
AwsVmDetailsOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- AwsVmDetails
public static final class AwsVmDetails.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder> implements AwsVmDetailsOrBuilder
AwsVmDetails describes a VM in AWS.
Protobuf typegoogle.cloud.vmmigration.v1.AwsVmDetails
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AwsVmDetails.Builder
addAllSecurityGroups(Iterable<? extends AwsSecurityGroup> values)
The security groups the VM belongs to.AwsVmDetails.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AwsVmDetails.Builder
addSecurityGroups(int index, AwsSecurityGroup value)
The security groups the VM belongs to.AwsVmDetails.Builder
addSecurityGroups(int index, AwsSecurityGroup.Builder builderForValue)
The security groups the VM belongs to.AwsVmDetails.Builder
addSecurityGroups(AwsSecurityGroup value)
The security groups the VM belongs to.AwsVmDetails.Builder
addSecurityGroups(AwsSecurityGroup.Builder builderForValue)
The security groups the VM belongs to.AwsSecurityGroup.Builder
addSecurityGroupsBuilder()
The security groups the VM belongs to.AwsSecurityGroup.Builder
addSecurityGroupsBuilder(int index)
The security groups the VM belongs to.AwsVmDetails
build()
AwsVmDetails
buildPartial()
AwsVmDetails.Builder
clear()
AwsVmDetails.Builder
clearArchitecture()
The CPU architecture.AwsVmDetails.Builder
clearBootOption()
The VM Boot Option.AwsVmDetails.Builder
clearCommittedStorageMb()
The total size of the storage allocated to the VM in MB.AwsVmDetails.Builder
clearCpuCount()
The number of cpus the VM has.AwsVmDetails.Builder
clearDiskCount()
The number of disks the VM has.AwsVmDetails.Builder
clearDisplayName()
The display name of the VM.AwsVmDetails.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AwsVmDetails.Builder
clearInstanceType()
The instance type of the VM.AwsVmDetails.Builder
clearMemoryMb()
The memory size of the VM in MB.AwsVmDetails.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AwsVmDetails.Builder
clearOsDescription()
The VM's OS.AwsVmDetails.Builder
clearPowerState()
Output only.AwsVmDetails.Builder
clearSecurityGroups()
The security groups the VM belongs to.AwsVmDetails.Builder
clearSourceDescription()
The descriptive name of the AWS's source this VM is connected to.AwsVmDetails.Builder
clearSourceId()
The id of the AWS's source this VM is connected to.AwsVmDetails.Builder
clearTags()
AwsVmDetails.Builder
clearVirtualizationType()
The virtualization type.AwsVmDetails.Builder
clearVmId()
The VM ID in AWS.AwsVmDetails.Builder
clearVpcId()
The VPC ID the VM belongs to.AwsVmDetails.Builder
clearZone()
The AWS zone of the VM.AwsVmDetails.Builder
clone()
boolean
containsTags(String key)
The tags of the VM.AwsVmDetails.VmArchitecture
getArchitecture()
The CPU architecture.int
getArchitectureValue()
The CPU architecture.AwsVmDetails.BootOption
getBootOption()
The VM Boot Option.int
getBootOptionValue()
The VM Boot Option.long
getCommittedStorageMb()
The total size of the storage allocated to the VM in MB.int
getCpuCount()
The number of cpus the VM has.AwsVmDetails
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getDiskCount()
The number of disks the VM has.String
getDisplayName()
The display name of the VM.com.google.protobuf.ByteString
getDisplayNameBytes()
The display name of the VM.String
getInstanceType()
The instance type of the VM.com.google.protobuf.ByteString
getInstanceTypeBytes()
The instance type of the VM.int
getMemoryMb()
The memory size of the VM in MB.Map<String,String>
getMutableTags()
Deprecated.String
getOsDescription()
The VM's OS.com.google.protobuf.ByteString
getOsDescriptionBytes()
The VM's OS.AwsVmDetails.PowerState
getPowerState()
Output only.int
getPowerStateValue()
Output only.AwsSecurityGroup
getSecurityGroups(int index)
The security groups the VM belongs to.AwsSecurityGroup.Builder
getSecurityGroupsBuilder(int index)
The security groups the VM belongs to.List<AwsSecurityGroup.Builder>
getSecurityGroupsBuilderList()
The security groups the VM belongs to.int
getSecurityGroupsCount()
The security groups the VM belongs to.List<AwsSecurityGroup>
getSecurityGroupsList()
The security groups the VM belongs to.AwsSecurityGroupOrBuilder
getSecurityGroupsOrBuilder(int index)
The security groups the VM belongs to.List<? extends AwsSecurityGroupOrBuilder>
getSecurityGroupsOrBuilderList()
The security groups the VM belongs to.String
getSourceDescription()
The descriptive name of the AWS's source this VM is connected to.com.google.protobuf.ByteString
getSourceDescriptionBytes()
The descriptive name of the AWS's source this VM is connected to.String
getSourceId()
The id of the AWS's source this VM is connected to.com.google.protobuf.ByteString
getSourceIdBytes()
The id of the AWS's source this VM is connected to.Map<String,String>
getTags()
Deprecated.int
getTagsCount()
The tags of the VM.Map<String,String>
getTagsMap()
The tags of the VM.String
getTagsOrDefault(String key, String defaultValue)
The tags of the VM.String
getTagsOrThrow(String key)
The tags of the VM.AwsVmDetails.VmVirtualizationType
getVirtualizationType()
The virtualization type.int
getVirtualizationTypeValue()
The virtualization type.String
getVmId()
The VM ID in AWS.com.google.protobuf.ByteString
getVmIdBytes()
The VM ID in AWS.String
getVpcId()
The VPC ID the VM belongs to.com.google.protobuf.ByteString
getVpcIdBytes()
The VPC ID the VM belongs to.String
getZone()
The AWS zone of the VM.com.google.protobuf.ByteString
getZoneBytes()
The AWS zone of the VM.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
AwsVmDetails.Builder
mergeFrom(AwsVmDetails other)
AwsVmDetails.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AwsVmDetails.Builder
mergeFrom(com.google.protobuf.Message other)
AwsVmDetails.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AwsVmDetails.Builder
putAllTags(Map<String,String> values)
The tags of the VM.AwsVmDetails.Builder
putTags(String key, String value)
The tags of the VM.AwsVmDetails.Builder
removeSecurityGroups(int index)
The security groups the VM belongs to.AwsVmDetails.Builder
removeTags(String key)
The tags of the VM.AwsVmDetails.Builder
setArchitecture(AwsVmDetails.VmArchitecture value)
The CPU architecture.AwsVmDetails.Builder
setArchitectureValue(int value)
The CPU architecture.AwsVmDetails.Builder
setBootOption(AwsVmDetails.BootOption value)
The VM Boot Option.AwsVmDetails.Builder
setBootOptionValue(int value)
The VM Boot Option.AwsVmDetails.Builder
setCommittedStorageMb(long value)
The total size of the storage allocated to the VM in MB.AwsVmDetails.Builder
setCpuCount(int value)
The number of cpus the VM has.AwsVmDetails.Builder
setDiskCount(int value)
The number of disks the VM has.AwsVmDetails.Builder
setDisplayName(String value)
The display name of the VM.AwsVmDetails.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
The display name of the VM.AwsVmDetails.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AwsVmDetails.Builder
setInstanceType(String value)
The instance type of the VM.AwsVmDetails.Builder
setInstanceTypeBytes(com.google.protobuf.ByteString value)
The instance type of the VM.AwsVmDetails.Builder
setMemoryMb(int value)
The memory size of the VM in MB.AwsVmDetails.Builder
setOsDescription(String value)
The VM's OS.AwsVmDetails.Builder
setOsDescriptionBytes(com.google.protobuf.ByteString value)
The VM's OS.AwsVmDetails.Builder
setPowerState(AwsVmDetails.PowerState value)
Output only.AwsVmDetails.Builder
setPowerStateValue(int value)
Output only.AwsVmDetails.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AwsVmDetails.Builder
setSecurityGroups(int index, AwsSecurityGroup value)
The security groups the VM belongs to.AwsVmDetails.Builder
setSecurityGroups(int index, AwsSecurityGroup.Builder builderForValue)
The security groups the VM belongs to.AwsVmDetails.Builder
setSourceDescription(String value)
The descriptive name of the AWS's source this VM is connected to.AwsVmDetails.Builder
setSourceDescriptionBytes(com.google.protobuf.ByteString value)
The descriptive name of the AWS's source this VM is connected to.AwsVmDetails.Builder
setSourceId(String value)
The id of the AWS's source this VM is connected to.AwsVmDetails.Builder
setSourceIdBytes(com.google.protobuf.ByteString value)
The id of the AWS's source this VM is connected to.AwsVmDetails.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AwsVmDetails.Builder
setVirtualizationType(AwsVmDetails.VmVirtualizationType value)
The virtualization type.AwsVmDetails.Builder
setVirtualizationTypeValue(int value)
The virtualization type.AwsVmDetails.Builder
setVmId(String value)
The VM ID in AWS.AwsVmDetails.Builder
setVmIdBytes(com.google.protobuf.ByteString value)
The VM ID in AWS.AwsVmDetails.Builder
setVpcId(String value)
The VPC ID the VM belongs to.AwsVmDetails.Builder
setVpcIdBytes(com.google.protobuf.ByteString value)
The VPC ID the VM belongs to.AwsVmDetails.Builder
setZone(String value)
The AWS zone of the VM.AwsVmDetails.Builder
setZoneBytes(com.google.protobuf.ByteString value)
The AWS zone of the VM.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
-
clear
public AwsVmDetails.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
-
getDefaultInstanceForType
public AwsVmDetails getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AwsVmDetails build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AwsVmDetails buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AwsVmDetails.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
-
setField
public AwsVmDetails.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
-
clearField
public AwsVmDetails.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
-
clearOneof
public AwsVmDetails.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
-
setRepeatedField
public AwsVmDetails.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
-
addRepeatedField
public AwsVmDetails.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
-
mergeFrom
public AwsVmDetails.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AwsVmDetails.Builder>
-
mergeFrom
public AwsVmDetails.Builder mergeFrom(AwsVmDetails other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
-
mergeFrom
public AwsVmDetails.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AwsVmDetails.Builder>
- Throws:
IOException
-
getVmId
public String getVmId()
The VM ID in AWS.
string vm_id = 1;
- Specified by:
getVmId
in interfaceAwsVmDetailsOrBuilder
- Returns:
- The vmId.
-
getVmIdBytes
public com.google.protobuf.ByteString getVmIdBytes()
The VM ID in AWS.
string vm_id = 1;
- Specified by:
getVmIdBytes
in interfaceAwsVmDetailsOrBuilder
- Returns:
- The bytes for vmId.
-
setVmId
public AwsVmDetails.Builder setVmId(String value)
The VM ID in AWS.
string vm_id = 1;
- Parameters:
value
- The vmId to set.- Returns:
- This builder for chaining.
-
clearVmId
public AwsVmDetails.Builder clearVmId()
The VM ID in AWS.
string vm_id = 1;
- Returns:
- This builder for chaining.
-
setVmIdBytes
public AwsVmDetails.Builder setVmIdBytes(com.google.protobuf.ByteString value)
The VM ID in AWS.
string vm_id = 1;
- Parameters:
value
- The bytes for vmId to set.- Returns:
- This builder for chaining.
-
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 interfaceAwsVmDetailsOrBuilder
- 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 interfaceAwsVmDetailsOrBuilder
- Returns:
- The bytes for displayName.
-
setDisplayName
public AwsVmDetails.Builder setDisplayName(String value)
The display name of the VM. Note that this value is not necessarily unique.
string display_name = 2;
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public AwsVmDetails.Builder clearDisplayName()
The display name of the VM. Note that this value is not necessarily unique.
string display_name = 2;
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public AwsVmDetails.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
The display name of the VM. Note that this value is not necessarily unique.
string display_name = 2;
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getSourceId
public String getSourceId()
The id of the AWS's source this VM is connected to.
string source_id = 3;
- Specified by:
getSourceId
in interfaceAwsVmDetailsOrBuilder
- 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 interfaceAwsVmDetailsOrBuilder
- Returns:
- The bytes for sourceId.
-
setSourceId
public AwsVmDetails.Builder setSourceId(String value)
The id of the AWS's source this VM is connected to.
string source_id = 3;
- Parameters:
value
- The sourceId to set.- Returns:
- This builder for chaining.
-
clearSourceId
public AwsVmDetails.Builder clearSourceId()
The id of the AWS's source this VM is connected to.
string source_id = 3;
- Returns:
- This builder for chaining.
-
setSourceIdBytes
public AwsVmDetails.Builder setSourceIdBytes(com.google.protobuf.ByteString value)
The id of the AWS's source this VM is connected to.
string source_id = 3;
- Parameters:
value
- The bytes for sourceId to set.- Returns:
- This builder for chaining.
-
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 interfaceAwsVmDetailsOrBuilder
- 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 interfaceAwsVmDetailsOrBuilder
- Returns:
- The bytes for sourceDescription.
-
setSourceDescription
public AwsVmDetails.Builder setSourceDescription(String value)
The descriptive name of the AWS's source this VM is connected to.
string source_description = 4;
- Parameters:
value
- The sourceDescription to set.- Returns:
- This builder for chaining.
-
clearSourceDescription
public AwsVmDetails.Builder clearSourceDescription()
The descriptive name of the AWS's source this VM is connected to.
string source_description = 4;
- Returns:
- This builder for chaining.
-
setSourceDescriptionBytes
public AwsVmDetails.Builder setSourceDescriptionBytes(com.google.protobuf.ByteString value)
The descriptive name of the AWS's source this VM is connected to.
string source_description = 4;
- Parameters:
value
- The bytes for sourceDescription to set.- Returns:
- This builder for chaining.
-
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 interfaceAwsVmDetailsOrBuilder
- Returns:
- The enum numeric value on the wire for powerState.
-
setPowerStateValue
public AwsVmDetails.Builder setPowerStateValue(int value)
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];
- Parameters:
value
- The enum numeric value on the wire for powerState to set.- Returns:
- This builder for chaining.
-
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 interfaceAwsVmDetailsOrBuilder
- Returns:
- The powerState.
-
setPowerState
public AwsVmDetails.Builder setPowerState(AwsVmDetails.PowerState value)
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];
- Parameters:
value
- The powerState to set.- Returns:
- This builder for chaining.
-
clearPowerState
public AwsVmDetails.Builder clearPowerState()
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:
- This builder for chaining.
-
getCpuCount
public int getCpuCount()
The number of cpus the VM has.
int32 cpu_count = 6;
- Specified by:
getCpuCount
in interfaceAwsVmDetailsOrBuilder
- Returns:
- The cpuCount.
-
setCpuCount
public AwsVmDetails.Builder setCpuCount(int value)
The number of cpus the VM has.
int32 cpu_count = 6;
- Parameters:
value
- The cpuCount to set.- Returns:
- This builder for chaining.
-
clearCpuCount
public AwsVmDetails.Builder clearCpuCount()
The number of cpus the VM has.
int32 cpu_count = 6;
- Returns:
- This builder for chaining.
-
getMemoryMb
public int getMemoryMb()
The memory size of the VM in MB.
int32 memory_mb = 7;
- Specified by:
getMemoryMb
in interfaceAwsVmDetailsOrBuilder
- Returns:
- The memoryMb.
-
setMemoryMb
public AwsVmDetails.Builder setMemoryMb(int value)
The memory size of the VM in MB.
int32 memory_mb = 7;
- Parameters:
value
- The memoryMb to set.- Returns:
- This builder for chaining.
-
clearMemoryMb
public AwsVmDetails.Builder clearMemoryMb()
The memory size of the VM in MB.
int32 memory_mb = 7;
- Returns:
- This builder for chaining.
-
getDiskCount
public int getDiskCount()
The number of disks the VM has.
int32 disk_count = 8;
- Specified by:
getDiskCount
in interfaceAwsVmDetailsOrBuilder
- Returns:
- The diskCount.
-
setDiskCount
public AwsVmDetails.Builder setDiskCount(int value)
The number of disks the VM has.
int32 disk_count = 8;
- Parameters:
value
- The diskCount to set.- Returns:
- This builder for chaining.
-
clearDiskCount
public AwsVmDetails.Builder clearDiskCount()
The number of disks the VM has.
int32 disk_count = 8;
- Returns:
- This builder for chaining.
-
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 interfaceAwsVmDetailsOrBuilder
- Returns:
- The committedStorageMb.
-
setCommittedStorageMb
public AwsVmDetails.Builder setCommittedStorageMb(long value)
The total size of the storage allocated to the VM in MB.
int64 committed_storage_mb = 9;
- Parameters:
value
- The committedStorageMb to set.- Returns:
- This builder for chaining.
-
clearCommittedStorageMb
public AwsVmDetails.Builder clearCommittedStorageMb()
The total size of the storage allocated to the VM in MB.
int64 committed_storage_mb = 9;
- Returns:
- This builder for chaining.
-
getOsDescription
public String getOsDescription()
The VM's OS.
string os_description = 10;
- Specified by:
getOsDescription
in interfaceAwsVmDetailsOrBuilder
- Returns:
- The osDescription.
-
getOsDescriptionBytes
public com.google.protobuf.ByteString getOsDescriptionBytes()
The VM's OS.
string os_description = 10;
- Specified by:
getOsDescriptionBytes
in interfaceAwsVmDetailsOrBuilder
- Returns:
- The bytes for osDescription.
-
setOsDescription
public AwsVmDetails.Builder setOsDescription(String value)
The VM's OS.
string os_description = 10;
- Parameters:
value
- The osDescription to set.- Returns:
- This builder for chaining.
-
clearOsDescription
public AwsVmDetails.Builder clearOsDescription()
The VM's OS.
string os_description = 10;
- Returns:
- This builder for chaining.
-
setOsDescriptionBytes
public AwsVmDetails.Builder setOsDescriptionBytes(com.google.protobuf.ByteString value)
The VM's OS.
string os_description = 10;
- Parameters:
value
- The bytes for osDescription to set.- Returns:
- This builder for chaining.
-
getBootOptionValue
public int getBootOptionValue()
The VM Boot Option.
.google.cloud.vmmigration.v1.AwsVmDetails.BootOption boot_option = 11;
- Specified by:
getBootOptionValue
in interfaceAwsVmDetailsOrBuilder
- Returns:
- The enum numeric value on the wire for bootOption.
-
setBootOptionValue
public AwsVmDetails.Builder setBootOptionValue(int value)
The VM Boot Option.
.google.cloud.vmmigration.v1.AwsVmDetails.BootOption boot_option = 11;
- Parameters:
value
- The enum numeric value on the wire for bootOption to set.- Returns:
- This builder for chaining.
-
getBootOption
public AwsVmDetails.BootOption getBootOption()
The VM Boot Option.
.google.cloud.vmmigration.v1.AwsVmDetails.BootOption boot_option = 11;
- Specified by:
getBootOption
in interfaceAwsVmDetailsOrBuilder
- Returns:
- The bootOption.
-
setBootOption
public AwsVmDetails.Builder setBootOption(AwsVmDetails.BootOption value)
The VM Boot Option.
.google.cloud.vmmigration.v1.AwsVmDetails.BootOption boot_option = 11;
- Parameters:
value
- The bootOption to set.- Returns:
- This builder for chaining.
-
clearBootOption
public AwsVmDetails.Builder clearBootOption()
The VM Boot Option.
.google.cloud.vmmigration.v1.AwsVmDetails.BootOption boot_option = 11;
- Returns:
- This builder for chaining.
-
getInstanceType
public String getInstanceType()
The instance type of the VM.
string instance_type = 12;
- Specified by:
getInstanceType
in interfaceAwsVmDetailsOrBuilder
- Returns:
- The instanceType.
-
getInstanceTypeBytes
public com.google.protobuf.ByteString getInstanceTypeBytes()
The instance type of the VM.
string instance_type = 12;
- Specified by:
getInstanceTypeBytes
in interfaceAwsVmDetailsOrBuilder
- Returns:
- The bytes for instanceType.
-
setInstanceType
public AwsVmDetails.Builder setInstanceType(String value)
The instance type of the VM.
string instance_type = 12;
- Parameters:
value
- The instanceType to set.- Returns:
- This builder for chaining.
-
clearInstanceType
public AwsVmDetails.Builder clearInstanceType()
The instance type of the VM.
string instance_type = 12;
- Returns:
- This builder for chaining.
-
setInstanceTypeBytes
public AwsVmDetails.Builder setInstanceTypeBytes(com.google.protobuf.ByteString value)
The instance type of the VM.
string instance_type = 12;
- Parameters:
value
- The bytes for instanceType to set.- Returns:
- This builder for chaining.
-
getVpcId
public String getVpcId()
The VPC ID the VM belongs to.
string vpc_id = 13;
- Specified by:
getVpcId
in interfaceAwsVmDetailsOrBuilder
- Returns:
- The vpcId.
-
getVpcIdBytes
public com.google.protobuf.ByteString getVpcIdBytes()
The VPC ID the VM belongs to.
string vpc_id = 13;
- Specified by:
getVpcIdBytes
in interfaceAwsVmDetailsOrBuilder
- Returns:
- The bytes for vpcId.
-
setVpcId
public AwsVmDetails.Builder setVpcId(String value)
The VPC ID the VM belongs to.
string vpc_id = 13;
- Parameters:
value
- The vpcId to set.- Returns:
- This builder for chaining.
-
clearVpcId
public AwsVmDetails.Builder clearVpcId()
The VPC ID the VM belongs to.
string vpc_id = 13;
- Returns:
- This builder for chaining.
-
setVpcIdBytes
public AwsVmDetails.Builder setVpcIdBytes(com.google.protobuf.ByteString value)
The VPC ID the VM belongs to.
string vpc_id = 13;
- Parameters:
value
- The bytes for vpcId to set.- Returns:
- This builder for chaining.
-
getSecurityGroupsList
public List<AwsSecurityGroup> getSecurityGroupsList()
The security groups the VM belongs to.
repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
- Specified by:
getSecurityGroupsList
in interfaceAwsVmDetailsOrBuilder
-
getSecurityGroupsCount
public int getSecurityGroupsCount()
The security groups the VM belongs to.
repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
- Specified by:
getSecurityGroupsCount
in interfaceAwsVmDetailsOrBuilder
-
getSecurityGroups
public AwsSecurityGroup getSecurityGroups(int index)
The security groups the VM belongs to.
repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
- Specified by:
getSecurityGroups
in interfaceAwsVmDetailsOrBuilder
-
setSecurityGroups
public AwsVmDetails.Builder setSecurityGroups(int index, AwsSecurityGroup value)
The security groups the VM belongs to.
repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
-
setSecurityGroups
public AwsVmDetails.Builder setSecurityGroups(int index, AwsSecurityGroup.Builder builderForValue)
The security groups the VM belongs to.
repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
-
addSecurityGroups
public AwsVmDetails.Builder addSecurityGroups(AwsSecurityGroup value)
The security groups the VM belongs to.
repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
-
addSecurityGroups
public AwsVmDetails.Builder addSecurityGroups(int index, AwsSecurityGroup value)
The security groups the VM belongs to.
repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
-
addSecurityGroups
public AwsVmDetails.Builder addSecurityGroups(AwsSecurityGroup.Builder builderForValue)
The security groups the VM belongs to.
repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
-
addSecurityGroups
public AwsVmDetails.Builder addSecurityGroups(int index, AwsSecurityGroup.Builder builderForValue)
The security groups the VM belongs to.
repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
-
addAllSecurityGroups
public AwsVmDetails.Builder addAllSecurityGroups(Iterable<? extends AwsSecurityGroup> values)
The security groups the VM belongs to.
repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
-
clearSecurityGroups
public AwsVmDetails.Builder clearSecurityGroups()
The security groups the VM belongs to.
repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
-
removeSecurityGroups
public AwsVmDetails.Builder removeSecurityGroups(int index)
The security groups the VM belongs to.
repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
-
getSecurityGroupsBuilder
public AwsSecurityGroup.Builder getSecurityGroupsBuilder(int index)
The security groups the VM belongs to.
repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
-
getSecurityGroupsOrBuilder
public AwsSecurityGroupOrBuilder getSecurityGroupsOrBuilder(int index)
The security groups the VM belongs to.
repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
- Specified by:
getSecurityGroupsOrBuilder
in interfaceAwsVmDetailsOrBuilder
-
getSecurityGroupsOrBuilderList
public List<? extends AwsSecurityGroupOrBuilder> getSecurityGroupsOrBuilderList()
The security groups the VM belongs to.
repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
- Specified by:
getSecurityGroupsOrBuilderList
in interfaceAwsVmDetailsOrBuilder
-
addSecurityGroupsBuilder
public AwsSecurityGroup.Builder addSecurityGroupsBuilder()
The security groups the VM belongs to.
repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
-
addSecurityGroupsBuilder
public AwsSecurityGroup.Builder addSecurityGroupsBuilder(int index)
The security groups the VM belongs to.
repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
-
getSecurityGroupsBuilderList
public List<AwsSecurityGroup.Builder> getSecurityGroupsBuilderList()
The security groups the VM belongs to.
repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;
-
getTagsCount
public int getTagsCount()
Description copied from interface:AwsVmDetailsOrBuilder
The tags of the VM.
map<string, string> tags = 15;
- Specified by:
getTagsCount
in interfaceAwsVmDetailsOrBuilder
-
containsTags
public boolean containsTags(String key)
The tags of the VM.
map<string, string> tags = 15;
- Specified by:
containsTags
in interfaceAwsVmDetailsOrBuilder
-
getTags
@Deprecated public Map<String,String> getTags()
Deprecated.UsegetTagsMap()
instead.- Specified by:
getTags
in interfaceAwsVmDetailsOrBuilder
-
getTagsMap
public Map<String,String> getTagsMap()
The tags of the VM.
map<string, string> tags = 15;
- Specified by:
getTagsMap
in interfaceAwsVmDetailsOrBuilder
-
getTagsOrDefault
public String getTagsOrDefault(String key, String defaultValue)
The tags of the VM.
map<string, string> tags = 15;
- Specified by:
getTagsOrDefault
in interfaceAwsVmDetailsOrBuilder
-
getTagsOrThrow
public String getTagsOrThrow(String key)
The tags of the VM.
map<string, string> tags = 15;
- Specified by:
getTagsOrThrow
in interfaceAwsVmDetailsOrBuilder
-
clearTags
public AwsVmDetails.Builder clearTags()
-
removeTags
public AwsVmDetails.Builder removeTags(String key)
The tags of the VM.
map<string, string> tags = 15;
-
getMutableTags
@Deprecated public Map<String,String> getMutableTags()
Deprecated.Use alternate mutation accessors instead.
-
putTags
public AwsVmDetails.Builder putTags(String key, String value)
The tags of the VM.
map<string, string> tags = 15;
-
putAllTags
public AwsVmDetails.Builder putAllTags(Map<String,String> values)
The tags of the VM.
map<string, string> tags = 15;
-
getZone
public String getZone()
The AWS zone of the VM.
string zone = 16;
- Specified by:
getZone
in interfaceAwsVmDetailsOrBuilder
- Returns:
- The zone.
-
getZoneBytes
public com.google.protobuf.ByteString getZoneBytes()
The AWS zone of the VM.
string zone = 16;
- Specified by:
getZoneBytes
in interfaceAwsVmDetailsOrBuilder
- Returns:
- The bytes for zone.
-
setZone
public AwsVmDetails.Builder setZone(String value)
The AWS zone of the VM.
string zone = 16;
- Parameters:
value
- The zone to set.- Returns:
- This builder for chaining.
-
clearZone
public AwsVmDetails.Builder clearZone()
The AWS zone of the VM.
string zone = 16;
- Returns:
- This builder for chaining.
-
setZoneBytes
public AwsVmDetails.Builder setZoneBytes(com.google.protobuf.ByteString value)
The AWS zone of the VM.
string zone = 16;
- Parameters:
value
- The bytes for zone to set.- Returns:
- This builder for chaining.
-
getVirtualizationTypeValue
public int getVirtualizationTypeValue()
The virtualization type.
.google.cloud.vmmigration.v1.AwsVmDetails.VmVirtualizationType virtualization_type = 17;
- Specified by:
getVirtualizationTypeValue
in interfaceAwsVmDetailsOrBuilder
- Returns:
- The enum numeric value on the wire for virtualizationType.
-
setVirtualizationTypeValue
public AwsVmDetails.Builder setVirtualizationTypeValue(int value)
The virtualization type.
.google.cloud.vmmigration.v1.AwsVmDetails.VmVirtualizationType virtualization_type = 17;
- Parameters:
value
- The enum numeric value on the wire for virtualizationType to set.- Returns:
- This builder for chaining.
-
getVirtualizationType
public AwsVmDetails.VmVirtualizationType getVirtualizationType()
The virtualization type.
.google.cloud.vmmigration.v1.AwsVmDetails.VmVirtualizationType virtualization_type = 17;
- Specified by:
getVirtualizationType
in interfaceAwsVmDetailsOrBuilder
- Returns:
- The virtualizationType.
-
setVirtualizationType
public AwsVmDetails.Builder setVirtualizationType(AwsVmDetails.VmVirtualizationType value)
The virtualization type.
.google.cloud.vmmigration.v1.AwsVmDetails.VmVirtualizationType virtualization_type = 17;
- Parameters:
value
- The virtualizationType to set.- Returns:
- This builder for chaining.
-
clearVirtualizationType
public AwsVmDetails.Builder clearVirtualizationType()
The virtualization type.
.google.cloud.vmmigration.v1.AwsVmDetails.VmVirtualizationType virtualization_type = 17;
- Returns:
- This builder for chaining.
-
getArchitectureValue
public int getArchitectureValue()
The CPU architecture.
.google.cloud.vmmigration.v1.AwsVmDetails.VmArchitecture architecture = 18;
- Specified by:
getArchitectureValue
in interfaceAwsVmDetailsOrBuilder
- Returns:
- The enum numeric value on the wire for architecture.
-
setArchitectureValue
public AwsVmDetails.Builder setArchitectureValue(int value)
The CPU architecture.
.google.cloud.vmmigration.v1.AwsVmDetails.VmArchitecture architecture = 18;
- Parameters:
value
- The enum numeric value on the wire for architecture to set.- Returns:
- This builder for chaining.
-
getArchitecture
public AwsVmDetails.VmArchitecture getArchitecture()
The CPU architecture.
.google.cloud.vmmigration.v1.AwsVmDetails.VmArchitecture architecture = 18;
- Specified by:
getArchitecture
in interfaceAwsVmDetailsOrBuilder
- Returns:
- The architecture.
-
setArchitecture
public AwsVmDetails.Builder setArchitecture(AwsVmDetails.VmArchitecture value)
The CPU architecture.
.google.cloud.vmmigration.v1.AwsVmDetails.VmArchitecture architecture = 18;
- Parameters:
value
- The architecture to set.- Returns:
- This builder for chaining.
-
clearArchitecture
public AwsVmDetails.Builder clearArchitecture()
The CPU architecture.
.google.cloud.vmmigration.v1.AwsVmDetails.VmArchitecture architecture = 18;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final AwsVmDetails.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
-
mergeUnknownFields
public final AwsVmDetails.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
-
-