Class AvailabilityFilter (2.2.9)

public final class AvailabilityFilter extends GeneratedMessageV3 implements AvailabilityFilterOrBuilder

Filter on availability signals.

Protobuf type google.cloud.talent.v4beta1.AvailabilityFilter

Static Fields

RANGE_FIELD_NUMBER

public static final int RANGE_FIELD_NUMBER
Field Value
TypeDescription
int

REQUIRED_FIELD_NUMBER

public static final int REQUIRED_FIELD_NUMBER
Field Value
TypeDescription
int

SIGNAL_TYPE_FIELD_NUMBER

public static final int SIGNAL_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AvailabilityFilter getDefaultInstance()
Returns
TypeDescription
AvailabilityFilter

getDescriptor()

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

newBuilder()

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

newBuilder(AvailabilityFilter prototype)

public static AvailabilityFilter.Builder newBuilder(AvailabilityFilter prototype)
Parameter
NameDescription
prototypeAvailabilityFilter
Returns
TypeDescription
AvailabilityFilter.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AvailabilityFilter getDefaultInstanceForType()
Returns
TypeDescription
AvailabilityFilter

getParserForType()

public Parser<AvailabilityFilter> getParserForType()
Returns
TypeDescription
Parser<AvailabilityFilter>
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.

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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

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 AvailabilityFilter.Builder newBuilderForType()
Returns
TypeDescription
AvailabilityFilter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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