public static final class CompensationInfo.CompensationRange.Builder extends GeneratedMessageV3.Builder<CompensationInfo.CompensationRange.Builder> implements CompensationInfo.CompensationRangeOrBuilder
Compensation range.
Protobuf type google.cloud.talent.v4beta1.CompensationInfo.CompensationRange
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CompensationInfo.CompensationRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CompensationInfo.CompensationRange build()
Returns
buildPartial()
public CompensationInfo.CompensationRange buildPartial()
Returns
clear()
public CompensationInfo.CompensationRange.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CompensationInfo.CompensationRange.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
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
clearOneof(Descriptors.OneofDescriptor oneof)
public CompensationInfo.CompensationRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public CompensationInfo.CompensationRange.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CompensationInfo.CompensationRange getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CompensationInfo.CompensationRange other)
public CompensationInfo.CompensationRange.Builder mergeFrom(CompensationInfo.CompensationRange other)
Parameter
Returns
public CompensationInfo.CompensationRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CompensationInfo.CompensationRange.Builder mergeFrom(Message other)
Parameter
Returns
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
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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CompensationInfo.CompensationRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CompensationInfo.CompensationRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CompensationInfo.CompensationRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CompensationInfo.CompensationRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides