Class CompensationInfo.CompensationRange.Builder (2.55.0)

public static final class CompensationInfo.CompensationRange.Builder extends GeneratedMessageV3.Builder<CompensationInfo.CompensationRange.Builder> implements CompensationInfo.CompensationRangeOrBuilder

Compensation range.

Protobuf type google.cloud.talent.v4.CompensationInfo.CompensationRange

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CompensationInfo.CompensationRange build()
Returns
Type Description
CompensationInfo.CompensationRange

buildPartial()

public CompensationInfo.CompensationRange buildPartial()
Returns
Type Description
CompensationInfo.CompensationRange

clear()

public CompensationInfo.CompensationRange.Builder clear()
Returns
Type Description
CompensationInfo.CompensationRange.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CompensationInfo.CompensationRange.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CompensationInfo.CompensationRange.Builder
Overrides

clearMaxCompensation()

public CompensationInfo.CompensationRange.Builder clearMaxCompensation()

The maximum amount of compensation. If left empty, the value is set to a maximal compensation value and the currency code is set to match the currency code of min_compensation.

.google.type.Money max_compensation = 2;

Returns
Type Description
CompensationInfo.CompensationRange.Builder

clearMinCompensation()

public CompensationInfo.CompensationRange.Builder clearMinCompensation()

The minimum amount of compensation. If left empty, the value is set to zero and the currency code is set to match the currency code of max_compensation.

.google.type.Money min_compensation = 1;

Returns
Type Description
CompensationInfo.CompensationRange.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public CompensationInfo.CompensationRange.Builder clone()
Returns
Type Description
CompensationInfo.CompensationRange.Builder
Overrides

getDefaultInstanceForType()

public CompensationInfo.CompensationRange getDefaultInstanceForType()
Returns
Type Description
CompensationInfo.CompensationRange

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMaxCompensation()

public Money getMaxCompensation()

The maximum amount of compensation. If left empty, the value is set to a maximal compensation value and the currency code is set to match the currency code of min_compensation.

.google.type.Money max_compensation = 2;

Returns
Type Description
com.google.type.Money

The maxCompensation.

getMaxCompensationBuilder()

public Money.Builder getMaxCompensationBuilder()

The maximum amount of compensation. If left empty, the value is set to a maximal compensation value and the currency code is set to match the currency code of min_compensation.

.google.type.Money max_compensation = 2;

Returns
Type Description
com.google.type.Money.Builder

getMaxCompensationOrBuilder()

public MoneyOrBuilder getMaxCompensationOrBuilder()

The maximum amount of compensation. If left empty, the value is set to a maximal compensation value and the currency code is set to match the currency code of min_compensation.

.google.type.Money max_compensation = 2;

Returns
Type Description
com.google.type.MoneyOrBuilder

getMinCompensation()

public Money getMinCompensation()

The minimum amount of compensation. If left empty, the value is set to zero and the currency code is set to match the currency code of max_compensation.

.google.type.Money min_compensation = 1;

Returns
Type Description
com.google.type.Money

The minCompensation.

getMinCompensationBuilder()

public Money.Builder getMinCompensationBuilder()

The minimum amount of compensation. If left empty, the value is set to zero and the currency code is set to match the currency code of max_compensation.

.google.type.Money min_compensation = 1;

Returns
Type Description
com.google.type.Money.Builder

getMinCompensationOrBuilder()

public MoneyOrBuilder getMinCompensationOrBuilder()

The minimum amount of compensation. If left empty, the value is set to zero and the currency code is set to match the currency code of max_compensation.

.google.type.Money min_compensation = 1;

Returns
Type Description
com.google.type.MoneyOrBuilder

hasMaxCompensation()

public boolean hasMaxCompensation()

The maximum amount of compensation. If left empty, the value is set to a maximal compensation value and the currency code is set to match the currency code of min_compensation.

.google.type.Money max_compensation = 2;

Returns
Type Description
boolean

Whether the maxCompensation field is set.

hasMinCompensation()

public boolean hasMinCompensation()

The minimum amount of compensation. If left empty, the value is set to zero and the currency code is set to match the currency code of max_compensation.

.google.type.Money min_compensation = 1;

Returns
Type Description
boolean

Whether the minCompensation field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CompensationInfo.CompensationRange other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMaxCompensation(Money value)

public CompensationInfo.CompensationRange.Builder mergeMaxCompensation(Money value)

The maximum amount of compensation. If left empty, the value is set to a maximal compensation value and the currency code is set to match the currency code of min_compensation.

.google.type.Money max_compensation = 2;

Parameter
Name Description
value com.google.type.Money
Returns
Type Description
CompensationInfo.CompensationRange.Builder

mergeMinCompensation(Money value)

public CompensationInfo.CompensationRange.Builder mergeMinCompensation(Money value)

The minimum amount of compensation. If left empty, the value is set to zero and the currency code is set to match the currency code of max_compensation.

.google.type.Money min_compensation = 1;

Parameter
Name Description
value com.google.type.Money
Returns
Type Description
CompensationInfo.CompensationRange.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public CompensationInfo.CompensationRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CompensationInfo.CompensationRange.Builder
Overrides

setMaxCompensation(Money value)

public CompensationInfo.CompensationRange.Builder setMaxCompensation(Money value)

The maximum amount of compensation. If left empty, the value is set to a maximal compensation value and the currency code is set to match the currency code of min_compensation.

.google.type.Money max_compensation = 2;

Parameter
Name Description
value com.google.type.Money
Returns
Type Description
CompensationInfo.CompensationRange.Builder

setMaxCompensation(Money.Builder builderForValue)

public CompensationInfo.CompensationRange.Builder setMaxCompensation(Money.Builder builderForValue)

The maximum amount of compensation. If left empty, the value is set to a maximal compensation value and the currency code is set to match the currency code of min_compensation.

.google.type.Money max_compensation = 2;

Parameter
Name Description
builderForValue com.google.type.Money.Builder
Returns
Type Description
CompensationInfo.CompensationRange.Builder

setMinCompensation(Money value)

public CompensationInfo.CompensationRange.Builder setMinCompensation(Money value)

The minimum amount of compensation. If left empty, the value is set to zero and the currency code is set to match the currency code of max_compensation.

.google.type.Money min_compensation = 1;

Parameter
Name Description
value com.google.type.Money
Returns
Type Description
CompensationInfo.CompensationRange.Builder

setMinCompensation(Money.Builder builderForValue)

public CompensationInfo.CompensationRange.Builder setMinCompensation(Money.Builder builderForValue)

The minimum amount of compensation. If left empty, the value is set to zero and the currency code is set to match the currency code of max_compensation.

.google.type.Money min_compensation = 1;

Parameter
Name Description
builderForValue com.google.type.Money.Builder
Returns
Type Description
CompensationInfo.CompensationRange.Builder

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

public CompensationInfo.CompensationRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CompensationInfo.CompensationRange.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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