Class PlatformDetails.Builder (0.26.0)

public static final class PlatformDetails.Builder extends GeneratedMessageV3.Builder<PlatformDetails.Builder> implements PlatformDetailsOrBuilder

Information about the platform.

Protobuf type google.cloud.migrationcenter.v1.PlatformDetails

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PlatformDetails build()
Returns
Type Description
PlatformDetails

buildPartial()

public PlatformDetails buildPartial()
Returns
Type Description
PlatformDetails

clear()

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

clearAwsEc2Details()

public PlatformDetails.Builder clearAwsEc2Details()

AWS EC2 specific details.

.google.cloud.migrationcenter.v1.AwsEc2PlatformDetails aws_ec2_details = 2;

Returns
Type Description
PlatformDetails.Builder

clearAzureVmDetails()

public PlatformDetails.Builder clearAzureVmDetails()

Azure VM specific details.

.google.cloud.migrationcenter.v1.AzureVmPlatformDetails azure_vm_details = 3;

Returns
Type Description
PlatformDetails.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearGenericDetails()

public PlatformDetails.Builder clearGenericDetails()

Generic platform details.

.google.cloud.migrationcenter.v1.GenericPlatformDetails generic_details = 4;

Returns
Type Description
PlatformDetails.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPhysicalDetails()

public PlatformDetails.Builder clearPhysicalDetails()

Physical machines platform details.

.google.cloud.migrationcenter.v1.PhysicalPlatformDetails physical_details = 5;

Returns
Type Description
PlatformDetails.Builder

clearVendorDetails()

public PlatformDetails.Builder clearVendorDetails()
Returns
Type Description
PlatformDetails.Builder

clearVmwareDetails()

public PlatformDetails.Builder clearVmwareDetails()

VMware specific details.

.google.cloud.migrationcenter.v1.VmwarePlatformDetails vmware_details = 1;

Returns
Type Description
PlatformDetails.Builder

clone()

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

getAwsEc2Details()

public AwsEc2PlatformDetails getAwsEc2Details()

AWS EC2 specific details.

.google.cloud.migrationcenter.v1.AwsEc2PlatformDetails aws_ec2_details = 2;

Returns
Type Description
AwsEc2PlatformDetails

The awsEc2Details.

getAwsEc2DetailsBuilder()

public AwsEc2PlatformDetails.Builder getAwsEc2DetailsBuilder()

AWS EC2 specific details.

.google.cloud.migrationcenter.v1.AwsEc2PlatformDetails aws_ec2_details = 2;

Returns
Type Description
AwsEc2PlatformDetails.Builder

getAwsEc2DetailsOrBuilder()

public AwsEc2PlatformDetailsOrBuilder getAwsEc2DetailsOrBuilder()

AWS EC2 specific details.

.google.cloud.migrationcenter.v1.AwsEc2PlatformDetails aws_ec2_details = 2;

Returns
Type Description
AwsEc2PlatformDetailsOrBuilder

getAzureVmDetails()

public AzureVmPlatformDetails getAzureVmDetails()

Azure VM specific details.

.google.cloud.migrationcenter.v1.AzureVmPlatformDetails azure_vm_details = 3;

Returns
Type Description
AzureVmPlatformDetails

The azureVmDetails.

getAzureVmDetailsBuilder()

public AzureVmPlatformDetails.Builder getAzureVmDetailsBuilder()

Azure VM specific details.

.google.cloud.migrationcenter.v1.AzureVmPlatformDetails azure_vm_details = 3;

Returns
Type Description
AzureVmPlatformDetails.Builder

getAzureVmDetailsOrBuilder()

public AzureVmPlatformDetailsOrBuilder getAzureVmDetailsOrBuilder()

Azure VM specific details.

.google.cloud.migrationcenter.v1.AzureVmPlatformDetails azure_vm_details = 3;

Returns
Type Description
AzureVmPlatformDetailsOrBuilder

getDefaultInstanceForType()

public PlatformDetails getDefaultInstanceForType()
Returns
Type Description
PlatformDetails

getDescriptorForType()

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

getGenericDetails()

public GenericPlatformDetails getGenericDetails()

Generic platform details.

.google.cloud.migrationcenter.v1.GenericPlatformDetails generic_details = 4;

Returns
Type Description
GenericPlatformDetails

The genericDetails.

getGenericDetailsBuilder()

public GenericPlatformDetails.Builder getGenericDetailsBuilder()

Generic platform details.

.google.cloud.migrationcenter.v1.GenericPlatformDetails generic_details = 4;

Returns
Type Description
GenericPlatformDetails.Builder

getGenericDetailsOrBuilder()

public GenericPlatformDetailsOrBuilder getGenericDetailsOrBuilder()

Generic platform details.

