Class FitDescriptor (0.17.0)

public final class FitDescriptor extends GeneratedMessageV3 implements FitDescriptorOrBuilder

Describes the fit level of an asset for migration to a specific target.

Protobuf type google.cloud.migrationcenter.v1.FitDescriptor

Static Fields

FIT_LEVEL_FIELD_NUMBER

public static final int FIT_LEVEL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static FitDescriptor getDefaultInstance()
Returns
TypeDescription
FitDescriptor

getDescriptor()

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

newBuilder()

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

newBuilder(FitDescriptor prototype)

public static FitDescriptor.Builder newBuilder(FitDescriptor prototype)
Parameter
NameDescription
prototypeFitDescriptor
Returns
TypeDescription
FitDescriptor.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public FitDescriptor getDefaultInstanceForType()
Returns
TypeDescription
FitDescriptor

getFitLevel()

public FitDescriptor.FitLevel getFitLevel()

Fit level.

.google.cloud.migrationcenter.v1.FitDescriptor.FitLevel fit_level = 1;

Returns
TypeDescription
FitDescriptor.FitLevel

The fitLevel.

getFitLevelValue()

public int getFitLevelValue()

Fit level.

.google.cloud.migrationcenter.v1.FitDescriptor.FitLevel fit_level = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for fitLevel.

getParserForType()

public Parser<FitDescriptor> getParserForType()
Returns
TypeDescription
Parser<FitDescriptor>
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 FitDescriptor.Builder newBuilderForType()
Returns
TypeDescription
FitDescriptor.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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