mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
56 lines
2.1 KiB
Python
56 lines
2.1 KiB
Python
"""
|
|
@generated by mypy-protobuf. Do not edit manually!
|
|
isort:skip_file
|
|
"""
|
|
|
|
import builtins
|
|
import collections.abc
|
|
import google.protobuf.descriptor
|
|
import google.protobuf.internal.containers
|
|
import google.protobuf.message
|
|
import typing
|
|
|
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
|
|
@typing.final
|
|
class NoiseExtensions(google.protobuf.message.Message):
|
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
|
|
WEBTRANSPORT_CERTHASHES_FIELD_NUMBER: builtins.int
|
|
STREAM_MUXERS_FIELD_NUMBER: builtins.int
|
|
@property
|
|
def webtransport_certhashes(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: ...
|
|
@property
|
|
def stream_muxers(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
def __init__(
|
|
self,
|
|
*,
|
|
webtransport_certhashes: collections.abc.Iterable[builtins.bytes] | None = ...,
|
|
stream_muxers: collections.abc.Iterable[builtins.str] | None = ...,
|
|
) -> None: ...
|
|
def ClearField(self, field_name: typing.Literal["stream_muxers", b"stream_muxers", "webtransport_certhashes", b"webtransport_certhashes"]) -> None: ...
|
|
|
|
global___NoiseExtensions = NoiseExtensions
|
|
|
|
@typing.final
|
|
class NoiseHandshakePayload(google.protobuf.message.Message):
|
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
|
|
IDENTITY_KEY_FIELD_NUMBER: builtins.int
|
|
IDENTITY_SIG_FIELD_NUMBER: builtins.int
|
|
DATA_FIELD_NUMBER: builtins.int
|
|
identity_key: builtins.bytes
|
|
identity_sig: builtins.bytes
|
|
data: builtins.bytes
|
|
def __init__(
|
|
self,
|
|
*,
|
|
identity_key: builtins.bytes | None = ...,
|
|
identity_sig: builtins.bytes | None = ...,
|
|
data: builtins.bytes | None = ...,
|
|
) -> None: ...
|
|
def HasField(self, field_name: typing.Literal["data", b"data", "identity_key", b"identity_key", "identity_sig", b"identity_sig"]) -> builtins.bool: ...
|
|
def ClearField(self, field_name: typing.Literal["data", b"data", "identity_key", b"identity_key", "identity_sig", b"identity_sig"]) -> None: ...
|
|
|
|
global___NoiseHandshakePayload = NoiseHandshakePayload
|