gimlet-api 0.0.9__py3-none-any.whl → 0.0.10__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.
gml/model.py CHANGED
@@ -18,6 +18,7 @@ from __future__ import annotations
18
18
  import abc
19
19
  import contextlib
20
20
  import io
21
+ from importlib.metadata import distributions
21
22
  from pathlib import Path
22
23
  from typing import BinaryIO, Dict, List, Literal, Optional, Sequence, TextIO, Tuple
23
24
 
@@ -29,6 +30,33 @@ from gml.compile import to_torch_mlir
29
30
  from gml.preprocessing import ImagePreprocessingStep
30
31
  from gml.tensor import TensorSemantics
31
32
 
33
+ MODELING_PACKAGES = set(
34
+ {
35
+ "accelerate",
36
+ "compressed-tensors",
37
+ "gimlet-api",
38
+ "mlir-gml",
39
+ "safetensors",
40
+ "safetensors-mlir",
41
+ "torch",
42
+ "torch-mlir-gml",
43
+ "torchvision",
44
+ "transformers",
45
+ "tokenizers",
46
+ }
47
+ )
48
+
49
+
50
+ def get_modeling_packages() -> Sequence[modelexecpb.PackageInfo]:
51
+ packages = []
52
+ for dist in filter(
53
+ lambda d: d.metadata["Name"] in MODELING_PACKAGES, distributions()
54
+ ):
55
+ packages.append(
56
+ modelexecpb.PackageInfo(name=dist.metadata["Name"], version=dist.version)
57
+ )
58
+ return sorted(packages, key=lambda p: p.name)
59
+
32
60
 
33
61
  class GenerationConfig:
34
62
  def __init__(self, eos_token_ids: List[int]):
@@ -52,6 +80,7 @@ class Model(abc.ABC):
52
80
  class_labels_file: Optional[Path] = None,
53
81
  image_preprocessing_steps: Optional[List[ImagePreprocessingStep]] = None,
54
82
  generation_config: Optional[GenerationConfig] = None,
83
+ transformer_config: Optional[modelexecpb.TransformerConfig] = None,
55
84
  ):
56
85
  self.name = name
57
86
  self.kind = kind
@@ -66,6 +95,7 @@ class Model(abc.ABC):
66
95
  self.output_tensor_semantics = output_tensor_semantics
67
96
  self.image_preprocessing_steps = image_preprocessing_steps
68
97
  self.generation_config = generation_config
98
+ self.transformer_config = transformer_config
69
99
 
70
100
  def to_proto(self) -> modelexecpb.ModelInfo:
71
101
  image_preprocessing_steps = None
@@ -89,6 +119,10 @@ class Model(abc.ABC):
89
119
  semantics.to_proto() for semantics in self.output_tensor_semantics
90
120
  ],
91
121
  generation_config=generation_config,
122
+ tracing_metadata=modelexecpb.TracingMetadata(
123
+ package_info=get_modeling_packages(),
124
+ ),
125
+ transformer_config=self.transformer_config,
92
126
  )
93
127
 
94
128
  @abc.abstractmethod
@@ -111,6 +145,7 @@ class TorchModel(Model):
111
145
  input_shapes: Optional[List[List[int]]] = None,
112
146
  input_dtypes: Optional[List[torch.dtype]] = None,
113
147
  dynamic_shapes: Optional[Sequence[Dict[int, str | "torch.export.Dim"]]] = None,
148
+ export_predispatch: bool = False,
114
149
  **kwargs,
115
150
  ):
116
151
  super().__init__(
@@ -133,6 +168,7 @@ class TorchModel(Model):
133
168
  torch.rand(shape, dtype=dtype)
134
169
  for shape, dtype in zip(self.input_shapes, self.input_dtypes)
135
170
  ]
171
+ self.export_predispatch = export_predispatch
136
172
 
137
173
  def _convert_to_torch_mlir(self, weight_manager: Optional[AssetManager] = None):
138
174
  return to_torch_mlir(
@@ -140,6 +176,7 @@ class TorchModel(Model):
140
176
  self.example_inputs,
141
177
  self.dynamic_shapes,
142
178
  weight_manager=weight_manager,
179
+ export_predispatch=self.export_predispatch,
143
180
  )
144
181
 
