Class AwsVmDetails.Builder (1.13.0)

public static final class AwsVmDetails.Builder extends GeneratedMessageV3.Builder<AwsVmDetails.Builder> implements AwsVmDetailsOrBuilder

AwsVmDetails describes a VM in AWS.

Protobuf type google.cloud.vmmigration.v1.AwsVmDetails

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllSecurityGroups(Iterable<? extends AwsSecurityGroup> values)

public AwsVmDetails.Builder addAllSecurityGroups(Iterable<? extends AwsSecurityGroup> values)

The security groups the VM belongs to.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vmmigration.v1.AwsSecurityGroup>
Returns
TypeDescription
AwsVmDetails.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AwsVmDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AwsVmDetails.Builder
Overrides

addSecurityGroups(AwsSecurityGroup value)

public AwsVmDetails.Builder addSecurityGroups(AwsSecurityGroup value)

The security groups the VM belongs to.

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

Parameter
NameDescription
valueAwsSecurityGroup
Returns
TypeDescription
AwsVmDetails.Builder

addSecurityGroups(AwsSecurityGroup.Builder builderForValue)

public AwsVmDetails.Builder addSecurityGroups(AwsSecurityGroup.Builder builderForValue)

The security groups the VM belongs to.

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

Parameter
NameDescription
builderForValueAwsSecurityGroup.Builder
Returns
TypeDescription
AwsVmDetails.Builder

addSecurityGroups(int index, AwsSecurityGroup value)

public AwsVmDetails.Builder addSecurityGroups(int index, AwsSecurityGroup value)

The security groups the VM belongs to.

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

Parameters
NameDescription
indexint
valueAwsSecurityGroup
Returns
TypeDescription
AwsVmDetails.Builder

