Class AwsVmDetails.Builder (1.47.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.vmmigration.v1.AwsSecurityGroup>
Returns
Type Description
AwsVmDetails.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AwsVmDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value AwsSecurityGroup
Returns
Type Description
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
Name Description
builderForValue AwsSecurityGroup.Builder
Returns
Type Description
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
Name Description
index int
value AwsSecurityGroup
Returns
Type Description
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
Name Description
index int
builderForValue AwsSecurityGroup.Builder
Returns
Type Description
AwsVmDetails.Builder

addSecurityGroupsBuilder()

public AwsSecurityGroup.Builder addSecurityGroupsBuilder()

The security groups the VM belongs to.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
AwsSecurityGroup.Builder

build()

public AwsVmDetails build()
Returns
Type Description
AwsVmDetails

buildPartial()

public AwsVmDetails buildPartial()
Returns
Type Description
AwsVmDetails

clear()

public AwsVmDetails.Builder clear()
Returns
Type Description
AwsVmDetails.Builder
Overrides

clearArchitecture()

public AwsVmDetails.Builder clearArchitecture()

The CPU architecture.

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

Returns
Type Description
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
Type Description
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
Type Description
AwsVmDetails.Builder

This builder for chaining.

clearCpuCount()

public AwsVmDetails.Builder clearCpuCount()

The number of cpus the VM has.

int32 cpu_count = 6;

Returns
Type Description
AwsVmDetails.Builder

This builder for chaining.

clearDiskCount()

public AwsVmDetails.Builder clearDiskCount()

The number of disks the VM has.

int32 disk_count = 8;

Returns
Type Description
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
Type Description
AwsVmDetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AwsVmDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AwsVmDetails.Builder
Overrides

clearInstanceType()

public AwsVmDetails.Builder clearInstanceType()

The instance type of the VM.

string instance_type = 12;

Returns
Type Description
AwsVmDetails.Builder

This builder for chaining.

clearMemoryMb()

public AwsVmDetails.Builder clearMemoryMb()

The memory size of the VM in MB.

int32 memory_mb = 7;

Returns
Type Description
AwsVmDetails.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AwsVmDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AwsVmDetails.Builder
Overrides

clearOsDescription()

public AwsVmDetails.Builder clearOsDescription()

The VM's OS.

string os_description = 10;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
AwsVmDetails.Builder

This builder for chaining.

clearTags()

public AwsVmDetails.Builder clearTags()
Returns
Type Description
AwsVmDetails.Builder

clearVirtualizationType()

public AwsVmDetails.Builder clearVirtualizationType()

The virtualization type.

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

Returns
Type Description
AwsVmDetails.Builder

This builder for chaining.

clearVmId()

public AwsVmDetails.Builder clearVmId()

The VM ID in AWS.

string vm_id = 1;

Returns
Type Description
AwsVmDetails.Builder

This builder for chaining.

clearVpcId()

public AwsVmDetails.Builder clearVpcId()

The VPC ID the VM belongs to.

string vpc_id = 13;

Returns
Type Description
AwsVmDetails.Builder

This builder for chaining.

clearZone()

public AwsVmDetails.Builder clearZone()

The AWS zone of the VM.

string zone = 16;

Returns
Type Description
AwsVmDetails.Builder

This builder for chaining.

clone()

public AwsVmDetails.Builder clone()
Returns
Type Description
AwsVmDetails.Builder
Overrides

containsTags(String key)

public boolean containsTags(String key)

The tags of the VM.

map<string, string> tags = 15;

Parameter
Name Description
key String
Returns
Type Description
boolean

getArchitecture()

public AwsVmDetails.VmArchitecture getArchitecture()

The CPU architecture.

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

Returns
Type Description
AwsVmDetails.VmArchitecture

The architecture.

getArchitectureValue()

public int getArchitectureValue()

The CPU architecture.

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

Returns
Type Description
int

The enum numeric value on the wire for architecture.

getBootOption()

public AwsVmDetails.BootOption getBootOption()

The VM Boot Option.

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

Returns
Type Description
AwsVmDetails.BootOption

The bootOption.

getBootOptionValue()

public int getBootOptionValue()

The VM Boot Option.

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

Returns
Type Description
int

The enum numeric value on the wire for bootOption.

getCommittedStorageMb()

public long getCommittedStorageMb()

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

int64 committed_storage_mb = 9;

Returns
Type Description
long

The committedStorageMb.

getCpuCount()

public int getCpuCount()

The number of cpus the VM has.

int32 cpu_count = 6;

Returns
Type Description
int

The cpuCount.

getDefaultInstanceForType()

public AwsVmDetails getDefaultInstanceForType()
Returns
Type Description
AwsVmDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDiskCount()

public int getDiskCount()

The number of disks the VM has.

int32 disk_count = 8;

Returns
Type Description
int

The diskCount.

getDisplayName()

public String getDisplayName()

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

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

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

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getInstanceType()

public String getInstanceType()

The instance type of the VM.

string instance_type = 12;

Returns
Type Description
String

The instanceType.

getInstanceTypeBytes()

public ByteString getInstanceTypeBytes()

The instance type of the VM.

string instance_type = 12;

Returns
Type Description
ByteString

The bytes for instanceType.

getMemoryMb()

public int getMemoryMb()

The memory size of the VM in MB.

int32 memory_mb = 7;

Returns
Type Description
int

The memoryMb.

getMutableTags() (deprecated)

public Map<String,String> getMutableTags()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getOsDescription()

public String getOsDescription()

The VM's OS.

string os_description = 10;

Returns
Type Description
String

The osDescription.

getOsDescriptionBytes()

public ByteString getOsDescriptionBytes()

The VM's OS.

string os_description = 10;

Returns
Type Description
ByteString

The bytes for osDescription.

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
Type Description
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
Type Description
int

The enum numeric value on the wire for powerState.

getSecurityGroups(int index)

public AwsSecurityGroup getSecurityGroups(int index)

The security groups the VM belongs to.

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

Parameter
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<Builder>

getSecurityGroupsCount()

public int getSecurityGroupsCount()

The security groups the VM belongs to.

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

Returns
Type Description
int

getSecurityGroupsList()

public List<AwsSecurityGroup> getSecurityGroupsList()

The security groups the VM belongs to.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
AwsSecurityGroupOrBuilder

getSecurityGroupsOrBuilderList()

public List<? extends AwsSecurityGroupOrBuilder> getSecurityGroupsOrBuilderList()

The security groups the VM belongs to.

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

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

getSourceDescription()

public String getSourceDescription()

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

string source_description = 4;

Returns
Type Description
String

The sourceDescription.

getSourceDescriptionBytes()

public ByteString getSourceDescriptionBytes()

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

string source_description = 4;

Returns
Type Description
ByteString

The bytes for sourceDescription.

getSourceId()

public String getSourceId()

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

string source_id = 3;

Returns
Type Description
String

The sourceId.

getSourceIdBytes()

public ByteString getSourceIdBytes()

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

string source_id = 3;

Returns
Type Description
ByteString

The bytes for sourceId.

getTags() (deprecated)

public Map<String,String> getTags()

Use #getTagsMap() instead.

Returns
Type Description
Map<String,String>

getTagsCount()

public int getTagsCount()

The tags of the VM.

map<string, string> tags = 15;

Returns
Type Description
int

getTagsMap()

public Map<String,String> getTagsMap()

The tags of the VM.

map<string, string> tags = 15;

Returns
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
String

getTagsOrThrow(String key)

public String getTagsOrThrow(String key)

The tags of the VM.

map<string, string> tags = 15;

Parameter
Name Description
key String
Returns
Type Description
String

getVirtualizationType()

public AwsVmDetails.VmVirtualizationType getVirtualizationType()

The virtualization type.

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

Returns
Type Description
AwsVmDetails.VmVirtualizationType

The virtualizationType.

getVirtualizationTypeValue()

public int getVirtualizationTypeValue()

The virtualization type.

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

Returns
Type Description
int

The enum numeric value on the wire for virtualizationType.

getVmId()

public String getVmId()

The VM ID in AWS.

string vm_id = 1;

Returns
Type Description
String

The vmId.

getVmIdBytes()

public ByteString getVmIdBytes()

The VM ID in AWS.

string vm_id = 1;

Returns
Type Description
ByteString

The bytes for vmId.

getVpcId()

public String getVpcId()

The VPC ID the VM belongs to.

string vpc_id = 13;

Returns
Type Description
String

The vpcId.

getVpcIdBytes()

public ByteString getVpcIdBytes()

The VPC ID the VM belongs to.

string vpc_id = 13;

Returns
Type Description
ByteString

The bytes for vpcId.

getZone()

public String getZone()

The AWS zone of the VM.

string zone = 16;

Returns
Type Description
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

The AWS zone of the VM.

string zone = 16;

Returns
Type Description
ByteString

The bytes for zone.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AwsVmDetails other)

