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 and Description |
|---|
ALLOW
This is deprecated and has no effect.
|
ALLOW_WITH_LOG
This is deprecated and has no effect.
|
DENY
This is deprecated and has no effect.
|
DENY_WITH_LOG
This is deprecated and has no effect.
|
LOG
This is deprecated and has no effect.
|
NO_ACTION
This is deprecated and has no effect.
|
UNDEFINED_ACTION
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOW_VALUE
This is deprecated and has no effect.
|
static int |
ALLOW_WITH_LOG_VALUE
This is deprecated and has no effect.
|
static int |
DENY_VALUE
This is deprecated and has no effect.
|
static int |
DENY_WITH_LOG_VALUE
This is deprecated and has no effect.
|
static int |
LOG_VALUE
This is deprecated and has no effect.
|
static int |
NO_ACTION_VALUE
This is deprecated and has no effect.
|
static int |
UNDEFINED_ACTION_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static Rule.Action |
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<Rule.Action> |
internalGetValueMap() |
static Rule.Action |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Rule.Action |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Rule.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Rule.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rule.Action UNDEFINED_ACTION
A value indicating that the enum field is not set.
UNDEFINED_ACTION = 0;public static final Rule.Action ALLOW
This is deprecated and has no effect. Do not use.
ALLOW = 62368553;public static final Rule.Action ALLOW_WITH_LOG
This is deprecated and has no effect. Do not use.
ALLOW_WITH_LOG = 76034177;public static final Rule.Action DENY
This is deprecated and has no effect. Do not use.
DENY = 2094604;public static final Rule.Action DENY_WITH_LOG
This is deprecated and has no effect. Do not use.
DENY_WITH_LOG = 351433982;public static final Rule.Action LOG
This is deprecated and has no effect. Do not use.
LOG = 75556;public static final Rule.Action NO_ACTION
This is deprecated and has no effect. Do not use.
NO_ACTION = 260643444;public static final Rule.Action UNRECOGNIZED
public static final int UNDEFINED_ACTION_VALUE
A value indicating that the enum field is not set.
UNDEFINED_ACTION = 0;public static final int ALLOW_VALUE
This is deprecated and has no effect. Do not use.
ALLOW = 62368553;public static final int ALLOW_WITH_LOG_VALUE
This is deprecated and has no effect. Do not use.
ALLOW_WITH_LOG = 76034177;public static final int DENY_VALUE
This is deprecated and has no effect. Do not use.
DENY = 2094604;public static final int DENY_WITH_LOG_VALUE
This is deprecated and has no effect. Do not use.
DENY_WITH_LOG = 351433982;public static final int LOG_VALUE
This is deprecated and has no effect. Do not use.
LOG = 75556;public static final int NO_ACTION_VALUE
This is deprecated and has no effect. Do not use.
NO_ACTION = 260643444;public static Rule.Action[] values()
for (Rule.Action c : Rule.Action.values()) System.out.println(c);
public static Rule.Action 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 Rule.Action valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Rule.Action forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Rule.Action> 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 Rule.Action valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.