Class CompensationInfo.CompensationRange.Builder (2.8.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CompensationInfo.CompensationRange build()
Returns
TypeDescription
CompensationInfo.CompensationRange

buildPartial()

public CompensationInfo.CompensationRange buildPartial()
Returns
TypeDescription
CompensationInfo.CompensationRange

clear()

public CompensationInfo.CompensationRange.Builder clear()
Returns
TypeDescription
CompensationInfo.CompensationRange.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CompensationInfo.CompensationRange.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CompensationInfo.CompensationRange.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public CompensationInfo.CompensationRange.Builder clone()
Returns
TypeDescription
CompensationInfo.CompensationRange.Builder
Overrides

getDefaultInstanceForType()

public CompensationInfo.CompensationRange getDefaultInstanceForType()
Returns
TypeDescription
CompensationInfo.CompensationRange

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the minCompensation field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CompensationInfo.CompensationRange other)

public CompensationInfo.CompensationRange.Builder mergeFrom(CompensationInfo.CompensationRange other)
Parameter
NameDescription
otherCompensationInfo.CompensationRange
Returns
TypeDescription
CompensationInfo.CompensationRange.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CompensationInfo.CompensationRange.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuecom.google.type.Money
Returns
TypeDescription
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
NameDescription
valuecom.google.type.Money
Returns
TypeDescription
CompensationInfo.CompensationRange.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public CompensationInfo.CompensationRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuecom.google.type.Money
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.type.Money.Builder
Returns
TypeDescription
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
NameDescription
valuecom.google.type.Money
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.type.Money.Builder
Returns
TypeDescription
CompensationInfo.CompensationRange.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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