Class CompensationFilter (2.47.0)

public final class CompensationFilter extends GeneratedMessageV3 implements CompensationFilterOrBuilder

Filter on job compensation type and amount.

Protobuf type google.cloud.talent.v4.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
Type Description
int

RANGE_FIELD_NUMBER

public static final int RANGE_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

UNITS_FIELD_NUMBER

public static final int UNITS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CompensationFilter getDefaultInstance()
Returns
Type Description
CompensationFilter

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CompensationFilter.Builder newBuilder()
Returns
Type Description
CompensationFilter.Builder

newBuilder(CompensationFilter prototype)

public static CompensationFilter.Builder newBuilder(CompensationFilter prototype)
Parameter
Name Description
prototype CompensationFilter
Returns
Type Description
CompensationFilter.Builder

parseDelimitedFrom(InputStream input)

public static CompensationFilter parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CompensationFilter
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CompensationFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompensationFilter
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CompensationFilter parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CompensationFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CompensationFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompensationFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CompensationFilter parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CompensationFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CompensationFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompensationFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CompensationFilter parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CompensationFilter
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CompensationFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompensationFilter
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CompensationFilter parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CompensationFilter
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CompensationFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompensationFilter
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CompensationFilter parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CompensationFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CompensationFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompensationFilter
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CompensationFilter> parser()
Returns
Type Description
Parser<CompensationFilter>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CompensationFilter getDefaultInstanceForType()
Returns
Type Description
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
Type Description
boolean

The includeJobsWithUnspecifiedCompensationRange.

getParserForType()

public Parser<CompensationFilter> getParserForType()
Returns
Type Description
Parser<CompensationFilter>
Overrides

getRange()

public CompensationInfo.CompensationRange getRange()

Compensation range.

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

Returns
Type Description
CompensationInfo.CompensationRange

The range.

getRangeOrBuilder()

public CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder()

Compensation range.

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

Returns
Type Description
CompensationInfo.CompensationRangeOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getType()

public CompensationFilter.FilterType getType()

Required. Type of filter.

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

Returns
Type Description
CompensationFilter.FilterType

The type.

getTypeValue()

public int getTypeValue()

Required. Type of filter.

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

Returns
Type Description
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.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
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.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of units.

getUnitsList()

public List<CompensationInfo.CompensationUnit> getUnitsList()

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

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

Returns
Type Description
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.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
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.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Integer>

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

hasRange()

public boolean hasRange()

Compensation range.

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

Returns
Type Description
boolean

Whether the range field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CompensationFilter.Builder newBuilderForType()
Returns
Type Description
CompensationFilter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CompensationFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CompensationFilter.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CompensationFilter.Builder toBuilder()
Returns
Type Description
CompensationFilter.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException