Class Rating

public final class Rating extends GeneratedMessageV3 implements RatingOrBuilder

The details of the score received for an assessment or interview.

Protobuf type google.cloud.talent.v4beta1.Rating

Implements

RatingOrBuilder

Static Fields

INTERVAL_FIELD_NUMBER

public static final int INTERVAL_FIELD_NUMBER
Field Value
TypeDescription
int

MAX_FIELD_NUMBER

public static final int MAX_FIELD_NUMBER
Field Value
TypeDescription
int

MIN_FIELD_NUMBER

public static final int MIN_FIELD_NUMBER
Field Value
TypeDescription
int

OVERALL_FIELD_NUMBER

public static final int OVERALL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Rating getDefaultInstance()
Returns
TypeDescription
Rating

getDescriptor()

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

newBuilder()

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

newBuilder(Rating prototype)

public static Rating.Builder newBuilder(Rating prototype)
Parameter
NameDescription
prototypeRating
Returns
TypeDescription
Rating.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Rating getDefaultInstanceForType()
Returns
TypeDescription
Rating

getInterval()

public double getInterval()

The steps within the score (for example, interval = 1 max = 5 min = 1 indicates that the score can be 1, 2, 3, 4, or 5)

double interval = 4;

Returns
TypeDescription
double

The interval.

getMax()

public double getMax()

The maximum value for the score.

double max = 3;

Returns
TypeDescription
double

The max.

getMin()

public double getMin()

The minimum value for the score.

double min = 2;

Returns
TypeDescription
double

The min.

getOverall()

public double getOverall()

Overall score.

double overall = 1;

Returns
TypeDescription
double

The overall.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 Rating.Builder newBuilderForType()
Returns
TypeDescription
Rating.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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