145
182
  def _collect_assets(
gml/preprocessing.py CHANGED
@@ -28,7 +28,21 @@ class ImagePreprocessingStep(abc.ABC):
28
28
  pass
29
29
 
30
30
 
31
+ class ResizeImage(ImagePreprocessingStep):
32
+ """ResizeImage resizes the image to the target size without preserving aspect ratio."""
33
+
34
+ def to_proto(self) -> modelexecpb.ImagePreprocessingStep:
35
+ return modelexecpb.ImagePreprocessingStep(
36
+ kind=modelexecpb.ImagePreprocessingStep.IMAGE_PREPROCESSING_KIND_RESIZE,
37
+ resize_params=modelexecpb.ImagePreprocessingStep.ImageResizeParams(
38
+ kind=modelexecpb.ImagePreprocessingStep.ImageResizeParams.IMAGE_RESIZE_KIND_STRETCH,
39
+ ),
40
+ )
41
+
42
+
31
43
  class LetterboxImage(ImagePreprocessingStep):
44
+ """LetterboxImage resizes the image to the target size while preserving aspect ratio by introducting letterbox padding."""
45
+
32
46
  def to_proto(self) -> modelexecpb.ImagePreprocessingStep:
33
47
  return modelexecpb.ImagePreprocessingStep(
34
48
  kind=modelexecpb.ImagePreprocessingStep.IMAGE_PREPROCESSING_KIND_RESIZE,
@@ -38,14 +52,14 @@ class LetterboxImage(ImagePreprocessingStep):
38
52
  )
39
53
 
40
54
 
41
- class ResizeImage(ImagePreprocessingStep):
42
- """ResizeImage resizes the image to the target size without preserving aspect ratio."""
55
+ class CenterCropImage(ImagePreprocessingStep):
56
+ """CenterCropImage resizes the image to the target size while preserving aspect ratio by center cropping along one dimension."""
43
57
 
44
58
  def to_proto(self) -> modelexecpb.ImagePreprocessingStep:
45
59
  return modelexecpb.ImagePreprocessingStep(
46
60
  kind=modelexecpb.ImagePreprocessingStep.IMAGE_PREPROCESSING_KIND_RESIZE,
47
61
  resize_params=modelexecpb.ImagePreprocessingStep.ImageResizeParams(
48
- kind=modelexecpb.ImagePreprocessingStep.ImageResizeParams.IMAGE_RESIZE_KIND_STRETCH,
62
+ kind=modelexecpb.ImagePreprocessingStep.ImageResizeParams.IMAGE_RESIZE_KIND_CENTERCROP,
49
63
  ),
50
64
  )
51
65
 
@@ -11,52 +11,53 @@ from google.protobuf import symbol_database as _symbol_database
11
11
  _sym_db = _symbol_database.Default()
12
12
 
13
13
 
14
+ from gml.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2
14
15
  from gml.proto.opentelemetry.proto.common.v1 import common_pb2 as opentelemetry_dot_proto_dot_common_dot_v1_dot_common__pb2
15
16
  from gml.proto.opentelemetry.proto.resource.v1 import resource_pb2 as opentelemetry_dot_proto_dot_resource_dot_v1_dot_resource__pb2
16
17
 
17
18
 
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
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,opentelemetry/proto/metrics/v1/metrics.proto\x12\x1eopentelemetry.proto.metrics.v1\x1a\x14gogoproto/gogo.proto\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\"\xa6\x04\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\x07summary\x12\x43\n\x08metadata\x18\x0c \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValueR\x08metadataB\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\x83\x01\n!io.opentelemetry.proto.metrics.v1B\x0cMetricsProtoP\x01Z)go.opentelemetry.io/proto/otlp/metrics/v1\xaa\x02\x1eOpenTelemetry.Proto.Metrics.V1\xd0\xe1\x1e\x01\x62\x06proto3')
19
20
 
20
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
21
22
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'opentelemetry.proto.metrics.v1.metrics_pb2', globals())
22
23
  if _descriptor._USE_C_DESCRIPTORS == False:
23
24
 
24
25
  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
26
+ 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\320\341\036\001'
27
+ _AGGREGATIONTEMPORALITY._serialized_start=4323
28
+ _AGGREGATIONTEMPORALITY._serialized_end=4463
29
+ _DATAPOINTFLAGS._serialized_start=4465
30
+ _DATAPOINTFLAGS._serialized_end=4559
31
+ _METRICSDATA._serialized_start=194
32
+ _METRICSDATA._serialized_end=299
33
+ _RESOURCEMETRICS._serialized_start=302
34
+ _RESOURCEMETRICS._serialized_end=512
35
+ _SCOPEMETRICS._serialized_start=515
36
+ _SCOPEMETRICS._serialized_end=701
37
+ _METRIC._serialized_start=704
38
+ _METRIC._serialized_end=1254
39
+ _GAUGE._serialized_start=1256
40
+ _GAUGE._serialized_end=1345
41
+ _SUM._serialized_start=1348
42
+ _SUM._serialized_end=1583
43
+ _HISTOGRAM._serialized_start=1586
44
+ _HISTOGRAM._serialized_end=1795
45
+ _EXPONENTIALHISTOGRAM._serialized_start=1798
46
+ _EXPONENTIALHISTOGRAM._serialized_end=2029
47
+ _SUMMARY._serialized_start=2031
48
+ _SUMMARY._serialized_end=2123
49
+ _NUMBERDATAPOINT._serialized_start=2126
50
+ _NUMBERDATAPOINT._serialized_end=2468
51
+ _HISTOGRAMDATAPOINT._serialized_start=2471
52
+ _HISTOGRAMDATAPOINT._serialized_end=2905
53
+ _EXPONENTIALHISTOGRAMDATAPOINT._serialized_start=2908
54
+ _EXPONENTIALHISTOGRAMDATAPOINT._serialized_end=3631
55
+ _EXPONENTIALHISTOGRAMDATAPOINT_BUCKETS._serialized_start=3561
56
+ _EXPONENTIALHISTOGRAMDATAPOINT_BUCKETS._serialized_end=3631
57
+ _SUMMARYDATAPOINT._serialized_start=3634
58
+ _SUMMARYDATAPOINT._serialized_end=4056
59
+ _SUMMARYDATAPOINT_VALUEATQUANTILE._serialized_start=3983
60
+ _SUMMARYDATAPOINT_VALUEATQUANTILE._serialized_end=4050
61
+ _EXEMPLAR._serialized_start=4059
62
+ _EXEMPLAR._serialized_end=4320
62
63
  # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,64 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: src/api/corepb/v1/compiled_pipeline.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.api.corepb.v1 import model_exec_pb2 as src_dot_api_dot_corepb_dot_v1_dot_model__exec__pb2
