Debian Codegraph @

exporter/exporterhelper/internal/queue/meta.pb.go

raw symbols SCIP
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.26.0
4 // protoc v3.21.6
5 // source: exporter/exporterhelper/internal/queue/meta.proto
6
7 package queue
8
9 import (
10 reflect "reflect"
11 sync "sync"
12
13 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
14 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
15 )
16
17 const (
18 // Verify that this generated code is sufficiently up-to-date.
19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
20 // Verify that runtime/protoimpl is sufficiently up-to-date.
21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
22 )
23
24 // PersistentMetadata holds all persistent metadata for the queue.
25 // The items and bytes sizes are recorded explicitly,
26 // the requests size can be calculated as (write_index - read_index + len(currently_dispatched_items)).
27 type PersistentMetadata struct {
28 state protoimpl.MessageState
29 sizeCache protoimpl.SizeCache
30 unknownFields protoimpl.UnknownFields
31
32 // Current total items size of the queue.
33 ItemsSize int64 `protobuf:"fixed64,1,opt,name=items_size,json=itemsSize,proto3" json:"items_size,omitempty"`
34 // Current total bytes size of the queue.
35 BytesSize int64 `protobuf:"fixed64,2,opt,name=bytes_size,json=bytesSize,proto3" json:"bytes_size,omitempty"`
36 // Index of the next item to be read from the queue.
37 ReadIndex uint64 `protobuf:"fixed64,3,opt,name=read_index,json=readIndex,proto3" json:"read_index,omitempty"`
38 // Index where the next item will be written to the queue.
39 WriteIndex uint64 `protobuf:"fixed64,4,opt,name=write_index,json=writeIndex,proto3" json:"write_index,omitempty"`
40 // List of item indices currently being processed by consumers.
41 CurrentlyDispatchedItems []uint64 `protobuf:"fixed64,5,rep,packed,name=currently_dispatched_items,json=currentlyDispatchedItems,proto3" json:"currently_dispatched_items,omitempty"`
42 }
43
44 func (x *PersistentMetadata) Reset() {
45 *x = PersistentMetadata{}
46 if protoimpl.UnsafeEnabled {
47 mi := &file_exporter_exporterhelper_internal_queue_meta_proto_msgTypes[0]
48 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
49 ms.StoreMessageInfo(mi)
50 }
51 }
52
53 func (x *PersistentMetadata) String() string {
54 return protoimpl.X.MessageStringOf(x)
55 }
56
57 func (*PersistentMetadata) ProtoMessage() {}
58
59 func (x *PersistentMetadata) ProtoReflect() protoreflect.Message {
60 mi := &file_exporter_exporterhelper_internal_queue_meta_proto_msgTypes[0]
61 if protoimpl.UnsafeEnabled && x != nil {
62 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
63 if ms.LoadMessageInfo() == nil {
64 ms.StoreMessageInfo(mi)
65 }
66 return ms
67 }
68 return mi.MessageOf(x)
69 }
70
71 // Deprecated: Use PersistentMetadata.ProtoReflect.Descriptor instead.
72 func (*PersistentMetadata) Descriptor() ([]byte, []int) {
73 return file_exporter_exporterhelper_internal_queue_meta_proto_rawDescGZIP(), []int{0}
74 }
75
76 func (x *PersistentMetadata) GetItemsSize() int64 {
77 if x != nil {
78 return x.ItemsSize
79 }
80 return 0
81 }
82
83 func (x *PersistentMetadata) GetBytesSize() int64 {
84 if x != nil {
85 return x.BytesSize
86 }
87 return 0
88 }
89
90 func (x *PersistentMetadata) GetReadIndex() uint64 {
91 if x != nil {
92 return x.ReadIndex
93 }
94 return 0
95 }
96
97 func (x *PersistentMetadata) GetWriteIndex() uint64 {
98 if x != nil {
99 return x.WriteIndex
100 }
101 return 0
102 }
103
104 func (x *PersistentMetadata) GetCurrentlyDispatchedItems() []uint64 {
105 if x != nil {
106 return x.CurrentlyDispatchedItems
107 }
108 return nil
109 }
110
111 var File_exporter_exporterhelper_internal_queue_meta_proto protoreflect.FileDescriptor
112
113 var file_exporter_exporterhelper_internal_queue_meta_proto_rawDesc = []byte{
114 0x0a, 0x31, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x2f, 0x65, 0x78, 0x70, 0x6f, 0x72,
115 0x74, 0x65, 0x72, 0x68, 0x65, 0x6c, 0x70, 0x65, 0x72, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
116 0x61, 0x6c, 0x2f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 0x72,
117 0x6f, 0x74, 0x6f, 0x12, 0x3e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74,
118 0x72, 0x79, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x65, 0x78, 0x70,
119 0x6f, 0x72, 0x74, 0x65, 0x72, 0x2e, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x68, 0x65,
120 0x6c, 0x70, 0x65, 0x72, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x71, 0x75,
121 0x65, 0x75, 0x65, 0x22, 0xd0, 0x01, 0x0a, 0x12, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65,
122 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x74,
123 0x65, 0x6d, 0x73, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x10, 0x52, 0x09,
124 0x69, 0x74, 0x65, 0x6d, 0x73, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x79, 0x74,
125 0x65, 0x73, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x10, 0x52, 0x09, 0x62,
126 0x79, 0x74, 0x65, 0x73, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x61, 0x64,
127 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x06, 0x52, 0x09, 0x72, 0x65,
128 0x61, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1f, 0x0a, 0x0b, 0x77, 0x72, 0x69, 0x74, 0x65,
129 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x06, 0x52, 0x0a, 0x77, 0x72,
130 0x69, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x3c, 0x0a, 0x1a, 0x63, 0x75, 0x72, 0x72,
131 0x65, 0x6e, 0x74, 0x6c, 0x79, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64,
132 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x06, 0x52, 0x18, 0x63, 0x75,
133 0x72, 0x72, 0x65, 0x6e, 0x74, 0x6c, 0x79, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65,
134 0x64, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x42, 0x46, 0x5a, 0x44, 0x67, 0x6f, 0x2e, 0x6f, 0x70, 0x65,
135 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x69, 0x6f, 0x2f, 0x63, 0x6f,
136 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72,
137 0x2f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x68, 0x65, 0x6c, 0x70, 0x65, 0x72, 0x2f,
138 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x62, 0x06,
139 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
140 }
141
142 var (
143 file_exporter_exporterhelper_internal_queue_meta_proto_rawDescOnce sync.Once
144 file_exporter_exporterhelper_internal_queue_meta_proto_rawDescData = file_exporter_exporterhelper_internal_queue_meta_proto_rawDesc
145 )
146
147 func file_exporter_exporterhelper_internal_queue_meta_proto_rawDescGZIP() []byte {
148 file_exporter_exporterhelper_internal_queue_meta_proto_rawDescOnce.Do(func() {
149 file_exporter_exporterhelper_internal_queue_meta_proto_rawDescData = protoimpl.X.CompressGZIP(file_exporter_exporterhelper_internal_queue_meta_proto_rawDescData)
150 })
151 return file_exporter_exporterhelper_internal_queue_meta_proto_rawDescData
152 }
153
154 var file_exporter_exporterhelper_internal_queue_meta_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
155 var file_exporter_exporterhelper_internal_queue_meta_proto_goTypes = []interface{}{
156 (*PersistentMetadata)(nil), // 0: opentelemetry.collector.exporter.exporterhelper.internal.queue.PersistentMetadata
157 }
158 var file_exporter_exporterhelper_internal_queue_meta_proto_depIdxs = []int32{
159 0, // [0:0] is the sub-list for method output_type
160 0, // [0:0] is the sub-list for method input_type
161 0, // [0:0] is the sub-list for extension type_name
162 0, // [0:0] is the sub-list for extension extendee
163 0, // [0:0] is the sub-list for field type_name
164 }
165
166 func init() { file_exporter_exporterhelper_internal_queue_meta_proto_init() }
167 func file_exporter_exporterhelper_internal_queue_meta_proto_init() {
168 if File_exporter_exporterhelper_internal_queue_meta_proto != nil {
169 return
170 }
171 if !protoimpl.UnsafeEnabled {
172 file_exporter_exporterhelper_internal_queue_meta_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
173 switch v := v.(*PersistentMetadata); i {
174 case 0:
175 return &v.state
176 case 1:
177 return &v.sizeCache
178 case 2:
179 return &v.unknownFields
180 default:
181 return nil
182 }
183 }
184 }
185 type x struct{}
186 out := protoimpl.TypeBuilder{
187 File: protoimpl.DescBuilder{
188 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
189 RawDescriptor: file_exporter_exporterhelper_internal_queue_meta_proto_rawDesc,
190 NumEnums: 0,
191 NumMessages: 1,
192 NumExtensions: 0,
193 NumServices: 0,
194 },
195 GoTypes: file_exporter_exporterhelper_internal_queue_meta_proto_goTypes,
196 DependencyIndexes: file_exporter_exporterhelper_internal_queue_meta_proto_depIdxs,
197 MessageInfos: file_exporter_exporterhelper_internal_queue_meta_proto_msgTypes,
198 }.Build()
199 File_exporter_exporterhelper_internal_queue_meta_proto = out.File
200 file_exporter_exporterhelper_internal_queue_meta_proto_rawDesc = nil
201 file_exporter_exporterhelper_internal_queue_meta_proto_goTypes = nil
202 file_exporter_exporterhelper_internal_queue_meta_proto_depIdxs = nil
203 }