Debian Codegraph @

shopping/merchant/accounts/apiv1/accountspb/programs.pb.go

raw
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/accounts/v1/programs.proto
20
21 package accountspb
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 // Possible program participation states for the account.
43 type Program_State int32
44
45 const (
46 // Default value. This value is unused.
47 Program_STATE_UNSPECIFIED Program_State = 0
48 // The account is not eligible to participate in the program.
49 Program_NOT_ELIGIBLE Program_State = 1
50 // The account is eligible to participate in the program.
51 Program_ELIGIBLE Program_State = 2
52 // The program is enabled for the account.
53 Program_ENABLED Program_State = 3
54 )
55
56 // Enum value maps for Program_State.
57 var (
58 Program_State_name = map[int32]string{
59 0: "STATE_UNSPECIFIED",
60 1: "NOT_ELIGIBLE",
61 2: "ELIGIBLE",
62 3: "ENABLED",
63 }
64 Program_State_value = map[string]int32{
65 "STATE_UNSPECIFIED": 0,
66 "NOT_ELIGIBLE": 1,
67 "ELIGIBLE": 2,
68 "ENABLED": 3,
69 }
70 )
71
72 func (x Program_State) Enum() *Program_State {
73 p := new(Program_State)
74 *p = x
75 return p
76 }
77
78 func (x Program_State) String() string {
79 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
80 }
81
82 func (Program_State) Descriptor() protoreflect.EnumDescriptor {
83 return file_google_shopping_merchant_accounts_v1_programs_proto_enumTypes[0].Descriptor()
84 }
85
86 func (Program_State) Type() protoreflect.EnumType {
87 return &file_google_shopping_merchant_accounts_v1_programs_proto_enumTypes[0]
88 }
89
90 func (x Program_State) Number() protoreflect.EnumNumber {
91 return protoreflect.EnumNumber(x)
92 }
93
94 // Deprecated: Use Program_State.Descriptor instead.
95 func (Program_State) EnumDescriptor() ([]byte, []int) {
96 return file_google_shopping_merchant_accounts_v1_programs_proto_rawDescGZIP(), []int{0, 0}
97 }
98
99 // Defines participation in a given program for the specified account.
100 //
101 // Programs provide a mechanism for adding functionality to a Merchant Center
102 // accounts. A typical example of this is the [Free product
103 // listings](https://support.google.com/merchants/answer/13889434)
104 // program, which enables products from a business's store to be shown across
105 // Google for free.
106 //
107 // The following list is the available set of program resource IDs accessible
108 // through the API:
109 //
110 // * `free-listings`
111 // * `shopping-ads`
112 // * `youtube-shopping-checkout`
113 type Program struct {
114 state protoimpl.MessageState
115 sizeCache protoimpl.SizeCache
116 unknownFields protoimpl.UnknownFields
117
118 // Identifier. The resource name of the program.
119 // Format: `accounts/{account}/programs/{program}`
120 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
121 // Output only. The URL of a Merchant Center help page describing the program.
122 DocumentationUri string `protobuf:"bytes,2,opt,name=documentation_uri,json=documentationUri,proto3" json:"documentation_uri,omitempty"`
123 // Output only. The participation state of the account in the program.
124 State Program_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.shopping.merchant.accounts.v1.Program_State" json:"state,omitempty"`
125 // Output only. The regions in which the account is actively participating in
126 // the program. Active regions are defined as those where all program
127 // requirements affecting the regions have been met.
128 //
129 // Region codes are defined by [CLDR](https://cldr.unicode.org/). This is
130 // either a country where the program applies specifically to that country or
131 // `001` when the program applies globally.
132 ActiveRegionCodes []string `protobuf:"bytes,4,rep,name=active_region_codes,json=activeRegionCodes,proto3" json:"active_region_codes,omitempty"`
133 // Output only. The requirements that the account has not yet satisfied that
134 // are affecting participation in the program.
135 UnmetRequirements []*Program_Requirement `protobuf:"bytes,5,rep,name=unmet_requirements,json=unmetRequirements,proto3" json:"unmet_requirements,omitempty"`
136 }
137
138 func (x *Program) Reset() {
139 *x = Program{}
140 mi := &file_google_shopping_merchant_accounts_v1_programs_proto_msgTypes[0]
141 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
142 ms.StoreMessageInfo(mi)
143 }
144
145 func (x *Program) String() string {
146 return protoimpl.X.MessageStringOf(x)
147 }
148
149 func (*Program) ProtoMessage() {}
150
151 func (x *Program) ProtoReflect() protoreflect.Message {
152 mi := &file_google_shopping_merchant_accounts_v1_programs_proto_msgTypes[0]
153 if x != nil {
154 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
155 if ms.LoadMessageInfo() == nil {
156 ms.StoreMessageInfo(mi)
157 }
158 return ms
159 }
160 return mi.MessageOf(x)
161 }
162
163 // Deprecated: Use Program.ProtoReflect.Descriptor instead.
164 func (*Program) Descriptor() ([]byte, []int) {
165 return file_google_shopping_merchant_accounts_v1_programs_proto_rawDescGZIP(), []int{0}
166 }
167
168 func (x *Program) GetName() string {
169 if x != nil {
170 return x.Name
171 }
172 return ""
173 }
174
175 func (x *Program) GetDocumentationUri() string {
176 if x != nil {
177 return x.DocumentationUri
178 }
179 return ""
180 }
181
182 func (x *Program) GetState() Program_State {
183 if x != nil {
184 return x.State
185 }
186 return Program_STATE_UNSPECIFIED
187 }
188
189 func (x *Program) GetActiveRegionCodes() []string {
190 if x != nil {
191 return x.ActiveRegionCodes
192 }
193 return nil
194 }
195
196 func (x *Program) GetUnmetRequirements() []*Program_Requirement {
197 if x != nil {
198 return x.UnmetRequirements
199 }
200 return nil
201 }
202
203 // Request message for the GetProgram method.
204 type GetProgramRequest struct {
205 state protoimpl.MessageState
206 sizeCache protoimpl.SizeCache
207 unknownFields protoimpl.UnknownFields
208
209 // Required. The name of the program to retrieve.
210 // Format: `accounts/{account}/programs/{program}`. For example,
211 // `accounts/123456/programs/free-listings`.
212 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
213 }
214
215 func (x *GetProgramRequest) Reset() {
216 *x = GetProgramRequest{}
217 mi := &file_google_shopping_merchant_accounts_v1_programs_proto_msgTypes[1]
218 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
219 ms.StoreMessageInfo(mi)
220 }
221
222 func (x *GetProgramRequest) String() string {
223 return protoimpl.X.MessageStringOf(x)
224 }
225
226 func (*GetProgramRequest) ProtoMessage() {}
227
228 func (x *GetProgramRequest) ProtoReflect() protoreflect.Message {
229 mi := &file_google_shopping_merchant_accounts_v1_programs_proto_msgTypes[1]
230 if x != nil {
231 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
232 if ms.LoadMessageInfo() == nil {
233 ms.StoreMessageInfo(mi)
234 }
235 return ms
236 }
237 return mi.MessageOf(x)
238 }
239
240 // Deprecated: Use GetProgramRequest.ProtoReflect.Descriptor instead.
241 func (*GetProgramRequest) Descriptor() ([]byte, []int) {
242 return file_google_shopping_merchant_accounts_v1_programs_proto_rawDescGZIP(), []int{1}
243 }
244
245 func (x *GetProgramRequest) GetName() string {
246 if x != nil {
247 return x.Name
248 }
249 return ""
250 }
251
252 // Request message for the ListPrograms method.
253 type ListProgramsRequest struct {
254 state protoimpl.MessageState
255 sizeCache protoimpl.SizeCache
256 unknownFields protoimpl.UnknownFields
257
258 // Required. The name of the account for which to retrieve all programs.
259 // Format: `accounts/{account}`
260 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
261 // Optional. The maximum number of programs to return in a single response. If
262 // unspecified (or 0), a default size of 1000 is used. The maximum value is
263 // 1000; values above 1000 will be coerced to 1000.
264 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
265 // Optional. A continuation token, received from a previous `ListPrograms`
266 // call. Provide this to retrieve the next page.
267 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
268 }
269
270 func (x *ListProgramsRequest) Reset() {
271 *x = ListProgramsRequest{}
272 mi := &file_google_shopping_merchant_accounts_v1_programs_proto_msgTypes[2]
273 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
274 ms.StoreMessageInfo(mi)
275 }
276
277 func (x *ListProgramsRequest) String() string {
278 return protoimpl.X.MessageStringOf(x)
279 }
280
281 func (*ListProgramsRequest) ProtoMessage() {}
282
283 func (x *ListProgramsRequest) ProtoReflect() protoreflect.Message {
284 mi := &file_google_shopping_merchant_accounts_v1_programs_proto_msgTypes[2]
285 if x != nil {
286 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
287 if ms.LoadMessageInfo() == nil {
288 ms.StoreMessageInfo(mi)
289 }
290 return ms
291 }
292 return mi.MessageOf(x)
293 }
294
295 // Deprecated: Use ListProgramsRequest.ProtoReflect.Descriptor instead.
296 func (*ListProgramsRequest) Descriptor() ([]byte, []int) {
297 return file_google_shopping_merchant_accounts_v1_programs_proto_rawDescGZIP(), []int{2}
298 }
299
300 func (x *ListProgramsRequest) GetParent() string {
301 if x != nil {
302 return x.Parent
303 }
304 return ""
305 }
306
307 func (x *ListProgramsRequest) GetPageSize() int32 {
308 if x != nil {
309 return x.PageSize
310 }
311 return 0
312 }
313
314 func (x *ListProgramsRequest) GetPageToken() string {
315 if x != nil {
316 return x.PageToken
317 }
318 return ""
319 }
320
321 // Response message for the ListPrograms method.
322 type ListProgramsResponse struct {
323 state protoimpl.MessageState
324 sizeCache protoimpl.SizeCache
325 unknownFields protoimpl.UnknownFields
326
327 // The programs for the given account.
328 Programs []*Program `protobuf:"bytes,1,rep,name=programs,proto3" json:"programs,omitempty"`
329 // A token that can be sent as `page_token` to retrieve the next page. If this
330 // field is omitted, there are no subsequent pages.
331 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
332 }
333
334 func (x *ListProgramsResponse) Reset() {
335 *x = ListProgramsResponse{}
336 mi := &file_google_shopping_merchant_accounts_v1_programs_proto_msgTypes[3]
337 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
338 ms.StoreMessageInfo(mi)
339 }
340
341 func (x *ListProgramsResponse) String() string {
342 return protoimpl.X.MessageStringOf(x)
343 }
344
345 func (*ListProgramsResponse) ProtoMessage() {}
346
347 func (x *ListProgramsResponse) ProtoReflect() protoreflect.Message {
348 mi := &file_google_shopping_merchant_accounts_v1_programs_proto_msgTypes[3]
349 if x != nil {
350 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
351 if ms.LoadMessageInfo() == nil {
352 ms.StoreMessageInfo(mi)
353 }
354 return ms
355 }
356 return mi.MessageOf(x)
357 }
358
359 // Deprecated: Use ListProgramsResponse.ProtoReflect.Descriptor instead.
360 func (*ListProgramsResponse) Descriptor() ([]byte, []int) {
361 return file_google_shopping_merchant_accounts_v1_programs_proto_rawDescGZIP(), []int{3}
362 }
363
364 func (x *ListProgramsResponse) GetPrograms() []*Program {
365 if x != nil {
366 return x.Programs
367 }
368 return nil
369 }
370
371 func (x *ListProgramsResponse) GetNextPageToken() string {
372 if x != nil {
373 return x.NextPageToken
374 }
375 return ""
376 }
377
378 // Request message for the EnableProgram method.
379 type EnableProgramRequest struct {
380 state protoimpl.MessageState
381 sizeCache protoimpl.SizeCache
382 unknownFields protoimpl.UnknownFields
383
384 // Required. The name of the program for which to enable participation for the
385 // given account. Format: `accounts/{account}/programs/{program}`. For
386 // example, `accounts/123456/programs/free-listings`.
387 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
388 }
389
390 func (x *EnableProgramRequest) Reset() {
391 *x = EnableProgramRequest{}
392 mi := &file_google_shopping_merchant_accounts_v1_programs_proto_msgTypes[4]
393 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
394 ms.StoreMessageInfo(mi)
395 }
396
397 func (x *EnableProgramRequest) String() string {
398 return protoimpl.X.MessageStringOf(x)
399 }
400
401 func (*EnableProgramRequest) ProtoMessage() {}
402
403 func (x *EnableProgramRequest) ProtoReflect() protoreflect.Message {
404 mi := &file_google_shopping_merchant_accounts_v1_programs_proto_msgTypes[4]
405 if x != nil {
406 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
407 if ms.LoadMessageInfo() == nil {
408 ms.StoreMessageInfo(mi)
409 }
410 return ms
411 }
412 return mi.MessageOf(x)
413 }
414
415 // Deprecated: Use EnableProgramRequest.ProtoReflect.Descriptor instead.
416 func (*EnableProgramRequest) Descriptor() ([]byte, []int) {
417 return file_google_shopping_merchant_accounts_v1_programs_proto_rawDescGZIP(), []int{4}
418 }
419
420 func (x *EnableProgramRequest) GetName() string {
421 if x != nil {
422 return x.Name
423 }
424 return ""
425 }
426
427 // Request message for the DisableProgram method.
428 type DisableProgramRequest struct {
429 state protoimpl.MessageState
430 sizeCache protoimpl.SizeCache
431 unknownFields protoimpl.UnknownFields
432
433 // Required. The name of the program for which to disable participation for
434 // the given account. Format: `accounts/{account}/programs/{program}`. For
435 // example, `accounts/123456/programs/free-listings`.
436 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
437 }
438
439 func (x *DisableProgramRequest) Reset() {
440 *x = DisableProgramRequest{}
441 mi := &file_google_shopping_merchant_accounts_v1_programs_proto_msgTypes[5]
442 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
443 ms.StoreMessageInfo(mi)
444 }
445
446 func (x *DisableProgramRequest) String() string {
447 return protoimpl.X.MessageStringOf(x)
448 }
449
450 func (*DisableProgramRequest) ProtoMessage() {}
451
452 func (x *DisableProgramRequest) ProtoReflect() protoreflect.Message {
453 mi := &file_google_shopping_merchant_accounts_v1_programs_proto_msgTypes[5]
454 if x != nil {
455 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
456 if ms.LoadMessageInfo() == nil {
457 ms.StoreMessageInfo(mi)
458 }
459 return ms
460 }
461 return mi.MessageOf(x)
462 }
463
464 // Deprecated: Use DisableProgramRequest.ProtoReflect.Descriptor instead.
465 func (*DisableProgramRequest) Descriptor() ([]byte, []int) {
466 return file_google_shopping_merchant_accounts_v1_programs_proto_rawDescGZIP(), []int{5}
467 }
468
469 func (x *DisableProgramRequest) GetName() string {
470 if x != nil {
471 return x.Name
472 }
473 return ""
474 }
475
476 // Defines a requirement specified for participation in the program.
477 type Program_Requirement struct {
478 state protoimpl.MessageState
479 sizeCache protoimpl.SizeCache
480 unknownFields protoimpl.UnknownFields
481
482 // Output only. Name of the requirement.
483 Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
484 // Output only. The URL of a help page describing the requirement.
485 DocumentationUri string `protobuf:"bytes,2,opt,name=documentation_uri,json=documentationUri,proto3" json:"documentation_uri,omitempty"`
486 // Output only. The regions that are currently affected by this requirement
487 // not being met.
488 //
489 // Region codes are defined by [CLDR](https://cldr.unicode.org/). This is
490 // either a country where the program applies specifically to that country
491 // or `001` when the program applies globally.
492 AffectedRegionCodes []string `protobuf:"bytes,3,rep,name=affected_region_codes,json=affectedRegionCodes,proto3" json:"affected_region_codes,omitempty"`
493 }
494
495 func (x *Program_Requirement) Reset() {
496 *x = Program_Requirement{}
497 mi := &file_google_shopping_merchant_accounts_v1_programs_proto_msgTypes[6]
498 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
499 ms.StoreMessageInfo(mi)
500 }
501
502 func (x *Program_Requirement) String() string {
503 return protoimpl.X.MessageStringOf(x)
504 }
505
506 func (*Program_Requirement) ProtoMessage() {}
507
508 func (x *Program_Requirement) ProtoReflect() protoreflect.Message {
509 mi := &file_google_shopping_merchant_accounts_v1_programs_proto_msgTypes[6]
510 if x != nil {
511 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
512 if ms.LoadMessageInfo() == nil {
513 ms.StoreMessageInfo(mi)
514 }
515 return ms
516 }
517 return mi.MessageOf(x)
518 }
519
520 // Deprecated: Use Program_Requirement.ProtoReflect.Descriptor instead.
521 func (*Program_Requirement) Descriptor() ([]byte, []int) {
522 return file_google_shopping_merchant_accounts_v1_programs_proto_rawDescGZIP(), []int{0, 0}
523 }
524
525 func (x *Program_Requirement) GetTitle() string {
526 if x != nil {
527 return x.Title
528 }
529 return ""
530 }
531
532 func (x *Program_Requirement) GetDocumentationUri() string {
533 if x != nil {
534 return x.DocumentationUri
535 }
536 return ""
537 }
538
539 func (x *Program_Requirement) GetAffectedRegionCodes() []string {
540 if x != nil {
541 return x.AffectedRegionCodes
542 }
543 return nil
544 }
545
546 var File_google_shopping_merchant_accounts_v1_programs_proto protoreflect.FileDescriptor
547
548 var file_google_shopping_merchant_accounts_v1_programs_proto_rawDesc = []byte{
549 0x0a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
550 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75,
551 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x73, 0x2e,
552 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68,
553 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e,
554 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f,
555 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
556 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
557 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f,
558 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66,
559 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72,
560 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
561 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8e,
562 0x05, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61,
563 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08, 0x52, 0x04, 0x6e,
564 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x11, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61,
565 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
566 0xe0, 0x41, 0x03, 0x52, 0x10, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69,
567 0x6f, 0x6e, 0x55, 0x72, 0x69, 0x12, 0x4e, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03,
568 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68,
569 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e,
570 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x67,
571 0x72, 0x61, 0x6d, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05,
572 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x33, 0x0a, 0x13, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
573 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03,
574 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x11, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52,
575 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x6d, 0x0a, 0x12, 0x75, 0x6e,
576 0x6d, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73,
577 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
578 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e,
579 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72,
580 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e,
581 0x74, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x11, 0x75, 0x6e, 0x6d, 0x65, 0x74, 0x52, 0x65, 0x71,
582 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x93, 0x01, 0x0a, 0x0b, 0x52, 0x65,
583 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x05, 0x74, 0x69, 0x74,
584 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x74,
585 0x69, 0x74, 0x6c, 0x65, 0x12, 0x30, 0x0a, 0x11, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74,
586 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42,
587 0x03, 0xe0, 0x41, 0x03, 0x52, 0x10, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74,
588 0x69, 0x6f, 0x6e, 0x55, 0x72, 0x69, 0x12, 0x37, 0x0a, 0x15, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74,
589 0x65, 0x64, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x18,
590 0x03, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x13, 0x61, 0x66, 0x66, 0x65,
591 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x22,
592 0x4b, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54,
593 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
594 0x10, 0x0a, 0x0c, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4c, 0x49, 0x47, 0x49, 0x42, 0x4c, 0x45, 0x10,
595 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x4c, 0x49, 0x47, 0x49, 0x42, 0x4c, 0x45, 0x10, 0x02, 0x12,
596 0x0b, 0x0a, 0x07, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x3a, 0x61, 0xea, 0x41,
597 0x5e, 0x0a, 0x22, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67,
598 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72,
599 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x12, 0x25, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f,
600 0x7b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61,
601 0x6d, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x7d, 0x2a, 0x08, 0x70, 0x72,
602 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x73, 0x32, 0x07, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x22,
603 0x53, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x65, 0x71,
604 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
605 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x24, 0x0a, 0x22, 0x6d, 0x65, 0x72, 0x63,
606 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
607 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x04,
608 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x9f, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f,
609 0x67, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x06,
610 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41,
611 0x02, 0xfa, 0x41, 0x24, 0x12, 0x22, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70,
612 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
613 0x2f, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
614 0x12, 0x20, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20,
615 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69,
616 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
617 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67,
618 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x89, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x50,
619 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
620 0x49, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
621 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70,
622 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63,
623 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d,
624 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65,
625 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20,
626 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b,
627 0x65, 0x6e, 0x22, 0x56, 0x0a, 0x14, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x67,
628 0x72, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x04, 0x6e, 0x61,
629 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x24,
630 0x0a, 0x22, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f,
631 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f,
632 0x67, 0x72, 0x61, 0x6d, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x57, 0x0a, 0x15, 0x44, 0x69,
633 0x73, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75,
634 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
635 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x24, 0x0a, 0x22, 0x6d, 0x65, 0x72, 0x63, 0x68,
636 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
637 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x04, 0x6e,
638 0x61, 0x6d, 0x65, 0x32, 0xd4, 0x06, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x73,
639 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xae, 0x01, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x50,
640 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x12, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
641 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e,
642 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,
643 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
644 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
645 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75,
646 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x22, 0x38,
647 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, 0x29, 0x2f,
648 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,
649 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72, 0x6f,
650 0x67, 0x72, 0x61, 0x6d, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xc1, 0x01, 0x0a, 0x0c, 0x4c, 0x69, 0x73,
651 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
652 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63,
653 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31,
654 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71,
655 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68,
656 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e,
657 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74,
658 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
659 0x22, 0x3a, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02,
660 0x2b, 0x12, 0x29, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f,
661 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
662 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x73, 0x12, 0xbe, 0x01, 0x0a,
663 0x0d, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x12, 0x3a,
664 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
665 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
666 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x67,
667 0x72, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x67, 0x6f, 0x6f,
668 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72,
669 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76,
670 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x22, 0x42, 0xda, 0x41, 0x04, 0x6e, 0x61,
671 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x35, 0x3a, 0x01, 0x2a, 0x22, 0x30, 0x2f, 0x61, 0x63,
672 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
673 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72, 0x6f, 0x67, 0x72,
674 0x61, 0x6d, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0xc1, 0x01,
675 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d,
676 0x12, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
677 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f,
678 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x50,
679 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e,
680 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e,
681 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
682 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x22, 0x43, 0xda, 0x41,
683 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x3a, 0x01, 0x2a, 0x22, 0x31,
684 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61,
685 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72,
686 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c,
687 0x65, 0x1a, 0x47, 0xca, 0x41, 0x1a, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70,
688 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
689 0xd2, 0x41, 0x27, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67,
690 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75,
691 0x74, 0x68, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x80, 0x02, 0x0a, 0x28, 0x63,
692 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
693 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f,
694 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d,
695 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
696 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x68,
697 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f,
698 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61,
699 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
700 0x74, 0x73, 0x70, 0x62, 0xaa, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x53, 0x68,
701 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e,
702 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x24, 0x47, 0x6f,
703 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5c, 0x4d, 0x65,
704 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x5c, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5c,
705 0x56, 0x31, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x53, 0x68, 0x6f,
706 0x70, 0x70, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x3a,
707 0x3a, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70,
708 0x72, 0x6f, 0x74, 0x6f, 0x33,
709 }
710
711 var (
712 file_google_shopping_merchant_accounts_v1_programs_proto_rawDescOnce sync.Once
713 file_google_shopping_merchant_accounts_v1_programs_proto_rawDescData = file_google_shopping_merchant_accounts_v1_programs_proto_rawDesc
714 )
715
716 func file_google_shopping_merchant_accounts_v1_programs_proto_rawDescGZIP() []byte {
717 file_google_shopping_merchant_accounts_v1_programs_proto_rawDescOnce.Do(func() {
718 file_google_shopping_merchant_accounts_v1_programs_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_accounts_v1_programs_proto_rawDescData)
719 })
720 return file_google_shopping_merchant_accounts_v1_programs_proto_rawDescData
721 }
722
723 var file_google_shopping_merchant_accounts_v1_programs_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
724 var file_google_shopping_merchant_accounts_v1_programs_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
725 var file_google_shopping_merchant_accounts_v1_programs_proto_goTypes = []any{
726 (Program_State)(0), // 0: google.shopping.merchant.accounts.v1.Program.State
727 (*Program)(nil), // 1: google.shopping.merchant.accounts.v1.Program
728 (*GetProgramRequest)(nil), // 2: google.shopping.merchant.accounts.v1.GetProgramRequest
729 (*ListProgramsRequest)(nil), // 3: google.shopping.merchant.accounts.v1.ListProgramsRequest
730 (*ListProgramsResponse)(nil), // 4: google.shopping.merchant.accounts.v1.ListProgramsResponse
731 (*EnableProgramRequest)(nil), // 5: google.shopping.merchant.accounts.v1.EnableProgramRequest
732 (*DisableProgramRequest)(nil), // 6: google.shopping.merchant.accounts.v1.DisableProgramRequest
733 (*Program_Requirement)(nil), // 7: google.shopping.merchant.accounts.v1.Program.Requirement
734 }
735 var file_google_shopping_merchant_accounts_v1_programs_proto_depIdxs = []int32{
736 0, // 0: google.shopping.merchant.accounts.v1.Program.state:type_name -> google.shopping.merchant.accounts.v1.Program.State
737 7, // 1: google.shopping.merchant.accounts.v1.Program.unmet_requirements:type_name -> google.shopping.merchant.accounts.v1.Program.Requirement
738 1, // 2: google.shopping.merchant.accounts.v1.ListProgramsResponse.programs:type_name -> google.shopping.merchant.accounts.v1.Program
739 2, // 3: google.shopping.merchant.accounts.v1.ProgramsService.GetProgram:input_type -> google.shopping.merchant.accounts.v1.GetProgramRequest
740 3, // 4: google.shopping.merchant.accounts.v1.ProgramsService.ListPrograms:input_type -> google.shopping.merchant.accounts.v1.ListProgramsRequest
741 5, // 5: google.shopping.merchant.accounts.v1.ProgramsService.EnableProgram:input_type -> google.shopping.merchant.accounts.v1.EnableProgramRequest
742 6, // 6: google.shopping.merchant.accounts.v1.ProgramsService.DisableProgram:input_type -> google.shopping.merchant.accounts.v1.DisableProgramRequest
743 1, // 7: google.shopping.merchant.accounts.v1.ProgramsService.GetProgram:output_type -> google.shopping.merchant.accounts.v1.Program
744 4, // 8: google.shopping.merchant.accounts.v1.ProgramsService.ListPrograms:output_type -> google.shopping.merchant.accounts.v1.ListProgramsResponse
745 1, // 9: google.shopping.merchant.accounts.v1.ProgramsService.EnableProgram:output_type -> google.shopping.merchant.accounts.v1.Program
746 1, // 10: google.shopping.merchant.accounts.v1.ProgramsService.DisableProgram:output_type -> google.shopping.merchant.accounts.v1.Program
747 7, // [7:11] is the sub-list for method output_type
748 3, // [3:7] is the sub-list for method input_type
749 3, // [3:3] is the sub-list for extension type_name
750 3, // [3:3] is the sub-list for extension extendee
751 0, // [0:3] is the sub-list for field type_name
752 }
753
754 func init() { file_google_shopping_merchant_accounts_v1_programs_proto_init() }
755 func file_google_shopping_merchant_accounts_v1_programs_proto_init() {
756 if File_google_shopping_merchant_accounts_v1_programs_proto != nil {
757 return
758 }
759 type x struct{}
760 out := protoimpl.TypeBuilder{
761 File: protoimpl.DescBuilder{
762 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
763 RawDescriptor: file_google_shopping_merchant_accounts_v1_programs_proto_rawDesc,
764 NumEnums: 1,
765 NumMessages: 7,
766 NumExtensions: 0,
767 NumServices: 1,
768 },
769 GoTypes: file_google_shopping_merchant_accounts_v1_programs_proto_goTypes,
770 DependencyIndexes: file_google_shopping_merchant_accounts_v1_programs_proto_depIdxs,
771 EnumInfos: file_google_shopping_merchant_accounts_v1_programs_proto_enumTypes,
772 MessageInfos: file_google_shopping_merchant_accounts_v1_programs_proto_msgTypes,
773 }.Build()
774 File_google_shopping_merchant_accounts_v1_programs_proto = out.File
775 file_google_shopping_merchant_accounts_v1_programs_proto_rawDesc = nil
776 file_google_shopping_merchant_accounts_v1_programs_proto_goTypes = nil
777 file_google_shopping_merchant_accounts_v1_programs_proto_depIdxs = nil
778 }
779
780 // Reference imports to suppress errors if they are not otherwise used.
781 var _ context.Context
782 var _ grpc.ClientConnInterface
783
784 // This is a compile-time assertion to ensure that this generated file
785 // is compatible with the grpc package it is being compiled against.
786 const _ = grpc.SupportPackageIsVersion6
787
788 // ProgramsServiceClient is the client API for ProgramsService service.
789 //
790 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
791 type ProgramsServiceClient interface {
792 // Retrieves the specified program for the account.
793 GetProgram(ctx context.Context, in *GetProgramRequest, opts ...grpc.CallOption) (*Program, error)
794 // Retrieves all programs for the account.
795 ListPrograms(ctx context.Context, in *ListProgramsRequest, opts ...grpc.CallOption) (*ListProgramsResponse, error)
796 // Enable participation in the specified program for the account.
797 EnableProgram(ctx context.Context, in *EnableProgramRequest, opts ...grpc.CallOption) (*Program, error)
798 // Disable participation in the specified program for the account.
799 DisableProgram(ctx context.Context, in *DisableProgramRequest, opts ...grpc.CallOption) (*Program, error)
800 }
801
802 type programsServiceClient struct {
803 cc grpc.ClientConnInterface
804 }
805
806 func NewProgramsServiceClient(cc grpc.ClientConnInterface) ProgramsServiceClient {
807 return &programsServiceClient{cc}
808 }
809
810 func (c *programsServiceClient) GetProgram(ctx context.Context, in *GetProgramRequest, opts ...grpc.CallOption) (*Program, error) {
811 out := new(Program)
812 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.ProgramsService/GetProgram", in, out, opts...)
813 if err != nil {
814 return nil, err
815 }
816 return out, nil
817 }
818
819 func (c *programsServiceClient) ListPrograms(ctx context.Context, in *ListProgramsRequest, opts ...grpc.CallOption) (*ListProgramsResponse, error) {
820 out := new(ListProgramsResponse)
821 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.ProgramsService/ListPrograms", in, out, opts...)
822 if err != nil {
823 return nil, err
824 }
825 return out, nil
826 }
827
828 func (c *programsServiceClient) EnableProgram(ctx context.Context, in *EnableProgramRequest, opts ...grpc.CallOption) (*Program, error) {
829 out := new(Program)
830 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.ProgramsService/EnableProgram", in, out, opts...)
831 if err != nil {
832 return nil, err
833 }
834 return out, nil
835 }
836
837 func (c *programsServiceClient) DisableProgram(ctx context.Context, in *DisableProgramRequest, opts ...grpc.CallOption) (*Program, error) {
838 out := new(Program)
839 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.ProgramsService/DisableProgram", in, out, opts...)
840 if err != nil {
841 return nil, err
842 }
843 return out, nil
844 }
845
846 // ProgramsServiceServer is the server API for ProgramsService service.
847 type ProgramsServiceServer interface {
848 // Retrieves the specified program for the account.
849 GetProgram(context.Context, *GetProgramRequest) (*Program, error)
850 // Retrieves all programs for the account.
851 ListPrograms(context.Context, *ListProgramsRequest) (*ListProgramsResponse, error)
852 // Enable participation in the specified program for the account.
853 EnableProgram(context.Context, *EnableProgramRequest) (*Program, error)
854 // Disable participation in the specified program for the account.
855 DisableProgram(context.Context, *DisableProgramRequest) (*Program, error)
856 }
857
858 // UnimplementedProgramsServiceServer can be embedded to have forward compatible implementations.
859 type UnimplementedProgramsServiceServer struct {
860 }
861
862 func (*UnimplementedProgramsServiceServer) GetProgram(context.Context, *GetProgramRequest) (*Program, error) {
863 return nil, status.Errorf(codes.Unimplemented, "method GetProgram not implemented")
864 }
865 func (*UnimplementedProgramsServiceServer) ListPrograms(context.Context, *ListProgramsRequest) (*ListProgramsResponse, error) {
866 return nil, status.Errorf(codes.Unimplemented, "method ListPrograms not implemented")
867 }
868 func (*UnimplementedProgramsServiceServer) EnableProgram(context.Context, *EnableProgramRequest) (*Program, error) {
869 return nil, status.Errorf(codes.Unimplemented, "method EnableProgram not implemented")
870 }
871 func (*UnimplementedProgramsServiceServer) DisableProgram(context.Context, *DisableProgramRequest) (*Program, error) {
872 return nil, status.Errorf(codes.Unimplemented, "method DisableProgram not implemented")
873 }
874
875 func RegisterProgramsServiceServer(s *grpc.Server, srv ProgramsServiceServer) {
876 s.RegisterService(&_ProgramsService_serviceDesc, srv)
877 }
878
879 func _ProgramsService_GetProgram_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
880 in := new(GetProgramRequest)
881 if err := dec(in); err != nil {
882 return nil, err
883 }
884 if interceptor == nil {
885 return srv.(ProgramsServiceServer).GetProgram(ctx, in)
886 }
887 info := &grpc.UnaryServerInfo{
888 Server: srv,
889 FullMethod: "/google.shopping.merchant.accounts.v1.ProgramsService/GetProgram",
890 }
891 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
892 return srv.(ProgramsServiceServer).GetProgram(ctx, req.(*GetProgramRequest))
893 }
894 return interceptor(ctx, in, info, handler)
895 }
896
897 func _ProgramsService_ListPrograms_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
898 in := new(ListProgramsRequest)
899 if err := dec(in); err != nil {
900 return nil, err
901 }
902 if interceptor == nil {
903 return srv.(ProgramsServiceServer).ListPrograms(ctx, in)
904 }
905 info := &grpc.UnaryServerInfo{
906 Server: srv,
907 FullMethod: "/google.shopping.merchant.accounts.v1.ProgramsService/ListPrograms",
908 }
909 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
910 return srv.(ProgramsServiceServer).ListPrograms(ctx, req.(*ListProgramsRequest))
911 }
912 return interceptor(ctx, in, info, handler)
913 }
914
915 func _ProgramsService_EnableProgram_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
916 in := new(EnableProgramRequest)
917 if err := dec(in); err != nil {
918 return nil, err
919 }
920 if interceptor == nil {
921 return srv.(ProgramsServiceServer).EnableProgram(ctx, in)
922 }
923 info := &grpc.UnaryServerInfo{
924 Server: srv,
925 FullMethod: "/google.shopping.merchant.accounts.v1.ProgramsService/EnableProgram",
926 }
927 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
928 return srv.(ProgramsServiceServer).EnableProgram(ctx, req.(*EnableProgramRequest))
929 }
930 return interceptor(ctx, in, info, handler)
931 }
932
933 func _ProgramsService_DisableProgram_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
934 in := new(DisableProgramRequest)
935 if err := dec(in); err != nil {
936 return nil, err
937 }
938 if interceptor == nil {
939 return srv.(ProgramsServiceServer).DisableProgram(ctx, in)
940 }
941 info := &grpc.UnaryServerInfo{
942 Server: srv,
943 FullMethod: "/google.shopping.merchant.accounts.v1.ProgramsService/DisableProgram",
944 }
945 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
946 return srv.(ProgramsServiceServer).DisableProgram(ctx, req.(*DisableProgramRequest))
947 }
948 return interceptor(ctx, in, info, handler)
949 }
950
951 var _ProgramsService_serviceDesc = grpc.ServiceDesc{
952 ServiceName: "google.shopping.merchant.accounts.v1.ProgramsService",
953 HandlerType: (*ProgramsServiceServer)(nil),
954 Methods: []grpc.MethodDesc{
955 {
956 MethodName: "GetProgram",
957 Handler: _ProgramsService_GetProgram_Handler,
958 },
959 {
960 MethodName: "ListPrograms",
961 Handler: _ProgramsService_ListPrograms_Handler,
962 },
963 {
964 MethodName: "EnableProgram",
965 Handler: _ProgramsService_EnableProgram_Handler,
966 },
967 {
968 MethodName: "DisableProgram",
969 Handler: _ProgramsService_DisableProgram_Handler,
970 },
971 },
972 Streams: []grpc.StreamDesc{},
973 Metadata: "google/shopping/merchant/accounts/v1/programs.proto",
974 }