Interface MaintenanceInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MaintenanceInfo,MaintenanceInfo.Builder
@Generated
public interface MaintenanceInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.Output only.getDenyMaintenanceSchedules(int index) Optional.intOptional.Optional.getDenyMaintenanceSchedulesOrBuilder(int index) Optional.List<? extends ResourceMaintenanceDenyScheduleOrBuilder>Optional.Optional.Optional.Output only.com.google.protobuf.ByteStringOutput only.getPossibleFailureReasons(int index) Output only.intOutput only.Output only.intgetPossibleFailureReasonsValue(int index) Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.getState()Output only.intOutput only.Output only.Output only.booleanOutput only.booleanOptional.booleanOutput only.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
-
hasMaintenanceSchedule
boolean hasMaintenanceSchedule()Optional. Maintenance window for the database resource.
.google.cloud.databasecenter.v1beta.ResourceMaintenanceSchedule maintenance_schedule = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the maintenanceSchedule field is set.
-
getMaintenanceSchedule
ResourceMaintenanceSchedule getMaintenanceSchedule()Optional. Maintenance window for the database resource.
.google.cloud.databasecenter.v1beta.ResourceMaintenanceSchedule maintenance_schedule = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The maintenanceSchedule.
-
getMaintenanceScheduleOrBuilder
ResourceMaintenanceScheduleOrBuilder getMaintenanceScheduleOrBuilder()Optional. Maintenance window for the database resource.
.google.cloud.databasecenter.v1beta.ResourceMaintenanceSchedule maintenance_schedule = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getDenyMaintenanceSchedulesList
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]; -
getDenyMaintenanceSchedules
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]; -
getDenyMaintenanceSchedulesCount
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]; -
getDenyMaintenanceSchedulesOrBuilderList
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]; -
getDenyMaintenanceSchedulesOrBuilder
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]; -
getMaintenanceVersion
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:
- The maintenanceVersion.
-
getMaintenanceVersionBytes
com.google.protobuf.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:
- The bytes for maintenanceVersion.
-
hasCurrentVersionReleaseDate
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:
- Whether the currentVersionReleaseDate field is set.
-
getCurrentVersionReleaseDate
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:
- The currentVersionReleaseDate.
-
getCurrentVersionReleaseDateOrBuilder
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]; -
hasUpcomingMaintenance
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:
- Whether the upcomingMaintenance field is set.
-
getUpcomingMaintenance
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:
- The upcomingMaintenance.
-
getUpcomingMaintenanceOrBuilder
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]; -
getStateValue
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:
- The enum numeric value on the wire for state.
-
getState
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:
- The state.
-
getPossibleFailureReasonsList
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:
- A list containing the possibleFailureReasons.
-
getPossibleFailureReasonsCount
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:
- The count of possibleFailureReasons.
-
getPossibleFailureReasons
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];- Parameters:
index- The index of the element to return.- Returns:
- The possibleFailureReasons at the given index.
-
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:
- A list containing the enum numeric values on the wire for possibleFailureReasons.
-
getPossibleFailureReasonsValue
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];- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of possibleFailureReasons at the given index.
-
getPreviousMaintenanceVersion
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:
- The previousMaintenanceVersion.
-
getPreviousMaintenanceVersionBytes
com.google.protobuf.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:
- The bytes for previousMaintenanceVersion.
-