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.BuilderaddAllSecurityGroups(Iterable<? extends AwsSecurityGroup> values)The security groups the VM belongs to.AwsVmDetails.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AwsVmDetails.BuilderaddSecurityGroups(int index, AwsSecurityGroup value)The security groups the VM belongs to.AwsVmDetails.BuilderaddSecurityGroups(int index, AwsSecurityGroup.Builder builderForValue)The security groups the VM belongs to.AwsVmDetails.BuilderaddSecurityGroups(AwsSecurityGroup value)The security groups the VM belongs to.AwsVmDetails.BuilderaddSecurityGroups(AwsSecurityGroup.Builder builderForValue)The security groups the VM belongs to.AwsSecurityGroup.BuilderaddSecurityGroupsBuilder()The security groups the VM belongs to.AwsSecurityGroup.BuilderaddSecurityGroupsBuilder(int index)The security groups the VM belongs to.AwsVmDetailsbuild()AwsVmDetailsbuildPartial()AwsVmDetails.Builderclear()AwsVmDetails.BuilderclearArchitecture()The CPU architecture.AwsVmDetails.BuilderclearBootOption()The VM Boot Option.AwsVmDetails.BuilderclearCommittedStorageMb()The total size of the storage allocated to the VM in MB.AwsVmDetails.BuilderclearCpuCount()The number of cpus the VM has.AwsVmDetails.BuilderclearDiskCount()The number of disks the VM has.AwsVmDetails.BuilderclearDisplayName()The display name of the VM.AwsVmDetails.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AwsVmDetails.BuilderclearInstanceType()The instance type of the VM.AwsVmDetails.BuilderclearMemoryMb()The memory size of the VM in MB.AwsVmDetails.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AwsVmDetails.BuilderclearOsDescription()The VM's OS.AwsVmDetails.BuilderclearPowerState()Output only.AwsVmDetails.BuilderclearSecurityGroups()The security groups the VM belongs to.AwsVmDetails.BuilderclearSourceDescription()The descriptive name of the AWS's source this VM is connected to.AwsVmDetails.BuilderclearSourceId()The id of the AWS's source this VM is connected to.AwsVmDetails.BuilderclearTags()AwsVmDetails.BuilderclearVirtualizationType()The virtualization type.AwsVmDetails.BuilderclearVmId()The VM ID in AWS.AwsVmDetails.BuilderclearVpcId()The VPC ID the VM belongs to.AwsVmDetails.BuilderclearZone()The AWS zone of the VM.AwsVmDetails.Builderclone()booleancontainsTags(String key)The tags of the VM.AwsVmDetails.VmArchitecturegetArchitecture()The CPU architecture.intgetArchitectureValue()The CPU architecture.AwsVmDetails.BootOptiongetBootOption()The VM Boot Option.intgetBootOptionValue()The VM Boot Option.longgetCommittedStorageMb()The total size of the storage allocated to the VM in MB.intgetCpuCount()The number of cpus the VM has.AwsVmDetailsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()intgetDiskCount()The number of disks the VM has.StringgetDisplayName()The display name of the VM.com.google.protobuf.ByteStringgetDisplayNameBytes()The display name of the VM.StringgetInstanceType()The instance type of the VM.com.google.protobuf.ByteStringgetInstanceTypeBytes()The instance type of the VM.intgetMemoryMb()The memory size of the VM in MB.Map<String,String>getMutableTags()Deprecated.StringgetOsDescription()The VM's OS.com.google.protobuf.ByteStringgetOsDescriptionBytes()The VM's OS.AwsVmDetails.PowerStategetPowerState()Output only.intgetPowerStateValue()Output only.AwsSecurityGroupgetSecurityGroups(int index)The security groups the VM belongs to.AwsSecurityGroup.BuildergetSecurityGroupsBuilder(int index)The security groups the VM belongs to.List<AwsSecurityGroup.Builder>getSecurityGroupsBuilderList()The security groups the VM belongs to.intgetSecurityGroupsCount()The security groups the VM belongs to.List<AwsSecurityGroup>getSecurityGroupsList()The security groups the VM belongs to.AwsSecurityGroupOrBuildergetSecurityGroupsOrBuilder(int index)The security groups the VM belongs to.List<? extends AwsSecurityGroupOrBuilder>getSecurityGroupsOrBuilderList()The security groups the VM belongs to.StringgetSourceDescription()The descriptive name of the AWS's source this VM is connected to.com.google.protobuf.ByteStringgetSourceDescriptionBytes()The descriptive name of the AWS's source this VM is connected to.StringgetSourceId()The id of the AWS's source this VM is connected to.com.google.protobuf.ByteStringgetSourceIdBytes()The id of the AWS's source this VM is connected to.Map<String,String>getTags()Deprecated.intgetTagsCount()The tags of the VM.Map<String,String>getTagsMap()The tags of the VM.StringgetTagsOrDefault(String key, String defaultValue)The tags of the VM.StringgetTagsOrThrow(String key)The tags of the VM.AwsVmDetails.VmVirtualizationTypegetVirtualizationType()The virtualization type.intgetVirtualizationTypeValue()The virtualization type.StringgetVmId()The VM ID in AWS.com.google.protobuf.ByteStringgetVmIdBytes()The VM ID in AWS.StringgetVpcId()The VPC ID the VM belongs to.com.google.protobuf.ByteStringgetVpcIdBytes()The VPC ID the VM belongs to.StringgetZone()The AWS zone of the VM.com.google.protobuf.ByteStringgetZoneBytes()The AWS zone of the VM.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()AwsVmDetails.BuildermergeFrom(AwsVmDetails other)AwsVmDetails.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AwsVmDetails.BuildermergeFrom(com.google.protobuf.Message other)AwsVmDetails.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AwsVmDetails.BuilderputAllTags(Map<String,String> values)The tags of the VM.AwsVmDetails.BuilderputTags(String key, String value)The tags of the VM.AwsVmDetails.BuilderremoveSecurityGroups(int index)The security groups the VM belongs to.AwsVmDetails.BuilderremoveTags(String key)The tags of the VM.AwsVmDetails.BuildersetArchitecture(AwsVmDetails.VmArchitecture value)The CPU architecture.AwsVmDetails.BuildersetArchitectureValue(int value)The CPU architecture.AwsVmDetails.BuildersetBootOption(AwsVmDetails.BootOption value)The VM Boot Option.AwsVmDetails.BuildersetBootOptionValue(int value)The VM Boot Option.AwsVmDetails.BuildersetCommittedStorageMb(long value)The total size of the storage allocated to the VM in MB.AwsVmDetails.BuildersetCpuCount(int value)The number of cpus the VM has.AwsVmDetails.BuildersetDiskCount(int value)The number of disks the VM has.AwsVmDetails.BuildersetDisplayName(String value)The display name of the VM.AwsVmDetails.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)The display name of the VM.AwsVmDetails.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AwsVmDetails.BuildersetInstanceType(String value)The instance type of the VM.AwsVmDetails.BuildersetInstanceTypeBytes(com.google.protobuf.ByteString value)The instance type of the VM.AwsVmDetails.BuildersetMemoryMb(int value)The memory size of the VM in MB.AwsVmDetails.BuildersetOsDescription(String value)The VM's OS.AwsVmDetails.BuildersetOsDescriptionBytes(com.google.protobuf.ByteString value)The VM's OS.AwsVmDetails.BuildersetPowerState(AwsVmDetails.PowerState value)Output only.AwsVmDetails.BuildersetPowerStateValue(int value)Output only.AwsVmDetails.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AwsVmDetails.BuildersetSecurityGroups(int index, AwsSecurityGroup value)The security groups the VM belongs to.AwsVmDetails.BuildersetSecurityGroups(int index, AwsSecurityGroup.Builder builderForValue)The security groups the VM belongs to.AwsVmDetails.BuildersetSourceDescription(String value)The descriptive name of the AWS's source this VM is connected to.AwsVmDetails.BuildersetSourceDescriptionBytes(com.google.protobuf.ByteString value)The descriptive name of the AWS's source this VM is connected to.AwsVmDetails.BuildersetSourceId(String value)The id of the AWS's source this VM is connected to.AwsVmDetails.BuildersetSourceIdBytes(com.google.protobuf.ByteString value)The id of the AWS's source this VM is connected to.AwsVmDetails.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AwsVmDetails.BuildersetVirtualizationType(AwsVmDetails.VmVirtualizationType value)The virtualization type.AwsVmDetails.BuildersetVirtualizationTypeValue(int value)The virtualization type.AwsVmDetails.BuildersetVmId(String value)The VM ID in AWS.AwsVmDetails.BuildersetVmIdBytes(com.google.protobuf.ByteString value)The VM ID in AWS.AwsVmDetails.BuildersetVpcId(String value)The VPC ID the VM belongs to.AwsVmDetails.BuildersetVpcIdBytes(com.google.protobuf.ByteString value)The VPC ID the VM belongs to.AwsVmDetails.BuildersetZone(String value)The AWS zone of the VM.AwsVmDetails.BuildersetZoneBytes(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:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
-
clear
public AwsVmDetails.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
-
getDefaultInstanceForType
public AwsVmDetails getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AwsVmDetails build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AwsVmDetails buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AwsVmDetails.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
-
setField
public AwsVmDetails.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
-
clearField
public AwsVmDetails.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
-
clearOneof
public AwsVmDetails.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
-
setRepeatedField
public AwsVmDetails.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
-
addRepeatedField
public AwsVmDetails.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
-
mergeFrom
public AwsVmDetails.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AwsVmDetails.Builder>
-
mergeFrom
public AwsVmDetails.Builder mergeFrom(AwsVmDetails other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AwsVmDetails.Builder>- Throws:
IOException
-
getVmId
public String getVmId()
The VM ID in AWS.
string vm_id = 1;- Specified by:
getVmIdin interfaceAwsVmDetailsOrBuilder- Returns:
- The vmId.
-
getVmIdBytes
public com.google.protobuf.ByteString getVmIdBytes()
The VM ID in AWS.
string vm_id = 1;- Specified by:
getVmIdBytesin 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:
getDisplayNamein 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:
getDisplayNameBytesin 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:
getSourceIdin 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:
getSourceIdBytesin 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:
getSourceDescriptionin 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:
getSourceDescriptionBytesin 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:
getPowerStateValuein 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:
getPowerStatein 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:
getCpuCountin 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:
getMemoryMbin 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:
getDiskCountin 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:
getCommittedStorageMbin 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:
getOsDescriptionin interfaceAwsVmDetailsOrBuilder- Returns:
- The osDescription.
-
getOsDescriptionBytes
public com.google.protobuf.ByteString getOsDescriptionBytes()
The VM's OS.
string os_description = 10;- Specified by:
getOsDescriptionBytesin 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:
getBootOptionValuein 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:
getBootOptionin 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:
getInstanceTypein interfaceAwsVmDetailsOrBuilder- Returns:
- The instanceType.
-
getInstanceTypeBytes
public com.google.protobuf.ByteString getInstanceTypeBytes()
The instance type of the VM.
string instance_type = 12;- Specified by:
getInstanceTypeBytesin 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:
getVpcIdin interfaceAwsVmDetailsOrBuilder- Returns:
- The vpcId.
-
getVpcIdBytes
public com.google.protobuf.ByteString getVpcIdBytes()
The VPC ID the VM belongs to.
string vpc_id = 13;- Specified by:
getVpcIdBytesin 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:
getSecurityGroupsListin interfaceAwsVmDetailsOrBuilder
-
getSecurityGroupsCount
public int getSecurityGroupsCount()
The security groups the VM belongs to.
repeated .google.cloud.vmmigration.v1.AwsSecurityGroup security_groups = 14;- Specified by:
getSecurityGroupsCountin 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:
getSecurityGroupsin 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:
getSecurityGroupsOrBuilderin 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:
getSecurityGroupsOrBuilderListin 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:AwsVmDetailsOrBuilderThe tags of the VM.
map<string, string> tags = 15;- Specified by:
getTagsCountin interfaceAwsVmDetailsOrBuilder
-
containsTags
public boolean containsTags(String key)
The tags of the VM.
map<string, string> tags = 15;- Specified by:
containsTagsin interfaceAwsVmDetailsOrBuilder
-
getTags
@Deprecated public Map<String,String> getTags()
Deprecated.UsegetTagsMap()instead.- Specified by:
getTagsin interfaceAwsVmDetailsOrBuilder
-
getTagsMap
public Map<String,String> getTagsMap()
The tags of the VM.
map<string, string> tags = 15;- Specified by:
getTagsMapin interfaceAwsVmDetailsOrBuilder
-
getTagsOrDefault
public String getTagsOrDefault(String key, String defaultValue)
The tags of the VM.
map<string, string> tags = 15;- Specified by:
getTagsOrDefaultin interfaceAwsVmDetailsOrBuilder
-
getTagsOrThrow
public String getTagsOrThrow(String key)
The tags of the VM.
map<string, string> tags = 15;- Specified by:
getTagsOrThrowin 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:
getZonein interfaceAwsVmDetailsOrBuilder- Returns:
- The zone.
-
getZoneBytes
public com.google.protobuf.ByteString getZoneBytes()
The AWS zone of the VM.
string zone = 16;- Specified by:
getZoneBytesin 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:
getVirtualizationTypeValuein 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:
getVirtualizationTypein 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:
getArchitectureValuein 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:
getArchitecturein 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
-
mergeUnknownFields
public final AwsVmDetails.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsVmDetails.Builder>
-
-