Interface ResourceMaintenanceScheduleOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourceMaintenanceSchedule,ResourceMaintenanceSchedule.Builder
@Generated
public interface ResourceMaintenanceScheduleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasStartTime
boolean hasStartTime()Optional. Preferred time to start the maintenance operation on the specified day.
.google.type.TimeOfDay start_time = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the startTime field is set.
-
getStartTime
TimeOfDay getStartTime()Optional. Preferred time to start the maintenance operation on the specified day.
.google.type.TimeOfDay start_time = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The startTime.
-
getStartTimeOrBuilder
TimeOfDayOrBuilder getStartTimeOrBuilder()Optional. Preferred time to start the maintenance operation on the specified day.
.google.type.TimeOfDay start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getDayValue
int getDayValue()Optional. Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
.google.type.DayOfWeek day = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for day.
-
getDay
DayOfWeek getDay()Optional. Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
.google.type.DayOfWeek day = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The day.
-
getPhaseValue
int getPhaseValue()Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance
.google.cloud.databasecenter.v1beta.Phase phase = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for phase.
-
getPhase
Phase getPhase()Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance
.google.cloud.databasecenter.v1beta.Phase phase = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The phase.
-