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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Timestamp
getEndTime()
Optional.com.google.protobuf.TimestampOrBuilder
getEndTimeOrBuilder()
Optional.PatchDeployments.RecurringSchedule.Frequency
getFrequency()
Required.int
getFrequencyValue()
Required.com.google.protobuf.Timestamp
getLastExecuteTime()
Output only.com.google.protobuf.TimestampOrBuilder
getLastExecuteTimeOrBuilder()
Output only.PatchDeployments.MonthlySchedule
getMonthly()
Required.PatchDeployments.MonthlyScheduleOrBuilder
getMonthlyOrBuilder()
Required.com.google.protobuf.Timestamp
getNextExecuteTime()
Output only.com.google.protobuf.TimestampOrBuilder
getNextExecuteTimeOrBuilder()
Output only.PatchDeployments.RecurringSchedule.ScheduleConfigCase
getScheduleConfigCase()
com.google.protobuf.Timestamp
getStartTime()
Optional.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
Optional.com.google.type.TimeOfDay
getTimeOfDay()
Required.com.google.type.TimeOfDayOrBuilder
getTimeOfDayOrBuilder()
Required.com.google.type.TimeZone
getTimeZone()
Required.com.google.type.TimeZoneOrBuilder
getTimeZoneOrBuilder()
Required.PatchDeployments.WeeklySchedule
getWeekly()
Required.PatchDeployments.WeeklyScheduleOrBuilder
getWeeklyOrBuilder()
Required.boolean
hasEndTime()
Optional.boolean
hasLastExecuteTime()
Output only.boolean
hasMonthly()
Required.boolean
hasNextExecuteTime()
Output only.boolean
hasStartTime()
Optional.boolean
hasTimeOfDay()
Required.boolean
hasTimeZone()
Required.boolean
hasWeekly()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
com.google.type.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
com.google.type.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
com.google.type.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
com.google.type.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()
-
-