viam-sdk 0.41.1__py3-none-linux_armv6l.whl → 0.66.0__py3-none-linux_armv6l.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of viam-sdk might be problematic. Click here for more details.
- viam/app/app_client.py +225 -51
- viam/app/billing_client.py +47 -5
- viam/app/data_client.py +771 -234
- viam/app/ml_training_client.py +3 -5
- viam/app/provisioning_client.py +3 -5
- viam/app/viam_client.py +58 -11
- viam/components/arm/arm.py +1 -1
- viam/components/arm/service.py +1 -1
- viam/components/audio_in/__init__.py +24 -0
- viam/components/audio_in/audio_in.py +74 -0
- viam/components/audio_in/client.py +76 -0
- viam/components/audio_in/service.py +83 -0
- viam/components/audio_out/__init__.py +21 -0
- viam/components/audio_out/audio_out.py +72 -0
- viam/components/audio_out/client.py +67 -0
- viam/components/audio_out/service.py +63 -0
- viam/components/base/base.py +1 -1
- viam/components/board/board.py +8 -2
- viam/components/board/client.py +2 -1
- viam/components/board/service.py +1 -0
- viam/components/button/__init__.py +10 -0
- viam/components/button/button.py +41 -0
- viam/components/button/client.py +52 -0
- viam/components/button/service.py +46 -0
- viam/components/camera/camera.py +15 -30
- viam/components/camera/client.py +10 -21
- viam/components/camera/service.py +15 -28
- viam/components/component_base.py +2 -2
- viam/components/gantry/client.py +17 -2
- viam/components/gantry/gantry.py +32 -1
- viam/components/gantry/service.py +21 -5
- viam/components/gripper/__init__.py +2 -0
- viam/components/gripper/client.py +25 -2
- viam/components/gripper/gripper.py +76 -1
- viam/components/gripper/service.py +32 -3
- viam/components/input/input.py +1 -1
- viam/components/motor/motor.py +1 -1
- viam/components/power_sensor/power_sensor.py +1 -1
- viam/components/switch/__init__.py +10 -0
- viam/components/switch/client.py +83 -0
- viam/components/switch/service.py +72 -0
- viam/components/switch/switch.py +98 -0
- viam/gen/app/agent/v1/agent_pb2.py +1 -1
- viam/gen/app/cloudslam/v1/cloud_slam_pb2.py +1 -1
- viam/gen/app/data/v1/data_grpc.py +74 -2
- viam/gen/app/data/v1/data_pb2.py +198 -104
- viam/gen/app/data/v1/data_pb2.pyi +563 -31
- viam/gen/app/datapipelines/__init__.py +0 -0
- viam/gen/app/datapipelines/v1/__init__.py +0 -0
- viam/gen/app/datapipelines/v1/data_pipelines_grpc.py +84 -0
- viam/gen/app/datapipelines/v1/data_pipelines_pb2.py +57 -0
- viam/gen/app/datapipelines/v1/data_pipelines_pb2.pyi +387 -0
- viam/gen/app/dataset/v1/dataset_grpc.py +10 -2
- viam/gen/app/dataset/v1/dataset_pb2.py +8 -4
- viam/gen/app/dataset/v1/dataset_pb2.pyi +36 -1
- viam/gen/app/datasync/v1/data_sync_pb2.py +39 -35
- viam/gen/app/datasync/v1/data_sync_pb2.pyi +21 -8
- viam/gen/app/mlinference/v1/ml_inference_pb2.py +7 -7
- viam/gen/app/mlinference/v1/ml_inference_pb2.pyi +4 -2
- viam/gen/app/mltraining/v1/ml_training_grpc.py +10 -2
- viam/gen/app/mltraining/v1/ml_training_pb2.py +63 -43
- viam/gen/app/mltraining/v1/ml_training_pb2.pyi +112 -7
- viam/gen/app/packages/v1/packages_pb2.py +1 -1
- viam/gen/app/v1/app_grpc.py +74 -3
- viam/gen/app/v1/app_pb2.py +600 -545
- viam/gen/app/v1/app_pb2.pyi +1108 -258
- viam/gen/app/v1/billing_grpc.py +26 -2
- viam/gen/app/v1/billing_pb2.py +52 -36
- viam/gen/app/v1/billing_pb2.pyi +158 -4
- viam/gen/app/v1/end_user_pb2.py +1 -1
- viam/gen/app/v1/robot_pb2.py +95 -89
- viam/gen/app/v1/robot_pb2.pyi +121 -9
- viam/gen/common/v1/common_pb2.py +76 -58
- viam/gen/common/v1/common_pb2.pyi +186 -17
- viam/gen/component/arm/v1/arm_grpc.py +10 -2
- viam/gen/component/arm/v1/arm_pb2.py +5 -3
- viam/gen/component/audioin/__init__.py +0 -0
- viam/gen/component/audioin/v1/__init__.py +0 -0
- viam/gen/component/audioin/v1/audioin_grpc.py +54 -0
- viam/gen/component/audioin/v1/audioin_pb2.py +34 -0
- viam/gen/component/audioin/v1/audioin_pb2.pyi +94 -0
- viam/gen/component/audioinput/v1/audioinput_pb2.py +1 -1
- viam/gen/component/audioout/__init__.py +0 -0
- viam/gen/component/audioout/v1/__init__.py +0 -0
- viam/gen/component/audioout/v1/audioout_grpc.py +54 -0
- viam/gen/component/audioout/v1/audioout_pb2.py +32 -0
- viam/gen/component/audioout/v1/audioout_pb2.pyi +47 -0
- viam/gen/component/base/v1/base_pb2.py +1 -1
- viam/gen/component/board/v1/board_pb2.py +1 -1
- viam/gen/component/button/v1/button_pb2.py +1 -1
- viam/gen/component/camera/v1/camera_grpc.py +1 -0
- viam/gen/component/camera/v1/camera_pb2.py +37 -36
- viam/gen/component/camera/v1/camera_pb2.pyi +31 -4
- viam/gen/component/encoder/v1/encoder_pb2.py +1 -1
- viam/gen/component/gantry/v1/gantry_grpc.py +9 -1
- viam/gen/component/gantry/v1/gantry_pb2.py +5 -3
- viam/gen/component/generic/v1/generic_pb2.py +1 -1
- viam/gen/component/gripper/v1/gripper_grpc.py +18 -2
- viam/gen/component/gripper/v1/gripper_pb2.py +12 -4
- viam/gen/component/gripper/v1/gripper_pb2.pyi +43 -1
- viam/gen/component/inputcontroller/v1/input_controller_pb2.py +1 -1
- viam/gen/component/motor/v1/motor_pb2.py +1 -1
- viam/gen/component/movementsensor/v1/movementsensor_pb2.py +1 -1
- viam/gen/component/posetracker/v1/pose_tracker_pb2.py +1 -1
- viam/gen/component/powersensor/v1/powersensor_pb2.py +1 -1
- viam/gen/component/sensor/v1/sensor_pb2.py +1 -1
- viam/gen/component/servo/v1/servo_pb2.py +1 -1
- viam/gen/component/switch/v1/switch_pb2.py +5 -5
- viam/gen/component/switch/v1/switch_pb2.pyi +9 -2
- viam/gen/component/testecho/v1/testecho_pb2.py +1 -1
- viam/gen/module/v1/module_pb2.py +5 -5
- viam/gen/module/v1/module_pb2.pyi +7 -2
- viam/gen/opentelemetry/__init__.py +0 -0
- viam/gen/opentelemetry/proto/__init__.py +0 -0
- viam/gen/opentelemetry/proto/common/__init__.py +0 -0
- viam/gen/opentelemetry/proto/common/v1/__init__.py +0 -0
- viam/gen/opentelemetry/proto/common/v1/common_grpc.py +0 -0
- viam/gen/opentelemetry/proto/common/v1/common_pb2.py +27 -0
- viam/gen/opentelemetry/proto/common/v1/common_pb2.pyi +208 -0
- viam/gen/opentelemetry/proto/resource/__init__.py +0 -0
- viam/gen/opentelemetry/proto/resource/v1/__init__.py +0 -0
- viam/gen/opentelemetry/proto/resource/v1/resource_grpc.py +0 -0
- viam/gen/opentelemetry/proto/resource/v1/resource_pb2.py +18 -0
- viam/gen/opentelemetry/proto/resource/v1/resource_pb2.pyi +59 -0
- viam/gen/opentelemetry/proto/trace/__init__.py +0 -0
- viam/gen/opentelemetry/proto/trace/v1/__init__.py +0 -0
- viam/gen/opentelemetry/proto/trace/v1/trace_grpc.py +0 -0
- viam/gen/opentelemetry/proto/trace/v1/trace_pb2.py +37 -0
- viam/gen/opentelemetry/proto/trace/v1/trace_pb2.pyi +402 -0
- viam/gen/proto/rpc/examples/echo/v1/echo_pb2.py +1 -1
- viam/gen/proto/rpc/examples/echoresource/v1/echoresource_pb2.py +1 -1
- viam/gen/proto/rpc/v1/auth_pb2.py +1 -1
- viam/gen/proto/rpc/webrtc/v1/grpc_pb2.py +1 -1
- viam/gen/proto/rpc/webrtc/v1/signaling_pb2.py +1 -1
- viam/gen/provisioning/v1/provisioning_grpc.py +10 -2
- viam/gen/provisioning/v1/provisioning_pb2.py +32 -26
- viam/gen/provisioning/v1/provisioning_pb2.pyi +46 -5
- viam/gen/robot/v1/robot_grpc.py +51 -34
- viam/gen/robot/v1/robot_pb2.py +147 -142
- viam/gen/robot/v1/robot_pb2.pyi +153 -86
- viam/gen/service/datamanager/v1/data_manager_grpc.py +11 -2
- viam/gen/service/datamanager/v1/data_manager_pb2.py +15 -8
- viam/gen/service/datamanager/v1/data_manager_pb2.pyi +47 -1
- viam/gen/service/discovery/v1/discovery_pb2.py +1 -1
- viam/gen/service/generic/v1/generic_pb2.py +1 -1
- viam/gen/service/mlmodel/v1/mlmodel_pb2.py +1 -1
- viam/gen/service/motion/v1/motion_pb2.py +92 -62
- viam/gen/service/motion/v1/motion_pb2.pyi +130 -68
- viam/gen/service/navigation/v1/navigation_pb2.py +1 -1
- viam/gen/service/sensors/v1/sensors_pb2.py +1 -1
- viam/gen/service/shell/v1/shell_pb2.py +1 -1
- viam/gen/service/slam/v1/slam_pb2.py +1 -1
- viam/gen/service/slam/v1/slam_pb2.pyi +1 -1
- viam/gen/service/video/__init__.py +0 -0
- viam/gen/service/video/v1/__init__.py +0 -0
- viam/gen/service/video/v1/video_grpc.py +39 -0
- viam/gen/service/video/v1/video_pb2.py +29 -0
- viam/gen/service/video/v1/video_pb2.pyi +72 -0
- viam/gen/service/vision/v1/vision_pb2.py +27 -27
- viam/gen/service/vision/v1/vision_pb2.pyi +28 -3
- viam/gen/service/worldstatestore/__init__.py +0 -0
- viam/gen/service/worldstatestore/v1/__init__.py +0 -0
- viam/gen/service/worldstatestore/v1/world_state_store_grpc.py +55 -0
- viam/gen/service/worldstatestore/v1/world_state_store_pb2.py +39 -0
- viam/gen/service/worldstatestore/v1/world_state_store_pb2.pyi +171 -0
- viam/gen/stream/v1/stream_pb2.py +1 -1
- viam/gen/tagger/v1/tagger_pb2.py +1 -1
- viam/logging.py +9 -8
- viam/media/audio.py +22 -10
- viam/media/utils/pil/__init__.py +5 -1
- viam/media/video.py +54 -40
- viam/module/module.py +85 -16
- viam/module/resource_data_consumer.py +41 -0
- viam/module/service.py +9 -1
- viam/proto/app/__init__.py +68 -0
- viam/proto/app/billing.py +16 -0
- viam/proto/app/data/__init__.py +48 -0
- viam/proto/app/datapipelines/__init__.py +56 -0
- viam/proto/app/dataset/__init__.py +4 -0
- viam/proto/app/mltraining/__init__.py +6 -0
- viam/proto/app/robot.py +6 -0
- viam/proto/common/__init__.py +14 -0
- viam/proto/component/audioin/__init__.py +16 -0
- viam/proto/component/audioout/__init__.py +15 -0
- viam/proto/component/camera/__init__.py +0 -2
- viam/proto/component/gripper/__init__.py +4 -0
- viam/proto/opentelemetry/__init__.py +0 -0
- viam/proto/opentelemetry/proto/__init__.py +0 -0
- viam/proto/opentelemetry/proto/common/__init__.py +15 -0
- viam/proto/opentelemetry/proto/resource/__init__.py +10 -0
- viam/proto/opentelemetry/proto/trace/__init__.py +15 -0
- viam/proto/provisioning/__init__.py +6 -0
- viam/proto/robot/__init__.py +16 -8
- viam/proto/service/datamanager/__init__.py +8 -1
- viam/proto/service/motion/__init__.py +2 -0
- viam/proto/service/video/__init__.py +15 -0
- viam/proto/service/worldstatestore/__init__.py +32 -0
- viam/resource/easy_resource.py +5 -9
- viam/resource/manager.py +4 -3
- viam/resource/registry.py +2 -2
- viam/resource/types.py +2 -2
- viam/robot/client.py +38 -59
- viam/rpc/dial.py +48 -5
- viam/rpc/libviam_rust_utils.so +0 -0
- viam/rpc/server.py +24 -10
- viam/services/motion/client.py +8 -9
- viam/services/motion/motion.py +48 -46
- viam/services/navigation/navigation.py +2 -2
- viam/services/vision/client.py +1 -1
- viam/services/vision/service.py +5 -8
- viam/services/vision/vision.py +5 -3
- viam/services/worldstatestore/__init__.py +18 -0
- viam/services/worldstatestore/client.py +94 -0
- viam/services/worldstatestore/service.py +55 -0
- viam/services/worldstatestore/worldstatestore.py +90 -0
- viam/sessions_client.py +115 -46
- viam/version_metadata.py +2 -2
- {viam_sdk-0.41.1.dist-info → viam_sdk-0.66.0.dist-info}/METADATA +10 -6
- {viam_sdk-0.41.1.dist-info → viam_sdk-0.66.0.dist-info}/RECORD +221 -152
- {viam_sdk-0.41.1.dist-info → viam_sdk-0.66.0.dist-info}/WHEEL +1 -1
- viam/components/audio_input/__init__.py +0 -18
- viam/components/audio_input/audio_input.py +0 -81
- viam/components/audio_input/client.py +0 -70
- viam/components/audio_input/service.py +0 -114
- {viam_sdk-0.41.1.dist-info → viam_sdk-0.66.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,402 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
Copyright 2019, OpenTelemetry Authors
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
you may not use this file except in compliance with the License.
|
|
8
|
+
You may obtain a copy of the License at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
See the License for the specific language governing permissions and
|
|
16
|
+
limitations under the License.
|
|
17
|
+
"""
|
|
18
|
+
import builtins
|
|
19
|
+
import collections.abc
|
|
20
|
+
import google.protobuf.descriptor
|
|
21
|
+
import google.protobuf.internal.containers
|
|
22
|
+
import google.protobuf.internal.enum_type_wrapper
|
|
23
|
+
import google.protobuf.message
|
|
24
|
+
from ..... import opentelemetry
|
|
25
|
+
import sys
|
|
26
|
+
import typing
|
|
27
|
+
if sys.version_info >= (3, 10):
|
|
28
|
+
import typing as typing_extensions
|
|
29
|
+
else:
|
|
30
|
+
import typing_extensions
|
|
31
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
32
|
+
|
|
33
|
+
class _SpanFlags:
|
|
34
|
+
ValueType = typing.NewType('ValueType', builtins.int)
|
|
35
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
36
|
+
|
|
37
|
+
class _SpanFlagsEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_SpanFlags.ValueType], builtins.type):
|
|
38
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
39
|
+
SPAN_FLAGS_DO_NOT_USE: _SpanFlags.ValueType
|
|
40
|
+
'The zero value for the enum. Should not be used for comparisons.\n Instead use bitwise "and" with the appropriate mask as shown above.\n '
|
|
41
|
+
SPAN_FLAGS_TRACE_FLAGS_MASK: _SpanFlags.ValueType
|
|
42
|
+
'Bits 0-7 are used for trace flags.'
|
|
43
|
+
SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK: _SpanFlags.ValueType
|
|
44
|
+
'Bits 8 and 9 are used to indicate that the parent span or link span is remote.\n Bit 8 (`HAS_IS_REMOTE`) indicates whether the value is known.\n Bit 9 (`IS_REMOTE`) indicates whether the span or link is remote.\n '
|
|
45
|
+
SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK: _SpanFlags.ValueType
|
|
46
|
+
|
|
47
|
+
class SpanFlags(_SpanFlags, metaclass=_SpanFlagsEnumTypeWrapper):
|
|
48
|
+
"""SpanFlags represents constants used to interpret the
|
|
49
|
+
Span.flags field, which is protobuf 'fixed32' type and is to
|
|
50
|
+
be used as bit-fields. Each non-zero value defined in this enum is
|
|
51
|
+
a bit-mask. To extract the bit-field, for example, use an
|
|
52
|
+
expression like:
|
|
53
|
+
|
|
54
|
+
(span.flags & SPAN_FLAGS_TRACE_FLAGS_MASK)
|
|
55
|
+
|
|
56
|
+
See https://www.w3.org/TR/trace-context-2/#trace-flags for the flag definitions.
|
|
57
|
+
|
|
58
|
+
Note that Span flags were introduced in version 1.1 of the
|
|
59
|
+
OpenTelemetry protocol. Older Span producers do not set this
|
|
60
|
+
field, consequently consumers should not rely on the absence of a
|
|
61
|
+
particular flag bit to indicate the presence of a particular feature.
|
|
62
|
+
"""
|
|
63
|
+
SPAN_FLAGS_DO_NOT_USE: SpanFlags.ValueType
|
|
64
|
+
'The zero value for the enum. Should not be used for comparisons.\nInstead use bitwise "and" with the appropriate mask as shown above.\n'
|
|
65
|
+
SPAN_FLAGS_TRACE_FLAGS_MASK: SpanFlags.ValueType
|
|
66
|
+
'Bits 0-7 are used for trace flags.'
|
|
67
|
+
SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK: SpanFlags.ValueType
|
|
68
|
+
'Bits 8 and 9 are used to indicate that the parent span or link span is remote.\nBit 8 (`HAS_IS_REMOTE`) indicates whether the value is known.\nBit 9 (`IS_REMOTE`) indicates whether the span or link is remote.\n'
|
|
69
|
+
SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK: SpanFlags.ValueType
|
|
70
|
+
global___SpanFlags = SpanFlags
|
|
71
|
+
|
|
72
|
+
@typing.final
|
|
73
|
+
class TracesData(google.protobuf.message.Message):
|
|
74
|
+
"""TracesData represents the traces data that can be stored in a persistent storage,
|
|
75
|
+
OR can be embedded by other protocols that transfer OTLP traces data but do
|
|
76
|
+
not implement the OTLP protocol.
|
|
77
|
+
|
|
78
|
+
The main difference between this message and collector protocol is that
|
|
79
|
+
in this message there will not be any "control" or "metadata" specific to
|
|
80
|
+
OTLP protocol.
|
|
81
|
+
|
|
82
|
+
When new fields are added into this message, the OTLP request MUST be updated
|
|
83
|
+
as well.
|
|
84
|
+
"""
|
|
85
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
86
|
+
RESOURCE_SPANS_FIELD_NUMBER: builtins.int
|
|
87
|
+
|
|
88
|
+
@property
|
|
89
|
+
def resource_spans(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ResourceSpans]:
|
|
90
|
+
"""An array of ResourceSpans.
|
|
91
|
+
For data coming from a single resource this array will typically contain
|
|
92
|
+
one element. Intermediary nodes that receive data from multiple origins
|
|
93
|
+
typically batch the data before forwarding further and in that case this
|
|
94
|
+
array will contain multiple elements.
|
|
95
|
+
"""
|
|
96
|
+
|
|
97
|
+
def __init__(self, *, resource_spans: collections.abc.Iterable[global___ResourceSpans] | None=...) -> None:
|
|
98
|
+
...
|
|
99
|
+
|
|
100
|
+
def ClearField(self, field_name: typing.Literal['resource_spans', b'resource_spans']) -> None:
|
|
101
|
+
...
|
|
102
|
+
global___TracesData = TracesData
|
|
103
|
+
|
|
104
|
+
@typing.final
|
|
105
|
+
class ResourceSpans(google.protobuf.message.Message):
|
|
106
|
+
"""A collection of ScopeSpans from a Resource."""
|
|
107
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
108
|
+
RESOURCE_FIELD_NUMBER: builtins.int
|
|
109
|
+
SCOPE_SPANS_FIELD_NUMBER: builtins.int
|
|
110
|
+
SCHEMA_URL_FIELD_NUMBER: builtins.int
|
|
111
|
+
schema_url: builtins.str
|
|
112
|
+
'The Schema URL, if known. This is the identifier of the Schema that the resource data\n is recorded in. Notably, the last part of the URL path is the version number of the\n schema: http[s]://server[:port]/path/<version>. To learn more about Schema URL see\n https://opentelemetry.io/docs/specs/otel/schemas/#schema-url\n This schema_url applies to the data in the "resource" field. It does not apply\n to the data in the "scope_spans" field which have their own schema_url field.\n '
|
|
113
|
+
|
|
114
|
+
@property
|
|
115
|
+
def resource(self) -> opentelemetry.proto.resource.v1.resource_pb2.Resource:
|
|
116
|
+
"""The resource for the spans in this message.
|
|
117
|
+
If this field is not set then no resource info is known.
|
|
118
|
+
"""
|
|
119
|
+
|
|
120
|
+
@property
|
|
121
|
+
def scope_spans(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ScopeSpans]:
|
|
122
|
+
"""A list of ScopeSpans that originate from a resource."""
|
|
123
|
+
|
|
124
|
+
def __init__(self, *, resource: opentelemetry.proto.resource.v1.resource_pb2.Resource | None=..., scope_spans: collections.abc.Iterable[global___ScopeSpans] | None=..., schema_url: builtins.str=...) -> None:
|
|
125
|
+
...
|
|
126
|
+
|
|
127
|
+
def HasField(self, field_name: typing.Literal['resource', b'resource']) -> builtins.bool:
|
|
128
|
+
...
|
|
129
|
+
|
|
130
|
+
def ClearField(self, field_name: typing.Literal['resource', b'resource', 'schema_url', b'schema_url', 'scope_spans', b'scope_spans']) -> None:
|
|
131
|
+
...
|
|
132
|
+
global___ResourceSpans = ResourceSpans
|
|
133
|
+
|
|
134
|
+
@typing.final
|
|
135
|
+
class ScopeSpans(google.protobuf.message.Message):
|
|
136
|
+
"""A collection of Spans produced by an InstrumentationScope."""
|
|
137
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
138
|
+
SCOPE_FIELD_NUMBER: builtins.int
|
|
139
|
+
SPANS_FIELD_NUMBER: builtins.int
|
|
140
|
+
SCHEMA_URL_FIELD_NUMBER: builtins.int
|
|
141
|
+
schema_url: builtins.str
|
|
142
|
+
'The Schema URL, if known. This is the identifier of the Schema that the span data\n is recorded in. Notably, the last part of the URL path is the version number of the\n schema: http[s]://server[:port]/path/<version>. To learn more about Schema URL see\n https://opentelemetry.io/docs/specs/otel/schemas/#schema-url\n This schema_url applies to the data in the "scope" field and all spans and span\n events in the "spans" field.\n '
|
|
143
|
+
|
|
144
|
+
@property
|
|
145
|
+
def scope(self) -> opentelemetry.proto.common.v1.common_pb2.InstrumentationScope:
|
|
146
|
+
"""The instrumentation scope information for the spans in this message.
|
|
147
|
+
Semantically when InstrumentationScope isn't set, it is equivalent with
|
|
148
|
+
an empty instrumentation scope name (unknown).
|
|
149
|
+
"""
|
|
150
|
+
|
|
151
|
+
@property
|
|
152
|
+
def spans(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Span]:
|
|
153
|
+
"""A list of Spans that originate from an instrumentation scope."""
|
|
154
|
+
|
|
155
|
+
def __init__(self, *, scope: opentelemetry.proto.common.v1.common_pb2.InstrumentationScope | None=..., spans: collections.abc.Iterable[global___Span] | None=..., schema_url: builtins.str=...) -> None:
|
|
156
|
+
...
|
|
157
|
+
|
|
158
|
+
def HasField(self, field_name: typing.Literal['scope', b'scope']) -> builtins.bool:
|
|
159
|
+
...
|
|
160
|
+
|
|
161
|
+
def ClearField(self, field_name: typing.Literal['schema_url', b'schema_url', 'scope', b'scope', 'spans', b'spans']) -> None:
|
|
162
|
+
...
|
|
163
|
+
global___ScopeSpans = ScopeSpans
|
|
164
|
+
|
|
165
|
+
@typing.final
|
|
166
|
+
class Span(google.protobuf.message.Message):
|
|
167
|
+
"""A Span represents a single operation performed by a single component of the system.
|
|
168
|
+
|
|
169
|
+
The next available field id is 17.
|
|
170
|
+
"""
|
|
171
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
172
|
+
|
|
173
|
+
class _SpanKind:
|
|
174
|
+
ValueType = typing.NewType('ValueType', builtins.int)
|
|
175
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
176
|
+
|
|
177
|
+
class _SpanKindEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Span._SpanKind.ValueType], builtins.type):
|
|
178
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
179
|
+
SPAN_KIND_UNSPECIFIED: Span._SpanKind.ValueType
|
|
180
|
+
'Unspecified. Do NOT use as default.\n Implementations MAY assume SpanKind to be INTERNAL when receiving UNSPECIFIED.\n '
|
|
181
|
+
SPAN_KIND_INTERNAL: Span._SpanKind.ValueType
|
|
182
|
+
'Indicates that the span represents an internal operation within an application,\n as opposed to an operation happening at the boundaries. Default value.\n '
|
|
183
|
+
SPAN_KIND_SERVER: Span._SpanKind.ValueType
|
|
184
|
+
'Indicates that the span covers server-side handling of an RPC or other\n remote network request.\n '
|
|
185
|
+
SPAN_KIND_CLIENT: Span._SpanKind.ValueType
|
|
186
|
+
'Indicates that the span describes a request to some remote service.'
|
|
187
|
+
SPAN_KIND_PRODUCER: Span._SpanKind.ValueType
|
|
188
|
+
'Indicates that the span describes a producer sending a message to a broker.\n Unlike CLIENT and SERVER, there is often no direct critical path latency relationship\n between producer and consumer spans. A PRODUCER span ends when the message was accepted\n by the broker while the logical processing of the message might span a much longer time.\n '
|
|
189
|
+
SPAN_KIND_CONSUMER: Span._SpanKind.ValueType
|
|
190
|
+
'Indicates that the span describes consumer receiving a message from a broker.\n Like the PRODUCER kind, there is often no direct critical path latency relationship\n between producer and consumer spans.\n '
|
|
191
|
+
|
|
192
|
+
class SpanKind(_SpanKind, metaclass=_SpanKindEnumTypeWrapper):
|
|
193
|
+
"""SpanKind is the type of span. Can be used to specify additional relationships between spans
|
|
194
|
+
in addition to a parent/child relationship.
|
|
195
|
+
"""
|
|
196
|
+
SPAN_KIND_UNSPECIFIED: Span.SpanKind.ValueType
|
|
197
|
+
'Unspecified. Do NOT use as default.\n Implementations MAY assume SpanKind to be INTERNAL when receiving UNSPECIFIED.\n '
|
|
198
|
+
SPAN_KIND_INTERNAL: Span.SpanKind.ValueType
|
|
199
|
+
'Indicates that the span represents an internal operation within an application,\n as opposed to an operation happening at the boundaries. Default value.\n '
|
|
200
|
+
SPAN_KIND_SERVER: Span.SpanKind.ValueType
|
|
201
|
+
'Indicates that the span covers server-side handling of an RPC or other\n remote network request.\n '
|
|
202
|
+
SPAN_KIND_CLIENT: Span.SpanKind.ValueType
|
|
203
|
+
'Indicates that the span describes a request to some remote service.'
|
|
204
|
+
SPAN_KIND_PRODUCER: Span.SpanKind.ValueType
|
|
205
|
+
'Indicates that the span describes a producer sending a message to a broker.\n Unlike CLIENT and SERVER, there is often no direct critical path latency relationship\n between producer and consumer spans. A PRODUCER span ends when the message was accepted\n by the broker while the logical processing of the message might span a much longer time.\n '
|
|
206
|
+
SPAN_KIND_CONSUMER: Span.SpanKind.ValueType
|
|
207
|
+
'Indicates that the span describes consumer receiving a message from a broker.\n Like the PRODUCER kind, there is often no direct critical path latency relationship\n between producer and consumer spans.\n '
|
|
208
|
+
|
|
209
|
+
@typing.final
|
|
210
|
+
class Event(google.protobuf.message.Message):
|
|
211
|
+
"""Event is a time-stamped annotation of the span, consisting of user-supplied
|
|
212
|
+
text description and key-value pairs.
|
|
213
|
+
"""
|
|
214
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
215
|
+
TIME_UNIX_NANO_FIELD_NUMBER: builtins.int
|
|
216
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
217
|
+
ATTRIBUTES_FIELD_NUMBER: builtins.int
|
|
218
|
+
DROPPED_ATTRIBUTES_COUNT_FIELD_NUMBER: builtins.int
|
|
219
|
+
time_unix_nano: builtins.int
|
|
220
|
+
'The time the event occurred.'
|
|
221
|
+
name: builtins.str
|
|
222
|
+
'The name of the event.\n This field is semantically required to be set to non-empty string.\n '
|
|
223
|
+
dropped_attributes_count: builtins.int
|
|
224
|
+
'The number of dropped attributes. If the value is 0,\n then no attributes were dropped.\n '
|
|
225
|
+
|
|
226
|
+
@property
|
|
227
|
+
def attributes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[opentelemetry.proto.common.v1.common_pb2.KeyValue]:
|
|
228
|
+
"""A collection of attribute key/value pairs on the event.
|
|
229
|
+
Attribute keys MUST be unique (it is not allowed to have more than one
|
|
230
|
+
attribute with the same key).
|
|
231
|
+
The behavior of software that receives duplicated keys can be unpredictable.
|
|
232
|
+
"""
|
|
233
|
+
|
|
234
|
+
def __init__(self, *, time_unix_nano: builtins.int=..., name: builtins.str=..., attributes: collections.abc.Iterable[opentelemetry.proto.common.v1.common_pb2.KeyValue] | None=..., dropped_attributes_count: builtins.int=...) -> None:
|
|
235
|
+
...
|
|
236
|
+
|
|
237
|
+
def ClearField(self, field_name: typing.Literal['attributes', b'attributes', 'dropped_attributes_count', b'dropped_attributes_count', 'name', b'name', 'time_unix_nano', b'time_unix_nano']) -> None:
|
|
238
|
+
...
|
|
239
|
+
|
|
240
|
+
@typing.final
|
|
241
|
+
class Link(google.protobuf.message.Message):
|
|
242
|
+
"""A pointer from the current span to another span in the same trace or in a
|
|
243
|
+
different trace. For example, this can be used in batching operations,
|
|
244
|
+
where a single batch handler processes multiple requests from different
|
|
245
|
+
traces or when the handler receives a request from a different project.
|
|
246
|
+
"""
|
|
247
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
248
|
+
TRACE_ID_FIELD_NUMBER: builtins.int
|
|
249
|
+
SPAN_ID_FIELD_NUMBER: builtins.int
|
|
250
|
+
TRACE_STATE_FIELD_NUMBER: builtins.int
|
|
251
|
+
ATTRIBUTES_FIELD_NUMBER: builtins.int
|
|
252
|
+
DROPPED_ATTRIBUTES_COUNT_FIELD_NUMBER: builtins.int
|
|
253
|
+
FLAGS_FIELD_NUMBER: builtins.int
|
|
254
|
+
trace_id: builtins.bytes
|
|
255
|
+
'A unique identifier of a trace that this linked span is part of. The ID is a\n 16-byte array.\n '
|
|
256
|
+
span_id: builtins.bytes
|
|
257
|
+
'A unique identifier for the linked span. The ID is an 8-byte array.'
|
|
258
|
+
trace_state: builtins.str
|
|
259
|
+
'The trace_state associated with the link.'
|
|
260
|
+
dropped_attributes_count: builtins.int
|
|
261
|
+
'The number of dropped attributes. If the value is 0,\n then no attributes were dropped.\n '
|
|
262
|
+
flags: builtins.int
|
|
263
|
+
'Flags, a bit field.\n\n Bits 0-7 (8 least significant bits) are the trace flags as defined in W3C Trace\n Context specification. To read the 8-bit W3C trace flag, use\n `flags & SPAN_FLAGS_TRACE_FLAGS_MASK`.\n\n See https://www.w3.org/TR/trace-context-2/#trace-flags for the flag definitions.\n\n Bits 8 and 9 represent the 3 states of whether the link is remote.\n The states are (unknown, is not remote, is remote).\n To read whether the value is known, use `(flags & SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK) != 0`.\n To read whether the link is remote, use `(flags & SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK) != 0`.\n\n Readers MUST NOT assume that bits 10-31 (22 most significant bits) will be zero.\n When creating new spans, bits 10-31 (most-significant 22-bits) MUST be zero.\n\n [Optional].\n '
|
|
264
|
+
|
|
265
|
+
@property
|
|
266
|
+
def attributes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[opentelemetry.proto.common.v1.common_pb2.KeyValue]:
|
|
267
|
+
"""A collection of attribute key/value pairs on the link.
|
|
268
|
+
Attribute keys MUST be unique (it is not allowed to have more than one
|
|
269
|
+
attribute with the same key).
|
|
270
|
+
The behavior of software that receives duplicated keys can be unpredictable.
|
|
271
|
+
"""
|
|
272
|
+
|
|
273
|
+
def __init__(self, *, trace_id: builtins.bytes=..., span_id: builtins.bytes=..., trace_state: builtins.str=..., attributes: collections.abc.Iterable[opentelemetry.proto.common.v1.common_pb2.KeyValue] | None=..., dropped_attributes_count: builtins.int=..., flags: builtins.int=...) -> None:
|
|
274
|
+
...
|
|
275
|
+
|
|
276
|
+
def ClearField(self, field_name: typing.Literal['attributes', b'attributes', 'dropped_attributes_count', b'dropped_attributes_count', 'flags', b'flags', 'span_id', b'span_id', 'trace_id', b'trace_id', 'trace_state', b'trace_state']) -> None:
|
|
277
|
+
...
|
|
278
|
+
TRACE_ID_FIELD_NUMBER: builtins.int
|
|
279
|
+
SPAN_ID_FIELD_NUMBER: builtins.int
|
|
280
|
+
TRACE_STATE_FIELD_NUMBER: builtins.int
|
|
281
|
+
PARENT_SPAN_ID_FIELD_NUMBER: builtins.int
|
|
282
|
+
FLAGS_FIELD_NUMBER: builtins.int
|
|
283
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
284
|
+
KIND_FIELD_NUMBER: builtins.int
|
|
285
|
+
START_TIME_UNIX_NANO_FIELD_NUMBER: builtins.int
|
|
286
|
+
END_TIME_UNIX_NANO_FIELD_NUMBER: builtins.int
|
|
287
|
+
ATTRIBUTES_FIELD_NUMBER: builtins.int
|
|
288
|
+
DROPPED_ATTRIBUTES_COUNT_FIELD_NUMBER: builtins.int
|
|
289
|
+
EVENTS_FIELD_NUMBER: builtins.int
|
|
290
|
+
DROPPED_EVENTS_COUNT_FIELD_NUMBER: builtins.int
|
|
291
|
+
LINKS_FIELD_NUMBER: builtins.int
|
|
292
|
+
DROPPED_LINKS_COUNT_FIELD_NUMBER: builtins.int
|
|
293
|
+
STATUS_FIELD_NUMBER: builtins.int
|
|
294
|
+
trace_id: builtins.bytes
|
|
295
|
+
'A unique identifier for a trace. All spans from the same trace share\n the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes OR\n of length other than 16 bytes is considered invalid (empty string in OTLP/JSON\n is zero-length and thus is also invalid).\n\n This field is required.\n '
|
|
296
|
+
span_id: builtins.bytes
|
|
297
|
+
'A unique identifier for a span within a trace, assigned when the span\n is created. The ID is an 8-byte array. An ID with all zeroes OR of length\n other than 8 bytes is considered invalid (empty string in OTLP/JSON\n is zero-length and thus is also invalid).\n\n This field is required.\n '
|
|
298
|
+
trace_state: builtins.str
|
|
299
|
+
'trace_state conveys information about request position in multiple distributed tracing graphs.\n It is a trace_state in w3c-trace-context format: https://www.w3.org/TR/trace-context/#tracestate-header\n See also https://github.com/w3c/distributed-tracing for more details about this field.\n '
|
|
300
|
+
parent_span_id: builtins.bytes
|
|
301
|
+
"The `span_id` of this span's parent span. If this is a root span, then this\n field must be empty. The ID is an 8-byte array.\n "
|
|
302
|
+
flags: builtins.int
|
|
303
|
+
"Flags, a bit field.\n\n Bits 0-7 (8 least significant bits) are the trace flags as defined in W3C Trace\n Context specification. To read the 8-bit W3C trace flag, use\n `flags & SPAN_FLAGS_TRACE_FLAGS_MASK`.\n\n See https://www.w3.org/TR/trace-context-2/#trace-flags for the flag definitions.\n\n Bits 8 and 9 represent the 3 states of whether a span's parent\n is remote. The states are (unknown, is not remote, is remote).\n To read whether the value is known, use `(flags & SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK) != 0`.\n To read whether the span is remote, use `(flags & SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK) != 0`.\n\n When creating span messages, if the message is logically forwarded from another source\n with an equivalent flags fields (i.e., usually another OTLP span message), the field SHOULD\n be copied as-is. If creating from a source that does not have an equivalent flags field\n (such as a runtime representation of an OpenTelemetry span), the high 22 bits MUST\n be set to zero.\n Readers MUST NOT assume that bits 10-31 (22 most significant bits) will be zero.\n\n [Optional].\n "
|
|
304
|
+
name: builtins.str
|
|
305
|
+
"A description of the span's operation.\n\n For example, the name can be a qualified method name or a file name\n and a line number where the operation is called. A best practice is to use\n the same display name at the same call point in an application.\n This makes it easier to correlate spans in different traces.\n\n This field is semantically required to be set to non-empty string.\n Empty value is equivalent to an unknown span name.\n\n This field is required.\n "
|
|
306
|
+
kind: global___Span.SpanKind.ValueType
|
|
307
|
+
'Distinguishes between spans generated in a particular context. For example,\n two spans with the same name may be distinguished using `CLIENT` (caller)\n and `SERVER` (callee) to identify queueing latency associated with the span.\n '
|
|
308
|
+
start_time_unix_nano: builtins.int
|
|
309
|
+
"The start time of the span. On the client side, this is the time\n kept by the local machine where the span execution starts. On the server side, this\n is the time when the server's application handler starts running.\n Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.\n\n This field is semantically required and it is expected that end_time >= start_time.\n "
|
|
310
|
+
end_time_unix_nano: builtins.int
|
|
311
|
+
'The end time of the span. On the client side, this is the time\n kept by the local machine where the span execution ends. On the server side, this\n is the time when the server application handler stops running.\n Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.\n\n This field is semantically required and it is expected that end_time >= start_time.\n '
|
|
312
|
+
dropped_attributes_count: builtins.int
|
|
313
|
+
'The number of attributes that were discarded. Attributes\n can be discarded because their keys are too long or because there are too many\n attributes. If this value is 0, then no attributes were dropped.\n '
|
|
314
|
+
dropped_events_count: builtins.int
|
|
315
|
+
'The number of dropped events. If the value is 0, then no\n events were dropped.\n '
|
|
316
|
+
dropped_links_count: builtins.int
|
|
317
|
+
'The number of dropped links after the maximum size was\n enforced. If this value is 0, then no links were dropped.\n '
|
|
318
|
+
|
|
319
|
+
@property
|
|
320
|
+
def attributes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[opentelemetry.proto.common.v1.common_pb2.KeyValue]:
|
|
321
|
+
"""A collection of key/value pairs. Note, global attributes
|
|
322
|
+
like server name can be set using the resource API. Examples of attributes:
|
|
323
|
+
|
|
324
|
+
"/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
|
|
325
|
+
"/http/server_latency": 300
|
|
326
|
+
"example.com/myattribute": true
|
|
327
|
+
"example.com/score": 10.239
|
|
328
|
+
|
|
329
|
+
Attribute keys MUST be unique (it is not allowed to have more than one
|
|
330
|
+
attribute with the same key).
|
|
331
|
+
The behavior of software that receives duplicated keys can be unpredictable.
|
|
332
|
+
"""
|
|
333
|
+
|
|
334
|
+
@property
|
|
335
|
+
def events(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Span.Event]:
|
|
336
|
+
"""A collection of Event items."""
|
|
337
|
+
|
|
338
|
+
@property
|
|
339
|
+
def links(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Span.Link]:
|
|
340
|
+
"""A collection of Links, which are references from this span to a span
|
|
341
|
+
in the same or different trace.
|
|
342
|
+
"""
|
|
343
|
+
|
|
344
|
+
@property
|
|
345
|
+
def status(self) -> global___Status:
|
|
346
|
+
"""An optional final status for this span. Semantically when Status isn't set, it means
|
|
347
|
+
span's status code is unset, i.e. assume STATUS_CODE_UNSET (code = 0).
|
|
348
|
+
"""
|
|
349
|
+
|
|
350
|
+
def __init__(self, *, trace_id: builtins.bytes=..., span_id: builtins.bytes=..., trace_state: builtins.str=..., parent_span_id: builtins.bytes=..., flags: builtins.int=..., name: builtins.str=..., kind: global___Span.SpanKind.ValueType=..., start_time_unix_nano: builtins.int=..., end_time_unix_nano: builtins.int=..., attributes: collections.abc.Iterable[opentelemetry.proto.common.v1.common_pb2.KeyValue] | None=..., dropped_attributes_count: builtins.int=..., events: collections.abc.Iterable[global___Span.Event] | None=..., dropped_events_count: builtins.int=..., links: collections.abc.Iterable[global___Span.Link] | None=..., dropped_links_count: builtins.int=..., status: global___Status | None=...) -> None:
|
|
351
|
+
...
|
|
352
|
+
|
|
353
|
+
def HasField(self, field_name: typing.Literal['status', b'status']) -> builtins.bool:
|
|
354
|
+
...
|
|
355
|
+
|
|
356
|
+
def ClearField(self, field_name: typing.Literal['attributes', b'attributes', 'dropped_attributes_count', b'dropped_attributes_count', 'dropped_events_count', b'dropped_events_count', 'dropped_links_count', b'dropped_links_count', 'end_time_unix_nano', b'end_time_unix_nano', 'events', b'events', 'flags', b'flags', 'kind', b'kind', 'links', b'links', 'name', b'name', 'parent_span_id', b'parent_span_id', 'span_id', b'span_id', 'start_time_unix_nano', b'start_time_unix_nano', 'status', b'status', 'trace_id', b'trace_id', 'trace_state', b'trace_state']) -> None:
|
|
357
|
+
...
|
|
358
|
+
global___Span = Span
|
|
359
|
+
|
|
360
|
+
@typing.final
|
|
361
|
+
class Status(google.protobuf.message.Message):
|
|
362
|
+
"""The Status type defines a logical error model that is suitable for different
|
|
363
|
+
programming environments, including REST APIs and RPC APIs.
|
|
364
|
+
"""
|
|
365
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
366
|
+
|
|
367
|
+
class _StatusCode:
|
|
368
|
+
ValueType = typing.NewType('ValueType', builtins.int)
|
|
369
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
370
|
+
|
|
371
|
+
class _StatusCodeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Status._StatusCode.ValueType], builtins.type):
|
|
372
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
373
|
+
STATUS_CODE_UNSET: Status._StatusCode.ValueType
|
|
374
|
+
'The default status.'
|
|
375
|
+
STATUS_CODE_OK: Status._StatusCode.ValueType
|
|
376
|
+
'The Span has been validated by an Application developer or Operator to\n have completed successfully.\n '
|
|
377
|
+
STATUS_CODE_ERROR: Status._StatusCode.ValueType
|
|
378
|
+
'The Span contains an error.'
|
|
379
|
+
|
|
380
|
+
class StatusCode(_StatusCode, metaclass=_StatusCodeEnumTypeWrapper):
|
|
381
|
+
"""For the semantics of status codes see
|
|
382
|
+
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#set-status
|
|
383
|
+
"""
|
|
384
|
+
STATUS_CODE_UNSET: Status.StatusCode.ValueType
|
|
385
|
+
'The default status.'
|
|
386
|
+
STATUS_CODE_OK: Status.StatusCode.ValueType
|
|
387
|
+
'The Span has been validated by an Application developer or Operator to\n have completed successfully.\n '
|
|
388
|
+
STATUS_CODE_ERROR: Status.StatusCode.ValueType
|
|
389
|
+
'The Span contains an error.'
|
|
390
|
+
MESSAGE_FIELD_NUMBER: builtins.int
|
|
391
|
+
CODE_FIELD_NUMBER: builtins.int
|
|
392
|
+
message: builtins.str
|
|
393
|
+
'A developer-facing human readable error message.'
|
|
394
|
+
code: global___Status.StatusCode.ValueType
|
|
395
|
+
'The status code.'
|
|
396
|
+
|
|
397
|
+
def __init__(self, *, message: builtins.str=..., code: global___Status.StatusCode.ValueType=...) -> None:
|
|
398
|
+
...
|
|
399
|
+
|
|
400
|
+
def ClearField(self, field_name: typing.Literal['code', b'code', 'message', b'message']) -> None:
|
|
401
|
+
...
|
|
402
|
+
global___Status = Status
|
|
@@ -4,7 +4,7 @@ from google.protobuf import descriptor_pool as _descriptor_pool
|
|
|
4
4
|
from google.protobuf import runtime_version as _runtime_version
|
|
5
5
|
from google.protobuf import symbol_database as _symbol_database
|
|
6
6
|
from google.protobuf.internal import builder as _builder
|
|
7
|
-
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29,
|
|
7
|
+
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'proto/rpc/examples/echo/v1/echo.proto')
|
|
8
8
|
_sym_db = _symbol_database.Default()
|
|
9
9
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
10
10
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%proto/rpc/examples/echo/v1/echo.proto\x12\x1aproto.rpc.examples.echo.v1\x1a\x1cgoogle/api/annotations.proto"\'\n\x0bEchoRequest\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message"(\n\x0cEchoResponse\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message"/\n\x13EchoMultipleRequest\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message"0\n\x14EchoMultipleResponse\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message"+\n\x0fEchoBiDiRequest\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message",\n\x10EchoBiDiResponse\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message2\xf4\x02\n\x0bEchoService\x12\x80\x01\n\x04Echo\x12\'.proto.rpc.examples.echo.v1.EchoRequest\x1a(.proto.rpc.examples.echo.v1.EchoResponse"%\x82\xd3\xe4\x93\x02\x1f"\x1a/rpc/examples/echo/v1/echo:\x01*\x12u\n\x0cEchoMultiple\x12/.proto.rpc.examples.echo.v1.EchoMultipleRequest\x1a0.proto.rpc.examples.echo.v1.EchoMultipleResponse"\x000\x01\x12k\n\x08EchoBiDi\x12+.proto.rpc.examples.echo.v1.EchoBiDiRequest\x1a,.proto.rpc.examples.echo.v1.EchoBiDiResponse"\x00(\x010\x01B.Z,go.viam.com/utils/proto/rpc/examples/echo/v1b\x06proto3')
|
|
@@ -4,7 +4,7 @@ from google.protobuf import descriptor_pool as _descriptor_pool
|
|
|
4
4
|
from google.protobuf import runtime_version as _runtime_version
|
|
5
5
|
from google.protobuf import symbol_database as _symbol_database
|
|
6
6
|
from google.protobuf.internal import builder as _builder
|
|
7
|
-
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29,
|
|
7
|
+
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'proto/rpc/examples/echoresource/v1/echoresource.proto')
|
|
8
8
|
_sym_db = _symbol_database.Default()
|
|
9
9
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5proto/rpc/examples/echoresource/v1/echoresource.proto\x12"proto.rpc.examples.echoresource.v1"C\n\x13EchoResourceRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message"0\n\x14EchoResourceResponse\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message"K\n\x1bEchoResourceMultipleRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message"8\n\x1cEchoResourceMultipleResponse\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message"G\n\x17EchoResourceBiDiRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message"4\n\x18EchoResourceBiDiResponse\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message2\xd1\x03\n\x13EchoResourceService\x12\x83\x01\n\x0cEchoResource\x127.proto.rpc.examples.echoresource.v1.EchoResourceRequest\x1a8.proto.rpc.examples.echoresource.v1.EchoResourceResponse"\x00\x12\x9d\x01\n\x14EchoResourceMultiple\x12?.proto.rpc.examples.echoresource.v1.EchoResourceMultipleRequest\x1a@.proto.rpc.examples.echoresource.v1.EchoResourceMultipleResponse"\x000\x01\x12\x93\x01\n\x10EchoResourceBiDi\x12;.proto.rpc.examples.echoresource.v1.EchoResourceBiDiRequest\x1a<.proto.rpc.examples.echoresource.v1.EchoResourceBiDiResponse"\x00(\x010\x01B6Z4go.viam.com/utils/proto/rpc/examples/echoresource/v1b\x06proto3')
|
|
10
10
|
_globals = globals()
|
|
@@ -4,7 +4,7 @@ from google.protobuf import descriptor_pool as _descriptor_pool
|
|
|
4
4
|
from google.protobuf import runtime_version as _runtime_version
|
|
5
5
|
from google.protobuf import symbol_database as _symbol_database
|
|
6
6
|
from google.protobuf.internal import builder as _builder
|
|
7
|
-
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29,
|
|
7
|
+
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'proto/rpc/v1/auth.proto')
|
|
8
8
|
_sym_db = _symbol_database.Default()
|
|
9
9
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
10
10
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17proto/rpc/v1/auth.proto\x12\x0cproto.rpc.v1\x1a\x1cgoogle/api/annotations.proto";\n\x0bCredentials\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12\x18\n\x07payload\x18\x02 \x01(\tR\x07payload"j\n\x13AuthenticateRequest\x12\x16\n\x06entity\x18\x01 \x01(\tR\x06entity\x12;\n\x0bcredentials\x18\x02 \x01(\x0b2\x19.proto.rpc.v1.CredentialsR\x0bcredentials"9\n\x14AuthenticateResponse\x12!\n\x0caccess_token\x18\x01 \x01(\tR\x0baccessToken"/\n\x15AuthenticateToRequest\x12\x16\n\x06entity\x18\x01 \x01(\tR\x06entity";\n\x16AuthenticateToResponse\x12!\n\x0caccess_token\x18\x01 \x01(\tR\x0baccessToken2\x82\x01\n\x0bAuthService\x12s\n\x0cAuthenticate\x12!.proto.rpc.v1.AuthenticateRequest\x1a".proto.rpc.v1.AuthenticateResponse"\x1c\x82\xd3\xe4\x93\x02\x16"\x14/rpc/v1/authenticate2\x93\x01\n\x13ExternalAuthService\x12|\n\x0eAuthenticateTo\x12#.proto.rpc.v1.AuthenticateToRequest\x1a$.proto.rpc.v1.AuthenticateToResponse"\x1f\x82\xd3\xe4\x93\x02\x19"\x17/rpc/v1/authenticate_toB Z\x1ego.viam.com/utils/proto/rpc/v1b\x06proto3')
|
|
@@ -4,7 +4,7 @@ from google.protobuf import descriptor_pool as _descriptor_pool
|
|
|
4
4
|
from google.protobuf import runtime_version as _runtime_version
|
|
5
5
|
from google.protobuf import symbol_database as _symbol_database
|
|
6
6
|
from google.protobuf.internal import builder as _builder
|
|
7
|
-
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29,
|
|
7
|
+
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'proto/rpc/webrtc/v1/grpc.proto')
|
|
8
8
|
_sym_db = _symbol_database.Default()
|
|
9
9
|
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
|
|
10
10
|
from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2
|
|
@@ -4,7 +4,7 @@ from google.protobuf import descriptor_pool as _descriptor_pool
|
|
|
4
4
|
from google.protobuf import runtime_version as _runtime_version
|
|
5
5
|
from google.protobuf import symbol_database as _symbol_database
|
|
6
6
|
from google.protobuf.internal import builder as _builder
|
|
7
|
-
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29,
|
|
7
|
+
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'proto/rpc/webrtc/v1/signaling.proto')
|
|
8
8
|
_sym_db = _symbol_database.Default()
|
|
9
9
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
10
10
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
@@ -25,8 +25,12 @@ class ProvisioningServiceBase(abc.ABC):
|
|
|
25
25
|
async def GetNetworkList(self, stream: 'grpclib.server.Stream[provisioning.v1.provisioning_pb2.GetNetworkListRequest, provisioning.v1.provisioning_pb2.GetNetworkListResponse]') -> None:
|
|
26
26
|
pass
|
|
27
27
|
|
|
28
|
+
@abc.abstractmethod
|
|
29
|
+
async def ExitProvisioning(self, stream: 'grpclib.server.Stream[provisioning.v1.provisioning_pb2.ExitProvisioningRequest, provisioning.v1.provisioning_pb2.ExitProvisioningResponse]') -> None:
|
|
30
|
+
pass
|
|
31
|
+
|
|
28
32
|
def __mapping__(self) -> typing.Dict[str, grpclib.const.Handler]:
|
|
29
|
-
return {'/viam.provisioning.v1.ProvisioningService/GetSmartMachineStatus': grpclib.const.Handler(self.GetSmartMachineStatus, grpclib.const.Cardinality.UNARY_UNARY, provisioning.v1.provisioning_pb2.GetSmartMachineStatusRequest, provisioning.v1.provisioning_pb2.GetSmartMachineStatusResponse), '/viam.provisioning.v1.ProvisioningService/SetNetworkCredentials': grpclib.const.Handler(self.SetNetworkCredentials, grpclib.const.Cardinality.UNARY_UNARY, provisioning.v1.provisioning_pb2.SetNetworkCredentialsRequest, provisioning.v1.provisioning_pb2.SetNetworkCredentialsResponse), '/viam.provisioning.v1.ProvisioningService/SetSmartMachineCredentials': grpclib.const.Handler(self.SetSmartMachineCredentials, grpclib.const.Cardinality.UNARY_UNARY, provisioning.v1.provisioning_pb2.SetSmartMachineCredentialsRequest, provisioning.v1.provisioning_pb2.SetSmartMachineCredentialsResponse), '/viam.provisioning.v1.ProvisioningService/GetNetworkList': grpclib.const.Handler(self.GetNetworkList, grpclib.const.Cardinality.UNARY_UNARY, provisioning.v1.provisioning_pb2.GetNetworkListRequest, provisioning.v1.provisioning_pb2.GetNetworkListResponse)}
|
|
33
|
+
return {'/viam.provisioning.v1.ProvisioningService/GetSmartMachineStatus': grpclib.const.Handler(self.GetSmartMachineStatus, grpclib.const.Cardinality.UNARY_UNARY, provisioning.v1.provisioning_pb2.GetSmartMachineStatusRequest, provisioning.v1.provisioning_pb2.GetSmartMachineStatusResponse), '/viam.provisioning.v1.ProvisioningService/SetNetworkCredentials': grpclib.const.Handler(self.SetNetworkCredentials, grpclib.const.Cardinality.UNARY_UNARY, provisioning.v1.provisioning_pb2.SetNetworkCredentialsRequest, provisioning.v1.provisioning_pb2.SetNetworkCredentialsResponse), '/viam.provisioning.v1.ProvisioningService/SetSmartMachineCredentials': grpclib.const.Handler(self.SetSmartMachineCredentials, grpclib.const.Cardinality.UNARY_UNARY, provisioning.v1.provisioning_pb2.SetSmartMachineCredentialsRequest, provisioning.v1.provisioning_pb2.SetSmartMachineCredentialsResponse), '/viam.provisioning.v1.ProvisioningService/GetNetworkList': grpclib.const.Handler(self.GetNetworkList, grpclib.const.Cardinality.UNARY_UNARY, provisioning.v1.provisioning_pb2.GetNetworkListRequest, provisioning.v1.provisioning_pb2.GetNetworkListResponse), '/viam.provisioning.v1.ProvisioningService/ExitProvisioning': grpclib.const.Handler(self.ExitProvisioning, grpclib.const.Cardinality.UNARY_UNARY, provisioning.v1.provisioning_pb2.ExitProvisioningRequest, provisioning.v1.provisioning_pb2.ExitProvisioningResponse)}
|
|
30
34
|
|
|
31
35
|
class UnimplementedProvisioningServiceBase(ProvisioningServiceBase):
|
|
32
36
|
|
|
@@ -42,10 +46,14 @@ class UnimplementedProvisioningServiceBase(ProvisioningServiceBase):
|
|
|
42
46
|
async def GetNetworkList(self, stream: 'grpclib.server.Stream[provisioning.v1.provisioning_pb2.GetNetworkListRequest, provisioning.v1.provisioning_pb2.GetNetworkListResponse]') -> None:
|
|
43
47
|
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
44
48
|
|
|
49
|
+
async def ExitProvisioning(self, stream: 'grpclib.server.Stream[provisioning.v1.provisioning_pb2.ExitProvisioningRequest, provisioning.v1.provisioning_pb2.ExitProvisioningResponse]') -> None:
|
|
50
|
+
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
51
|
+
|
|
45
52
|
class ProvisioningServiceStub:
|
|
46
53
|
|
|
47
54
|
def __init__(self, channel: grpclib.client.Channel) -> None:
|
|
48
55
|
self.GetSmartMachineStatus = grpclib.client.UnaryUnaryMethod(channel, '/viam.provisioning.v1.ProvisioningService/GetSmartMachineStatus', provisioning.v1.provisioning_pb2.GetSmartMachineStatusRequest, provisioning.v1.provisioning_pb2.GetSmartMachineStatusResponse)
|
|
49
56
|
self.SetNetworkCredentials = grpclib.client.UnaryUnaryMethod(channel, '/viam.provisioning.v1.ProvisioningService/SetNetworkCredentials', provisioning.v1.provisioning_pb2.SetNetworkCredentialsRequest, provisioning.v1.provisioning_pb2.SetNetworkCredentialsResponse)
|
|
50
57
|
self.SetSmartMachineCredentials = grpclib.client.UnaryUnaryMethod(channel, '/viam.provisioning.v1.ProvisioningService/SetSmartMachineCredentials', provisioning.v1.provisioning_pb2.SetSmartMachineCredentialsRequest, provisioning.v1.provisioning_pb2.SetSmartMachineCredentialsResponse)
|
|
51
|
-
self.GetNetworkList = grpclib.client.UnaryUnaryMethod(channel, '/viam.provisioning.v1.ProvisioningService/GetNetworkList', provisioning.v1.provisioning_pb2.GetNetworkListRequest, provisioning.v1.provisioning_pb2.GetNetworkListResponse)
|
|
58
|
+
self.GetNetworkList = grpclib.client.UnaryUnaryMethod(channel, '/viam.provisioning.v1.ProvisioningService/GetNetworkList', provisioning.v1.provisioning_pb2.GetNetworkListRequest, provisioning.v1.provisioning_pb2.GetNetworkListResponse)
|
|
59
|
+
self.ExitProvisioning = grpclib.client.UnaryUnaryMethod(channel, '/viam.provisioning.v1.ProvisioningService/ExitProvisioning', provisioning.v1.provisioning_pb2.ExitProvisioningRequest, provisioning.v1.provisioning_pb2.ExitProvisioningResponse)
|
|
@@ -4,36 +4,42 @@ from google.protobuf import descriptor_pool as _descriptor_pool
|
|
|
4
4
|
from google.protobuf import runtime_version as _runtime_version
|
|
5
5
|
from google.protobuf import symbol_database as _symbol_database
|
|
6
6
|
from google.protobuf.internal import builder as _builder
|
|
7
|
-
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29,
|
|
7
|
+
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'provisioning/v1/provisioning.proto')
|
|
8
8
|
_sym_db = _symbol_database.Default()
|
|
9
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n"provisioning/v1/provisioning.proto\x12\x14viam.provisioning.v1"\x1e\n\x1cGetSmartMachineStatusRequest"\
|
|
9
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n"provisioning/v1/provisioning.proto\x12\x14viam.provisioning.v1"\x19\n\x17ExitProvisioningRequest"\x1a\n\x18ExitProvisioningResponse"\x1e\n\x1cGetSmartMachineStatusRequest"\xf0\x02\n\x1dGetSmartMachineStatusResponse\x12S\n\x11provisioning_info\x18\x01 \x01(\x0b2&.viam.provisioning.v1.ProvisioningInfoR\x10provisioningInfo\x12A\n\x1dhas_smart_machine_credentials\x18\x02 \x01(\x08R\x1ahasSmartMachineCredentials\x12\x1b\n\tis_online\x18\x03 \x01(\x08R\x08isOnline\x12]\n\x19latest_connection_attempt\x18\x04 \x01(\x0b2!.viam.provisioning.v1.NetworkInfoR\x17latestConnectionAttempt\x12\x16\n\x06errors\x18\x05 \x03(\tR\x06errors\x12#\n\ragent_version\x18\x06 \x01(\tR\x0cagentVersion"X\n\x1cSetNetworkCredentialsRequest\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12\x12\n\x04ssid\x18\x02 \x01(\tR\x04ssid\x12\x10\n\x03psk\x18\x03 \x01(\tR\x03psk"\x1f\n\x1dSetNetworkCredentialsResponse"\\\n!SetSmartMachineCredentialsRequest\x127\n\x05cloud\x18\x01 \x01(\x0b2!.viam.provisioning.v1.CloudConfigR\x05cloud"$\n"SetSmartMachineCredentialsResponse"\x17\n\x15GetNetworkListRequest"W\n\x16GetNetworkListResponse\x12=\n\x08networks\x18\x01 \x03(\x0b2!.viam.provisioning.v1.NetworkInfoR\x08networks"m\n\x10ProvisioningInfo\x12\x1f\n\x0bfragment_id\x18\x01 \x01(\tR\nfragmentId\x12\x14\n\x05model\x18\x02 \x01(\tR\x05model\x12"\n\x0cmanufacturer\x18\x03 \x01(\tR\x0cmanufacturer"\xa6\x01\n\x0bNetworkInfo\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12\x12\n\x04ssid\x18\x02 \x01(\tR\x04ssid\x12\x1a\n\x08security\x18\x03 \x01(\tR\x08security\x12\x16\n\x06signal\x18\x04 \x01(\x05R\x06signal\x12\x1c\n\tconnected\x18\x05 \x01(\x08R\tconnected\x12\x1d\n\nlast_error\x18\x06 \x01(\tR\tlastError"\x8d\x01\n\x0bCloudConfig\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n\x06secret\x18\x02 \x01(\tR\x06secret\x12\x1f\n\x0bapp_address\x18\x03 \x01(\tR\nappAddress\x125\n\x07api_key\x18\x04 \x01(\x0b2\x1c.viam.provisioning.v1.APIKeyR\x06apiKey"*\n\x06APIKey\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key2\x8d\x05\n\x13ProvisioningService\x12\x80\x01\n\x15GetSmartMachineStatus\x122.viam.provisioning.v1.GetSmartMachineStatusRequest\x1a3.viam.provisioning.v1.GetSmartMachineStatusResponse\x12\x80\x01\n\x15SetNetworkCredentials\x122.viam.provisioning.v1.SetNetworkCredentialsRequest\x1a3.viam.provisioning.v1.SetNetworkCredentialsResponse\x12\x8f\x01\n\x1aSetSmartMachineCredentials\x127.viam.provisioning.v1.SetSmartMachineCredentialsRequest\x1a8.viam.provisioning.v1.SetSmartMachineCredentialsResponse\x12k\n\x0eGetNetworkList\x12+.viam.provisioning.v1.GetNetworkListRequest\x1a,.viam.provisioning.v1.GetNetworkListResponse\x12q\n\x10ExitProvisioning\x12-.viam.provisioning.v1.ExitProvisioningRequest\x1a..viam.provisioning.v1.ExitProvisioningResponseB!Z\x1fgo.viam.com/api/provisioning/v1b\x06proto3')
|
|
10
10
|
_globals = globals()
|
|
11
11
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
12
12
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'provisioning.v1.provisioning_pb2', _globals)
|
|
13
13
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
14
14
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
15
15
|
_globals['DESCRIPTOR']._serialized_options = b'Z\x1fgo.viam.com/api/provisioning/v1'
|
|
16
|
-
_globals['
|
|
17
|
-
_globals['
|
|
18
|
-
_globals['
|
|
19
|
-
_globals['
|
|
20
|
-
_globals['
|
|
21
|
-
_globals['
|
|
22
|
-
_globals['
|
|
23
|
-
_globals['
|
|
24
|
-
_globals['
|
|
25
|
-
_globals['
|
|
26
|
-
_globals['
|
|
27
|
-
_globals['
|
|
28
|
-
_globals['
|
|
29
|
-
_globals['
|
|
30
|
-
_globals['
|
|
31
|
-
_globals['
|
|
32
|
-
_globals['
|
|
33
|
-
_globals['
|
|
34
|
-
_globals['
|
|
35
|
-
_globals['
|
|
36
|
-
_globals['
|
|
37
|
-
_globals['
|
|
38
|
-
_globals['
|
|
39
|
-
_globals['
|
|
16
|
+
_globals['_EXITPROVISIONINGREQUEST']._serialized_start = 60
|
|
17
|
+
_globals['_EXITPROVISIONINGREQUEST']._serialized_end = 85
|
|
18
|
+
_globals['_EXITPROVISIONINGRESPONSE']._serialized_start = 87
|
|
19
|
+
_globals['_EXITPROVISIONINGRESPONSE']._serialized_end = 113
|
|
20
|
+
_globals['_GETSMARTMACHINESTATUSREQUEST']._serialized_start = 115
|
|
21
|
+
_globals['_GETSMARTMACHINESTATUSREQUEST']._serialized_end = 145
|
|
22
|
+
_globals['_GETSMARTMACHINESTATUSRESPONSE']._serialized_start = 148
|
|
23
|
+
_globals['_GETSMARTMACHINESTATUSRESPONSE']._serialized_end = 516
|
|
24
|
+
_globals['_SETNETWORKCREDENTIALSREQUEST']._serialized_start = 518
|
|
25
|
+
_globals['_SETNETWORKCREDENTIALSREQUEST']._serialized_end = 606
|
|
26
|
+
_globals['_SETNETWORKCREDENTIALSRESPONSE']._serialized_start = 608
|
|
27
|
+
_globals['_SETNETWORKCREDENTIALSRESPONSE']._serialized_end = 639
|
|
28
|
+
_globals['_SETSMARTMACHINECREDENTIALSREQUEST']._serialized_start = 641
|
|
29
|
+
_globals['_SETSMARTMACHINECREDENTIALSREQUEST']._serialized_end = 733
|
|
30
|
+
_globals['_SETSMARTMACHINECREDENTIALSRESPONSE']._serialized_start = 735
|
|
31
|
+
_globals['_SETSMARTMACHINECREDENTIALSRESPONSE']._serialized_end = 771
|
|
32
|
+
_globals['_GETNETWORKLISTREQUEST']._serialized_start = 773
|
|
33
|
+
_globals['_GETNETWORKLISTREQUEST']._serialized_end = 796
|
|
34
|
+
_globals['_GETNETWORKLISTRESPONSE']._serialized_start = 798
|
|
35
|
+
_globals['_GETNETWORKLISTRESPONSE']._serialized_end = 885
|
|
36
|
+
_globals['_PROVISIONINGINFO']._serialized_start = 887
|
|
37
|
+
_globals['_PROVISIONINGINFO']._serialized_end = 996
|
|
38
|
+
_globals['_NETWORKINFO']._serialized_start = 999
|
|
39
|
+
_globals['_NETWORKINFO']._serialized_end = 1165
|
|
40
|
+
_globals['_CLOUDCONFIG']._serialized_start = 1168
|
|
41
|
+
_globals['_CLOUDCONFIG']._serialized_end = 1309
|
|
42
|
+
_globals['_APIKEY']._serialized_start = 1311
|
|
43
|
+
_globals['_APIKEY']._serialized_end = 1353
|
|
44
|
+
_globals['_PROVISIONINGSERVICE']._serialized_start = 1356
|
|
45
|
+
_globals['_PROVISIONINGSERVICE']._serialized_end = 2009
|