public AwsVmDetails.Builder mergeFrom(AwsVmDetails other)
Parameter
Name Description
other AwsVmDetails
Returns
Type Description
AwsVmDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AwsVmDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsVmDetails.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AwsVmDetails.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AwsVmDetails.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsVmDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
values Map<String,String>
Returns
Type Description
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
Name Description
key String
value String
Returns
Type Description
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
Name Description
index int
Returns
Type Description
AwsVmDetails.Builder

removeTags(String key)

public AwsVmDetails.Builder removeTags(String key)

The tags of the VM.

map<string, string> tags = 15;

Parameter
Name Description
key String
Returns
Type Description
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
Name Description
value AwsVmDetails.VmArchitecture

The architecture to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
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
Name Description
value AwsVmDetails.BootOption

The bootOption to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
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
Name Description
value long

The committedStorageMb to set.

Returns
Type Description
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
Name Description
value int

The cpuCount to set.

Returns
Type Description
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
Name Description
value int

The diskCount to set.

Returns
Type Description
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
Name Description
value String

The displayName to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
AwsVmDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AwsVmDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AwsVmDetails.Builder
Overrides

setInstanceType(String value)

public AwsVmDetails.Builder setInstanceType(String value)

The instance type of the VM.

string instance_type = 12;

Parameter
Name Description
value String