16
+
17
+
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)src/api/corepb/v1/compiled_pipeline.proto\x12\x18gml.internal.api.core.v1\x1a\x14gogoproto/gogo.proto\x1a\"src/api/corepb/v1/model_exec.proto\"\x8c\x01\n\x14\x43ompiledPipelineSpec\x12t\n\x17\x64istribution_candidates\x18\x01 \x03(\x0b\x32;.gml.internal.api.core.v1.PipelineDistributionCandidateSpecR\x16\x64istributionCandidates\"\xe4\x01\n!PipelineDistributionCandidateSpec\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\\\n\x0f\x66ragment_groups\x18\x02 \x03(\x0b\x32\x33.gml.internal.api.core.v1.PipelineFragmentGroupSpecR\x0e\x66ragmentGroups\x12M\n\x05ports\x18\x03 \x03(\x0b\x32\x37.gml.internal.api.core.v1.PipelineFragmentGroupPortSpecR\x05ports\"\xc7\x01\n\x19PipelineFragmentGroupSpec\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12H\n\x0b\x63omm_groups\x18\x02 \x03(\x0b\x32\'.gml.internal.api.core.v1.CommGroupSpecR\ncommGroups\x12L\n\tfragments\x18\x03 \x03(\x0b\x32..gml.internal.api.core.v1.PipelineFragmentSpecR\tfragments\"\x83\x01\n\x1dPipelineFragmentGroupPortSpec\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12!\n\x0csource_group\x18\x02 \x01(\tR\x0bsourceGroup\x12+\n\x11\x64\x65stination_group\x18\x03 \x01(\tR\x10\x64\x65stinationGroup\"\xd7\x01\n\x14PipelineFragmentSpec\x12i\n\x0e\x63onfigurations\x18\x02 \x03(\x0b\x32\x41.gml.internal.api.core.v1.PipelineFragmentConfigurationOptionSpecR\x0e\x63onfigurations\x12N\n\x0b\x63omm_groups\x18\x03 \x03(\x0b\x32-.gml.internal.api.core.v1.CommGroupMemberSpecR\ncommGroupsJ\x04\x08\x01\x10\x02\"\xb0\x04\n\'PipelineFragmentConfigurationOptionSpec\x12\x44\n\texec_spec\x18\x02 \x01(\x0b\x32\'.gml.internal.api.core.v1.ExecutionSpecR\x08\x65xecSpec\x12?\n\x06labels\x18\x03 \x03(\x0b\x32\'.gml.internal.api.core.v1.FragmentLabelR\x06labels\x12_\n\x08gem_spec\x18\x04 \x01(\x0b\x32\x37.gml.internal.api.core.v1.ScopedAffinityAndResourceSpecB\x0b\xe2\xde\x1f\x07GEMSpecR\x07gemSpec\x12\x64\n\x11\x61\x63\x63\x65lerator_specs\x18\x05 \x03(\x0b\x32\x37.gml.internal.api.core.v1.ScopedAffinityAndResourceSpecR\x10\x61\x63\x63\x65leratorSpecs\x12S\n\x11\x66ragment_affinity\x18\x06 \x01(\x0b\x32&.gml.internal.api.core.v1.AffinitySpecR\x10\x66ragmentAffinity\x12\\\n\x16\x66ragment_anti_affinity\x18\x07 \x01(\x0b\x32&.gml.internal.api.core.v1.AffinitySpecR\x14\x66ragmentAntiAffinityJ\x04\x08\x01\x10\x02\"A\n\x0fResourceRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1a\n\x08quantity\x18\x02 \x01(\x03R\x08quantity\"a\n\x18ResourceRequirementsSpec\x12\x45\n\x08requests\x18\x01 \x03(\x0b\x32).gml.internal.api.core.v1.ResourceRequestR\x08requests\"\xc0\x01\n\x1dScopedAffinityAndResourceSpec\x12M\n\x0escope_affinity\x18\x01 \x01(\x0b\x32&.gml.internal.api.core.v1.AffinitySpecR\rscopeAffinity\x12P\n\tresources\x18\x04 \x01(\x0b\x32\x32.gml.internal.api.core.v1.ResourceRequirementsSpecR\tresources\"\x8a\x01\n\x14LabelMatchExpression\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x16\n\x06values\x18\x02 \x03(\tR\x06values\x12H\n\x08operator\x18\x03 \x01(\x0e\x32,.gml.internal.api.core.v1.LabelMatchOperatorR\x08operator\"\x8f\x01\n\rLabelSelector\x12[\n\x11match_expressions\x18\x01 \x03(\x0b\x32..gml.internal.api.core.v1.LabelMatchExpressionR\x10matchExpressions\x12!\n\x0ctopology_key\x18\x02 \x01(\tR\x0btopologyKey\"U\n\x0c\x41\x66\x66inityRule\x12\x45\n\tselectors\x18\x01 \x03(\x0b\x32\'.gml.internal.api.core.v1.LabelSelectorR\tselectors\"]\n\x0c\x41\x66\x66initySpec\x12M\n\x0erequired_rules\x18\x02 \x03(\x0b\x32&.gml.internal.api.core.v1.AffinityRuleR\rrequiredRules\"7\n\rFragmentLabel\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\"\x87\x01\n\rCommGroupSpec\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n\x04size\x18\x02 \x01(\x03R\x04size\x12N\n\x0ctopology_key\x18\x03 \x01(\x0e\x32+.gml.internal.api.core.v1.FabricTopologyKeyR\x0btopologyKey\"=\n\x13\x43ommGroupMemberSpec\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n\x04rank\x18\x02 \x01(\x03R\x04rank*\xbe\x01\n\x12LabelMatchOperator\x12 \n\x1cLABEL_MATCH_OPERATOR_UNKNOWN\x10\x00\x12\x1b\n\x17LABEL_MATCH_OPERATOR_IN\x10\x01\x12\x1f\n\x1bLABEL_MATCH_OPERATOR_NOT_IN\x10\x02\x12\x1f\n\x1bLABEL_MATCH_OPERATOR_EXISTS\x10\x03\x12\'\n#LABEL_MATCH_OPERATOR_DOES_NOT_EXIST\x10\x04*\xa9\x01\n\x11\x46\x61\x62ricTopologyKey\x12\x1f\n\x1b\x46\x41\x42RIC_TOPOLOGY_KEY_UNKNOWN\x10\x00\x12\x1b\n\x17\x46\x41\x42RIC_TOPOLOGY_KEY_ANY\x10\x01\x12\x1c\n\x18\x46\x41\x42RIC_TOPOLOGY_KEY_NODE\x10\x02\x12\x1c\n\x18\x46\x41\x42RIC_TOPOLOGY_KEY_RACK\x10\x03\x12\x1a\n\x16\x46\x41\x42RIC_TOPOLOGY_KEY_DC\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.compiled_pipeline_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
+ _PIPELINEFRAGMENTCONFIGURATIONOPTIONSPEC.fields_by_name['gem_spec']._options = None
27
+ _PIPELINEFRAGMENTCONFIGURATIONOPTIONSPEC.fields_by_name['gem_spec']._serialized_options = b'\342\336\037\007GEMSpec'
28
+ _LABELMATCHOPERATOR._serialized_start=2709
29
+ _LABELMATCHOPERATOR._serialized_end=2899
30
+ _FABRICTOPOLOGYKEY._serialized_start=2902
31
+ _FABRICTOPOLOGYKEY._serialized_end=3071
32
+ _COMPILEDPIPELINESPEC._serialized_start=130
33
+ _COMPILEDPIPELINESPEC._serialized_end=270
34
+ _PIPELINEDISTRIBUTIONCANDIDATESPEC._serialized_start=273
35
+ _PIPELINEDISTRIBUTIONCANDIDATESPEC._serialized_end=501
36
+ _PIPELINEFRAGMENTGROUPSPEC._serialized_start=504
37
+ _PIPELINEFRAGMENTGROUPSPEC._serialized_end=703
38
+ _PIPELINEFRAGMENTGROUPPORTSPEC._serialized_start=706
39
+ _PIPELINEFRAGMENTGROUPPORTSPEC._serialized_end=837
40
+ _PIPELINEFRAGMENTSPEC._serialized_start=840
41
+ _PIPELINEFRAGMENTSPEC._serialized_end=1055
42
+ _PIPELINEFRAGMENTCONFIGURATIONOPTIONSPEC._serialized_start=1058
43
+ _PIPELINEFRAGMENTCONFIGURATIONOPTIONSPEC._serialized_end=1618
44
+ _RESOURCEREQUEST._serialized_start=1620
45
+ _RESOURCEREQUEST._serialized_end=1685
46
+ _RESOURCEREQUIREMENTSSPEC._serialized_start=1687
47
+ _RESOURCEREQUIREMENTSSPEC._serialized_end=1784
48
+ _SCOPEDAFFINITYANDRESOURCESPEC._serialized_start=1787
49
+ _SCOPEDAFFINITYANDRESOURCESPEC._serialized_end=1979
50
+ _LABELMATCHEXPRESSION._serialized_start=1982
51
+ _LABELMATCHEXPRESSION._serialized_end=2120
52
+ _LABELSELECTOR._serialized_start=2123
53
+ _LABELSELECTOR._serialized_end=2266
54
+ _AFFINITYRULE._serialized_start=2268
55
+ _AFFINITYRULE._serialized_end=2353
56
+ _AFFINITYSPEC._serialized_start=2355
57
+ _AFFINITYSPEC._serialized_end=2448
58
+ _FRAGMENTLABEL._serialized_start=2450
59
+ _FRAGMENTLABEL._serialized_end=2505
60
+ _COMMGROUPSPEC._serialized_start=2508
61
+ _COMMGROUPSPEC._serialized_end=2643
62
+ _COMMGROUPMEMBERSPEC._serialized_start=2645
63
+ _COMMGROUPMEMBERSPEC._serialized_end=2706
64
+ # @@protoc_insertion_point(module_scope)
@@ -21,7 +21,7 @@ from gml.proto.src.common.typespb import status_pb2 as src_dot_common_dot_typesp
21
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
22
 
