public static final class MaintenanceWindow.Builder extends GeneratedMessageV3.Builder<MaintenanceWindow.Builder> implements MaintenanceWindowOrBuilder
The configuration settings for Cloud Composer maintenance window.
The following example:
<code><code>
{
"startTime":"2019-08-01T01:00:00Z"
"endTime":"2019-08-01T07:00:00Z"
"recurrence":"FREQ=WEEKLY;BYDAY=TU,WE"
}
</code></code>
would define a maintenance window between 01 and 07 hours UTC during
each Tuesday and Wednesday.
Protobuf type google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MaintenanceWindow.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MaintenanceWindow build()
buildPartial()
public MaintenanceWindow buildPartial()
clear()
public MaintenanceWindow.Builder clear()
Overrides
clearEndTime()
public MaintenanceWindow.Builder clearEndTime()
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];
clearField(Descriptors.FieldDescriptor field)
public MaintenanceWindow.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MaintenanceWindow.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRecurrence()
public MaintenanceWindow.Builder clearRecurrence()
Required. Maintenance window recurrence. Format is a subset of
RFC-5545 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];
clearStartTime()
public MaintenanceWindow.Builder clearStartTime()
Required. Start time of the first recurrence of the maintenance window.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public MaintenanceWindow.Builder clone()
Overrides
getDefaultInstanceForType()
public MaintenanceWindow getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEndTime()
public 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];
Returns |
Type |
Description |
Timestamp |
The endTime.
|
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
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()
public 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];
getRecurrence()
public String getRecurrence()
Required. Maintenance window recurrence. Format is a subset of
RFC-5545 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];
Returns |
Type |
Description |
String |
The recurrence.
|
getRecurrenceBytes()
public ByteString getRecurrenceBytes()
Required. Maintenance window recurrence. Format is a subset of
RFC-5545 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];
Returns |
Type |
Description |
ByteString |
The bytes for recurrence.
|
getStartTime()
public Timestamp getStartTime()
Required. Start time of the first recurrence of the maintenance window.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Timestamp |
The startTime.
|
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
Required. Start time of the first recurrence of the maintenance window.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Required. Start time of the first recurrence of the maintenance window.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
hasEndTime()
public 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];
Returns |
Type |
Description |
boolean |
Whether the endTime field is set.
|
hasStartTime()
public boolean hasStartTime()
Required. Start time of the first recurrence of the maintenance window.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the startTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeEndTime(Timestamp value)
public MaintenanceWindow.Builder mergeEndTime(Timestamp value)
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];
mergeFrom(MaintenanceWindow other)
public MaintenanceWindow.Builder mergeFrom(MaintenanceWindow other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MaintenanceWindow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MaintenanceWindow.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeStartTime(Timestamp value)
public MaintenanceWindow.Builder mergeStartTime(Timestamp value)
Required. Start time of the first recurrence of the maintenance window.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MaintenanceWindow.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEndTime(Timestamp value)
public MaintenanceWindow.Builder setEndTime(Timestamp value)
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];
setEndTime(Timestamp.Builder builderForValue)
public MaintenanceWindow.Builder setEndTime(Timestamp.Builder builderForValue)
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];
Parameter |
Name |
Description |
builderForValue |
Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public MaintenanceWindow.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRecurrence(String value)
public MaintenanceWindow.Builder setRecurrence(String value)
Required. Maintenance window recurrence. Format is a subset of
RFC-5545 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];
Parameter |
Name |
Description |
value |
String
The recurrence to set.
|
setRecurrenceBytes(ByteString value)
public MaintenanceWindow.Builder setRecurrenceBytes(ByteString value)
Required. Maintenance window recurrence. Format is a subset of
RFC-5545 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];
Parameter |
Name |
Description |
value |
ByteString
The bytes for recurrence to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MaintenanceWindow.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setStartTime(Timestamp value)
public MaintenanceWindow.Builder setStartTime(Timestamp value)
Required. Start time of the first recurrence of the maintenance window.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
setStartTime(Timestamp.Builder builderForValue)
public MaintenanceWindow.Builder setStartTime(Timestamp.Builder builderForValue)
Required. Start time of the first recurrence of the maintenance window.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
builderForValue |
Builder
|
setUnknownFields(UnknownFieldSet unknownFields)
public final MaintenanceWindow.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides