Class PlatformDetails.Builder (0.1.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PlatformDetails build()
Returns
TypeDescription
PlatformDetails

buildPartial()

public PlatformDetails buildPartial()
Returns
TypeDescription
PlatformDetails

clear()

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

clearAwsEc2Details()

public PlatformDetails.Builder clearAwsEc2Details()

AWS EC2 specific details.

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

Returns
TypeDescription
PlatformDetails.Builder

clearAzureVmDetails()

public PlatformDetails.Builder clearAzureVmDetails()

Azure VM specific details.

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

Returns
TypeDescription
PlatformDetails.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearGenericDetails()

public PlatformDetails.Builder clearGenericDetails()

Generic platform details.

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

Returns
TypeDescription
PlatformDetails.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPhysicalDetails()

public PlatformDetails.Builder clearPhysicalDetails()

Physical machines platform details.

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

Returns
TypeDescription
PlatformDetails.Builder

clearVendorDetails()

public PlatformDetails.Builder clearVendorDetails()
Returns
TypeDescription
PlatformDetails.Builder

clearVmwareDetails()

public PlatformDetails.Builder clearVmwareDetails()

VMware specific details.

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

Returns
TypeDescription
PlatformDetails.Builder

clone()

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

getAwsEc2Details()

public AwsEc2PlatformDetails getAwsEc2Details()

AWS EC2 specific details.

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

Returns
TypeDescription
AwsEc2PlatformDetails

The awsEc2Details.

getAwsEc2DetailsBuilder()

public AwsEc2PlatformDetails.Builder getAwsEc2DetailsBuilder()

AWS EC2 specific details.

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

Returns
TypeDescription
AwsEc2PlatformDetails.Builder

getAwsEc2DetailsOrBuilder()

public AwsEc2PlatformDetailsOrBuilder getAwsEc2DetailsOrBuilder()

AWS EC2 specific details.

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

Returns
TypeDescription
AwsEc2PlatformDetailsOrBuilder

getAzureVmDetails()

public AzureVmPlatformDetails getAzureVmDetails()

Azure VM specific details.

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

Returns
TypeDescription
AzureVmPlatformDetails

The azureVmDetails.

getAzureVmDetailsBuilder()

public AzureVmPlatformDetails.Builder getAzureVmDetailsBuilder()

Azure VM specific details.

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

Returns
TypeDescription
AzureVmPlatformDetails.Builder

getAzureVmDetailsOrBuilder()

public AzureVmPlatformDetailsOrBuilder getAzureVmDetailsOrBuilder()

Azure VM specific details.

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

Returns
TypeDescription
AzureVmPlatformDetailsOrBuilder

getDefaultInstanceForType()

public PlatformDetails getDefaultInstanceForType()
Returns
TypeDescription
PlatformDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGenericDetails()

public GenericPlatformDetails getGenericDetails()

Generic platform details.

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

Returns
TypeDescription
GenericPlatformDetails

The genericDetails.

getGenericDetailsBuilder()

public GenericPlatformDetails.Builder getGenericDetailsBuilder()

Generic platform details.

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

Returns
TypeDescription
GenericPlatformDetails.Builder

getGenericDetailsOrBuilder()

public GenericPlatformDetailsOrBuilder getGenericDetailsOrBuilder()

Generic platform details.

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

Returns
TypeDescription
GenericPlatformDetailsOrBuilder

getPhysicalDetails()

public PhysicalPlatformDetails getPhysicalDetails()

Physical machines platform details.

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

Returns
TypeDescription
PhysicalPlatformDetails

The physicalDetails.

getPhysicalDetailsBuilder()

public PhysicalPlatformDetails.Builder getPhysicalDetailsBuilder()

Physical machines platform details.

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

Returns
TypeDescription
PhysicalPlatformDetails.Builder

getPhysicalDetailsOrBuilder()

public PhysicalPlatformDetailsOrBuilder getPhysicalDetailsOrBuilder()

Physical machines platform details.

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

Returns
TypeDescription
PhysicalPlatformDetailsOrBuilder

getVendorDetailsCase()

public PlatformDetails.VendorDetailsCase getVendorDetailsCase()
Returns
TypeDescription
PlatformDetails.VendorDetailsCase

getVmwareDetails()

public VmwarePlatformDetails getVmwareDetails()

VMware specific details.

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

Returns
TypeDescription
VmwarePlatformDetails

The vmwareDetails.

getVmwareDetailsBuilder()

public VmwarePlatformDetails.Builder getVmwareDetailsBuilder()

VMware specific details.

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

Returns
TypeDescription
VmwarePlatformDetails.Builder

getVmwareDetailsOrBuilder()

public VmwarePlatformDetailsOrBuilder getVmwareDetailsOrBuilder()

VMware specific details.

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

Returns
TypeDescription
VmwarePlatformDetailsOrBuilder

hasAwsEc2Details()

public boolean hasAwsEc2Details()

AWS EC2 specific details.

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

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

Whether the azureVmDetails field is set.

hasGenericDetails()

public boolean hasGenericDetails()

Generic platform details.

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

Returns
TypeDescription
boolean

Whether the genericDetails field is set.

hasPhysicalDetails()

public boolean hasPhysicalDetails()

Physical machines platform details.

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

Returns
TypeDescription
boolean

Whether the physicalDetails field is set.

hasVmwareDetails()

public boolean hasVmwareDetails()

VMware specific details.

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

Returns
TypeDescription
boolean

Whether the vmwareDetails field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAwsEc2PlatformDetails
Returns
TypeDescription
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
NameDescription
valueAzureVmPlatformDetails
Returns
TypeDescription
PlatformDetails.Builder

mergeFrom(PlatformDetails other)

public PlatformDetails.Builder mergeFrom(PlatformDetails other)
Parameter
NameDescription
otherPlatformDetails
Returns
TypeDescription
PlatformDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGenericDetails(GenericPlatformDetails value)

public PlatformDetails.Builder mergeGenericDetails(GenericPlatformDetails value)

Generic platform details.

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

Parameter
NameDescription
valueGenericPlatformDetails
Returns
TypeDescription
PlatformDetails.Builder

mergePhysicalDetails(PhysicalPlatformDetails value)

public PlatformDetails.Builder mergePhysicalDetails(PhysicalPlatformDetails value)

Physical machines platform details.

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

Parameter
NameDescription
valuePhysicalPlatformDetails
Returns
TypeDescription
PlatformDetails.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeVmwareDetails(VmwarePlatformDetails value)

public PlatformDetails.Builder mergeVmwareDetails(VmwarePlatformDetails value)

VMware specific details.

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

Parameter
NameDescription
valueVmwarePlatformDetails
Returns
TypeDescription
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
NameDescription
valueAwsEc2PlatformDetails
Returns
TypeDescription
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
NameDescription
builderForValueAwsEc2PlatformDetails.Builder
Returns
TypeDescription
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
NameDescription
valueAzureVmPlatformDetails
Returns
TypeDescription
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
NameDescription
builderForValueAzureVmPlatformDetails.Builder
Returns
TypeDescription
PlatformDetails.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setGenericDetails(GenericPlatformDetails value)

public PlatformDetails.Builder setGenericDetails(GenericPlatformDetails value)

Generic platform details.

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

Parameter
NameDescription
valueGenericPlatformDetails
Returns
TypeDescription
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
NameDescription
builderForValueGenericPlatformDetails.Builder
Returns
TypeDescription
PlatformDetails.Builder

setPhysicalDetails(PhysicalPlatformDetails value)

public PlatformDetails.Builder setPhysicalDetails(PhysicalPlatformDetails value)

Physical machines platform details.

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

Parameter
NameDescription
valuePhysicalPlatformDetails
Returns
TypeDescription
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
NameDescription
builderForValuePhysicalPlatformDetails.Builder
Returns
TypeDescription
PlatformDetails.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVmwareDetails(VmwarePlatformDetails value)

public PlatformDetails.Builder setVmwareDetails(VmwarePlatformDetails value)

VMware specific details.

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

Parameter
NameDescription
valueVmwarePlatformDetails
Returns
TypeDescription
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
NameDescription
builderForValueVmwarePlatformDetails.Builder
Returns
TypeDescription
PlatformDetails.Builder