.google.cloud.migrationcenter.v1.GenericPlatformDetails generic_details = 4;

Returns
Type Description
GenericPlatformDetailsOrBuilder

getPhysicalDetails()

public PhysicalPlatformDetails getPhysicalDetails()

Physical machines platform details.

.google.cloud.migrationcenter.v1.PhysicalPlatformDetails physical_details = 5;

Returns
Type Description
PhysicalPlatformDetails

The physicalDetails.

getPhysicalDetailsBuilder()

public PhysicalPlatformDetails.Builder getPhysicalDetailsBuilder()

Physical machines platform details.

.google.cloud.migrationcenter.v1.PhysicalPlatformDetails physical_details = 5;

Returns
Type Description
PhysicalPlatformDetails.Builder

getPhysicalDetailsOrBuilder()

public PhysicalPlatformDetailsOrBuilder getPhysicalDetailsOrBuilder()

Physical machines platform details.

.google.cloud.migrationcenter.v1.PhysicalPlatformDetails physical_details = 5;

Returns
Type Description
PhysicalPlatformDetailsOrBuilder

getVendorDetailsCase()

public PlatformDetails.VendorDetailsCase getVendorDetailsCase()
Returns
Type Description
PlatformDetails.VendorDetailsCase

getVmwareDetails()

public VmwarePlatformDetails getVmwareDetails()

VMware specific details.

.google.cloud.migrationcenter.v1.VmwarePlatformDetails vmware_details = 1;

Returns
Type Description
VmwarePlatformDetails

The vmwareDetails.

getVmwareDetailsBuilder()

public VmwarePlatformDetails.Builder getVmwareDetailsBuilder()

VMware specific details.

.google.cloud.migrationcenter.v1.VmwarePlatformDetails vmware_details = 1;

Returns
Type Description
VmwarePlatformDetails.Builder

getVmwareDetailsOrBuilder()

public VmwarePlatformDetailsOrBuilder getVmwareDetailsOrBuilder()

VMware specific details.

.google.cloud.migrationcenter.v1.VmwarePlatformDetails vmware_details = 1;

Returns
Type Description
VmwarePlatformDetailsOrBuilder

hasAwsEc2Details()

public boolean hasAwsEc2Details()

AWS EC2 specific details.

.google.cloud.migrationcenter.v1.AwsEc2PlatformDetails aws_ec2_details = 2;

Returns
Type Description
boolean

Whether the awsEc2Details field is set.

hasAzureVmDetails()

public boolean hasAzureVmDetails()

Azure VM specific details.

.google.cloud.migrationcenter.v1.AzureVmPlatformDetails azure_vm_details = 3;

Returns
Type Description
boolean

Whether the azureVmDetails field is set.

hasGenericDetails()

public boolean hasGenericDetails()

Generic platform details.

.google.cloud.migrationcenter.v1.GenericPlatformDetails generic_details = 4;

Returns
Type Description
boolean

Whether the genericDetails field is set.

hasPhysicalDetails()

public boolean hasPhysicalDetails()

Physical machines platform details.

.google.cloud.migrationcenter.v1.PhysicalPlatformDetails physical_details = 5;

Returns
Type Description
boolean

Whether the physicalDetails field is set.

hasVmwareDetails()

public boolean hasVmwareDetails()

VMware specific details.

.google.cloud.migrationcenter.v1.VmwarePlatformDetails vmware_details = 1;

Returns
Type Description
boolean

Whether the vmwareDetails field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAwsEc2Details(AwsEc2PlatformDetails value)

public PlatformDetails.Builder mergeAwsEc2Details(AwsEc2PlatformDetails value)

AWS EC2 specific details.

.google.cloud.migrationcenter.v1.AwsEc2PlatformDetails aws_ec2_details = 2;

Parameter
Name Description
value AwsEc2PlatformDetails
Returns
Type Description
PlatformDetails.Builder

mergeAzureVmDetails(AzureVmPlatformDetails value)

public PlatformDetails.Builder mergeAzureVmDetails(AzureVmPlatformDetails value)

Azure VM specific details.

.google.cloud.migrationcenter.v1.AzureVmPlatformDetails azure_vm_details = 3;

Parameter
Name Description
value AzureVmPlatformDetails
Returns
Type Description
PlatformDetails.Builder

