public static final class AvailabilityFilter.Builder extends GeneratedMessageV3.Builder<AvailabilityFilter.Builder> implements AvailabilityFilterOrBuilder
Filter on availability signals.
Protobuf type google.cloud.talent.v4beta1.AvailabilityFilter
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AvailabilityFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AvailabilityFilter build()
Returns
buildPartial()
public AvailabilityFilter buildPartial()
Returns
clear()
public AvailabilityFilter.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public AvailabilityFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AvailabilityFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRange()
public AvailabilityFilter.Builder clearRange()
Required. Range of times to filter candidate signals by.
.google.cloud.talent.v4beta1.TimestampRange range = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearRequired()
public AvailabilityFilter.Builder clearRequired()
If multiple AvailabilityFilter are provided, the default
behavior is to OR all filters, but if this field is set to true, this
particular AvailabilityFilter will be AND'ed against other
AvailabilityFilter.
bool required = 3;
Returns
clearSignalType()
public AvailabilityFilter.Builder clearSignalType()
Required. Type of signal to apply filter on.
.google.cloud.talent.v4beta1.AvailabilitySignalType signal_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public AvailabilityFilter.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AvailabilityFilter getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getRange()
public TimestampRange getRange()
Required. Range of times to filter candidate signals by.
.google.cloud.talent.v4beta1.TimestampRange range = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getRangeBuilder()
public TimestampRange.Builder getRangeBuilder()
Required. Range of times to filter candidate signals by.
.google.cloud.talent.v4beta1.TimestampRange range = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getRangeOrBuilder()
public TimestampRangeOrBuilder getRangeOrBuilder()
Required. Range of times to filter candidate signals by.
.google.cloud.talent.v4beta1.TimestampRange range = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getRequired()
public boolean getRequired()
If multiple AvailabilityFilter are provided, the default
behavior is to OR all filters, but if this field is set to true, this
particular AvailabilityFilter will be AND'ed against other
AvailabilityFilter.
bool required = 3;
Returns
Type | Description |
boolean | The required.
|
getSignalType()
public AvailabilitySignalType getSignalType()
Required. Type of signal to apply filter on.
.google.cloud.talent.v4beta1.AvailabilitySignalType signal_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getSignalTypeValue()
public int getSignalTypeValue()
Required. Type of signal to apply filter on.
.google.cloud.talent.v4beta1.AvailabilitySignalType signal_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
int | The enum numeric value on the wire for signalType.
|
hasRange()
public boolean hasRange()
Required. Range of times to filter candidate signals by.
.google.cloud.talent.v4beta1.TimestampRange range = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the range field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AvailabilityFilter other)
public AvailabilityFilter.Builder mergeFrom(AvailabilityFilter other)
Parameter
Returns
public AvailabilityFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AvailabilityFilter.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeRange(TimestampRange value)
public AvailabilityFilter.Builder mergeRange(TimestampRange value)
Required. Range of times to filter candidate signals by.
.google.cloud.talent.v4beta1.TimestampRange range = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AvailabilityFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AvailabilityFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRange(TimestampRange value)
public AvailabilityFilter.Builder setRange(TimestampRange value)
Required. Range of times to filter candidate signals by.
.google.cloud.talent.v4beta1.TimestampRange range = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setRange(TimestampRange.Builder builderForValue)
public AvailabilityFilter.Builder setRange(TimestampRange.Builder builderForValue)
Required. Range of times to filter candidate signals by.
.google.cloud.talent.v4beta1.TimestampRange range = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AvailabilityFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setRequired(boolean value)
public AvailabilityFilter.Builder setRequired(boolean value)
If multiple AvailabilityFilter are provided, the default
behavior is to OR all filters, but if this field is set to true, this
particular AvailabilityFilter will be AND'ed against other
AvailabilityFilter.
bool required = 3;
Parameter
Name | Description |
value | boolean
The required to set.
|
Returns
setSignalType(AvailabilitySignalType value)
public AvailabilityFilter.Builder setSignalType(AvailabilitySignalType value)
Required. Type of signal to apply filter on.
.google.cloud.talent.v4beta1.AvailabilitySignalType signal_type = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setSignalTypeValue(int value)
public AvailabilityFilter.Builder setSignalTypeValue(int value)
Required. Type of signal to apply filter on.
.google.cloud.talent.v4beta1.AvailabilitySignalType signal_type = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | int
The enum numeric value on the wire for signalType to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final AvailabilityFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides