Package com.google.cloud.gkebackup.v1
Enum RestoreConfig.TransformationRuleAction.Op
- java.lang.Object
-
- java.lang.Enum<RestoreConfig.TransformationRuleAction.Op>
-
- com.google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction.Op
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<RestoreConfig.TransformationRuleAction.Op>
- Enclosing class:
- RestoreConfig.TransformationRuleAction
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 enumgoogle.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction.Op
-
-
Enum Constant Summary
Enum Constants Enum Constant 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 operationREMOVE
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
-
Field Summary
Fields Modifier and Type Field 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 operationstatic 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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(int value)
Deprecated.static RestoreConfig.TransformationRuleAction.Op
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.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.
-
-
-
Enum Constant Detail
-
OP_UNSPECIFIED
public static final RestoreConfig.TransformationRuleAction.Op OP_UNSPECIFIED
Unspecified operation
OP_UNSPECIFIED = 0;
-
REMOVE
public static final RestoreConfig.TransformationRuleAction.Op REMOVE
The "remove" operation removes the value at the target location.
REMOVE = 1;
-
MOVE
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;
-
COPY
public static final RestoreConfig.TransformationRuleAction.Op COPY
The "copy" operation copies the value at a specified location to the target location.
COPY = 3;
-
ADD
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;
-
TEST
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;
-
REPLACE
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;
-
UNRECOGNIZED
public static final RestoreConfig.TransformationRuleAction.Op UNRECOGNIZED
-
-
Field Detail
-
OP_UNSPECIFIED_VALUE
public static final int OP_UNSPECIFIED_VALUE
Unspecified operation
OP_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
REMOVE_VALUE
public static final int REMOVE_VALUE
The "remove" operation removes the value at the target location.
REMOVE = 1;
- See Also:
- Constant Field Values
-
MOVE_VALUE
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;
- See Also:
- Constant Field Values
-
COPY_VALUE
public static final int COPY_VALUE
The "copy" operation copies the value at a specified location to the target location.
COPY = 3;
- See Also:
- Constant Field Values
-
ADD_VALUE
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;
- See Also:
- Constant Field Values
-
TEST_VALUE
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;
- See Also:
- Constant Field Values
-
REPLACE_VALUE
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;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static RestoreConfig.TransformationRuleAction.Op[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RestoreConfig.TransformationRuleAction.Op c : RestoreConfig.TransformationRuleAction.Op.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RestoreConfig.TransformationRuleAction.Op valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static RestoreConfig.TransformationRuleAction.Op valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static RestoreConfig.TransformationRuleAction.Op forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<RestoreConfig.TransformationRuleAction.Op> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static RestoreConfig.TransformationRuleAction.Op valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-