public static enum RestoreConfig.TransformationRuleAction.Op extends Enum<RestoreConfig.TransformationRuleAction.Op> implements com.google.protobuf.ProtocolMessageEnum
Possible values for operations of a transformation rule action.Protobuf enum
google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction.Op| Enum Constant and Description |
|---|
ADD
The "add" operation performs one of the following functions,
depending upon what the target location references:
1.
|
COPY
The "copy" operation copies the value at a specified location to the
target location.
|
MOVE
The "move" operation removes the value at a specified location and
adds it to the target location.
|
OP_UNSPECIFIED
Unspecified operation
|
REMOVE
The "remove" operation removes the value at the target location.
|
REPLACE
The "replace" operation replaces the value at the target location
with a new value.
|
TEST
The "test" operation tests that a value at the target location is
equal to a specified value.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ADD_VALUE
The "add" operation performs one of the following functions,
depending upon what the target location references:
1.
|
static int |
COPY_VALUE
The "copy" operation copies the value at a specified location to the
target location.
|
static int |
MOVE_VALUE
The "move" operation removes the value at a specified location and
adds it to the target location.
|
static int |
OP_UNSPECIFIED_VALUE
Unspecified operation
|
static int |
REMOVE_VALUE
The "remove" operation removes the value at the target location.
|
static int |
REPLACE_VALUE
The "replace" operation replaces the value at the target location
with a new value.
|
static int |
TEST_VALUE
The "test" operation tests that a value at the target location is
equal to a specified value.
|
| Modifier and Type | Method and Description |
|---|---|
static RestoreConfig.TransformationRuleAction.Op |
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<RestoreConfig.TransformationRuleAction.Op> |
internalGetValueMap() |
static RestoreConfig.TransformationRuleAction.Op |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RestoreConfig.TransformationRuleAction.Op |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RestoreConfig.TransformationRuleAction.Op |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestoreConfig.TransformationRuleAction.Op[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestoreConfig.TransformationRuleAction.Op OP_UNSPECIFIED
Unspecified operation
OP_UNSPECIFIED = 0;public static final RestoreConfig.TransformationRuleAction.Op REMOVE
The "remove" operation removes the value at the target location.
REMOVE = 1;public static final RestoreConfig.TransformationRuleAction.Op MOVE
The "move" operation removes the value at a specified location and adds it to the target location.
MOVE = 2;public static final RestoreConfig.TransformationRuleAction.Op COPY
The "copy" operation copies the value at a specified location to the target location.
COPY = 3;public static final RestoreConfig.TransformationRuleAction.Op ADD
The "add" operation performs one of the following functions, depending upon what the target location references: 1. If the target location specifies an array index, a new value is inserted into the array at the specified index. 2. If the target location specifies an object member that does not already exist, a new member is added to the object. 3. If the target location specifies an object member that does exist, that member's value is replaced.
ADD = 4;public static final RestoreConfig.TransformationRuleAction.Op TEST
The "test" operation tests that a value at the target location is equal to a specified value.
TEST = 5;public static final RestoreConfig.TransformationRuleAction.Op REPLACE
The "replace" operation replaces the value at the target location with a new value. The operation object MUST contain a "value" member whose content specifies the replacement value.
REPLACE = 6;public static final RestoreConfig.TransformationRuleAction.Op UNRECOGNIZED
public static final int OP_UNSPECIFIED_VALUE
Unspecified operation
OP_UNSPECIFIED = 0;public static final int REMOVE_VALUE
The "remove" operation removes the value at the target location.
REMOVE = 1;public static final int MOVE_VALUE
The "move" operation removes the value at a specified location and adds it to the target location.
MOVE = 2;public static final int COPY_VALUE
The "copy" operation copies the value at a specified location to the target location.
COPY = 3;public static final int ADD_VALUE
The "add" operation performs one of the following functions, depending upon what the target location references: 1. If the target location specifies an array index, a new value is inserted into the array at the specified index. 2. If the target location specifies an object member that does not already exist, a new member is added to the object. 3. If the target location specifies an object member that does exist, that member's value is replaced.
ADD = 4;public static final int TEST_VALUE
The "test" operation tests that a value at the target location is equal to a specified value.
TEST = 5;public static final int REPLACE_VALUE
The "replace" operation replaces the value at the target location with a new value. The operation object MUST contain a "value" member whose content specifies the replacement value.
REPLACE = 6;public static RestoreConfig.TransformationRuleAction.Op[] values()
for (RestoreConfig.TransformationRuleAction.Op c : RestoreConfig.TransformationRuleAction.Op.values()) System.out.println(c);
public static RestoreConfig.TransformationRuleAction.Op 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 RestoreConfig.TransformationRuleAction.Op valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static RestoreConfig.TransformationRuleAction.Op forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<RestoreConfig.TransformationRuleAction.Op> 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 RestoreConfig.TransformationRuleAction.Op valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.