Skip to content

Commit

Permalink
Cleanup generated protobuf files
Browse files Browse the repository at this point in the history
  • Loading branch information
tcamise-gpsw committed Apr 19, 2024
1 parent 494542a commit 5b8fbfb
Show file tree
Hide file tree
Showing 28 changed files with 155 additions and 465 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
"""Generated protocol buffer code."""

from google.protobuf.internal import builder as _builder
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder

_sym_db = _symbol_database.Default()
from . import response_generic_pb2 as response__generic__pb2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ class _EnumCOHNStatus:
V: typing_extensions.TypeAlias = ValueType

class _EnumCOHNStatusEnumTypeWrapper(
google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[
_EnumCOHNStatus.ValueType
],
google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_EnumCOHNStatus.ValueType],
builtins.type,
):
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
Expand All @@ -44,9 +42,7 @@ class _EnumCOHNNetworkState:
V: typing_extensions.TypeAlias = ValueType

class _EnumCOHNNetworkStateEnumTypeWrapper(
google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[
_EnumCOHNNetworkState.ValueType
],
google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_EnumCOHNNetworkState.ValueType],
builtins.type,
):
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
Expand All @@ -59,9 +55,7 @@ class _EnumCOHNNetworkStateEnumTypeWrapper(
COHN_STATE_ConnectingToNetwork: _EnumCOHNNetworkState.ValueType
COHN_STATE_Invalid: _EnumCOHNNetworkState.ValueType

class EnumCOHNNetworkState(
_EnumCOHNNetworkState, metaclass=_EnumCOHNNetworkStateEnumTypeWrapper
): ...
class EnumCOHNNetworkState(_EnumCOHNNetworkState, metaclass=_EnumCOHNNetworkStateEnumTypeWrapper): ...

COHN_STATE_Init: EnumCOHNNetworkState.ValueType
COHN_STATE_Error: EnumCOHNNetworkState.ValueType
Expand Down Expand Up @@ -92,15 +86,11 @@ class RequestGetCOHNStatus(google.protobuf.message.Message):
def __init__(self, *, register_cohn_status: builtins.bool | None = ...) -> None: ...
def HasField(
self,
field_name: typing_extensions.Literal[
"register_cohn_status", b"register_cohn_status"
],
field_name: typing_extensions.Literal["register_cohn_status", b"register_cohn_status"],
) -> builtins.bool: ...
def ClearField(
self,
field_name: typing_extensions.Literal[
"register_cohn_status", b"register_cohn_status"
],
field_name: typing_extensions.Literal["register_cohn_status", b"register_cohn_status"],
) -> None: ...

global___RequestGetCOHNStatus = RequestGetCOHNStatus
Expand Down Expand Up @@ -208,12 +198,8 @@ class RequestCreateCOHNCert(google.protobuf.message.Message):
"Override current provisioning and create new cert"

def __init__(self, *, override: builtins.bool | None = ...) -> None: ...
def HasField(
self, field_name: typing_extensions.Literal["override", b"override"]
) -> builtins.bool: ...
def ClearField(
self, field_name: typing_extensions.Literal["override", b"override"]
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["override", b"override"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["override", b"override"]) -> None: ...

global___RequestCreateCOHNCert = RequestCreateCOHNCert

Expand Down Expand Up @@ -260,10 +246,7 @@ class ResponseCOHNCert(google.protobuf.message.Message):
"Root CA cert (ASCII text)"

def __init__(
self,
*,
result: response_generic_pb2.EnumResultGeneric.ValueType | None = ...,
cert: builtins.str | None = ...
self, *, result: response_generic_pb2.EnumResultGeneric.ValueType | None = ..., cert: builtins.str | None = ...
) -> None: ...
def HasField(
self,
Expand All @@ -290,11 +273,7 @@ class RequestSetCOHNSetting(google.protobuf.message.Message):
"*\n 1 to enable COHN, 0 to disable COHN\n\n When set to 1, STA Mode connection will be dropped and camera will not automatically re-connect for COHN.\n "

def __init__(self, *, cohn_active: builtins.bool | None = ...) -> None: ...
def HasField(
self, field_name: typing_extensions.Literal["cohn_active", b"cohn_active"]
) -> builtins.bool: ...
def ClearField(
self, field_name: typing_extensions.Literal["cohn_active", b"cohn_active"]
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["cohn_active", b"cohn_active"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["cohn_active", b"cohn_active"]) -> None: ...

global___RequestSetCOHNSetting = RequestSetCOHNSetting
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
"""Generated protocol buffer code."""

from google.protobuf.internal import builder as _builder
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder

_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ class _EnumLiveStreamError:
V: typing_extensions.TypeAlias = ValueType

class _EnumLiveStreamErrorEnumTypeWrapper(
google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[
_EnumLiveStreamError.ValueType
],
google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_EnumLiveStreamError.ValueType],
builtins.type,
):
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
Expand Down Expand Up @@ -78,9 +76,7 @@ class _EnumLiveStreamErrorEnumTypeWrapper(
LIVE_STREAM_ERROR_SD_CARD_REMOVED: _EnumLiveStreamError.ValueType
"Livestream stopped because sd card was removed"

class EnumLiveStreamError(
_EnumLiveStreamError, metaclass=_EnumLiveStreamErrorEnumTypeWrapper
): ...
class EnumLiveStreamError(_EnumLiveStreamError, metaclass=_EnumLiveStreamErrorEnumTypeWrapper): ...

LIVE_STREAM_ERROR_NONE: EnumLiveStreamError.ValueType
"No error (success)"
Expand Down Expand Up @@ -115,9 +111,7 @@ class _EnumLiveStreamStatus:
V: typing_extensions.TypeAlias = ValueType

class _EnumLiveStreamStatusEnumTypeWrapper(
google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[
_EnumLiveStreamStatus.ValueType
],
google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_EnumLiveStreamStatus.ValueType],
builtins.type,
):
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
Expand All @@ -138,9 +132,7 @@ class _EnumLiveStreamStatusEnumTypeWrapper(
LIVE_STREAM_STATE_UNAVAILABLE: _EnumLiveStreamStatus.ValueType
"Live stream setup is unavailable due to camera lens configuration"

class EnumLiveStreamStatus(
_EnumLiveStreamStatus, metaclass=_EnumLiveStreamStatusEnumTypeWrapper
): ...
class EnumLiveStreamStatus(_EnumLiveStreamStatus, metaclass=_EnumLiveStreamStatusEnumTypeWrapper): ...

LIVE_STREAM_STATE_IDLE: EnumLiveStreamStatus.ValueType
"Initial status. Livestream has not yet been configured"
Expand All @@ -165,9 +157,7 @@ class _EnumRegisterLiveStreamStatus:
V: typing_extensions.TypeAlias = ValueType

class _EnumRegisterLiveStreamStatusEnumTypeWrapper(
google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[
_EnumRegisterLiveStreamStatus.ValueType
],
google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_EnumRegisterLiveStreamStatus.ValueType],
builtins.type,
):
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
Expand All @@ -192,9 +182,7 @@ class _EnumWindowSize:
V: typing_extensions.TypeAlias = ValueType

class _EnumWindowSizeEnumTypeWrapper(
google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[
_EnumWindowSize.ValueType
],
google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_EnumWindowSize.ValueType],
builtins.type,
):
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
Expand Down Expand Up @@ -244,9 +232,7 @@ class NotifyLiveStreamStatus(google.protobuf.message.Message):
@property
def live_stream_window_size_supported_array(
self,
) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[
global___EnumWindowSize.ValueType
]:
) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___EnumWindowSize.ValueType]:
"""Set of currently supported resolutions"""
live_stream_encode_supported: builtins.bool
"Does the camera support encoding while live streaming?"
Expand All @@ -262,11 +248,8 @@ class NotifyLiveStreamStatus(google.protobuf.message.Message):
@property
def live_stream_lens_supported_array(
self,
) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[
global___EnumLens.ValueType
]:
) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___EnumLens.ValueType]:
"""Set of currently supported FOV options"""

