public static enum RescheduleMaintenanceRequest.RescheduleType extends Enum<RescheduleMaintenanceRequest.RescheduleType> implements com.google.protobuf.ProtocolMessageEnum
Reschedule options.Protobuf enum
google.cloud.redis.v1.RescheduleMaintenanceRequest.RescheduleType| Enum Constant and Description |
|---|
IMMEDIATE
If the user wants to schedule the maintenance to happen now.
|
NEXT_AVAILABLE_WINDOW
If the user wants to use the existing maintenance policy to find the
next available window.
|
RESCHEDULE_TYPE_UNSPECIFIED
Not set.
|
SPECIFIC_TIME
If the user wants to reschedule the maintenance to a specific time.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
IMMEDIATE_VALUE
If the user wants to schedule the maintenance to happen now.
|
static int |
NEXT_AVAILABLE_WINDOW_VALUE
If the user wants to use the existing maintenance policy to find the
next available window.
|
static int |
RESCHEDULE_TYPE_UNSPECIFIED_VALUE
Not set.
|
static int |
SPECIFIC_TIME_VALUE
If the user wants to reschedule the maintenance to a specific time.
|
| Modifier and Type | Method and Description |
|---|---|
static RescheduleMaintenanceRequest.RescheduleType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<RescheduleMaintenanceRequest.RescheduleType> |
internalGetValueMap() |
static RescheduleMaintenanceRequest.RescheduleType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RescheduleMaintenanceRequest.RescheduleType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RescheduleMaintenanceRequest.RescheduleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RescheduleMaintenanceRequest.RescheduleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RescheduleMaintenanceRequest.RescheduleType RESCHEDULE_TYPE_UNSPECIFIED
Not set.
RESCHEDULE_TYPE_UNSPECIFIED = 0;public static final RescheduleMaintenanceRequest.RescheduleType IMMEDIATE
If the user wants to schedule the maintenance to happen now.
IMMEDIATE = 1;public static final RescheduleMaintenanceRequest.RescheduleType NEXT_AVAILABLE_WINDOW
If the user wants to use the existing maintenance policy to find the next available window.
NEXT_AVAILABLE_WINDOW = 2;public static final RescheduleMaintenanceRequest.RescheduleType SPECIFIC_TIME
If the user wants to reschedule the maintenance to a specific time.
SPECIFIC_TIME = 3;public static final RescheduleMaintenanceRequest.RescheduleType UNRECOGNIZED
public static final int RESCHEDULE_TYPE_UNSPECIFIED_VALUE
Not set.
RESCHEDULE_TYPE_UNSPECIFIED = 0;public static final int IMMEDIATE_VALUE
If the user wants to schedule the maintenance to happen now.
IMMEDIATE = 1;public static final int NEXT_AVAILABLE_WINDOW_VALUE
If the user wants to use the existing maintenance policy to find the next available window.
NEXT_AVAILABLE_WINDOW = 2;public static final int SPECIFIC_TIME_VALUE
If the user wants to reschedule the maintenance to a specific time.
SPECIFIC_TIME = 3;public static RescheduleMaintenanceRequest.RescheduleType[] values()
for (RescheduleMaintenanceRequest.RescheduleType c : RescheduleMaintenanceRequest.RescheduleType.values()) System.out.println(c);
public static RescheduleMaintenanceRequest.RescheduleType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static RescheduleMaintenanceRequest.RescheduleType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static RescheduleMaintenanceRequest.RescheduleType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<RescheduleMaintenanceRequest.RescheduleType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static RescheduleMaintenanceRequest.RescheduleType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.