Package com.google.container.v1
Class RecurringMaintenanceWindow.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RecurringMaintenanceWindow.Builder>
com.google.container.v1.RecurringMaintenanceWindow.Builder
- All Implemented Interfaces:
RecurringMaintenanceWindowOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RecurringMaintenanceWindow
public static final class RecurringMaintenanceWindow.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RecurringMaintenanceWindow.Builder>
implements RecurringMaintenanceWindowOrBuilder
Represents an arbitrary window of time that recurs. Will replace RecurringTimeWindow.Protobuf type
google.container.v1.RecurringMaintenanceWindow-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Required.Required.Required.Optional.Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.com.google.protobuf.DurationRequired.com.google.protobuf.Duration.BuilderRequired.com.google.protobuf.DurationOrBuilderRequired.Required.Required.Required.booleanOptional.booleanRequired.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeDelayUntil(Date value) Optional.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeWindowDuration(com.google.protobuf.Duration value) Required.mergeWindowStartTime(TimeOfDay value) Required.setDelayUntil(Date value) Optional.setDelayUntil(Date.Builder builderForValue) Optional.setRecurrence(String value) Required.setRecurrenceBytes(com.google.protobuf.ByteString value) Required.setWindowDuration(com.google.protobuf.Duration value) Required.setWindowDuration(com.google.protobuf.Duration.Builder builderForValue) Required.setWindowStartTime(TimeOfDay value) Required.setWindowStartTime(TimeOfDay.Builder builderForValue) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RecurringMaintenanceWindow.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RecurringMaintenanceWindow.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RecurringMaintenanceWindow.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RecurringMaintenanceWindow.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RecurringMaintenanceWindow.Builder>
-
mergeFrom
public RecurringMaintenanceWindow.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RecurringMaintenanceWindow.Builder>- Throws:
IOException
-
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:
hasDelayUntilin interfaceRecurringMaintenanceWindowOrBuilder- Returns:
- Whether the delayUntil field is set.
-
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:
getDelayUntilin interfaceRecurringMaintenanceWindowOrBuilder- Returns:
- The delayUntil.
-
setDelayUntil
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]; -
setDelayUntil
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]; -
mergeDelayUntil
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]; -
clearDelayUntil
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]; -
getDelayUntilBuilder
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]; -
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:
getDelayUntilOrBuilderin interfaceRecurringMaintenanceWindowOrBuilder
-
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:
hasWindowStartTimein interfaceRecurringMaintenanceWindowOrBuilder- Returns:
- Whether the windowStartTime field is set.
-
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:
getWindowStartTimein interfaceRecurringMaintenanceWindowOrBuilder- Returns:
- The windowStartTime.
-
setWindowStartTime
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]; -
setWindowStartTime
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]; -
mergeWindowStartTime
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]; -
clearWindowStartTime
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]; -
getWindowStartTimeBuilder
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]; -
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:
getWindowStartTimeOrBuilderin interfaceRecurringMaintenanceWindowOrBuilder
-
hasWindowDuration
public boolean hasWindowDuration()Required. Duration of the window.
.google.protobuf.Duration window_duration = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasWindowDurationin interfaceRecurringMaintenanceWindowOrBuilder- 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:
getWindowDurationin interfaceRecurringMaintenanceWindowOrBuilder- Returns:
- The windowDuration.
-
setWindowDuration
Required. Duration of the window.
.google.protobuf.Duration window_duration = 3 [(.google.api.field_behavior) = REQUIRED]; -
setWindowDuration
public RecurringMaintenanceWindow.Builder setWindowDuration(com.google.protobuf.Duration.Builder builderForValue) Required. Duration of the window.
.google.protobuf.Duration window_duration = 3 [(.google.api.field_behavior) = REQUIRED]; -
mergeWindowDuration
Required. Duration of the window.
.google.protobuf.Duration window_duration = 3 [(.google.api.field_behavior) = REQUIRED]; -
clearWindowDuration
Required. Duration of the window.
.google.protobuf.Duration window_duration = 3 [(.google.api.field_behavior) = REQUIRED]; -
getWindowDurationBuilder
public com.google.protobuf.Duration.Builder getWindowDurationBuilder()Required. Duration of the window.
.google.protobuf.Duration window_duration = 3 [(.google.api.field_behavior) = REQUIRED]; -
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:
getWindowDurationOrBuilderin interfaceRecurringMaintenanceWindowOrBuilder
-
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:
getRecurrencein interfaceRecurringMaintenanceWindowOrBuilder- 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:
getRecurrenceBytesin interfaceRecurringMaintenanceWindowOrBuilder- Returns:
- The bytes for recurrence.
-
setRecurrence
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];- Parameters:
value- The recurrence to set.- Returns:
- This builder for chaining.
-
clearRecurrence
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];- Returns:
- This builder for chaining.
-
setRecurrenceBytes
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];- Parameters:
value- The bytes for recurrence to set.- Returns:
- This builder for chaining.
-