- 1.85.0 (latest)
- 1.83.0
- 1.82.0
- 1.80.0
- 1.78.0
- 1.76.0
- 1.75.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.68.0
- 1.67.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.60.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
public static final class MaintenanceWindow.Builder extends GeneratedMessage.Builder<MaintenanceWindow.Builder> implements MaintenanceWindowOrBuilderThe 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MaintenanceWindow.BuilderImplements
MaintenanceWindowOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public MaintenanceWindow build()| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow |
|
buildPartial()
public MaintenanceWindow buildPartial()| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow |
|
clear()
public MaintenanceWindow.Builder clear()| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow.Builder |
This builder for chaining. |
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];
| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow.Builder |
|
getDefaultInstanceForType()
public MaintenanceWindow getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
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];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow.Builder |
|
mergeFrom(MaintenanceWindow other)
public MaintenanceWindow.Builder mergeFrom(MaintenanceWindow other)| Parameter | |
|---|---|
| Name | Description |
other |
MaintenanceWindow |
| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MaintenanceWindow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MaintenanceWindow.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow.Builder |
|
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 |
StringThe recurrence to set. |
| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for recurrence to set. |
| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow.Builder |
This builder for chaining. |
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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow.Builder |
|