Interface TimePeriodOrBuilder

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

@Generated public interface TimePeriodOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasStartTime

      boolean hasStartTime()
       Required. The start of the time period.
       
      .google.type.TimeOfDay start_time = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the startTime field is set.
    • getStartTime

      TimeOfDay getStartTime()
       Required. The start of the time period.
       
      .google.type.TimeOfDay start_time = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The startTime.
    • getStartTimeOrBuilder

      TimeOfDayOrBuilder getStartTimeOrBuilder()
       Required. The start of the time period.
       
      .google.type.TimeOfDay start_time = 1 [(.google.api.field_behavior) = REQUIRED];
    • hasEndTime

      boolean hasEndTime()
       Required. The end of the time period.
       
      .google.type.TimeOfDay end_time = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the endTime field is set.
    • getEndTime

      TimeOfDay getEndTime()
       Required. The end of the time period.
       
      .google.type.TimeOfDay end_time = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The endTime.
    • getEndTimeOrBuilder

      TimeOfDayOrBuilder getEndTimeOrBuilder()
       Required. The end of the time period.
       
      .google.type.TimeOfDay end_time = 2 [(.google.api.field_behavior) = REQUIRED];
    • getDaysList

      List<DayOfWeek> getDaysList()
       Required. The days of the week that the time period is active.
       
      repeated .google.type.DayOfWeek days = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      A list containing the days.
    • getDaysCount

      int getDaysCount()
       Required. The days of the week that the time period is active.
       
      repeated .google.type.DayOfWeek days = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The count of days.
    • getDays

      DayOfWeek getDays(int index)
       Required. The days of the week that the time period is active.
       
      repeated .google.type.DayOfWeek days = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      index - The index of the element to return.
      Returns:
      The days at the given index.
    • getDaysValueList

      List<Integer> getDaysValueList()
       Required. The days of the week that the time period is active.
       
      repeated .google.type.DayOfWeek days = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      A list containing the enum numeric values on the wire for days.
    • getDaysValue

      int getDaysValue(int index)
       Required. The days of the week that the time period is active.
       
      repeated .google.type.DayOfWeek days = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of days at the given index.