Class PatchDeployments.RecurringSchedule

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule
All Implemented Interfaces:
PatchDeployments.RecurringScheduleOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
PatchDeployments

public static final class PatchDeployments.RecurringSchedule extends com.google.protobuf.GeneratedMessage implements PatchDeployments.RecurringScheduleOrBuilder
 Sets the time for recurring patch deployments.
 
Protobuf type google.cloud.osconfig.v1beta.RecurringSchedule
See Also:
  • Field Details

    • TIME_ZONE_FIELD_NUMBER

      public static final int TIME_ZONE_FIELD_NUMBER
      See Also:
    • START_TIME_FIELD_NUMBER

      public static final int START_TIME_FIELD_NUMBER
      See Also:
    • END_TIME_FIELD_NUMBER

      public static final int END_TIME_FIELD_NUMBER
      See Also:
    • TIME_OF_DAY_FIELD_NUMBER

      public static final int TIME_OF_DAY_FIELD_NUMBER
      See Also:
    • FREQUENCY_FIELD_NUMBER

      public static final int FREQUENCY_FIELD_NUMBER
      See Also:
    • WEEKLY_FIELD_NUMBER

      public static final int WEEKLY_FIELD_NUMBER
      See Also:
    • MONTHLY_FIELD_NUMBER

      public static final int MONTHLY_FIELD_NUMBER
      See Also:
    • LAST_EXECUTE_TIME_FIELD_NUMBER

      public static final int LAST_EXECUTE_TIME_FIELD_NUMBER
      See Also:
    • NEXT_EXECUTE_TIME_FIELD_NUMBER

      public static final int NEXT_EXECUTE_TIME_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getScheduleConfigCase

      Specified by:
      getScheduleConfigCase in interface PatchDeployments.RecurringScheduleOrBuilder
    • 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 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 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 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 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.v1beta.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.
    • getFrequency

       Required. The frequency unit of this recurring schedule.
       
      .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFrequency in interface PatchDeployments.RecurringScheduleOrBuilder
      Returns:
      The frequency.
    • hasWeekly

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

      public PatchDeployments.WeeklySchedule getWeekly()
       Required. Schedule with weekly executions.
       
      .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getWeekly in interface PatchDeployments.RecurringScheduleOrBuilder
      Returns:
      The weekly.
    • getWeeklyOrBuilder

      public PatchDeployments.WeeklyScheduleOrBuilder getWeeklyOrBuilder()
       Required. Schedule with weekly executions.
       
      .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getWeeklyOrBuilder in interface PatchDeployments.RecurringScheduleOrBuilder
    • hasMonthly

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

      public PatchDeployments.MonthlySchedule getMonthly()
       Required. Schedule with monthly executions.
       
      .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMonthly in interface PatchDeployments.RecurringScheduleOrBuilder
      Returns:
      The monthly.
    • getMonthlyOrBuilder

      public PatchDeployments.MonthlyScheduleOrBuilder getMonthlyOrBuilder()
       Required. Schedule with monthly executions.
       
      .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMonthlyOrBuilder in interface PatchDeployments.RecurringScheduleOrBuilder
    • 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.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • 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
    • parseFrom

      public static PatchDeployments.RecurringSchedule parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PatchDeployments.RecurringSchedule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PatchDeployments.RecurringSchedule parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PatchDeployments.RecurringSchedule parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PatchDeployments.RecurringSchedule parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PatchDeployments.RecurringSchedule parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static PatchDeployments.RecurringSchedule.Builder newBuilder()
    • newBuilder

    • 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.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static PatchDeployments.RecurringSchedule getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<PatchDeployments.RecurringSchedule> parser()
    • 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.GeneratedMessage
    • getDefaultInstanceForType

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