Package com.google.type
Interface IntervalOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Interval
,Interval.Builder
public interface IntervalOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.Optional.Optional.Optional.boolean
Optional.boolean
Optional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasStartTime
boolean hasStartTime()Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
.google.protobuf.Timestamp start_time = 1;
- Returns:
- Whether the startTime field is set.
-
getStartTime
Timestamp getStartTime()Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
.google.protobuf.Timestamp start_time = 1;
- Returns:
- The startTime.
-
getStartTimeOrBuilder
TimestampOrBuilder getStartTimeOrBuilder()Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
.google.protobuf.Timestamp start_time = 1;
-
hasEndTime
boolean hasEndTime()Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
.google.protobuf.Timestamp end_time = 2;
- Returns:
- Whether the endTime field is set.
-
getEndTime
Timestamp getEndTime()Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
.google.protobuf.Timestamp end_time = 2;
- Returns:
- The endTime.
-
getEndTimeOrBuilder
TimestampOrBuilder getEndTimeOrBuilder()Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
.google.protobuf.Timestamp end_time = 2;
-