Class TimeFilter.Builder

public static final class TimeFilter.Builder extends GeneratedMessageV3.Builder<TimeFilter.Builder> implements TimeFilterOrBuilder

Filter on create timestamp or update timestamp of profiles.

Protobuf type google.cloud.talent.v4beta1.TimeFilter

Implements

TimeFilterOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TimeFilter build()
Returns
TypeDescription
TimeFilter

buildPartial()

public TimeFilter buildPartial()
Returns
TypeDescription
TimeFilter

clear()

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

clearEndTime()

public TimeFilter.Builder clearEndTime()

End timestamp, matching profiles with the end time. If this field missing, The API matches profiles with create / update timestamp after the start timestamp.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
TimeFilter.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public TimeFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TimeFilter.Builder
Overrides

clearStartTime()

public TimeFilter.Builder clearStartTime()

Start timestamp, matching profiles with the start time. If this field missing, The API matches profiles with create / update timestamp before the end timestamp.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
TimeFilter.Builder

clearTimeField()

public TimeFilter.Builder clearTimeField()

Specifies which time field to filter profiles. Defaults to TimeField.CREATE_TIME.

.google.cloud.talent.v4beta1.TimeFilter.TimeField time_field = 3;

Returns
TypeDescription
TimeFilter.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public TimeFilter getDefaultInstanceForType()
Returns
TypeDescription
TimeFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

End timestamp, matching profiles with the end time. If this field missing, The API matches profiles with create / update timestamp after the start timestamp.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

End timestamp, matching profiles with the end time. If this field missing, The API matches profiles with create / update timestamp after the start timestamp.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

End timestamp, matching profiles with the end time. If this field missing, The API matches profiles with create / update timestamp after the start timestamp.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getStartTime()

public Timestamp getStartTime()

Start timestamp, matching profiles with the start time. If this field missing, The API matches profiles with create / update timestamp before the end timestamp.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Start timestamp, matching profiles with the start time. If this field missing, The API matches profiles with create / update timestamp before the end timestamp.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Start timestamp, matching profiles with the start time. If this field missing, The API matches profiles with create / update timestamp before the end timestamp.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
TimestampOrBuilder

getTimeField()

public TimeFilter.TimeField getTimeField()

Specifies which time field to filter profiles. Defaults to TimeField.CREATE_TIME.

.google.cloud.talent.v4beta1.TimeFilter.TimeField time_field = 3;

Returns
TypeDescription
TimeFilter.TimeField

The timeField.

getTimeFieldValue()

public int getTimeFieldValue()

Specifies which time field to filter profiles. Defaults to TimeField.CREATE_TIME.

.google.cloud.talent.v4beta1.TimeFilter.TimeField time_field = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for timeField.

hasEndTime()

public boolean hasEndTime()

End timestamp, matching profiles with the end time. If this field missing, The API matches profiles with create / update timestamp after the start timestamp.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

Start timestamp, matching profiles with the start time. If this field missing, The API matches profiles with create / update timestamp before the end timestamp.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeEndTime(Timestamp value)

public TimeFilter.Builder mergeEndTime(Timestamp value)

End timestamp, matching profiles with the end time. If this field missing, The API matches profiles with create / update timestamp after the start timestamp.

.google.protobuf.Timestamp end_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
TimeFilter.Builder

mergeFrom(TimeFilter other)

public TimeFilter.Builder mergeFrom(TimeFilter other)
Parameter
NameDescription
otherTimeFilter
Returns
TypeDescription
TimeFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public TimeFilter.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TimeFilter.Builder
Overrides

mergeStartTime(Timestamp value)

public TimeFilter.Builder mergeStartTime(Timestamp value)

Start timestamp, matching profiles with the start time. If this field missing, The API matches profiles with create / update timestamp before the end timestamp.

.google.protobuf.Timestamp start_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
TimeFilter.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEndTime(Timestamp value)

public TimeFilter.Builder setEndTime(Timestamp value)

End timestamp, matching profiles with the end time. If this field missing, The API matches profiles with create / update timestamp after the start timestamp.

.google.protobuf.Timestamp end_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
TimeFilter.Builder

setEndTime(Timestamp.Builder builderForValue)

public TimeFilter.Builder setEndTime(Timestamp.Builder builderForValue)

End timestamp, matching profiles with the end time. If this field missing, The API matches profiles with create / update timestamp after the start timestamp.

.google.protobuf.Timestamp end_time = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
TimeFilter.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public TimeFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TimeFilter.Builder
Overrides

setStartTime(Timestamp value)

public TimeFilter.Builder setStartTime(Timestamp value)

Start timestamp, matching profiles with the start time. If this field missing, The API matches profiles with create / update timestamp before the end timestamp.

.google.protobuf.Timestamp start_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
TimeFilter.Builder

setStartTime(Timestamp.Builder builderForValue)

public TimeFilter.Builder setStartTime(Timestamp.Builder builderForValue)

Start timestamp, matching profiles with the start time. If this field missing, The API matches profiles with create / update timestamp before the end timestamp.

.google.protobuf.Timestamp start_time = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
TimeFilter.Builder

setTimeField(TimeFilter.TimeField value)

public TimeFilter.Builder setTimeField(TimeFilter.TimeField value)

Specifies which time field to filter profiles. Defaults to TimeField.CREATE_TIME.

.google.cloud.talent.v4beta1.TimeFilter.TimeField time_field = 3;

Parameter
NameDescription
valueTimeFilter.TimeField

The timeField to set.

Returns
TypeDescription
TimeFilter.Builder

This builder for chaining.

setTimeFieldValue(int value)

public TimeFilter.Builder setTimeFieldValue(int value)

Specifies which time field to filter profiles. Defaults to TimeField.CREATE_TIME.

.google.cloud.talent.v4beta1.TimeFilter.TimeField time_field = 3;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
TimeFilter.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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