Class RecurringTimeWindow.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<RecurringTimeWindow.Builder>
      • clear

        public RecurringTimeWindow.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<RecurringTimeWindow.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<RecurringTimeWindow.Builder>
      • getDefaultInstanceForType

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

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

        public RecurringTimeWindow buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public RecurringTimeWindow.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<RecurringTimeWindow.Builder>
      • setField

        public RecurringTimeWindow.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<RecurringTimeWindow.Builder>
      • clearField

        public RecurringTimeWindow.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<RecurringTimeWindow.Builder>
      • clearOneof

        public RecurringTimeWindow.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RecurringTimeWindow.Builder>
      • setRepeatedField

        public RecurringTimeWindow.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            int index,
                                                            Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RecurringTimeWindow.Builder>
      • addRepeatedField

        public RecurringTimeWindow.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RecurringTimeWindow.Builder>
      • mergeFrom

        public RecurringTimeWindow.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RecurringTimeWindow.Builder>
      • isInitialized

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

        public RecurringTimeWindow.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RecurringTimeWindow.Builder>
        Throws:
        IOException
      • hasWindow

        public boolean hasWindow()
         The window of the first recurrence.
         
        .google.container.v1beta1.TimeWindow window = 1;
        Specified by:
        hasWindow in interface RecurringTimeWindowOrBuilder
        Returns:
        Whether the window field is set.
      • clearWindow

        public RecurringTimeWindow.Builder clearWindow()
         The window of the first recurrence.
         
        .google.container.v1beta1.TimeWindow window = 1;
      • getWindowBuilder

        public TimeWindow.Builder getWindowBuilder()
         The window of the first recurrence.
         
        .google.container.v1beta1.TimeWindow window = 1;
      • getRecurrence

        public String getRecurrence()
         An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
         this window reccurs. They go on for the span of time between the start and
         end time.
        
         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`
        
         This specifies how frequently the window starts. Eg, if you wanted to have
         a 9-5 UTC-4 window every weekday, you'd use something like:
         ```
         start time = 2019-01-01T09:00:00-0400
         end time = 2019-01-01T17:00:00-0400
         recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR
         ```
        
         Windows can span multiple days. Eg, to make the window encompass every
         weekend from midnight Saturday till the last minute of Sunday UTC:
         ```
         start time = 2019-01-05T00:00:00Z
         end time = 2019-01-07T23:59:00Z
         recurrence = FREQ=WEEKLY;BYDAY=SA
         ```
        
         Note the start and end time's specific dates are largely arbitrary except
         to specify duration of the window and when it first starts.
         The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
         
        string recurrence = 2;
        Specified by:
        getRecurrence in interface RecurringTimeWindowOrBuilder
        Returns:
        The recurrence.
      • getRecurrenceBytes

        public com.google.protobuf.ByteString getRecurrenceBytes()
         An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
         this window reccurs. They go on for the span of time between the start and
         end time.
        
         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`
        
         This specifies how frequently the window starts. Eg, if you wanted to have
         a 9-5 UTC-4 window every weekday, you'd use something like:
         ```
         start time = 2019-01-01T09:00:00-0400
         end time = 2019-01-01T17:00:00-0400
         recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR
         ```
        
         Windows can span multiple days. Eg, to make the window encompass every
         weekend from midnight Saturday till the last minute of Sunday UTC:
         ```
         start time = 2019-01-05T00:00:00Z
         end time = 2019-01-07T23:59:00Z
         recurrence = FREQ=WEEKLY;BYDAY=SA
         ```
        
         Note the start and end time's specific dates are largely arbitrary except
         to specify duration of the window and when it first starts.
         The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
         
        string recurrence = 2;
        Specified by:
        getRecurrenceBytes in interface RecurringTimeWindowOrBuilder
        Returns:
        The bytes for recurrence.
      • setRecurrence

        public RecurringTimeWindow.Builder setRecurrence​(String value)
         An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
         this window reccurs. They go on for the span of time between the start and
         end time.
        
         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`
        
         This specifies how frequently the window starts. Eg, if you wanted to have
         a 9-5 UTC-4 window every weekday, you'd use something like:
         ```
         start time = 2019-01-01T09:00:00-0400
         end time = 2019-01-01T17:00:00-0400
         recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR
         ```
        
         Windows can span multiple days. Eg, to make the window encompass every
         weekend from midnight Saturday till the last minute of Sunday UTC:
         ```
         start time = 2019-01-05T00:00:00Z
         end time = 2019-01-07T23:59:00Z
         recurrence = FREQ=WEEKLY;BYDAY=SA
         ```
        
         Note the start and end time's specific dates are largely arbitrary except
         to specify duration of the window and when it first starts.
         The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
         
        string recurrence = 2;
        Parameters:
        value - The recurrence to set.
        Returns:
        This builder for chaining.
      • clearRecurrence

        public RecurringTimeWindow.Builder clearRecurrence()
         An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
         this window reccurs. They go on for the span of time between the start and
         end time.
        
         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`
        
         This specifies how frequently the window starts. Eg, if you wanted to have
         a 9-5 UTC-4 window every weekday, you'd use something like:
         ```
         start time = 2019-01-01T09:00:00-0400
         end time = 2019-01-01T17:00:00-0400
         recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR
         ```
        
         Windows can span multiple days. Eg, to make the window encompass every
         weekend from midnight Saturday till the last minute of Sunday UTC:
         ```
         start time = 2019-01-05T00:00:00Z
         end time = 2019-01-07T23:59:00Z
         recurrence = FREQ=WEEKLY;BYDAY=SA
         ```
        
         Note the start and end time's specific dates are largely arbitrary except
         to specify duration of the window and when it first starts.
         The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
         
        string recurrence = 2;
        Returns:
        This builder for chaining.
      • setRecurrenceBytes

        public RecurringTimeWindow.Builder setRecurrenceBytes​(com.google.protobuf.ByteString value)
         An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
         this window reccurs. They go on for the span of time between the start and
         end time.
        
         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`
        
         This specifies how frequently the window starts. Eg, if you wanted to have
         a 9-5 UTC-4 window every weekday, you'd use something like:
         ```
         start time = 2019-01-01T09:00:00-0400
         end time = 2019-01-01T17:00:00-0400
         recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR
         ```
        
         Windows can span multiple days. Eg, to make the window encompass every
         weekend from midnight Saturday till the last minute of Sunday UTC:
         ```
         start time = 2019-01-05T00:00:00Z
         end time = 2019-01-07T23:59:00Z
         recurrence = FREQ=WEEKLY;BYDAY=SA
         ```
        
         Note the start and end time's specific dates are largely arbitrary except
         to specify duration of the window and when it first starts.
         The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
         
        string recurrence = 2;
        Parameters:
        value - The bytes for recurrence to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final RecurringTimeWindow.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RecurringTimeWindow.Builder>
      • mergeUnknownFields

        public final RecurringTimeWindow.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RecurringTimeWindow.Builder>