mergeFrom(PlatformDetails other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGenericDetails(GenericPlatformDetails value)

public PlatformDetails.Builder mergeGenericDetails(GenericPlatformDetails value)

Generic platform details.

.google.cloud.migrationcenter.v1.GenericPlatformDetails generic_details = 4;

Parameter
Name Description
value GenericPlatformDetails
Returns
Type Description
PlatformDetails.Builder

mergePhysicalDetails(PhysicalPlatformDetails value)

public PlatformDetails.Builder mergePhysicalDetails(PhysicalPlatformDetails value)

Physical machines platform details.

.google.cloud.migrationcenter.v1.PhysicalPlatformDetails physical_details = 5;

Parameter
Name Description
value PhysicalPlatformDetails
Returns
Type Description
PlatformDetails.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeVmwareDetails(VmwarePlatformDetails value)

public PlatformDetails.Builder mergeVmwareDetails(VmwarePlatformDetails value)

VMware specific details.

.google.cloud.migrationcenter.v1.VmwarePlatformDetails vmware_details = 1;

Parameter
Name Description
value VmwarePlatformDetails
Returns
Type Description
PlatformDetails.Builder

setAwsEc2Details(AwsEc2PlatformDetails value)

public PlatformDetails.Builder setAwsEc2Details(AwsEc2PlatformDetails value)

AWS EC2 specific details.

.google.cloud.migrationcenter.v1.AwsEc2PlatformDetails aws_ec2_details = 2;

Parameter
Name Description
value AwsEc2PlatformDetails
Returns
Type Description
PlatformDetails.Builder

setAwsEc2Details(AwsEc2PlatformDetails.Builder builderForValue)

public PlatformDetails.Builder setAwsEc2Details(AwsEc2PlatformDetails.Builder builderForValue)

AWS EC2 specific details.

.google.cloud.migrationcenter.v1.AwsEc2PlatformDetails aws_ec2_details = 2;

Parameter
Name Description
builderForValue AwsEc2PlatformDetails.Builder
Returns
Type Description
PlatformDetails.Builder

setAzureVmDetails(AzureVmPlatformDetails value)

public PlatformDetails.Builder setAzureVmDetails(AzureVmPlatformDetails value)

Azure VM specific details.

.google.cloud.migrationcenter.v1.AzureVmPlatformDetails azure_vm_details = 3;

Parameter
Name Description
value AzureVmPlatformDetails
Returns
Type Description
PlatformDetails.Builder

setAzureVmDetails(AzureVmPlatformDetails.Builder builderForValue)

public PlatformDetails.Builder setAzureVmDetails(AzureVmPlatformDetails.Builder builderForValue)

Azure VM specific details.

.google.cloud.migrationcenter.v1.AzureVmPlatformDetails azure_vm_details = 3;

Parameter
Name Description
builderForValue AzureVmPlatformDetails.Builder
Returns
Type Description
PlatformDetails.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setGenericDetails(GenericPlatformDetails value)

public PlatformDetails.Builder setGenericDetails(GenericPlatformDetails value)

Generic platform details.

.google.cloud.migrationcenter.v1.GenericPlatformDetails generic_details = 4;

Parameter
Name Description
value GenericPlatformDetails
Returns
Type Description
PlatformDetails.Builder

setGenericDetails(GenericPlatformDetails.Builder builderForValue)

public PlatformDetails.Builder setGenericDetails(GenericPlatformDetails.Builder builderForValue)

Generic platform details.

.google.cloud.migrationcenter.v1.GenericPlatformDetails generic_details = 4;

Parameter
Name Description
builderForValue GenericPlatformDetails.Builder
Returns
Type Description
PlatformDetails.Builder

setPhysicalDetails(PhysicalPlatformDetails value)

public PlatformDetails.Builder setPhysicalDetails(PhysicalPlatformDetails value)

Physical machines platform details.

.google.cloud.migrationcenter.v1.PhysicalPlatformDetails physical_details = 5;

Parameter
Name Description
value PhysicalPlatformDetails
Returns
Type Description
PlatformDetails.Builder

setPhysicalDetails(PhysicalPlatformDetails.Builder builderForValue)

public PlatformDetails.Builder setPhysicalDetails(PhysicalPlatformDetails.Builder builderForValue)

Physical machines platform details.

.google.cloud.migrationcenter.v1.PhysicalPlatformDetails physical_details = 5;

Parameter
Name Description
builderForValue PhysicalPlatformDetails.Builder
Returns
Type Description
PlatformDetails.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVmwareDetails(VmwarePlatformDetails value)

public PlatformDetails.Builder setVmwareDetails(VmwarePlatformDetails value)

VMware specific details.

.google.cloud.migrationcenter.v1.VmwarePlatformDetails vmware_details = 1;

Parameter
Name Description
value VmwarePlatformDetails
Returns
Type Description
PlatformDetails.Builder

setVmwareDetails(VmwarePlatformDetails.Builder builderForValue)

public PlatformDetails.Builder setVmwareDetails(VmwarePlatformDetails.Builder builderForValue)

VMware specific details.

.google.cloud.migrationcenter.v1.VmwarePlatformDetails vmware_details = 1;

Parameter
Name Description
builderForValue VmwarePlatformDetails.Builder
Returns
Type Description
PlatformDetails.Builder