23
23
 
24
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$src/api/corepb/v1/controlplane.proto\x12\x18gml.internal.api.core.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1fsrc/api/corepb/v1/cp_edge.proto\x1a\"src/api/corepb/v1/gem_config.proto\x1a\x1dsrc/common/typespb/uuid.proto\x1a\x1fsrc/common/typespb/status.proto\x1a\"src/api/corepb/v1/model_exec.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\"\xb2\x03\n\x1bPipelineCompilationMetadata\x12\x8c\x01\n\x1aphysical_pipeline_metadata\x18\x01 \x01(\x0b\x32N.gml.internal.api.core.v1.PipelineCompilationMetadata.PhysicalPipelineMetadataR\x18physicalPipelineMetadata\x1a\x83\x02\n\x18PhysicalPipelineMetadata\x12:\n\tdevice_id\x18\x01 \x01(\x0b\x32\x0f.gml.types.UUIDB\x0c\xe2\xde\x1f\x08\x44\x65viceIDR\x08\x64\x65viceId\x12\x18\n\x07version\x18\x02 \x01(\x03R\x07version\x12\x30\n\x14\x64\x65vice_resource_hash\x18\x03 \x01(\tR\x12\x64\x65viceResourceHash\x12_\n\x16pipeline_deployment_id\x18\x04 \x01(\x0b\x32\x0f.gml.types.UUIDB\x18\xe2\xde\x1f\x14PipelineDeploymentIDR\x14pipelineDeploymentId\"\x88\x04\n\x1aPipelineCompilationRequest\x12Q\n\x08metadata\x18\x01 \x01(\x0b\x32\x35.gml.internal.api.core.v1.PipelineCompilationMetadataR\x08metadata\x12V\n\x13logical_pipeline_id\x18\x02 \x01(\x0b\x32\x0f.gml.types.UUIDB\x15\xe2\xde\x1f\x11LogicalPipelineIDR\x11logicalPipelineId\x12T\n\x10logical_pipeline\x18\x03 \x01(\x0b\x32).gml.internal.api.core.v1.LogicalPipelineR\x0flogicalPipeline\x12]\n\x13\x64\x65vice_capabilities\x18\x04 \x01(\x0b\x32,.gml.internal.api.core.v1.DeviceCapabilitiesR\x12\x64\x65viceCapabilities\x12\x37\n\x06models\x18\x05 \x03(\x0b\x32\x1f.gml.internal.api.core.v1.ModelR\x06models\x12Q\n\ngem_config\x18\x06 \x01(\x0b\x32#.gml.internal.api.core.v1.GEMConfigB\r\xe2\xde\x1f\tGEMConfigR\tgemConfig\"\xe1\x01\n\x1bPipelineCompilationResponse\x12Q\n\x08metadata\x18\x01 \x01(\x0b\x32\x35.gml.internal.api.core.v1.PipelineCompilationMetadataR\x08metadata\x12\x44\n\texec_spec\x18\x02 \x01(\x0b\x32\'.gml.internal.api.core.v1.ExecutionSpecR\x08\x65xecSpec\x12)\n\x06status\x18\x03 \x01(\x0b\x32\x11.gml.types.StatusR\x06status*\xcf\x02\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\x12)\n%CP_TOPIC_PIPELINE_COMPILATION_REQUEST\x10\x07\x12*\n&CP_TOPIC_PIPELINE_COMPILATION_RESPONSE\x10\x08\x42/Z-gimletlabs.ai/gimlet/src/api/corepb/v1;corepbb\x06proto3')
24
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$src/api/corepb/v1/controlplane.proto\x12\x18gml.internal.api.core.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1fsrc/api/corepb/v1/cp_edge.proto\x1a\"src/api/corepb/v1/gem_config.proto\x1a\x1dsrc/common/typespb/uuid.proto\x1a\x1fsrc/common/typespb/status.proto\x1a\"src/api/corepb/v1/model_exec.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\"\xb2\x03\n\x1bPipelineCompilationMetadata\x12\x8c\x01\n\x1aphysical_pipeline_metadata\x18\x01 \x01(\x0b\x32N.gml.internal.api.core.v1.PipelineCompilationMetadata.PhysicalPipelineMetadataR\x18physicalPipelineMetadata\x1a\x83\x02\n\x18PhysicalPipelineMetadata\x12:\n\tentity_id\x18\x01 \x01(\x0b\x32\x0f.gml.types.UUIDB\x0c\xe2\xde\x1f\x08\x45ntityIDR\x08\x65ntityId\x12\x18\n\x07version\x18\x02 \x01(\x03R\x07version\x12\x30\n\x14\x65ntity_resource_hash\x18\x03 \x01(\tR\x12\x65ntityResourceHash\x12_\n\x16pipeline_deployment_id\x18\x04 \x01(\x0b\x32\x0f.gml.types.UUIDB\x18\xe2\xde\x1f\x14PipelineDeploymentIDR\x14pipelineDeploymentId\"\x86\x05\n\x1aPipelineCompilationRequest\x12Q\n\x08metadata\x18\x01 \x01(\x0b\x32\x35.gml.internal.api.core.v1.PipelineCompilationMetadataR\x08metadata\x12V\n\x13logical_pipeline_id\x18\x02 \x01(\x0b\x32\x0f.gml.types.UUIDB\x15\xe2\xde\x1f\x11LogicalPipelineIDR\x11logicalPipelineId\x12T\n\x10logical_pipeline\x18\x03 \x01(\x0b\x32).gml.internal.api.core.v1.LogicalPipelineR\x0flogicalPipeline\x12\x61\n\x13\x64\x65vice_capabilities\x18\x04 \x01(\x0b\x32,.gml.internal.api.core.v1.DeviceCapabilitiesB\x02\x18\x01R\x12\x64\x65viceCapabilities\x12\x37\n\x06models\x18\x05 \x03(\x0b\x32\x1f.gml.internal.api.core.v1.ModelR\x06models\x12\x46\n\ngem_config\x18\x06 \x01(\x0b\x32#.gml.internal.api.core.v1.GEMConfigB\x02\x18\x01R\tgemConfig\x12:\n\x07\x64\x65vices\x18\x07 \x03(\x0b\x32 .gml.internal.api.core.v1.DeviceR\x07\x64\x65vices\x12G\n\x0c\x64\x65vice_links\x18\x08 \x03(\x0b\x32$.gml.internal.api.core.v1.DeviceLinkR\x0b\x64\x65viceLinks\"\xb1\x03\n\x1bPipelineCompilationResponse\x12Q\n\x08metadata\x18\x01 \x01(\x0b\x32\x35.gml.internal.api.core.v1.PipelineCompilationMetadataR\x08metadata\x12H\n\texec_spec\x18\x02 \x01(\x0b\x32\'.gml.internal.api.core.v1.ExecutionSpecB\x02\x18\x01R\x08\x65xecSpec\x12)\n\x06status\x18\x03 \x01(\x0b\x32\x11.gml.types.StatusR\x06status\x12\x63\n\nexec_specs\x18\x04 \x03(\x0b\x32\x44.gml.internal.api.core.v1.PipelineCompilationResponse.ExecSpecsEntryR\texecSpecs\x1a\x65\n\x0e\x45xecSpecsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12=\n\x05value\x18\x02 \x01(\x0b\x32\'.gml.internal.api.core.v1.ExecutionSpecR\x05value:\x02\x38\x01\"\xf6\x01\n\x06\x44\x65vice\x12:\n\tdevice_id\x18\x01 \x01(\x0b\x32\x0f.gml.types.UUIDB\x0c\xe2\xde\x1f\x08\x44\x65viceIDR\x08\x64\x65viceId\x12]\n\x13\x64\x65vice_capabilities\x18\x02 \x01(\x0b\x32,.gml.internal.api.core.v1.DeviceCapabilitiesR\x12\x64\x65viceCapabilities\x12Q\n\ngem_config\x18\x03 \x01(\x0b\x32#.gml.internal.api.core.v1.GEMConfigB\r\xe2\xde\x1f\tGEMConfigR\tgemConfig\"\xaa\x01\n\nDeviceLink\x12M\n\x10source_device_id\x18\x01 \x01(\x0b\x32\x0f.gml.types.UUIDB\x12\xe2\xde\x1f\x0eSourceDeviceIDR\x0esourceDeviceId\x12M\n\x10target_device_id\x18\x02 \x01(\x0b\x32\x0f.gml.types.UUIDB\x12\xe2\xde\x1f\x0eTargetDeviceIDR\x0etargetDeviceId\"\xd0\x01\n\x1bPipelineFragmentGroupUpdate\x12_\n\x16pipeline_deployment_id\x18\x01 \x01(\x0b\x32\x0f.gml.types.UUIDB\x18\xe2\xde\x1f\x14PipelineDeploymentIDR\x14pipelineDeploymentId\x12P\n\x11\x66ragment_group_id\x18\x02 \x01(\x0b\x32\x0f.gml.types.UUIDB\x13\xe2\xde\x1f\x0f\x46ragmentGroupIDR\x0f\x66ragmentGroupId*\xf3\x02\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\x12)\n%CP_TOPIC_PIPELINE_COMPILATION_REQUEST\x10\x07\x12*\n&CP_TOPIC_PIPELINE_COMPILATION_RESPONSE\x10\x08\x12\"\n\x1e\x43P_TOPIC_FRAGMENT_GROUP_UPDATE\x10\tB/Z-gimletlabs.ai/gimlet/src/api/corepb/v1;corepbb\x06proto3')
25
25
 
