Interface TimeIntervalOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    TimeInterval, TimeInterval.Builder

    public interface TimeIntervalOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.Timestamp getEndTime()
      Required.
      com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
      Required.
      com.google.protobuf.Timestamp getStartTime()
      Optional.
      com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
      Optional.
      boolean hasEndTime()
      Required.
      boolean hasStartTime()
      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 Detail

      • hasEndTime

        boolean hasEndTime()
         Required. The end of the time interval.
         
        .google.protobuf.Timestamp end_time = 2;
        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;
        Returns:
        The endTime.
      • getEndTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
         Required. The end of the time interval.
         
        .google.protobuf.Timestamp end_time = 2;
      • 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;
        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;
        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;