Class PlatformDetails (0.16.0)

public final class PlatformDetails extends GeneratedMessageV3 implements PlatformDetailsOrBuilder

Information about the platform.

Protobuf type google.cloud.migrationcenter.v1.PlatformDetails

Static Fields

AWS_EC2_DETAILS_FIELD_NUMBER

public static final int AWS_EC2_DETAILS_FIELD_NUMBER
Field Value
TypeDescription
int

AZURE_VM_DETAILS_FIELD_NUMBER

public static final int AZURE_VM_DETAILS_FIELD_NUMBER
Field Value
TypeDescription
int

GENERIC_DETAILS_FIELD_NUMBER

public static final int GENERIC_DETAILS_FIELD_NUMBER
Field Value
TypeDescription
int

PHYSICAL_DETAILS_FIELD_NUMBER

public static final int PHYSICAL_DETAILS_FIELD_NUMBER
Field Value
TypeDescription
int

VMWARE_DETAILS_FIELD_NUMBER

public static final int VMWARE_DETAILS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PlatformDetails getDefaultInstance()
Returns
TypeDescription
PlatformDetails

getDescriptor()

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

newBuilder()

public static PlatformDetails.Builder newBuilder()
Returns
TypeDescription
PlatformDetails.Builder

newBuilder(PlatformDetails prototype)

public static PlatformDetails.Builder newBuilder(PlatformDetails prototype)
Parameter
NameDescription
prototypePlatformDetails
Returns
TypeDescription
PlatformDetails.Builder

parseDelimitedFrom(InputStream input)

public static PlatformDetails parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PlatformDetails
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PlatformDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PlatformDetails
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PlatformDetails parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PlatformDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PlatformDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PlatformDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PlatformDetails parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PlatformDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PlatformDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PlatformDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PlatformDetails parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PlatformDetails
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PlatformDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PlatformDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PlatformDetails parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PlatformDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PlatformDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PlatformDetails
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PlatformDetails parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PlatformDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PlatformDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PlatformDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PlatformDetails> parser()
Returns
TypeDescription
Parser<PlatformDetails>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAwsEc2Details()

public AwsEc2PlatformDetails getAwsEc2Details()

AWS EC2 specific details.

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

Returns
TypeDescription
AwsEc2PlatformDetails

The awsEc2Details.

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.

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

getGenericDetails()

public GenericPlatformDetails getGenericDetails()

Generic platform details.

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

Returns
TypeDescription
GenericPlatformDetails

The genericDetails.

getGenericDetailsOrBuilder()

public GenericPlatformDetailsOrBuilder getGenericDetailsOrBuilder()

Generic platform details.

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

Returns
TypeDescription
GenericPlatformDetailsOrBuilder

getParserForType()

public Parser<PlatformDetails> getParserForType()
Returns
TypeDescription
Parser<PlatformDetails>
Overrides

getPhysicalDetails()

public PhysicalPlatformDetails getPhysicalDetails()

Physical machines platform details.

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

Returns
TypeDescription
PhysicalPlatformDetails

The physicalDetails.

getPhysicalDetailsOrBuilder()

public PhysicalPlatformDetailsOrBuilder getPhysicalDetailsOrBuilder()

Physical machines platform details.

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

Returns
TypeDescription
PhysicalPlatformDetailsOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PlatformDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PlatformDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException