Class CompensationInfo.CompensationRange (2.30.0)

public static final class CompensationInfo.CompensationRange extends GeneratedMessageV3 implements CompensationInfo.CompensationRangeOrBuilder

Compensation range.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CompensationInfo.CompensationRange
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)

Static Fields

MAX_COMPENSATION_FIELD_NUMBER

public static final int MAX_COMPENSATION_FIELD_NUMBER
Field Value
TypeDescription
int

MIN_COMPENSATION_FIELD_NUMBER

public static final int MIN_COMPENSATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CompensationInfo.CompensationRange getDefaultInstance()

getDescriptor()

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

newBuilder()

public static CompensationInfo.CompensationRange.Builder newBuilder()

newBuilder(CompensationInfo.CompensationRange prototype)

public static CompensationInfo.CompensationRange.Builder newBuilder(CompensationInfo.CompensationRange prototype)
Parameter
NameDescription
prototypeCompensationInfo.CompensationRange

parseDelimitedFrom(InputStream input)

public static CompensationInfo.CompensationRange parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CompensationInfo.CompensationRange parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CompensationInfo.CompensationRange parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CompensationInfo.CompensationRange parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CompensationInfo.CompensationRange parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CompensationInfo.CompensationRange parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CompensationInfo.CompensationRange parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CompensationInfo.CompensationRange parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CompensationInfo.CompensationRange parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CompensationInfo.CompensationRange parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CompensationInfo.CompensationRange parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CompensationInfo.CompensationRange parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CompensationInfo.CompensationRange> parser()
Returns
TypeDescription
Parser<CompensationRange>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CompensationInfo.CompensationRange getDefaultInstanceForType()

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.

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.

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

getParserForType()

public Parser<CompensationInfo.CompensationRange> getParserForType()
Returns
TypeDescription
Parser<CompensationRange>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CompensationInfo.CompensationRange.Builder newBuilderForType()

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CompensationInfo.CompensationRange.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CompensationInfo.CompensationRange.Builder toBuilder()

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException