@lansweeper/integrations-limit-checker-grpc 0.2.9 → 0.2.10

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.2.10](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/integrations-limit-checker-grpc@0.2.9...@lansweeper/integrations-limit-checker-grpc@0.2.10) (2023-07-12)
7
+
8
+ **Note:** Version bump only for package @lansweeper/integrations-limit-checker-grpc
9
+
10
+
11
+
12
+
13
+
6
14
  ## [0.2.9](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/integrations-limit-checker-grpc@0.2.8...@lansweeper/integrations-limit-checker-grpc@0.2.9) (2023-07-07)
7
15
 
8
16
  **Note:** Version bump only for package @lansweeper/integrations-limit-checker-grpc
package/buf.yaml CHANGED
@@ -17,3 +17,5 @@ lint:
17
17
  breaking:
18
18
  use:
19
19
  - FILE
20
+ except:
21
+ - FILE_SAME_GO_PACKAGE
@@ -1 +1 @@
1
- {"file":[{"name":"proto/limit_checker_api.proto","package":"lansweeper.integrationslimitchecker.v1","messageType":[{"name":"ExportStatusLimitCheckerRequest","field":[{"name":"appId","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"appId"},{"name":"traceId","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}]},{"name":"ExportStatusLimitCheckerResponse","field":[{"name":"message","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"}]},{"name":"ReportFullExportStatusLimitCheckerRequest","field":[{"name":"app_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"appId"},{"name":"trace_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}]},{"name":"ReportFullExportStatusLimitCheckerResponse","field":[{"name":"message","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"}]},{"name":"ScanNowLimitCheckerRequest","field":[{"name":"source_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"sourceId"},{"name":"trace_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}]},{"name":"ScanNowLimitCheckerResponse","field":[{"name":"message","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"}]}],"service":[{"name":"IntegrationsLimitChecker","method":[{"name":"ExportStatusLimitChecker","inputType":".lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerRequest","outputType":".lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerResponse","options":{}},{"name":"ReportFullExportStatusLimitChecker","inputType":".lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest","outputType":".lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse","options":{}},{"name":"ScanNowLimitChecker","inputType":".lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest","outputType":".lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse","options":{}}]}],"sourceCodeInfo":{"location":[{"span":[0,0,35,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,47]},{"path":[4,0],"span":[4,0,7,1]},{"path":[4,0,1],"span":[4,8,39]},{"path":[4,0,2,0],"span":[5,2,19]},{"path":[4,0,2,0,5],"span":[5,2,8]},{"path":[4,0,2,0,1],"span":[5,9,14]},{"path":[4,0,2,0,3],"span":[5,17,18]},{"path":[4,0,2,1],"span":[6,2,21]},{"path":[4,0,2,1,5],"span":[6,2,8]},{"path":[4,0,2,1,1],"span":[6,9,16]},{"path":[4,0,2,1,3],"span":[6,19,20]},{"path":[4,1],"span":[9,0,11,1]},{"path":[4,1,1],"span":[9,8,40]},{"path":[4,1,2,0],"span":[10,2,21]},{"path":[4,1,2,0,5],"span":[10,2,8]},{"path":[4,1,2,0,1],"span":[10,9,16]},{"path":[4,1,2,0,3],"span":[10,19,20]},{"path":[4,2],"span":[13,0,16,1]},{"path":[4,2,1],"span":[13,8,49]},{"path":[4,2,2,0],"span":[14,2,20]},{"path":[4,2,2,0,5],"span":[14,2,8]},{"path":[4,2,2,0,1],"span":[14,9,15]},{"path":[4,2,2,0,3],"span":[14,18,19]},{"path":[4,2,2,1],"span":[15,2,22]},{"path":[4,2,2,1,5],"span":[15,2,8]},{"path":[4,2,2,1,1],"span":[15,9,17]},{"path":[4,2,2,1,3],"span":[15,20,21]},{"path":[4,3],"span":[18,0,20,1]},{"path":[4,3,1],"span":[18,8,50]},{"path":[4,3,2,0],"span":[19,2,21]},{"path":[4,3,2,0,5],"span":[19,2,8]},{"path":[4,3,2,0,1],"span":[19,9,16]},{"path":[4,3,2,0,3],"span":[19,19,20]},{"path":[4,4],"span":[22,0,25,1]},{"path":[4,4,1],"span":[22,8,34]},{"path":[4,4,2,0],"span":[23,2,23]},{"path":[4,4,2,0,5],"span":[23,2,8]},{"path":[4,4,2,0,1],"span":[23,9,18]},{"path":[4,4,2,0,3],"span":[23,21,22]},{"path":[4,4,2,1],"span":[24,2,22]},{"path":[4,4,2,1,5],"span":[24,2,8]},{"path":[4,4,2,1,1],"span":[24,9,17]},{"path":[4,4,2,1,3],"span":[24,20,21]},{"path":[4,5],"span":[27,0,29,1]},{"path":[4,5,1],"span":[27,8,35]},{"path":[4,5,2,0],"span":[28,2,21]},{"path":[4,5,2,0,5],"span":[28,2,8]},{"path":[4,5,2,0,1],"span":[28,9,16]},{"path":[4,5,2,0,3],"span":[28,19,20]},{"path":[6,0],"span":[31,0,35,1]},{"path":[6,0,1],"span":[31,8,32]},{"path":[6,0,2,0],"span":[32,2,110]},{"path":[6,0,2,0,1],"span":[32,6,30]},{"path":[6,0,2,0,2],"span":[32,32,63]},{"path":[6,0,2,0,3],"span":[32,74,106]},{"path":[6,0,2,1],"span":[33,2,140]},{"path":[6,0,2,1,1],"span":[33,6,40]},{"path":[6,0,2,1,2],"span":[33,42,83]},{"path":[6,0,2,1,3],"span":[33,94,136]},{"path":[6,0,2,2],"span":[34,2,95]},{"path":[6,0,2,2,1],"span":[34,6,25]},{"path":[6,0,2,2,2],"span":[34,27,53]},{"path":[6,0,2,2,3],"span":[34,64,91]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
1
+ {"file":[{"name":"proto/limit_checker_api.proto","package":"lansweeper.integrationslimitchecker.v1","messageType":[{"name":"ExportStatusLimitCheckerRequest","field":[{"name":"appId","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"appId"},{"name":"traceId","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}]},{"name":"ExportStatusLimitCheckerResponse","field":[{"name":"message","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"}]},{"name":"ReportFullExportStatusLimitCheckerRequest","field":[{"name":"app_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"appId"},{"name":"trace_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}]},{"name":"ReportFullExportStatusLimitCheckerResponse","field":[{"name":"message","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"}]},{"name":"ScanNowLimitCheckerRequest","field":[{"name":"source_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"sourceId"},{"name":"trace_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}]},{"name":"ScanNowLimitCheckerResponse","field":[{"name":"message","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"}]}],"service":[{"name":"IntegrationsLimitChecker","method":[{"name":"ExportStatusLimitChecker","inputType":".lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerRequest","outputType":".lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerResponse","options":{}},{"name":"ReportFullExportStatusLimitChecker","inputType":".lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest","outputType":".lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse","options":{}},{"name":"ScanNowLimitChecker","inputType":".lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest","outputType":".lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse","options":{}}]}],"options":{"goPackage":"./generated-go"},"sourceCodeInfo":{"location":[{"span":[0,0,37,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,47]},{"path":[8],"span":[4,0,37]},{"path":[8,11],"span":[4,0,37]},{"path":[4,0],"span":[6,0,9,1]},{"path":[4,0,1],"span":[6,8,39]},{"path":[4,0,2,0],"span":[7,2,19]},{"path":[4,0,2,0,5],"span":[7,2,8]},{"path":[4,0,2,0,1],"span":[7,9,14]},{"path":[4,0,2,0,3],"span":[7,17,18]},{"path":[4,0,2,1],"span":[8,2,21]},{"path":[4,0,2,1,5],"span":[8,2,8]},{"path":[4,0,2,1,1],"span":[8,9,16]},{"path":[4,0,2,1,3],"span":[8,19,20]},{"path":[4,1],"span":[11,0,13,1]},{"path":[4,1,1],"span":[11,8,40]},{"path":[4,1,2,0],"span":[12,2,21]},{"path":[4,1,2,0,5],"span":[12,2,8]},{"path":[4,1,2,0,1],"span":[12,9,16]},{"path":[4,1,2,0,3],"span":[12,19,20]},{"path":[4,2],"span":[15,0,18,1]},{"path":[4,2,1],"span":[15,8,49]},{"path":[4,2,2,0],"span":[16,2,20]},{"path":[4,2,2,0,5],"span":[16,2,8]},{"path":[4,2,2,0,1],"span":[16,9,15]},{"path":[4,2,2,0,3],"span":[16,18,19]},{"path":[4,2,2,1],"span":[17,2,22]},{"path":[4,2,2,1,5],"span":[17,2,8]},{"path":[4,2,2,1,1],"span":[17,9,17]},{"path":[4,2,2,1,3],"span":[17,20,21]},{"path":[4,3],"span":[20,0,22,1]},{"path":[4,3,1],"span":[20,8,50]},{"path":[4,3,2,0],"span":[21,2,21]},{"path":[4,3,2,0,5],"span":[21,2,8]},{"path":[4,3,2,0,1],"span":[21,9,16]},{"path":[4,3,2,0,3],"span":[21,19,20]},{"path":[4,4],"span":[24,0,27,1]},{"path":[4,4,1],"span":[24,8,34]},{"path":[4,4,2,0],"span":[25,2,23]},{"path":[4,4,2,0,5],"span":[25,2,8]},{"path":[4,4,2,0,1],"span":[25,9,18]},{"path":[4,4,2,0,3],"span":[25,21,22]},{"path":[4,4,2,1],"span":[26,2,22]},{"path":[4,4,2,1,5],"span":[26,2,8]},{"path":[4,4,2,1,1],"span":[26,9,17]},{"path":[4,4,2,1,3],"span":[26,20,21]},{"path":[4,5],"span":[29,0,31,1]},{"path":[4,5,1],"span":[29,8,35]},{"path":[4,5,2,0],"span":[30,2,21]},{"path":[4,5,2,0,5],"span":[30,2,8]},{"path":[4,5,2,0,1],"span":[30,9,16]},{"path":[4,5,2,0,3],"span":[30,19,20]},{"path":[6,0],"span":[33,0,37,1]},{"path":[6,0,1],"span":[33,8,32]},{"path":[6,0,2,0],"span":[34,2,110]},{"path":[6,0,2,0,1],"span":[34,6,30]},{"path":[6,0,2,0,2],"span":[34,32,63]},{"path":[6,0,2,0,3],"span":[34,74,106]},{"path":[6,0,2,1],"span":[35,2,140]},{"path":[6,0,2,1,1],"span":[35,6,40]},{"path":[6,0,2,1,2],"span":[35,42,83]},{"path":[6,0,2,1,3],"span":[35,94,136]},{"path":[6,0,2,2],"span":[36,2,95]},{"path":[6,0,2,2,1],"span":[36,6,25]},{"path":[6,0,2,2,2],"span":[36,27,53]},{"path":[6,0,2,2,3],"span":[36,64,91]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
@@ -0,0 +1,537 @@
1
+ // Code generated by protoc-gen-go. DO NOT EDIT.
2
+ // versions:
3
+ // protoc-gen-go v1.31.0
4
+ // protoc v3.15.6
5
+ // source: limit_checker_api.proto
6
+
7
+ package generated_go
8
+
9
+ import (
10
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
11
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
12
+ reflect "reflect"
13
+ sync "sync"
14
+ )
15
+
16
+ const (
17
+ // Verify that this generated code is sufficiently up-to-date.
18
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
19
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
20
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
21
+ )
22
+
23
+ type ExportStatusLimitCheckerRequest struct {
24
+ state protoimpl.MessageState
25
+ sizeCache protoimpl.SizeCache
26
+ unknownFields protoimpl.UnknownFields
27
+
28
+ AppId string `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId,omitempty"`
29
+ TraceId string `protobuf:"bytes,2,opt,name=traceId,proto3" json:"traceId,omitempty"`
30
+ }
31
+
32
+ func (x *ExportStatusLimitCheckerRequest) Reset() {
33
+ *x = ExportStatusLimitCheckerRequest{}
34
+ if protoimpl.UnsafeEnabled {
35
+ mi := &file_limit_checker_api_proto_msgTypes[0]
36
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
37
+ ms.StoreMessageInfo(mi)
38
+ }
39
+ }
40
+
41
+ func (x *ExportStatusLimitCheckerRequest) String() string {
42
+ return protoimpl.X.MessageStringOf(x)
43
+ }
44
+
45
+ func (*ExportStatusLimitCheckerRequest) ProtoMessage() {}
46
+
47
+ func (x *ExportStatusLimitCheckerRequest) ProtoReflect() protoreflect.Message {
48
+ mi := &file_limit_checker_api_proto_msgTypes[0]
49
+ if protoimpl.UnsafeEnabled && x != nil {
50
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
51
+ if ms.LoadMessageInfo() == nil {
52
+ ms.StoreMessageInfo(mi)
53
+ }
54
+ return ms
55
+ }
56
+ return mi.MessageOf(x)
57
+ }
58
+
59
+ // Deprecated: Use ExportStatusLimitCheckerRequest.ProtoReflect.Descriptor instead.
60
+ func (*ExportStatusLimitCheckerRequest) Descriptor() ([]byte, []int) {
61
+ return file_limit_checker_api_proto_rawDescGZIP(), []int{0}
62
+ }
63
+
64
+ func (x *ExportStatusLimitCheckerRequest) GetAppId() string {
65
+ if x != nil {
66
+ return x.AppId
67
+ }
68
+ return ""
69
+ }
70
+
71
+ func (x *ExportStatusLimitCheckerRequest) GetTraceId() string {
72
+ if x != nil {
73
+ return x.TraceId
74
+ }
75
+ return ""
76
+ }
77
+
78
+ type ExportStatusLimitCheckerResponse struct {
79
+ state protoimpl.MessageState
80
+ sizeCache protoimpl.SizeCache
81
+ unknownFields protoimpl.UnknownFields
82
+
83
+ Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
84
+ }
85
+
86
+ func (x *ExportStatusLimitCheckerResponse) Reset() {
87
+ *x = ExportStatusLimitCheckerResponse{}
88
+ if protoimpl.UnsafeEnabled {
89
+ mi := &file_limit_checker_api_proto_msgTypes[1]
90
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
91
+ ms.StoreMessageInfo(mi)
92
+ }
93
+ }
94
+
95
+ func (x *ExportStatusLimitCheckerResponse) String() string {
96
+ return protoimpl.X.MessageStringOf(x)
97
+ }
98
+
99
+ func (*ExportStatusLimitCheckerResponse) ProtoMessage() {}
100
+
101
+ func (x *ExportStatusLimitCheckerResponse) ProtoReflect() protoreflect.Message {
102
+ mi := &file_limit_checker_api_proto_msgTypes[1]
103
+ if protoimpl.UnsafeEnabled && x != nil {
104
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
105
+ if ms.LoadMessageInfo() == nil {
106
+ ms.StoreMessageInfo(mi)
107
+ }
108
+ return ms
109
+ }
110
+ return mi.MessageOf(x)
111
+ }
112
+
113
+ // Deprecated: Use ExportStatusLimitCheckerResponse.ProtoReflect.Descriptor instead.
114
+ func (*ExportStatusLimitCheckerResponse) Descriptor() ([]byte, []int) {
115
+ return file_limit_checker_api_proto_rawDescGZIP(), []int{1}
116
+ }
117
+
118
+ func (x *ExportStatusLimitCheckerResponse) GetMessage() string {
119
+ if x != nil {
120
+ return x.Message
121
+ }
122
+ return ""
123
+ }
124
+
125
+ type ReportFullExportStatusLimitCheckerRequest struct {
126
+ state protoimpl.MessageState
127
+ sizeCache protoimpl.SizeCache
128
+ unknownFields protoimpl.UnknownFields
129
+
130
+ AppId string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
131
+ TraceId string `protobuf:"bytes,2,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
132
+ }
133
+
134
+ func (x *ReportFullExportStatusLimitCheckerRequest) Reset() {
135
+ *x = ReportFullExportStatusLimitCheckerRequest{}
136
+ if protoimpl.UnsafeEnabled {
137
+ mi := &file_limit_checker_api_proto_msgTypes[2]
138
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
139
+ ms.StoreMessageInfo(mi)
140
+ }
141
+ }
142
+
143
+ func (x *ReportFullExportStatusLimitCheckerRequest) String() string {
144
+ return protoimpl.X.MessageStringOf(x)
145
+ }
146
+
147
+ func (*ReportFullExportStatusLimitCheckerRequest) ProtoMessage() {}
148
+
149
+ func (x *ReportFullExportStatusLimitCheckerRequest) ProtoReflect() protoreflect.Message {
150
+ mi := &file_limit_checker_api_proto_msgTypes[2]
151
+ if protoimpl.UnsafeEnabled && x != nil {
152
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
153
+ if ms.LoadMessageInfo() == nil {
154
+ ms.StoreMessageInfo(mi)
155
+ }
156
+ return ms
157
+ }
158
+ return mi.MessageOf(x)
159
+ }
160
+
161
+ // Deprecated: Use ReportFullExportStatusLimitCheckerRequest.ProtoReflect.Descriptor instead.
162
+ func (*ReportFullExportStatusLimitCheckerRequest) Descriptor() ([]byte, []int) {
163
+ return file_limit_checker_api_proto_rawDescGZIP(), []int{2}
164
+ }
165
+
166
+ func (x *ReportFullExportStatusLimitCheckerRequest) GetAppId() string {
167
+ if x != nil {
168
+ return x.AppId
169
+ }
170
+ return ""
171
+ }
172
+
173
+ func (x *ReportFullExportStatusLimitCheckerRequest) GetTraceId() string {
174
+ if x != nil {
175
+ return x.TraceId
176
+ }
177
+ return ""
178
+ }
179
+
180
+ type ReportFullExportStatusLimitCheckerResponse struct {
181
+ state protoimpl.MessageState
182
+ sizeCache protoimpl.SizeCache
183
+ unknownFields protoimpl.UnknownFields
184
+
185
+ Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
186
+ }
187
+
188
+ func (x *ReportFullExportStatusLimitCheckerResponse) Reset() {
189
+ *x = ReportFullExportStatusLimitCheckerResponse{}
190
+ if protoimpl.UnsafeEnabled {
191
+ mi := &file_limit_checker_api_proto_msgTypes[3]
192
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
193
+ ms.StoreMessageInfo(mi)
194
+ }
195
+ }
196
+
197
+ func (x *ReportFullExportStatusLimitCheckerResponse) String() string {
198
+ return protoimpl.X.MessageStringOf(x)
199
+ }
200
+
201
+ func (*ReportFullExportStatusLimitCheckerResponse) ProtoMessage() {}
202
+
203
+ func (x *ReportFullExportStatusLimitCheckerResponse) ProtoReflect() protoreflect.Message {
204
+ mi := &file_limit_checker_api_proto_msgTypes[3]
205
+ if protoimpl.UnsafeEnabled && x != nil {
206
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
207
+ if ms.LoadMessageInfo() == nil {
208
+ ms.StoreMessageInfo(mi)
209
+ }
210
+ return ms
211
+ }
212
+ return mi.MessageOf(x)
213
+ }
214
+
215
+ // Deprecated: Use ReportFullExportStatusLimitCheckerResponse.ProtoReflect.Descriptor instead.
216
+ func (*ReportFullExportStatusLimitCheckerResponse) Descriptor() ([]byte, []int) {
217
+ return file_limit_checker_api_proto_rawDescGZIP(), []int{3}
218
+ }
219
+
220
+ func (x *ReportFullExportStatusLimitCheckerResponse) GetMessage() string {
221
+ if x != nil {
222
+ return x.Message
223
+ }
224
+ return ""
225
+ }
226
+
227
+ type ScanNowLimitCheckerRequest struct {
228
+ state protoimpl.MessageState
229
+ sizeCache protoimpl.SizeCache
230
+ unknownFields protoimpl.UnknownFields
231
+
232
+ SourceId string `protobuf:"bytes,1,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
233
+ TraceId string `protobuf:"bytes,2,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
234
+ }
235
+
236
+ func (x *ScanNowLimitCheckerRequest) Reset() {
237
+ *x = ScanNowLimitCheckerRequest{}
238
+ if protoimpl.UnsafeEnabled {
239
+ mi := &file_limit_checker_api_proto_msgTypes[4]
240
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
241
+ ms.StoreMessageInfo(mi)
242
+ }
243
+ }
244
+
245
+ func (x *ScanNowLimitCheckerRequest) String() string {
246
+ return protoimpl.X.MessageStringOf(x)
247
+ }
248
+
249
+ func (*ScanNowLimitCheckerRequest) ProtoMessage() {}
250
+
251
+ func (x *ScanNowLimitCheckerRequest) ProtoReflect() protoreflect.Message {
252
+ mi := &file_limit_checker_api_proto_msgTypes[4]
253
+ if protoimpl.UnsafeEnabled && x != nil {
254
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
255
+ if ms.LoadMessageInfo() == nil {
256
+ ms.StoreMessageInfo(mi)
257
+ }
258
+ return ms
259
+ }
260
+ return mi.MessageOf(x)
261
+ }
262
+
263
+ // Deprecated: Use ScanNowLimitCheckerRequest.ProtoReflect.Descriptor instead.
264
+ func (*ScanNowLimitCheckerRequest) Descriptor() ([]byte, []int) {
265
+ return file_limit_checker_api_proto_rawDescGZIP(), []int{4}
266
+ }
267
+
268
+ func (x *ScanNowLimitCheckerRequest) GetSourceId() string {
269
+ if x != nil {
270
+ return x.SourceId
271
+ }
272
+ return ""
273
+ }
274
+
275
+ func (x *ScanNowLimitCheckerRequest) GetTraceId() string {
276
+ if x != nil {
277
+ return x.TraceId
278
+ }
279
+ return ""
280
+ }
281
+
282
+ type ScanNowLimitCheckerResponse struct {
283
+ state protoimpl.MessageState
284
+ sizeCache protoimpl.SizeCache
285
+ unknownFields protoimpl.UnknownFields
286
+
287
+ Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
288
+ }
289
+
290
+ func (x *ScanNowLimitCheckerResponse) Reset() {
291
+ *x = ScanNowLimitCheckerResponse{}
292
+ if protoimpl.UnsafeEnabled {
293
+ mi := &file_limit_checker_api_proto_msgTypes[5]
294
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
295
+ ms.StoreMessageInfo(mi)
296
+ }
297
+ }
298
+
299
+ func (x *ScanNowLimitCheckerResponse) String() string {
300
+ return protoimpl.X.MessageStringOf(x)
301
+ }
302
+
303
+ func (*ScanNowLimitCheckerResponse) ProtoMessage() {}
304
+
305
+ func (x *ScanNowLimitCheckerResponse) ProtoReflect() protoreflect.Message {
306
+ mi := &file_limit_checker_api_proto_msgTypes[5]
307
+ if protoimpl.UnsafeEnabled && x != nil {
308
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
309
+ if ms.LoadMessageInfo() == nil {
310
+ ms.StoreMessageInfo(mi)
311
+ }
312
+ return ms
313
+ }
314
+ return mi.MessageOf(x)
315
+ }
316
+
317
+ // Deprecated: Use ScanNowLimitCheckerResponse.ProtoReflect.Descriptor instead.
318
+ func (*ScanNowLimitCheckerResponse) Descriptor() ([]byte, []int) {
319
+ return file_limit_checker_api_proto_rawDescGZIP(), []int{5}
320
+ }
321
+
322
+ func (x *ScanNowLimitCheckerResponse) GetMessage() string {
323
+ if x != nil {
324
+ return x.Message
325
+ }
326
+ return ""
327
+ }
328
+
329
+ var File_limit_checker_api_proto protoreflect.FileDescriptor
330
+
331
+ var file_limit_checker_api_proto_rawDesc = []byte{
332
+ 0x0a, 0x17, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x5f,
333
+ 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x26, 0x6c, 0x61, 0x6e, 0x73, 0x77,
334
+ 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f,
335
+ 0x6e, 0x73, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x76,
336
+ 0x31, 0x22, 0x51, 0x0a, 0x1f, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75,
337
+ 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x71,
338
+ 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20,
339
+ 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x72,
340
+ 0x61, 0x63, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x61,
341
+ 0x63, 0x65, 0x49, 0x64, 0x22, 0x3c, 0x0a, 0x20, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x74,
342
+ 0x61, 0x74, 0x75, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72,
343
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73,
344
+ 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61,
345
+ 0x67, 0x65, 0x22, 0x5d, 0x0a, 0x29, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x46, 0x75, 0x6c, 0x6c,
346
+ 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4c, 0x69, 0x6d, 0x69,
347
+ 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
348
+ 0x15, 0x0a, 0x06, 0x61, 0x70, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
349
+ 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f,
350
+ 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49,
351
+ 0x64, 0x22, 0x46, 0x0a, 0x2a, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x45,
352
+ 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74,
353
+ 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
354
+ 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
355
+ 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x54, 0x0a, 0x1a, 0x53, 0x63, 0x61,
356
+ 0x6e, 0x4e, 0x6f, 0x77, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72,
357
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x6f, 0x75, 0x72, 0x63,
358
+ 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x6f, 0x75, 0x72,
359
+ 0x63, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64,
360
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x22,
361
+ 0x37, 0x0a, 0x1b, 0x53, 0x63, 0x61, 0x6e, 0x4e, 0x6f, 0x77, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43,
362
+ 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18,
363
+ 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
364
+ 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0xbf, 0x04, 0x0a, 0x18, 0x49, 0x6e, 0x74,
365
+ 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x68,
366
+ 0x65, 0x63, 0x6b, 0x65, 0x72, 0x12, 0xaf, 0x01, 0x0a, 0x18, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74,
367
+ 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b,
368
+ 0x65, 0x72, 0x12, 0x47, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e,
369
+ 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x6c, 0x69, 0x6d, 0x69,
370
+ 0x74, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6f,
371
+ 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x68, 0x65,
372
+ 0x63, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x48, 0x2e, 0x6c, 0x61,
373
+ 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61,
374
+ 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65,
375
+ 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75,
376
+ 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73,
377
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0xcd, 0x01, 0x0a, 0x22, 0x52, 0x65, 0x70, 0x6f,
378
+ 0x72, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74,
379
+ 0x75, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x51,
380
+ 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x69, 0x6e, 0x74, 0x65,
381
+ 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x63, 0x68, 0x65,
382
+ 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x46, 0x75,
383
+ 0x6c, 0x6c, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4c, 0x69,
384
+ 0x6d, 0x69, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
385
+ 0x74, 0x1a, 0x52, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x69,
386
+ 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x6c, 0x69, 0x6d, 0x69, 0x74,
387
+ 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72,
388
+ 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75,
389
+ 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73,
390
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0xa0, 0x01, 0x0a, 0x13, 0x53, 0x63, 0x61, 0x6e,
391
+ 0x4e, 0x6f, 0x77, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x12,
392
+ 0x42, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x69, 0x6e, 0x74,
393
+ 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x63, 0x68,
394
+ 0x65, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x61, 0x6e, 0x4e, 0x6f, 0x77,
395
+ 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
396
+ 0x65, 0x73, 0x74, 0x1a, 0x43, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72,
397
+ 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x6c, 0x69, 0x6d,
398
+ 0x69, 0x74, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x61,
399
+ 0x6e, 0x4e, 0x6f, 0x77, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72,
400
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x10, 0x5a, 0x0e, 0x2e, 0x2f,
401
+ 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x62, 0x06, 0x70, 0x72,
402
+ 0x6f, 0x74, 0x6f, 0x33,
403
+ }
404
+
405
+ var (
406
+ file_limit_checker_api_proto_rawDescOnce sync.Once
407
+ file_limit_checker_api_proto_rawDescData = file_limit_checker_api_proto_rawDesc
408
+ )
409
+
410
+ func file_limit_checker_api_proto_rawDescGZIP() []byte {
411
+ file_limit_checker_api_proto_rawDescOnce.Do(func() {
412
+ file_limit_checker_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_limit_checker_api_proto_rawDescData)
413
+ })
414
+ return file_limit_checker_api_proto_rawDescData
415
+ }
416
+
417
+ var file_limit_checker_api_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
418
+ var file_limit_checker_api_proto_goTypes = []interface{}{
419
+ (*ExportStatusLimitCheckerRequest)(nil), // 0: lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerRequest
420
+ (*ExportStatusLimitCheckerResponse)(nil), // 1: lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerResponse
421
+ (*ReportFullExportStatusLimitCheckerRequest)(nil), // 2: lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest
422
+ (*ReportFullExportStatusLimitCheckerResponse)(nil), // 3: lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse
423
+ (*ScanNowLimitCheckerRequest)(nil), // 4: lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest
424
+ (*ScanNowLimitCheckerResponse)(nil), // 5: lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse
425
+ }
426
+ var file_limit_checker_api_proto_depIdxs = []int32{
427
+ 0, // 0: lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker.ExportStatusLimitChecker:input_type -> lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerRequest
428
+ 2, // 1: lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker.ReportFullExportStatusLimitChecker:input_type -> lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest
429
+ 4, // 2: lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker.ScanNowLimitChecker:input_type -> lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest
430
+ 1, // 3: lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker.ExportStatusLimitChecker:output_type -> lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerResponse
431
+ 3, // 4: lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker.ReportFullExportStatusLimitChecker:output_type -> lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse
432
+ 5, // 5: lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker.ScanNowLimitChecker:output_type -> lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse
433
+ 3, // [3:6] is the sub-list for method output_type
434
+ 0, // [0:3] is the sub-list for method input_type
435
+ 0, // [0:0] is the sub-list for extension type_name
436
+ 0, // [0:0] is the sub-list for extension extendee
437
+ 0, // [0:0] is the sub-list for field type_name
438
+ }
439
+
440
+ func init() { file_limit_checker_api_proto_init() }
441
+ func file_limit_checker_api_proto_init() {
442
+ if File_limit_checker_api_proto != nil {
443
+ return
444
+ }
445
+ if !protoimpl.UnsafeEnabled {
446
+ file_limit_checker_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
447
+ switch v := v.(*ExportStatusLimitCheckerRequest); i {
448
+ case 0:
449
+ return &v.state
450
+ case 1:
451
+ return &v.sizeCache
452
+ case 2:
453
+ return &v.unknownFields
454
+ default:
455
+ return nil
456
+ }
457
+ }
458
+ file_limit_checker_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
459
+ switch v := v.(*ExportStatusLimitCheckerResponse); i {
460
+ case 0:
461
+ return &v.state
462
+ case 1:
463
+ return &v.sizeCache
464
+ case 2:
465
+ return &v.unknownFields
466
+ default:
467
+ return nil
468
+ }
469
+ }
470
+ file_limit_checker_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
471
+ switch v := v.(*ReportFullExportStatusLimitCheckerRequest); i {
472
+ case 0:
473
+ return &v.state
474
+ case 1:
475
+ return &v.sizeCache
476
+ case 2:
477
+ return &v.unknownFields
478
+ default:
479
+ return nil
480
+ }
481
+ }
482
+ file_limit_checker_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
483
+ switch v := v.(*ReportFullExportStatusLimitCheckerResponse); i {
484
+ case 0:
485
+ return &v.state
486
+ case 1:
487
+ return &v.sizeCache
488
+ case 2:
489
+ return &v.unknownFields
490
+ default:
491
+ return nil
492
+ }
493
+ }
494
+ file_limit_checker_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
495
+ switch v := v.(*ScanNowLimitCheckerRequest); i {
496
+ case 0:
497
+ return &v.state
498
+ case 1:
499
+ return &v.sizeCache
500
+ case 2:
501
+ return &v.unknownFields
502
+ default:
503
+ return nil
504
+ }
505
+ }
506
+ file_limit_checker_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
507
+ switch v := v.(*ScanNowLimitCheckerResponse); i {
508
+ case 0:
509
+ return &v.state
510
+ case 1:
511
+ return &v.sizeCache
512
+ case 2:
513
+ return &v.unknownFields
514
+ default:
515
+ return nil
516
+ }
517
+ }
518
+ }
519
+ type x struct{}
520
+ out := protoimpl.TypeBuilder{
521
+ File: protoimpl.DescBuilder{
522
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
523
+ RawDescriptor: file_limit_checker_api_proto_rawDesc,
524
+ NumEnums: 0,
525
+ NumMessages: 6,
526
+ NumExtensions: 0,
527
+ NumServices: 1,
528
+ },
529
+ GoTypes: file_limit_checker_api_proto_goTypes,
530
+ DependencyIndexes: file_limit_checker_api_proto_depIdxs,
531
+ MessageInfos: file_limit_checker_api_proto_msgTypes,
532
+ }.Build()
533
+ File_limit_checker_api_proto = out.File
534
+ file_limit_checker_api_proto_rawDesc = nil
535
+ file_limit_checker_api_proto_goTypes = nil
536
+ file_limit_checker_api_proto_depIdxs = nil
537
+ }
@@ -0,0 +1,184 @@
1
+ // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
2
+ // versions:
3
+ // - protoc-gen-go-grpc v1.3.0
4
+ // - protoc v3.15.6
5
+ // source: limit_checker_api.proto
6
+
7
+ package generated_go
8
+
9
+ import (
10
+ context "context"
11
+ grpc "google.golang.org/grpc"
12
+ codes "google.golang.org/grpc/codes"
13
+ status "google.golang.org/grpc/status"
14
+ )
15
+
16
+ // This is a compile-time assertion to ensure that this generated file
17
+ // is compatible with the grpc package it is being compiled against.
18
+ // Requires gRPC-Go v1.32.0 or later.
19
+ const _ = grpc.SupportPackageIsVersion7
20
+
21
+ const (
22
+ IntegrationsLimitChecker_ExportStatusLimitChecker_FullMethodName = "/lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker/ExportStatusLimitChecker"
23
+ IntegrationsLimitChecker_ReportFullExportStatusLimitChecker_FullMethodName = "/lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker/ReportFullExportStatusLimitChecker"
24
+ IntegrationsLimitChecker_ScanNowLimitChecker_FullMethodName = "/lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker/ScanNowLimitChecker"
25
+ )
26
+
27
+ // IntegrationsLimitCheckerClient is the client API for IntegrationsLimitChecker service.
28
+ //
29
+ // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
30
+ type IntegrationsLimitCheckerClient interface {
31
+ ExportStatusLimitChecker(ctx context.Context, in *ExportStatusLimitCheckerRequest, opts ...grpc.CallOption) (*ExportStatusLimitCheckerResponse, error)
32
+ ReportFullExportStatusLimitChecker(ctx context.Context, in *ReportFullExportStatusLimitCheckerRequest, opts ...grpc.CallOption) (*ReportFullExportStatusLimitCheckerResponse, error)
33
+ ScanNowLimitChecker(ctx context.Context, in *ScanNowLimitCheckerRequest, opts ...grpc.CallOption) (*ScanNowLimitCheckerResponse, error)
34
+ }
35
+
36
+ type integrationsLimitCheckerClient struct {
37
+ cc grpc.ClientConnInterface
38
+ }
39
+
40
+ func NewIntegrationsLimitCheckerClient(cc grpc.ClientConnInterface) IntegrationsLimitCheckerClient {
41
+ return &integrationsLimitCheckerClient{cc}
42
+ }
43
+
44
+ func (c *integrationsLimitCheckerClient) ExportStatusLimitChecker(ctx context.Context, in *ExportStatusLimitCheckerRequest, opts ...grpc.CallOption) (*ExportStatusLimitCheckerResponse, error) {
45
+ out := new(ExportStatusLimitCheckerResponse)
46
+ err := c.cc.Invoke(ctx, IntegrationsLimitChecker_ExportStatusLimitChecker_FullMethodName, in, out, opts...)
47
+ if err != nil {
48
+ return nil, err
49
+ }
50
+ return out, nil
51
+ }
52
+
53
+ func (c *integrationsLimitCheckerClient) ReportFullExportStatusLimitChecker(ctx context.Context, in *ReportFullExportStatusLimitCheckerRequest, opts ...grpc.CallOption) (*ReportFullExportStatusLimitCheckerResponse, error) {
54
+ out := new(ReportFullExportStatusLimitCheckerResponse)
55
+ err := c.cc.Invoke(ctx, IntegrationsLimitChecker_ReportFullExportStatusLimitChecker_FullMethodName, in, out, opts...)
56
+ if err != nil {
57
+ return nil, err
58
+ }
59
+ return out, nil
60
+ }
61
+
62
+ func (c *integrationsLimitCheckerClient) ScanNowLimitChecker(ctx context.Context, in *ScanNowLimitCheckerRequest, opts ...grpc.CallOption) (*ScanNowLimitCheckerResponse, error) {
63
+ out := new(ScanNowLimitCheckerResponse)
64
+ err := c.cc.Invoke(ctx, IntegrationsLimitChecker_ScanNowLimitChecker_FullMethodName, in, out, opts...)
65
+ if err != nil {
66
+ return nil, err
67
+ }
68
+ return out, nil
69
+ }
70
+
71
+ // IntegrationsLimitCheckerServer is the server API for IntegrationsLimitChecker service.
72
+ // All implementations must embed UnimplementedIntegrationsLimitCheckerServer
73
+ // for forward compatibility
74
+ type IntegrationsLimitCheckerServer interface {
75
+ ExportStatusLimitChecker(context.Context, *ExportStatusLimitCheckerRequest) (*ExportStatusLimitCheckerResponse, error)
76
+ ReportFullExportStatusLimitChecker(context.Context, *ReportFullExportStatusLimitCheckerRequest) (*ReportFullExportStatusLimitCheckerResponse, error)
77
+ ScanNowLimitChecker(context.Context, *ScanNowLimitCheckerRequest) (*ScanNowLimitCheckerResponse, error)
78
+ mustEmbedUnimplementedIntegrationsLimitCheckerServer()
79
+ }
80
+
81
+ // UnimplementedIntegrationsLimitCheckerServer must be embedded to have forward compatible implementations.
82
+ type UnimplementedIntegrationsLimitCheckerServer struct {
83
+ }
84
+
85
+ func (UnimplementedIntegrationsLimitCheckerServer) ExportStatusLimitChecker(context.Context, *ExportStatusLimitCheckerRequest) (*ExportStatusLimitCheckerResponse, error) {
86
+ return nil, status.Errorf(codes.Unimplemented, "method ExportStatusLimitChecker not implemented")
87
+ }
88
+ func (UnimplementedIntegrationsLimitCheckerServer) ReportFullExportStatusLimitChecker(context.Context, *ReportFullExportStatusLimitCheckerRequest) (*ReportFullExportStatusLimitCheckerResponse, error) {
89
+ return nil, status.Errorf(codes.Unimplemented, "method ReportFullExportStatusLimitChecker not implemented")
90
+ }
91
+ func (UnimplementedIntegrationsLimitCheckerServer) ScanNowLimitChecker(context.Context, *ScanNowLimitCheckerRequest) (*ScanNowLimitCheckerResponse, error) {
92
+ return nil, status.Errorf(codes.Unimplemented, "method ScanNowLimitChecker not implemented")
93
+ }
94
+ func (UnimplementedIntegrationsLimitCheckerServer) mustEmbedUnimplementedIntegrationsLimitCheckerServer() {
95
+ }
96
+
97
+ // UnsafeIntegrationsLimitCheckerServer may be embedded to opt out of forward compatibility for this service.
98
+ // Use of this interface is not recommended, as added methods to IntegrationsLimitCheckerServer will
99
+ // result in compilation errors.
100
+ type UnsafeIntegrationsLimitCheckerServer interface {
101
+ mustEmbedUnimplementedIntegrationsLimitCheckerServer()
102
+ }
103
+
104
+ func RegisterIntegrationsLimitCheckerServer(s grpc.ServiceRegistrar, srv IntegrationsLimitCheckerServer) {
105
+ s.RegisterService(&IntegrationsLimitChecker_ServiceDesc, srv)
106
+ }
107
+
108
+ func _IntegrationsLimitChecker_ExportStatusLimitChecker_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
109
+ in := new(ExportStatusLimitCheckerRequest)
110
+ if err := dec(in); err != nil {
111
+ return nil, err
112
+ }
113
+ if interceptor == nil {
114
+ return srv.(IntegrationsLimitCheckerServer).ExportStatusLimitChecker(ctx, in)
115
+ }
116
+ info := &grpc.UnaryServerInfo{
117
+ Server: srv,
118
+ FullMethod: IntegrationsLimitChecker_ExportStatusLimitChecker_FullMethodName,
119
+ }
120
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
121
+ return srv.(IntegrationsLimitCheckerServer).ExportStatusLimitChecker(ctx, req.(*ExportStatusLimitCheckerRequest))
122
+ }
123
+ return interceptor(ctx, in, info, handler)
124
+ }
125
+
126
+ func _IntegrationsLimitChecker_ReportFullExportStatusLimitChecker_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
127
+ in := new(ReportFullExportStatusLimitCheckerRequest)
128
+ if err := dec(in); err != nil {
129
+ return nil, err
130
+ }
131
+ if interceptor == nil {
132
+ return srv.(IntegrationsLimitCheckerServer).ReportFullExportStatusLimitChecker(ctx, in)
133
+ }
134
+ info := &grpc.UnaryServerInfo{
135
+ Server: srv,
136
+ FullMethod: IntegrationsLimitChecker_ReportFullExportStatusLimitChecker_FullMethodName,
137
+ }
138
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
139
+ return srv.(IntegrationsLimitCheckerServer).ReportFullExportStatusLimitChecker(ctx, req.(*ReportFullExportStatusLimitCheckerRequest))
140
+ }
141
+ return interceptor(ctx, in, info, handler)
142
+ }
143
+
144
+ func _IntegrationsLimitChecker_ScanNowLimitChecker_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
145
+ in := new(ScanNowLimitCheckerRequest)
146
+ if err := dec(in); err != nil {
147
+ return nil, err
148
+ }
149
+ if interceptor == nil {
150
+ return srv.(IntegrationsLimitCheckerServer).ScanNowLimitChecker(ctx, in)
151
+ }
152
+ info := &grpc.UnaryServerInfo{
153
+ Server: srv,
154
+ FullMethod: IntegrationsLimitChecker_ScanNowLimitChecker_FullMethodName,
155
+ }
156
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
157
+ return srv.(IntegrationsLimitCheckerServer).ScanNowLimitChecker(ctx, req.(*ScanNowLimitCheckerRequest))
158
+ }
159
+ return interceptor(ctx, in, info, handler)
160
+ }
161
+
162
+ // IntegrationsLimitChecker_ServiceDesc is the grpc.ServiceDesc for IntegrationsLimitChecker service.
163
+ // It's only intended for direct use with grpc.RegisterService,
164
+ // and not to be introspected or modified (even as a copy)
165
+ var IntegrationsLimitChecker_ServiceDesc = grpc.ServiceDesc{
166
+ ServiceName: "lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker",
167
+ HandlerType: (*IntegrationsLimitCheckerServer)(nil),
168
+ Methods: []grpc.MethodDesc{
169
+ {
170
+ MethodName: "ExportStatusLimitChecker",
171
+ Handler: _IntegrationsLimitChecker_ExportStatusLimitChecker_Handler,
172
+ },
173
+ {
174
+ MethodName: "ReportFullExportStatusLimitChecker",
175
+ Handler: _IntegrationsLimitChecker_ReportFullExportStatusLimitChecker_Handler,
176
+ },
177
+ {
178
+ MethodName: "ScanNowLimitChecker",
179
+ Handler: _IntegrationsLimitChecker_ScanNowLimitChecker_Handler,
180
+ },
181
+ },
182
+ Streams: []grpc.StreamDesc{},
183
+ Metadata: "limit_checker_api.proto",
184
+ }
package/go.mod ADDED
@@ -0,0 +1,3 @@
1
+ module github.com/Lansweeper/lansweeperapis/packages/integrations/limit.checker/grpc
2
+
3
+ go 1.17
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lansweeper/integrations-limit-checker-grpc",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "description": "Limit Checker GRPC Integration",
5
5
  "main": "gen-proto/index.js",
6
6
  "types": "gen-proto/index.d.ts",
@@ -9,5 +9,5 @@
9
9
  "@grpc/grpc-js": "^1.5.1",
10
10
  "google-protobuf": "^3.17.0"
11
11
  },
12
- "gitHead": "7a7f9e62e723c565e21b7ad3c584f1abf6699317"
12
+ "gitHead": "b18d7065902425e12390b53858ff85be73da82d2"
13
13
  }
@@ -2,6 +2,8 @@ syntax = "proto3";
2
2
 
3
3
  package lansweeper.integrationslimitchecker.v1;
4
4
 
5
+ option go_package = "./generated-go";
6
+
5
7
  message ExportStatusLimitCheckerRequest {
6
8
  string appId = 1;
7
9
  string traceId = 2;