Class RecurringMaintenanceWindow

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.container.v1.RecurringMaintenanceWindow
All Implemented Interfaces:
RecurringMaintenanceWindowOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class RecurringMaintenanceWindow extends com.google.protobuf.GeneratedMessage implements RecurringMaintenanceWindowOrBuilder
 Represents an arbitrary window of time that recurs.
 Will replace RecurringTimeWindow.
 
Protobuf type google.container.v1.RecurringMaintenanceWindow
See Also:
  • Field Details

    • DELAY_UNTIL_FIELD_NUMBER

      public static final int DELAY_UNTIL_FIELD_NUMBER
      See Also:
    • WINDOW_START_TIME_FIELD_NUMBER

      public static final int WINDOW_START_TIME_FIELD_NUMBER
      See Also:
    • WINDOW_DURATION_FIELD_NUMBER

      public static final int WINDOW_DURATION_FIELD_NUMBER
      See Also:
    • RECURRENCE_FIELD_NUMBER

      public static final int RECURRENCE_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
    • hasDelayUntil

      public boolean hasDelayUntil()
       Optional. Specifies the date before which will not be scheduled.
       Depending on the recurrence, this may be the date the first window appears.
       Days are measured in the UTC timezone. This setting must be used when
       INTERVAL>1 or FREQ=WEEKLY/MONTHLY and no BYDAY specified.
       
      optional .google.type.Date delay_until = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDelayUntil in interface RecurringMaintenanceWindowOrBuilder
      Returns:
      Whether the delayUntil field is set.
    • getDelayUntil

      public Date getDelayUntil()
       Optional. Specifies the date before which will not be scheduled.
       Depending on the recurrence, this may be the date the first window appears.
       Days are measured in the UTC timezone. This setting must be used when
       INTERVAL>1 or FREQ=WEEKLY/MONTHLY and no BYDAY specified.
       
      optional .google.type.Date delay_until = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDelayUntil in interface RecurringMaintenanceWindowOrBuilder
      Returns:
      The delayUntil.
    • getDelayUntilOrBuilder

      public DateOrBuilder getDelayUntilOrBuilder()
       Optional. Specifies the date before which will not be scheduled.
       Depending on the recurrence, this may be the date the first window appears.
       Days are measured in the UTC timezone. This setting must be used when
       INTERVAL>1 or FREQ=WEEKLY/MONTHLY and no BYDAY specified.
       
      optional .google.type.Date delay_until = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDelayUntilOrBuilder in interface RecurringMaintenanceWindowOrBuilder
    • hasWindowStartTime

      public boolean hasWindowStartTime()
       Required. Start time of the window on days that it is scheduled,
       assuming UTC timezone.
       
      .google.type.TimeOfDay window_start_time = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasWindowStartTime in interface RecurringMaintenanceWindowOrBuilder
      Returns:
      Whether the windowStartTime field is set.
    • getWindowStartTime

      public TimeOfDay getWindowStartTime()
       Required. Start time of the window on days that it is scheduled,
       assuming UTC timezone.
       
      .google.type.TimeOfDay window_start_time = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getWindowStartTime in interface RecurringMaintenanceWindowOrBuilder
      Returns:
      The windowStartTime.
    • getWindowStartTimeOrBuilder

      public TimeOfDayOrBuilder getWindowStartTimeOrBuilder()
       Required. Start time of the window on days that it is scheduled,
       assuming UTC timezone.
       
      .google.type.TimeOfDay window_start_time = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getWindowStartTimeOrBuilder in interface RecurringMaintenanceWindowOrBuilder
    • hasWindowDuration

      public boolean hasWindowDuration()
       Required. Duration of the window.
       
      .google.protobuf.Duration window_duration = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasWindowDuration in interface RecurringMaintenanceWindowOrBuilder
      Returns:
      Whether the windowDuration field is set.
    • getWindowDuration

      public com.google.protobuf.Duration getWindowDuration()
       Required. Duration of the window.
       
      .google.protobuf.Duration window_duration = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getWindowDuration in interface RecurringMaintenanceWindowOrBuilder
      Returns:
      The windowDuration.
    • getWindowDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getWindowDurationOrBuilder()
       Required. Duration of the window.
       
      .google.protobuf.Duration window_duration = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getWindowDurationOrBuilder in interface RecurringMaintenanceWindowOrBuilder
    • getRecurrence

      public String getRecurrence()
       Required. An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3)
       for how this window recurs.
      
       For example, to have something repeat every weekday, you'd use:
       `FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR`
      
       To repeat some window daily (equivalent to the DailyMaintenanceWindow):
       `FREQ=DAILY`
      
       For the first weekend of every month:
       `FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU`
      
       The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
       
      string recurrence = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRecurrence in interface RecurringMaintenanceWindowOrBuilder
      Returns:
      The recurrence.
    • getRecurrenceBytes

      public com.google.protobuf.ByteString getRecurrenceBytes()
       Required. An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3)
       for how this window recurs.
      
       For example, to have something repeat every weekday, you'd use:
       `FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR`
      
       To repeat some window daily (equivalent to the DailyMaintenanceWindow):
       `FREQ=DAILY`
      
       For the first weekend of every month:
       `FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU`
      
       The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
       
      string recurrence = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRecurrenceBytes in interface RecurringMaintenanceWindowOrBuilder
      Returns:
      The bytes for recurrence.
    • 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 RecurringMaintenanceWindow parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static RecurringMaintenanceWindow parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static RecurringMaintenanceWindow parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static RecurringMaintenanceWindow.Builder newBuilder()
    • newBuilder

      public static RecurringMaintenanceWindow.Builder newBuilder(RecurringMaintenanceWindow prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected RecurringMaintenanceWindow.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static RecurringMaintenanceWindow getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<RecurringMaintenanceWindow> parser()
    • getParserForType

      public com.google.protobuf.Parser<RecurringMaintenanceWindow> 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 RecurringMaintenanceWindow getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder