Class Rating.Builder

public static final class Rating.Builder extends GeneratedMessageV3.Builder<Rating.Builder> implements RatingOrBuilder

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

Protobuf type google.cloud.talent.v4beta1.Rating

Implements

RatingOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Rating build()
Returns
TypeDescription
Rating

buildPartial()

public Rating buildPartial()
Returns
TypeDescription
Rating

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInterval()

public Rating.Builder clearInterval()

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
Rating.Builder

This builder for chaining.

clearMax()

public Rating.Builder clearMax()

The maximum value for the score.

double max = 3;

Returns
TypeDescription
Rating.Builder

This builder for chaining.

clearMin()

public Rating.Builder clearMin()

The minimum value for the score.

double min = 2;

Returns
TypeDescription
Rating.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOverall()

public Rating.Builder clearOverall()

Overall score.

double overall = 1;

Returns
TypeDescription
Rating.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public Rating getDefaultInstanceForType()
Returns
TypeDescription
Rating

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Rating other)

public Rating.Builder mergeFrom(Rating other)
Parameter
NameDescription
otherRating
Returns
TypeDescription
Rating.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInterval(double value)

public Rating.Builder setInterval(double value)

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;

Parameter
NameDescription
valuedouble

The interval to set.

Returns
TypeDescription
Rating.Builder

This builder for chaining.

setMax(double value)

public Rating.Builder setMax(double value)

The maximum value for the score.

double max = 3;

Parameter
NameDescription
valuedouble

The max to set.

Returns
TypeDescription
Rating.Builder

This builder for chaining.

setMin(double value)

public Rating.Builder setMin(double value)

The minimum value for the score.

double min = 2;

Parameter
NameDescription
valuedouble

The min to set.

Returns
TypeDescription
Rating.Builder

This builder for chaining.

setOverall(double value)

public Rating.Builder setOverall(double value)

Overall score.

double overall = 1;

Parameter
NameDescription
valuedouble

The overall to set.

Returns
TypeDescription
Rating.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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