Interface MaintenanceWindowOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MaintenanceWindow
,MaintenanceWindow.Builder
public interface MaintenanceWindowOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Timestamp
getEndTime()
Required.com.google.protobuf.TimestampOrBuilder
getEndTimeOrBuilder()
Required.String
getRecurrence()
Required.com.google.protobuf.ByteString
getRecurrenceBytes()
Required.com.google.protobuf.Timestamp
getStartTime()
Required.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
Required.boolean
hasEndTime()
Required.boolean
hasStartTime()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasStartTime
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:
- Whether the startTime field is set.
-
getStartTime
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];
- Returns:
- The startTime.
-
getStartTimeOrBuilder
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];
-
hasEndTime
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:
- Whether the endTime field is set.
-
getEndTime
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];
- Returns:
- The endTime.
-
getEndTimeOrBuilder
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];
-
getRecurrence
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];
- Returns:
- The recurrence.
-
getRecurrenceBytes
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];
- Returns:
- The bytes for recurrence.
-
-