nominal-api-protos 0.546.0__tar.gz

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.
@@ -0,0 +1,7 @@
1
+ Metadata-Version: 2.2
2
+ Name: nominal-api-protos
3
+ Version: 0.546.0
4
+ Requires-Python: >=3.8
5
+ Requires-Dist: protobuf>=5.25.0
6
+ Dynamic: requires-dist
7
+ Dynamic: requires-python
@@ -0,0 +1,45 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: nominal_write.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 google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
15
+
16
+
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13nominal_write.proto\x12\x1aio.nominal.scout.api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"I\n\x13WriteRequestNominal\x12\x32\n\x06series\x18\x01 \x03(\x0b\x32\".io.nominal.scout.api.proto.Series\"\xdb\x01\n\x06Series\x12\x34\n\x07\x63hannel\x18\x01 \x01(\x0b\x32#.io.nominal.scout.api.proto.Channel\x12:\n\x04tags\x18\x02 \x03(\x0b\x32,.io.nominal.scout.api.proto.Series.TagsEntry\x12\x32\n\x06points\x18\x03 \x01(\x0b\x32\".io.nominal.scout.api.proto.Points\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x17\n\x07\x43hannel\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x9d\x01\n\x06Points\x12\x41\n\rdouble_points\x18\x01 \x01(\x0b\x32(.io.nominal.scout.api.proto.DoublePointsH\x00\x12\x41\n\rstring_points\x18\x02 \x01(\x0b\x32(.io.nominal.scout.api.proto.StringPointsH\x00\x42\r\n\x0bpoints_type\"G\n\x0c\x44oublePoints\x12\x37\n\x06points\x18\x01 \x03(\x0b\x32\'.io.nominal.scout.api.proto.DoublePoint\"G\n\x0cStringPoints\x12\x37\n\x06points\x18\x01 \x03(\x0b\x32\'.io.nominal.scout.api.proto.StringPoint\"K\n\x0b\x44oublePoint\x12-\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\r\n\x05value\x18\x02 \x01(\x01\"K\n\x0bStringPoint\x12-\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\r\n\x05value\x18\x02 \x01(\tB\x1e\n\x1aio.nominal.scout.api.protoP\x01\x62\x06proto3')
18
+
19
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
20
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nominal_write_pb2', globals())
21
+ if _descriptor._USE_C_DESCRIPTORS == False:
22
+
23
+ DESCRIPTOR._options = None
24
+ DESCRIPTOR._serialized_options = b'\n\032io.nominal.scout.api.protoP\001'
25
+ _SERIES_TAGSENTRY._options = None
26
+ _SERIES_TAGSENTRY._serialized_options = b'8\001'
27
+ _WRITEREQUESTNOMINAL._serialized_start=84
28
+ _WRITEREQUESTNOMINAL._serialized_end=157
29
+ _SERIES._serialized_start=160
30
+ _SERIES._serialized_end=379
31
+ _SERIES_TAGSENTRY._serialized_start=336
32
+ _SERIES_TAGSENTRY._serialized_end=379
33
+ _CHANNEL._serialized_start=381
34
+ _CHANNEL._serialized_end=404
35
+ _POINTS._serialized_start=407
36
+ _POINTS._serialized_end=564
37
+ _DOUBLEPOINTS._serialized_start=566
38
+ _DOUBLEPOINTS._serialized_end=637
39
+ _STRINGPOINTS._serialized_start=639
40
+ _STRINGPOINTS._serialized_end=710
41
+ _DOUBLEPOINT._serialized_start=712
42
+ _DOUBLEPOINT._serialized_end=787
43
+ _STRINGPOINT._serialized_start=789
44
+ _STRINGPOINT._serialized_end=864
45
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,72 @@
1
+ from google.protobuf import timestamp_pb2 as _timestamp_pb2
2
+ from google.protobuf.internal import containers as _containers
3
+ from google.protobuf import descriptor as _descriptor
4
+ from google.protobuf import message as _message
5
+ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
6
+
7
+ DESCRIPTOR: _descriptor.FileDescriptor
8
+
9
+ class Channel(_message.Message):
10
+ __slots__ = ["name"]
11
+ NAME_FIELD_NUMBER: _ClassVar[int]
12
+ name: str
13
+ def __init__(self, name: _Optional[str] = ...) -> None: ...
14
+
15
+ class DoublePoint(_message.Message):
16
+ __slots__ = ["timestamp", "value"]
17
+ TIMESTAMP_FIELD_NUMBER: _ClassVar[int]
18
+ VALUE_FIELD_NUMBER: _ClassVar[int]
19
+ timestamp: _timestamp_pb2.Timestamp
20
+ value: float
21
+ def __init__(self, timestamp: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., value: _Optional[float] = ...) -> None: ...
22
+
23
+ class DoublePoints(_message.Message):
24
+ __slots__ = ["points"]
25
+ POINTS_FIELD_NUMBER: _ClassVar[int]
26
+ points: _containers.RepeatedCompositeFieldContainer[DoublePoint]
27
+ def __init__(self, points: _Optional[_Iterable[_Union[DoublePoint, _Mapping]]] = ...) -> None: ...
28
+
29
+ class Points(_message.Message):
30
+ __slots__ = ["double_points", "string_points"]
31
+ DOUBLE_POINTS_FIELD_NUMBER: _ClassVar[int]
32
+ STRING_POINTS_FIELD_NUMBER: _ClassVar[int]
33
+ double_points: DoublePoints
34
+ string_points: StringPoints
35
+ def __init__(self, double_points: _Optional[_Union[DoublePoints, _Mapping]] = ..., string_points: _Optional[_Union[StringPoints, _Mapping]] = ...) -> None: ...
36
+
37
+ class Series(_message.Message):
38
+ __slots__ = ["channel", "points", "tags"]
39
+ class TagsEntry(_message.Message):
40
+ __slots__ = ["key", "value"]
41
+ KEY_FIELD_NUMBER: _ClassVar[int]
42
+ VALUE_FIELD_NUMBER: _ClassVar[int]
43
+ key: str
44
+ value: str
45
+ def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
46
+ CHANNEL_FIELD_NUMBER: _ClassVar[int]
47
+ POINTS_FIELD_NUMBER: _ClassVar[int]
48
+ TAGS_FIELD_NUMBER: _ClassVar[int]
49
+ channel: Channel
50
+ points: Points
51
+ tags: _containers.ScalarMap[str, str]
52
+ def __init__(self, channel: _Optional[_Union[Channel, _Mapping]] = ..., tags: _Optional[_Mapping[str, str]] = ..., points: _Optional[_Union[Points, _Mapping]] = ...) -> None: ...
53
+
54
+ class StringPoint(_message.Message):
55
+ __slots__ = ["timestamp", "value"]
56
+ TIMESTAMP_FIELD_NUMBER: _ClassVar[int]
57
+ VALUE_FIELD_NUMBER: _ClassVar[int]
58
+ timestamp: _timestamp_pb2.Timestamp
59
+ value: str
60
+ def __init__(self, timestamp: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., value: _Optional[str] = ...) -> None: ...
61
+
62
+ class StringPoints(_message.Message):
63
+ __slots__ = ["points"]
64
+ POINTS_FIELD_NUMBER: _ClassVar[int]
65
+ points: _containers.RepeatedCompositeFieldContainer[StringPoint]
66
+ def __init__(self, points: _Optional[_Iterable[_Union[StringPoint, _Mapping]]] = ...) -> None: ...
67
+
68
+ class WriteRequestNominal(_message.Message):
69
+ __slots__ = ["series"]
70
+ SERIES_FIELD_NUMBER: _ClassVar[int]
71
+ series: _containers.RepeatedCompositeFieldContainer[Series]
72
+ def __init__(self, series: _Optional[_Iterable[_Union[Series, _Mapping]]] = ...) -> None: ...
@@ -0,0 +1,32 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: prometheus_remote_write.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf.internal import builder as _builder
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import descriptor_pool as _descriptor_pool
8
+ from google.protobuf import symbol_database as _symbol_database
9
+ # @@protoc_insertion_point(imports)
10
+
11
+ _sym_db = _symbol_database.Default()
12
+
13
+
14
+
15
+
16
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dprometheus_remote_write.proto\x12\x1aio.nominal.scout.api.proto\"V\n\x0cWriteRequest\x12:\n\ntimeseries\x18\x01 \x03(\x0b\x32&.io.nominal.scout.api.proto.TimeSeriesJ\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04\"t\n\nTimeSeries\x12\x31\n\x06labels\x18\x01 \x03(\x0b\x32!.io.nominal.scout.api.proto.Label\x12\x33\n\x07samples\x18\x02 \x03(\x0b\x32\".io.nominal.scout.api.proto.Sample\"$\n\x05Label\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"*\n\x06Sample\x12\r\n\x05value\x18\x01 \x01(\x01\x12\x11\n\ttimestamp\x18\x02 \x01(\x03\x42\x1e\n\x1aio.nominal.scout.api.protoP\x01\x62\x06proto3')
17
+
18
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
19
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'prometheus_remote_write_pb2', globals())
20
+ if _descriptor._USE_C_DESCRIPTORS == False:
21
+
22
+ DESCRIPTOR._options = None
23
+ DESCRIPTOR._serialized_options = b'\n\032io.nominal.scout.api.protoP\001'
24
+ _WRITEREQUEST._serialized_start=61
25
+ _WRITEREQUEST._serialized_end=147
26
+ _TIMESERIES._serialized_start=149
27
+ _TIMESERIES._serialized_end=265
28
+ _LABEL._serialized_start=267
29
+ _LABEL._serialized_end=303
30
+ _SAMPLE._serialized_start=305
31
+ _SAMPLE._serialized_end=347
32
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,36 @@
1
+ from google.protobuf.internal import containers as _containers
2
+ from google.protobuf import descriptor as _descriptor
3
+ from google.protobuf import message as _message
4
+ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
5
+
6
+ DESCRIPTOR: _descriptor.FileDescriptor
7
+
8
+ class Label(_message.Message):
9
+ __slots__ = ["name", "value"]
10
+ NAME_FIELD_NUMBER: _ClassVar[int]
11
+ VALUE_FIELD_NUMBER: _ClassVar[int]
12
+ name: str
13
+ value: str
14
+ def __init__(self, name: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
15
+
16
+ class Sample(_message.Message):
17
+ __slots__ = ["timestamp", "value"]
18
+ TIMESTAMP_FIELD_NUMBER: _ClassVar[int]
19
+ VALUE_FIELD_NUMBER: _ClassVar[int]
20
+ timestamp: int
21
+ value: float
22
+ def __init__(self, value: _Optional[float] = ..., timestamp: _Optional[int] = ...) -> None: ...
23
+
24
+ class TimeSeries(_message.Message):
25
+ __slots__ = ["labels", "samples"]
26
+ LABELS_FIELD_NUMBER: _ClassVar[int]
27
+ SAMPLES_FIELD_NUMBER: _ClassVar[int]
28
+ labels: _containers.RepeatedCompositeFieldContainer[Label]
29
+ samples: _containers.RepeatedCompositeFieldContainer[Sample]
30
+ def __init__(self, labels: _Optional[_Iterable[_Union[Label, _Mapping]]] = ..., samples: _Optional[_Iterable[_Union[Sample, _Mapping]]] = ...) -> None: ...
31
+
32
+ class WriteRequest(_message.Message):
33
+ __slots__ = ["timeseries"]
34
+ TIMESERIES_FIELD_NUMBER: _ClassVar[int]
35
+ timeseries: _containers.RepeatedCompositeFieldContainer[TimeSeries]
36
+ def __init__(self, timeseries: _Optional[_Iterable[_Union[TimeSeries, _Mapping]]] = ...) -> None: ...
@@ -0,0 +1,7 @@
1
+ Metadata-Version: 2.2
2
+ Name: nominal-api-protos
3
+ Version: 0.546.0
4
+ Requires-Python: >=3.8
5
+ Requires-Dist: protobuf>=5.25.0
6
+ Dynamic: requires-dist
7
+ Dynamic: requires-python
@@ -0,0 +1,11 @@
1
+ setup.py
2
+ nominal_api_protos/__init__.py
3
+ nominal_api_protos/nominal_write_pb2.py
4
+ nominal_api_protos/nominal_write_pb2.pyi
5
+ nominal_api_protos/prometheus_remote_write_pb2.py
6
+ nominal_api_protos/prometheus_remote_write_pb2.pyi
7
+ nominal_api_protos.egg-info/PKG-INFO
8
+ nominal_api_protos.egg-info/SOURCES.txt
9
+ nominal_api_protos.egg-info/dependency_links.txt
10
+ nominal_api_protos.egg-info/requires.txt
11
+ nominal_api_protos.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ protobuf>=5.25.0
@@ -0,0 +1 @@
1
+ nominal_api_protos
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,16 @@
1
+ # coding=utf-8
2
+ from setuptools import (
3
+ find_packages,
4
+ setup,
5
+ )
6
+
7
+ setup(
8
+ name='nominal-api-protos',
9
+ version='0.546.0',
10
+ python_requires='>=3.8',
11
+ package_data={"": ["py.typed"]},
12
+ packages=find_packages(),
13
+ install_requires=[
14
+ 'protobuf>=5.25.0',
15
+ ],
16
+ )