Class GenericPlatformDetails (0.18.0)

public final class GenericPlatformDetails extends GeneratedMessageV3 implements GenericPlatformDetailsOrBuilder

Generic platform details.

Protobuf type google.cloud.migrationcenter.v1.GenericPlatformDetails

Static Fields

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GenericPlatformDetails getDefaultInstance()
Returns
TypeDescription
GenericPlatformDetails

getDescriptor()

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

newBuilder()

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

newBuilder(GenericPlatformDetails prototype)

public static GenericPlatformDetails.Builder newBuilder(GenericPlatformDetails prototype)
Parameter
NameDescription
prototypeGenericPlatformDetails
Returns
TypeDescription
GenericPlatformDetails.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public GenericPlatformDetails getDefaultInstanceForType()
Returns
TypeDescription
GenericPlatformDetails

getLocation()

public String getLocation()

Free text representation of the machine location. The format of this field should not be relied on. Different VMs in the same location may have different string values for this field.

string location = 1;

Returns
TypeDescription
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Free text representation of the machine location. The format of this field should not be relied on. Different VMs in the same location may have different string values for this field.

string location = 1;

Returns
TypeDescription
ByteString

The bytes for location.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 GenericPlatformDetails.Builder newBuilderForType()
Returns
TypeDescription
GenericPlatformDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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