Interface TimeFilterOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TimeFilter,TimeFilter.Builder
public interface TimeFilterOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TimeFilter.TimeFieldgetTimeField()Specifies which time field to filter documents on.intgetTimeFieldValue()Specifies which time field to filter documents on.com.google.type.IntervalgetTimeRange().google.type.Interval time_range = 1;com.google.type.IntervalOrBuildergetTimeRangeOrBuilder().google.type.Interval time_range = 1;booleanhasTimeRange().google.type.Interval time_range = 1;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasTimeRange
boolean hasTimeRange()
.google.type.Interval time_range = 1;- Returns:
- Whether the timeRange field is set.
-
getTimeRange
com.google.type.Interval getTimeRange()
.google.type.Interval time_range = 1;- Returns:
- The timeRange.
-
getTimeRangeOrBuilder
com.google.type.IntervalOrBuilder getTimeRangeOrBuilder()
.google.type.Interval time_range = 1;
-
getTimeFieldValue
int getTimeFieldValue()
Specifies which time field to filter documents on. Defaults to [TimeField.UPLOAD_TIME][].
.google.cloud.contentwarehouse.v1.TimeFilter.TimeField time_field = 2;- Returns:
- The enum numeric value on the wire for timeField.
-
getTimeField
TimeFilter.TimeField getTimeField()
Specifies which time field to filter documents on. Defaults to [TimeField.UPLOAD_TIME][].
.google.cloud.contentwarehouse.v1.TimeFilter.TimeField time_field = 2;- Returns:
- The timeField.
-
-