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
RANGE_FIELD_NUMBER
public static final int RANGE_FIELD_NUMBER
Field Value
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value
UNITS_FIELD_NUMBER
public static final int UNITS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CompensationFilter getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CompensationFilter.Builder newBuilder()
Returns
newBuilder(CompensationFilter prototype)
public static CompensationFilter.Builder newBuilder(CompensationFilter prototype)
Parameter
Returns
public static CompensationFilter parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CompensationFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CompensationFilter parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CompensationFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CompensationFilter parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CompensationFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CompensationFilter parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CompensationFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CompensationFilter parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CompensationFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CompensationFilter parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CompensationFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CompensationFilter> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public CompensationFilter getDefaultInstanceForType()
Returns
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
Overrides
getRange()
public CompensationInfo.CompensationRange getRange()
Compensation range.
.google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3;
Returns
getRangeOrBuilder()
public CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder()
Compensation range.
.google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getType()
public CompensationFilter.FilterType getType()
Required. Type of filter.
.google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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
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
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CompensationFilter.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CompensationFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CompensationFilter.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions