2023-11-28 10:37:05 -08:00
// Copyright 2017 Prometheus Team
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.31.0
// protoc v4.25.1
2017-07-06 05:38:40 -07:00
// source: types.proto
package prompb
2019-04-04 02:55:32 -07:00
import (
2023-11-28 10:37:05 -08:00
reflect "reflect"
sync "sync"
2017-07-06 05:38:40 -07:00
2023-11-28 10:37:05 -08:00
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
2017-07-06 05:38:40 -07:00
2023-11-28 10:37:05 -08:00
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl . EnforceVersion ( 20 - protoimpl . MinVersion )
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl . EnforceVersion ( protoimpl . MaxVersion - 20 )
)
2019-01-15 06:32:05 -08:00
2020-11-19 07:23:03 -08:00
type MetricMetadata_MetricType int32
const (
MetricMetadata_UNKNOWN MetricMetadata_MetricType = 0
MetricMetadata_COUNTER MetricMetadata_MetricType = 1
MetricMetadata_GAUGE MetricMetadata_MetricType = 2
MetricMetadata_HISTOGRAM MetricMetadata_MetricType = 3
MetricMetadata_GAUGEHISTOGRAM MetricMetadata_MetricType = 4
MetricMetadata_SUMMARY MetricMetadata_MetricType = 5
MetricMetadata_INFO MetricMetadata_MetricType = 6
MetricMetadata_STATESET MetricMetadata_MetricType = 7
)
2023-11-28 10:37:05 -08:00
// Enum value maps for MetricMetadata_MetricType.
var (
MetricMetadata_MetricType_name = map [ int32 ] string {
0 : "UNKNOWN" ,
1 : "COUNTER" ,
2 : "GAUGE" ,
3 : "HISTOGRAM" ,
4 : "GAUGEHISTOGRAM" ,
5 : "SUMMARY" ,
6 : "INFO" ,
7 : "STATESET" ,
}
MetricMetadata_MetricType_value = map [ string ] int32 {
"UNKNOWN" : 0 ,
"COUNTER" : 1 ,
"GAUGE" : 2 ,
"HISTOGRAM" : 3 ,
"GAUGEHISTOGRAM" : 4 ,
"SUMMARY" : 5 ,
"INFO" : 6 ,
"STATESET" : 7 ,
}
)
2020-11-19 07:23:03 -08:00
2023-11-28 10:37:05 -08:00
func ( x MetricMetadata_MetricType ) Enum ( ) * MetricMetadata_MetricType {
p := new ( MetricMetadata_MetricType )
* p = x
return p
2020-11-19 07:23:03 -08:00
}
func ( x MetricMetadata_MetricType ) String ( ) string {
2023-11-28 10:37:05 -08:00
return protoimpl . X . EnumStringOf ( x . Descriptor ( ) , protoreflect . EnumNumber ( x ) )
2020-11-19 07:23:03 -08:00
}
2023-11-28 10:37:05 -08:00
func ( MetricMetadata_MetricType ) Descriptor ( ) protoreflect . EnumDescriptor {
return file_types_proto_enumTypes [ 0 ] . Descriptor ( )
}
func ( MetricMetadata_MetricType ) Type ( ) protoreflect . EnumType {
return & file_types_proto_enumTypes [ 0 ]
}
func ( x MetricMetadata_MetricType ) Number ( ) protoreflect . EnumNumber {
return protoreflect . EnumNumber ( x )
}
// Deprecated: Use MetricMetadata_MetricType.Descriptor instead.
2020-11-19 07:23:03 -08:00
func ( MetricMetadata_MetricType ) EnumDescriptor ( ) ( [ ] byte , [ ] int ) {
2023-11-28 10:37:05 -08:00
return file_types_proto_rawDescGZIP ( ) , [ ] int { 0 , 0 }
2020-11-19 07:23:03 -08:00
}
2022-06-15 08:20:27 -07:00
type Histogram_ResetHint int32
const (
2023-11-28 10:37:05 -08:00
Histogram_UNKNOWN Histogram_ResetHint = 0 // Need to test for a counter reset explicitly.
Histogram_YES Histogram_ResetHint = 1 // This is the 1st histogram after a counter reset.
Histogram_NO Histogram_ResetHint = 2 // There was no counter reset between this and the previous Histogram.
Histogram_GAUGE Histogram_ResetHint = 3 // This is a gauge histogram where counter resets don't happen.
2022-06-15 08:20:27 -07:00
)
2023-11-28 10:37:05 -08:00
// Enum value maps for Histogram_ResetHint.
var (
Histogram_ResetHint_name = map [ int32 ] string {
0 : "UNKNOWN" ,
1 : "YES" ,
2 : "NO" ,
3 : "GAUGE" ,
}
Histogram_ResetHint_value = map [ string ] int32 {
"UNKNOWN" : 0 ,
"YES" : 1 ,
"NO" : 2 ,
"GAUGE" : 3 ,
}
)
2022-06-15 08:20:27 -07:00
2023-11-28 10:37:05 -08:00
func ( x Histogram_ResetHint ) Enum ( ) * Histogram_ResetHint {
p := new ( Histogram_ResetHint )
* p = x
return p
2022-06-15 08:20:27 -07:00
}
func ( x Histogram_ResetHint ) String ( ) string {
2023-11-28 10:37:05 -08:00
return protoimpl . X . EnumStringOf ( x . Descriptor ( ) , protoreflect . EnumNumber ( x ) )
}
func ( Histogram_ResetHint ) Descriptor ( ) protoreflect . EnumDescriptor {
return file_types_proto_enumTypes [ 1 ] . Descriptor ( )
}
func ( Histogram_ResetHint ) Type ( ) protoreflect . EnumType {
return & file_types_proto_enumTypes [ 1 ]
}
func ( x Histogram_ResetHint ) Number ( ) protoreflect . EnumNumber {
return protoreflect . EnumNumber ( x )
2022-06-15 08:20:27 -07:00
}
2023-11-28 10:37:05 -08:00
// Deprecated: Use Histogram_ResetHint.Descriptor instead.
2022-06-15 08:20:27 -07:00
func ( Histogram_ResetHint ) EnumDescriptor ( ) ( [ ] byte , [ ] int ) {
2023-11-28 10:37:05 -08:00
return file_types_proto_rawDescGZIP ( ) , [ ] int { 3 , 0 }
2022-06-15 08:20:27 -07:00
}
2017-07-06 05:38:40 -07:00
type LabelMatcher_Type int32
const (
LabelMatcher_EQ LabelMatcher_Type = 0
LabelMatcher_NEQ LabelMatcher_Type = 1
LabelMatcher_RE LabelMatcher_Type = 2
LabelMatcher_NRE LabelMatcher_Type = 3
)
2023-11-28 10:37:05 -08:00
// Enum value maps for LabelMatcher_Type.
var (
LabelMatcher_Type_name = map [ int32 ] string {
0 : "EQ" ,
1 : "NEQ" ,
2 : "RE" ,
3 : "NRE" ,
}
LabelMatcher_Type_value = map [ string ] int32 {
"EQ" : 0 ,
"NEQ" : 1 ,
"RE" : 2 ,
"NRE" : 3 ,
}
)
2019-04-04 02:55:32 -07:00
2023-11-28 10:37:05 -08:00
func ( x LabelMatcher_Type ) Enum ( ) * LabelMatcher_Type {
p := new ( LabelMatcher_Type )
* p = x
return p
2017-07-06 05:38:40 -07:00
}
func ( x LabelMatcher_Type ) String ( ) string {
2023-11-28 10:37:05 -08:00
return protoimpl . X . EnumStringOf ( x . Descriptor ( ) , protoreflect . EnumNumber ( x ) )
}
func ( LabelMatcher_Type ) Descriptor ( ) protoreflect . EnumDescriptor {
return file_types_proto_enumTypes [ 2 ] . Descriptor ( )
}
func ( LabelMatcher_Type ) Type ( ) protoreflect . EnumType {
return & file_types_proto_enumTypes [ 2 ]
2017-07-06 05:38:40 -07:00
}
2019-04-04 02:55:32 -07:00
2023-11-28 10:37:05 -08:00
func ( x LabelMatcher_Type ) Number ( ) protoreflect . EnumNumber {
return protoreflect . EnumNumber ( x )
}
// Deprecated: Use LabelMatcher_Type.Descriptor instead.
2019-01-15 06:32:05 -08:00
func ( LabelMatcher_Type ) EnumDescriptor ( ) ( [ ] byte , [ ] int ) {
2023-11-28 10:37:05 -08:00
return file_types_proto_rawDescGZIP ( ) , [ ] int { 8 , 0 }
2019-01-15 06:32:05 -08:00
}
2017-07-06 05:38:40 -07:00
2019-08-19 13:16:10 -07:00
// We require this to match chunkenc.Encoding.
type Chunk_Encoding int32
const (
2023-03-07 12:21:55 -08:00
Chunk_UNKNOWN Chunk_Encoding = 0
Chunk_XOR Chunk_Encoding = 1
Chunk_HISTOGRAM Chunk_Encoding = 2
Chunk_FLOAT_HISTOGRAM Chunk_Encoding = 3
2019-08-19 13:16:10 -07:00
)
2023-11-28 10:37:05 -08:00
// Enum value maps for Chunk_Encoding.
var (
Chunk_Encoding_name = map [ int32 ] string {
0 : "UNKNOWN" ,
1 : "XOR" ,
2 : "HISTOGRAM" ,
3 : "FLOAT_HISTOGRAM" ,
}
Chunk_Encoding_value = map [ string ] int32 {
"UNKNOWN" : 0 ,
"XOR" : 1 ,
"HISTOGRAM" : 2 ,
"FLOAT_HISTOGRAM" : 3 ,
}
)
2019-08-19 13:16:10 -07:00
2023-11-28 10:37:05 -08:00
func ( x Chunk_Encoding ) Enum ( ) * Chunk_Encoding {
p := new ( Chunk_Encoding )
* p = x
return p
2019-08-19 13:16:10 -07:00
}
func ( x Chunk_Encoding ) String ( ) string {
2023-11-28 10:37:05 -08:00
return protoimpl . X . EnumStringOf ( x . Descriptor ( ) , protoreflect . EnumNumber ( x ) )
}
func ( Chunk_Encoding ) Descriptor ( ) protoreflect . EnumDescriptor {
return file_types_proto_enumTypes [ 3 ] . Descriptor ( )
2019-08-19 13:16:10 -07:00
}
2023-11-28 10:37:05 -08:00
func ( Chunk_Encoding ) Type ( ) protoreflect . EnumType {
return & file_types_proto_enumTypes [ 3 ]
}
func ( x Chunk_Encoding ) Number ( ) protoreflect . EnumNumber {
return protoreflect . EnumNumber ( x )
}
// Deprecated: Use Chunk_Encoding.Descriptor instead.
2019-08-19 13:16:10 -07:00
func ( Chunk_Encoding ) EnumDescriptor ( ) ( [ ] byte , [ ] int ) {
2023-11-28 10:37:05 -08:00
return file_types_proto_rawDescGZIP ( ) , [ ] int { 10 , 0 }
2020-11-19 07:23:03 -08:00
}
type MetricMetadata struct {
2023-11-28 10:37:05 -08:00
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2020-11-19 07:23:03 -08:00
// Represents the metric type, these match the set from Prometheus.
2022-04-15 02:12:43 -07:00
// Refer to model/textparse/interface.go for details.
2023-11-28 10:37:05 -08:00
Type MetricMetadata_MetricType ` protobuf:"varint,1,opt,name=type,proto3,enum=prometheus.MetricMetadata_MetricType" json:"type,omitempty" `
MetricFamilyName string ` protobuf:"bytes,2,opt,name=metric_family_name,json=metricFamilyName,proto3" json:"metric_family_name,omitempty" `
Help string ` protobuf:"bytes,4,opt,name=help,proto3" json:"help,omitempty" `
Unit string ` protobuf:"bytes,5,opt,name=unit,proto3" json:"unit,omitempty" `
2020-11-19 07:23:03 -08:00
}
2023-11-28 10:37:05 -08:00
func ( x * MetricMetadata ) Reset ( ) {
* x = MetricMetadata { }
if protoimpl . UnsafeEnabled {
mi := & file_types_proto_msgTypes [ 0 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
2020-11-19 07:23:03 -08:00
}
2023-11-28 10:37:05 -08:00
func ( x * MetricMetadata ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
2020-11-19 07:23:03 -08:00
}
2023-11-28 10:37:05 -08:00
func ( * MetricMetadata ) ProtoMessage ( ) { }
func ( x * MetricMetadata ) ProtoReflect ( ) protoreflect . Message {
mi := & file_types_proto_msgTypes [ 0 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
2020-11-19 07:23:03 -08:00
}
2023-11-28 10:37:05 -08:00
// Deprecated: Use MetricMetadata.ProtoReflect.Descriptor instead.
func ( * MetricMetadata ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_types_proto_rawDescGZIP ( ) , [ ] int { 0 }
}
2020-11-19 07:23:03 -08:00
2023-11-28 10:37:05 -08:00
func ( x * MetricMetadata ) GetType ( ) MetricMetadata_MetricType {
if x != nil {
return x . Type
2020-11-19 07:23:03 -08:00
}
return MetricMetadata_UNKNOWN
}
2023-11-28 10:37:05 -08:00
func ( x * MetricMetadata ) GetMetricFamilyName ( ) string {
if x != nil {
return x . MetricFamilyName
2020-11-19 07:23:03 -08:00
}
return ""
}
2023-11-28 10:37:05 -08:00
func ( x * MetricMetadata ) GetHelp ( ) string {
if x != nil {
return x . Help
2020-11-19 07:23:03 -08:00
}
return ""
}
2023-11-28 10:37:05 -08:00
func ( x * MetricMetadata ) GetUnit ( ) string {
if x != nil {
return x . Unit
2020-11-19 07:23:03 -08:00
}
return ""
2019-08-19 13:16:10 -07:00
}
2017-07-06 05:38:40 -07:00
type Sample struct {
2023-11-28 10:37:05 -08:00
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2021-05-06 13:53:52 -07:00
Value float64 ` protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty" `
2022-04-15 02:12:43 -07:00
// timestamp is in ms format, see model/timestamp/timestamp.go for
2021-05-06 13:53:52 -07:00
// conversion from time.Time to Prometheus timestamp.
2023-11-28 10:37:05 -08:00
Timestamp int64 ` protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty" `
2017-07-06 05:38:40 -07:00
}
2023-11-28 10:37:05 -08:00
func ( x * Sample ) Reset ( ) {
* x = Sample { }
if protoimpl . UnsafeEnabled {
mi := & file_types_proto_msgTypes [ 1 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
2019-01-15 06:32:05 -08:00
}
}
2023-11-28 10:37:05 -08:00
func ( x * Sample ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
2019-01-15 06:32:05 -08:00
}
2023-11-28 10:37:05 -08:00
func ( * Sample ) ProtoMessage ( ) { }
func ( x * Sample ) ProtoReflect ( ) protoreflect . Message {
mi := & file_types_proto_msgTypes [ 1 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
2019-01-15 06:32:05 -08:00
}
2023-11-28 10:37:05 -08:00
// Deprecated: Use Sample.ProtoReflect.Descriptor instead.
func ( * Sample ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_types_proto_rawDescGZIP ( ) , [ ] int { 1 }
}
2017-07-06 05:38:40 -07:00
2023-11-28 10:37:05 -08:00
func ( x * Sample ) GetValue ( ) float64 {
if x != nil {
return x . Value
2017-07-06 05:38:40 -07:00
}
return 0
}
2023-11-28 10:37:05 -08:00
func ( x * Sample ) GetTimestamp ( ) int64 {
if x != nil {
return x . Timestamp
2017-07-06 05:38:40 -07:00
}
return 0
}
2021-05-06 13:53:52 -07:00
type Exemplar struct {
2023-11-28 10:37:05 -08:00
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2021-05-06 13:53:52 -07:00
// Optional, can be empty.
2023-11-28 10:37:05 -08:00
Labels [ ] * Label ` protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty" `
Value float64 ` protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty" `
2022-04-15 02:12:43 -07:00
// timestamp is in ms format, see model/timestamp/timestamp.go for
2021-05-06 13:53:52 -07:00
// conversion from time.Time to Prometheus timestamp.
2023-11-28 10:37:05 -08:00
Timestamp int64 ` protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty" `
2017-07-06 05:38:40 -07:00
}
2023-11-28 10:37:05 -08:00
func ( x * Exemplar ) Reset ( ) {
* x = Exemplar { }
if protoimpl . UnsafeEnabled {
mi := & file_types_proto_msgTypes [ 2 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
2021-05-06 13:53:52 -07:00
}
}
2023-11-28 10:37:05 -08:00
func ( x * Exemplar ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
2021-05-06 13:53:52 -07:00
}
2023-11-28 10:37:05 -08:00
func ( * Exemplar ) ProtoMessage ( ) { }
func ( x * Exemplar ) ProtoReflect ( ) protoreflect . Message {
mi := & file_types_proto_msgTypes [ 2 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
2021-05-06 13:53:52 -07:00
}
2023-11-28 10:37:05 -08:00
// Deprecated: Use Exemplar.ProtoReflect.Descriptor instead.
func ( * Exemplar ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_types_proto_rawDescGZIP ( ) , [ ] int { 2 }
}
2021-05-06 13:53:52 -07:00
2023-11-28 10:37:05 -08:00
func ( x * Exemplar ) GetLabels ( ) [ ] * Label {
if x != nil {
return x . Labels
2021-05-06 13:53:52 -07:00
}
return nil
}
2023-11-28 10:37:05 -08:00
func ( x * Exemplar ) GetValue ( ) float64 {
if x != nil {
return x . Value
2021-05-06 13:53:52 -07:00
}
return 0
}
2023-11-28 10:37:05 -08:00
func ( x * Exemplar ) GetTimestamp ( ) int64 {
if x != nil {
return x . Timestamp
2021-05-06 13:53:52 -07:00
}
return 0
}
2022-06-15 08:20:27 -07:00
// A native histogram, also known as a sparse histogram.
// Original design doc:
// https://docs.google.com/document/d/1cLNv3aufPZb3fNfaJgdaRBZsInZKKIHo9E6HinJVbpM/edit
// The appendix of this design doc also explains the concept of float
// histograms. This Histogram message can represent both, the usual
// integer histogram as well as a float histogram.
type Histogram struct {
2023-11-28 10:37:05 -08:00
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
// Types that are assignable to Count:
2022-10-11 10:23:51 -07:00
//
2022-06-15 08:20:27 -07:00
// *Histogram_CountInt
// *Histogram_CountFloat
Count isHistogram_Count ` protobuf_oneof:"count" `
2023-11-28 10:37:05 -08:00
Sum float64 ` protobuf:"fixed64,3,opt,name=sum,proto3" json:"sum,omitempty" ` // Sum of observations in the histogram.
2022-06-15 08:20:27 -07:00
// The schema defines the bucket schema. Currently, valid numbers
// are -4 <= n <= 8. They are all for base-2 bucket schemas, where 1
// is a bucket boundary in each case, and then each power of two is
// divided into 2^n logarithmic buckets. Or in other words, each
// bucket boundary is the previous boundary times 2^(2^-n). In the
// future, more bucket schemas may be added using numbers < -4 or >
// 8.
Schema int32 ` protobuf:"zigzag32,4,opt,name=schema,proto3" json:"schema,omitempty" `
2023-11-28 10:37:05 -08:00
ZeroThreshold float64 ` protobuf:"fixed64,5,opt,name=zero_threshold,json=zeroThreshold,proto3" json:"zero_threshold,omitempty" ` // Breadth of the zero bucket.
// Types that are assignable to ZeroCount:
2022-10-11 10:23:51 -07:00
//
2022-06-15 08:20:27 -07:00
// *Histogram_ZeroCountInt
// *Histogram_ZeroCountFloat
2022-07-13 04:02:45 -07:00
ZeroCount isHistogram_ZeroCount ` protobuf_oneof:"zero_count" `
// Negative Buckets.
2023-11-28 10:37:05 -08:00
NegativeSpans [ ] * BucketSpan ` protobuf:"bytes,8,rep,name=negative_spans,json=negativeSpans,proto3" json:"negative_spans,omitempty" `
2022-07-13 04:02:45 -07:00
// Use either "negative_deltas" or "negative_counts", the former for
// regular histograms with integer counts, the latter for float
// histograms.
2023-11-28 10:37:05 -08:00
NegativeDeltas [ ] int64 ` protobuf:"zigzag64,9,rep,packed,name=negative_deltas,json=negativeDeltas,proto3" json:"negative_deltas,omitempty" ` // Count delta of each bucket compared to previous one (or to zero for 1st bucket).
NegativeCounts [ ] float64 ` protobuf:"fixed64,10,rep,packed,name=negative_counts,json=negativeCounts,proto3" json:"negative_counts,omitempty" ` // Absolute count of each bucket.
2022-07-13 04:02:45 -07:00
// Positive Buckets.
2023-11-28 10:37:05 -08:00
PositiveSpans [ ] * BucketSpan ` protobuf:"bytes,11,rep,name=positive_spans,json=positiveSpans,proto3" json:"positive_spans,omitempty" `
2022-07-13 04:02:45 -07:00
// Use either "positive_deltas" or "positive_counts", the former for
// regular histograms with integer counts, the latter for float
// histograms.
2023-11-28 10:37:05 -08:00
PositiveDeltas [ ] int64 ` protobuf:"zigzag64,12,rep,packed,name=positive_deltas,json=positiveDeltas,proto3" json:"positive_deltas,omitempty" ` // Count delta of each bucket compared to previous one (or to zero for 1st bucket).
PositiveCounts [ ] float64 ` protobuf:"fixed64,13,rep,packed,name=positive_counts,json=positiveCounts,proto3" json:"positive_counts,omitempty" ` // Absolute count of each bucket.
2022-07-13 04:02:45 -07:00
ResetHint Histogram_ResetHint ` protobuf:"varint,14,opt,name=reset_hint,json=resetHint,proto3,enum=prometheus.Histogram_ResetHint" json:"reset_hint,omitempty" `
2022-06-15 08:20:27 -07:00
// timestamp is in ms format, see model/timestamp/timestamp.go for
// conversion from time.Time to Prometheus timestamp.
2023-11-28 10:37:05 -08:00
Timestamp int64 ` protobuf:"varint,15,opt,name=timestamp,proto3" json:"timestamp,omitempty" `
2022-06-15 08:20:27 -07:00
}
2023-11-28 10:37:05 -08:00
func ( x * Histogram ) Reset ( ) {
* x = Histogram { }
if protoimpl . UnsafeEnabled {
mi := & file_types_proto_msgTypes [ 3 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
2022-06-15 08:20:27 -07:00
}
}
2023-11-28 10:37:05 -08:00
func ( x * Histogram ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
2022-06-15 08:20:27 -07:00
}
2023-11-28 10:37:05 -08:00
func ( * Histogram ) ProtoMessage ( ) { }
2022-06-15 08:20:27 -07:00
2023-11-28 10:37:05 -08:00
func ( x * Histogram ) ProtoReflect ( ) protoreflect . Message {
mi := & file_types_proto_msgTypes [ 3 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
2022-06-15 08:20:27 -07:00
}
2023-11-28 10:37:05 -08:00
// Deprecated: Use Histogram.ProtoReflect.Descriptor instead.
func ( * Histogram ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_types_proto_rawDescGZIP ( ) , [ ] int { 3 }
2022-06-15 08:20:27 -07:00
}
func ( m * Histogram ) GetCount ( ) isHistogram_Count {
if m != nil {
return m . Count
}
return nil
}
2023-11-28 10:37:05 -08:00
func ( x * Histogram ) GetCountInt ( ) uint64 {
if x , ok := x . GetCount ( ) . ( * Histogram_CountInt ) ; ok {
2022-06-15 08:20:27 -07:00
return x . CountInt
}
return 0
}
2023-11-28 10:37:05 -08:00
func ( x * Histogram ) GetCountFloat ( ) float64 {
if x , ok := x . GetCount ( ) . ( * Histogram_CountFloat ) ; ok {
2022-06-15 08:20:27 -07:00
return x . CountFloat
}
return 0
}
2023-11-28 10:37:05 -08:00
func ( x * Histogram ) GetSum ( ) float64 {
if x != nil {
return x . Sum
2022-06-15 08:20:27 -07:00
}
return 0
}
2023-11-28 10:37:05 -08:00
func ( x * Histogram ) GetSchema ( ) int32 {
if x != nil {
return x . Schema
2022-06-15 08:20:27 -07:00
}
return 0
}
2023-11-28 10:37:05 -08:00
func ( x * Histogram ) GetZeroThreshold ( ) float64 {
if x != nil {
return x . ZeroThreshold
2022-06-15 08:20:27 -07:00
}
return 0
}
2023-11-28 10:37:05 -08:00
func ( m * Histogram ) GetZeroCount ( ) isHistogram_ZeroCount {
if m != nil {
return m . ZeroCount
}
return nil
}
func ( x * Histogram ) GetZeroCountInt ( ) uint64 {
if x , ok := x . GetZeroCount ( ) . ( * Histogram_ZeroCountInt ) ; ok {
2022-06-15 08:20:27 -07:00
return x . ZeroCountInt
}
return 0
}
2023-11-28 10:37:05 -08:00
func ( x * Histogram ) GetZeroCountFloat ( ) float64 {
if x , ok := x . GetZeroCount ( ) . ( * Histogram_ZeroCountFloat ) ; ok {
2022-06-15 08:20:27 -07:00
return x . ZeroCountFloat
}
return 0
}
2023-11-28 10:37:05 -08:00
func ( x * Histogram ) GetNegativeSpans ( ) [ ] * BucketSpan {
if x != nil {
return x . NegativeSpans
2022-06-15 08:20:27 -07:00
}
return nil
}
2023-11-28 10:37:05 -08:00
func ( x * Histogram ) GetNegativeDeltas ( ) [ ] int64 {
if x != nil {
return x . NegativeDeltas
2022-06-15 08:20:27 -07:00
}
return nil
}
2023-11-28 10:37:05 -08:00
func ( x * Histogram ) GetNegativeCounts ( ) [ ] float64 {
if x != nil {
return x . NegativeCounts
2022-06-15 08:20:27 -07:00
}
2022-07-13 04:02:45 -07:00
return nil
2022-06-15 08:20:27 -07:00
}
2023-11-28 10:37:05 -08:00
func ( x * Histogram ) GetPositiveSpans ( ) [ ] * BucketSpan {
if x != nil {
return x . PositiveSpans
2022-06-15 08:20:27 -07:00
}
2022-07-13 04:02:45 -07:00
return nil
2022-06-15 08:20:27 -07:00
}
2023-11-28 10:37:05 -08:00
func ( x * Histogram ) GetPositiveDeltas ( ) [ ] int64 {
if x != nil {
return x . PositiveDeltas
2022-06-15 08:20:27 -07:00
}
2022-07-13 04:02:45 -07:00
return nil
2022-06-15 08:20:27 -07:00
}
2023-11-28 10:37:05 -08:00
func ( x * Histogram ) GetPositiveCounts ( ) [ ] float64 {
if x != nil {
return x . PositiveCounts
2022-06-15 08:20:27 -07:00
}
2022-07-13 04:02:45 -07:00
return nil
2022-06-15 08:20:27 -07:00
}
2023-11-28 10:37:05 -08:00
func ( x * Histogram ) GetResetHint ( ) Histogram_ResetHint {
if x != nil {
return x . ResetHint
2022-06-15 08:20:27 -07:00
}
2022-07-13 04:02:45 -07:00
return Histogram_UNKNOWN
2022-06-15 08:20:27 -07:00
}
2023-11-28 10:37:05 -08:00
func ( x * Histogram ) GetTimestamp ( ) int64 {
if x != nil {
return x . Timestamp
2022-06-15 08:20:27 -07:00
}
2022-07-13 04:02:45 -07:00
return 0
2022-06-15 08:20:27 -07:00
}
2023-11-28 10:37:05 -08:00
type isHistogram_Count interface {
isHistogram_Count ( )
}
type Histogram_CountInt struct {
CountInt uint64 ` protobuf:"varint,1,opt,name=count_int,json=countInt,proto3,oneof" `
}
type Histogram_CountFloat struct {
CountFloat float64 ` protobuf:"fixed64,2,opt,name=count_float,json=countFloat,proto3,oneof" `
}
func ( * Histogram_CountInt ) isHistogram_Count ( ) { }
func ( * Histogram_CountFloat ) isHistogram_Count ( ) { }
type isHistogram_ZeroCount interface {
isHistogram_ZeroCount ( )
}
type Histogram_ZeroCountInt struct {
ZeroCountInt uint64 ` protobuf:"varint,6,opt,name=zero_count_int,json=zeroCountInt,proto3,oneof" `
}
type Histogram_ZeroCountFloat struct {
ZeroCountFloat float64 ` protobuf:"fixed64,7,opt,name=zero_count_float,json=zeroCountFloat,proto3,oneof" `
2022-06-15 08:20:27 -07:00
}
2023-11-28 10:37:05 -08:00
func ( * Histogram_ZeroCountInt ) isHistogram_ZeroCount ( ) { }
func ( * Histogram_ZeroCountFloat ) isHistogram_ZeroCount ( ) { }
2022-07-13 04:02:45 -07:00
// A BucketSpan defines a number of consecutive buckets with their
// offset. Logically, it would be more straightforward to include the
// bucket counts in the Span. However, the protobuf representation is
// more compact in the way the data is structured here (with all the
// buckets in a single array separate from the Spans).
type BucketSpan struct {
2023-11-28 10:37:05 -08:00
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
Offset int32 ` protobuf:"zigzag32,1,opt,name=offset,proto3" json:"offset,omitempty" ` // Gap to previous span, or starting point for 1st span (which can be negative).
Length uint32 ` protobuf:"varint,2,opt,name=length,proto3" json:"length,omitempty" ` // Length of consecutive buckets.
2022-06-15 08:20:27 -07:00
}
2023-11-28 10:37:05 -08:00
func ( x * BucketSpan ) Reset ( ) {
* x = BucketSpan { }
if protoimpl . UnsafeEnabled {
mi := & file_types_proto_msgTypes [ 4 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
2022-06-15 08:20:27 -07:00
}
}
2023-11-28 10:37:05 -08:00
func ( x * BucketSpan ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
2022-06-15 08:20:27 -07:00
}
2023-11-28 10:37:05 -08:00
func ( * BucketSpan ) ProtoMessage ( ) { }
func ( x * BucketSpan ) ProtoReflect ( ) protoreflect . Message {
mi := & file_types_proto_msgTypes [ 4 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
2022-06-15 08:20:27 -07:00
}
2023-11-28 10:37:05 -08:00
// Deprecated: Use BucketSpan.ProtoReflect.Descriptor instead.
func ( * BucketSpan ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_types_proto_rawDescGZIP ( ) , [ ] int { 4 }
}
2022-06-15 08:20:27 -07:00
2023-11-28 10:37:05 -08:00
func ( x * BucketSpan ) GetOffset ( ) int32 {
if x != nil {
return x . Offset
2022-06-15 08:20:27 -07:00
}
return 0
}
2023-11-28 10:37:05 -08:00
func ( x * BucketSpan ) GetLength ( ) uint32 {
if x != nil {
return x . Length
2022-06-15 08:20:27 -07:00
}
return 0
}
2021-05-06 13:53:52 -07:00
// TimeSeries represents samples and labels for a single time series.
type TimeSeries struct {
2023-11-28 10:37:05 -08:00
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2021-05-06 13:53:52 -07:00
// For a timeseries to be valid, and for the samples and exemplars
// to be ingested by the remote system properly, the labels field is required.
2023-11-28 10:37:05 -08:00
Labels [ ] * Label ` protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty" `
Samples [ ] * Sample ` protobuf:"bytes,2,rep,name=samples,proto3" json:"samples,omitempty" `
Exemplars [ ] * Exemplar ` protobuf:"bytes,3,rep,name=exemplars,proto3" json:"exemplars,omitempty" `
Histograms [ ] * Histogram ` protobuf:"bytes,4,rep,name=histograms,proto3" json:"histograms,omitempty" `
2019-01-15 06:32:05 -08:00
}
2023-11-28 10:37:05 -08:00
func ( x * TimeSeries ) Reset ( ) {
* x = TimeSeries { }
if protoimpl . UnsafeEnabled {
mi := & file_types_proto_msgTypes [ 5 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
2019-01-15 06:32:05 -08:00
}
2023-11-28 10:37:05 -08:00
func ( x * TimeSeries ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
2019-01-15 06:32:05 -08:00
}
2023-11-28 10:37:05 -08:00
func ( * TimeSeries ) ProtoMessage ( ) { }
func ( x * TimeSeries ) ProtoReflect ( ) protoreflect . Message {
mi := & file_types_proto_msgTypes [ 5 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
2019-01-15 06:32:05 -08:00
}
2023-11-28 10:37:05 -08:00
// Deprecated: Use TimeSeries.ProtoReflect.Descriptor instead.
func ( * TimeSeries ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_types_proto_rawDescGZIP ( ) , [ ] int { 5 }
}
2017-07-06 05:38:40 -07:00
2023-11-28 10:37:05 -08:00
func ( x * TimeSeries ) GetLabels ( ) [ ] * Label {
if x != nil {
return x . Labels
2017-07-06 05:38:40 -07:00
}
return nil
}
2023-11-28 10:37:05 -08:00
func ( x * TimeSeries ) GetSamples ( ) [ ] * Sample {
if x != nil {
return x . Samples
2017-07-06 05:38:40 -07:00
}
return nil
}
2023-11-28 10:37:05 -08:00
func ( x * TimeSeries ) GetExemplars ( ) [ ] * Exemplar {
if x != nil {
return x . Exemplars
2021-05-06 13:53:52 -07:00
}
return nil
}
2023-11-28 10:37:05 -08:00
func ( x * TimeSeries ) GetHistograms ( ) [ ] * Histogram {
if x != nil {
return x . Histograms
2022-06-15 08:20:27 -07:00
}
return nil
}
2017-07-06 05:38:40 -07:00
type Label struct {
2023-11-28 10:37:05 -08:00
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
Name string ` protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" `
Value string ` protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty" `
2019-01-15 06:32:05 -08:00
}
2023-11-28 10:37:05 -08:00
func ( x * Label ) Reset ( ) {
* x = Label { }
if protoimpl . UnsafeEnabled {
mi := & file_types_proto_msgTypes [ 6 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
2019-01-15 06:32:05 -08:00
}
}
2023-11-28 10:37:05 -08:00
func ( x * Label ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
2019-01-15 06:32:05 -08:00
}
2023-11-28 10:37:05 -08:00
func ( * Label ) ProtoMessage ( ) { }
func ( x * Label ) ProtoReflect ( ) protoreflect . Message {
mi := & file_types_proto_msgTypes [ 6 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
2017-07-06 05:38:40 -07:00
}
2023-11-28 10:37:05 -08:00
// Deprecated: Use Label.ProtoReflect.Descriptor instead.
func ( * Label ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_types_proto_rawDescGZIP ( ) , [ ] int { 6 }
}
2017-07-06 05:38:40 -07:00
2023-11-28 10:37:05 -08:00
func ( x * Label ) GetName ( ) string {
if x != nil {
return x . Name
2017-07-06 05:38:40 -07:00
}
return ""
}
2023-11-28 10:37:05 -08:00
func ( x * Label ) GetValue ( ) string {
if x != nil {
return x . Value
2017-07-06 05:38:40 -07:00
}
return ""
}
type Labels struct {
2023-11-28 10:37:05 -08:00
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
Labels [ ] * Label ` protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty" `
2019-01-15 06:32:05 -08:00
}
2023-11-28 10:37:05 -08:00
func ( x * Labels ) Reset ( ) {
* x = Labels { }
if protoimpl . UnsafeEnabled {
mi := & file_types_proto_msgTypes [ 7 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
2019-01-15 06:32:05 -08:00
}
}
2023-11-28 10:37:05 -08:00
func ( x * Labels ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
2019-01-15 06:32:05 -08:00
}
2023-11-28 10:37:05 -08:00
func ( * Labels ) ProtoMessage ( ) { }
func ( x * Labels ) ProtoReflect ( ) protoreflect . Message {
mi := & file_types_proto_msgTypes [ 7 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
2017-07-06 05:38:40 -07:00
}
2023-11-28 10:37:05 -08:00
// Deprecated: Use Labels.ProtoReflect.Descriptor instead.
func ( * Labels ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_types_proto_rawDescGZIP ( ) , [ ] int { 7 }
}
2017-07-06 05:38:40 -07:00
2023-11-28 10:37:05 -08:00
func ( x * Labels ) GetLabels ( ) [ ] * Label {
if x != nil {
return x . Labels
2017-07-06 05:38:40 -07:00
}
return nil
}
// Matcher specifies a rule, which can match or set of labels or not.
type LabelMatcher struct {
2023-11-28 10:37:05 -08:00
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
Type LabelMatcher_Type ` protobuf:"varint,1,opt,name=type,proto3,enum=prometheus.LabelMatcher_Type" json:"type,omitempty" `
Name string ` protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" `
Value string ` protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty" `
2019-01-15 06:32:05 -08:00
}
2023-11-28 10:37:05 -08:00
func ( x * LabelMatcher ) Reset ( ) {
* x = LabelMatcher { }
if protoimpl . UnsafeEnabled {
mi := & file_types_proto_msgTypes [ 8 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
2019-01-15 06:32:05 -08:00
}
}
2023-11-28 10:37:05 -08:00
func ( x * LabelMatcher ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
2019-01-15 06:32:05 -08:00
}
2023-11-28 10:37:05 -08:00
func ( * LabelMatcher ) ProtoMessage ( ) { }
func ( x * LabelMatcher ) ProtoReflect ( ) protoreflect . Message {
mi := & file_types_proto_msgTypes [ 8 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
2017-07-06 05:38:40 -07:00
}
2023-11-28 10:37:05 -08:00
// Deprecated: Use LabelMatcher.ProtoReflect.Descriptor instead.
func ( * LabelMatcher ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_types_proto_rawDescGZIP ( ) , [ ] int { 8 }
}
2017-07-06 05:38:40 -07:00
2023-11-28 10:37:05 -08:00
func ( x * LabelMatcher ) GetType ( ) LabelMatcher_Type {
if x != nil {
return x . Type
2017-07-06 05:38:40 -07:00
}
return LabelMatcher_EQ
}
2023-11-28 10:37:05 -08:00
func ( x * LabelMatcher ) GetName ( ) string {
if x != nil {
return x . Name
2017-07-06 05:38:40 -07:00
}
return ""
}
2023-11-28 10:37:05 -08:00
func ( x * LabelMatcher ) GetValue ( ) string {
if x != nil {
return x . Value
2017-07-06 05:38:40 -07:00
}
return ""
}
2018-05-08 01:48:13 -07:00
type ReadHints struct {
2023-11-28 10:37:05 -08:00
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
StepMs int64 ` protobuf:"varint,1,opt,name=step_ms,json=stepMs,proto3" json:"step_ms,omitempty" ` // Query step size in milliseconds.
Func string ` protobuf:"bytes,2,opt,name=func,proto3" json:"func,omitempty" ` // String representation of surrounding function or aggregation.
StartMs int64 ` protobuf:"varint,3,opt,name=start_ms,json=startMs,proto3" json:"start_ms,omitempty" ` // Start time in milliseconds.
EndMs int64 ` protobuf:"varint,4,opt,name=end_ms,json=endMs,proto3" json:"end_ms,omitempty" ` // End time in milliseconds.
Grouping [ ] string ` protobuf:"bytes,5,rep,name=grouping,proto3" json:"grouping,omitempty" ` // List of label names used in aggregation.
By bool ` protobuf:"varint,6,opt,name=by,proto3" json:"by,omitempty" ` // Indicate whether it is without or by.
RangeMs int64 ` protobuf:"varint,7,opt,name=range_ms,json=rangeMs,proto3" json:"range_ms,omitempty" ` // Range vector selector range in milliseconds.
2019-01-15 06:32:05 -08:00
}
2023-11-28 10:37:05 -08:00
func ( x * ReadHints ) Reset ( ) {
* x = ReadHints { }
if protoimpl . UnsafeEnabled {
mi := & file_types_proto_msgTypes [ 9 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
2019-01-15 06:32:05 -08:00
}
2023-11-28 10:37:05 -08:00
func ( x * ReadHints ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
2019-01-15 06:32:05 -08:00
}
2023-11-28 10:37:05 -08:00
func ( * ReadHints ) ProtoMessage ( ) { }
func ( x * ReadHints ) ProtoReflect ( ) protoreflect . Message {
mi := & file_types_proto_msgTypes [ 9 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
2018-05-08 01:48:13 -07:00
}
2023-11-28 10:37:05 -08:00
// Deprecated: Use ReadHints.ProtoReflect.Descriptor instead.
func ( * ReadHints ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_types_proto_rawDescGZIP ( ) , [ ] int { 9 }
}
2018-05-08 01:48:13 -07:00
2023-11-28 10:37:05 -08:00
func ( x * ReadHints ) GetStepMs ( ) int64 {
if x != nil {
return x . StepMs
2018-05-08 01:48:13 -07:00
}
return 0
}
2023-11-28 10:37:05 -08:00
func ( x * ReadHints ) GetFunc ( ) string {
if x != nil {
return x . Func
2018-05-08 01:48:13 -07:00
}
return ""
}
2023-11-28 10:37:05 -08:00
func ( x * ReadHints ) GetStartMs ( ) int64 {
if x != nil {
return x . StartMs
2018-07-17 20:58:00 -07:00
}
return 0
}
2023-11-28 10:37:05 -08:00
func ( x * ReadHints ) GetEndMs ( ) int64 {
if x != nil {
return x . EndMs
2018-07-17 20:58:00 -07:00
}
return 0
}
2023-11-28 10:37:05 -08:00
func ( x * ReadHints ) GetGrouping ( ) [ ] string {
if x != nil {
return x . Grouping
2019-12-05 06:06:28 -08:00
}
return nil
}
2023-11-28 10:37:05 -08:00
func ( x * ReadHints ) GetBy ( ) bool {
if x != nil {
return x . By
2019-12-05 06:06:28 -08:00
}
return false
}
2023-11-28 10:37:05 -08:00
func ( x * ReadHints ) GetRangeMs ( ) int64 {
if x != nil {
return x . RangeMs
2019-12-05 06:06:28 -08:00
}
return 0
}
2019-08-19 13:16:10 -07:00
// Chunk represents a TSDB chunk.
// Time range [min, max] is inclusive.
type Chunk struct {
2023-11-28 10:37:05 -08:00
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
MinTimeMs int64 ` protobuf:"varint,1,opt,name=min_time_ms,json=minTimeMs,proto3" json:"min_time_ms,omitempty" `
MaxTimeMs int64 ` protobuf:"varint,2,opt,name=max_time_ms,json=maxTimeMs,proto3" json:"max_time_ms,omitempty" `
Type Chunk_Encoding ` protobuf:"varint,3,opt,name=type,proto3,enum=prometheus.Chunk_Encoding" json:"type,omitempty" `
Data [ ] byte ` protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty" `
2017-07-06 05:38:40 -07:00
}
2023-11-28 10:37:05 -08:00
func ( x * Chunk ) Reset ( ) {
* x = Chunk { }
if protoimpl . UnsafeEnabled {
mi := & file_types_proto_msgTypes [ 10 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
2021-05-06 13:53:52 -07:00
}
}
2023-11-28 10:37:05 -08:00
func ( x * Chunk ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
2017-07-06 05:38:40 -07:00
}
2023-11-28 10:37:05 -08:00
func ( * Chunk ) ProtoMessage ( ) { }
2019-08-14 02:00:39 -07:00
2023-11-28 10:37:05 -08:00
func ( x * Chunk ) ProtoReflect ( ) protoreflect . Message {
mi := & file_types_proto_msgTypes [ 10 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
2022-06-15 08:20:27 -07:00
}
2023-11-28 10:37:05 -08:00
return ms
2022-06-15 08:20:27 -07:00
}
2023-11-28 10:37:05 -08:00
return mi . MessageOf ( x )
2022-06-15 08:20:27 -07:00
}
2023-11-28 10:37:05 -08:00
// Deprecated: Use Chunk.ProtoReflect.Descriptor instead.
func ( * Chunk ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_types_proto_rawDescGZIP ( ) , [ ] int { 10 }
2022-06-15 08:20:27 -07:00
}
2023-11-28 10:37:05 -08:00
func ( x * Chunk ) GetMinTimeMs ( ) int64 {
if x != nil {
return x . MinTimeMs
2017-07-06 05:38:40 -07:00
}
2023-11-28 10:37:05 -08:00
return 0
2019-08-14 02:00:39 -07:00
}
2023-11-28 10:37:05 -08:00
func ( x * Chunk ) GetMaxTimeMs ( ) int64 {
if x != nil {
return x . MaxTimeMs
2017-07-06 05:38:40 -07:00
}
2023-11-28 10:37:05 -08:00
return 0
2017-07-06 05:38:40 -07:00
}
2023-11-28 10:37:05 -08:00
func ( x * Chunk ) GetType ( ) Chunk_Encoding {
if x != nil {
return x . Type
2017-07-06 05:38:40 -07:00
}
2023-11-28 10:37:05 -08:00
return Chunk_UNKNOWN
2019-08-14 02:00:39 -07:00
}
2023-11-28 10:37:05 -08:00
func ( x * Chunk ) GetData ( ) [ ] byte {
if x != nil {
return x . Data
2017-07-06 05:38:40 -07:00
}
2023-11-28 10:37:05 -08:00
return nil
2017-07-06 05:38:40 -07:00
}
2023-11-28 10:37:05 -08:00
// ChunkedSeries represents single, encoded time series.
type ChunkedSeries struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2017-07-06 05:38:40 -07:00
2023-11-28 10:37:05 -08:00
// Labels should be sorted.
Labels [ ] * Label ` protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty" `
// Chunks will be in start time order and may overlap.
Chunks [ ] * Chunk ` protobuf:"bytes,2,rep,name=chunks,proto3" json:"chunks,omitempty" `
2019-08-14 02:00:39 -07:00
}
2023-11-28 10:37:05 -08:00
func ( x * ChunkedSeries ) Reset ( ) {
* x = ChunkedSeries { }
if protoimpl . UnsafeEnabled {
mi := & file_types_proto_msgTypes [ 11 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
2019-01-15 06:32:05 -08:00
}
2017-07-06 05:38:40 -07:00
}
2023-11-28 10:37:05 -08:00
func ( x * ChunkedSeries ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
2018-05-08 01:48:13 -07:00
}
2023-11-28 10:37:05 -08:00
func ( * ChunkedSeries ) ProtoMessage ( ) { }
2019-08-14 02:00:39 -07:00
2023-11-28 10:37:05 -08:00
func ( x * ChunkedSeries ) ProtoReflect ( ) protoreflect . Message {
mi := & file_types_proto_msgTypes [ 11 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
2019-12-05 06:06:28 -08:00
}
2023-11-28 10:37:05 -08:00
return ms
2019-08-19 13:16:10 -07:00
}
2023-11-28 10:37:05 -08:00
return mi . MessageOf ( x )
2019-08-19 13:16:10 -07:00
}
2023-11-28 10:37:05 -08:00
// Deprecated: Use ChunkedSeries.ProtoReflect.Descriptor instead.
func ( * ChunkedSeries ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_types_proto_rawDescGZIP ( ) , [ ] int { 11 }
2019-08-19 13:16:10 -07:00
}
2023-11-28 10:37:05 -08:00
func ( x * ChunkedSeries ) GetLabels ( ) [ ] * Label {
if x != nil {
return x . Labels
2019-08-19 13:16:10 -07:00
}
2023-11-28 10:37:05 -08:00
return nil
2019-08-19 13:16:10 -07:00
}
2023-11-28 10:37:05 -08:00
func ( x * ChunkedSeries ) GetChunks ( ) [ ] * Chunk {
if x != nil {
return x . Chunks
2020-11-19 07:23:03 -08:00
}
2023-11-28 10:37:05 -08:00
return nil
2020-11-19 07:23:03 -08:00
}
2023-11-28 10:37:05 -08:00
var File_types_proto protoreflect . FileDescriptor
var file_types_proto_rawDesc = [ ] byte {
0x0a , 0x0b , 0x74 , 0x79 , 0x70 , 0x65 , 0x73 , 0x2e , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x12 , 0x0a , 0x70 ,
0x72 , 0x6f , 0x6d , 0x65 , 0x74 , 0x68 , 0x65 , 0x75 , 0x73 , 0x22 , 0x9c , 0x02 , 0x0a , 0x0e , 0x4d , 0x65 ,
0x74 , 0x72 , 0x69 , 0x63 , 0x4d , 0x65 , 0x74 , 0x61 , 0x64 , 0x61 , 0x74 , 0x61 , 0x12 , 0x39 , 0x0a , 0x04 ,
0x74 , 0x79 , 0x70 , 0x65 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x0e , 0x32 , 0x25 , 0x2e , 0x70 , 0x72 , 0x6f ,
0x6d , 0x65 , 0x74 , 0x68 , 0x65 , 0x75 , 0x73 , 0x2e , 0x4d , 0x65 , 0x74 , 0x72 , 0x69 , 0x63 , 0x4d , 0x65 ,
0x74 , 0x61 , 0x64 , 0x61 , 0x74 , 0x61 , 0x2e , 0x4d , 0x65 , 0x74 , 0x72 , 0x69 , 0x63 , 0x54 , 0x79 , 0x70 ,
0x65 , 0x52 , 0x04 , 0x74 , 0x79 , 0x70 , 0x65 , 0x12 , 0x2c , 0x0a , 0x12 , 0x6d , 0x65 , 0x74 , 0x72 , 0x69 ,
0x63 , 0x5f , 0x66 , 0x61 , 0x6d , 0x69 , 0x6c , 0x79 , 0x5f , 0x6e , 0x61 , 0x6d , 0x65 , 0x18 , 0x02 , 0x20 ,
0x01 , 0x28 , 0x09 , 0x52 , 0x10 , 0x6d , 0x65 , 0x74 , 0x72 , 0x69 , 0x63 , 0x46 , 0x61 , 0x6d , 0x69 , 0x6c ,
0x79 , 0x4e , 0x61 , 0x6d , 0x65 , 0x12 , 0x12 , 0x0a , 0x04 , 0x68 , 0x65 , 0x6c , 0x70 , 0x18 , 0x04 , 0x20 ,
0x01 , 0x28 , 0x09 , 0x52 , 0x04 , 0x68 , 0x65 , 0x6c , 0x70 , 0x12 , 0x12 , 0x0a , 0x04 , 0x75 , 0x6e , 0x69 ,
0x74 , 0x18 , 0x05 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x04 , 0x75 , 0x6e , 0x69 , 0x74 , 0x22 , 0x79 , 0x0a ,
0x0a , 0x4d , 0x65 , 0x74 , 0x72 , 0x69 , 0x63 , 0x54 , 0x79 , 0x70 , 0x65 , 0x12 , 0x0b , 0x0a , 0x07 , 0x55 ,
0x4e , 0x4b , 0x4e , 0x4f , 0x57 , 0x4e , 0x10 , 0x00 , 0x12 , 0x0b , 0x0a , 0x07 , 0x43 , 0x4f , 0x55 , 0x4e ,
0x54 , 0x45 , 0x52 , 0x10 , 0x01 , 0x12 , 0x09 , 0x0a , 0x05 , 0x47 , 0x41 , 0x55 , 0x47 , 0x45 , 0x10 , 0x02 ,
0x12 , 0x0d , 0x0a , 0x09 , 0x48 , 0x49 , 0x53 , 0x54 , 0x4f , 0x47 , 0x52 , 0x41 , 0x4d , 0x10 , 0x03 , 0x12 ,
0x12 , 0x0a , 0x0e , 0x47 , 0x41 , 0x55 , 0x47 , 0x45 , 0x48 , 0x49 , 0x53 , 0x54 , 0x4f , 0x47 , 0x52 , 0x41 ,
0x4d , 0x10 , 0x04 , 0x12 , 0x0b , 0x0a , 0x07 , 0x53 , 0x55 , 0x4d , 0x4d , 0x41 , 0x52 , 0x59 , 0x10 , 0x05 ,
0x12 , 0x08 , 0x0a , 0x04 , 0x49 , 0x4e , 0x46 , 0x4f , 0x10 , 0x06 , 0x12 , 0x0c , 0x0a , 0x08 , 0x53 , 0x54 ,
0x41 , 0x54 , 0x45 , 0x53 , 0x45 , 0x54 , 0x10 , 0x07 , 0x22 , 0x3c , 0x0a , 0x06 , 0x53 , 0x61 , 0x6d , 0x70 ,
0x6c , 0x65 , 0x12 , 0x14 , 0x0a , 0x05 , 0x76 , 0x61 , 0x6c , 0x75 , 0x65 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 ,
0x01 , 0x52 , 0x05 , 0x76 , 0x61 , 0x6c , 0x75 , 0x65 , 0x12 , 0x1c , 0x0a , 0x09 , 0x74 , 0x69 , 0x6d , 0x65 ,
0x73 , 0x74 , 0x61 , 0x6d , 0x70 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x03 , 0x52 , 0x09 , 0x74 , 0x69 , 0x6d ,
0x65 , 0x73 , 0x74 , 0x61 , 0x6d , 0x70 , 0x22 , 0x69 , 0x0a , 0x08 , 0x45 , 0x78 , 0x65 , 0x6d , 0x70 , 0x6c ,
0x61 , 0x72 , 0x12 , 0x29 , 0x0a , 0x06 , 0x6c , 0x61 , 0x62 , 0x65 , 0x6c , 0x73 , 0x18 , 0x01 , 0x20 , 0x03 ,
0x28 , 0x0b , 0x32 , 0x11 , 0x2e , 0x70 , 0x72 , 0x6f , 0x6d , 0x65 , 0x74 , 0x68 , 0x65 , 0x75 , 0x73 , 0x2e ,
0x4c , 0x61 , 0x62 , 0x65 , 0x6c , 0x52 , 0x06 , 0x6c , 0x61 , 0x62 , 0x65 , 0x6c , 0x73 , 0x12 , 0x14 , 0x0a ,
0x05 , 0x76 , 0x61 , 0x6c , 0x75 , 0x65 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x01 , 0x52 , 0x05 , 0x76 , 0x61 ,
0x6c , 0x75 , 0x65 , 0x12 , 0x1c , 0x0a , 0x09 , 0x74 , 0x69 , 0x6d , 0x65 , 0x73 , 0x74 , 0x61 , 0x6d , 0x70 ,
0x18 , 0x03 , 0x20 , 0x01 , 0x28 , 0x03 , 0x52 , 0x09 , 0x74 , 0x69 , 0x6d , 0x65 , 0x73 , 0x74 , 0x61 , 0x6d ,
0x70 , 0x22 , 0xbf , 0x05 , 0x0a , 0x09 , 0x48 , 0x69 , 0x73 , 0x74 , 0x6f , 0x67 , 0x72 , 0x61 , 0x6d , 0x12 ,
0x1d , 0x0a , 0x09 , 0x63 , 0x6f , 0x75 , 0x6e , 0x74 , 0x5f , 0x69 , 0x6e , 0x74 , 0x18 , 0x01 , 0x20 , 0x01 ,
0x28 , 0x04 , 0x48 , 0x00 , 0x52 , 0x08 , 0x63 , 0x6f , 0x75 , 0x6e , 0x74 , 0x49 , 0x6e , 0x74 , 0x12 , 0x21 ,
0x0a , 0x0b , 0x63 , 0x6f , 0x75 , 0x6e , 0x74 , 0x5f , 0x66 , 0x6c , 0x6f , 0x61 , 0x74 , 0x18 , 0x02 , 0x20 ,
0x01 , 0x28 , 0x01 , 0x48 , 0x00 , 0x52 , 0x0a , 0x63 , 0x6f , 0x75 , 0x6e , 0x74 , 0x46 , 0x6c , 0x6f , 0x61 ,
0x74 , 0x12 , 0x10 , 0x0a , 0x03 , 0x73 , 0x75 , 0x6d , 0x18 , 0x03 , 0x20 , 0x01 , 0x28 , 0x01 , 0x52 , 0x03 ,
0x73 , 0x75 , 0x6d , 0x12 , 0x16 , 0x0a , 0x06 , 0x73 , 0x63 , 0x68 , 0x65 , 0x6d , 0x61 , 0x18 , 0x04 , 0x20 ,
0x01 , 0x28 , 0x11 , 0x52 , 0x06 , 0x73 , 0x63 , 0x68 , 0x65 , 0x6d , 0x61 , 0x12 , 0x25 , 0x0a , 0x0e , 0x7a ,
0x65 , 0x72 , 0x6f , 0x5f , 0x74 , 0x68 , 0x72 , 0x65 , 0x73 , 0x68 , 0x6f , 0x6c , 0x64 , 0x18 , 0x05 , 0x20 ,
0x01 , 0x28 , 0x01 , 0x52 , 0x0d , 0x7a , 0x65 , 0x72 , 0x6f , 0x54 , 0x68 , 0x72 , 0x65 , 0x73 , 0x68 , 0x6f ,
0x6c , 0x64 , 0x12 , 0x26 , 0x0a , 0x0e , 0x7a , 0x65 , 0x72 , 0x6f , 0x5f , 0x63 , 0x6f , 0x75 , 0x6e , 0x74 ,
0x5f , 0x69 , 0x6e , 0x74 , 0x18 , 0x06 , 0x20 , 0x01 , 0x28 , 0x04 , 0x48 , 0x01 , 0x52 , 0x0c , 0x7a , 0x65 ,
0x72 , 0x6f , 0x43 , 0x6f , 0x75 , 0x6e , 0x74 , 0x49 , 0x6e , 0x74 , 0x12 , 0x2a , 0x0a , 0x10 , 0x7a , 0x65 ,
0x72 , 0x6f , 0x5f , 0x63 , 0x6f , 0x75 , 0x6e , 0x74 , 0x5f , 0x66 , 0x6c , 0x6f , 0x61 , 0x74 , 0x18 , 0x07 ,
0x20 , 0x01 , 0x28 , 0x01 , 0x48 , 0x01 , 0x52 , 0x0e , 0x7a , 0x65 , 0x72 , 0x6f , 0x43 , 0x6f , 0x75 , 0x6e ,
0x74 , 0x46 , 0x6c , 0x6f , 0x61 , 0x74 , 0x12 , 0x3d , 0x0a , 0x0e , 0x6e , 0x65 , 0x67 , 0x61 , 0x74 , 0x69 ,
0x76 , 0x65 , 0x5f , 0x73 , 0x70 , 0x61 , 0x6e , 0x73 , 0x18 , 0x08 , 0x20 , 0x03 , 0x28 , 0x0b , 0x32 , 0x16 ,
0x2e , 0x70 , 0x72 , 0x6f , 0x6d , 0x65 , 0x74 , 0x68 , 0x65 , 0x75 , 0x73 , 0x2e , 0x42 , 0x75 , 0x63 , 0x6b ,
0x65 , 0x74 , 0x53 , 0x70 , 0x61 , 0x6e , 0x52 , 0x0d , 0x6e , 0x65 , 0x67 , 0x61 , 0x74 , 0x69 , 0x76 , 0x65 ,
0x53 , 0x70 , 0x61 , 0x6e , 0x73 , 0x12 , 0x27 , 0x0a , 0x0f , 0x6e , 0x65 , 0x67 , 0x61 , 0x74 , 0x69 , 0x76 ,
0x65 , 0x5f , 0x64 , 0x65 , 0x6c , 0x74 , 0x61 , 0x73 , 0x18 , 0x09 , 0x20 , 0x03 , 0x28 , 0x12 , 0x52 , 0x0e ,
0x6e , 0x65 , 0x67 , 0x61 , 0x74 , 0x69 , 0x76 , 0x65 , 0x44 , 0x65 , 0x6c , 0x74 , 0x61 , 0x73 , 0x12 , 0x27 ,
0x0a , 0x0f , 0x6e , 0x65 , 0x67 , 0x61 , 0x74 , 0x69 , 0x76 , 0x65 , 0x5f , 0x63 , 0x6f , 0x75 , 0x6e , 0x74 ,
0x73 , 0x18 , 0x0a , 0x20 , 0x03 , 0x28 , 0x01 , 0x52 , 0x0e , 0x6e , 0x65 , 0x67 , 0x61 , 0x74 , 0x69 , 0x76 ,
0x65 , 0x43 , 0x6f , 0x75 , 0x6e , 0x74 , 0x73 , 0x12 , 0x3d , 0x0a , 0x0e , 0x70 , 0x6f , 0x73 , 0x69 , 0x74 ,
0x69 , 0x76 , 0x65 , 0x5f , 0x73 , 0x70 , 0x61 , 0x6e , 0x73 , 0x18 , 0x0b , 0x20 , 0x03 , 0x28 , 0x0b , 0x32 ,
0x16 , 0x2e , 0x70 , 0x72 , 0x6f , 0x6d , 0x65 , 0x74 , 0x68 , 0x65 , 0x75 , 0x73 , 0x2e , 0x42 , 0x75 , 0x63 ,
0x6b , 0x65 , 0x74 , 0x53 , 0x70 , 0x61 , 0x6e , 0x52 , 0x0d , 0x70 , 0x6f , 0x73 , 0x69 , 0x74 , 0x69 , 0x76 ,
0x65 , 0x53 , 0x70 , 0x61 , 0x6e , 0x73 , 0x12 , 0x27 , 0x0a , 0x0f , 0x70 , 0x6f , 0x73 , 0x69 , 0x74 , 0x69 ,
0x76 , 0x65 , 0x5f , 0x64 , 0x65 , 0x6c , 0x74 , 0x61 , 0x73 , 0x18 , 0x0c , 0x20 , 0x03 , 0x28 , 0x12 , 0x52 ,
0x0e , 0x70 , 0x6f , 0x73 , 0x69 , 0x74 , 0x69 , 0x76 , 0x65 , 0x44 , 0x65 , 0x6c , 0x74 , 0x61 , 0x73 , 0x12 ,
0x27 , 0x0a , 0x0f , 0x70 , 0x6f , 0x73 , 0x69 , 0x74 , 0x69 , 0x76 , 0x65 , 0x5f , 0x63 , 0x6f , 0x75 , 0x6e ,
0x74 , 0x73 , 0x18 , 0x0d , 0x20 , 0x03 , 0x28 , 0x01 , 0x52 , 0x0e , 0x70 , 0x6f , 0x73 , 0x69 , 0x74 , 0x69 ,
0x76 , 0x65 , 0x43 , 0x6f , 0x75 , 0x6e , 0x74 , 0x73 , 0x12 , 0x3e , 0x0a , 0x0a , 0x72 , 0x65 , 0x73 , 0x65 ,
0x74 , 0x5f , 0x68 , 0x69 , 0x6e , 0x74 , 0x18 , 0x0e , 0x20 , 0x01 , 0x28 , 0x0e , 0x32 , 0x1f , 0x2e , 0x70 ,
0x72 , 0x6f , 0x6d , 0x65 , 0x74 , 0x68 , 0x65 , 0x75 , 0x73 , 0x2e , 0x48 , 0x69 , 0x73 , 0x74 , 0x6f , 0x67 ,
0x72 , 0x61 , 0x6d , 0x2e , 0x52 , 0x65 , 0x73 , 0x65 , 0x74 , 0x48 , 0x69 , 0x6e , 0x74 , 0x52 , 0x09 , 0x72 ,
0x65 , 0x73 , 0x65 , 0x74 , 0x48 , 0x69 , 0x6e , 0x74 , 0x12 , 0x1c , 0x0a , 0x09 , 0x74 , 0x69 , 0x6d , 0x65 ,
0x73 , 0x74 , 0x61 , 0x6d , 0x70 , 0x18 , 0x0f , 0x20 , 0x01 , 0x28 , 0x03 , 0x52 , 0x09 , 0x74 , 0x69 , 0x6d ,
0x65 , 0x73 , 0x74 , 0x61 , 0x6d , 0x70 , 0x22 , 0x34 , 0x0a , 0x09 , 0x52 , 0x65 , 0x73 , 0x65 , 0x74 , 0x48 ,
0x69 , 0x6e , 0x74 , 0x12 , 0x0b , 0x0a , 0x07 , 0x55 , 0x4e , 0x4b , 0x4e , 0x4f , 0x57 , 0x4e , 0x10 , 0x00 ,
0x12 , 0x07 , 0x0a , 0x03 , 0x59 , 0x45 , 0x53 , 0x10 , 0x01 , 0x12 , 0x06 , 0x0a , 0x02 , 0x4e , 0x4f , 0x10 ,
0x02 , 0x12 , 0x09 , 0x0a , 0x05 , 0x47 , 0x41 , 0x55 , 0x47 , 0x45 , 0x10 , 0x03 , 0x42 , 0x07 , 0x0a , 0x05 ,
0x63 , 0x6f , 0x75 , 0x6e , 0x74 , 0x42 , 0x0c , 0x0a , 0x0a , 0x7a , 0x65 , 0x72 , 0x6f , 0x5f , 0x63 , 0x6f ,
0x75 , 0x6e , 0x74 , 0x22 , 0x3c , 0x0a , 0x0a , 0x42 , 0x75 , 0x63 , 0x6b , 0x65 , 0x74 , 0x53 , 0x70 , 0x61 ,
0x6e , 0x12 , 0x16 , 0x0a , 0x06 , 0x6f , 0x66 , 0x66 , 0x73 , 0x65 , 0x74 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 ,
0x11 , 0x52 , 0x06 , 0x6f , 0x66 , 0x66 , 0x73 , 0x65 , 0x74 , 0x12 , 0x16 , 0x0a , 0x06 , 0x6c , 0x65 , 0x6e ,
0x67 , 0x74 , 0x68 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x0d , 0x52 , 0x06 , 0x6c , 0x65 , 0x6e , 0x67 , 0x74 ,
0x68 , 0x22 , 0xd0 , 0x01 , 0x0a , 0x0a , 0x54 , 0x69 , 0x6d , 0x65 , 0x53 , 0x65 , 0x72 , 0x69 , 0x65 , 0x73 ,
0x12 , 0x29 , 0x0a , 0x06 , 0x6c , 0x61 , 0x62 , 0x65 , 0x6c , 0x73 , 0x18 , 0x01 , 0x20 , 0x03 , 0x28 , 0x0b ,
0x32 , 0x11 , 0x2e , 0x70 , 0x72 , 0x6f , 0x6d , 0x65 , 0x74 , 0x68 , 0x65 , 0x75 , 0x73 , 0x2e , 0x4c , 0x61 ,
0x62 , 0x65 , 0x6c , 0x52 , 0x06 , 0x6c , 0x61 , 0x62 , 0x65 , 0x6c , 0x73 , 0x12 , 0x2c , 0x0a , 0x07 , 0x73 ,
0x61 , 0x6d , 0x70 , 0x6c , 0x65 , 0x73 , 0x18 , 0x02 , 0x20 , 0x03 , 0x28 , 0x0b , 0x32 , 0x12 , 0x2e , 0x70 ,
0x72 , 0x6f , 0x6d , 0x65 , 0x74 , 0x68 , 0x65 , 0x75 , 0x73 , 0x2e , 0x53 , 0x61 , 0x6d , 0x70 , 0x6c , 0x65 ,
0x52 , 0x07 , 0x73 , 0x61 , 0x6d , 0x70 , 0x6c , 0x65 , 0x73 , 0x12 , 0x32 , 0x0a , 0x09 , 0x65 , 0x78 , 0x65 ,
0x6d , 0x70 , 0x6c , 0x61 , 0x72 , 0x73 , 0x18 , 0x03 , 0x20 , 0x03 , 0x28 , 0x0b , 0x32 , 0x14 , 0x2e , 0x70 ,
0x72 , 0x6f , 0x6d , 0x65 , 0x74 , 0x68 , 0x65 , 0x75 , 0x73 , 0x2e , 0x45 , 0x78 , 0x65 , 0x6d , 0x70 , 0x6c ,
0x61 , 0x72 , 0x52 , 0x09 , 0x65 , 0x78 , 0x65 , 0x6d , 0x70 , 0x6c , 0x61 , 0x72 , 0x73 , 0x12 , 0x35 , 0x0a ,
0x0a , 0x68 , 0x69 , 0x73 , 0x74 , 0x6f , 0x67 , 0x72 , 0x61 , 0x6d , 0x73 , 0x18 , 0x04 , 0x20 , 0x03 , 0x28 ,
0x0b , 0x32 , 0x15 , 0x2e , 0x70 , 0x72 , 0x6f , 0x6d , 0x65 , 0x74 , 0x68 , 0x65 , 0x75 , 0x73 , 0x2e , 0x48 ,
0x69 , 0x73 , 0x74 , 0x6f , 0x67 , 0x72 , 0x61 , 0x6d , 0x52 , 0x0a , 0x68 , 0x69 , 0x73 , 0x74 , 0x6f , 0x67 ,
0x72 , 0x61 , 0x6d , 0x73 , 0x22 , 0x31 , 0x0a , 0x05 , 0x4c , 0x61 , 0x62 , 0x65 , 0x6c , 0x12 , 0x12 , 0x0a ,
0x04 , 0x6e , 0x61 , 0x6d , 0x65 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x04 , 0x6e , 0x61 , 0x6d ,
0x65 , 0x12 , 0x14 , 0x0a , 0x05 , 0x76 , 0x61 , 0x6c , 0x75 , 0x65 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x09 ,
0x52 , 0x05 , 0x76 , 0x61 , 0x6c , 0x75 , 0x65 , 0x22 , 0x33 , 0x0a , 0x06 , 0x4c , 0x61 , 0x62 , 0x65 , 0x6c ,
0x73 , 0x12 , 0x29 , 0x0a , 0x06 , 0x6c , 0x61 , 0x62 , 0x65 , 0x6c , 0x73 , 0x18 , 0x01 , 0x20 , 0x03 , 0x28 ,
0x0b , 0x32 , 0x11 , 0x2e , 0x70 , 0x72 , 0x6f , 0x6d , 0x65 , 0x74 , 0x68 , 0x65 , 0x75 , 0x73 , 0x2e , 0x4c ,
0x61 , 0x62 , 0x65 , 0x6c , 0x52 , 0x06 , 0x6c , 0x61 , 0x62 , 0x65 , 0x6c , 0x73 , 0x22 , 0x95 , 0x01 , 0x0a ,
0x0c , 0x4c , 0x61 , 0x62 , 0x65 , 0x6c , 0x4d , 0x61 , 0x74 , 0x63 , 0x68 , 0x65 , 0x72 , 0x12 , 0x31 , 0x0a ,
0x04 , 0x74 , 0x79 , 0x70 , 0x65 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x0e , 0x32 , 0x1d , 0x2e , 0x70 , 0x72 ,
0x6f , 0x6d , 0x65 , 0x74 , 0x68 , 0x65 , 0x75 , 0x73 , 0x2e , 0x4c , 0x61 , 0x62 , 0x65 , 0x6c , 0x4d , 0x61 ,
0x74 , 0x63 , 0x68 , 0x65 , 0x72 , 0x2e , 0x54 , 0x79 , 0x70 , 0x65 , 0x52 , 0x04 , 0x74 , 0x79 , 0x70 , 0x65 ,
0x12 , 0x12 , 0x0a , 0x04 , 0x6e , 0x61 , 0x6d , 0x65 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x04 ,
0x6e , 0x61 , 0x6d , 0x65 , 0x12 , 0x14 , 0x0a , 0x05 , 0x76 , 0x61 , 0x6c , 0x75 , 0x65 , 0x18 , 0x03 , 0x20 ,
0x01 , 0x28 , 0x09 , 0x52 , 0x05 , 0x76 , 0x61 , 0x6c , 0x75 , 0x65 , 0x22 , 0x28 , 0x0a , 0x04 , 0x54 , 0x79 ,
0x70 , 0x65 , 0x12 , 0x06 , 0x0a , 0x02 , 0x45 , 0x51 , 0x10 , 0x00 , 0x12 , 0x07 , 0x0a , 0x03 , 0x4e , 0x45 ,
0x51 , 0x10 , 0x01 , 0x12 , 0x06 , 0x0a , 0x02 , 0x52 , 0x45 , 0x10 , 0x02 , 0x12 , 0x07 , 0x0a , 0x03 , 0x4e ,
0x52 , 0x45 , 0x10 , 0x03 , 0x22 , 0xb1 , 0x01 , 0x0a , 0x09 , 0x52 , 0x65 , 0x61 , 0x64 , 0x48 , 0x69 , 0x6e ,
0x74 , 0x73 , 0x12 , 0x17 , 0x0a , 0x07 , 0x73 , 0x74 , 0x65 , 0x70 , 0x5f , 0x6d , 0x73 , 0x18 , 0x01 , 0x20 ,
0x01 , 0x28 , 0x03 , 0x52 , 0x06 , 0x73 , 0x74 , 0x65 , 0x70 , 0x4d , 0x73 , 0x12 , 0x12 , 0x0a , 0x04 , 0x66 ,
0x75 , 0x6e , 0x63 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x04 , 0x66 , 0x75 , 0x6e , 0x63 , 0x12 ,
0x19 , 0x0a , 0x08 , 0x73 , 0x74 , 0x61 , 0x72 , 0x74 , 0x5f , 0x6d , 0x73 , 0x18 , 0x03 , 0x20 , 0x01 , 0x28 ,
0x03 , 0x52 , 0x07 , 0x73 , 0x74 , 0x61 , 0x72 , 0x74 , 0x4d , 0x73 , 0x12 , 0x15 , 0x0a , 0x06 , 0x65 , 0x6e ,
0x64 , 0x5f , 0x6d , 0x73 , 0x18 , 0x04 , 0x20 , 0x01 , 0x28 , 0x03 , 0x52 , 0x05 , 0x65 , 0x6e , 0x64 , 0x4d ,
0x73 , 0x12 , 0x1a , 0x0a , 0x08 , 0x67 , 0x72 , 0x6f , 0x75 , 0x70 , 0x69 , 0x6e , 0x67 , 0x18 , 0x05 , 0x20 ,
0x03 , 0x28 , 0x09 , 0x52 , 0x08 , 0x67 , 0x72 , 0x6f , 0x75 , 0x70 , 0x69 , 0x6e , 0x67 , 0x12 , 0x0e , 0x0a ,
0x02 , 0x62 , 0x79 , 0x18 , 0x06 , 0x20 , 0x01 , 0x28 , 0x08 , 0x52 , 0x02 , 0x62 , 0x79 , 0x12 , 0x19 , 0x0a ,
0x08 , 0x72 , 0x61 , 0x6e , 0x67 , 0x65 , 0x5f , 0x6d , 0x73 , 0x18 , 0x07 , 0x20 , 0x01 , 0x28 , 0x03 , 0x52 ,
0x07 , 0x72 , 0x61 , 0x6e , 0x67 , 0x65 , 0x4d , 0x73 , 0x22 , 0xd1 , 0x01 , 0x0a , 0x05 , 0x43 , 0x68 , 0x75 ,
0x6e , 0x6b , 0x12 , 0x1e , 0x0a , 0x0b , 0x6d , 0x69 , 0x6e , 0x5f , 0x74 , 0x69 , 0x6d , 0x65 , 0x5f , 0x6d ,
0x73 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x03 , 0x52 , 0x09 , 0x6d , 0x69 , 0x6e , 0x54 , 0x69 , 0x6d , 0x65 ,
0x4d , 0x73 , 0x12 , 0x1e , 0x0a , 0x0b , 0x6d , 0x61 , 0x78 , 0x5f , 0x74 , 0x69 , 0x6d , 0x65 , 0x5f , 0x6d ,
0x73 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x03 , 0x52 , 0x09 , 0x6d , 0x61 , 0x78 , 0x54 , 0x69 , 0x6d , 0x65 ,
0x4d , 0x73 , 0x12 , 0x2e , 0x0a , 0x04 , 0x74 , 0x79 , 0x70 , 0x65 , 0x18 , 0x03 , 0x20 , 0x01 , 0x28 , 0x0e ,
0x32 , 0x1a , 0x2e , 0x70 , 0x72 , 0x6f , 0x6d , 0x65 , 0x74 , 0x68 , 0x65 , 0x75 , 0x73 , 0x2e , 0x43 , 0x68 ,
0x75 , 0x6e , 0x6b , 0x2e , 0x45 , 0x6e , 0x63 , 0x6f , 0x64 , 0x69 , 0x6e , 0x67 , 0x52 , 0x04 , 0x74 , 0x79 ,
0x70 , 0x65 , 0x12 , 0x12 , 0x0a , 0x04 , 0x64 , 0x61 , 0x74 , 0x61 , 0x18 , 0x04 , 0x20 , 0x01 , 0x28 , 0x0c ,
0x52 , 0x04 , 0x64 , 0x61 , 0x74 , 0x61 , 0x22 , 0x44 , 0x0a , 0x08 , 0x45 , 0x6e , 0x63 , 0x6f , 0x64 , 0x69 ,
0x6e , 0x67 , 0x12 , 0x0b , 0x0a , 0x07 , 0x55 , 0x4e , 0x4b , 0x4e , 0x4f , 0x57 , 0x4e , 0x10 , 0x00 , 0x12 ,
0x07 , 0x0a , 0x03 , 0x58 , 0x4f , 0x52 , 0x10 , 0x01 , 0x12 , 0x0d , 0x0a , 0x09 , 0x48 , 0x49 , 0x53 , 0x54 ,
0x4f , 0x47 , 0x52 , 0x41 , 0x4d , 0x10 , 0x02 , 0x12 , 0x13 , 0x0a , 0x0f , 0x46 , 0x4c , 0x4f , 0x41 , 0x54 ,
0x5f , 0x48 , 0x49 , 0x53 , 0x54 , 0x4f , 0x47 , 0x52 , 0x41 , 0x4d , 0x10 , 0x03 , 0x22 , 0x65 , 0x0a , 0x0d ,
0x43 , 0x68 , 0x75 , 0x6e , 0x6b , 0x65 , 0x64 , 0x53 , 0x65 , 0x72 , 0x69 , 0x65 , 0x73 , 0x12 , 0x29 , 0x0a ,
0x06 , 0x6c , 0x61 , 0x62 , 0x65 , 0x6c , 0x73 , 0x18 , 0x01 , 0x20 , 0x03 , 0x28 , 0x0b , 0x32 , 0x11 , 0x2e ,
0x70 , 0x72 , 0x6f , 0x6d , 0x65 , 0x74 , 0x68 , 0x65 , 0x75 , 0x73 , 0x2e , 0x4c , 0x61 , 0x62 , 0x65 , 0x6c ,
0x52 , 0x06 , 0x6c , 0x61 , 0x62 , 0x65 , 0x6c , 0x73 , 0x12 , 0x29 , 0x0a , 0x06 , 0x63 , 0x68 , 0x75 , 0x6e ,
0x6b , 0x73 , 0x18 , 0x02 , 0x20 , 0x03 , 0x28 , 0x0b , 0x32 , 0x11 , 0x2e , 0x70 , 0x72 , 0x6f , 0x6d , 0x65 ,
0x74 , 0x68 , 0x65 , 0x75 , 0x73 , 0x2e , 0x43 , 0x68 , 0x75 , 0x6e , 0x6b , 0x52 , 0x06 , 0x63 , 0x68 , 0x75 ,
0x6e , 0x6b , 0x73 , 0x42 , 0x29 , 0x5a , 0x27 , 0x67 , 0x69 , 0x74 , 0x68 , 0x75 , 0x62 , 0x2e , 0x63 , 0x6f ,
0x6d , 0x2f , 0x70 , 0x72 , 0x6f , 0x6d , 0x65 , 0x74 , 0x68 , 0x65 , 0x75 , 0x73 , 0x2f , 0x70 , 0x72 , 0x6f ,
0x6d , 0x65 , 0x74 , 0x68 , 0x65 , 0x75 , 0x73 , 0x2f , 0x70 , 0x72 , 0x6f , 0x6d , 0x70 , 0x62 , 0x62 , 0x06 ,
0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x33 ,
2017-07-06 05:38:40 -07:00
}
2023-11-28 10:37:05 -08:00
var (
file_types_proto_rawDescOnce sync . Once
file_types_proto_rawDescData = file_types_proto_rawDesc
)
2021-05-06 13:53:52 -07:00
2023-11-28 10:37:05 -08:00
func file_types_proto_rawDescGZIP ( ) [ ] byte {
file_types_proto_rawDescOnce . Do ( func ( ) {
file_types_proto_rawDescData = protoimpl . X . CompressGZIP ( file_types_proto_rawDescData )
} )
return file_types_proto_rawDescData
}
var file_types_proto_enumTypes = make ( [ ] protoimpl . EnumInfo , 4 )
var file_types_proto_msgTypes = make ( [ ] protoimpl . MessageInfo , 12 )
var file_types_proto_goTypes = [ ] interface { } {
( MetricMetadata_MetricType ) ( 0 ) , // 0: prometheus.MetricMetadata.MetricType
( Histogram_ResetHint ) ( 0 ) , // 1: prometheus.Histogram.ResetHint
( LabelMatcher_Type ) ( 0 ) , // 2: prometheus.LabelMatcher.Type
( Chunk_Encoding ) ( 0 ) , // 3: prometheus.Chunk.Encoding
( * MetricMetadata ) ( nil ) , // 4: prometheus.MetricMetadata
( * Sample ) ( nil ) , // 5: prometheus.Sample
( * Exemplar ) ( nil ) , // 6: prometheus.Exemplar
( * Histogram ) ( nil ) , // 7: prometheus.Histogram
( * BucketSpan ) ( nil ) , // 8: prometheus.BucketSpan
( * TimeSeries ) ( nil ) , // 9: prometheus.TimeSeries
( * Label ) ( nil ) , // 10: prometheus.Label
( * Labels ) ( nil ) , // 11: prometheus.Labels
( * LabelMatcher ) ( nil ) , // 12: prometheus.LabelMatcher
( * ReadHints ) ( nil ) , // 13: prometheus.ReadHints
( * Chunk ) ( nil ) , // 14: prometheus.Chunk
( * ChunkedSeries ) ( nil ) , // 15: prometheus.ChunkedSeries
}
var file_types_proto_depIdxs = [ ] int32 {
0 , // 0: prometheus.MetricMetadata.type:type_name -> prometheus.MetricMetadata.MetricType
10 , // 1: prometheus.Exemplar.labels:type_name -> prometheus.Label
8 , // 2: prometheus.Histogram.negative_spans:type_name -> prometheus.BucketSpan
8 , // 3: prometheus.Histogram.positive_spans:type_name -> prometheus.BucketSpan
1 , // 4: prometheus.Histogram.reset_hint:type_name -> prometheus.Histogram.ResetHint
10 , // 5: prometheus.TimeSeries.labels:type_name -> prometheus.Label
5 , // 6: prometheus.TimeSeries.samples:type_name -> prometheus.Sample
6 , // 7: prometheus.TimeSeries.exemplars:type_name -> prometheus.Exemplar
7 , // 8: prometheus.TimeSeries.histograms:type_name -> prometheus.Histogram
10 , // 9: prometheus.Labels.labels:type_name -> prometheus.Label
2 , // 10: prometheus.LabelMatcher.type:type_name -> prometheus.LabelMatcher.Type
3 , // 11: prometheus.Chunk.type:type_name -> prometheus.Chunk.Encoding
10 , // 12: prometheus.ChunkedSeries.labels:type_name -> prometheus.Label
14 , // 13: prometheus.ChunkedSeries.chunks:type_name -> prometheus.Chunk
14 , // [14:14] is the sub-list for method output_type
14 , // [14:14] is the sub-list for method input_type
14 , // [14:14] is the sub-list for extension type_name
14 , // [14:14] is the sub-list for extension extendee
0 , // [0:14] is the sub-list for field type_name
}
func init ( ) { file_types_proto_init ( ) }
func file_types_proto_init ( ) {
if File_types_proto != nil {
return
}
if ! protoimpl . UnsafeEnabled {
file_types_proto_msgTypes [ 0 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * MetricMetadata ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_types_proto_msgTypes [ 1 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * Sample ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_types_proto_msgTypes [ 2 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * Exemplar ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_types_proto_msgTypes [ 3 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * Histogram ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_types_proto_msgTypes [ 4 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * BucketSpan ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_types_proto_msgTypes [ 5 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * TimeSeries ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_types_proto_msgTypes [ 6 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * Label ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_types_proto_msgTypes [ 7 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * Labels ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_types_proto_msgTypes [ 8 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * LabelMatcher ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_types_proto_msgTypes [ 9 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * ReadHints ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_types_proto_msgTypes [ 10 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * Chunk ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_types_proto_msgTypes [ 11 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * ChunkedSeries ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
}
file_types_proto_msgTypes [ 3 ] . OneofWrappers = [ ] interface { } {
( * Histogram_CountInt ) ( nil ) ,
( * Histogram_CountFloat ) ( nil ) ,
( * Histogram_ZeroCountInt ) ( nil ) ,
( * Histogram_ZeroCountFloat ) ( nil ) ,
2019-01-15 06:32:05 -08:00
}
2023-11-28 10:37:05 -08:00
type x struct { }
out := protoimpl . TypeBuilder {
File : protoimpl . DescBuilder {
GoPackagePath : reflect . TypeOf ( x { } ) . PkgPath ( ) ,
RawDescriptor : file_types_proto_rawDesc ,
NumEnums : 4 ,
NumMessages : 12 ,
NumExtensions : 0 ,
NumServices : 0 ,
} ,
GoTypes : file_types_proto_goTypes ,
DependencyIndexes : file_types_proto_depIdxs ,
EnumInfos : file_types_proto_enumTypes ,
MessageInfos : file_types_proto_msgTypes ,
} . Build ( )
File_types_proto = out . File
file_types_proto_rawDesc = nil
file_types_proto_goTypes = nil
file_types_proto_depIdxs = nil
2017-07-06 05:38:40 -07:00
}