Interface TimeWindowOrBuilder (0.75.0)

publicinterface TimeWindowOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getEndTime()

publicabstractTimestampgetEndTime()

The time that the window ends. The end time must take place after the start time.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

publicabstractTimestampOrBuildergetEndTimeOrBuilder()

The time that the window ends. The end time must take place after the start time.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
TimestampOrBuilder

getStartTime()

publicabstractTimestampgetStartTime()

The time that the window first starts.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

publicabstractTimestampOrBuildergetStartTimeOrBuilder()

The time that the window first starts.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
TimestampOrBuilder

hasEndTime()

publicabstractbooleanhasEndTime()

The time that the window ends. The end time must take place after the start time.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
boolean

Whether the endTime field is set.

hasStartTime()

publicabstractbooleanhasStartTime()

The time that the window first starts.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
boolean

Whether the startTime field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.