gimlet-api 0.0.1__py3-none-any.whl → 0.0.4__py3-none-any.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.
- gimlet_api-0.0.4.dist-info/METADATA +16 -0
- gimlet_api-0.0.4.dist-info/RECORD +43 -0
- {gimlet_api-0.0.1.dist-info → gimlet_api-0.0.4.dist-info}/WHEEL +1 -2
- gml/__init__.py +18 -0
- gml/_utils.py +42 -0
- gml/client.py +308 -0
- gml/compile.py +44 -8
- gml/model.py +150 -0
- gml/model_utils.py +33 -0
- gml/pipelines.py +149 -0
- gml/preprocessing.py +78 -0
- gml/proto/gogoproto/gogo_pb2.py +101 -0
- gml/proto/mediapipe/framework/calculator_contract_test_pb2.py +32 -0
- gml/proto/mediapipe/framework/calculator_options_pb2.py +28 -0
- gml/proto/mediapipe/framework/calculator_pb2.py +56 -0
- gml/proto/mediapipe/framework/calculator_profile_pb2.py +47 -0
- gml/proto/mediapipe/framework/mediapipe_options_pb2.py +26 -0
- gml/proto/mediapipe/framework/packet_factory_pb2.py +30 -0
- gml/proto/mediapipe/framework/packet_generator_pb2.py +32 -0
- gml/proto/mediapipe/framework/packet_test_pb2.py +32 -0
- gml/proto/mediapipe/framework/status_handler_pb2.py +27 -0
- gml/proto/mediapipe/framework/stream_handler_pb2.py +29 -0
- gml/proto/mediapipe/framework/test_calculators_pb2.py +32 -0
- gml/proto/mediapipe/framework/thread_pool_executor_pb2.py +30 -0
- gml/proto/opentelemetry/proto/common/v1/common_pb2.py +34 -0
- gml/proto/opentelemetry/proto/metrics/v1/metrics_pb2.py +62 -0
- gml/proto/opentelemetry/proto/resource/v1/resource_pb2.py +27 -0
- gml/proto/src/api/corepb/v1/controlplane_pb2.py +60 -0
- gml/proto/src/api/corepb/v1/cp_edge_pb2.py +117 -0
- gml/proto/src/api/corepb/v1/mediastream_pb2.py +66 -0
- gml/proto/src/api/corepb/v1/model_exec_pb2.py +167 -0
- gml/proto/src/common/typespb/jwt_pb2.py +61 -0
- gml/proto/src/common/typespb/status_pb2.py +29 -0
- gml/proto/src/common/typespb/uuid_pb2.py +26 -0
- gml/proto/src/controlplane/directory/directorypb/v1/directory_pb2.py +115 -0
- gml/proto/src/controlplane/directory/directorypb/v1/directory_pb2_grpc.py +452 -0
- gml/proto/src/controlplane/filetransfer/ftpb/v1/ftpb_pb2.py +70 -0
- gml/proto/src/controlplane/filetransfer/ftpb/v1/ftpb_pb2_grpc.py +231 -0
- gml/proto/src/controlplane/logicalpipeline/lppb/v1/lppb_pb2.py +57 -0
- gml/proto/src/controlplane/logicalpipeline/lppb/v1/lppb_pb2_grpc.py +132 -0
- gml/proto/src/controlplane/model/mpb/v1/mpb_pb2.py +47 -0
- gml/proto/src/controlplane/model/mpb/v1/mpb_pb2_grpc.py +99 -0
- gml/tensor.py +333 -0
- gimlet_api-0.0.1.dist-info/METADATA +0 -6
- gimlet_api-0.0.1.dist-info/RECORD +0 -6
- gimlet_api-0.0.1.dist-info/top_level.txt +0 -1
@@ -0,0 +1,32 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: mediapipe/framework/packet_test.proto
|
4
|
+
"""Generated protocol buffer code."""
|
5
|
+
from google.protobuf.internal import builder as _builder
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
9
|
+
# @@protoc_insertion_point(imports)
|
10
|
+
|
11
|
+
_sym_db = _symbol_database.Default()
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%mediapipe/framework/packet_test.proto\x12\tmediapipe\"2\n\x0fPacketTestProto\x12\r\n\x01x\x18\xf1\r \x03(\x05R\x01x\x12\x10\n\x01y\x18\xf1\x8d\x80\x80\x01 \x03(\x05R\x01y\"#\n\x0bSimpleProto\x12\x14\n\x05value\x18\x01 \x03(\x0cR\x05value\"|\n\x17SerializationProxyProto\x12\x1d\n\nbool_value\x18\x01 \x01(\x08R\tboolValue\x12\x1f\n\x0b\x66loat_value\x18\x02 \x03(\x02R\nfloatValue\x12!\n\x0cstring_value\x18\x03 \x03(\tR\x0bstringValue\"\x1e\n\x0eInputOnlyProto\x12\x0c\n\x01x\x18\x01 \x01(\x05R\x01xB1Z/github.com/google/mediapipe/mediapipe/framework')
|
17
|
+
|
18
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
19
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'mediapipe.framework.packet_test_pb2', globals())
|
20
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
21
|
+
|
22
|
+
DESCRIPTOR._options = None
|
23
|
+
DESCRIPTOR._serialized_options = b'Z/github.com/google/mediapipe/mediapipe/framework'
|
24
|
+
_PACKETTESTPROTO._serialized_start=52
|
25
|
+
_PACKETTESTPROTO._serialized_end=102
|
26
|
+
_SIMPLEPROTO._serialized_start=104
|
27
|
+
_SIMPLEPROTO._serialized_end=139
|
28
|
+
_SERIALIZATIONPROXYPROTO._serialized_start=141
|
29
|
+
_SERIALIZATIONPROXYPROTO._serialized_end=265
|
30
|
+
_INPUTONLYPROTO._serialized_start=267
|
31
|
+
_INPUTONLYPROTO._serialized_end=297
|
32
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: mediapipe/framework/status_handler.proto
|
4
|
+
"""Generated protocol buffer code."""
|
5
|
+
from google.protobuf.internal import builder as _builder
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
9
|
+
# @@protoc_insertion_point(imports)
|
10
|
+
|
11
|
+
_sym_db = _symbol_database.Default()
|
12
|
+
|
13
|
+
|
14
|
+
from gml.proto.mediapipe.framework import mediapipe_options_pb2 as mediapipe_dot_framework_dot_mediapipe__options__pb2
|
15
|
+
|
16
|
+
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(mediapipe/framework/status_handler.proto\x12\tmediapipe\x1a+mediapipe/framework/mediapipe_options.proto\"\xc7\x01\n\x13StatusHandlerConfig\x12%\n\x0estatus_handler\x18\x01 \x01(\tR\rstatusHandler\x12*\n\x11input_side_packet\x18\x02 \x03(\tR\x0finputSidePacket\x12&\n\x0e\x65xternal_input\x18\xea\x07 \x03(\tR\rexternalInput\x12\x35\n\x07options\x18\x03 \x01(\x0b\x32\x1b.mediapipe.MediaPipeOptionsR\x07optionsBa\n\x1a\x63om.google.mediapipe.protoB\x12StatusHandlerProtoZ/github.com/google/mediapipe/mediapipe/framework')
|
18
|
+
|
19
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
20
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'mediapipe.framework.status_handler_pb2', globals())
|
21
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
22
|
+
|
23
|
+
DESCRIPTOR._options = None
|
24
|
+
DESCRIPTOR._serialized_options = b'\n\032com.google.mediapipe.protoB\022StatusHandlerProtoZ/github.com/google/mediapipe/mediapipe/framework'
|
25
|
+
_STATUSHANDLERCONFIG._serialized_start=101
|
26
|
+
_STATUSHANDLERCONFIG._serialized_end=300
|
27
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: mediapipe/framework/stream_handler.proto
|
4
|
+
"""Generated protocol buffer code."""
|
5
|
+
from google.protobuf.internal import builder as _builder
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
9
|
+
# @@protoc_insertion_point(imports)
|
10
|
+
|
11
|
+
_sym_db = _symbol_database.Default()
|
12
|
+
|
13
|
+
|
14
|
+
from gml.proto.mediapipe.framework import mediapipe_options_pb2 as mediapipe_dot_framework_dot_mediapipe__options__pb2
|
15
|
+
|
16
|
+
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(mediapipe/framework/stream_handler.proto\x12\tmediapipe\x1a+mediapipe/framework/mediapipe_options.proto\"\x9e\x01\n\x18InputStreamHandlerConfig\x12K\n\x14input_stream_handler\x18\x01 \x01(\t:\x19\x44\x65\x66\x61ultInputStreamHandlerR\x12inputStreamHandler\x12\x35\n\x07options\x18\x03 \x01(\x0b\x32\x1b.mediapipe.MediaPipeOptionsR\x07options\"\xce\x01\n\x19OutputStreamHandlerConfig\x12N\n\x15output_stream_handler\x18\x01 \x01(\t:\x1aInOrderOutputStreamHandlerR\x13outputStreamHandler\x12*\n\x11input_side_packet\x18\x02 \x03(\tR\x0finputSidePacket\x12\x35\n\x07options\x18\x03 \x01(\x0b\x32\x1b.mediapipe.MediaPipeOptionsR\x07optionsBa\n\x1a\x63om.google.mediapipe.protoB\x12StreamHandlerProtoZ/github.com/google/mediapipe/mediapipe/framework')
|
18
|
+
|
19
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
20
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'mediapipe.framework.stream_handler_pb2', globals())
|
21
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
22
|
+
|
23
|
+
DESCRIPTOR._options = None
|
24
|
+
DESCRIPTOR._serialized_options = b'\n\032com.google.mediapipe.protoB\022StreamHandlerProtoZ/github.com/google/mediapipe/mediapipe/framework'
|
25
|
+
_INPUTSTREAMHANDLERCONFIG._serialized_start=101
|
26
|
+
_INPUTSTREAMHANDLERCONFIG._serialized_end=259
|
27
|
+
_OUTPUTSTREAMHANDLERCONFIG._serialized_start=262
|
28
|
+
_OUTPUTSTREAMHANDLERCONFIG._serialized_end=468
|
29
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: mediapipe/framework/test_calculators.proto
|
4
|
+
"""Generated protocol buffer code."""
|
5
|
+
from google.protobuf.internal import builder as _builder
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
9
|
+
# @@protoc_insertion_point(imports)
|
10
|
+
|
11
|
+
_sym_db = _symbol_database.Default()
|
12
|
+
|
13
|
+
|
14
|
+
from gml.proto.mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
|
15
|
+
try:
|
16
|
+
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
|
17
|
+
except AttributeError:
|
18
|
+
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
|
19
|
+
|
20
|
+
|
21
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*mediapipe/framework/test_calculators.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\"\x9d\x02\n\x1dRandomMatrixCalculatorOptions\x12\x12\n\x04rows\x18\x01 \x01(\x05R\x04rows\x12\x12\n\x04\x63ols\x18\x02 \x01(\x05R\x04\x63ols\x12\'\n\x0fstart_timestamp\x18\x03 \x01(\x03R\x0estartTimestamp\x12\'\n\x0flimit_timestamp\x18\x04 \x01(\x03R\x0elimitTimestamp\x12%\n\x0etimestamp_step\x18\x05 \x01(\x03R\rtimestampStep2[\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xc8\xa0\xe9\x18 \x01(\x0b\x32(.mediapipe.RandomMatrixCalculatorOptionsR\x03\x65xtB1Z/github.com/google/mediapipe/mediapipe/framework')
|
22
|
+
|
23
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
24
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'mediapipe.framework.test_calculators_pb2', globals())
|
25
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
26
|
+
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_RANDOMMATRIXCALCULATOROPTIONS.extensions_by_name['ext'])
|
27
|
+
|
28
|
+
DESCRIPTOR._options = None
|
29
|
+
DESCRIPTOR._serialized_options = b'Z/github.com/google/mediapipe/mediapipe/framework'
|
30
|
+
_RANDOMMATRIXCALCULATOROPTIONS._serialized_start=96
|
31
|
+
_RANDOMMATRIXCALCULATOROPTIONS._serialized_end=381
|
32
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: mediapipe/framework/thread_pool_executor.proto
|
4
|
+
"""Generated protocol buffer code."""
|
5
|
+
from google.protobuf.internal import builder as _builder
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
9
|
+
# @@protoc_insertion_point(imports)
|
10
|
+
|
11
|
+
_sym_db = _symbol_database.Default()
|
12
|
+
|
13
|
+
|
14
|
+
from gml.proto.mediapipe.framework import mediapipe_options_pb2 as mediapipe_dot_framework_dot_mediapipe__options__pb2
|
15
|
+
|
16
|
+
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.mediapipe/framework/thread_pool_executor.proto\x12\tmediapipe\x1a+mediapipe/framework/mediapipe_options.proto\"\x89\x04\n\x19ThreadPoolExecutorOptions\x12\x1f\n\x0bnum_threads\x18\x01 \x01(\x05R\nnumThreads\x12\x1d\n\nstack_size\x18\x02 \x01(\x05R\tstackSize\x12.\n\x13nice_priority_level\x18\x03 \x01(\x05R\x11nicePriorityLevel\x12}\n\x1drequire_processor_performance\x18\x04 \x01(\x0e\x32\x39.mediapipe.ThreadPoolExecutorOptions.ProcessorPerformanceR\x1brequireProcessorPerformance\x12,\n\x12thread_name_prefix\x18\x05 \x01(\tR\x10threadNamePrefix\"w\n\x14ProcessorPerformance\x12 \n\x1cPROCESSOR_PERFORMANCE_NORMAL\x10\x00\x12\x1d\n\x19PROCESSOR_PERFORMANCE_LOW\x10\x01\x12\x1e\n\x1aPROCESSOR_PERFORMANCE_HIGH\x10\x02\x32V\n\x03\x65xt\x12\x1b.mediapipe.MediaPipeOptions\x18\x93\xd3\xf5J \x01(\x0b\x32$.mediapipe.ThreadPoolExecutorOptionsR\x03\x65xtB1Z/github.com/google/mediapipe/mediapipe/framework')
|
18
|
+
|
19
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
20
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'mediapipe.framework.thread_pool_executor_pb2', globals())
|
21
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
22
|
+
mediapipe_dot_framework_dot_mediapipe__options__pb2.MediaPipeOptions.RegisterExtension(_THREADPOOLEXECUTOROPTIONS.extensions_by_name['ext'])
|
23
|
+
|
24
|
+
DESCRIPTOR._options = None
|
25
|
+
DESCRIPTOR._serialized_options = b'Z/github.com/google/mediapipe/mediapipe/framework'
|
26
|
+
_THREADPOOLEXECUTOROPTIONS._serialized_start=107
|
27
|
+
_THREADPOOLEXECUTOROPTIONS._serialized_end=628
|
28
|
+
_THREADPOOLEXECUTOROPTIONS_PROCESSORPERFORMANCE._serialized_start=421
|
29
|
+
_THREADPOOLEXECUTOROPTIONS_PROCESSORPERFORMANCE._serialized_end=540
|
30
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: opentelemetry/proto/common/v1/common.proto
|
4
|
+
"""Generated protocol buffer code."""
|
5
|
+
from google.protobuf.internal import builder as _builder
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
9
|
+
# @@protoc_insertion_point(imports)
|
10
|
+
|
11
|
+
_sym_db = _symbol_database.Default()
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*opentelemetry/proto/common/v1/common.proto\x12\x1dopentelemetry.proto.common.v1\"\xe0\x02\n\x08\x41nyValue\x12#\n\x0cstring_value\x18\x01 \x01(\tH\x00R\x0bstringValue\x12\x1f\n\nbool_value\x18\x02 \x01(\x08H\x00R\tboolValue\x12\x1d\n\tint_value\x18\x03 \x01(\x03H\x00R\x08intValue\x12#\n\x0c\x64ouble_value\x18\x04 \x01(\x01H\x00R\x0b\x64oubleValue\x12L\n\x0b\x61rray_value\x18\x05 \x01(\x0b\x32).opentelemetry.proto.common.v1.ArrayValueH\x00R\narrayValue\x12P\n\x0ckvlist_value\x18\x06 \x01(\x0b\x32+.opentelemetry.proto.common.v1.KeyValueListH\x00R\x0bkvlistValue\x12!\n\x0b\x62ytes_value\x18\x07 \x01(\x0cH\x00R\nbytesValueB\x07\n\x05value\"M\n\nArrayValue\x12?\n\x06values\x18\x01 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.AnyValueR\x06values\"O\n\x0cKeyValueList\x12?\n\x06values\x18\x01 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValueR\x06values\"[\n\x08KeyValue\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12=\n\x05value\x18\x02 \x01(\x0b\x32\'.opentelemetry.proto.common.v1.AnyValueR\x05value\"\xc7\x01\n\x14InstrumentationScope\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version\x12G\n\nattributes\x18\x03 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValueR\nattributes\x12\x38\n\x18\x64ropped_attributes_count\x18\x04 \x01(\rR\x16\x64roppedAttributesCountB{\n io.opentelemetry.proto.common.v1B\x0b\x43ommonProtoP\x01Z(go.opentelemetry.io/proto/otlp/common/v1\xaa\x02\x1dOpenTelemetry.Proto.Common.V1b\x06proto3')
|
17
|
+
|
18
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
19
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'opentelemetry.proto.common.v1.common_pb2', globals())
|
20
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
21
|
+
|
22
|
+
DESCRIPTOR._options = None
|
23
|
+
DESCRIPTOR._serialized_options = b'\n io.opentelemetry.proto.common.v1B\013CommonProtoP\001Z(go.opentelemetry.io/proto/otlp/common/v1\252\002\035OpenTelemetry.Proto.Common.V1'
|
24
|
+
_ANYVALUE._serialized_start=78
|
25
|
+
_ANYVALUE._serialized_end=430
|
26
|
+
_ARRAYVALUE._serialized_start=432
|
27
|
+
_ARRAYVALUE._serialized_end=509
|
28
|
+
_KEYVALUELIST._serialized_start=511
|
29
|
+
_KEYVALUELIST._serialized_end=590
|
30
|
+
_KEYVALUE._serialized_start=592
|
31
|
+
_KEYVALUE._serialized_end=683
|
32
|
+
_INSTRUMENTATIONSCOPE._serialized_start=686
|
33
|
+
_INSTRUMENTATIONSCOPE._serialized_end=885
|
34
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,62 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: opentelemetry/proto/metrics/v1/metrics.proto
|
4
|
+
"""Generated protocol buffer code."""
|
5
|
+
from google.protobuf.internal import builder as _builder
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
9
|
+
# @@protoc_insertion_point(imports)
|
10
|
+
|
11
|
+
_sym_db = _symbol_database.Default()
|
12
|
+
|
13
|
+
|
14
|
+
from gml.proto.opentelemetry.proto.common.v1 import common_pb2 as opentelemetry_dot_proto_dot_common_dot_v1_dot_common__pb2
|
15
|
+
from gml.proto.opentelemetry.proto.resource.v1 import resource_pb2 as opentelemetry_dot_proto_dot_resource_dot_v1_dot_resource__pb2
|
16
|
+
|
17
|
+
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,opentelemetry/proto/metrics/v1/metrics.proto\x12\x1eopentelemetry.proto.metrics.v1\x1a*opentelemetry/proto/common/v1/common.proto\x1a.opentelemetry/proto/resource/v1/resource.proto\"i\n\x0bMetricsData\x12Z\n\x10resource_metrics\x18\x01 \x03(\x0b\x32/.opentelemetry.proto.metrics.v1.ResourceMetricsR\x0fresourceMetrics\"\xd2\x01\n\x0fResourceMetrics\x12\x45\n\x08resource\x18\x01 \x01(\x0b\x32).opentelemetry.proto.resource.v1.ResourceR\x08resource\x12Q\n\rscope_metrics\x18\x02 \x03(\x0b\x32,.opentelemetry.proto.metrics.v1.ScopeMetricsR\x0cscopeMetrics\x12\x1d\n\nschema_url\x18\x03 \x01(\tR\tschemaUrlJ\x06\x08\xe8\x07\x10\xe9\x07\"\xba\x01\n\x0cScopeMetrics\x12I\n\x05scope\x18\x01 \x01(\x0b\x32\x33.opentelemetry.proto.common.v1.InstrumentationScopeR\x05scope\x12@\n\x07metrics\x18\x02 \x03(\x0b\x32&.opentelemetry.proto.metrics.v1.MetricR\x07metrics\x12\x1d\n\nschema_url\x18\x03 \x01(\tR\tschemaUrl\"\xe1\x03\n\x06Metric\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x12\n\x04unit\x18\x03 \x01(\tR\x04unit\x12=\n\x05gauge\x18\x05 \x01(\x0b\x32%.opentelemetry.proto.metrics.v1.GaugeH\x00R\x05gauge\x12\x37\n\x03sum\x18\x07 \x01(\x0b\x32#.opentelemetry.proto.metrics.v1.SumH\x00R\x03sum\x12I\n\thistogram\x18\t \x01(\x0b\x32).opentelemetry.proto.metrics.v1.HistogramH\x00R\thistogram\x12k\n\x15\x65xponential_histogram\x18\n \x01(\x0b\x32\x34.opentelemetry.proto.metrics.v1.ExponentialHistogramH\x00R\x14\x65xponentialHistogram\x12\x43\n\x07summary\x18\x0b \x01(\x0b\x32\'.opentelemetry.proto.metrics.v1.SummaryH\x00R\x07summaryB\x06\n\x04\x64\x61taJ\x04\x08\x04\x10\x05J\x04\x08\x06\x10\x07J\x04\x08\x08\x10\t\"Y\n\x05Gauge\x12P\n\x0b\x64\x61ta_points\x18\x01 \x03(\x0b\x32/.opentelemetry.proto.metrics.v1.NumberDataPointR\ndataPoints\"\xeb\x01\n\x03Sum\x12P\n\x0b\x64\x61ta_points\x18\x01 \x03(\x0b\x32/.opentelemetry.proto.metrics.v1.NumberDataPointR\ndataPoints\x12o\n\x17\x61ggregation_temporality\x18\x02 \x01(\x0e\x32\x36.opentelemetry.proto.metrics.v1.AggregationTemporalityR\x16\x61ggregationTemporality\x12!\n\x0cis_monotonic\x18\x03 \x01(\x08R\x0bisMonotonic\"\xd1\x01\n\tHistogram\x12S\n\x0b\x64\x61ta_points\x18\x01 \x03(\x0b\x32\x32.opentelemetry.proto.metrics.v1.HistogramDataPointR\ndataPoints\x12o\n\x17\x61ggregation_temporality\x18\x02 \x01(\x0e\x32\x36.opentelemetry.proto.metrics.v1.AggregationTemporalityR\x16\x61ggregationTemporality\"\xe7\x01\n\x14\x45xponentialHistogram\x12^\n\x0b\x64\x61ta_points\x18\x01 \x03(\x0b\x32=.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPointR\ndataPoints\x12o\n\x17\x61ggregation_temporality\x18\x02 \x01(\x0e\x32\x36.opentelemetry.proto.metrics.v1.AggregationTemporalityR\x16\x61ggregationTemporality\"\\\n\x07Summary\x12Q\n\x0b\x64\x61ta_points\x18\x01 \x03(\x0b\x32\x30.opentelemetry.proto.metrics.v1.SummaryDataPointR\ndataPoints\"\xd6\x02\n\x0fNumberDataPoint\x12G\n\nattributes\x18\x07 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValueR\nattributes\x12/\n\x14start_time_unix_nano\x18\x02 \x01(\x06R\x11startTimeUnixNano\x12$\n\x0etime_unix_nano\x18\x03 \x01(\x06R\x0ctimeUnixNano\x12\x1d\n\tas_double\x18\x04 \x01(\x01H\x00R\x08\x61sDouble\x12\x17\n\x06\x61s_int\x18\x06 \x01(\x10H\x00R\x05\x61sInt\x12\x46\n\texemplars\x18\x05 \x03(\x0b\x32(.opentelemetry.proto.metrics.v1.ExemplarR\texemplars\x12\x14\n\x05\x66lags\x18\x08 \x01(\rR\x05\x66lagsB\x07\n\x05valueJ\x04\x08\x01\x10\x02\"\xb2\x03\n\x12HistogramDataPoint\x12G\n\nattributes\x18\t \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValueR\nattributes\x12/\n\x14start_time_unix_nano\x18\x02 \x01(\x06R\x11startTimeUnixNano\x12$\n\x0etime_unix_nano\x18\x03 \x01(\x06R\x0ctimeUnixNano\x12\x14\n\x05\x63ount\x18\x04 \x01(\x06R\x05\x63ount\x12\x10\n\x03sum\x18\x05 \x01(\x01R\x03sum\x12#\n\rbucket_counts\x18\x06 \x03(\x06R\x0c\x62ucketCounts\x12\'\n\x0f\x65xplicit_bounds\x18\x07 \x03(\x01R\x0e\x65xplicitBounds\x12\x46\n\texemplars\x18\x08 \x03(\x0b\x32(.opentelemetry.proto.metrics.v1.ExemplarR\texemplars\x12\x14\n\x05\x66lags\x18\n \x01(\rR\x05\x66lags\x12\x10\n\x03min\x18\x0b \x01(\x01R\x03min\x12\x10\n\x03max\x18\x0c \x01(\x01R\x03maxJ\x04\x08\x01\x10\x02\"\xd3\x05\n\x1d\x45xponentialHistogramDataPoint\x12G\n\nattributes\x18\x01 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValueR\nattributes\x12/\n\x14start_time_unix_nano\x18\x02 \x01(\x06R\x11startTimeUnixNano\x12$\n\x0etime_unix_nano\x18\x03 \x01(\x06R\x0ctimeUnixNano\x12\x14\n\x05\x63ount\x18\x04 \x01(\x06R\x05\x63ount\x12\x10\n\x03sum\x18\x05 \x01(\x01R\x03sum\x12\x14\n\x05scale\x18\x06 \x01(\x11R\x05scale\x12\x1d\n\nzero_count\x18\x07 \x01(\x06R\tzeroCount\x12\x61\n\x08positive\x18\x08 \x01(\x0b\x32\x45.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.BucketsR\x08positive\x12\x61\n\x08negative\x18\t \x01(\x0b\x32\x45.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.BucketsR\x08negative\x12\x14\n\x05\x66lags\x18\n \x01(\rR\x05\x66lags\x12\x46\n\texemplars\x18\x0b \x03(\x0b\x32(.opentelemetry.proto.metrics.v1.ExemplarR\texemplars\x12\x10\n\x03min\x18\x0c \x01(\x01R\x03min\x12\x10\n\x03max\x18\r \x01(\x01R\x03max\x12%\n\x0ezero_threshold\x18\x0e \x01(\x01R\rzeroThreshold\x1a\x46\n\x07\x42uckets\x12\x16\n\x06offset\x18\x01 \x01(\x11R\x06offset\x12#\n\rbucket_counts\x18\x02 \x03(\x04R\x0c\x62ucketCounts\"\xa6\x03\n\x10SummaryDataPoint\x12G\n\nattributes\x18\x07 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValueR\nattributes\x12/\n\x14start_time_unix_nano\x18\x02 \x01(\x06R\x11startTimeUnixNano\x12$\n\x0etime_unix_nano\x18\x03 \x01(\x06R\x0ctimeUnixNano\x12\x14\n\x05\x63ount\x18\x04 \x01(\x06R\x05\x63ount\x12\x10\n\x03sum\x18\x05 \x01(\x01R\x03sum\x12i\n\x0fquantile_values\x18\x06 \x03(\x0b\x32@.opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantileR\x0equantileValues\x12\x14\n\x05\x66lags\x18\x08 \x01(\rR\x05\x66lags\x1a\x43\n\x0fValueAtQuantile\x12\x1a\n\x08quantile\x18\x01 \x01(\x01R\x08quantile\x12\x14\n\x05value\x18\x02 \x01(\x01R\x05valueJ\x04\x08\x01\x10\x02\"\x85\x02\n\x08\x45xemplar\x12X\n\x13\x66iltered_attributes\x18\x07 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValueR\x12\x66ilteredAttributes\x12$\n\x0etime_unix_nano\x18\x02 \x01(\x06R\x0ctimeUnixNano\x12\x1d\n\tas_double\x18\x03 \x01(\x01H\x00R\x08\x61sDouble\x12\x17\n\x06\x61s_int\x18\x06 \x01(\x10H\x00R\x05\x61sInt\x12\x17\n\x07span_id\x18\x04 \x01(\x0cR\x06spanId\x12\x19\n\x08trace_id\x18\x05 \x01(\x0cR\x07traceIdB\x07\n\x05valueJ\x04\x08\x01\x10\x02*\x8c\x01\n\x16\x41ggregationTemporality\x12\'\n#AGGREGATION_TEMPORALITY_UNSPECIFIED\x10\x00\x12!\n\x1d\x41GGREGATION_TEMPORALITY_DELTA\x10\x01\x12&\n\"AGGREGATION_TEMPORALITY_CUMULATIVE\x10\x02*^\n\x0e\x44\x61taPointFlags\x12\x1f\n\x1b\x44\x41TA_POINT_FLAGS_DO_NOT_USE\x10\x00\x12+\n\'DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK\x10\x01\x42\x7f\n!io.opentelemetry.proto.metrics.v1B\x0cMetricsProtoP\x01Z)go.opentelemetry.io/proto/otlp/metrics/v1\xaa\x02\x1eOpenTelemetry.Proto.Metrics.V1b\x06proto3')
|
19
|
+
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'opentelemetry.proto.metrics.v1.metrics_pb2', globals())
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
23
|
+
|
24
|
+
DESCRIPTOR._options = None
|
25
|
+
DESCRIPTOR._serialized_options = b'\n!io.opentelemetry.proto.metrics.v1B\014MetricsProtoP\001Z)go.opentelemetry.io/proto/otlp/metrics/v1\252\002\036OpenTelemetry.Proto.Metrics.V1'
|
26
|
+
_AGGREGATIONTEMPORALITY._serialized_start=4232
|
27
|
+
_AGGREGATIONTEMPORALITY._serialized_end=4372
|
28
|
+
_DATAPOINTFLAGS._serialized_start=4374
|
29
|
+
_DATAPOINTFLAGS._serialized_end=4468
|
30
|
+
_METRICSDATA._serialized_start=172
|
31
|
+
_METRICSDATA._serialized_end=277
|
32
|
+
_RESOURCEMETRICS._serialized_start=280
|
33
|
+
_RESOURCEMETRICS._serialized_end=490
|
34
|
+
_SCOPEMETRICS._serialized_start=493
|
35
|
+
_SCOPEMETRICS._serialized_end=679
|
36
|
+
_METRIC._serialized_start=682
|
37
|
+
_METRIC._serialized_end=1163
|
38
|
+
_GAUGE._serialized_start=1165
|
39
|
+
_GAUGE._serialized_end=1254
|
40
|
+
_SUM._serialized_start=1257
|
41
|
+
_SUM._serialized_end=1492
|
42
|
+
_HISTOGRAM._serialized_start=1495
|
43
|
+
_HISTOGRAM._serialized_end=1704
|
44
|
+
_EXPONENTIALHISTOGRAM._serialized_start=1707
|
45
|
+
_EXPONENTIALHISTOGRAM._serialized_end=1938
|
46
|
+
_SUMMARY._serialized_start=1940
|
47
|
+
_SUMMARY._serialized_end=2032
|
48
|
+
_NUMBERDATAPOINT._serialized_start=2035
|
49
|
+
_NUMBERDATAPOINT._serialized_end=2377
|
50
|
+
_HISTOGRAMDATAPOINT._serialized_start=2380
|
51
|
+
_HISTOGRAMDATAPOINT._serialized_end=2814
|
52
|
+
_EXPONENTIALHISTOGRAMDATAPOINT._serialized_start=2817
|
53
|
+
_EXPONENTIALHISTOGRAMDATAPOINT._serialized_end=3540
|
54
|
+
_EXPONENTIALHISTOGRAMDATAPOINT_BUCKETS._serialized_start=3470
|
55
|
+
_EXPONENTIALHISTOGRAMDATAPOINT_BUCKETS._serialized_end=3540
|
56
|
+
_SUMMARYDATAPOINT._serialized_start=3543
|
57
|
+
_SUMMARYDATAPOINT._serialized_end=3965
|
58
|
+
_SUMMARYDATAPOINT_VALUEATQUANTILE._serialized_start=3892
|
59
|
+
_SUMMARYDATAPOINT_VALUEATQUANTILE._serialized_end=3959
|
60
|
+
_EXEMPLAR._serialized_start=3968
|
61
|
+
_EXEMPLAR._serialized_end=4229
|
62
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: opentelemetry/proto/resource/v1/resource.proto
|
4
|
+
"""Generated protocol buffer code."""
|
5
|
+
from google.protobuf.internal import builder as _builder
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
9
|
+
# @@protoc_insertion_point(imports)
|
10
|
+
|
11
|
+
_sym_db = _symbol_database.Default()
|
12
|
+
|
13
|
+
|
14
|
+
from gml.proto.opentelemetry.proto.common.v1 import common_pb2 as opentelemetry_dot_proto_dot_common_dot_v1_dot_common__pb2
|
15
|
+
|
16
|
+
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.opentelemetry/proto/resource/v1/resource.proto\x12\x1fopentelemetry.proto.resource.v1\x1a*opentelemetry/proto/common/v1/common.proto\"\x8d\x01\n\x08Resource\x12G\n\nattributes\x18\x01 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValueR\nattributes\x12\x38\n\x18\x64ropped_attributes_count\x18\x02 \x01(\rR\x16\x64roppedAttributesCountB\x83\x01\n\"io.opentelemetry.proto.resource.v1B\rResourceProtoP\x01Z*go.opentelemetry.io/proto/otlp/resource/v1\xaa\x02\x1fOpenTelemetry.Proto.Resource.V1b\x06proto3')
|
18
|
+
|
19
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
20
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'opentelemetry.proto.resource.v1.resource_pb2', globals())
|
21
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
22
|
+
|
23
|
+
DESCRIPTOR._options = None
|
24
|
+
DESCRIPTOR._serialized_options = b'\n\"io.opentelemetry.proto.resource.v1B\rResourceProtoP\001Z*go.opentelemetry.io/proto/otlp/resource/v1\252\002\037OpenTelemetry.Proto.Resource.V1'
|
25
|
+
_RESOURCE._serialized_start=128
|
26
|
+
_RESOURCE._serialized_end=269
|
27
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,60 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: src/api/corepb/v1/controlplane.proto
|
4
|
+
"""Generated protocol buffer code."""
|
5
|
+
from google.protobuf.internal import builder as _builder
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
9
|
+
# @@protoc_insertion_point(imports)
|
10
|
+
|
11
|
+
_sym_db = _symbol_database.Default()
|
12
|
+
|
13
|
+
|
14
|
+
from gml.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2
|
15
|
+
from gml.proto.src.common.typespb import uuid_pb2 as src_dot_common_dot_typespb_dot_uuid__pb2
|
16
|
+
from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
|
17
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
18
|
+
|
19
|
+
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$src/api/corepb/v1/controlplane.proto\x12\x18gml.internal.api.core.v1\x1a\x14gogoproto/gogo.proto\x1a\x1dsrc/common/typespb/uuid.proto\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc4\x01\n\nCPMetadata\x12\x37\n\x05topic\x18\x01 \x01(\x0e\x32!.gml.internal.api.core.v1.CPTopicR\x05topic\x12:\n\tentity_id\x18\x02 \x01(\x0b\x32\x0f.gml.types.UUIDB\x0c\xe2\xde\x1f\x08\x45ntityIDR\x08\x65ntityId\x12\x41\n\x0erecv_timestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\rrecvTimestamp\"v\n\tCPMessage\x12@\n\x08metadata\x18\x01 \x01(\x0b\x32$.gml.internal.api.core.v1.CPMetadataR\x08metadata\x12\'\n\x03msg\x18\xe8\x07 \x01(\x0b\x32\x14.google.protobuf.AnyR\x03msg\"M\n\x0f\x44\x65viceConnected\x12:\n\tdevice_id\x18\x01 \x01(\x0b\x32\x0f.gml.types.UUIDB\x0c\xe2\xde\x1f\x08\x44\x65viceIDR\x08\x64\x65viceId\"J\n\x0c\x44\x65viceUpdate\x12:\n\tdevice_id\x18\x01 \x01(\x0b\x32\x0f.gml.types.UUIDB\x0c\xe2\xde\x1f\x08\x44\x65viceIDR\x08\x64\x65viceId\"P\n\x12\x44\x65viceDisconnected\x12:\n\tdevice_id\x18\x01 \x01(\x0b\x32\x0f.gml.types.UUIDB\x0c\xe2\xde\x1f\x08\x44\x65viceIDR\x08\x64\x65viceId\"\xd8\x01\n\x1ePhysicalPipelineReconciliation\x12:\n\tdevice_id\x18\x01 \x01(\x0b\x32\x0f.gml.types.UUIDB\x0c\xe2\xde\x1f\x08\x44\x65viceIDR\x08\x64\x65viceId\x12Y\n\x14physical_pipeline_id\x18\x02 \x01(\x0b\x32\x0f.gml.types.UUIDB\x16\xe2\xde\x1f\x12PhysicalPipelineIDR\x12physicalPipelineId\x12\x1f\n\x0b\x66orce_apply\x18\x03 \x01(\x08R\nforceApply\"\xbc\x01\n PipelineDeploymentReconciliation\x12_\n\x16pipeline_deployment_id\x18\x01 \x01(\x0b\x32\x0f.gml.types.UUIDB\x18\xe2\xde\x1f\x14PipelineDeploymentIDR\x14pipelineDeploymentId\x12\x37\n\x08\x66leet_id\x18\x02 \x01(\x0b\x32\x0f.gml.types.UUIDB\x0b\xe2\xde\x1f\x07\x46leetIDR\x07\x66leetId*\xdc\x01\n\x07\x43PTopic\x12\x14\n\x10\x43P_TOPIC_UNKNOWN\x10\x00\x12\x1d\n\x19\x43P_TOPIC_DEVICE_CONNECTED\x10\x01\x12-\n)CP_TOPIC_PHYSICAL_PIPELINE_RECONCILIATION\x10\x02\x12 \n\x1c\x43P_TOPIC_DEVICE_DISCONNECTED\x10\x03\x12/\n+CP_TOPIC_PIPELINE_DEPLOYMENT_RECONCILIATION\x10\x04\x12\x1a\n\x16\x43P_TOPIC_DEVICE_UPDATE\x10\x05\x42/Z-gimletlabs.ai/gimlet/src/api/corepb/v1;corepbb\x06proto3')
|
21
|
+
|
22
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
23
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'src.api.corepb.v1.controlplane_pb2', globals())
|
24
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
25
|
+
|
26
|
+
DESCRIPTOR._options = None
|
27
|
+
DESCRIPTOR._serialized_options = b'Z-gimletlabs.ai/gimlet/src/api/corepb/v1;corepb'
|
28
|
+
_CPMETADATA.fields_by_name['entity_id']._options = None
|
29
|
+
_CPMETADATA.fields_by_name['entity_id']._serialized_options = b'\342\336\037\010EntityID'
|
30
|
+
_DEVICECONNECTED.fields_by_name['device_id']._options = None
|
31
|
+
_DEVICECONNECTED.fields_by_name['device_id']._serialized_options = b'\342\336\037\010DeviceID'
|
32
|
+
_DEVICEUPDATE.fields_by_name['device_id']._options = None
|
33
|
+
_DEVICEUPDATE.fields_by_name['device_id']._serialized_options = b'\342\336\037\010DeviceID'
|
34
|
+
_DEVICEDISCONNECTED.fields_by_name['device_id']._options = None
|
35
|
+
_DEVICEDISCONNECTED.fields_by_name['device_id']._serialized_options = b'\342\336\037\010DeviceID'
|
36
|
+
_PHYSICALPIPELINERECONCILIATION.fields_by_name['device_id']._options = None
|
37
|
+
_PHYSICALPIPELINERECONCILIATION.fields_by_name['device_id']._serialized_options = b'\342\336\037\010DeviceID'
|
38
|
+
_PHYSICALPIPELINERECONCILIATION.fields_by_name['physical_pipeline_id']._options = None
|
39
|
+
_PHYSICALPIPELINERECONCILIATION.fields_by_name['physical_pipeline_id']._serialized_options = b'\342\336\037\022PhysicalPipelineID'
|
40
|
+
_PIPELINEDEPLOYMENTRECONCILIATION.fields_by_name['pipeline_deployment_id']._options = None
|
41
|
+
_PIPELINEDEPLOYMENTRECONCILIATION.fields_by_name['pipeline_deployment_id']._serialized_options = b'\342\336\037\024PipelineDeploymentID'
|
42
|
+
_PIPELINEDEPLOYMENTRECONCILIATION.fields_by_name['fleet_id']._options = None
|
43
|
+
_PIPELINEDEPLOYMENTRECONCILIATION.fields_by_name['fleet_id']._serialized_options = b'\342\336\037\007FleetID'
|
44
|
+
_CPTOPIC._serialized_start=1146
|
45
|
+
_CPTOPIC._serialized_end=1366
|
46
|
+
_CPMETADATA._serialized_start=180
|
47
|
+
_CPMETADATA._serialized_end=376
|
48
|
+
_CPMESSAGE._serialized_start=378
|
49
|
+
_CPMESSAGE._serialized_end=496
|
50
|
+
_DEVICECONNECTED._serialized_start=498
|
51
|
+
_DEVICECONNECTED._serialized_end=575
|
52
|
+
_DEVICEUPDATE._serialized_start=577
|
53
|
+
_DEVICEUPDATE._serialized_end=651
|
54
|
+
_DEVICEDISCONNECTED._serialized_start=653
|
55
|
+
_DEVICEDISCONNECTED._serialized_end=733
|
56
|
+
_PHYSICALPIPELINERECONCILIATION._serialized_start=736
|
57
|
+
_PHYSICALPIPELINERECONCILIATION._serialized_end=952
|
58
|
+
_PIPELINEDEPLOYMENTRECONCILIATION._serialized_start=955
|
59
|
+
_PIPELINEDEPLOYMENTRECONCILIATION._serialized_end=1143
|
60
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,117 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: src/api/corepb/v1/cp_edge.proto
|
4
|
+
"""Generated protocol buffer code."""
|
5
|
+
from google.protobuf.internal import builder as _builder
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
9
|
+
# @@protoc_insertion_point(imports)
|
10
|
+
|
11
|
+
_sym_db = _symbol_database.Default()
|
12
|
+
|
13
|
+
|
14
|
+
from gml.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2
|
15
|
+
from gml.proto.src.common.typespb import uuid_pb2 as src_dot_common_dot_typespb_dot_uuid__pb2
|
16
|
+
from gml.proto.src.common.typespb import status_pb2 as src_dot_common_dot_typespb_dot_status__pb2
|
17
|
+
from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
|
18
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
19
|
+
from gml.proto.opentelemetry.proto.metrics.v1 import metrics_pb2 as opentelemetry_dot_proto_dot_metrics_dot_v1_dot_metrics__pb2
|
20
|
+
from gml.proto.src.api.corepb.v1 import model_exec_pb2 as src_dot_api_dot_corepb_dot_v1_dot_model__exec__pb2
|
21
|
+
|
22
|
+
|
23
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fsrc/api/corepb/v1/cp_edge.proto\x12\x18gml.internal.api.core.v1\x1a\x14gogoproto/gogo.proto\x1a\x1dsrc/common/typespb/uuid.proto\x1a\x1fsrc/common/typespb/status.proto\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a,opentelemetry/proto/metrics/v1/metrics.proto\x1a\"src/api/corepb/v1/model_exec.proto\"1\n\rEdgeHeartbeat\x12 \n\x06seq_id\x18\x01 \x01(\x03\x42\t\xe2\xde\x1f\x05SeqIDR\x05seqId\"4\n\x10\x45\x64geHeartbeatAck\x12 \n\x06seq_id\x18\x01 \x01(\x03\x42\t\xe2\xde\x1f\x05SeqIDR\x05seqId\"\xbb\x01\n\x1aPhysicalPipelineSpecUpdate\x12Y\n\x14physical_pipeline_id\x18\x01 \x01(\x0b\x32\x0f.gml.types.UUIDB\x16\xe2\xde\x1f\x12PhysicalPipelineIDR\x12physicalPipelineId\x12\x42\n\x04spec\x18\x02 \x01(\x0b\x32..gml.internal.api.core.v1.PhysicalPipelineSpecR\x04spec\"\xdd\x01\n\x1cPhysicalPipelineStatusUpdate\x12Y\n\x14physical_pipeline_id\x18\x01 \x01(\x0b\x32\x0f.gml.types.UUIDB\x16\xe2\xde\x1f\x12PhysicalPipelineIDR\x12physicalPipelineId\x12\x18\n\x07version\x18\x02 \x01(\x03R\x07version\x12H\n\x06status\x18\x03 \x01(\x0b\x32\x30.gml.internal.api.core.v1.PhysicalPipelineStatusR\x06status\"\x0c\n\nCPRunModel\"\x0f\n\rCPRunModelAck\"\xb2\x01\n\x12\x45xecutionGraphSpec\x12=\n\x05graph\x18\x01 \x01(\x0b\x32\'.gml.internal.api.core.v1.ExecutionSpecR\x05graph\x12\x43\n\x05state\x18\x02 \x01(\x0e\x32-.gml.internal.api.core.v1.ExecutionGraphStateR\x05state\x12\x18\n\x07version\x18\x03 \x01(\x03R\x07version\"\x8d\x01\n\x14\x45xecutionGraphStatus\x12\x43\n\x05state\x18\x01 \x01(\x0e\x32-.gml.internal.api.core.v1.ExecutionGraphStateR\x05state\x12\x16\n\x06reason\x18\x02 \x01(\tR\x06reason\x12\x18\n\x07version\x18\x03 \x01(\x03R\x07version\"\x8a\x02\n\x13\x41pplyExecutionGraph\x12Y\n\x14physical_pipeline_id\x18\x01 \x01(\x0b\x32\x0f.gml.types.UUIDB\x16\xe2\xde\x1f\x12PhysicalPipelineIDR\x12physicalPipelineId\x12V\n\x13logical_pipeline_id\x18\x03 \x01(\x0b\x32\x0f.gml.types.UUIDB\x15\xe2\xde\x1f\x11LogicalPipelineIDR\x11logicalPipelineId\x12@\n\x04spec\x18\x02 \x01(\x0b\x32,.gml.internal.api.core.v1.ExecutionGraphSpecR\x04spec\"q\n\x14\x44\x65leteExecutionGraph\x12Y\n\x14physical_pipeline_id\x18\x01 \x01(\x0b\x32\x0f.gml.types.UUIDB\x16\xe2\xde\x1f\x12PhysicalPipelineIDR\x12physicalPipelineId\"\xbf\x01\n\x1a\x45xecutionGraphStatusUpdate\x12Y\n\x14physical_pipeline_id\x18\x01 \x01(\x0b\x32\x0f.gml.types.UUIDB\x16\xe2\xde\x1f\x12PhysicalPipelineIDR\x12physicalPipelineId\x12\x46\n\x06status\x18\x02 \x01(\x0b\x32..gml.internal.api.core.v1.ExecutionGraphStatusR\x06status\"\x12\n\x10VideoStreamStart\"\x11\n\x0fVideoStreamStop\"\x16\n\x14VideoStreamKeepAlive\"m\n\x0f\x45\x64geOTelMetrics\x12Z\n\x10resource_metrics\x18\x01 \x01(\x0b\x32/.opentelemetry.proto.metrics.v1.ResourceMetricsR\x0fresourceMetrics\"\x94\x01\n\x13\x46ileTransferRequest\x12\x34\n\x07\x66ile_id\x18\x01 \x01(\x0b\x32\x0f.gml.types.UUIDB\n\xe2\xde\x1f\x06\x46ileIDR\x06\x66ileId\x12*\n\x11\x63hunk_start_bytes\x18\x02 \x01(\x03R\x0f\x63hunkStartBytes\x12\x1b\n\tnum_bytes\x18\x03 \x01(\x03R\x08numBytes\"\x8f\x02\n\x14\x46ileTransferResponse\x12)\n\x06status\x18\x01 \x01(\x0b\x32\x11.gml.types.StatusR\x06status\x12N\n\x05\x63hunk\x18\x02 \x01(\x0b\x32\x38.gml.internal.api.core.v1.FileTransferResponse.FileChunkR\x05\x63hunk\x12\x34\n\x07\x66ile_id\x18\x03 \x01(\x0b\x32\x0f.gml.types.UUIDB\n\xe2\xde\x1f\x06\x46ileIDR\x06\x66ileId\x1a\x46\n\tFileChunk\x12\x1f\n\x0bstart_bytes\x18\x01 \x01(\x03R\nstartBytes\x12\x18\n\x07payload\x18\x02 \x01(\x0cR\x07payload\"\xb0\x05\n\x12\x44\x65viceCapabilities\x12\x64\n\x0emodel_runtimes\x18\x01 \x03(\x0b\x32=.gml.internal.api.core.v1.DeviceCapabilities.ModelRuntimeInfoR\rmodelRuntimes\x12Q\n\x07\x63\x61meras\x18\x02 \x03(\x0b\x32\x37.gml.internal.api.core.v1.DeviceCapabilities.CameraInfoR\x07\x63\x61meras\x1a\xec\x01\n\x10ModelRuntimeInfo\x12\x62\n\x04type\x18\x01 \x01(\x0e\x32N.gml.internal.api.core.v1.DeviceCapabilities.ModelRuntimeInfo.ModelRuntimeTypeR\x04type\"t\n\x10ModelRuntimeType\x12\x1e\n\x1aMODEL_RUNTIME_TYPE_UNKNOWN\x10\x00\x12\x1f\n\x1bMODEL_RUNTIME_TYPE_TENSORRT\x10\x01\x12\x1f\n\x1bMODEL_RUNTIME_TYPE_OPENVINO\x10\x02\x1a\xf1\x01\n\nCameraInfo\x12\\\n\x06\x64river\x18\x01 \x01(\x0e\x32\x44.gml.internal.api.core.v1.DeviceCapabilities.CameraInfo.CameraDriverR\x06\x64river\x12)\n\tcamera_id\x18\x02 \x01(\tB\x0c\xe2\xde\x1f\x08\x43\x61meraIDR\x08\x63\x61meraId\"Z\n\x0c\x43\x61meraDriver\x12\x19\n\x15\x43\x41MERA_DRIVER_UNKNOWN\x10\x00\x12\x17\n\x13\x43\x41MERA_DRIVER_ARGUS\x10\x01\x12\x16\n\x12\x43\x41MERA_DRIVER_V4L2\x10\x02\"\xcc\x01\n\x0e\x45\x64geCPMetadata\x12;\n\x05topic\x18\x01 \x01(\x0e\x32%.gml.internal.api.core.v1.EdgeCPTopicR\x05topic\x12:\n\tdevice_id\x18\x02 \x01(\x0b\x32\x0f.gml.types.UUIDB\x0c\xe2\xde\x1f\x08\x44\x65viceIDR\x08\x64\x65viceId\x12\x41\n\x0erecv_timestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\rrecvTimestamp\"~\n\rEdgeCPMessage\x12\x44\n\x08metadata\x18\x01 \x01(\x0b\x32(.gml.internal.api.core.v1.EdgeCPMetadataR\x08metadata\x12\'\n\x03msg\x18\xe8\x07 \x01(\x0b\x32\x14.google.protobuf.AnyR\x03msg\"\xcc\x01\n\x0e\x43PEdgeMetadata\x12;\n\x05topic\x18\x01 \x01(\x0e\x32%.gml.internal.api.core.v1.CPEdgeTopicR\x05topic\x12:\n\tdevice_id\x18\x02 \x01(\x0b\x32\x0f.gml.types.UUIDB\x0c\xe2\xde\x1f\x08\x44\x65viceIDR\x08\x64\x65viceId\x12\x41\n\x0erecv_timestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\rrecvTimestamp\"~\n\rCPEdgeMessage\x12\x44\n\x08metadata\x18\x01 \x01(\x0b\x32(.gml.internal.api.core.v1.CPEdgeMetadataR\x08metadata\x12\'\n\x03msg\x18\xe8\x07 \x01(\x0b\x32\x14.google.protobuf.AnyR\x03msg*\xbe\x02\n\x13\x45xecutionGraphState\x12!\n\x1d\x45XECUTION_GRAPH_STATE_UNKNOWN\x10\x00\x12*\n&EXECUTION_GRAPH_STATE_UPDATE_REQUESTED\x10\n\x12%\n!EXECUTION_GRAPH_STATE_DOWNLOADING\x10\x14\x12#\n\x1f\x45XECUTION_GRAPH_STATE_COMPILING\x10\x1e\x12\x1f\n\x1b\x45XECUTION_GRAPH_STATE_READY\x10(\x12\"\n\x1e\x45XECUTION_GRAPH_STATE_DEPLOYED\x10\x32\x12%\n!EXECUTION_GRAPH_STATE_TERMINATING\x10<\x12 \n\x1c\x45XECUTION_GRAPH_STATE_FAILED\x10\x64*\xc7\x01\n\x0b\x45\x64geCPTopic\x12\x19\n\x15\x45\x44GE_CP_TOPIC_UNKNOWN\x10\x00\x12\x18\n\x14\x45\x44GE_CP_TOPIC_STATUS\x10\x01\x12\x17\n\x13\x45\x44GE_CP_TOPIC_VIDEO\x10\x02\x12\x16\n\x12\x45\x44GE_CP_TOPIC_EXEC\x10\x03\x12\x19\n\x15\x45\x44GE_CP_TOPIC_METRICS\x10\x04\x12\x1f\n\x1b\x45\x44GE_CP_TOPIC_FILE_TRANSFER\x10\x05\x12\x16\n\x12\x45\x44GE_CP_TOPIC_INFO\x10\x06*\xc7\x01\n\x0b\x43PEdgeTopic\x12\x19\n\x15\x43P_EDGE_TOPIC_UNKNOWN\x10\x00\x12\x18\n\x14\x43P_EDGE_TOPIC_STATUS\x10\x01\x12\x17\n\x13\x43P_EDGE_TOPIC_VIDEO\x10\x02\x12\x16\n\x12\x43P_EDGE_TOPIC_EXEC\x10\x03\x12\x19\n\x15\x43P_EDGE_TOPIC_METRICS\x10\x04\x12\x1f\n\x1b\x43P_EDGE_TOPIC_FILE_TRANSFER\x10\x05\x12\x16\n\x12\x43P_EDGE_TOPIC_INFO\x10\x06\x42/Z-gimletlabs.ai/gimlet/src/api/corepb/v1;corepbb\x06proto3')
|
24
|
+
|
25
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
26
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'src.api.corepb.v1.cp_edge_pb2', globals())
|
27
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
28
|
+
|
29
|
+
DESCRIPTOR._options = None
|
30
|
+
DESCRIPTOR._serialized_options = b'Z-gimletlabs.ai/gimlet/src/api/corepb/v1;corepb'
|
31
|
+
_EDGEHEARTBEAT.fields_by_name['seq_id']._options = None
|
32
|
+
_EDGEHEARTBEAT.fields_by_name['seq_id']._serialized_options = b'\342\336\037\005SeqID'
|
33
|
+
_EDGEHEARTBEATACK.fields_by_name['seq_id']._options = None
|
34
|
+
_EDGEHEARTBEATACK.fields_by_name['seq_id']._serialized_options = b'\342\336\037\005SeqID'
|
35
|
+
_PHYSICALPIPELINESPECUPDATE.fields_by_name['physical_pipeline_id']._options = None
|
36
|
+
_PHYSICALPIPELINESPECUPDATE.fields_by_name['physical_pipeline_id']._serialized_options = b'\342\336\037\022PhysicalPipelineID'
|
37
|
+
_PHYSICALPIPELINESTATUSUPDATE.fields_by_name['physical_pipeline_id']._options = None
|
38
|
+
_PHYSICALPIPELINESTATUSUPDATE.fields_by_name['physical_pipeline_id']._serialized_options = b'\342\336\037\022PhysicalPipelineID'
|
39
|
+
_APPLYEXECUTIONGRAPH.fields_by_name['physical_pipeline_id']._options = None
|
40
|
+
_APPLYEXECUTIONGRAPH.fields_by_name['physical_pipeline_id']._serialized_options = b'\342\336\037\022PhysicalPipelineID'
|
41
|
+
_APPLYEXECUTIONGRAPH.fields_by_name['logical_pipeline_id']._options = None
|
42
|
+
_APPLYEXECUTIONGRAPH.fields_by_name['logical_pipeline_id']._serialized_options = b'\342\336\037\021LogicalPipelineID'
|
43
|
+
_DELETEEXECUTIONGRAPH.fields_by_name['physical_pipeline_id']._options = None
|
44
|
+
_DELETEEXECUTIONGRAPH.fields_by_name['physical_pipeline_id']._serialized_options = b'\342\336\037\022PhysicalPipelineID'
|
45
|
+
_EXECUTIONGRAPHSTATUSUPDATE.fields_by_name['physical_pipeline_id']._options = None
|
46
|
+
_EXECUTIONGRAPHSTATUSUPDATE.fields_by_name['physical_pipeline_id']._serialized_options = b'\342\336\037\022PhysicalPipelineID'
|
47
|
+
_FILETRANSFERREQUEST.fields_by_name['file_id']._options = None
|
48
|
+
_FILETRANSFERREQUEST.fields_by_name['file_id']._serialized_options = b'\342\336\037\006FileID'
|
49
|
+
_FILETRANSFERRESPONSE.fields_by_name['file_id']._options = None
|
50
|
+
_FILETRANSFERRESPONSE.fields_by_name['file_id']._serialized_options = b'\342\336\037\006FileID'
|
51
|
+
_DEVICECAPABILITIES_CAMERAINFO.fields_by_name['camera_id']._options = None
|
52
|
+
_DEVICECAPABILITIES_CAMERAINFO.fields_by_name['camera_id']._serialized_options = b'\342\336\037\010CameraID'
|
53
|
+
_EDGECPMETADATA.fields_by_name['device_id']._options = None
|
54
|
+
_EDGECPMETADATA.fields_by_name['device_id']._serialized_options = b'\342\336\037\010DeviceID'
|
55
|
+
_CPEDGEMETADATA.fields_by_name['device_id']._options = None
|
56
|
+
_CPEDGEMETADATA.fields_by_name['device_id']._serialized_options = b'\342\336\037\010DeviceID'
|
57
|
+
_EXECUTIONGRAPHSTATE._serialized_start=3703
|
58
|
+
_EXECUTIONGRAPHSTATE._serialized_end=4021
|
59
|
+
_EDGECPTOPIC._serialized_start=4024
|
60
|
+
_EDGECPTOPIC._serialized_end=4223
|
61
|
+
_CPEDGETOPIC._serialized_start=4226
|
62
|
+
_CPEDGETOPIC._serialized_end=4425
|
63
|
+
_EDGEHEARTBEAT._serialized_start=289
|
64
|
+
_EDGEHEARTBEAT._serialized_end=338
|
65
|
+
_EDGEHEARTBEATACK._serialized_start=340
|
66
|
+
_EDGEHEARTBEATACK._serialized_end=392
|
67
|
+
_PHYSICALPIPELINESPECUPDATE._serialized_start=395
|
68
|
+
_PHYSICALPIPELINESPECUPDATE._serialized_end=582
|
69
|
+
_PHYSICALPIPELINESTATUSUPDATE._serialized_start=585
|
70
|
+
_PHYSICALPIPELINESTATUSUPDATE._serialized_end=806
|
71
|
+
_CPRUNMODEL._serialized_start=808
|
72
|
+
_CPRUNMODEL._serialized_end=820
|
73
|
+
_CPRUNMODELACK._serialized_start=822
|
74
|
+
_CPRUNMODELACK._serialized_end=837
|
75
|
+
_EXECUTIONGRAPHSPEC._serialized_start=840
|
76
|
+
_EXECUTIONGRAPHSPEC._serialized_end=1018
|
77
|
+
_EXECUTIONGRAPHSTATUS._serialized_start=1021
|
78
|
+
_EXECUTIONGRAPHSTATUS._serialized_end=1162
|
79
|
+
_APPLYEXECUTIONGRAPH._serialized_start=1165
|
80
|
+
_APPLYEXECUTIONGRAPH._serialized_end=1431
|
81
|
+
_DELETEEXECUTIONGRAPH._serialized_start=1433
|
82
|
+
_DELETEEXECUTIONGRAPH._serialized_end=1546
|
83
|
+
_EXECUTIONGRAPHSTATUSUPDATE._serialized_start=1549
|
84
|
+
_EXECUTIONGRAPHSTATUSUPDATE._serialized_end=1740
|
85
|
+
_VIDEOSTREAMSTART._serialized_start=1742
|
86
|
+
_VIDEOSTREAMSTART._serialized_end=1760
|
87
|
+
_VIDEOSTREAMSTOP._serialized_start=1762
|
88
|
+
_VIDEOSTREAMSTOP._serialized_end=1779
|
89
|
+
_VIDEOSTREAMKEEPALIVE._serialized_start=1781
|
90
|
+
_VIDEOSTREAMKEEPALIVE._serialized_end=1803
|
91
|
+
_EDGEOTELMETRICS._serialized_start=1805
|
92
|
+
_EDGEOTELMETRICS._serialized_end=1914
|
93
|
+
_FILETRANSFERREQUEST._serialized_start=1917
|
94
|
+
_FILETRANSFERREQUEST._serialized_end=2065
|
95
|
+
_FILETRANSFERRESPONSE._serialized_start=2068
|
96
|
+
_FILETRANSFERRESPONSE._serialized_end=2339
|
97
|
+
_FILETRANSFERRESPONSE_FILECHUNK._serialized_start=2269
|
98
|
+
_FILETRANSFERRESPONSE_FILECHUNK._serialized_end=2339
|
99
|
+
_DEVICECAPABILITIES._serialized_start=2342
|
100
|
+
_DEVICECAPABILITIES._serialized_end=3030
|
101
|
+
_DEVICECAPABILITIES_MODELRUNTIMEINFO._serialized_start=2550
|
102
|
+
_DEVICECAPABILITIES_MODELRUNTIMEINFO._serialized_end=2786
|
103
|
+
_DEVICECAPABILITIES_MODELRUNTIMEINFO_MODELRUNTIMETYPE._serialized_start=2670
|
104
|
+
_DEVICECAPABILITIES_MODELRUNTIMEINFO_MODELRUNTIMETYPE._serialized_end=2786
|
105
|
+
_DEVICECAPABILITIES_CAMERAINFO._serialized_start=2789
|
106
|
+
_DEVICECAPABILITIES_CAMERAINFO._serialized_end=3030
|
107
|
+
_DEVICECAPABILITIES_CAMERAINFO_CAMERADRIVER._serialized_start=2940
|
108
|
+
_DEVICECAPABILITIES_CAMERAINFO_CAMERADRIVER._serialized_end=3030
|
109
|
+
_EDGECPMETADATA._serialized_start=3033
|
110
|
+
_EDGECPMETADATA._serialized_end=3237
|
111
|
+
_EDGECPMESSAGE._serialized_start=3239
|
112
|
+
_EDGECPMESSAGE._serialized_end=3365
|
113
|
+
_CPEDGEMETADATA._serialized_start=3368
|
114
|
+
_CPEDGEMETADATA._serialized_end=3572
|
115
|
+
_CPEDGEMESSAGE._serialized_start=3574
|
116
|
+
_CPEDGEMESSAGE._serialized_end=3700
|
117
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,66 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: src/api/corepb/v1/mediastream.proto
|
4
|
+
"""Generated protocol buffer code."""
|
5
|
+
from google.protobuf.internal import builder as _builder
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
9
|
+
# @@protoc_insertion_point(imports)
|
10
|
+
|
11
|
+
_sym_db = _symbol_database.Default()
|
12
|
+
|
13
|
+
|
14
|
+
from gml.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2
|
15
|
+
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
|
16
|
+
|
17
|
+
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#src/api/corepb/v1/mediastream.proto\x12\x18gml.internal.api.core.v1\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/wrappers.proto\"3\n\x05Label\x12\x14\n\x05label\x18\x01 \x01(\tR\x05label\x12\x14\n\x05score\x18\x02 \x01(\x02R\x05score\"d\n\x14NormalizedCenterRect\x12\x0e\n\x02xc\x18\x01 \x01(\x02R\x02xc\x12\x0e\n\x02yc\x18\x02 \x01(\x02R\x02yc\x12\x14\n\x05width\x18\x03 \x01(\x02R\x05width\x12\x16\n\x06height\x18\x04 \x01(\x02R\x06height\"\xcd\x01\n\tDetection\x12\x35\n\x05label\x18\x01 \x03(\x0b\x32\x1f.gml.internal.api.core.v1.LabelR\x05label\x12Q\n\x0c\x62ounding_box\x18\x02 \x01(\x0b\x32..gml.internal.api.core.v1.NormalizedCenterRectR\x0b\x62oundingBox\x12\x36\n\x08track_id\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueR\x07trackId\"R\n\rDetectionList\x12\x41\n\tdetection\x18\x01 \x03(\x0b\x32#.gml.internal.api.core.v1.DetectionR\tdetection\"X\n\x10SegmentationMask\x12\x14\n\x05label\x18\x01 \x01(\tR\x05label\x12.\n\x13run_length_encoding\x18\x02 \x03(\x05R\x11runLengthEncoding\"~\n\x0cSegmentation\x12@\n\x05masks\x18\x01 \x03(\x0b\x32*.gml.internal.api.core.v1.SegmentationMaskR\x05masks\x12\x14\n\x05width\x18\x02 \x01(\x03R\x05width\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\"8\n\nRegression\x12\x14\n\x05label\x18\x01 \x01(\tR\x05label\x12\x14\n\x05value\x18\x02 \x01(\x01R\x05value\"\xbb\x01\n\x0eImageHistogram\x12\x45\n\x07\x63hannel\x18\x01 \x01(\x0e\x32+.gml.internal.api.core.v1.ImageColorChannelR\x07\x63hannel\x12\x10\n\x03min\x18\x02 \x01(\x01R\x03min\x12\x10\n\x03max\x18\x03 \x01(\x01R\x03max\x12\x10\n\x03num\x18\x04 \x01(\x03R\x03num\x12\x10\n\x03sum\x18\x05 \x01(\x01R\x03sum\x12\x1a\n\x06\x62ucket\x18\x06 \x03(\x03\x42\x02\x10\x01R\x06\x62ucket\"_\n\x13ImageHistogramBatch\x12H\n\nhistograms\x18\x01 \x03(\x0b\x32(.gml.internal.api.core.v1.ImageHistogramR\nhistograms\"e\n\x13ImageQualityMetrics\x12#\n\rbrisque_score\x18\x01 \x01(\x01R\x0c\x62risqueScore\x12)\n\x10\x62lurriness_score\x18\x02 \x01(\x01R\x0f\x62lurrinessScore\"\xae\x03\n\x11ImageOverlayChunk\x12\x31\n\x08\x66rame_ts\x18\x01 \x01(\x03\x42\x16\xe2\xde\x1f\x07\x46rameTS\xea\xde\x1f\x07\x66rameTSR\x07\x66rameTS\x12\x19\n\x03\x65of\x18\x02 \x01(\x08\x42\x07\xe2\xde\x1f\x03\x45OFR\x03\x65of\x12I\n\ndetections\x18\x64 \x01(\x0b\x32\'.gml.internal.api.core.v1.DetectionListH\x00R\ndetections\x12L\n\x0csegmentation\x18\x65 \x01(\x0b\x32&.gml.internal.api.core.v1.SegmentationH\x00R\x0csegmentation\x12P\n\nhistograms\x18\xc8\x01 \x01(\x0b\x32-.gml.internal.api.core.v1.ImageHistogramBatchH\x00R\nhistograms\x12U\n\rimage_quality\x18\xac\x02 \x01(\x0b\x32-.gml.internal.api.core.v1.ImageQualityMetricsH\x00R\x0cimageQualityB\t\n\x07overlay\"\x81\x01\n\tH264Chunk\x12\x31\n\x08\x66rame_ts\x18\x01 \x01(\x03\x42\x16\xe2\xde\x1f\x07\x46rameTS\xea\xde\x1f\x07\x66rameTSR\x07\x66rameTS\x12\x19\n\x03\x65of\x18\x02 \x01(\x08\x42\x07\xe2\xde\x1f\x03\x45OFR\x03\x65of\x12&\n\x08nal_data\x18\x03 \x01(\x0c\x42\x0b\xe2\xde\x1f\x07NALDataR\x07nalData\"Z\n\x0bVideoHeader\x12\x14\n\x05width\x18\x01 \x01(\x03R\x05width\x12\x16\n\x06height\x18\x02 \x01(\x03R\x06height\x12\x1d\n\nframe_rate\x18\x03 \x01(\x01R\tframeRate*\xac\x01\n\x11ImageColorChannel\x12\x1f\n\x1bIMAGE_COLOR_CHANNEL_UNKNOWN\x10\x00\x12\x1c\n\x18IMAGE_COLOR_CHANNEL_GRAY\x10\x01\x12\x1b\n\x17IMAGE_COLOR_CHANNEL_RED\x10\x02\x12\x1d\n\x19IMAGE_COLOR_CHANNEL_GREEN\x10\x03\x12\x1c\n\x18IMAGE_COLOR_CHANNEL_BLUE\x10\x04\x42/Z-gimletlabs.ai/gimlet/src/api/corepb/v1;corepbb\x06proto3')
|
19
|
+
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'src.api.corepb.v1.mediastream_pb2', globals())
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
23
|
+
|
24
|
+
DESCRIPTOR._options = None
|
25
|
+
DESCRIPTOR._serialized_options = b'Z-gimletlabs.ai/gimlet/src/api/corepb/v1;corepb'
|
26
|
+
_IMAGEHISTOGRAM.fields_by_name['bucket']._options = None
|
27
|
+
_IMAGEHISTOGRAM.fields_by_name['bucket']._serialized_options = b'\020\001'
|
28
|
+
_IMAGEOVERLAYCHUNK.fields_by_name['frame_ts']._options = None
|
29
|
+
_IMAGEOVERLAYCHUNK.fields_by_name['frame_ts']._serialized_options = b'\342\336\037\007FrameTS\352\336\037\007frameTS'
|
30
|
+
_IMAGEOVERLAYCHUNK.fields_by_name['eof']._options = None
|
31
|
+
_IMAGEOVERLAYCHUNK.fields_by_name['eof']._serialized_options = b'\342\336\037\003EOF'
|
32
|
+
_H264CHUNK.fields_by_name['frame_ts']._options = None
|
33
|
+
_H264CHUNK.fields_by_name['frame_ts']._serialized_options = b'\342\336\037\007FrameTS\352\336\037\007frameTS'
|
34
|
+
_H264CHUNK.fields_by_name['eof']._options = None
|
35
|
+
_H264CHUNK.fields_by_name['eof']._serialized_options = b'\342\336\037\003EOF'
|
36
|
+
_H264CHUNK.fields_by_name['nal_data']._options = None
|
37
|
+
_H264CHUNK.fields_by_name['nal_data']._serialized_options = b'\342\336\037\007NALData'
|
38
|
+
_IMAGECOLORCHANNEL._serialized_start=1890
|
39
|
+
_IMAGECOLORCHANNEL._serialized_end=2062
|
40
|
+
_LABEL._serialized_start=119
|
41
|
+
_LABEL._serialized_end=170
|
42
|
+
_NORMALIZEDCENTERRECT._serialized_start=172
|
43
|
+
_NORMALIZEDCENTERRECT._serialized_end=272
|
44
|
+
_DETECTION._serialized_start=275
|
45
|
+
_DETECTION._serialized_end=480
|
46
|
+
_DETECTIONLIST._serialized_start=482
|
47
|
+
_DETECTIONLIST._serialized_end=564
|
48
|
+
_SEGMENTATIONMASK._serialized_start=566
|
49
|
+
_SEGMENTATIONMASK._serialized_end=654
|
50
|
+
_SEGMENTATION._serialized_start=656
|
51
|
+
_SEGMENTATION._serialized_end=782
|
52
|
+
_REGRESSION._serialized_start=784
|
53
|
+
_REGRESSION._serialized_end=840
|
54
|
+
_IMAGEHISTOGRAM._serialized_start=843
|
55
|
+
_IMAGEHISTOGRAM._serialized_end=1030
|
56
|
+
_IMAGEHISTOGRAMBATCH._serialized_start=1032
|
57
|
+
_IMAGEHISTOGRAMBATCH._serialized_end=1127
|
58
|
+
_IMAGEQUALITYMETRICS._serialized_start=1129
|
59
|
+
_IMAGEQUALITYMETRICS._serialized_end=1230
|
60
|
+
_IMAGEOVERLAYCHUNK._serialized_start=1233
|
61
|
+
_IMAGEOVERLAYCHUNK._serialized_end=1663
|
62
|
+
_H264CHUNK._serialized_start=1666
|
63
|
+
_H264CHUNK._serialized_end=1795
|
64
|
+
_VIDEOHEADER._serialized_start=1797
|
65
|
+
_VIDEOHEADER._serialized_end=1887
|
66
|
+
# @@protoc_insertion_point(module_scope)
|