Class AvailabilityFilter.Builder

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AvailabilityFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AvailabilityFilter.Builder
Overrides

build()

public AvailabilityFilter build()
Returns
TypeDescription
AvailabilityFilter

buildPartial()

public AvailabilityFilter buildPartial()
Returns
TypeDescription
AvailabilityFilter

clear()

public AvailabilityFilter.Builder clear()
Returns
TypeDescription
AvailabilityFilter.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AvailabilityFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AvailabilityFilter.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AvailabilityFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AvailabilityFilter.Builder
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
TypeDescription
AvailabilityFilter.Builder

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
TypeDescription
AvailabilityFilter.Builder

This builder for chaining.

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
TypeDescription
AvailabilityFilter.Builder

This builder for chaining.

clone()

public AvailabilityFilter.Builder clone()
Returns
TypeDescription
AvailabilityFilter.Builder
Overrides

getDefaultInstanceForType()

public AvailabilityFilter getDefaultInstanceForType()
Returns
TypeDescription
AvailabilityFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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
TypeDescription
TimestampRange

The range.

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
TypeDescription
TimestampRange.Builder

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
TypeDescription
TimestampRangeOrBuilder

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
TypeDescription
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
TypeDescription
AvailabilitySignalType

The signalType.

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
TypeDescription
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
TypeDescription
boolean

Whether the range field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AvailabilityFilter other)

public AvailabilityFilter.Builder mergeFrom(AvailabilityFilter other)
Parameter
NameDescription
otherAvailabilityFilter
Returns
TypeDescription
AvailabilityFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AvailabilityFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AvailabilityFilter.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AvailabilityFilter.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AvailabilityFilter.Builder
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
NameDescription
valueTimestampRange
Returns
TypeDescription
AvailabilityFilter.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AvailabilityFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AvailabilityFilter.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AvailabilityFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AvailabilityFilter.Builder
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
NameDescription
valueTimestampRange
Returns
TypeDescription
AvailabilityFilter.Builder

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
NameDescription
builderForValueTimestampRange.Builder
Returns
TypeDescription
AvailabilityFilter.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AvailabilityFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AvailabilityFilter.Builder
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
NameDescription
valueboolean

The required to set.

Returns
TypeDescription
AvailabilityFilter.Builder

This builder for chaining.

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
NameDescription
valueAvailabilitySignalType

The signalType to set.

Returns
TypeDescription
AvailabilityFilter.Builder

This builder for chaining.

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
NameDescription
valueint

The enum numeric value on the wire for signalType to set.

Returns
TypeDescription
AvailabilityFilter.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AvailabilityFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AvailabilityFilter.Builder
Overrides