Interface TimeFilterOrBuilder (0.39.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
Type Description
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
Type Description
int

The enum numeric value on the wire for timeField.

getTimeRange()

public abstract Interval getTimeRange()

.google.type.Interval time_range = 1;

Returns
Type Description
com.google.type.Interval

The timeRange.

getTimeRangeOrBuilder()

public abstract IntervalOrBuilder getTimeRangeOrBuilder()

.google.type.Interval time_range = 1;

Returns
Type Description
com.google.type.IntervalOrBuilder

hasTimeRange()

public abstract boolean hasTimeRange()

.google.type.Interval time_range = 1;

Returns
Type Description
boolean

Whether the timeRange field is set.