Package com.google.cloud.osconfig.v1beta
Interface PatchDeployments.RecurringScheduleOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PatchDeployments.RecurringSchedule,PatchDeployments.RecurringSchedule.Builder
- Enclosing class:
- PatchDeployments
public static interface PatchDeployments.RecurringScheduleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampOptional.com.google.protobuf.TimestampOrBuilderOptional.Required.intRequired.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Required.Required.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOptional.com.google.protobuf.TimestampOrBuilderOptional.Required.Required.Required.Required.Required.Required.booleanOptional.booleanOutput only.booleanRequired.booleanOutput only.booleanOptional.booleanRequired.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
-
hasTimeZone
boolean hasTimeZone()Required. Defines the time zone that `time_of_day` is relative to. The rules for daylight saving time are determined by the chosen time zone.
.google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the timeZone field is set.
-
getTimeZone
TimeZone getTimeZone()Required. Defines the time zone that `time_of_day` is relative to. The rules for daylight saving time are determined by the chosen time zone.
.google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The timeZone.
-
getTimeZoneOrBuilder
TimeZoneOrBuilder getTimeZoneOrBuilder()Required. Defines the time zone that `time_of_day` is relative to. The rules for daylight saving time are determined by the chosen time zone.
.google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED]; -
hasStartTime
boolean hasStartTime()Optional. The time that the recurring schedule becomes effective. Defaults to `create_time` of the patch deployment.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the startTime field is set.
-
getStartTime
com.google.protobuf.Timestamp getStartTime()Optional. The time that the recurring schedule becomes effective. Defaults to `create_time` of the patch deployment.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The startTime.
-
getStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Optional. The time that the recurring schedule becomes effective. Defaults to `create_time` of the patch deployment.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; -
hasEndTime
boolean hasEndTime()Optional. The end time at which a recurring patch deployment schedule is no longer active.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the endTime field is set.
-
getEndTime
com.google.protobuf.Timestamp getEndTime()Optional. The end time at which a recurring patch deployment schedule is no longer active.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The endTime.
-
getEndTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()Optional. The end time at which a recurring patch deployment schedule is no longer active.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; -
hasTimeOfDay
boolean hasTimeOfDay()Required. Time of the day to run a recurring deployment.
.google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the timeOfDay field is set.
-
getTimeOfDay
TimeOfDay getTimeOfDay()Required. Time of the day to run a recurring deployment.
.google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The timeOfDay.
-
getTimeOfDayOrBuilder
TimeOfDayOrBuilder getTimeOfDayOrBuilder()Required. Time of the day to run a recurring deployment.
.google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; -
getFrequencyValue
int getFrequencyValue()Required. The frequency unit of this recurring schedule.
.google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The enum numeric value on the wire for frequency.
-
getFrequency
PatchDeployments.RecurringSchedule.Frequency getFrequency()Required. The frequency unit of this recurring schedule.
.google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The frequency.
-
hasWeekly
boolean hasWeekly()Required. Schedule with weekly executions.
.google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the weekly field is set.
-
getWeekly
PatchDeployments.WeeklySchedule getWeekly()Required. Schedule with weekly executions.
.google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The weekly.
-
getWeeklyOrBuilder
PatchDeployments.WeeklyScheduleOrBuilder getWeeklyOrBuilder()Required. Schedule with weekly executions.
.google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; -
hasMonthly
boolean hasMonthly()Required. Schedule with monthly executions.
.google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the monthly field is set.
-
getMonthly
PatchDeployments.MonthlySchedule getMonthly()Required. Schedule with monthly executions.
.google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The monthly.
-
getMonthlyOrBuilder
PatchDeployments.MonthlyScheduleOrBuilder getMonthlyOrBuilder()Required. Schedule with monthly executions.
.google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; -
hasLastExecuteTime
boolean hasLastExecuteTime()Output only. The time the last patch job ran successfully.
.google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the lastExecuteTime field is set.
-
getLastExecuteTime
com.google.protobuf.Timestamp getLastExecuteTime()Output only. The time the last patch job ran successfully.
.google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The lastExecuteTime.
-
getLastExecuteTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder()Output only. The time the last patch job ran successfully.
.google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasNextExecuteTime
boolean hasNextExecuteTime()Output only. The time the next patch job is scheduled to run.
.google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the nextExecuteTime field is set.
-
getNextExecuteTime
com.google.protobuf.Timestamp getNextExecuteTime()Output only. The time the next patch job is scheduled to run.
.google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The nextExecuteTime.
-
getNextExecuteTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getNextExecuteTimeOrBuilder()Output only. The time the next patch job is scheduled to run.
.google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getScheduleConfigCase
PatchDeployments.RecurringSchedule.ScheduleConfigCase getScheduleConfigCase()
-