class documentation

class EndpointSpec__Port__Protocol(Enum): (source)

View In Hierarchy

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

Constant __PROTO_DESCRIPTOR__ Protobuf enum descriptor from the registry.
Constant __PROTO_FULL_NAME__ Fully qualified protobuf enum name.
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 __REGISTRY__ Registry for the enum and its descriptor.
Class Method _missing_ Represent unknown open-enum numbers without losing their value.
__PROTO_DESCRIPTOR__ = (source)

Protobuf enum descriptor from the registry.

Value
REGISTRY.enum_descriptor('nebius.ai.v1.EndpointSpec.Port.Protocol')
__PROTO_FULL_NAME__: str = (source)

Fully qualified protobuf enum name.

Value
'nebius.ai.v1.EndpointSpec.Port.Protocol'

HTTP protocol.

Value
1
PROTOCOL_UNSPECIFIED: int = (source)

Undocumented

Value
0

TCP protocol.

Value
2

UDP protocol.

Value
3