public static enum MappingRule.State extends Enum<MappingRule.State> implements com.google.protobuf.ProtocolMessageEnum
The current mapping rule state such as enabled, disabled or deleted.Protobuf enum
google.cloud.clouddms.v1.MappingRule.State| Enum Constant and Description |
|---|
DELETED
The rule is logically deleted.
|
DISABLED
The rule is disabled.
|
ENABLED
The rule is enabled.
|
STATE_UNSPECIFIED
The state of the mapping rule is unknown.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DELETED_VALUE
The rule is logically deleted.
|
static int |
DISABLED_VALUE
The rule is disabled.
|
static int |
ENABLED_VALUE
The rule is enabled.
|
static int |
STATE_UNSPECIFIED_VALUE
The state of the mapping rule is unknown.
|
| Modifier and Type | Method and Description |
|---|---|
static MappingRule.State |
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<MappingRule.State> |
internalGetValueMap() |
static MappingRule.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MappingRule.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MappingRule.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MappingRule.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MappingRule.State STATE_UNSPECIFIED
The state of the mapping rule is unknown.
STATE_UNSPECIFIED = 0;public static final MappingRule.State ENABLED
The rule is enabled.
ENABLED = 1;public static final MappingRule.State DISABLED
The rule is disabled.
DISABLED = 2;public static final MappingRule.State DELETED
The rule is logically deleted.
DELETED = 3;public static final MappingRule.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
The state of the mapping rule is unknown.
STATE_UNSPECIFIED = 0;public static final int ENABLED_VALUE
The rule is enabled.
ENABLED = 1;public static final int DISABLED_VALUE
The rule is disabled.
DISABLED = 2;public static final int DELETED_VALUE
The rule is logically deleted.
DELETED = 3;public static MappingRule.State[] values()
for (MappingRule.State c : MappingRule.State.values()) System.out.println(c);
public static MappingRule.State 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 MappingRule.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static MappingRule.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MappingRule.State> 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 MappingRule.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.