Interface TimeTargetOrBuilder (1.12.22)

public interface TimeTargetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEventTime()

public abstract Timestamp getEventTime()

Request the cursor of the first message with event time greater than or equal to event_time. If messages are missing an event time, the publish time is used as a fallback. As event times are user supplied, subsequent messages may have event times less than event_time and should be filtered by the client, if necessary.

.google.protobuf.Timestamp event_time = 2;

Returns
TypeDescription
Timestamp

The eventTime.

getEventTimeOrBuilder()

public abstract TimestampOrBuilder getEventTimeOrBuilder()

Request the cursor of the first message with event time greater than or equal to event_time. If messages are missing an event time, the publish time is used as a fallback. As event times are user supplied, subsequent messages may have event times less than event_time and should be filtered by the client, if necessary.

.google.protobuf.Timestamp event_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getPublishTime()

public abstract Timestamp getPublishTime()

Request the cursor of the first message with publish time greater than or equal to publish_time. All messages thereafter are guaranteed to have publish times >= publish_time.

.google.protobuf.Timestamp publish_time = 1;

Returns
TypeDescription
Timestamp

The publishTime.

getPublishTimeOrBuilder()

public abstract TimestampOrBuilder getPublishTimeOrBuilder()

Request the cursor of the first message with publish time greater than or equal to publish_time. All messages thereafter are guaranteed to have publish times >= publish_time.

.google.protobuf.Timestamp publish_time = 1;

Returns
TypeDescription
TimestampOrBuilder

getTimeCase()

public abstract TimeTarget.TimeCase getTimeCase()
Returns
TypeDescription
TimeTarget.TimeCase

hasEventTime()

public abstract boolean hasEventTime()

Request the cursor of the first message with event time greater than or equal to event_time. If messages are missing an event time, the publish time is used as a fallback. As event times are user supplied, subsequent messages may have event times less than event_time and should be filtered by the client, if necessary.

.google.protobuf.Timestamp event_time = 2;

Returns
TypeDescription
boolean

Whether the eventTime field is set.

hasPublishTime()

public abstract boolean hasPublishTime()

Request the cursor of the first message with publish time greater than or equal to publish_time. All messages thereafter are guaranteed to have publish times >= publish_time.

.google.protobuf.Timestamp publish_time = 1;

Returns
TypeDescription
boolean

Whether the publishTime field is set.