class documentation

class Protocol(Enum): (source)

View In Hierarchy

Represents protocol of the endpoint's port which will be exposed.

Constant HTTP HTTP protocol.
Constant PROTOCOL_UNSPECIFIED Undocumented
Constant TCP TCP protocol.
Constant UDP UDP 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.
HTTP: ellipsis = (source)

HTTP protocol.

Value
...
PROTOCOL_UNSPECIFIED: ellipsis = (source)

Undocumented

Value
...
TCP: ellipsis = (source)

TCP protocol.

Value
...
UDP: ellipsis = (source)

UDP protocol.

Value
...