Debian Codegraph @

shopping/merchant/quota/apiv1/quotapb/quota.pb.go

raw symbols SCIP
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/shopping/merchant/quota/v1/quota.proto
20
21 package quotapb
22
23 import (
24 context "context"
25 _ "google.golang.org/genproto/googleapis/api/annotations"
26 grpc "google.golang.org/grpc"
27 codes "google.golang.org/grpc/codes"
28 status "google.golang.org/grpc/status"
29 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31 reflect "reflect"
32 sync "sync"
33 )
34
35 const (
36 // Verify that this generated code is sufficiently up-to-date.
37 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
38 // Verify that runtime/protoimpl is sufficiently up-to-date.
39 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
40 )
41
42 // The group information for methods in the Merchant API. The quota is shared
43 //
44 // between all methods in the group. Even if none of the methods within the
45 // group have usage the information for the group is returned.
46 type QuotaGroup struct {
47 state protoimpl.MessageState
48 sizeCache protoimpl.SizeCache
49 unknownFields protoimpl.UnknownFields
50
51 // Identifier. The resource name of the quota group.
52 // Format: accounts/{account}/quotas/{group}
53 // Note: There is no guarantee on the format of {group}
54 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
55 // Output only. The current quota usage, meaning the number of calls already
56 // made on a given day to the methods in the group. The daily quota limits
57 // reset at at 12:00 PM midday UTC.
58 QuotaUsage int64 `protobuf:"varint,2,opt,name=quota_usage,json=quotaUsage,proto3" json:"quota_usage,omitempty"`
59 // Output only. The maximum number of calls allowed per day for the group.
60 QuotaLimit int64 `protobuf:"varint,3,opt,name=quota_limit,json=quotaLimit,proto3" json:"quota_limit,omitempty"`
61 // Output only. The maximum number of calls allowed per minute for the group.
62 QuotaMinuteLimit int64 `protobuf:"varint,5,opt,name=quota_minute_limit,json=quotaMinuteLimit,proto3" json:"quota_minute_limit,omitempty"`
63 // Output only. List of all methods group quota applies to.
64 MethodDetails []*MethodDetails `protobuf:"bytes,4,rep,name=method_details,json=methodDetails,proto3" json:"method_details,omitempty"`
65 }
66
67 func (x *QuotaGroup) Reset() {
68 *x = QuotaGroup{}
69 mi := &file_google_shopping_merchant_quota_v1_quota_proto_msgTypes[0]
70 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
71 ms.StoreMessageInfo(mi)
72 }
73
74 func (x *QuotaGroup) String() string {
75 return protoimpl.X.MessageStringOf(x)
76 }
77
78 func (*QuotaGroup) ProtoMessage() {}
79
80 func (x *QuotaGroup) ProtoReflect() protoreflect.Message {
81 mi := &file_google_shopping_merchant_quota_v1_quota_proto_msgTypes[0]
82 if x != nil {
83 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
84 if ms.LoadMessageInfo() == nil {
85 ms.StoreMessageInfo(mi)
86 }
87 return ms
88 }
89 return mi.MessageOf(x)
90 }
91
92 // Deprecated: Use QuotaGroup.ProtoReflect.Descriptor instead.
93 func (*QuotaGroup) Descriptor() ([]byte, []int) {
94 return file_google_shopping_merchant_quota_v1_quota_proto_rawDescGZIP(), []int{0}
95 }
96
97 func (x *QuotaGroup) GetName() string {
98 if x != nil {
99 return x.Name
100 }
101 return ""
102 }
103
104 func (x *QuotaGroup) GetQuotaUsage() int64 {
105 if x != nil {
106 return x.QuotaUsage
107 }
108 return 0
109 }
110
111 func (x *QuotaGroup) GetQuotaLimit() int64 {
112 if x != nil {
113 return x.QuotaLimit
114 }
115 return 0
116 }
117
118 func (x *QuotaGroup) GetQuotaMinuteLimit() int64 {
119 if x != nil {
120 return x.QuotaMinuteLimit
121 }
122 return 0
123 }
124
125 func (x *QuotaGroup) GetMethodDetails() []*MethodDetails {
126 if x != nil {
127 return x.MethodDetails
128 }
129 return nil
130 }
131
132 // The method details per method in the Merchant API.
133 type MethodDetails struct {
134 state protoimpl.MessageState
135 sizeCache protoimpl.SizeCache
136 unknownFields protoimpl.UnknownFields
137
138 // Output only. The name of the method for example `products.list`.
139 Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
140 // Output only. The API version that the method belongs to.
141 Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
142 // Output only. The sub-API that the method belongs to.
143 Subapi string `protobuf:"bytes,3,opt,name=subapi,proto3" json:"subapi,omitempty"`
144 // Output only. The path for the method such as
145 // `products/v1/productInputs.insert`
146 Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
147 }
148
149 func (x *MethodDetails) Reset() {
150 *x = MethodDetails{}
151 mi := &file_google_shopping_merchant_quota_v1_quota_proto_msgTypes[1]
152 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
153 ms.StoreMessageInfo(mi)
154 }
155
156 func (x *MethodDetails) String() string {
157 return protoimpl.X.MessageStringOf(x)
158 }
159
160 func (*MethodDetails) ProtoMessage() {}
161
162 func (x *MethodDetails) ProtoReflect() protoreflect.Message {
163 mi := &file_google_shopping_merchant_quota_v1_quota_proto_msgTypes[1]
164 if x != nil {
165 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
166 if ms.LoadMessageInfo() == nil {
167 ms.StoreMessageInfo(mi)
168 }
169 return ms
170 }
171 return mi.MessageOf(x)
172 }
173
174 // Deprecated: Use MethodDetails.ProtoReflect.Descriptor instead.
175 func (*MethodDetails) Descriptor() ([]byte, []int) {
176 return file_google_shopping_merchant_quota_v1_quota_proto_rawDescGZIP(), []int{1}
177 }
178
179 func (x *MethodDetails) GetMethod() string {
180 if x != nil {
181 return x.Method
182 }
183 return ""
184 }
185
186 func (x *MethodDetails) GetVersion() string {
187 if x != nil {
188 return x.Version
189 }
190 return ""
191 }
192
193 func (x *MethodDetails) GetSubapi() string {
194 if x != nil {
195 return x.Subapi
196 }
197 return ""
198 }
199
200 func (x *MethodDetails) GetPath() string {
201 if x != nil {
202 return x.Path
203 }
204 return ""
205 }
206
207 // Request message for the ListQuotaGroups method.
208 type ListQuotaGroupsRequest struct {
209 state protoimpl.MessageState
210 sizeCache protoimpl.SizeCache
211 unknownFields protoimpl.UnknownFields
212
213 // Required. The merchant account who owns the collection of method quotas
214 // Format: accounts/{account}
215 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
216 // Optional. The maximum number of quotas to return in the response, used
217 // for paging. Defaults to 500; values above 1000 will be coerced to 1000.
218 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
219 // Optional. Token (if provided) to retrieve the subsequent page. All other
220 // parameters must match the original call that provided the page token.
221 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
222 }
223
224 func (x *ListQuotaGroupsRequest) Reset() {
225 *x = ListQuotaGroupsRequest{}
226 mi := &file_google_shopping_merchant_quota_v1_quota_proto_msgTypes[2]
227 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
228 ms.StoreMessageInfo(mi)
229 }
230
231 func (x *ListQuotaGroupsRequest) String() string {
232 return protoimpl.X.MessageStringOf(x)
233 }
234
235 func (*ListQuotaGroupsRequest) ProtoMessage() {}
236
237 func (x *ListQuotaGroupsRequest) ProtoReflect() protoreflect.Message {
238 mi := &file_google_shopping_merchant_quota_v1_quota_proto_msgTypes[2]
239 if x != nil {
240 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
241 if ms.LoadMessageInfo() == nil {
242 ms.StoreMessageInfo(mi)
243 }
244 return ms
245 }
246 return mi.MessageOf(x)
247 }
248
249 // Deprecated: Use ListQuotaGroupsRequest.ProtoReflect.Descriptor instead.
250 func (*ListQuotaGroupsRequest) Descriptor() ([]byte, []int) {
251 return file_google_shopping_merchant_quota_v1_quota_proto_rawDescGZIP(), []int{2}
252 }
253
254 func (x *ListQuotaGroupsRequest) GetParent() string {
255 if x != nil {
256 return x.Parent
257 }
258 return ""
259 }
260
261 func (x *ListQuotaGroupsRequest) GetPageSize() int32 {
262 if x != nil {
263 return x.PageSize
264 }
265 return 0
266 }
267
268 func (x *ListQuotaGroupsRequest) GetPageToken() string {
269 if x != nil {
270 return x.PageToken
271 }
272 return ""
273 }
274
275 // Response message for the ListMethodGroups method.
276 type ListQuotaGroupsResponse struct {
277 state protoimpl.MessageState
278 sizeCache protoimpl.SizeCache
279 unknownFields protoimpl.UnknownFields
280
281 // The methods, current quota usage and limits per each group. The quota is
282 // shared between all methods in the group. The groups are sorted in
283 // descending order based on
284 // [quota_usage][google.shopping.merchant.quota.v1.QuotaGroup.quota_usage].
285 QuotaGroups []*QuotaGroup `protobuf:"bytes,1,rep,name=quota_groups,json=quotaGroups,proto3" json:"quota_groups,omitempty"`
286 // A token, which can be sent as `page_token` to retrieve the next page.
287 // If this field is omitted, there are no subsequent pages.
288 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
289 }
290
291 func (x *ListQuotaGroupsResponse) Reset() {
292 *x = ListQuotaGroupsResponse{}
293 mi := &file_google_shopping_merchant_quota_v1_quota_proto_msgTypes[3]
294 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
295 ms.StoreMessageInfo(mi)
296 }
297
298 func (x *ListQuotaGroupsResponse) String() string {
299 return protoimpl.X.MessageStringOf(x)
300 }
301
302 func (*ListQuotaGroupsResponse) ProtoMessage() {}
303
304 func (x *ListQuotaGroupsResponse) ProtoReflect() protoreflect.Message {
305 mi := &file_google_shopping_merchant_quota_v1_quota_proto_msgTypes[3]
306 if x != nil {
307 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
308 if ms.LoadMessageInfo() == nil {
309 ms.StoreMessageInfo(mi)
310 }
311 return ms
312 }
313 return mi.MessageOf(x)
314 }
315
316 // Deprecated: Use ListQuotaGroupsResponse.ProtoReflect.Descriptor instead.
317 func (*ListQuotaGroupsResponse) Descriptor() ([]byte, []int) {
318 return file_google_shopping_merchant_quota_v1_quota_proto_rawDescGZIP(), []int{3}
319 }
320
321 func (x *ListQuotaGroupsResponse) GetQuotaGroups() []*QuotaGroup {
322 if x != nil {
323 return x.QuotaGroups
324 }
325 return nil
326 }
327
328 func (x *ListQuotaGroupsResponse) GetNextPageToken() string {
329 if x != nil {
330 return x.NextPageToken
331 }
332 return ""
333 }
334
335 var File_google_shopping_merchant_quota_v1_quota_proto protoreflect.FileDescriptor
336
337 var file_google_shopping_merchant_quota_v1_quota_proto_rawDesc = []byte{
338 0x0a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
339 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61,
340 0x2f, 0x76, 0x31, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
341 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
342 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e,
343 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61,
344 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
345 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69,
346 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
347 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61,
348 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67,
349 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e,
350 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xea, 0x02, 0x0a, 0x0a, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x47,
351 0x72, 0x6f, 0x75, 0x70, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
352 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a,
353 0x0b, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01,
354 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x55, 0x73,
355 0x61, 0x67, 0x65, 0x12, 0x24, 0x0a, 0x0b, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x5f, 0x6c, 0x69, 0x6d,
356 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x71,
357 0x75, 0x6f, 0x74, 0x61, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x31, 0x0a, 0x12, 0x71, 0x75, 0x6f,
358 0x74, 0x61, 0x5f, 0x6d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18,
359 0x05, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x10, 0x71, 0x75, 0x6f, 0x74,
360 0x61, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x5c, 0x0a, 0x0e,
361 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x04,
362 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68,
363 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e,
364 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x44,
365 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0d, 0x6d, 0x65, 0x74,
366 0x68, 0x6f, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x3a, 0x66, 0xea, 0x41, 0x63, 0x0a,
367 0x25, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f,
368 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x51, 0x75, 0x6f, 0x74,
369 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x21, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
370 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70,
371 0x73, 0x2f, 0x7b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x7d, 0x2a, 0x0b, 0x71, 0x75, 0x6f, 0x74, 0x61,
372 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x32, 0x0a, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x47, 0x72, 0x6f,
373 0x75, 0x70, 0x22, 0x81, 0x01, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x44, 0x65, 0x74,
374 0x61, 0x69, 0x6c, 0x73, 0x12, 0x1b, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x01,
375 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f,
376 0x64, 0x12, 0x1d, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01,
377 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
378 0x12, 0x1b, 0x0a, 0x06, 0x73, 0x75, 0x62, 0x61, 0x70, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
379 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x73, 0x75, 0x62, 0x61, 0x70, 0x69, 0x12, 0x17, 0x0a,
380 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03,
381 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0xa5, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x51,
382 0x75, 0x6f, 0x74, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
383 0x74, 0x12, 0x45, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
384 0x09, 0x42, 0x2d, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x27, 0x12, 0x25, 0x6d, 0x65, 0x72, 0x63, 0x68,
385 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
386 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70,
387 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65,
388 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01,
389 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61,
390 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
391 0xe0, 0x41, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x93,
392 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x47, 0x72, 0x6f, 0x75,
393 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0c, 0x71, 0x75,
394 0x6f, 0x74, 0x61, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
395 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
396 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x71, 0x75, 0x6f, 0x74,
397 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
398 0x0b, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x26, 0x0a, 0x0f,
399 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18,
400 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54,
401 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0x99, 0x02, 0x0a, 0x0c, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x53, 0x65,
402 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xbf, 0x01, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x51, 0x75,
403 0x6f, 0x74, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
404 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63,
405 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69,
406 0x73, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71,
407 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68,
408 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e,
409 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x51, 0x75, 0x6f,
410 0x74, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
411 0x22, 0x35, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02,
412 0x26, 0x12, 0x24, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61,
413 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d,
414 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x73, 0x1a, 0x47, 0xca, 0x41, 0x1a, 0x6d, 0x65, 0x72, 0x63,
415 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
416 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x27, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f,
417 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
418 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
419 0x42, 0xa3, 0x02, 0xea, 0x41, 0x38, 0x0a, 0x22, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74,
420 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
421 0x6f, 0x6d, 0x2f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x61, 0x63, 0x63, 0x6f,
422 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x0a, 0x25,
423 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70,
424 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x71, 0x75, 0x6f,
425 0x74, 0x61, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x50, 0x72, 0x6f, 0x74,
426 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
427 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
428 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61,
429 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x70, 0x62, 0x3b, 0x71,
430 0x75, 0x6f, 0x74, 0x61, 0x70, 0x62, 0xaa, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
431 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e,
432 0x74, 0x2e, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x21, 0x47, 0x6f, 0x6f,
433 0x67, 0x6c, 0x65, 0x5c, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5c, 0x4d, 0x65, 0x72,
434 0x63, 0x68, 0x61, 0x6e, 0x74, 0x5c, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x5c, 0x56, 0x31, 0xea, 0x02,
435 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
436 0x67, 0x3a, 0x3a, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x3a, 0x3a, 0x51, 0x75, 0x6f,
437 0x74, 0x61, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
438 }
439
440 var (
441 file_google_shopping_merchant_quota_v1_quota_proto_rawDescOnce sync.Once
442 file_google_shopping_merchant_quota_v1_quota_proto_rawDescData = file_google_shopping_merchant_quota_v1_quota_proto_rawDesc
443 )
444
445 func file_google_shopping_merchant_quota_v1_quota_proto_rawDescGZIP() []byte {
446 file_google_shopping_merchant_quota_v1_quota_proto_rawDescOnce.Do(func() {
447 file_google_shopping_merchant_quota_v1_quota_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_quota_v1_quota_proto_rawDescData)
448 })
449 return file_google_shopping_merchant_quota_v1_quota_proto_rawDescData
450 }
451
452 var file_google_shopping_merchant_quota_v1_quota_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
453 var file_google_shopping_merchant_quota_v1_quota_proto_goTypes = []any{
454 (*QuotaGroup)(nil), // 0: google.shopping.merchant.quota.v1.QuotaGroup
455 (*MethodDetails)(nil), // 1: google.shopping.merchant.quota.v1.MethodDetails
456 (*ListQuotaGroupsRequest)(nil), // 2: google.shopping.merchant.quota.v1.ListQuotaGroupsRequest
457 (*ListQuotaGroupsResponse)(nil), // 3: google.shopping.merchant.quota.v1.ListQuotaGroupsResponse
458 }
459 var file_google_shopping_merchant_quota_v1_quota_proto_depIdxs = []int32{
460 1, // 0: google.shopping.merchant.quota.v1.QuotaGroup.method_details:type_name -> google.shopping.merchant.quota.v1.MethodDetails
461 0, // 1: google.shopping.merchant.quota.v1.ListQuotaGroupsResponse.quota_groups:type_name -> google.shopping.merchant.quota.v1.QuotaGroup
462 2, // 2: google.shopping.merchant.quota.v1.QuotaService.ListQuotaGroups:input_type -> google.shopping.merchant.quota.v1.ListQuotaGroupsRequest
463 3, // 3: google.shopping.merchant.quota.v1.QuotaService.ListQuotaGroups:output_type -> google.shopping.merchant.quota.v1.ListQuotaGroupsResponse
464 3, // [3:4] is the sub-list for method output_type
465 2, // [2:3] is the sub-list for method input_type
466 2, // [2:2] is the sub-list for extension type_name
467 2, // [2:2] is the sub-list for extension extendee
468 0, // [0:2] is the sub-list for field type_name
469 }
470
471 func init() { file_google_shopping_merchant_quota_v1_quota_proto_init() }
472 func file_google_shopping_merchant_quota_v1_quota_proto_init() {
473 if File_google_shopping_merchant_quota_v1_quota_proto != nil {
474 return
475 }
476 type x struct{}
477 out := protoimpl.TypeBuilder{
478 File: protoimpl.DescBuilder{
479 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
480 RawDescriptor: file_google_shopping_merchant_quota_v1_quota_proto_rawDesc,
481 NumEnums: 0,
482 NumMessages: 4,
483 NumExtensions: 0,
484 NumServices: 1,
485 },
486 GoTypes: file_google_shopping_merchant_quota_v1_quota_proto_goTypes,
487 DependencyIndexes: file_google_shopping_merchant_quota_v1_quota_proto_depIdxs,
488 MessageInfos: file_google_shopping_merchant_quota_v1_quota_proto_msgTypes,
489 }.Build()
490 File_google_shopping_merchant_quota_v1_quota_proto = out.File
491 file_google_shopping_merchant_quota_v1_quota_proto_rawDesc = nil
492 file_google_shopping_merchant_quota_v1_quota_proto_goTypes = nil
493 file_google_shopping_merchant_quota_v1_quota_proto_depIdxs = nil
494 }
495
496 // Reference imports to suppress errors if they are not otherwise used.
497 var _ context.Context
498 var _ grpc.ClientConnInterface
499
500 // This is a compile-time assertion to ensure that this generated file
501 // is compatible with the grpc package it is being compiled against.
502 const _ = grpc.SupportPackageIsVersion6
503
504 // QuotaServiceClient is the client API for QuotaService service.
505 //
506 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
507 type QuotaServiceClient interface {
508 // Lists the daily call quota and usage per group for your Merchant
509 // Center account.
510 ListQuotaGroups(ctx context.Context, in *ListQuotaGroupsRequest, opts ...grpc.CallOption) (*ListQuotaGroupsResponse, error)
511 }
512
513 type quotaServiceClient struct {
514 cc grpc.ClientConnInterface
515 }
516
517 func NewQuotaServiceClient(cc grpc.ClientConnInterface) QuotaServiceClient {
518 return &quotaServiceClient{cc}
519 }
520
521 func (c *quotaServiceClient) ListQuotaGroups(ctx context.Context, in *ListQuotaGroupsRequest, opts ...grpc.CallOption) (*ListQuotaGroupsResponse, error) {
522 out := new(ListQuotaGroupsResponse)
523 err := c.cc.Invoke(ctx, "/google.shopping.merchant.quota.v1.QuotaService/ListQuotaGroups", in, out, opts...)
524 if err != nil {
525 return nil, err
526 }
527 return out, nil
528 }
529
530 // QuotaServiceServer is the server API for QuotaService service.
531 type QuotaServiceServer interface {
532 // Lists the daily call quota and usage per group for your Merchant
533 // Center account.
534 ListQuotaGroups(context.Context, *ListQuotaGroupsRequest) (*ListQuotaGroupsResponse, error)
535 }
536
537 // UnimplementedQuotaServiceServer can be embedded to have forward compatible implementations.
538 type UnimplementedQuotaServiceServer struct {
539 }
540
541 func (*UnimplementedQuotaServiceServer) ListQuotaGroups(context.Context, *ListQuotaGroupsRequest) (*ListQuotaGroupsResponse, error) {
542 return nil, status.Errorf(codes.Unimplemented, "method ListQuotaGroups not implemented")
543 }
544
545 func RegisterQuotaServiceServer(s *grpc.Server, srv QuotaServiceServer) {
546 s.RegisterService(&_QuotaService_serviceDesc, srv)
547 }
548
549 func _QuotaService_ListQuotaGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
550 in := new(ListQuotaGroupsRequest)
551 if err := dec(in); err != nil {
552 return nil, err
553 }
554 if interceptor == nil {
555 return srv.(QuotaServiceServer).ListQuotaGroups(ctx, in)
556 }
557 info := &grpc.UnaryServerInfo{
558 Server: srv,
559 FullMethod: "/google.shopping.merchant.quota.v1.QuotaService/ListQuotaGroups",
560 }
561 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
562 return srv.(QuotaServiceServer).ListQuotaGroups(ctx, req.(*ListQuotaGroupsRequest))
563 }
564 return interceptor(ctx, in, info, handler)
565 }
566
567 var _QuotaService_serviceDesc = grpc.ServiceDesc{
568 ServiceName: "google.shopping.merchant.quota.v1.QuotaService",
569 HandlerType: (*QuotaServiceServer)(nil),
570 Methods: []grpc.MethodDesc{
571 {
572 MethodName: "ListQuotaGroups",
573 Handler: _QuotaService_ListQuotaGroups_Handler,
574 },
575 },
576 Streams: []grpc.StreamDesc{},
577 Metadata: "google/shopping/merchant/quota/v1/quota.proto",
578 }