26
26
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
27
27
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'src.api.corepb.v1.controlplane_pb2', globals())
@@ -47,16 +47,34 @@ if _descriptor._USE_C_DESCRIPTORS == False:
47
47
  _PIPELINEDEPLOYMENTRECONCILIATION.fields_by_name['fleet_id']._serialized_options = b'\342\336\037\007FleetID'
48
48
  _BASECONFIGUPDATEREQUEST.fields_by_name['device_id']._options = None
49
49
  _BASECONFIGUPDATEREQUEST.fields_by_name['device_id']._serialized_options = b'\342\336\037\010DeviceID'
50
- _PIPELINECOMPILATIONMETADATA_PHYSICALPIPELINEMETADATA.fields_by_name['device_id']._options = None
51
- _PIPELINECOMPILATIONMETADATA_PHYSICALPIPELINEMETADATA.fields_by_name['device_id']._serialized_options = b'\342\336\037\010DeviceID'
50
+ _PIPELINECOMPILATIONMETADATA_PHYSICALPIPELINEMETADATA.fields_by_name['entity_id']._options = None
51
+ _PIPELINECOMPILATIONMETADATA_PHYSICALPIPELINEMETADATA.fields_by_name['entity_id']._serialized_options = b'\342\336\037\010EntityID'
52
52
  _PIPELINECOMPILATIONMETADATA_PHYSICALPIPELINEMETADATA.fields_by_name['pipeline_deployment_id']._options = None
