public static enum PacketMirroring.Enable extends Enum<PacketMirroring.Enable> implements com.google.protobuf.ProtocolMessageEnum
Indicates whether or not this packet mirroring takes effect. If set to FALSE, this packet mirroring policy will not be enforced on the network. The default is TRUE.Protobuf enum
google.cloud.compute.v1.PacketMirroring.Enable| Enum Constant and Description |
|---|
FALSE
FALSE = 66658563; |
TRUE
TRUE = 2583950; |
UNDEFINED_ENABLE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
FALSE_VALUE
FALSE = 66658563; |
static int |
TRUE_VALUE
TRUE = 2583950; |
static int |
UNDEFINED_ENABLE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static PacketMirroring.Enable |
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<PacketMirroring.Enable> |
internalGetValueMap() |
static PacketMirroring.Enable |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PacketMirroring.Enable |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PacketMirroring.Enable |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PacketMirroring.Enable[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PacketMirroring.Enable UNDEFINED_ENABLE
A value indicating that the enum field is not set.
UNDEFINED_ENABLE = 0;public static final PacketMirroring.Enable FALSE
FALSE = 66658563;public static final PacketMirroring.Enable TRUE
TRUE = 2583950;public static final PacketMirroring.Enable UNRECOGNIZED
public static final int UNDEFINED_ENABLE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_ENABLE = 0;public static final int FALSE_VALUE
FALSE = 66658563;public static final int TRUE_VALUE
TRUE = 2583950;public static PacketMirroring.Enable[] values()
for (PacketMirroring.Enable c : PacketMirroring.Enable.values()) System.out.println(c);
public static PacketMirroring.Enable 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 PacketMirroring.Enable valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static PacketMirroring.Enable forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<PacketMirroring.Enable> 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 PacketMirroring.Enable valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.