Enum RestoreConfig.TransformationRuleAction.Op

    • Enum Constant Detail

      • 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;
      • 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;
    • 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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        NullPointerException - 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.
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        NullPointerException - if the argument is null