public final class RecurringMaintenanceWindow extends GeneratedMessage implements RecurringMaintenanceWindowOrBuilder
Represents an arbitrary window of time that recurs.
Alternative to RecurringTimeWindow, with renamed fields.
Protobuf type google.container.v1beta1.RecurringMaintenanceWindow
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
DELAY_UNTIL_FIELD_NUMBER
public static final int DELAY_UNTIL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RECURRENCE_FIELD_NUMBER
public static final int RECURRENCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
WINDOW_DURATION_FIELD_NUMBER
public static final int WINDOW_DURATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
WINDOW_START_TIME_FIELD_NUMBER
public static final int WINDOW_START_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static RecurringMaintenanceWindow getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RecurringMaintenanceWindow.Builder newBuilder()
newBuilder(RecurringMaintenanceWindow prototype)
public static RecurringMaintenanceWindow.Builder newBuilder(RecurringMaintenanceWindow prototype)
parseDelimitedFrom(InputStream input)
public static RecurringMaintenanceWindow parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RecurringMaintenanceWindow parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RecurringMaintenanceWindow parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RecurringMaintenanceWindow parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RecurringMaintenanceWindow parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RecurringMaintenanceWindow parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static RecurringMaintenanceWindow parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RecurringMaintenanceWindow parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static RecurringMaintenanceWindow parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RecurringMaintenanceWindow parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RecurringMaintenanceWindow parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RecurringMaintenanceWindow parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<RecurringMaintenanceWindow> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public RecurringMaintenanceWindow getDefaultInstanceForType()
getDelayUntil()
public Date getDelayUntil()
Optional. Windows will not be scheduled before that day.
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];
| Returns |
| Type |
Description |
com.google.type.Date |
The delayUntil.
|
getDelayUntilOrBuilder()
public DateOrBuilder getDelayUntilOrBuilder()
Optional. Windows will not be scheduled before that day.
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];
| Returns |
| Type |
Description |
com.google.type.DateOrBuilder |
|
getParserForType()
public Parser<RecurringMaintenanceWindow> getParserForType()
Overrides
getRecurrence()
public String getRecurrence()
Required. An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3)
for how this window reccurs.
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 |
| Type |
Description |
String |
The recurrence.
|
getRecurrenceBytes()
public ByteString getRecurrenceBytes()
Required. An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3)
for how this window reccurs.
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 |
| Type |
Description |
ByteString |
The bytes for recurrence.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getWindowDuration()
public Duration getWindowDuration()
Required. Duration of the window.
.google.protobuf.Duration window_duration = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
Duration |
The windowDuration.
|
getWindowDurationOrBuilder()
public DurationOrBuilder getWindowDurationOrBuilder()
Required. Duration of the window.
.google.protobuf.Duration window_duration = 3 [(.google.api.field_behavior) = REQUIRED];
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];
| Returns |
| Type |
Description |
com.google.type.TimeOfDay |
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];
| Returns |
| Type |
Description |
com.google.type.TimeOfDayOrBuilder |
|
hasDelayUntil()
public boolean hasDelayUntil()
Optional. Windows will not be scheduled before that day.
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];
| Returns |
| Type |
Description |
boolean |
Whether the delayUntil field is set.
|
hasWindowDuration()
public boolean hasWindowDuration()
Required. Duration of the window.
.google.protobuf.Duration window_duration = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the windowDuration field is set.
|
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];
| Returns |
| Type |
Description |
boolean |
Whether the windowStartTime field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RecurringMaintenanceWindow.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected RecurringMaintenanceWindow.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public RecurringMaintenanceWindow.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides