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 Summary
Modifier and TypeMethodDescriptiongetDays(int index) Required.intRequired.Required.intgetDaysValue(int index) Required.Required.Required.Required.Required.Required.booleanRequired.booleanRequired.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()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
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
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
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.
-