Class CompensationInfo.CompensationRange (2.15.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

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()
Returns
TypeDescription
CompensationInfo.CompensationRange

getDescriptor()

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

newBuilder()

public static CompensationInfo.CompensationRange.Builder newBuilder()
Returns
TypeDescription
CompensationInfo.CompensationRange.Builder

newBuilder(CompensationInfo.CompensationRange prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CompensationInfo.CompensationRange parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CompensationInfo.CompensationRange
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()
Returns
TypeDescription
CompensationInfo.CompensationRange

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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()
Returns
TypeDescription
CompensationInfo.CompensationRange.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public CompensationInfo.CompensationRange.Builder toBuilder()
Returns
TypeDescription
CompensationInfo.CompensationRange.Builder

writeTo(CodedOutputStream output)

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