Interface MaintenanceInfoOrBuilder (0.12.0)

public interface MaintenanceInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCurrentVersionReleaseDate()

public abstract Date getCurrentVersionReleaseDate()

Output only. The date when the maintenance version was released.

.google.type.Date current_version_release_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.Date

The currentVersionReleaseDate.

getCurrentVersionReleaseDateOrBuilder()

public abstract DateOrBuilder getCurrentVersionReleaseDateOrBuilder()

Output only. The date when the maintenance version was released.

.google.type.Date current_version_release_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.DateOrBuilder

getDenyMaintenanceSchedules(int index)

public abstract ResourceMaintenanceDenySchedule getDenyMaintenanceSchedules(int index)

Optional. List of Deny maintenance period for the database resource.

repeated .google.cloud.databasecenter.v1beta.ResourceMaintenanceDenySchedule deny_maintenance_schedules = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ResourceMaintenanceDenySchedule

getDenyMaintenanceSchedulesCount()

public abstract int getDenyMaintenanceSchedulesCount()

Optional. List of Deny maintenance period for the database resource.

repeated .google.cloud.databasecenter.v1beta.ResourceMaintenanceDenySchedule deny_maintenance_schedules = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getDenyMaintenanceSchedulesList()

public abstract List<ResourceMaintenanceDenySchedule> getDenyMaintenanceSchedulesList()

Optional. List of Deny maintenance period for the database resource.

repeated .google.cloud.databasecenter.v1beta.ResourceMaintenanceDenySchedule deny_maintenance_schedules = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<ResourceMaintenanceDenySchedule>

getDenyMaintenanceSchedulesOrBuilder(int index)

public abstract ResourceMaintenanceDenyScheduleOrBuilder getDenyMaintenanceSchedulesOrBuilder(int index)

Optional. List of Deny maintenance period for the database resource.

repeated .google.cloud.databasecenter.v1beta.ResourceMaintenanceDenySchedule deny_maintenance_schedules = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ResourceMaintenanceDenyScheduleOrBuilder

getDenyMaintenanceSchedulesOrBuilderList()

public abstract List<? extends ResourceMaintenanceDenyScheduleOrBuilder> getDenyMaintenanceSchedulesOrBuilderList()

Optional. List of Deny maintenance period for the database resource.

repeated .google.cloud.databasecenter.v1beta.ResourceMaintenanceDenySchedule deny_maintenance_schedules = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.databasecenter.v1beta.ResourceMaintenanceDenyScheduleOrBuilder>

getMaintenanceSchedule()

public abstract ResourceMaintenanceSchedule getMaintenanceSchedule()

Optional. Maintenance window for the database resource.

.google.cloud.databasecenter.v1beta.ResourceMaintenanceSchedule maintenance_schedule = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ResourceMaintenanceSchedule

The maintenanceSchedule.

getMaintenanceScheduleOrBuilder()

public abstract ResourceMaintenanceScheduleOrBuilder getMaintenanceScheduleOrBuilder()

Optional. Maintenance window for the database resource.

.google.cloud.databasecenter.v1beta.ResourceMaintenanceSchedule maintenance_schedule = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ResourceMaintenanceScheduleOrBuilder

getMaintenanceVersion()

public abstract String getMaintenanceVersion()

Output only. Current Maintenance version of the database resource. Example: "MYSQL_8_0_41.R20250531.01_15"

string maintenance_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The maintenanceVersion.

getMaintenanceVersionBytes()

public abstract ByteString getMaintenanceVersionBytes()

Output only. Current Maintenance version of the database resource. Example: "MYSQL_8_0_41.R20250531.01_15"

string maintenance_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for maintenanceVersion.

getPossibleFailureReasons(int index)

public abstract PossibleFailureReason getPossibleFailureReasons(int index)

Output only. List of possible reasons why the maintenance is not completed. This is an optional field and is only populated if there are any reasons for failures recorded for the maintenance by DB Center. FAILURE maintenance status may not always have a failure reason.

repeated .google.cloud.databasecenter.v1beta.PossibleFailureReason possible_failure_reasons = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
PossibleFailureReason

The possibleFailureReasons at the given index.

getPossibleFailureReasonsCount()

public abstract int getPossibleFailureReasonsCount()

Output only. List of possible reasons why the maintenance is not completed. This is an optional field and is only populated if there are any reasons for failures recorded for the maintenance by DB Center. FAILURE maintenance status may not always have a failure reason.

repeated .google.cloud.databasecenter.v1beta.PossibleFailureReason possible_failure_reasons = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of possibleFailureReasons.

getPossibleFailureReasonsList()

public abstract List<PossibleFailureReason> getPossibleFailureReasonsList()

