Enum InvocationPolicyOuterClass.SetValue.Behavior

    • Enum Constant Detail

      • ALLOW_OVERRIDES

        public static final InvocationPolicyOuterClass.SetValue.Behavior ALLOW_OVERRIDES
         Change the flag value but allow it to be overridden by explicit settings
         from command line/config expansion/rc files.
         Matching old flag values: append = false, overridable = true.
         
        ALLOW_OVERRIDES = 1;
      • APPEND

        public static final InvocationPolicyOuterClass.SetValue.Behavior APPEND
         Append a new value for a repeatable flag, leave old values and allow
         further overrides.
         Matching old flag values: append = true, overridable = false.
         
        APPEND = 2;
      • FINAL_VALUE_IGNORE_OVERRIDES

        public static final InvocationPolicyOuterClass.SetValue.Behavior FINAL_VALUE_IGNORE_OVERRIDES
         Set a final value of the flag. Any overrides provided by the user for
         this flag will be ignored.
         Matching old flag values: append = false, overridable = false.
         
        FINAL_VALUE_IGNORE_OVERRIDES = 3;
    • Field Detail

      • UNDEFINED_VALUE

        public static final int UNDEFINED_VALUE
        UNDEFINED = 0;
        See Also:
        Constant Field Values
      • ALLOW_OVERRIDES_VALUE

        public static final int ALLOW_OVERRIDES_VALUE
         Change the flag value but allow it to be overridden by explicit settings
         from command line/config expansion/rc files.
         Matching old flag values: append = false, overridable = true.
         
        ALLOW_OVERRIDES = 1;
        See Also:
        Constant Field Values
      • APPEND_VALUE

        public static final int APPEND_VALUE
         Append a new value for a repeatable flag, leave old values and allow
         further overrides.
         Matching old flag values: append = true, overridable = false.
         
        APPEND = 2;
        See Also:
        Constant Field Values
      • FINAL_VALUE_IGNORE_OVERRIDES_VALUE

        public static final int FINAL_VALUE_IGNORE_OVERRIDES_VALUE
         Set a final value of the flag. Any overrides provided by the user for
         this flag will be ignored.
         Matching old flag values: append = false, overridable = false.
         
        FINAL_VALUE_IGNORE_OVERRIDES = 3;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static InvocationPolicyOuterClass.SetValue.Behavior[] 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 (InvocationPolicyOuterClass.SetValue.Behavior c : InvocationPolicyOuterClass.SetValue.Behavior.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static InvocationPolicyOuterClass.SetValue.Behavior valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.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 InvocationPolicyOuterClass.SetValue.Behavior 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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • forNumber

        public static InvocationPolicyOuterClass.SetValue.Behavior 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 InvocationPolicyOuterClass.SetValue.Behavior 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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null