Class AwsVmsDetails.Builder (1.45.0)

public static final class AwsVmsDetails.Builder extends GeneratedMessageV3.Builder<AwsVmsDetails.Builder> implements AwsVmsDetailsOrBuilder

AWSVmsDetails describes VMs in AWS.

Protobuf type google.cloud.vmmigration.v1.AwsVmsDetails

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDetails(Iterable<? extends AwsVmDetails> values)

public AwsVmsDetails.Builder addAllDetails(Iterable<? extends AwsVmDetails> values)

The details of the AWS VMs.

repeated .google.cloud.vmmigration.v1.AwsVmDetails details = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.vmmigration.v1.AwsVmDetails>
Returns
Type Description
AwsVmsDetails.Builder

addDetails(AwsVmDetails value)

public AwsVmsDetails.Builder addDetails(AwsVmDetails value)

The details of the AWS VMs.

repeated .google.cloud.vmmigration.v1.AwsVmDetails details = 1;

Parameter
Name Description
value AwsVmDetails
Returns
Type Description
AwsVmsDetails.Builder

addDetails(AwsVmDetails.Builder builderForValue)

public AwsVmsDetails.Builder addDetails(AwsVmDetails.Builder builderForValue)

The details of the AWS VMs.

repeated .google.cloud.vmmigration.v1.AwsVmDetails details = 1;

Parameter
Name Description
builderForValue AwsVmDetails.Builder
Returns
Type Description
AwsVmsDetails.Builder

addDetails(int index, AwsVmDetails value)

public AwsVmsDetails.Builder addDetails(int index, AwsVmDetails value)

The details of the AWS VMs.

repeated .google.cloud.vmmigration.v1.AwsVmDetails details = 1;

Parameters
Name Description
index int
value AwsVmDetails
Returns
Type Description
AwsVmsDetails.Builder

addDetails(int index, AwsVmDetails.Builder builderForValue)

public AwsVmsDetails.Builder addDetails(int index, AwsVmDetails.Builder builderForValue)

The details of the AWS VMs.

repeated .google.cloud.vmmigration.v1.AwsVmDetails details = 1;

Parameters
Name Description
index int
builderForValue AwsVmDetails.Builder
Returns
Type Description
AwsVmsDetails.Builder

addDetailsBuilder()

public AwsVmDetails.Builder addDetailsBuilder()

The details of the AWS VMs.

repeated .google.cloud.vmmigration.v1.AwsVmDetails details = 1;

Returns
Type Description
AwsVmDetails.Builder

addDetailsBuilder(int index)

public AwsVmDetails.Builder addDetailsBuilder(int index)

The details of the AWS VMs.

repeated .google.cloud.vmmigration.v1.AwsVmDetails details = 1;

Parameter
Name Description
index int
Returns
Type Description
AwsVmDetails.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AwsVmsDetails build()
Returns
Type Description
AwsVmsDetails

buildPartial()

public AwsVmsDetails buildPartial()
Returns
Type Description
AwsVmsDetails

clear()

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

clearDetails()

public AwsVmsDetails.Builder clearDetails()

The details of the AWS VMs.

repeated .google.cloud.vmmigration.v1.AwsVmDetails details = 1;

Returns
Type Description
AwsVmsDetails.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AwsVmsDetails getDefaultInstanceForType()
Returns
Type Description
AwsVmsDetails

getDescriptorForType()

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

getDetails(int index)

public AwsVmDetails getDetails(int index)

The details of the AWS VMs.

repeated .google.cloud.vmmigration.v1.AwsVmDetails details = 1;

Parameter
Name Description
index int
Returns
Type Description
AwsVmDetails

getDetailsBuilder(int index)

public AwsVmDetails.Builder getDetailsBuilder(int index)

The details of the AWS VMs.

repeated .google.cloud.vmmigration.v1.AwsVmDetails details = 1;

Parameter
Name Description
index int
Returns
Type Description
AwsVmDetails.Builder

getDetailsBuilderList()

public List<AwsVmDetails.Builder> getDetailsBuilderList()

The details of the AWS VMs.

repeated .google.cloud.vmmigration.v1.AwsVmDetails details = 1;

Returns
Type Description
List<Builder>

getDetailsCount()

public int getDetailsCount()

The details of the AWS VMs.

repeated .google.cloud.vmmigration.v1.AwsVmDetails details = 1;

Returns
Type Description
int

getDetailsList()

public List<AwsVmDetails> getDetailsList()

The details of the AWS VMs.

repeated .google.cloud.vmmigration.v1.AwsVmDetails details = 1;

Returns
Type Description
List<AwsVmDetails>

getDetailsOrBuilder(int index)

public AwsVmDetailsOrBuilder getDetailsOrBuilder(int index)

The details of the AWS VMs.

repeated .google.cloud.vmmigration.v1.AwsVmDetails details = 1;

Parameter
Name Description
index int
Returns
Type Description
AwsVmDetailsOrBuilder

getDetailsOrBuilderList()

public List<? extends AwsVmDetailsOrBuilder> getDetailsOrBuilderList()

The details of the AWS VMs.

repeated .google.cloud.vmmigration.v1.AwsVmDetails details = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AwsVmsDetails other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsVmsDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AwsVmsDetails.Builder
Overrides

removeDetails(int index)

public AwsVmsDetails.Builder removeDetails(int index)

The details of the AWS VMs.

repeated .google.cloud.vmmigration.v1.AwsVmDetails details = 1;

Parameter
Name Description
index int
Returns
Type Description
AwsVmsDetails.Builder

setDetails(int index, AwsVmDetails value)

public AwsVmsDetails.Builder setDetails(int index, AwsVmDetails value)

The details of the AWS VMs.

repeated .google.cloud.vmmigration.v1.AwsVmDetails details = 1;

Parameters
Name Description
index int
value AwsVmDetails
Returns
Type Description
AwsVmsDetails.Builder

setDetails(int index, AwsVmDetails.Builder builderForValue)

public AwsVmsDetails.Builder setDetails(int index, AwsVmDetails.Builder builderForValue)

The details of the AWS VMs.

repeated .google.cloud.vmmigration.v1.AwsVmDetails details = 1;

Parameters
Name Description
index int
builderForValue AwsVmDetails.Builder
Returns
Type Description
AwsVmsDetails.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public AwsVmsDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AwsVmsDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsVmsDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AwsVmsDetails.Builder
Overrides