"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
Copyright (c) 2016-2019 Deephaven Data Labs and Patent Pending
"""
import builtins
import google.protobuf.descriptor
import google.protobuf.internal.enum_type_wrapper
import google.protobuf.message
import sys
import typing
if sys.version_info >= (3, 10):
import typing as typing_extensions
else:
import typing_extensions
[docs]
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
class _NamespaceSetEnum:
ValueType = typing.NewType("ValueType", builtins.int)
V: typing_extensions.TypeAlias = ValueType
class _NamespaceSetEnumEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_NamespaceSetEnum.ValueType], builtins.type):
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
UNSET: _NamespaceSetEnum.ValueType # 0
SYSTEM: _NamespaceSetEnum.ValueType # 1
USER: _NamespaceSetEnum.ValueType # 2
[docs]
class NamespaceSetEnum(_NamespaceSetEnum, metaclass=_NamespaceSetEnumEnumTypeWrapper):
"""Enum mirroring NamespaceSet"""
[docs]
UNSET: NamespaceSetEnum.ValueType # 0
[docs]
SYSTEM: NamespaceSetEnum.ValueType # 1
[docs]
USER: NamespaceSetEnum.ValueType # 2
[docs]
Global___NamespaceSetEnum: typing_extensions.TypeAlias = NamespaceSetEnum
@typing.final
[docs]
class AuthRequest(google.protobuf.message.Message):
"""
Request to authenticate.
"""
[docs]
DESCRIPTOR: google.protobuf.descriptor.Descriptor
[docs]
TOKEN_FIELD_NUMBER: builtins.int
"""serialized AuthToken, will be empty if the token is null"""
def __init__(
self,
*,
token: builtins.bytes = ...,
) -> None: ...
[docs]
def ClearField(self, field_name: typing.Literal["token", b"token"]) -> None: ...
[docs]
Global___AuthRequest: typing_extensions.TypeAlias = AuthRequest
@typing.final
[docs]
class AuthReply(google.protobuf.message.Message):
"""
Response to authentication request.
"""
[docs]
DESCRIPTOR: google.protobuf.descriptor.Descriptor
[docs]
ISAUTHENTICATED_FIELD_NUMBER: builtins.int
[docs]
isAuthenticated: builtins.bool
def __init__(
self,
*,
isAuthenticated: builtins.bool = ...,
) -> None: ...
[docs]
def ClearField(self, field_name: typing.Literal["isAuthenticated", b"isAuthenticated"]) -> None: ...
[docs]
Global___AuthReply: typing_extensions.TypeAlias = AuthReply
@typing.final
[docs]
class AboutRequest(google.protobuf.message.Message):
"""
Request for About information.
"""
[docs]
DESCRIPTOR: google.protobuf.descriptor.Descriptor
def __init__(
self,
) -> None: ...
[docs]
Global___AboutRequest: typing_extensions.TypeAlias = AboutRequest
@typing.final
[docs]
class AboutReply(google.protobuf.message.Message):
"""
Response to about request.
"""
[docs]
DESCRIPTOR: google.protobuf.descriptor.Descriptor
[docs]
VERSION_FIELD_NUMBER: builtins.int
[docs]
NAME_FIELD_NUMBER: builtins.int
[docs]
MESSAGE_FIELD_NUMBER: builtins.int
def __init__(
self,
*,
version: builtins.int = ...,
name: builtins.str = ...,
message: builtins.str = ...,
) -> None: ...
[docs]
def ClearField(self, field_name: typing.Literal["message", b"message", "name", b"name", "version", b"version"]) -> None: ...
[docs]
Global___AboutReply: typing_extensions.TypeAlias = AboutReply
@typing.final
[docs]
class PingRequest(google.protobuf.message.Message):
[docs]
DESCRIPTOR: google.protobuf.descriptor.Descriptor
[docs]
SENDER_SEND_TIME_MILLIS_FIELD_NUMBER: builtins.int
[docs]
FROM_FIELD_NUMBER: builtins.int
[docs]
sender_send_time_millis: builtins.int
def __init__(
self,
*,
sender_send_time_millis: builtins.int = ...,
) -> None: ...
[docs]
def ClearField(self, field_name: typing.Literal["from", b"from", "sender_send_time_millis", b"sender_send_time_millis"]) -> None: ...
[docs]
Global___PingRequest: typing_extensions.TypeAlias = PingRequest
@typing.final
[docs]
class PingResponse(google.protobuf.message.Message):
[docs]
DESCRIPTOR: google.protobuf.descriptor.Descriptor
[docs]
RECEIVER_RECEIVE_TIME_MILLIS_FIELD_NUMBER: builtins.int
[docs]
FROM_FIELD_NUMBER: builtins.int
[docs]
receiver_receive_time_millis: builtins.int
def __init__(
self,
*,
receiver_receive_time_millis: builtins.int = ...,
) -> None: ...
[docs]
def ClearField(self, field_name: typing.Literal["from", b"from", "receiver_receive_time_millis", b"receiver_receive_time_millis"]) -> None: ...
[docs]
Global___PingResponse: typing_extensions.TypeAlias = PingResponse
@typing.final
[docs]
class ExceptionDetailsMessage(google.protobuf.message.Message):
[docs]
DESCRIPTOR: google.protobuf.descriptor.Descriptor
[docs]
ERRORMESSAGE_FIELD_NUMBER: builtins.int
[docs]
STACKTRACE_FIELD_NUMBER: builtins.int
[docs]
SHORTCAUSES_FIELD_NUMBER: builtins.int
[docs]
errorMessage: builtins.str
[docs]
stackTrace: builtins.str
[docs]
shortCauses: builtins.str
def __init__(
self,
*,
errorMessage: builtins.str = ...,
stackTrace: builtins.str = ...,
shortCauses: builtins.str = ...,
) -> None: ...
[docs]
def ClearField(self, field_name: typing.Literal["errorMessage", b"errorMessage", "shortCauses", b"shortCauses", "stackTrace", b"stackTrace"]) -> None: ...
[docs]
Global___ExceptionDetailsMessage: typing_extensions.TypeAlias = ExceptionDetailsMessage