gimlet-api 0.0.5__py3-none-any.whl → 0.0.7__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.5.dist-info → gimlet_api-0.0.7.dist-info}/METADATA +6 -3
- {gimlet_api-0.0.5.dist-info → gimlet_api-0.0.7.dist-info}/RECORD +24 -17
- gml/__init__.py +1 -0
- gml/asset_manager.py +75 -0
- gml/client.py +105 -19
- gml/compile.py +296 -34
- gml/device.py +77 -0
- gml/hf.py +524 -0
- gml/model.py +64 -18
- gml/model_utils.py +2 -0
- gml/pipelines.py +67 -40
- gml/preprocessing.py +5 -2
- gml/proto/src/api/corepb/v1/controlplane_pb2.py +7 -3
- gml/proto/src/api/corepb/v1/cp_edge_pb2.py +77 -63
- gml/proto/src/api/corepb/v1/device_info_pb2.py +43 -0
- gml/proto/src/api/corepb/v1/gem_config_pb2.py +45 -0
- gml/proto/src/api/corepb/v1/mediastream_pb2.py +33 -25
- gml/proto/src/api/corepb/v1/model_exec_pb2.py +105 -101
- gml/proto/src/controlplane/compiler/cpb/v1/cpb_pb2.py +40 -0
- gml/proto/src/controlplane/compiler/cpb/v1/cpb_pb2_grpc.py +66 -0
- gml/proto/src/controlplane/logicalpipeline/lppb/v1/lppb_pb2.py +7 -3
- gml/proto/src/controlplane/logicalpipeline/lppb/v1/lppb_pb2_grpc.py +33 -0
- gml/tensor.py +115 -34
- {gimlet_api-0.0.5.dist-info → gimlet_api-0.0.7.dist-info}/WHEEL +0 -0
gml/pipelines.py
CHANGED
@@ -17,20 +17,23 @@
|
|
17
17
|
import abc
|
18
18
|
from typing import List
|
19
19
|
|
20
|
+
import gml.proto.src.api.corepb.v1.model_exec_pb2 as modelexecpb
|
21
|
+
from gml.model import Model
|
22
|
+
|
20
23
|
|
21
24
|
class Pipeline:
|
22
25
|
@abc.abstractmethod
|
23
|
-
def to_yaml(self, models: List[
|
26
|
+
def to_yaml(self, models: List[Model], org_name: str) -> str:
|
24
27
|
pass
|
25
28
|
|
26
29
|
|
27
30
|
class SingleModelPipeline(Pipeline):
|
28
|
-
def to_yaml(self, models: List[
|
31
|
+
def to_yaml(self, models: List[Model], org_name: str) -> str:
|
29
32
|
if len(models) != 1:
|
30
33
|
raise ValueError(
|
31
34
|
"{} only supports a single model".format(type(self).__qualname__)
|
32
35
|
)
|
33
|
-
return self._to_yaml(models[0], org_name)
|
36
|
+
return self._to_yaml(models[0].name, org_name)
|
34
37
|
|
35
38
|
@abc.abstractmethod
|
36
39
|
def _to_yaml(self, model_name: str, org_name: str) -> str:
|
@@ -63,27 +66,6 @@ nodes:
|
|
63
66
|
frame: .camera_source.frame
|
64
67
|
outputs:
|
65
68
|
- detections
|
66
|
-
- name: frame_metrics_sink
|
67
|
-
kind: FrameMetricsSink
|
68
|
-
attributes:
|
69
|
-
frame_rate_limit: 30
|
70
|
-
inputs:
|
71
|
-
frame: .camera_source.frame
|
72
|
-
outputs:
|
73
|
-
- frame_metrics
|
74
|
-
- name: detection_metrics_sink
|
75
|
-
kind: DetectionsMetricsSink
|
76
|
-
attributes:
|
77
|
-
inputs:
|
78
|
-
detections: .detect.detections
|
79
|
-
- name: pipeline_latency_metrics_sink
|
80
|
-
kind: LatencyMetricsSink
|
81
|
-
attributes:
|
82
|
-
name: model
|
83
|
-
inputs:
|
84
|
-
reference: .camera_source.frame
|
85
|
-
detections: .detect.detections
|
86
|
-
frame_metrics: .frame_metrics_sink.frame_metrics
|
87
69
|
- name: video_stream_sink
|
88
70
|
kind: VideoStreamSink
|
89
71
|
attributes:
|
@@ -91,7 +73,6 @@ nodes:
|
|
91
73
|
inputs:
|
92
74
|
frame: .camera_source.frame
|
93
75
|
detections: .detect.detections
|
94
|
-
frame_metrics: .frame_metrics_sink.frame_metrics
|
95
76
|
"""
|
96
77
|
|
97
78
|
|
@@ -119,30 +100,76 @@ nodes:
|
|
119
100
|
frame: .camera_source.frame
|
120
101
|
outputs:
|
121
102
|
- segmentation
|
122
|
-
- name:
|
123
|
-
kind:
|
103
|
+
- name: video_stream_sink
|
104
|
+
kind: VideoStreamSink
|
124
105
|
attributes:
|
125
106
|
frame_rate_limit: 30
|
126
107
|
inputs:
|
127
108
|
frame: .camera_source.frame
|
109
|
+
segmentation: .segment.segmentation
|
110
|
+
"""
|
111
|
+
|
112
|
+
|
113
|
+
class LiveChatPipeline(Pipeline):
|
114
|
+
def to_yaml(self, models: List[Model], org_name: str) -> str:
|
115
|
+
if len(models) != 2:
|
116
|
+
raise ValueError(
|
117
|
+
"LiveChatPipeline expects two models (a tokenizer and a language model)"
|
118
|
+
)
|
119
|
+
tokenizer = None
|
120
|
+
lm = None
|
121
|
+
for m in models:
|
122
|
+
if m.storage_format == modelexecpb.ModelInfo.MODEL_STORAGE_FORMAT_OPAQUE:
|
123
|
+
tokenizer = m
|
124
|
+
if m.generation_config is not None:
|
125
|
+
lm = m
|
126
|
+
if tokenizer is None or lm is None:
|
127
|
+
raise ValueError(
|
128
|
+
"LiveChatPipeline expects both a tokenizer model and a language model)"
|
129
|
+
)
|
130
|
+
return f"""---
|
131
|
+
nodes:
|
132
|
+
- name: text_source
|
133
|
+
kind: TextStreamSource
|
128
134
|
outputs:
|
129
|
-
-
|
130
|
-
- name:
|
131
|
-
kind:
|
135
|
+
- prompt
|
136
|
+
- name: tokenize
|
137
|
+
kind: Tokenize
|
132
138
|
attributes:
|
133
|
-
|
139
|
+
tokenizer:
|
140
|
+
model:
|
141
|
+
name: {tokenizer.name}
|
142
|
+
org: {org_name}
|
134
143
|
inputs:
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
- name:
|
139
|
-
kind:
|
144
|
+
text: .text_source.prompt
|
145
|
+
outputs:
|
146
|
+
- tokens
|
147
|
+
- name: generate
|
148
|
+
kind: GenerateTokens
|
140
149
|
attributes:
|
141
|
-
|
150
|
+
model:
|
151
|
+
model:
|
152
|
+
name: {lm.name}
|
153
|
+
org: {org_name}
|
142
154
|
inputs:
|
143
|
-
|
144
|
-
|
145
|
-
|
155
|
+
prompt: .tokenize.tokens
|
156
|
+
outputs:
|
157
|
+
- generated_tokens
|
158
|
+
- name: detokenize
|
159
|
+
kind: Detokenize
|
160
|
+
attributes:
|
161
|
+
tokenizer:
|
162
|
+
model:
|
163
|
+
name: {tokenizer.name}
|
164
|
+
org: {org_name}
|
165
|
+
inputs:
|
166
|
+
tokens: .generate.generated_tokens
|
167
|
+
outputs:
|
168
|
+
- text
|
169
|
+
- name: text_sink
|
170
|
+
kind: TextStreamSink
|
171
|
+
inputs:
|
172
|
+
text_batch: .detokenize.text
|
146
173
|
"""
|
147
174
|
|
148
175
|
|
gml/preprocessing.py
CHANGED
@@ -18,6 +18,7 @@ import abc
|
|
18
18
|
from typing import List
|
19
19
|
|
20
20
|
import gml.proto.src.api.corepb.v1.model_exec_pb2 as modelexecpb
|
21
|
+
import google.protobuf.wrappers_pb2 as wrapperspb
|
21
22
|
|
22
23
|
|
23
24
|
class ImagePreprocessingStep(abc.ABC):
|
@@ -66,13 +67,15 @@ class StandardizeTensor(ImagePreprocessingStep):
|
|
66
67
|
|
67
68
|
|
68
69
|
class ImageToFloatTensor(ImagePreprocessingStep):
|
69
|
-
def __init__(self, scale: bool = True):
|
70
|
+
def __init__(self, scale: bool = True, scale_factor: float = 1.0 / 255.0):
|
70
71
|
self.scale = scale
|
72
|
+
self.scale_factor = scale_factor
|
71
73
|
|
72
74
|
def to_proto(self) -> modelexecpb.ImagePreprocessingStep:
|
73
75
|
return modelexecpb.ImagePreprocessingStep(
|
74
76
|
kind=modelexecpb.ImagePreprocessingStep.IMAGE_PREPROCESSING_KIND_CONVERT_TO_TENSOR,
|
75
77
|
conversion_params=modelexecpb.ImagePreprocessingStep.ImageConversionParams(
|
76
|
-
scale=self.scale
|
78
|
+
scale=self.scale,
|
79
|
+
scale_factor=wrapperspb.DoubleValue(value=self.scale_factor),
|
77
80
|
),
|
78
81
|
)
|
@@ -17,7 +17,7 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
|
|
17
17
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
18
18
|
|
19
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*\
|
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\"U\n\x17\x42\x61seConfigUpdateRequest\x12:\n\tdevice_id\x18\x01 \x01(\x0b\x32\x0f.gml.types.UUIDB\x0c\xe2\xde\x1f\x08\x44\x65viceIDR\x08\x64\x65viceId*\xf8\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\x12\x1a\n\x16\x43P_TOPIC_DEVICE_CONFIG\x10\x06\x42/Z-gimletlabs.ai/gimlet/src/api/corepb/v1;corepbb\x06proto3')
|
21
21
|
|
22
22
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
23
23
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'src.api.corepb.v1.controlplane_pb2', globals())
|
@@ -41,8 +41,10 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
41
41
|
_PIPELINEDEPLOYMENTRECONCILIATION.fields_by_name['pipeline_deployment_id']._serialized_options = b'\342\336\037\024PipelineDeploymentID'
|
42
42
|
_PIPELINEDEPLOYMENTRECONCILIATION.fields_by_name['fleet_id']._options = None
|
43
43
|
_PIPELINEDEPLOYMENTRECONCILIATION.fields_by_name['fleet_id']._serialized_options = b'\342\336\037\007FleetID'
|
44
|
-
|
45
|
-
|
44
|
+
_BASECONFIGUPDATEREQUEST.fields_by_name['device_id']._options = None
|
45
|
+
_BASECONFIGUPDATEREQUEST.fields_by_name['device_id']._serialized_options = b'\342\336\037\010DeviceID'
|
46
|
+
_CPTOPIC._serialized_start=1233
|
47
|
+
_CPTOPIC._serialized_end=1481
|
46
48
|
_CPMETADATA._serialized_start=180
|
47
49
|
_CPMETADATA._serialized_end=376
|
48
50
|
_CPMESSAGE._serialized_start=378
|
@@ -57,4 +59,6 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
57
59
|
_PHYSICALPIPELINERECONCILIATION._serialized_end=952
|
58
60
|
_PIPELINEDEPLOYMENTRECONCILIATION._serialized_start=955
|
59
61
|
_PIPELINEDEPLOYMENTRECONCILIATION._serialized_end=1143
|
62
|
+
_BASECONFIGUPDATEREQUEST._serialized_start=1145
|
63
|
+
_BASECONFIGUPDATEREQUEST._serialized_end=1230
|
60
64
|
# @@protoc_insertion_point(module_scope)
|
@@ -17,10 +17,12 @@ from gml.proto.src.common.typespb import status_pb2 as src_dot_common_dot_typesp
|
|
17
17
|
from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
|
18
18
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
19
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 device_info_pb2 as src_dot_api_dot_corepb_dot_v1_dot_device__info__pb2
|
20
21
|
from gml.proto.src.api.corepb.v1 import model_exec_pb2 as src_dot_api_dot_corepb_dot_v1_dot_model__exec__pb2
|
22
|
+
from gml.proto.src.api.corepb.v1 import gem_config_pb2 as src_dot_api_dot_corepb_dot_v1_dot_gem__config__pb2
|
21
23
|
|
22
24
|
|
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\"\
|
25
|
+
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/device_info.proto\x1a\"src/api/corepb/v1/model_exec.proto\x1a\"src/api/corepb/v1/gem_config.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\"\x12\n\x10MediaStreamStart\"\x11\n\x0fMediaStreamStop\"\x16\n\x14MediaStreamKeepAlive\"q\n\x12MediaStreamControl\x12[\n\x13text_stream_control\x18\x01 \x01(\x0b\x32+.gml.internal.api.core.v1.TextStreamControlR\x11textStreamControl\"+\n\x11TextStreamControl\x12\x16\n\x06prompt\x18\x01 \x01(\tR\x06prompt\"\x7f\n\x18\x45\x64geCPMediaStreamMessage\x12:\n\tstream_id\x18\x01 \x01(\x0b\x32\x0f.gml.types.UUIDB\x0c\xe2\xde\x1f\x08StreamIDR\x08streamId\x12\'\n\x03msg\x18\xe8\x07 \x01(\x0b\x32\x14.google.protobuf.AnyR\x03msg\"\x7f\n\x18\x43PEdgeMediaStreamMessage\x12:\n\tstream_id\x18\x01 \x01(\x0b\x32\x0f.gml.types.UUIDB\x0c\xe2\xde\x1f\x08StreamIDR\x08streamId\x12\'\n\x03msg\x18\xe8\x07 \x01(\x0b\x32\x14.google.protobuf.AnyR\x03msg\"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\"\xfa\x01\n\x12\x44\x65viceCapabilities\x12Q\n\x0emodel_runtimes\x18\x01 \x03(\x0b\x32*.gml.internal.api.core.v1.ModelRuntimeInfoR\rmodelRuntimes\x12>\n\x07\x63\x61meras\x18\x02 \x03(\x0b\x32$.gml.internal.api.core.v1.CameraInfoR\x07\x63\x61meras\x12Q\n\x0e\x63\x61mera_drivers\x18\x03 \x03(\x0b\x32*.gml.internal.api.core.v1.CameraDriverInfoR\rcameraDrivers\"\x89\x01\n\x17\x44\x65viceConfigStateUpdate\x12>\n\x05state\x18\x01 \x01(\x0b\x32(.gml.internal.api.core.v1.GEMConfigStateR\x05state\x12.\n\x13\x62\x61se_config_version\x18\x02 \x01(\x03R\x11\x62\x61seConfigVersion\"o\n\x16\x44\x65viceBaseConfigUpdate\x12;\n\x06\x63onfig\x18\x01 \x01(\x0b\x32#.gml.internal.api.core.v1.GEMConfigR\x06\x63onfig\x12\x18\n\x07version\x18\x02 \x01(\x03R\x07version\"\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*\xfa\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\x12\x17\n\x13\x45\x44GE_CP_TOPIC_MEDIA\x10\x07\x12\x18\n\x14\x45\x44GE_CP_TOPIC_CONFIG\x10\x08*\xfa\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\x12\x17\n\x13\x43P_EDGE_TOPIC_MEDIA\x10\x07\x12\x18\n\x14\x43P_EDGE_TOPIC_CONFIG\x10\x08\x42/Z-gimletlabs.ai/gimlet/src/api/corepb/v1;corepbb\x06proto3')
|
24
26
|
|
25
27
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
26
28
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'src.api.corepb.v1.cp_edge_pb2', globals())
|
@@ -44,74 +46,86 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
44
46
|
_DELETEEXECUTIONGRAPH.fields_by_name['physical_pipeline_id']._serialized_options = b'\342\336\037\022PhysicalPipelineID'
|
45
47
|
_EXECUTIONGRAPHSTATUSUPDATE.fields_by_name['physical_pipeline_id']._options = None
|
46
48
|
_EXECUTIONGRAPHSTATUSUPDATE.fields_by_name['physical_pipeline_id']._serialized_options = b'\342\336\037\022PhysicalPipelineID'
|
49
|
+
_EDGECPMEDIASTREAMMESSAGE.fields_by_name['stream_id']._options = None
|
50
|
+
_EDGECPMEDIASTREAMMESSAGE.fields_by_name['stream_id']._serialized_options = b'\342\336\037\010StreamID'
|
51
|
+
_CPEDGEMEDIASTREAMMESSAGE.fields_by_name['stream_id']._options = None
|
52
|
+
_CPEDGEMEDIASTREAMMESSAGE.fields_by_name['stream_id']._serialized_options = b'\342\336\037\010StreamID'
|
47
53
|
_FILETRANSFERREQUEST.fields_by_name['file_id']._options = None
|
48
54
|
_FILETRANSFERREQUEST.fields_by_name['file_id']._serialized_options = b'\342\336\037\006FileID'
|
49
55
|
_FILETRANSFERRESPONSE.fields_by_name['file_id']._options = None
|
50
56
|
_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
57
|
_EDGECPMETADATA.fields_by_name['device_id']._options = None
|
54
58
|
_EDGECPMETADATA.fields_by_name['device_id']._serialized_options = b'\342\336\037\010DeviceID'
|
55
59
|
_CPEDGEMETADATA.fields_by_name['device_id']._options = None
|
56
60
|
_CPEDGEMETADATA.fields_by_name['device_id']._serialized_options = b'\342\336\037\010DeviceID'
|
57
|
-
_EXECUTIONGRAPHSTATE._serialized_start=
|
58
|
-
_EXECUTIONGRAPHSTATE._serialized_end=
|
59
|
-
_EDGECPTOPIC._serialized_start=
|
60
|
-
_EDGECPTOPIC._serialized_end=
|
61
|
-
_CPEDGETOPIC._serialized_start=
|
62
|
-
_CPEDGETOPIC._serialized_end=
|
63
|
-
_EDGEHEARTBEAT._serialized_start=
|
64
|
-
_EDGEHEARTBEAT._serialized_end=
|
65
|
-
_EDGEHEARTBEATACK._serialized_start=
|
66
|
-
_EDGEHEARTBEATACK._serialized_end=
|
67
|
-
_PHYSICALPIPELINESPECUPDATE._serialized_start=
|
68
|
-
_PHYSICALPIPELINESPECUPDATE._serialized_end=
|
69
|
-
_PHYSICALPIPELINESTATUSUPDATE._serialized_start=
|
70
|
-
_PHYSICALPIPELINESTATUSUPDATE._serialized_end=
|
71
|
-
_CPRUNMODEL._serialized_start=
|
72
|
-
_CPRUNMODEL._serialized_end=
|
73
|
-
_CPRUNMODELACK._serialized_start=
|
74
|
-
_CPRUNMODELACK._serialized_end=
|
75
|
-
_EXECUTIONGRAPHSPEC._serialized_start=
|
76
|
-
_EXECUTIONGRAPHSPEC._serialized_end=
|
77
|
-
_EXECUTIONGRAPHSTATUS._serialized_start=
|
78
|
-
_EXECUTIONGRAPHSTATUS._serialized_end=
|
79
|
-
_APPLYEXECUTIONGRAPH._serialized_start=
|
80
|
-
_APPLYEXECUTIONGRAPH._serialized_end=
|
81
|
-
_DELETEEXECUTIONGRAPH._serialized_start=
|
82
|
-
_DELETEEXECUTIONGRAPH._serialized_end=
|
83
|
-
_EXECUTIONGRAPHSTATUSUPDATE._serialized_start=
|
84
|
-
_EXECUTIONGRAPHSTATUSUPDATE._serialized_end=
|
85
|
-
_VIDEOSTREAMSTART._serialized_start=
|
86
|
-
_VIDEOSTREAMSTART._serialized_end=
|
87
|
-
_VIDEOSTREAMSTOP._serialized_start=
|
88
|
-
_VIDEOSTREAMSTOP._serialized_end=
|
89
|
-
_VIDEOSTREAMKEEPALIVE._serialized_start=
|
90
|
-
_VIDEOSTREAMKEEPALIVE._serialized_end=
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
61
|
+
_EXECUTIONGRAPHSTATE._serialized_start=4072
|
62
|
+
_EXECUTIONGRAPHSTATE._serialized_end=4390
|
63
|
+
_EDGECPTOPIC._serialized_start=4393
|
64
|
+
_EDGECPTOPIC._serialized_end=4643
|
65
|
+
_CPEDGETOPIC._serialized_start=4646
|
66
|
+
_CPEDGETOPIC._serialized_end=4896
|
67
|
+
_EDGEHEARTBEAT._serialized_start=362
|
68
|
+
_EDGEHEARTBEAT._serialized_end=411
|
69
|
+
_EDGEHEARTBEATACK._serialized_start=413
|
70
|
+
_EDGEHEARTBEATACK._serialized_end=465
|
71
|
+
_PHYSICALPIPELINESPECUPDATE._serialized_start=468
|
72
|
+
_PHYSICALPIPELINESPECUPDATE._serialized_end=655
|
73
|
+
_PHYSICALPIPELINESTATUSUPDATE._serialized_start=658
|
74
|
+
_PHYSICALPIPELINESTATUSUPDATE._serialized_end=879
|
75
|
+
_CPRUNMODEL._serialized_start=881
|
76
|
+
_CPRUNMODEL._serialized_end=893
|
77
|
+
_CPRUNMODELACK._serialized_start=895
|
78
|
+
_CPRUNMODELACK._serialized_end=910
|
79
|
+
_EXECUTIONGRAPHSPEC._serialized_start=913
|
80
|
+
_EXECUTIONGRAPHSPEC._serialized_end=1091
|
81
|
+
_EXECUTIONGRAPHSTATUS._serialized_start=1094
|
82
|
+
_EXECUTIONGRAPHSTATUS._serialized_end=1235
|
83
|
+
_APPLYEXECUTIONGRAPH._serialized_start=1238
|
84
|
+
_APPLYEXECUTIONGRAPH._serialized_end=1504
|
85
|
+
_DELETEEXECUTIONGRAPH._serialized_start=1506
|
86
|
+
_DELETEEXECUTIONGRAPH._serialized_end=1619
|
87
|
+
_EXECUTIONGRAPHSTATUSUPDATE._serialized_start=1622
|
88
|
+
_EXECUTIONGRAPHSTATUSUPDATE._serialized_end=1813
|
89
|
+
_VIDEOSTREAMSTART._serialized_start=1815
|
90
|
+
_VIDEOSTREAMSTART._serialized_end=1833
|
91
|
+
_VIDEOSTREAMSTOP._serialized_start=1835
|
92
|
+
_VIDEOSTREAMSTOP._serialized_end=1852
|
93
|
+
_VIDEOSTREAMKEEPALIVE._serialized_start=1854
|
94
|
+
_VIDEOSTREAMKEEPALIVE._serialized_end=1876
|
95
|
+
_MEDIASTREAMSTART._serialized_start=1878
|
96
|
+
_MEDIASTREAMSTART._serialized_end=1896
|
97
|
+
_MEDIASTREAMSTOP._serialized_start=1898
|
98
|
+
_MEDIASTREAMSTOP._serialized_end=1915
|
99
|
+
_MEDIASTREAMKEEPALIVE._serialized_start=1917
|
100
|
+
_MEDIASTREAMKEEPALIVE._serialized_end=1939
|
101
|
+
_MEDIASTREAMCONTROL._serialized_start=1941
|
102
|
+
_MEDIASTREAMCONTROL._serialized_end=2054
|
103
|
+
_TEXTSTREAMCONTROL._serialized_start=2056
|
104
|
+
_TEXTSTREAMCONTROL._serialized_end=2099
|
105
|
+
_EDGECPMEDIASTREAMMESSAGE._serialized_start=2101
|
106
|
+
_EDGECPMEDIASTREAMMESSAGE._serialized_end=2228
|
107
|
+
_CPEDGEMEDIASTREAMMESSAGE._serialized_start=2230
|
108
|
+
_CPEDGEMEDIASTREAMMESSAGE._serialized_end=2357
|
109
|
+
_EDGEOTELMETRICS._serialized_start=2359
|
110
|
+
_EDGEOTELMETRICS._serialized_end=2468
|
111
|
+
_FILETRANSFERREQUEST._serialized_start=2471
|
112
|
+
_FILETRANSFERREQUEST._serialized_end=2619
|
113
|
+
_FILETRANSFERRESPONSE._serialized_start=2622
|
114
|
+
_FILETRANSFERRESPONSE._serialized_end=2893
|
115
|
+
_FILETRANSFERRESPONSE_FILECHUNK._serialized_start=2823
|
116
|
+
_FILETRANSFERRESPONSE_FILECHUNK._serialized_end=2893
|
117
|
+
_DEVICECAPABILITIES._serialized_start=2896
|
118
|
+
_DEVICECAPABILITIES._serialized_end=3146
|
119
|
+
_DEVICECONFIGSTATEUPDATE._serialized_start=3149
|
120
|
+
_DEVICECONFIGSTATEUPDATE._serialized_end=3286
|
121
|
+
_DEVICEBASECONFIGUPDATE._serialized_start=3288
|
122
|
+
_DEVICEBASECONFIGUPDATE._serialized_end=3399
|
123
|
+
_EDGECPMETADATA._serialized_start=3402
|
124
|
+
_EDGECPMETADATA._serialized_end=3606
|
125
|
+
_EDGECPMESSAGE._serialized_start=3608
|
126
|
+
_EDGECPMESSAGE._serialized_end=3734
|
127
|
+
_CPEDGEMETADATA._serialized_start=3737
|
128
|
+
_CPEDGEMETADATA._serialized_end=3941
|
129
|
+
_CPEDGEMESSAGE._serialized_start=3943
|
130
|
+
_CPEDGEMESSAGE._serialized_end=4069
|
117
131
|
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: src/api/corepb/v1/device_info.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
|
+
|
16
|
+
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#src/api/corepb/v1/device_info.proto\x12\x18gml.internal.api.core.v1\x1a\x14gogoproto/gogo.proto\"R\n\x10\x43\x61meraDriverInfo\x12>\n\x06\x64river\x18\x01 \x01(\x0e\x32&.gml.internal.api.core.v1.CameraDriverR\x06\x64river\"\xb4\x02\n\nCameraMode\x12\x16\n\x06\x66ourcc\x18\x01 \x01(\tR\x06\x66ourcc\x12Q\n\x0bresolutions\x18\x02 \x03(\x0b\x32/.gml.internal.api.core.v1.CameraMode.ResolutionR\x0bresolutions\x1a\xba\x01\n\nResolution\x12\x14\n\x05width\x18\x01 \x01(\x05R\x05width\x12\x16\n\x06height\x18\x02 \x01(\x05R\x06height\x12V\n\tintervals\x18\x03 \x03(\x0b\x32\x38.gml.internal.api.core.v1.CameraMode.Resolution.IntervalR\tintervals\x1a&\n\x08Interval\x12\x1a\n\x08interval\x18\x01 \x01(\x01R\x08interval\"\xb3\x01\n\nCameraInfo\x12>\n\x06\x64river\x18\x01 \x01(\x0e\x32&.gml.internal.api.core.v1.CameraDriverR\x06\x64river\x12)\n\tcamera_id\x18\x02 \x01(\tB\x0c\xe2\xde\x1f\x08\x43\x61meraIDR\x08\x63\x61meraId\x12:\n\x05modes\x18\x03 \x03(\x0b\x32$.gml.internal.api.core.v1.CameraModeR\x05modes\"\xf7\x01\n\x10ModelRuntimeInfo\x12O\n\x04type\x18\x01 \x01(\x0e\x32;.gml.internal.api.core.v1.ModelRuntimeInfo.ModelRuntimeTypeR\x04type\"\x91\x01\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\x12\x1b\n\x17MODEL_RUNTIME_TYPE_IREE\x10\x03*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\x42/Z-gimletlabs.ai/gimlet/src/api/corepb/v1;corepbb\x06proto3')
|
18
|
+
|
19
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
20
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'src.api.corepb.v1.device_info_pb2', globals())
|
21
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
22
|
+
|
23
|
+
DESCRIPTOR._options = None
|
24
|
+
DESCRIPTOR._serialized_options = b'Z-gimletlabs.ai/gimlet/src/api/corepb/v1;corepb'
|
25
|
+
_CAMERAINFO.fields_by_name['camera_id']._options = None
|
26
|
+
_CAMERAINFO.fields_by_name['camera_id']._serialized_options = b'\342\336\037\010CameraID'
|
27
|
+
_CAMERADRIVER._serialized_start=914
|
28
|
+
_CAMERADRIVER._serialized_end=1004
|
29
|
+
_CAMERADRIVERINFO._serialized_start=87
|
30
|
+
_CAMERADRIVERINFO._serialized_end=169
|
31
|
+
_CAMERAMODE._serialized_start=172
|
32
|
+
_CAMERAMODE._serialized_end=480
|
33
|
+
_CAMERAMODE_RESOLUTION._serialized_start=294
|
34
|
+
_CAMERAMODE_RESOLUTION._serialized_end=480
|
35
|
+
_CAMERAMODE_RESOLUTION_INTERVAL._serialized_start=442
|
36
|
+
_CAMERAMODE_RESOLUTION_INTERVAL._serialized_end=480
|
37
|
+
_CAMERAINFO._serialized_start=483
|
38
|
+
_CAMERAINFO._serialized_end=662
|
39
|
+
_MODELRUNTIMEINFO._serialized_start=665
|
40
|
+
_MODELRUNTIMEINFO._serialized_end=912
|
41
|
+
_MODELRUNTIMEINFO_MODELRUNTIMETYPE._serialized_start=767
|
42
|
+
_MODELRUNTIMEINFO_MODELRUNTIMETYPE._serialized_end=912
|
43
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: src/api/corepb/v1/gem_config.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
|
+
|
16
|
+
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"src/api/corepb/v1/gem_config.proto\x12\x18gml.internal.api.core.v1\x1a\x14gogoproto/gogo.proto\"w\n\x0bVideoSource\x12=\n\x04type\x18\x01 \x01(\x0e\x32).gml.internal.api.core.v1.VideoSourceTypeR\x04type\x12)\n\tsource_id\x18\x02 \x01(\tB\x0c\xe2\xde\x1f\x08SourceIDR\x08sourceId\"\xe4\x01\n\tGEMConfig\x12j\n\x13video_source_claims\x18\x01 \x03(\x0b\x32:.gml.internal.api.core.v1.GEMConfig.VideoSourceClaimsEntryR\x11videoSourceClaims\x1ak\n\x16VideoSourceClaimsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12;\n\x05value\x18\x02 \x01(\x0b\x32%.gml.internal.api.core.v1.VideoSourceR\x05value:\x02\x38\x01\"$\n\x0c\x43onfigStatus\x12\x14\n\x05\x65rror\x18\x01 \x01(\tR\x05\x65rror\"\x95\x02\n\x0eGEMConfigState\x12J\n\x0e\x61pplied_config\x18\x01 \x01(\x0b\x32#.gml.internal.api.core.v1.GEMConfigR\rappliedConfig\x12R\n\x08statuses\x18\x02 \x03(\x0b\x32\x36.gml.internal.api.core.v1.GEMConfigState.StatusesEntryR\x08statuses\x1a\x63\n\rStatusesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12<\n\x05value\x18\x02 \x01(\x0b\x32&.gml.internal.api.core.v1.ConfigStatusR\x05value:\x02\x38\x01*\xa4\x01\n\x0fVideoSourceType\x12\x1d\n\x19VIDEO_SOURCE_TYPE_UNKNOWN\x10\x00\x12\x1b\n\x17VIDEO_SOURCE_TYPE_ARGUS\x10\x01\x12\x1a\n\x16VIDEO_SOURCE_TYPE_V4L2\x10\x02\x12\x1a\n\x16VIDEO_SOURCE_TYPE_FILE\x10\x03\x12\x1d\n\x19VIDEO_SOURCE_TYPE_NETWORK\x10\x04\x42/Z-gimletlabs.ai/gimlet/src/api/corepb/v1;corepbb\x06proto3')
|
18
|
+
|
19
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
20
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'src.api.corepb.v1.gem_config_pb2', globals())
|
21
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
22
|
+
|
23
|
+
DESCRIPTOR._options = None
|
24
|
+
DESCRIPTOR._serialized_options = b'Z-gimletlabs.ai/gimlet/src/api/corepb/v1;corepb'
|
25
|
+
_VIDEOSOURCE.fields_by_name['source_id']._options = None
|
26
|
+
_VIDEOSOURCE.fields_by_name['source_id']._serialized_options = b'\342\336\037\010SourceID'
|
27
|
+
_GEMCONFIG_VIDEOSOURCECLAIMSENTRY._options = None
|
28
|
+
_GEMCONFIG_VIDEOSOURCECLAIMSENTRY._serialized_options = b'8\001'
|
29
|
+
_GEMCONFIGSTATE_STATUSESENTRY._options = None
|
30
|
+
_GEMCONFIGSTATE_STATUSESENTRY._serialized_options = b'8\001'
|
31
|
+
_VIDEOSOURCETYPE._serialized_start=757
|
32
|
+
_VIDEOSOURCETYPE._serialized_end=921
|
33
|
+
_VIDEOSOURCE._serialized_start=86
|
34
|
+
_VIDEOSOURCE._serialized_end=205
|
35
|
+
_GEMCONFIG._serialized_start=208
|
36
|
+
_GEMCONFIG._serialized_end=436
|
37
|
+
_GEMCONFIG_VIDEOSOURCECLAIMSENTRY._serialized_start=329
|
38
|
+
_GEMCONFIG_VIDEOSOURCECLAIMSENTRY._serialized_end=436
|
39
|
+
_CONFIGSTATUS._serialized_start=438
|
40
|
+
_CONFIGSTATUS._serialized_end=474
|
41
|
+
_GEMCONFIGSTATE._serialized_start=477
|
42
|
+
_GEMCONFIGSTATE._serialized_end=754
|
43
|
+
_GEMCONFIGSTATE_STATUSESENTRY._serialized_start=655
|
44
|
+
_GEMCONFIGSTATE_STATUSESENTRY._serialized_end=754
|
45
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -15,7 +15,7 @@ from gml.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2
|
|
15
15
|
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
|
16
16
|
|
17
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\"
|
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\"G\n\x0e\x43lassification\x12\x35\n\x05label\x18\x01 \x03(\x0b\x32\x1f.gml.internal.api.core.v1.LabelR\x05label\"\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\"<\n\x0eTracksMetadata\x12*\n\x11removed_track_ids\x18\x01 \x03(\x03R\x0fremovedTrackIds\"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\"A\n\x0bVideoHeader\x12\x14\n\x05width\x18\x01 \x01(\x03R\x05width\x12\x16\n\x06height\x18\x02 \x01(\x03R\x06heightJ\x04\x08\x03\x10\x04\":\n\tTextBatch\x12\x12\n\x04text\x18\x01 \x01(\tR\x04text\x12\x19\n\x03\x65os\x18\x02 \x01(\x08\x42\x07\xe2\xde\x1f\x03\x45OSR\x03\x65os*\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
19
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
21
21
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'src.api.corepb.v1.mediastream_pb2', globals())
|
@@ -35,32 +35,40 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
35
35
|
_H264CHUNK.fields_by_name['eof']._serialized_options = b'\342\336\037\003EOF'
|
36
36
|
_H264CHUNK.fields_by_name['nal_data']._options = None
|
37
37
|
_H264CHUNK.fields_by_name['nal_data']._serialized_options = b'\342\336\037\007NALData'
|
38
|
-
|
39
|
-
|
38
|
+
_TEXTBATCH.fields_by_name['eos']._options = None
|
39
|
+
_TEXTBATCH.fields_by_name['eos']._serialized_options = b'\342\336\037\003EOS'
|
40
|
+
_IMAGECOLORCHANNEL._serialized_start=2060
|
41
|
+
_IMAGECOLORCHANNEL._serialized_end=2232
|
40
42
|
_LABEL._serialized_start=119
|
41
43
|
_LABEL._serialized_end=170
|
42
44
|
_NORMALIZEDCENTERRECT._serialized_start=172
|
43
45
|
_NORMALIZEDCENTERRECT._serialized_end=272
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
46
|
+
_CLASSIFICATION._serialized_start=274
|
47
|
+
_CLASSIFICATION._serialized_end=345
|
48
|
+
_DETECTION._serialized_start=348
|
49
|
+
_DETECTION._serialized_end=553
|
50
|
+
_DETECTIONLIST._serialized_start=555
|
51
|
+
_DETECTIONLIST._serialized_end=637
|
52
|
+
_TRACKSMETADATA._serialized_start=639
|
53
|
+
_TRACKSMETADATA._serialized_end=699
|
54
|
+
_SEGMENTATIONMASK._serialized_start=701
|
55
|
+
_SEGMENTATIONMASK._serialized_end=789
|
56
|
+
_SEGMENTATION._serialized_start=791
|
57
|
+
_SEGMENTATION._serialized_end=917
|
58
|
+
_REGRESSION._serialized_start=919
|
59
|
+
_REGRESSION._serialized_end=975
|
60
|
+
_IMAGEHISTOGRAM._serialized_start=978
|
61
|
+
_IMAGEHISTOGRAM._serialized_end=1165
|
62
|
+
_IMAGEHISTOGRAMBATCH._serialized_start=1167
|
63
|
+
_IMAGEHISTOGRAMBATCH._serialized_end=1262
|
64
|
+
_IMAGEQUALITYMETRICS._serialized_start=1264
|
65
|
+
_IMAGEQUALITYMETRICS._serialized_end=1365
|
66
|
+
_IMAGEOVERLAYCHUNK._serialized_start=1368
|
67
|
+
_IMAGEOVERLAYCHUNK._serialized_end=1798
|
68
|
+
_H264CHUNK._serialized_start=1801
|
69
|
+
_H264CHUNK._serialized_end=1930
|
70
|
+
_VIDEOHEADER._serialized_start=1932
|
71
|
+
_VIDEOHEADER._serialized_end=1997
|
72
|
+
_TEXTBATCH._serialized_start=1999
|
73
|
+
_TEXTBATCH._serialized_end=2057
|
66
74
|
# @@protoc_insertion_point(module_scope)
|