Class PatchDeployments.RecurringSchedule

    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static PatchDeployments.RecurringSchedule parseFrom​(ByteBuffer data,
                                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PatchDeployments.RecurringSchedule parseFrom​(com.google.protobuf.ByteString data)
                                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PatchDeployments.RecurringSchedule parseFrom​(com.google.protobuf.ByteString data,
                                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PatchDeployments.RecurringSchedule parseFrom​(byte[] data)
                                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PatchDeployments.RecurringSchedule parseFrom​(byte[] data,
                                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

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

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

        protected PatchDeployments.RecurringSchedule.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<PatchDeployments.RecurringSchedule> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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