public interface ResourceMaintenanceScheduleOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDay()
public abstract 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 | |
|---|---|
| Type | Description |
com.google.type.DayOfWeek |
The day. |
getDayValue()
public abstract 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 | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for day. |
getPhase()
public abstract 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 | |
|---|---|
| Type | Description |
Phase |
The phase. |
getPhaseValue()
public abstract 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 | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for phase. |
getStartTime()
public abstract 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 | |
|---|---|
| Type | Description |
com.google.type.TimeOfDay |
The startTime. |
getStartTimeOrBuilder()
public abstract 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];
| Returns | |
|---|---|
| Type | Description |
com.google.type.TimeOfDayOrBuilder |
|
hasStartTime()
public abstract 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 | |
|---|---|
| Type | Description |
boolean |
Whether the startTime field is set. |