public static enum PacketIntervals.Type extends Enum<PacketIntervals.Type> implements com.google.protobuf.ProtocolMessageEnum
The type of packets for which inter-packet intervals were computed.Protobuf enum
google.cloud.compute.v1.PacketIntervals.Type| Enum Constant and Description |
|---|
LOOPBACK
Only applies to Echo packets.
|
RECEIVE
Intervals between received packets.
|
TRANSMIT
Intervals between transmitted packets.
|
TYPE_UNSPECIFIED
TYPE_UNSPECIFIED = 437714322; |
UNDEFINED_TYPE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
LOOPBACK_VALUE
Only applies to Echo packets.
|
static int |
RECEIVE_VALUE
Intervals between received packets.
|
static int |
TRANSMIT_VALUE
Intervals between transmitted packets.
|
static int |
TYPE_UNSPECIFIED_VALUE
TYPE_UNSPECIFIED = 437714322; |
static int |
UNDEFINED_TYPE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static PacketIntervals.Type |
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.Type> |
internalGetValueMap() |
static PacketIntervals.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PacketIntervals.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PacketIntervals.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PacketIntervals.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PacketIntervals.Type UNDEFINED_TYPE
A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0;public static final PacketIntervals.Type LOOPBACK
Only applies to Echo packets. This shows the intervals between sending and receiving the same packet.
LOOPBACK = 356174219;public static final PacketIntervals.Type RECEIVE
Intervals between received packets.
RECEIVE = 189660867;public static final PacketIntervals.Type TRANSMIT
Intervals between transmitted packets.
TRANSMIT = 452903600;public static final PacketIntervals.Type TYPE_UNSPECIFIED
TYPE_UNSPECIFIED = 437714322;public static final PacketIntervals.Type UNRECOGNIZED
public static final int UNDEFINED_TYPE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0;public static final int LOOPBACK_VALUE
Only applies to Echo packets. This shows the intervals between sending and receiving the same packet.
LOOPBACK = 356174219;public static final int RECEIVE_VALUE
Intervals between received packets.
RECEIVE = 189660867;public static final int TRANSMIT_VALUE
Intervals between transmitted packets.
TRANSMIT = 452903600;public static final int TYPE_UNSPECIFIED_VALUE
TYPE_UNSPECIFIED = 437714322;public static PacketIntervals.Type[] values()
for (PacketIntervals.Type c : PacketIntervals.Type.values()) System.out.println(c);
public static PacketIntervals.Type 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.Type valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static PacketIntervals.Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<PacketIntervals.Type> 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.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.