Package com.google.cloud.deploy.v1
Interface WeeklyWindowOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WeeklyWindow,WeeklyWindow.Builder
@Generated
public interface WeeklyWindowOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetDaysOfWeek(int index) Optional.intOptional.Optional.intgetDaysOfWeekValue(int index) Optional.Optional.Optional.Optional.Optional.Optional.booleanOptional.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
-
getDaysOfWeekList
Optional. Days of week. If left empty, all days of the week will be included.
repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the daysOfWeek.
-
getDaysOfWeekCount
int getDaysOfWeekCount()Optional. Days of week. If left empty, all days of the week will be included.
repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of daysOfWeek.
-
getDaysOfWeek
Optional. Days of week. If left empty, all days of the week will be included.
repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The daysOfWeek at the given index.
-
getDaysOfWeekValueList
Optional. Days of week. If left empty, all days of the week will be included.
repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the enum numeric values on the wire for daysOfWeek.
-
getDaysOfWeekValue
int getDaysOfWeekValue(int index) Optional. Days of week. If left empty, all days of the week will be included.
repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of daysOfWeek at the given index.
-
hasStartTime
boolean hasStartTime()Optional. Start time (inclusive). Use 00:00 for the beginning of the day. If you specify start_time you must also specify end_time. If left empty, this will block for the entire day for the days specified in days_of_week.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the startTime field is set.
-
getStartTime
TimeOfDay getStartTime()Optional. Start time (inclusive). Use 00:00 for the beginning of the day. If you specify start_time you must also specify end_time. If left empty, this will block for the entire day for the days specified in days_of_week.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The startTime.
-
getStartTimeOrBuilder
TimeOfDayOrBuilder getStartTimeOrBuilder()Optional. Start time (inclusive). Use 00:00 for the beginning of the day. If you specify start_time you must also specify end_time. If left empty, this will block for the entire day for the days specified in days_of_week.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; -
hasEndTime
boolean hasEndTime()Optional. End time (exclusive). Use 24:00 to indicate midnight. If you specify end_time you must also specify start_time. If left empty, this will block for the entire day for the days specified in days_of_week.
.google.type.TimeOfDay end_time = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the endTime field is set.
-
getEndTime
TimeOfDay getEndTime()Optional. End time (exclusive). Use 24:00 to indicate midnight. If you specify end_time you must also specify start_time. If left empty, this will block for the entire day for the days specified in days_of_week.
.google.type.TimeOfDay end_time = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The endTime.
-
getEndTimeOrBuilder
TimeOfDayOrBuilder getEndTimeOrBuilder()Optional. End time (exclusive). Use 24:00 to indicate midnight. If you specify end_time you must also specify start_time. If left empty, this will block for the entire day for the days specified in days_of_week.
.google.type.TimeOfDay end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
-