addSecurityGroups(int index, AwsSecurityGroup.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueAwsSecurityGroup.Builder
Returns
TypeDescription
AwsVmDetails.Builder

addSecurityGroupsBuilder()

public AwsSecurityGroup.Builder addSecurityGroupsBuilder()

The security groups the VM belongs to.

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

Returns
TypeDescription
AwsSecurityGroup.Builder

addSecurityGroupsBuilder(int index)

public AwsSecurityGroup.Builder addSecurityGroupsBuilder(int index)

The security groups the VM belongs to.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AwsSecurityGroup.Builder

build()

public AwsVmDetails build()
Returns
TypeDescription
AwsVmDetails

buildPartial()

public AwsVmDetails buildPartial()
Returns
TypeDescription
AwsVmDetails

clear()

public AwsVmDetails.Builder clear()
Returns
TypeDescription
AwsVmDetails.Builder
Overrides

clearArchitecture()

public AwsVmDetails.Builder clearArchitecture()

The CPU architecture.

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

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

clearBootOption()

public AwsVmDetails.Builder clearBootOption()

The VM Boot Option.

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

Returns
TypeDescription
AwsVmDetails.Builder

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
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

clearCpuCount()

public AwsVmDetails.Builder clearCpuCount()

The number of cpus the VM has.

int32 cpu_count = 6;

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

clearDiskCount()

public AwsVmDetails.Builder clearDiskCount()

The number of disks the VM has.

int32 disk_count = 8;

Returns
TypeDescription
AwsVmDetails.Builder

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
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AwsVmDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AwsVmDetails.Builder
Overrides

clearInstanceType()

public AwsVmDetails.Builder clearInstanceType()

The instance type of the VM.

string instance_type = 12;

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

clearMemoryMb()

public AwsVmDetails.Builder clearMemoryMb()

The memory size of the VM in MB.

int32 memory_mb = 7;

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AwsVmDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AwsVmDetails.Builder
Overrides

clearOsDescription()

public AwsVmDetails.Builder clearOsDescription()

The VM's OS.

string os_description = 10;

Returns
TypeDescription
AwsVmDetails.Builder

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
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

clearSecurityGroups()

public AwsVmDetails.Builder clearSecurityGroups()

The security groups the VM belongs to.

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

Returns
TypeDescription
AwsVmDetails.Builder

clearSourceDescription()

public AwsVmDetails.Builder clearSourceDescription()

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

string source_description = 4;

Returns
TypeDescription
AwsVmDetails.Builder

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
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

clearTags()

public AwsVmDetails.Builder clearTags()
Returns
TypeDescription
AwsVmDetails.Builder

clearVirtualizationType()

public AwsVmDetails.Builder clearVirtualizationType()

The virtualization type.

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

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

clearVmId()

public AwsVmDetails.Builder clearVmId()

The VM ID in AWS.

string vm_id = 1;

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

clearVpcId()

public AwsVmDetails.Builder clearVpcId()

The VPC ID the VM belongs to.

string vpc_id = 13;

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

clearZone()

public AwsVmDetails.Builder clearZone()

The AWS zone of the VM.

string zone = 16;

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

clone()

public AwsVmDetails.Builder clone()
Returns
TypeDescription
AwsVmDetails.Builder
Overrides

containsTags(String key)

public boolean containsTags(String key)

The tags of the VM.

map<string, string> tags = 15;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getArchitecture()

public AwsVmDetails.VmArchitecture getArchitecture()

The CPU architecture.

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

Returns
TypeDescription
AwsVmDetails.VmArchitecture

The architecture.

getArchitectureValue()

public int getArchitectureValue()

The CPU architecture.

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

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

The bootOption.

getBootOptionValue()

public int getBootOptionValue()

The VM Boot Option.

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

Returns
TypeDescription
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
TypeDescription
long

The committedStorageMb.

getCpuCount()

public int getCpuCount()

The number of cpus the VM has.

int32 cpu_count = 6;

Returns
TypeDescription
int

The cpuCount.

getDefaultInstanceForType()

public AwsVmDetails getDefaultInstanceForType()
Returns
TypeDescription
AwsVmDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDiskCount()

public int getDiskCount()

The number of disks the VM has.

int32 disk_count = 8;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for displayName.

getInstanceType()

public String getInstanceType()

The instance type of the VM.

string instance_type = 12;

Returns
TypeDescription
String

The instanceType.

getInstanceTypeBytes()

public ByteString getInstanceTypeBytes()

The instance type of the VM.

string instance_type = 12;

Returns
TypeDescription
ByteString

The bytes for instanceType.

getMemoryMb()

public int getMemoryMb()

The memory size of the VM in MB.

int32 memory_mb = 7;

Returns
TypeDescription
int

The memoryMb.

getMutableTags()

public Map<String,String> getMutableTags()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getOsDescription()

public String getOsDescription()

The VM's OS.

string os_description = 10;

Returns
TypeDescription
String

The osDescription.

getOsDescriptionBytes()

public ByteString getOsDescriptionBytes()

The VM's OS.

string os_description = 10;

Returns
TypeDescription
ByteString

The bytes for osDescription.

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
TypeDescription
AwsVmDetails.PowerState

The powerState.

getPowerStateValue()

public int getPowerStateValue()

Output only. The power state of the VM at the moment list was taken.

.google.cloud.vmmigration.v1.AwsVmDetails.PowerState power_state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
AwsSecurityGroup

getSecurityGroupsBuilder(int index)

public AwsSecurityGroup.Builder getSecurityGroupsBuilder(int index)

The security groups the VM belongs to.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AwsSecurityGroup.Builder

getSecurityGroupsBuilderList()

public List<AwsSecurityGroup.Builder> getSecurityGroupsBuilderList()

The security groups the VM belongs to.

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

Returns
TypeDescription
List<Builder>

getSecurityGroupsCount()

public int getSecurityGroupsCount()

The security groups the VM belongs to.

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

Returns
TypeDescription
int

getSecurityGroupsList()

public List<AwsSecurityGroup> getSecurityGroupsList()

The security groups the VM belongs to.

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

Returns
TypeDescription
List<AwsSecurityGroup>

getSecurityGroupsOrBuilder(int index)

public AwsSecurityGroupOrBuilder getSecurityGroupsOrBuilder(int index)

The security groups the VM belongs to.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AwsSecurityGroupOrBuilder

getSecurityGroupsOrBuilderList()

public List<? extends AwsSecurityGroupOrBuilder> getSecurityGroupsOrBuilderList()

The security groups the VM belongs to.

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

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

getSourceDescription()

public String getSourceDescription()

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

string source_description = 4;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
String

The sourceId.

getSourceIdBytes()

public ByteString getSourceIdBytes()

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

string source_id = 3;

Returns
TypeDescription
ByteString

The bytes for sourceId.

getTags()

public Map<String,String> getTags()

Use #getTagsMap() instead.

Returns
TypeDescription
Map<String,String>

getTagsCount()

public int getTagsCount()

The tags of the VM.

map<string, string> tags = 15;

Returns
TypeDescription
int

getTagsMap()

public Map<String,String> getTagsMap()

The tags of the VM.

map<string, string> tags = 15;

Returns
TypeDescription
Map<String,String>

getTagsOrDefault(String key, String defaultValue)

public String getTagsOrDefault(String key, String defaultValue)

The tags of the VM.

map<string, string> tags = 15;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getTagsOrThrow(String key)

public String getTagsOrThrow(String key)

The tags of the VM.

map<string, string> tags = 15;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getVirtualizationType()

public AwsVmDetails.VmVirtualizationType getVirtualizationType()

The virtualization type.

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

Returns
TypeDescription
AwsVmDetails.VmVirtualizationType

The virtualizationType.

getVirtualizationTypeValue()

public int getVirtualizationTypeValue()

The virtualization type.

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

Returns
TypeDescription
int

The enum numeric value on the wire for virtualizationType.

getVmId()

public String getVmId()

The VM ID in AWS.

string vm_id = 1;

Returns
TypeDescription
String

The vmId.

getVmIdBytes()

public ByteString getVmIdBytes()

The VM ID in AWS.

string vm_id = 1;

Returns
TypeDescription
ByteString

The bytes for vmId.

getVpcId()

public String getVpcId()

The VPC ID the VM belongs to.

string vpc_id = 13;

Returns
TypeDescription
String

The vpcId.

getVpcIdBytes()

public ByteString getVpcIdBytes()

The VPC ID the VM belongs to.

string vpc_id = 13;

Returns
TypeDescription
ByteString

The bytes for vpcId.

getZone()

public String getZone()

The AWS zone of the VM.

string zone = 16;

Returns
TypeDescription
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

The AWS zone of the VM.

string zone = 16;

Returns
TypeDescription
ByteString

The bytes for zone.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AwsVmDetails other)