The instanceType to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for instanceType to set.

Returns
Type Description
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
Name Description
value int

The memoryMb to set.

Returns
Type Description
AwsVmDetails.Builder

This builder for chaining.

setOsDescription(String value)

public AwsVmDetails.Builder setOsDescription(String value)

The VM's OS.

string os_description = 10;

Parameter
Name Description
value String

The osDescription to set.

Returns
Type Description
AwsVmDetails.Builder

This builder for chaining.

setOsDescriptionBytes(ByteString value)

public AwsVmDetails.Builder setOsDescriptionBytes(ByteString value)

The VM's OS.

string os_description = 10;

Parameter
Name Description
value ByteString

The bytes for osDescription to set.

Returns
Type Description
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
Name Description
value AwsVmDetails.PowerState

The powerState to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
index int
value AwsSecurityGroup
Returns
Type Description
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
Name Description
index int
builderForValue AwsSecurityGroup.Builder
Returns
Type Description
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
Name Description
value String

The sourceDescription to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for sourceDescription to set.

Returns
Type Description
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
Name Description
value String

The sourceId to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for sourceId to set.

Returns
Type Description
AwsVmDetails.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsVmDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value AwsVmDetails.VmVirtualizationType

The virtualizationType to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
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
Name Description
value String

The vmId to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for vmId to set.

Returns
Type Description
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
Name Description
value String

The vpcId to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for vpcId to set.

Returns
Type Description
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
Name Description
value String

The zone to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for zone to set.

Returns
Type Description
AwsVmDetails.Builder

This builder for chaining.