Interface TimeFilterOrBuilder (0.3.0)

public interface TimeFilterOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTimeField()

public abstract 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
TypeDescription
TimeFilter.TimeField

The timeField.

getTimeFieldValue()

public abstract 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
TypeDescription
int

The enum numeric value on the wire for timeField.

getTimeRange()

public abstract Interval getTimeRange()

.google.type.Interval time_range = 1;

Returns
TypeDescription
com.google.type.Interval

The timeRange.

getTimeRangeOrBuilder()

public abstract IntervalOrBuilder getTimeRangeOrBuilder()

.google.type.Interval time_range = 1;

Returns
TypeDescription
com.google.type.IntervalOrBuilder

hasTimeRange()

public abstract boolean hasTimeRange()

.google.type.Interval time_range = 1;

Returns
TypeDescription
boolean

Whether the timeRange field is set.