Class PatchDeployments.RecurringSchedule.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.RecurringSchedule.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.RecurringSchedule.Builder>
      • getDefaultInstanceForType

        public PatchDeployments.RecurringSchedule getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public PatchDeployments.RecurringSchedule build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public PatchDeployments.RecurringSchedule buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.RecurringSchedule.Builder>
      • hasTimeZone

        public 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];
        Specified by:
        hasTimeZone in interface PatchDeployments.RecurringScheduleOrBuilder
        Returns:
        Whether the timeZone field is set.
      • getTimeZone

        public 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];
        Specified by:
        getTimeZone in interface PatchDeployments.RecurringScheduleOrBuilder
        Returns:
        The timeZone.
      • setTimeZone

        public PatchDeployments.RecurringSchedule.Builder setTimeZone​(com.google.type.TimeZone value)
         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];
      • setTimeZone

        public PatchDeployments.RecurringSchedule.Builder setTimeZone​(com.google.type.TimeZone.Builder builderForValue)
         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];
      • mergeTimeZone

        public PatchDeployments.RecurringSchedule.Builder mergeTimeZone​(com.google.type.TimeZone value)
         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];
      • clearTimeZone

        public PatchDeployments.RecurringSchedule.Builder clearTimeZone()
         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];
      • getTimeZoneBuilder

        public com.google.type.TimeZone.Builder getTimeZoneBuilder()
         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];
      • getTimeZoneOrBuilder

        public 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];
        Specified by:
        getTimeZoneOrBuilder in interface PatchDeployments.RecurringScheduleOrBuilder
      • hasStartTime

        public 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];
        Specified by:
        hasStartTime in interface PatchDeployments.RecurringScheduleOrBuilder
        Returns:
        Whether the startTime field is set.
      • getStartTime

        public 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];
        Specified by:
        getStartTime in interface PatchDeployments.RecurringScheduleOrBuilder
        Returns:
        The startTime.
      • setStartTime

        public PatchDeployments.RecurringSchedule.Builder setStartTime​(com.google.protobuf.Timestamp value)
         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];
      • setStartTime

        public PatchDeployments.RecurringSchedule.Builder setStartTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         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];
      • mergeStartTime

        public PatchDeployments.RecurringSchedule.Builder mergeStartTime​(com.google.protobuf.Timestamp value)
         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];
      • clearStartTime

        public PatchDeployments.RecurringSchedule.Builder clearStartTime()
         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];
      • getStartTimeBuilder

        public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
         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];
      • getStartTimeOrBuilder

        public 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];
        Specified by:
        getStartTimeOrBuilder in interface PatchDeployments.RecurringScheduleOrBuilder
      • hasEndTime

        public 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];
        Specified by:
        hasEndTime in interface PatchDeployments.RecurringScheduleOrBuilder
        Returns:
        Whether the endTime field is set.
      • getEndTime

        public 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];
        Specified by:
        getEndTime in interface PatchDeployments.RecurringScheduleOrBuilder
        Returns:
        The endTime.
      • setEndTime

        public PatchDeployments.RecurringSchedule.Builder setEndTime​(com.google.protobuf.Timestamp value)
         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];
      • setEndTime

        public PatchDeployments.RecurringSchedule.Builder setEndTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         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];
      • mergeEndTime

        public PatchDeployments.RecurringSchedule.Builder mergeEndTime​(com.google.protobuf.Timestamp value)
         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];
      • clearEndTime

        public PatchDeployments.RecurringSchedule.Builder clearEndTime()
         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];
      • getEndTimeBuilder

        public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
         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];
      • getEndTimeOrBuilder

        public 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];
        Specified by:
        getEndTimeOrBuilder in interface PatchDeployments.RecurringScheduleOrBuilder
      • hasTimeOfDay

        public boolean hasTimeOfDay()
         Required. Time of the day to run a recurring deployment.
         
        .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasTimeOfDay in interface PatchDeployments.RecurringScheduleOrBuilder
        Returns:
        Whether the timeOfDay field is set.
      • getTimeOfDay

        public 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];
        Specified by:
        getTimeOfDay in interface PatchDeployments.RecurringScheduleOrBuilder
        Returns:
        The timeOfDay.
      • setTimeOfDay

        public PatchDeployments.RecurringSchedule.Builder setTimeOfDay​(com.google.type.TimeOfDay value)
         Required. Time of the day to run a recurring deployment.
         
        .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED];
      • setTimeOfDay

        public PatchDeployments.RecurringSchedule.Builder setTimeOfDay​(com.google.type.TimeOfDay.Builder builderForValue)
         Required. Time of the day to run a recurring deployment.
         
        .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED];
      • mergeTimeOfDay

        public PatchDeployments.RecurringSchedule.Builder mergeTimeOfDay​(com.google.type.TimeOfDay value)
         Required. Time of the day to run a recurring deployment.
         
        .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED];
      • clearTimeOfDay

        public PatchDeployments.RecurringSchedule.Builder clearTimeOfDay()
         Required. Time of the day to run a recurring deployment.
         
        .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED];
      • getTimeOfDayBuilder

        public com.google.type.TimeOfDay.Builder getTimeOfDayBuilder()
         Required. Time of the day to run a recurring deployment.
         
        .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED];
      • getTimeOfDayOrBuilder

        public 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];
        Specified by:
        getTimeOfDayOrBuilder in interface PatchDeployments.RecurringScheduleOrBuilder
      • getFrequencyValue

        public int getFrequencyValue()
         Required. The frequency unit of this recurring schedule.
         
        .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getFrequencyValue in interface PatchDeployments.RecurringScheduleOrBuilder
        Returns:
        The enum numeric value on the wire for frequency.
      • setFrequencyValue

        public PatchDeployments.RecurringSchedule.Builder setFrequencyValue​(int value)
         Required. The frequency unit of this recurring schedule.
         
        .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The enum numeric value on the wire for frequency to set.
        Returns:
        This builder for chaining.
      • clearFrequency

        public PatchDeployments.RecurringSchedule.Builder clearFrequency()
         Required. The frequency unit of this recurring schedule.
         
        .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • hasWeekly

        public boolean hasWeekly()
         Required. Schedule with weekly executions.
         
        .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasWeekly in interface PatchDeployments.RecurringScheduleOrBuilder
        Returns:
        Whether the weekly field is set.
      • clearWeekly

        public PatchDeployments.RecurringSchedule.Builder clearWeekly()
         Required. Schedule with weekly executions.
         
        .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED];
      • getWeeklyBuilder

        public PatchDeployments.WeeklySchedule.Builder getWeeklyBuilder()
         Required. Schedule with weekly executions.
         
        .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED];
      • hasMonthly

        public boolean hasMonthly()
         Required. Schedule with monthly executions.
         
        .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasMonthly in interface PatchDeployments.RecurringScheduleOrBuilder
        Returns:
        Whether the monthly field is set.
      • clearMonthly

        public PatchDeployments.RecurringSchedule.Builder clearMonthly()
         Required. Schedule with monthly executions.
         
        .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED];
      • getMonthlyBuilder

        public PatchDeployments.MonthlySchedule.Builder getMonthlyBuilder()
         Required. Schedule with monthly executions.
         
        .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED];
      • hasLastExecuteTime

        public 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];
        Specified by:
        hasLastExecuteTime in interface PatchDeployments.RecurringScheduleOrBuilder
        Returns:
        Whether the lastExecuteTime field is set.
      • getLastExecuteTime

        public 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];
        Specified by:
        getLastExecuteTime in interface PatchDeployments.RecurringScheduleOrBuilder
        Returns:
        The lastExecuteTime.
      • setLastExecuteTime

        public PatchDeployments.RecurringSchedule.Builder setLastExecuteTime​(com.google.protobuf.Timestamp value)
         Output only. The time the last patch job ran successfully.
         
        .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setLastExecuteTime

        public PatchDeployments.RecurringSchedule.Builder setLastExecuteTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The time the last patch job ran successfully.
         
        .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeLastExecuteTime

        public PatchDeployments.RecurringSchedule.Builder mergeLastExecuteTime​(com.google.protobuf.Timestamp value)
         Output only. The time the last patch job ran successfully.
         
        .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearLastExecuteTime

        public PatchDeployments.RecurringSchedule.Builder clearLastExecuteTime()
         Output only. The time the last patch job ran successfully.
         
        .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getLastExecuteTimeBuilder

        public com.google.protobuf.Timestamp.Builder getLastExecuteTimeBuilder()
         Output only. The time the last patch job ran successfully.
         
        .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getLastExecuteTimeOrBuilder

        public 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];
        Specified by:
        getLastExecuteTimeOrBuilder in interface PatchDeployments.RecurringScheduleOrBuilder
      • hasNextExecuteTime

        public 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];
        Specified by:
        hasNextExecuteTime in interface PatchDeployments.RecurringScheduleOrBuilder
        Returns:
        Whether the nextExecuteTime field is set.
      • getNextExecuteTime

        public 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];
        Specified by:
        getNextExecuteTime in interface PatchDeployments.RecurringScheduleOrBuilder
        Returns:
        The nextExecuteTime.
      • setNextExecuteTime

        public PatchDeployments.RecurringSchedule.Builder setNextExecuteTime​(com.google.protobuf.Timestamp value)
         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];
      • setNextExecuteTime

        public PatchDeployments.RecurringSchedule.Builder setNextExecuteTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         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];
      • mergeNextExecuteTime

        public PatchDeployments.RecurringSchedule.Builder mergeNextExecuteTime​(com.google.protobuf.Timestamp value)
         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];
      • clearNextExecuteTime

        public PatchDeployments.RecurringSchedule.Builder clearNextExecuteTime()
         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];
      • getNextExecuteTimeBuilder

        public com.google.protobuf.Timestamp.Builder getNextExecuteTimeBuilder()
         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];
      • getNextExecuteTimeOrBuilder

        public 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];
        Specified by:
        getNextExecuteTimeOrBuilder in interface PatchDeployments.RecurringScheduleOrBuilder