public static enum PacketIntervals.Duration extends Enum<PacketIntervals.Duration> implements com.google.protobuf.ProtocolMessageEnum
From how long ago in the past these intervals were observed.Protobuf enum
google.cloud.compute.v1.PacketIntervals.Duration| Enum Constant and Description |
|---|
DURATION_UNSPECIFIED
DURATION_UNSPECIFIED = 529071340; |
HOUR
HOUR = 2223588; |
MAX
From BfdSession object creation time.
|
MINUTE
MINUTE = 126786068; |
UNDEFINED_DURATION
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DURATION_UNSPECIFIED_VALUE
DURATION_UNSPECIFIED = 529071340; |
static int |
HOUR_VALUE
HOUR = 2223588; |
static int |
MAX_VALUE
From BfdSession object creation time.
|
static int |
MINUTE_VALUE
MINUTE = 126786068; |
static int |
UNDEFINED_DURATION_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static PacketIntervals.Duration |
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<PacketIntervals.Duration> |
internalGetValueMap() |
static PacketIntervals.Duration |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PacketIntervals.Duration |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PacketIntervals.Duration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PacketIntervals.Duration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PacketIntervals.Duration UNDEFINED_DURATION
A value indicating that the enum field is not set.
UNDEFINED_DURATION = 0;public static final PacketIntervals.Duration DURATION_UNSPECIFIED
DURATION_UNSPECIFIED = 529071340;public static final PacketIntervals.Duration HOUR
HOUR = 2223588;public static final PacketIntervals.Duration MAX
From BfdSession object creation time.
MAX = 76100;public static final PacketIntervals.Duration MINUTE
MINUTE = 126786068;public static final PacketIntervals.Duration UNRECOGNIZED
public static final int UNDEFINED_DURATION_VALUE
A value indicating that the enum field is not set.
UNDEFINED_DURATION = 0;public static final int DURATION_UNSPECIFIED_VALUE
DURATION_UNSPECIFIED = 529071340;public static final int HOUR_VALUE
HOUR = 2223588;public static final int MAX_VALUE
From BfdSession object creation time.
MAX = 76100;public static final int MINUTE_VALUE
MINUTE = 126786068;public static PacketIntervals.Duration[] values()
for (PacketIntervals.Duration c : PacketIntervals.Duration.values()) System.out.println(c);
public static PacketIntervals.Duration 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 PacketIntervals.Duration valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static PacketIntervals.Duration forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<PacketIntervals.Duration> 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 PacketIntervals.Duration valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.