Interface TimeIntervalOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TimeInterval,TimeInterval.Builder
@Generated
public interface TimeIntervalOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampRequired.com.google.protobuf.TimestampOrBuilderRequired.com.google.protobuf.TimestampOptional.com.google.protobuf.TimestampOrBuilderOptional.booleanRequired.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the startTime field is set.
-
getStartTime
com.google.protobuf.Timestamp getStartTime()Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The startTime.
-
getStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; -
hasEndTime
boolean hasEndTime()Required. The end of the time interval.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the endTime field is set.
-
getEndTime
com.google.protobuf.Timestamp getEndTime()Required. The end of the time interval.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The endTime.
-
getEndTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()Required. The end of the time interval.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED];
-