Output only. List of possible reasons why the maintenance is not completed. This is an optional field and is only populated if there are any reasons for failures recorded for the maintenance by DB Center. FAILURE maintenance status may not always have a failure reason.

repeated .google.cloud.databasecenter.v1beta.PossibleFailureReason possible_failure_reasons = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<PossibleFailureReason>

A list containing the possibleFailureReasons.

getPossibleFailureReasonsValue(int index)

public abstract int getPossibleFailureReasonsValue(int index)

Output only. List of possible reasons why the maintenance is not completed. This is an optional field and is only populated if there are any reasons for failures recorded for the maintenance by DB Center. FAILURE maintenance status may not always have a failure reason.

repeated .google.cloud.databasecenter.v1beta.PossibleFailureReason possible_failure_reasons = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of possibleFailureReasons at the given index.

getPossibleFailureReasonsValueList()

public abstract List<Integer> getPossibleFailureReasonsValueList()

Output only. List of possible reasons why the maintenance is not completed. This is an optional field and is only populated if there are any reasons for failures recorded for the maintenance by DB Center. FAILURE maintenance status may not always have a failure reason.

repeated .google.cloud.databasecenter.v1beta.PossibleFailureReason possible_failure_reasons = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for possibleFailureReasons.

getPreviousMaintenanceVersion()

public abstract String getPreviousMaintenanceVersion()

Output only. Previous maintenance version of the database resource. Example: "MYSQL_8_0_41.R20250531.01_15". This is available once a minor version maintenance is complete on a database resource.

string previous_maintenance_version = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The previousMaintenanceVersion.

getPreviousMaintenanceVersionBytes()

public abstract ByteString getPreviousMaintenanceVersionBytes()

Output only. Previous maintenance version of the database resource. Example: "MYSQL_8_0_41.R20250531.01_15". This is available once a minor version maintenance is complete on a database resource.

string previous_maintenance_version = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for previousMaintenanceVersion.

getState()

public abstract MaintenanceState getState()

Output only. Resource maintenance state. This is to capture the current state of the maintenance.

.google.cloud.databasecenter.v1beta.MaintenanceState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MaintenanceState

The state.

getStateValue()

public abstract int getStateValue()

Output only. Resource maintenance state. This is to capture the current state of the maintenance.

.google.cloud.databasecenter.v1beta.MaintenanceState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getUpcomingMaintenance()

public abstract UpcomingMaintenance getUpcomingMaintenance()

Output only. Upcoming maintenance window for the database resource. This is only populated for an engine, if upcoming maintenance is scheduled for the resource. This schedule is generated per engine and engine version, and there is only one upcoming maintenance window at any given time. In case of upcoming maintenance, the maintenance_state will be set to SCHEDULED first, and then IN_PROGRESS when the maintenance window starts.

.google.cloud.databasecenter.v1beta.UpcomingMaintenance upcoming_maintenance = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
UpcomingMaintenance

The upcomingMaintenance.

getUpcomingMaintenanceOrBuilder()

public abstract UpcomingMaintenanceOrBuilder getUpcomingMaintenanceOrBuilder()

Output only. Upcoming maintenance window for the database resource. This is only populated for an engine, if upcoming maintenance is scheduled for the resource. This schedule is generated per engine and engine version, and there is only one upcoming maintenance window at any given time. In case of upcoming maintenance, the maintenance_state will be set to SCHEDULED first, and then IN_PROGRESS when the maintenance window starts.

.google.cloud.databasecenter.v1beta.UpcomingMaintenance upcoming_maintenance = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
UpcomingMaintenanceOrBuilder

hasCurrentVersionReleaseDate()

public abstract boolean hasCurrentVersionReleaseDate()

Output only. The date when the maintenance version was released.

.google.type.Date current_version_release_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the currentVersionReleaseDate field is set.

hasMaintenanceSchedule()

public abstract boolean hasMaintenanceSchedule()

Optional. Maintenance window for the database resource.

.google.cloud.databasecenter.v1beta.ResourceMaintenanceSchedule maintenance_schedule = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the maintenanceSchedule field is set.

hasUpcomingMaintenance()

public abstract boolean hasUpcomingMaintenance()

Output only. Upcoming maintenance window for the database resource. This is only populated for an engine, if upcoming maintenance is scheduled for the resource. This schedule is generated per engine and engine version, and there is only one upcoming maintenance window at any given time. In case of upcoming maintenance, the maintenance_state will be set to SCHEDULED first, and then IN_PROGRESS when the maintenance window starts.

.google.cloud.databasecenter.v1beta.UpcomingMaintenance upcoming_maintenance = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the upcomingMaintenance field is set.