photon_protocol/codec/protobuf/
types.rs1pub mod ingest {
2 pub mod v1 {
3 tonic::include_proto!("photon.ingest.v1");
4 }
5}
6
7pub mod query {
8 pub mod v1 {
9 tonic::include_proto!("photon.query.v1");
10 }
11}
12
13pub use ingest::v1::{
14 AckStatus as ProtoAckStatus, MetricBatchAck, MetricBatchContent, MetricBatchRequest,
15 MetricPointCompact, WatermarkRequest, WatermarkResponse,
16 ingest_service_client::IngestServiceClient,
17 ingest_service_server::{IngestService, IngestServiceServer},
18};
19
20pub use query::v1::{
21 AggregatedData as ProtoAggregatedData, DataPoint as ProtoDataPoint,
22 MetricQuery as ProtoMetricQuery, MetricSeries as ProtoMetricSeries,
23 QueryRequest as ProtoQueryRequest, QueryResponse as ProtoQueryResponse,
24 RangePoint as ProtoRangePoint, RawData as ProtoRawData, metric_series::Data as ProtoSeriesData,
25};