53
53
  _PIPELINECOMPILATIONMETADATA_PHYSICALPIPELINEMETADATA.fields_by_name['pipeline_deployment_id']._serialized_options = b'\342\336\037\024PipelineDeploymentID'
54
54
  _PIPELINECOMPILATIONREQUEST.fields_by_name['logical_pipeline_id']._options = None
55
55
  _PIPELINECOMPILATIONREQUEST.fields_by_name['logical_pipeline_id']._serialized_options = b'\342\336\037\021LogicalPipelineID'
56
+ _PIPELINECOMPILATIONREQUEST.fields_by_name['device_capabilities']._options = None
57
+ _PIPELINECOMPILATIONREQUEST.fields_by_name['device_capabilities']._serialized_options = b'\030\001'
56
58
  _PIPELINECOMPILATIONREQUEST.fields_by_name['gem_config']._options = None
57
- _PIPELINECOMPILATIONREQUEST.fields_by_name['gem_config']._serialized_options = b'\342\336\037\tGEMConfig'
58
- _CPTOPIC._serialized_start=2559
59
- _CPTOPIC._serialized_end=2894
59
+ _PIPELINECOMPILATIONREQUEST.fields_by_name['gem_config']._serialized_options = b'\030\001'
60
+ _PIPELINECOMPILATIONRESPONSE_EXECSPECSENTRY._options = None
61
+ _PIPELINECOMPILATIONRESPONSE_EXECSPECSENTRY._serialized_options = b'8\001'
62
+ _PIPELINECOMPILATIONRESPONSE.fields_by_name['exec_spec']._options = None
63
+ _PIPELINECOMPILATIONRESPONSE.fields_by_name['exec_spec']._serialized_options = b'\030\001'
64
+ _DEVICE.fields_by_name['device_id']._options = None
65
+ _DEVICE.fields_by_name['device_id']._serialized_options = b'\342\336\037\010DeviceID'
66
+ _DEVICE.fields_by_name['gem_config']._options = None
67
+ _DEVICE.fields_by_name['gem_config']._serialized_options = b'\342\336\037\tGEMConfig'
68
+ _DEVICELINK.fields_by_name['source_device_id']._options = None
69
+ _DEVICELINK.fields_by_name['source_device_id']._serialized_options = b'\342\336\037\016SourceDeviceID'
70
+ _DEVICELINK.fields_by_name['target_device_id']._options = None
71
+ _DEVICELINK.fields_by_name['target_device_id']._serialized_options = b'\342\336\037\016TargetDeviceID'
72
+ _PIPELINEFRAGMENTGROUPUPDATE.fields_by_name['pipeline_deployment_id']._options = None
73
+ _PIPELINEFRAGMENTGROUPUPDATE.fields_by_name['pipeline_deployment_id']._serialized_options = b'\342\336\037\024PipelineDeploymentID'
74
+ _PIPELINEFRAGMENTGROUPUPDATE.fields_by_name['fragment_group_id']._options = None
75
+ _PIPELINEFRAGMENTGROUPUPDATE.fields_by_name['fragment_group_id']._serialized_options = b'\342\336\037\017FragmentGroupID'
76
+ _CPTOPIC._serialized_start=3526
77
+ _CPTOPIC._serialized_end=3897
60
78
  _CPMETADATA._serialized_start=318
61
79
  _CPMETADATA._serialized_end=514
62
80
  _CPMESSAGE._serialized_start=516
@@ -78,7 +96,15 @@ if _descriptor._USE_C_DESCRIPTORS == False:
78
96
  _PIPELINECOMPILATIONMETADATA_PHYSICALPIPELINEMETADATA._serialized_start=1546
79
97
  _PIPELINECOMPILATIONMETADATA_PHYSICALPIPELINEMETADATA._serialized_end=1805
80
98
  _PIPELINECOMPILATIONREQUEST._serialized_start=1808
81
- _PIPELINECOMPILATIONREQUEST._serialized_end=2328
82
- _PIPELINECOMPILATIONRESPONSE._serialized_start=2331
83
- _PIPELINECOMPILATIONRESPONSE._serialized_end=2556
99
+ _PIPELINECOMPILATIONREQUEST._serialized_end=2454
100
+ _PIPELINECOMPILATIONRESPONSE._serialized_start=2457
101
+ _PIPELINECOMPILATIONRESPONSE._serialized_end=2890
102
+ _PIPELINECOMPILATIONRESPONSE_EXECSPECSENTRY._serialized_start=2789
103
+ _PIPELINECOMPILATIONRESPONSE_EXECSPECSENTRY._serialized_end=2890
104
+ _DEVICE._serialized_start=2893
105
+ _DEVICE._serialized_end=3139
106
+ _DEVICELINK._serialized_start=3142
107
+ _DEVICELINK._serialized_end=3312
108
+ _PIPELINEFRAGMENTGROUPUPDATE._serialized_start=3315
109
+ _PIPELINEFRAGMENTGROUPUPDATE._serialized_end=3523
84
110
  # @@protoc_insertion_point(module_scope)
