Class Rating.Builder (2.2.9)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Rating.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Rating.Builder
Overrides

build()

public Rating build()
Returns
Type Description
Rating

buildPartial()

public Rating buildPartial()
Returns
Type Description
Rating

clear()

public Rating.Builder clear()
Returns
Type Description
Rating.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Rating.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
Rating.Builder

This builder for chaining.

clearMax()

public Rating.Builder clearMax()

The maximum value for the score.

double max = 3;

Returns
Type Description
Rating.Builder

This builder for chaining.

clearMin()

public Rating.Builder clearMin()

The minimum value for the score.

double min = 2;

Returns
Type Description
Rating.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Rating.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Rating.Builder
Overrides

clearOverall()

public Rating.Builder clearOverall()

Overall score.

double overall = 1;

Returns
Type Description
Rating.Builder

This builder for chaining.

clone()

public Rating.Builder clone()
Returns
Type Description
Rating.Builder
Overrides

getDefaultInstanceForType()

public Rating getDefaultInstanceForType()
Returns
Type Description
Rating

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
double

The interval.

getMax()

public double getMax()

The maximum value for the score.

double max = 3;

Returns
Type Description
double

The max.

getMin()

public double getMin()

The minimum value for the score.

double min = 2;

Returns
Type Description
double

The min.

getOverall()

public double getOverall()

Overall score.

double overall = 1;

Returns
Type Description
double

The overall.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Rating other)

public Rating.Builder mergeFrom(Rating other)
Parameter
Name Description
other Rating
Returns
Type Description
Rating.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Rating.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Rating.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public Rating.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Rating.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Rating.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Rating.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Rating.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value double

The interval to set.

Returns
Type Description
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
Name Description
value double

The max to set.

Returns
Type Description
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
Name Description
value double

The min to set.

Returns
Type Description
Rating.Builder

This builder for chaining.

setOverall(double value)

public Rating.Builder setOverall(double value)

Overall score.

double overall = 1;

Parameter
Name Description
value double

The overall to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Rating.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Rating.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Rating.Builder
Overrides