public AwsVmDetails.Builder mergeFrom(AwsVmDetails other)
Parameter
NameDescription
otherAwsVmDetails
Returns
TypeDescription
AwsVmDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AwsVmDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsVmDetails.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AwsVmDetails.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AwsVmDetails.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsVmDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AwsVmDetails.Builder
Overrides

putAllTags(Map<String,String> values)

public AwsVmDetails.Builder putAllTags(Map<String,String> values)

The tags of the VM.

map<string, string> tags = 15;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
AwsVmDetails.Builder

putTags(String key, String value)

public AwsVmDetails.Builder putTags(String key, String value)

The tags of the VM.

map<string, string> tags = 15;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
AwsVmDetails.Builder

removeSecurityGroups(int index)

public AwsVmDetails.Builder removeSecurityGroups(int index)

The security groups the VM belongs to.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AwsVmDetails.Builder

removeTags(String key)

public AwsVmDetails.Builder removeTags(String key)

The tags of the VM.

map<string, string> tags = 15;

Parameter
NameDescription
keyString
Returns
TypeDescription
AwsVmDetails.Builder

setArchitecture(AwsVmDetails.VmArchitecture value)

public AwsVmDetails.Builder setArchitecture(AwsVmDetails.VmArchitecture value)

The CPU architecture.

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

Parameter
NameDescription
valueAwsVmDetails.VmArchitecture

The architecture to set.

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

setArchitectureValue(int value)

public AwsVmDetails.Builder setArchitectureValue(int value)

The CPU architecture.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for architecture to set.

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

setBootOption(AwsVmDetails.BootOption value)

public AwsVmDetails.Builder setBootOption(AwsVmDetails.BootOption value)

The VM Boot Option.

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

Parameter
NameDescription
valueAwsVmDetails.BootOption

The bootOption to set.

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

setBootOptionValue(int value)

public AwsVmDetails.Builder setBootOptionValue(int value)

The VM Boot Option.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for bootOption to set.

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

setCommittedStorageMb(long value)

public AwsVmDetails.Builder setCommittedStorageMb(long value)

The total size of the storage allocated to the VM in MB.

int64 committed_storage_mb = 9;

Parameter
NameDescription
valuelong

The committedStorageMb to set.

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

setCpuCount(int value)

public AwsVmDetails.Builder setCpuCount(int value)

The number of cpus the VM has.

int32 cpu_count = 6;

Parameter
NameDescription
valueint

The cpuCount to set.

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

setDiskCount(int value)

public AwsVmDetails.Builder setDiskCount(int value)

The number of disks the VM has.

int32 disk_count = 8;

Parameter
NameDescription
valueint

The diskCount to set.

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

setDisplayName(String value)

public AwsVmDetails.Builder setDisplayName(String value)

The display name of the VM. Note that this value is not necessarily unique.

string display_name = 2;

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public AwsVmDetails.Builder setDisplayNameBytes(ByteString value)

The display name of the VM. Note that this value is not necessarily unique.

string display_name = 2;

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AwsVmDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AwsVmDetails.Builder
Overrides

setInstanceType(String value)

public AwsVmDetails.Builder setInstanceType(String value)

The instance type of the VM.

string instance_type = 12;

