Class NamedPort (1.3.1)

NamedPort(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The named port. For example: <"http", 80>.

Attributes

NameDescription
name str
The name for this named port. The name must be 1-63 characters long, and comply with RFC1035. This field is a member of `oneof`_ ``_name``.
port int
The port number, which can be a value between 1 and 65535. This field is a member of `oneof`_ ``_port``.

Inheritance

builtins.object > proto.message.Message > NamedPort