Class MaintenanceWindow
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.oracledatabase.v1.MaintenanceWindow
- All Implemented Interfaces:
MaintenanceWindowOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class MaintenanceWindow
extends com.google.protobuf.GeneratedMessage
implements MaintenanceWindowOrBuilder
Maintenance window as defined by Oracle. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/MaintenanceWindowProtobuf type
google.cloud.oracledatabase.v1.MaintenanceWindow- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMaintenance window as defined by Oracle.static enumMaintenance window preference.static enumPatching mode.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanintOptional.getDaysOfWeek(int index) Optional.intOptional.Optional.intgetDaysOfWeekValue(int index) Optional.Optional.static MaintenanceWindowstatic final com.google.protobuf.Descriptors.DescriptorintgetHoursOfDay(int index) Optional.intOptional.Optional.booleanOptional.intOptional.getMonths(int index) Optional.intOptional.Optional.intgetMonthsValue(int index) Optional.Optional.com.google.protobuf.Parser<MaintenanceWindow>Optional.intOptional.Optional.intOptional.intintgetWeeksOfMonth(int index) Optional.intOptional.Optional.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic MaintenanceWindow.Builderstatic MaintenanceWindow.BuildernewBuilder(MaintenanceWindow prototype) protected MaintenanceWindow.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static MaintenanceWindowparseDelimitedFrom(InputStream input) static MaintenanceWindowparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MaintenanceWindowparseFrom(byte[] data) static MaintenanceWindowparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MaintenanceWindowparseFrom(com.google.protobuf.ByteString data) static MaintenanceWindowparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MaintenanceWindowparseFrom(com.google.protobuf.CodedInputStream input) static MaintenanceWindowparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MaintenanceWindowparseFrom(InputStream input) static MaintenanceWindowparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MaintenanceWindowparseFrom(ByteBuffer data) static MaintenanceWindowparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<MaintenanceWindow>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
PREFERENCE_FIELD_NUMBER
public static final int PREFERENCE_FIELD_NUMBER- See Also:
-
MONTHS_FIELD_NUMBER
public static final int MONTHS_FIELD_NUMBER- See Also:
-
WEEKS_OF_MONTH_FIELD_NUMBER
public static final int WEEKS_OF_MONTH_FIELD_NUMBER- See Also:
-
DAYS_OF_WEEK_FIELD_NUMBER
public static final int DAYS_OF_WEEK_FIELD_NUMBER- See Also:
-
HOURS_OF_DAY_FIELD_NUMBER
public static final int HOURS_OF_DAY_FIELD_NUMBER- See Also:
-
LEAD_TIME_WEEK_FIELD_NUMBER
public static final int LEAD_TIME_WEEK_FIELD_NUMBER- See Also:
-
PATCHING_MODE_FIELD_NUMBER
public static final int PATCHING_MODE_FIELD_NUMBER- See Also:
-
CUSTOM_ACTION_TIMEOUT_MINS_FIELD_NUMBER
public static final int CUSTOM_ACTION_TIMEOUT_MINS_FIELD_NUMBER- See Also:
-
IS_CUSTOM_ACTION_TIMEOUT_ENABLED_FIELD_NUMBER
public static final int IS_CUSTOM_ACTION_TIMEOUT_ENABLED_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getPreferenceValue
public int getPreferenceValue()Optional. The maintenance window scheduling preference.
.google.cloud.oracledatabase.v1.MaintenanceWindow.MaintenanceWindowPreference preference = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPreferenceValuein interfaceMaintenanceWindowOrBuilder- Returns:
- The enum numeric value on the wire for preference.
-
getPreference
Optional. The maintenance window scheduling preference.
.google.cloud.oracledatabase.v1.MaintenanceWindow.MaintenanceWindowPreference preference = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPreferencein interfaceMaintenanceWindowOrBuilder- Returns:
- The preference.
-
getMonthsList
Optional. Months during the year when maintenance should be performed.
repeated .google.type.Month months = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMonthsListin interfaceMaintenanceWindowOrBuilder- Returns:
- A list containing the months.
-
getMonthsCount
public int getMonthsCount()Optional. Months during the year when maintenance should be performed.
repeated .google.type.Month months = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMonthsCountin interfaceMaintenanceWindowOrBuilder- Returns:
- The count of months.
-
getMonths
Optional. Months during the year when maintenance should be performed.
repeated .google.type.Month months = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMonthsin interfaceMaintenanceWindowOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The months at the given index.
-
getMonthsValueList
Optional. Months during the year when maintenance should be performed.
repeated .google.type.Month months = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMonthsValueListin interfaceMaintenanceWindowOrBuilder- Returns:
- A list containing the enum numeric values on the wire for months.
-
getMonthsValue
public int getMonthsValue(int index) Optional. Months during the year when maintenance should be performed.
repeated .google.type.Month months = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMonthsValuein interfaceMaintenanceWindowOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of months at the given index.
-
getWeeksOfMonthList
Optional. Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week.
repeated int32 weeks_of_month = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getWeeksOfMonthListin interfaceMaintenanceWindowOrBuilder- Returns:
- A list containing the weeksOfMonth.
-
getWeeksOfMonthCount
public int getWeeksOfMonthCount()Optional. Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week.
repeated int32 weeks_of_month = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getWeeksOfMonthCountin interfaceMaintenanceWindowOrBuilder- Returns:
- The count of weeksOfMonth.
-
getWeeksOfMonth
public int getWeeksOfMonth(int index) Optional. Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week.
repeated int32 weeks_of_month = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getWeeksOfMonthin interfaceMaintenanceWindowOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The weeksOfMonth at the given index.
-
getDaysOfWeekList
Optional. Days during the week when maintenance should be performed.
repeated .google.type.DayOfWeek days_of_week = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDaysOfWeekListin interfaceMaintenanceWindowOrBuilder- Returns:
- A list containing the daysOfWeek.
-
getDaysOfWeekCount
public int getDaysOfWeekCount()Optional. Days during the week when maintenance should be performed.
repeated .google.type.DayOfWeek days_of_week = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDaysOfWeekCountin interfaceMaintenanceWindowOrBuilder- Returns:
- The count of daysOfWeek.
-
getDaysOfWeek
Optional. Days during the week when maintenance should be performed.
repeated .google.type.DayOfWeek days_of_week = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDaysOfWeekin interfaceMaintenanceWindowOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The daysOfWeek at the given index.
-
getDaysOfWeekValueList
Optional. Days during the week when maintenance should be performed.
repeated .google.type.DayOfWeek days_of_week = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDaysOfWeekValueListin interfaceMaintenanceWindowOrBuilder- Returns:
- A list containing the enum numeric values on the wire for daysOfWeek.
-
getDaysOfWeekValue
public int getDaysOfWeekValue(int index) Optional. Days during the week when maintenance should be performed.
repeated .google.type.DayOfWeek days_of_week = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDaysOfWeekValuein interfaceMaintenanceWindowOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of daysOfWeek at the given index.
-
getHoursOfDayList
Optional. The window of hours during the day when maintenance should be performed. The window is a 4 hour slot. Valid values are: 0 - represents time slot 0:00 - 3:59 UTC 4 - represents time slot 4:00 - 7:59 UTC 8 - represents time slot 8:00 - 11:59 UTC 12 - represents time slot 12:00 - 15:59 UTC 16 - represents time slot 16:00 - 19:59 UTC 20 - represents time slot 20:00 - 23:59 UTC
repeated int32 hours_of_day = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getHoursOfDayListin interfaceMaintenanceWindowOrBuilder- Returns:
- A list containing the hoursOfDay.
-
getHoursOfDayCount
public int getHoursOfDayCount()Optional. The window of hours during the day when maintenance should be performed. The window is a 4 hour slot. Valid values are: 0 - represents time slot 0:00 - 3:59 UTC 4 - represents time slot 4:00 - 7:59 UTC 8 - represents time slot 8:00 - 11:59 UTC 12 - represents time slot 12:00 - 15:59 UTC 16 - represents time slot 16:00 - 19:59 UTC 20 - represents time slot 20:00 - 23:59 UTC
repeated int32 hours_of_day = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getHoursOfDayCountin interfaceMaintenanceWindowOrBuilder- Returns:
- The count of hoursOfDay.
-
getHoursOfDay
public int getHoursOfDay(int index) Optional. The window of hours during the day when maintenance should be performed. The window is a 4 hour slot. Valid values are: 0 - represents time slot 0:00 - 3:59 UTC 4 - represents time slot 4:00 - 7:59 UTC 8 - represents time slot 8:00 - 11:59 UTC 12 - represents time slot 12:00 - 15:59 UTC 16 - represents time slot 16:00 - 19:59 UTC 20 - represents time slot 20:00 - 23:59 UTC
repeated int32 hours_of_day = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getHoursOfDayin interfaceMaintenanceWindowOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The hoursOfDay at the given index.
-
getLeadTimeWeek
public int getLeadTimeWeek()Optional. Lead time window allows user to set a lead time to prepare for a down time. The lead time is in weeks and valid value is between 1 to 4.
int32 lead_time_week = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLeadTimeWeekin interfaceMaintenanceWindowOrBuilder- Returns:
- The leadTimeWeek.
-
getPatchingModeValue
public int getPatchingModeValue()Optional. Cloud CloudExadataInfrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
.google.cloud.oracledatabase.v1.MaintenanceWindow.PatchingMode patching_mode = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPatchingModeValuein interfaceMaintenanceWindowOrBuilder- Returns:
- The enum numeric value on the wire for patchingMode.
-
getPatchingMode
Optional. Cloud CloudExadataInfrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
.google.cloud.oracledatabase.v1.MaintenanceWindow.PatchingMode patching_mode = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPatchingModein interfaceMaintenanceWindowOrBuilder- Returns:
- The patchingMode.
-
getCustomActionTimeoutMins
public int getCustomActionTimeoutMins()Optional. Determines the amount of time the system will wait before the start of each database server patching operation. Custom action timeout is in minutes and valid value is between 15 to 120 (inclusive).
int32 custom_action_timeout_mins = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCustomActionTimeoutMinsin interfaceMaintenanceWindowOrBuilder- Returns:
- The customActionTimeoutMins.
-
getIsCustomActionTimeoutEnabled
public boolean getIsCustomActionTimeoutEnabled()Optional. If true, enables the configuration of a custom action timeout (waiting period) between database server patching operations.
bool is_custom_action_timeout_enabled = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIsCustomActionTimeoutEnabledin interfaceMaintenanceWindowOrBuilder- Returns:
- The isCustomActionTimeoutEnabled.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static MaintenanceWindow parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MaintenanceWindow parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MaintenanceWindow parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MaintenanceWindow parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MaintenanceWindow parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MaintenanceWindow parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static MaintenanceWindow parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static MaintenanceWindow parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static MaintenanceWindow parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static MaintenanceWindow parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MaintenanceWindow.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-