@@ -22,7 +22,7 @@ from gml.proto.src.api.corepb.v1 import model_exec_pb2 as src_dot_api_dot_corepb
22
22
  from gml.proto.src.api.corepb.v1 import gem_config_pb2 as src_dot_api_dot_corepb_dot_v1_dot_gem__config__pb2
23
23
 
24
24
 
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\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*\xe7\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\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\"\x04\x08\x02\x10\x02*\xe7\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\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\"\x04\x08\x02\x10\x02\x42/Z-gimletlabs.ai/gimlet/src/api/corepb/v1;corepbb\x06proto3')
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\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\"\x95\x01\n\x11TextStreamControl\x12\x16\n\x06prompt\x18\x01 \x01(\tR\x06prompt\x12\x34\n\x07\x63onv_id\x18\x02 \x01(\x0b\x32\x0f.gml.types.UUIDB\n\xe2\xde\x1f\x06\x43onvIDR\x06\x63onvId\x12\x32\n\x15max_completion_tokens\x18\x03 \x01(\x03R\x13maxCompletionTokens\"\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\"\xc9\x02\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\x12M\n\x0c\x61\x63\x63\x65lerators\x18\x04 \x03(\x0b\x32).gml.internal.api.core.v1.AcceleratorInfoR\x0c\x61\x63\x63\x65lerators\"\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*\xe7\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\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\"\x04\x08\x02\x10\x02*\xe7\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\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\"\x04\x08\x02\x10\x02\x42/Z-gimletlabs.ai/gimlet/src/api/corepb/v1;corepbb\x06proto3')
26
26
 
27
27
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
28
28
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'src.api.corepb.v1.cp_edge_pb2', globals())
@@ -46,6 +46,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
46
46
  _DELETEEXECUTIONGRAPH.fields_by_name['physical_pipeline_id']._serialized_options = b'\342\336\037\022PhysicalPipelineID'
47
47
  _EXECUTIONGRAPHSTATUSUPDATE.fields_by_name['physical_pipeline_id']._options = None
48
48
  _EXECUTIONGRAPHSTATUSUPDATE.fields_by_name['physical_pipeline_id']._serialized_options = b'\342\336\037\022PhysicalPipelineID'
49
+ _TEXTSTREAMCONTROL.fields_by_name['conv_id']._options = None
50
+ _TEXTSTREAMCONTROL.fields_by_name['conv_id']._serialized_options = b'\342\336\037\006ConvID'
49
51
  _EDGECPMEDIASTREAMMESSAGE.fields_by_name['stream_id']._options = None
50
52
  _EDGECPMEDIASTREAMMESSAGE.fields_by_name['stream_id']._serialized_options = b'\342\336\037\010StreamID'
51
53
  _CPEDGEMEDIASTREAMMESSAGE.fields_by_name['stream_id']._options = None
@@ -58,12 +60,12 @@ if _descriptor._USE_C_DESCRIPTORS == False:
58
60
  _EDGECPMETADATA.fields_by_name['device_id']._serialized_options = b'\342\336\037\010DeviceID'
59
61
  _CPEDGEMETADATA.fields_by_name['device_id']._options = None
60
62
  _CPEDGEMETADATA.fields_by_name['device_id']._serialized_options = b'\342\336\037\010DeviceID'
61
- _EXECUTIONGRAPHSTATE._serialized_start=4009
62
- _EXECUTIONGRAPHSTATE._serialized_end=4327
63
- _EDGECPTOPIC._serialized_start=4330
64
- _EDGECPTOPIC._serialized_end=4561
65
- _CPEDGETOPIC._serialized_start=4564
66
- _CPEDGETOPIC._serialized_end=4795
63
+ _EXECUTIONGRAPHSTATE._serialized_start=4195
64
+ _EXECUTIONGRAPHSTATE._serialized_end=4513
65
+ _EDGECPTOPIC._serialized_start=4516
66
+ _EDGECPTOPIC._serialized_end=4747
67
+ _CPEDGETOPIC._serialized_start=4750
68
+ _CPEDGETOPIC._serialized_end=4981
67
69
  _EDGEHEARTBEAT._serialized_start=362
68
70
  _EDGEHEARTBEAT._serialized_end=411
69
71
  _EDGEHEARTBEATACK._serialized_start=413
@@ -94,32 +96,32 @@ if _descriptor._USE_C_DESCRIPTORS == False:
94
96
  _MEDIASTREAMKEEPALIVE._serialized_end=1876
95
97
  _MEDIASTREAMCONTROL._serialized_start=1878
96
98
  _MEDIASTREAMCONTROL._serialized_end=1991
