class documentation

class Protocol(Enum): (source)

View In Hierarchy

The transport protocol for the exposed port.

Constant PROTOCOL_UNSPECIFIED No protocol specified. Uses TCP.
Constant TCP The Transmission Control Protocol.
Constant UDP The User Datagram Protocol.

Inherited from Enum:

Class Method get_descriptor Return the protobuf EnumDescriptor for this enum.
Constant __PB2_DESCRIPTOR__ Alias for code that expects a protobuf descriptor.
Constant __PROTO_DESCRIPTOR__ Enum descriptor from the registry.
Constant __REGISTRY__ Registry for the enum and its descriptor.
Class Variable __PROTO_FULL_NAME__ Fully qualified protobuf enum name.
Class Method _missing_ Represent unknown open-enum numbers without losing their value.
PROTOCOL_UNSPECIFIED: ellipsis = (source)

No protocol specified. Uses TCP.

Value
...
TCP: ellipsis = (source)

The Transmission Control Protocol.

Value
...
UDP: ellipsis = (source)

The User Datagram Protocol.

Value
...