def __init__(
self,
*,
Expand All @@ -282,9 +265,7 @@ class NotifyLiveStreamStatus(google.protobuf.message.Message):
live_stream_minimum_stream_bitrate: builtins.int | None = ...,
live_stream_maximum_stream_bitrate: builtins.int | None = ...,
live_stream_lens_supported: builtins.bool | None = ...,
live_stream_lens_supported_array: (
collections.abc.Iterable[global___EnumLens.ValueType] | None
) = ...
live_stream_lens_supported_array: (collections.abc.Iterable[global___EnumLens.ValueType] | None) = ...
) -> None: ...
def HasField(
self,
Expand Down Expand Up @@ -360,25 +341,21 @@ class RequestGetLiveStreamStatus(google.protobuf.message.Message):
global___EnumRegisterLiveStreamStatus.ValueType
]:
"""Array of live stream statuses to be notified about"""

@property
def unregister_live_stream_status(
self,
) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[
global___EnumRegisterLiveStreamStatus.ValueType
]:
"""Array of live stream statuses to stop being notified about"""

def __init__(
self,
*,
register_live_stream_status: (
collections.abc.Iterable[global___EnumRegisterLiveStreamStatus.ValueType]
| None
collections.abc.Iterable[global___EnumRegisterLiveStreamStatus.ValueType] | None
) = ...,
unregister_live_stream_status: (
collections.abc.Iterable[global___EnumRegisterLiveStreamStatus.ValueType]
| None
collections.abc.Iterable[global___EnumRegisterLiveStreamStatus.ValueType] | None
) = ...
) -> None: ...
def ClearField(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
"""Generated protocol buffer code."""

from google.protobuf.internal import builder as _builder
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder

_sym_db = _symbol_database.Default()
from . import response_generic_pb2 as response__generic__pb2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ class ResponseLastCapturedMedia(google.protobuf.message.Message):
"""*
Last captured media if result is RESULT_SUCCESS. Invalid if result is RESULT_RESOURCE_NOT_AVAILBLE.
"""

def __init__(
self,
*,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
"""Generated protocol buffer code."""

from google.protobuf.internal import builder as _builder
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder

_sym_db = _symbol_database.Default()
from . import response_generic_pb2 as response__generic__pb2
Expand Down
Loading

0 comments on commit 5b8fbfb

Please sign in to comment.