public final class MaintenanceWindow extends com.google.protobuf.GeneratedMessageV3 implements MaintenanceWindowOrBuilder
The configuration settings for Cloud Composer maintenance window.
The following example:
```
{
"startTime":"2019-08-01T01:00:00Z"
"endTime":"2019-08-01T07:00:00Z"
"recurrence":"FREQ=WEEKLY;BYDAY=TU,WE"
}
```
would define a maintenance window between 01 and 07 hours UTC during
each Tuesday and Wednesday.
Protobuf type google.cloud.orchestration.airflow.service.v1.MaintenanceWindow| Modifier and Type | Class and Description |
|---|---|
static class |
MaintenanceWindow.Builder
The configuration settings for Cloud Composer maintenance window.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
END_TIME_FIELD_NUMBER |
static int |
RECURRENCE_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static MaintenanceWindow |
getDefaultInstance() |
MaintenanceWindow |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Timestamp |
getEndTime()
Required.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
Required.
|
com.google.protobuf.Parser<MaintenanceWindow> |
getParserForType() |
String |
getRecurrence()
Required.
|
com.google.protobuf.ByteString |
getRecurrenceBytes()
Required.
|
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getStartTime()
Required.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
Required.
|
boolean |
hasEndTime()
Required.
|
int |
hashCode() |
boolean |
hasStartTime()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static MaintenanceWindow.Builder |
newBuilder() |
static MaintenanceWindow.Builder |
newBuilder(MaintenanceWindow prototype) |
MaintenanceWindow.Builder |
newBuilderForType() |
protected MaintenanceWindow.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static MaintenanceWindow |
parseDelimitedFrom(InputStream input) |
static MaintenanceWindow |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MaintenanceWindow |
parseFrom(byte[] data) |
static MaintenanceWindow |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MaintenanceWindow |
parseFrom(ByteBuffer data) |
static MaintenanceWindow |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MaintenanceWindow |
parseFrom(com.google.protobuf.ByteString data) |
static MaintenanceWindow |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MaintenanceWindow |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MaintenanceWindow |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MaintenanceWindow |
parseFrom(InputStream input) |
static MaintenanceWindow |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<MaintenanceWindow> |
parser() |
MaintenanceWindow.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int START_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
public static final int RECURRENCE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasStartTime()
Required. Start time of the first recurrence of the maintenance window.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
hasStartTime in interface MaintenanceWindowOrBuilderpublic com.google.protobuf.Timestamp getStartTime()
Required. Start time of the first recurrence of the maintenance window.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
getStartTime in interface MaintenanceWindowOrBuilderpublic com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Required. Start time of the first recurrence of the maintenance window.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
getStartTimeOrBuilder in interface MaintenanceWindowOrBuilderpublic boolean hasEndTime()
Required. Maintenance window end time. It is used only to calculate the duration of the maintenance window. The value for end-time must be in the future, relative to `start_time`.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED];hasEndTime in interface MaintenanceWindowOrBuilderpublic com.google.protobuf.Timestamp getEndTime()
Required. Maintenance window end time. It is used only to calculate the duration of the maintenance window. The value for end-time must be in the future, relative to `start_time`.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED];getEndTime in interface MaintenanceWindowOrBuilderpublic com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Required. Maintenance window end time. It is used only to calculate the duration of the maintenance window. The value for end-time must be in the future, relative to `start_time`.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED];getEndTimeOrBuilder in interface MaintenanceWindowOrBuilderpublic String getRecurrence()
Required. Maintenance window recurrence. Format is a subset of [RFC-5545](https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed values for `FREQ` field are `FREQ=DAILY` and `FREQ=WEEKLY;BYDAY=...` Example values: `FREQ=WEEKLY;BYDAY=TU,WE`, `FREQ=DAILY`.
string recurrence = 3 [(.google.api.field_behavior) = REQUIRED];getRecurrence in interface MaintenanceWindowOrBuilderpublic com.google.protobuf.ByteString getRecurrenceBytes()
Required. Maintenance window recurrence. Format is a subset of [RFC-5545](https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed values for `FREQ` field are `FREQ=DAILY` and `FREQ=WEEKLY;BYDAY=...` Example values: `FREQ=WEEKLY;BYDAY=TU,WE`, `FREQ=DAILY`.
string recurrence = 3 [(.google.api.field_behavior) = REQUIRED];getRecurrenceBytes in interface MaintenanceWindowOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static MaintenanceWindow parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MaintenanceWindow parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MaintenanceWindow parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MaintenanceWindow parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MaintenanceWindow parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MaintenanceWindow parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MaintenanceWindow parseFrom(InputStream input) throws IOException
IOExceptionpublic static MaintenanceWindow parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MaintenanceWindow parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static MaintenanceWindow parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MaintenanceWindow parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static MaintenanceWindow parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic MaintenanceWindow.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static MaintenanceWindow.Builder newBuilder()
public static MaintenanceWindow.Builder newBuilder(MaintenanceWindow prototype)
public MaintenanceWindow.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected MaintenanceWindow.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static MaintenanceWindow getDefaultInstance()
public static com.google.protobuf.Parser<MaintenanceWindow> parser()
public com.google.protobuf.Parser<MaintenanceWindow> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public MaintenanceWindow getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.