Interface IntervalOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
Interval, Interval.Builder

public interface IntervalOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Timestamp
    Optional.
    com.google.protobuf.Timestamp
    Optional.
    boolean
    Optional.
    boolean
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • 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 [json_name = "startTime"];
      Returns:
      Whether the startTime field is set.
    • getStartTime

      com.google.protobuf.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 [json_name = "startTime"];
      Returns:
      The startTime.
    • 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 [json_name = "endTime"];
      Returns:
      Whether the endTime field is set.
    • getEndTime

      com.google.protobuf.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 [json_name = "endTime"];
      Returns:
      The endTime.