Enum Rule.Action

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Rule.Action>
    Enclosing class:
    Rule

    public static enum Rule.Action
    extends Enum<Rule.Action>
    implements com.google.protobuf.ProtocolMessageEnum
     This is deprecated and has no effect. Do not use.
     
    Protobuf enum google.cloud.compute.v1.Rule.Action
    • Enum Constant Detail

      • UNDEFINED_ACTION

        public static final Rule.Action UNDEFINED_ACTION
         A value indicating that the enum field is not set.
         
        UNDEFINED_ACTION = 0;
      • ALLOW

        public static final Rule.Action ALLOW
         This is deprecated and has no effect. Do not use.
         
        ALLOW = 62368553;
      • ALLOW_WITH_LOG

        public static final Rule.Action ALLOW_WITH_LOG
         This is deprecated and has no effect. Do not use.
         
        ALLOW_WITH_LOG = 76034177;
      • DENY

        public static final Rule.Action DENY
         This is deprecated and has no effect. Do not use.
         
        DENY = 2094604;
      • DENY_WITH_LOG

        public static final Rule.Action DENY_WITH_LOG
         This is deprecated and has no effect. Do not use.
         
        DENY_WITH_LOG = 351433982;
      • LOG

        public static final Rule.Action LOG
         This is deprecated and has no effect. Do not use.
         
        LOG = 75556;
      • NO_ACTION

        public static final Rule.Action NO_ACTION
         This is deprecated and has no effect. Do not use.
         
        NO_ACTION = 260643444;
      • UNRECOGNIZED

        public static final Rule.Action UNRECOGNIZED
    • Field Detail

      • UNDEFINED_ACTION_VALUE

        public static final int UNDEFINED_ACTION_VALUE
         A value indicating that the enum field is not set.
         
        UNDEFINED_ACTION = 0;
        See Also:
        Constant Field Values
      • ALLOW_VALUE

        public static final int ALLOW_VALUE
         This is deprecated and has no effect. Do not use.
         
        ALLOW = 62368553;
        See Also:
        Constant Field Values
      • ALLOW_WITH_LOG_VALUE

        public static final int ALLOW_WITH_LOG_VALUE
         This is deprecated and has no effect. Do not use.
         
        ALLOW_WITH_LOG = 76034177;
        See Also:
        Constant Field Values
      • DENY_VALUE

        public static final int DENY_VALUE
         This is deprecated and has no effect. Do not use.
         
        DENY = 2094604;
        See Also:
        Constant Field Values
      • DENY_WITH_LOG_VALUE

        public static final int DENY_WITH_LOG_VALUE
         This is deprecated and has no effect. Do not use.
         
        DENY_WITH_LOG = 351433982;
        See Also:
        Constant Field Values
      • LOG_VALUE

        public static final int LOG_VALUE
         This is deprecated and has no effect. Do not use.
         
        LOG = 75556;
        See Also:
        Constant Field Values
      • NO_ACTION_VALUE

        public static final int NO_ACTION_VALUE
         This is deprecated and has no effect. Do not use.
         
        NO_ACTION = 260643444;
        See Also:
        Constant Field Values
    • Method Detail

      • values

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

        public static Rule.Action 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 Rule.Action 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 Rule.Action 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<Rule.Action> internalGetValueMap()
      • 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 Rule.Action 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