Class CompensationFilter (2.24.0)

public final class CompensationFilter extends GeneratedMessageV3 implements CompensationFilterOrBuilder

Filter on job compensation type and amount.

Protobuf type google.cloud.talent.v4beta1.CompensationFilter

Static Fields

INCLUDE_JOBS_WITH_UNSPECIFIED_COMPENSATION_RANGE_FIELD_NUMBER

public static final int INCLUDE_JOBS_WITH_UNSPECIFIED_COMPENSATION_RANGE_FIELD_NUMBER
Field Value
TypeDescription
int

RANGE_FIELD_NUMBER

public static final int RANGE_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

UNITS_FIELD_NUMBER

public static final int UNITS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CompensationFilter getDefaultInstance()
Returns
TypeDescription
CompensationFilter

getDescriptor()

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

newBuilder()

public static CompensationFilter.Builder newBuilder()
Returns
TypeDescription
CompensationFilter.Builder

newBuilder(CompensationFilter prototype)

public static CompensationFilter.Builder newBuilder(CompensationFilter prototype)
Parameter
NameDescription
prototypeCompensationFilter
Returns
TypeDescription
CompensationFilter.Builder

parseDelimitedFrom(InputStream input)

public static CompensationFilter parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CompensationFilter
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static CompensationFilter parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CompensationFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static CompensationFilter parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CompensationFilter
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static CompensationFilter parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CompensationFilter
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static CompensationFilter parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CompensationFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CompensationFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CompensationFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CompensationFilter> parser()
Returns
TypeDescription
Parser<CompensationFilter>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CompensationFilter getDefaultInstanceForType()
Returns
TypeDescription
CompensationFilter

getIncludeJobsWithUnspecifiedCompensationRange()

public boolean getIncludeJobsWithUnspecifiedCompensationRange()

If set to true, jobs with unspecified compensation range fields are included.

bool include_jobs_with_unspecified_compensation_range = 4;

Returns
TypeDescription
boolean

The includeJobsWithUnspecifiedCompensationRange.

getParserForType()

public Parser<CompensationFilter> getParserForType()
Returns
TypeDescription
Parser<CompensationFilter>
Overrides

getRange()

public CompensationInfo.CompensationRange getRange()

Compensation range.

.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3;

Returns
TypeDescription
CompensationInfo.CompensationRange

The range.

getRangeOrBuilder()

public CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder()

Compensation range.

.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3;

Returns
TypeDescription
CompensationInfo.CompensationRangeOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getType()

public CompensationFilter.FilterType getType()

Required. Type of filter.

.google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CompensationFilter.FilterType

The type.

getTypeValue()

public int getTypeValue()

Required. Type of filter.

.google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for type.

getUnits(int index)

public CompensationInfo.CompensationUnit getUnits(int index)

Required. Specify desired base compensation entry's CompensationInfo.CompensationUnit.

repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
CompensationInfo.CompensationUnit

The units at the given index.

getUnitsCount()

public int getUnitsCount()

Required. Specify desired base compensation entry's CompensationInfo.CompensationUnit.

repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The count of units.

getUnitsList()

public List<CompensationInfo.CompensationUnit> getUnitsList()

Required. Specify desired base compensation entry's CompensationInfo.CompensationUnit.

repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<CompensationUnit>

A list containing the units.

getUnitsValue(int index)

public int getUnitsValue(int index)

Required. Specify desired base compensation entry's CompensationInfo.CompensationUnit.

repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of units at the given index.

getUnitsValueList()

public List<Integer> getUnitsValueList()

Required. Specify desired base compensation entry's CompensationInfo.CompensationUnit.

repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for units.

hasRange()

public boolean hasRange()

Compensation range.

.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3;

Returns
TypeDescription
boolean

Whether the range 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 CompensationFilter.Builder newBuilderForType()
Returns
TypeDescription
CompensationFilter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public CompensationFilter.Builder toBuilder()
Returns
TypeDescription
CompensationFilter.Builder

writeTo(CodedOutputStream output)

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