Parameter
NameDescription
valueString

The instanceType to set.

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

setInstanceTypeBytes(ByteString value)

public AwsVmDetails.Builder setInstanceTypeBytes(ByteString value)

The instance type of the VM.

string instance_type = 12;

Parameter
NameDescription
valueByteString

The bytes for instanceType to set.

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

setMemoryMb(int value)

public AwsVmDetails.Builder setMemoryMb(int value)

The memory size of the VM in MB.

int32 memory_mb = 7;

Parameter
NameDescription
valueint

The memoryMb to set.

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

setOsDescription(String value)

public AwsVmDetails.Builder setOsDescription(String value)

The VM's OS.

string os_description = 10;

Parameter
NameDescription
valueString

The osDescription to set.

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

setOsDescriptionBytes(ByteString value)

public AwsVmDetails.Builder setOsDescriptionBytes(ByteString value)

The VM's OS.

string os_description = 10;

Parameter
NameDescription
valueByteString

The bytes for osDescription to set.

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

setPowerState(AwsVmDetails.PowerState value)

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];

Parameter
NameDescription
valueAwsVmDetails.PowerState

The powerState to set.

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

setPowerStateValue(int value)

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];

Parameter
NameDescription
valueint

The enum numeric value on the wire for powerState to set.

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AwsVmDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AwsVmDetails.Builder
Overrides

setSecurityGroups(int index, AwsSecurityGroup value)

public AwsVmDetails.Builder setSecurityGroups(int index, AwsSecurityGroup value)

The security groups the VM belongs to.

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

Parameters
NameDescription
indexint
valueAwsSecurityGroup
Returns
TypeDescription
AwsVmDetails.Builder

setSecurityGroups(int index, AwsSecurityGroup.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueAwsSecurityGroup.Builder
Returns
TypeDescription
AwsVmDetails.Builder

setSourceDescription(String value)

public AwsVmDetails.Builder setSourceDescription(String value)

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

string source_description = 4;

Parameter
NameDescription
valueString

The sourceDescription to set.

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

setSourceDescriptionBytes(ByteString value)

public AwsVmDetails.Builder setSourceDescriptionBytes(ByteString value)

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

string source_description = 4;

Parameter
NameDescription
valueByteString

The bytes for sourceDescription to set.

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

setSourceId(String value)

public AwsVmDetails.Builder setSourceId(String value)

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

string source_id = 3;

Parameter
NameDescription
valueString

The sourceId to set.

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

setSourceIdBytes(ByteString value)

public AwsVmDetails.Builder setSourceIdBytes(ByteString value)

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

string source_id = 3;

Parameter
NameDescription
valueByteString

The bytes for sourceId to set.

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsVmDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AwsVmDetails.Builder
Overrides

setVirtualizationType(AwsVmDetails.VmVirtualizationType value)

public AwsVmDetails.Builder setVirtualizationType(AwsVmDetails.VmVirtualizationType value)

The virtualization type.

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

Parameter
NameDescription
valueAwsVmDetails.VmVirtualizationType

The virtualizationType to set.

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

setVirtualizationTypeValue(int value)

public AwsVmDetails.Builder setVirtualizationTypeValue(int value)

The virtualization type.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for virtualizationType to set.

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

setVmId(String value)

public AwsVmDetails.Builder setVmId(String value)

The VM ID in AWS.

string vm_id = 1;

Parameter
NameDescription
valueString

The vmId to set.

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

setVmIdBytes(ByteString value)

public AwsVmDetails.Builder setVmIdBytes(ByteString value)

The VM ID in AWS.

string vm_id = 1;

Parameter
NameDescription
valueByteString

The bytes for vmId to set.

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

setVpcId(String value)

public AwsVmDetails.Builder setVpcId(String value)

The VPC ID the VM belongs to.

string vpc_id = 13;

Parameter
NameDescription
valueString

The vpcId to set.

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

setVpcIdBytes(ByteString value)

public AwsVmDetails.Builder setVpcIdBytes(ByteString value)

The VPC ID the VM belongs to.

string vpc_id = 13;

Parameter
NameDescription
valueByteString

The bytes for vpcId to set.

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

setZone(String value)

public AwsVmDetails.Builder setZone(String value)

The AWS zone of the VM.

string zone = 16;

Parameter
NameDescription
valueString

The zone to set.

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.

setZoneBytes(ByteString value)

public AwsVmDetails.Builder setZoneBytes(ByteString value)

The AWS zone of the VM.

string zone = 16;

Parameter
NameDescription
valueByteString

The bytes for zone to set.

Returns
TypeDescription
AwsVmDetails.Builder

This builder for chaining.