97
- _TEXTSTREAMCONTROL._serialized_start=1993
98
- _TEXTSTREAMCONTROL._serialized_end=2036
99
- _EDGECPMEDIASTREAMMESSAGE._serialized_start=2038
100
- _EDGECPMEDIASTREAMMESSAGE._serialized_end=2165
101
- _CPEDGEMEDIASTREAMMESSAGE._serialized_start=2167
102
- _CPEDGEMEDIASTREAMMESSAGE._serialized_end=2294
103
- _EDGEOTELMETRICS._serialized_start=2296
104
- _EDGEOTELMETRICS._serialized_end=2405
105
- _FILETRANSFERREQUEST._serialized_start=2408
106
- _FILETRANSFERREQUEST._serialized_end=2556
107
- _FILETRANSFERRESPONSE._serialized_start=2559
108
- _FILETRANSFERRESPONSE._serialized_end=2830
109
- _FILETRANSFERRESPONSE_FILECHUNK._serialized_start=2760
110
- _FILETRANSFERRESPONSE_FILECHUNK._serialized_end=2830
111
- _DEVICECAPABILITIES._serialized_start=2833
112
- _DEVICECAPABILITIES._serialized_end=3083
113
- _DEVICECONFIGSTATEUPDATE._serialized_start=3086
114
- _DEVICECONFIGSTATEUPDATE._serialized_end=3223
115
- _DEVICEBASECONFIGUPDATE._serialized_start=3225
116
- _DEVICEBASECONFIGUPDATE._serialized_end=3336
117
- _EDGECPMETADATA._serialized_start=3339
118
- _EDGECPMETADATA._serialized_end=3543
119
- _EDGECPMESSAGE._serialized_start=3545
120
- _EDGECPMESSAGE._serialized_end=3671
121
- _CPEDGEMETADATA._serialized_start=3674
122
- _CPEDGEMETADATA._serialized_end=3878
123
- _CPEDGEMESSAGE._serialized_start=3880
124
- _CPEDGEMESSAGE._serialized_end=4006
99
+ _TEXTSTREAMCONTROL._serialized_start=1994
100
+ _TEXTSTREAMCONTROL._serialized_end=2143
101
+ _EDGECPMEDIASTREAMMESSAGE._serialized_start=2145
102
+ _EDGECPMEDIASTREAMMESSAGE._serialized_end=2272
103
+ _CPEDGEMEDIASTREAMMESSAGE._serialized_start=2274
104
+ _CPEDGEMEDIASTREAMMESSAGE._serialized_end=2401
105
+ _EDGEOTELMETRICS._serialized_start=2403
106
+ _EDGEOTELMETRICS._serialized_end=2512
107
+ _FILETRANSFERREQUEST._serialized_start=2515
108
+ _FILETRANSFERREQUEST._serialized_end=2663
109
+ _FILETRANSFERRESPONSE._serialized_start=2666
110
+ _FILETRANSFERRESPONSE._serialized_end=2937
111
+ _FILETRANSFERRESPONSE_FILECHUNK._serialized_start=2867
112
+ _FILETRANSFERRESPONSE_FILECHUNK._serialized_end=2937
113
+ _DEVICECAPABILITIES._serialized_start=2940
114
+ _DEVICECAPABILITIES._serialized_end=3269
115
+ _DEVICECONFIGSTATEUPDATE._serialized_start=3272
116
+ _DEVICECONFIGSTATEUPDATE._serialized_end=3409
117
+ _DEVICEBASECONFIGUPDATE._serialized_start=3411
118
+ _DEVICEBASECONFIGUPDATE._serialized_end=3522
119
+ _EDGECPMETADATA._serialized_start=3525
120
+ _EDGECPMETADATA._serialized_end=3729
121
+ _EDGECPMESSAGE._serialized_start=3731
122
+ _EDGECPMESSAGE._serialized_end=3857
123
+ _CPEDGEMETADATA._serialized_start=3860
124
+ _CPEDGEMETADATA._serialized_end=4064
125
+ _CPEDGEMESSAGE._serialized_start=4066
126
+ _CPEDGEMESSAGE._serialized_end=4192
125
127
  # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,37 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: src/api/corepb/v1/deployed_pipeline.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.api.corepb.v1 import compiled_pipeline_pb2 as src_dot_api_dot_corepb_dot_v1_dot_compiled__pipeline__pb2
16
+ from gml.proto.src.common.typespb import uuid_pb2 as src_dot_common_dot_typespb_dot_uuid__pb2
17
+
18
+
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)src/api/corepb/v1/deployed_pipeline.proto\x12\x18gml.internal.api.core.v1\x1a\x14gogoproto/gogo.proto\x1a)src/api/corepb/v1/compiled_pipeline.proto\x1a\x1dsrc/common/typespb/uuid.proto\"\xfd\x01\n\x18\x44\x65ployedPipelineFragment\x12\'\n\x02id\x18\x01 \x01(\x0b\x32\x0f.gml.types.UUIDB\x06\xe2\xde\x1f\x02IDR\x02id\x12\x66\n\rcompiled_spec\x18\x02 \x01(\x0b\x32\x41.gml.internal.api.core.v1.PipelineFragmentConfigurationOptionSpecR\x0c\x63ompiledSpec\x12P\n\x0b\x63omm_groups\x18\x03 \x03(\x0b\x32/.gml.internal.api.core.v1.DeployedCommGroupSpecR\ncommGroups\"\xd3\x01\n\x15\x44\x65ployedCommGroupSpec\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12N\n\x0ctopology_key\x18\x02 \x01(\x0e\x32+.gml.internal.api.core.v1.FabricTopologyKeyR\x0btopologyKey\x12V\n\x0b\x61ll_members\x18\x03 \x03(\x0b\x32\x35.gml.internal.api.core.v1.DeployedCommGroupMemberSpecR\nallMembers\"\x8c\x01\n\x1b\x44\x65ployedCommGroupMemberSpec\x12Y\n\x14\x64\x65ployed_fragment_id\x18\x01 \x01(\x0b\x32\x0f.gml.types.UUIDB\x16\xe2\xde\x1f\x12\x44\x65ployedFragmentIDR\x12\x64\x65ployedFragmentId\x12\x12\n\x04rank\x18\x02 \x01(\x03R\x04rankB/Z-gimletlabs.ai/gimlet/src/api/corepb/v1;corepbb\x06proto3')
20
+
21
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
22
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'src.api.corepb.v1.deployed_pipeline_pb2', globals())
23
+ if _descriptor._USE_C_DESCRIPTORS == False:
24
+
25
+ DESCRIPTOR._options = None
26
+ DESCRIPTOR._serialized_options = b'Z-gimletlabs.ai/gimlet/src/api/corepb/v1;corepb'
27
+ _DEPLOYEDPIPELINEFRAGMENT.fields_by_name['id']._options = None
28
+ _DEPLOYEDPIPELINEFRAGMENT.fields_by_name['id']._serialized_options = b'\342\336\037\002ID'
29
+ _DEPLOYEDCOMMGROUPMEMBERSPEC.fields_by_name['deployed_fragment_id']._options = None
30
+ _DEPLOYEDCOMMGROUPMEMBERSPEC.fields_by_name['deployed_fragment_id']._serialized_options = b'\342\336\037\022DeployedFragmentID'
31
+ _DEPLOYEDPIPELINEFRAGMENT._serialized_start=168
32
+ _DEPLOYEDPIPELINEFRAGMENT._serialized_end=421
33
+ _DEPLOYEDCOMMGROUPSPEC._serialized_start=424
34
+ _DEPLOYEDCOMMGROUPSPEC._serialized_end=635
35
+ _DEPLOYEDCOMMGROUPMEMBERSPEC._serialized_start=638
36
+ _DEPLOYEDCOMMGROUPMEMBERSPEC._serialized_end=778
37
+ # @@protoc_insertion_point(module_scope)