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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TimeFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TimeFilter build()
Returns
buildPartial()
public TimeFilter buildPartial()
Returns
clear()
public TimeFilter.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public TimeFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TimeFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
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
clone()
public TimeFilter.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TimeFilter getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
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
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
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
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
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
Type | Description |
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
Type | Description |
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
Type | Description |
boolean | Whether the startTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(TimeFilter other)
public TimeFilter.Builder mergeFrom(TimeFilter other)
Parameter
Returns
public TimeFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TimeFilter.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimeFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Name | Description |
builderForValue | Builder
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TimeFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TimeFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Name | Description |
builderForValue | Builder
|
Returns
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
Returns
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
Name | Description |
value | int
The enum numeric value on the wire for timeField to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final TimeFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides