public static enum Connection.Protocol extends Enum<Connection.Protocol> implements com.google.protobuf.ProtocolMessageEnum
IANA Internet Protocol Number such as TCP(6) and UDP(17).Protobuf enum
google.cloud.securitycenter.v1.Connection.Protocol| Enum Constant and Description |
|---|
ESP
Encap Security Payload.
|
GRE
Generic Routing Encapsulation.
|
ICMP
Internet Control Message Protocol.
|
PROTOCOL_UNSPECIFIED
Unspecified protocol (not HOPOPT).
|
TCP
Transmission Control Protocol.
|
UDP
User Datagram Protocol.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ESP_VALUE
Encap Security Payload.
|
static int |
GRE_VALUE
Generic Routing Encapsulation.
|
static int |
ICMP_VALUE
Internet Control Message Protocol.
|
static int |
PROTOCOL_UNSPECIFIED_VALUE
Unspecified protocol (not HOPOPT).
|
static int |
TCP_VALUE
Transmission Control Protocol.
|
static int |
UDP_VALUE
User Datagram Protocol.
|
| Modifier and Type | Method and Description |
|---|---|
static Connection.Protocol |
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<Connection.Protocol> |
internalGetValueMap() |
static Connection.Protocol |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Connection.Protocol |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Connection.Protocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Connection.Protocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Connection.Protocol PROTOCOL_UNSPECIFIED
Unspecified protocol (not HOPOPT).
PROTOCOL_UNSPECIFIED = 0;public static final Connection.Protocol ICMP
Internet Control Message Protocol.
ICMP = 1;public static final Connection.Protocol TCP
Transmission Control Protocol.
TCP = 6;public static final Connection.Protocol UDP
User Datagram Protocol.
UDP = 17;public static final Connection.Protocol GRE
Generic Routing Encapsulation.
GRE = 47;public static final Connection.Protocol ESP
Encap Security Payload.
ESP = 50;public static final Connection.Protocol UNRECOGNIZED
public static final int PROTOCOL_UNSPECIFIED_VALUE
Unspecified protocol (not HOPOPT).
PROTOCOL_UNSPECIFIED = 0;public static final int ICMP_VALUE
Internet Control Message Protocol.
ICMP = 1;public static final int TCP_VALUE
Transmission Control Protocol.
TCP = 6;public static final int UDP_VALUE
User Datagram Protocol.
UDP = 17;public static final int GRE_VALUE
Generic Routing Encapsulation.
GRE = 47;public static final int ESP_VALUE
Encap Security Payload.
ESP = 50;public static Connection.Protocol[] values()
for (Connection.Protocol c : Connection.Protocol.values()) System.out.println(c);
public static Connection.Protocol 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 Connection.Protocol valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Connection.Protocol forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Connection.Protocol> 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 Connection.Protocol valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.