Debian Codegraph @

shopping/merchant/accounts/apiv1/accountspb/checkoutsettings.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/checkoutsettings.proto
20
21 package accountspb
22
23 import (
24 typepb "cloud.google.com/go/shopping/type/typepb"
25 context "context"
26 _ "google.golang.org/genproto/googleapis/api/annotations"
27 grpc "google.golang.org/grpc"
28 codes "google.golang.org/grpc/codes"
29 status "google.golang.org/grpc/status"
30 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
31 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
32 emptypb "google.golang.org/protobuf/types/known/emptypb"
33 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
34 reflect "reflect"
35 sync "sync"
36 )
37
38 const (
39 // Verify that this generated code is sufficiently up-to-date.
40 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
41 // Verify that runtime/protoimpl is sufficiently up-to-date.
42 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
43 )
44
45 // Enum indicating the enrollment state of merchant in `Checkout`
46 // program.
47 type CheckoutSettings_CheckoutEnrollmentState int32
48
49 const (
50 // Default enrollment state when enrollment state is not specified.
51 CheckoutSettings_CHECKOUT_ENROLLMENT_STATE_UNSPECIFIED CheckoutSettings_CheckoutEnrollmentState = 0
52 // Merchant has not enrolled into the program.
53 CheckoutSettings_INACTIVE CheckoutSettings_CheckoutEnrollmentState = 1
54 // Merchant has enrolled into the program by providing either an
55 // account level URL or checkout URLs as part of their feed.
56 CheckoutSettings_ENROLLED CheckoutSettings_CheckoutEnrollmentState = 2
57 // Merchant has previously enrolled but opted out of the program.
58 CheckoutSettings_OPTED_OUT CheckoutSettings_CheckoutEnrollmentState = 3
59 )
60
61 // Enum value maps for CheckoutSettings_CheckoutEnrollmentState.
62 var (
63 CheckoutSettings_CheckoutEnrollmentState_name = map[int32]string{
64 0: "CHECKOUT_ENROLLMENT_STATE_UNSPECIFIED",
65 1: "INACTIVE",
66 2: "ENROLLED",
67 3: "OPTED_OUT",
68 }
69 CheckoutSettings_CheckoutEnrollmentState_value = map[string]int32{
70 "CHECKOUT_ENROLLMENT_STATE_UNSPECIFIED": 0,
71 "INACTIVE": 1,
72 "ENROLLED": 2,
73 "OPTED_OUT": 3,
74 }
75 )
76
77 func (x CheckoutSettings_CheckoutEnrollmentState) Enum() *CheckoutSettings_CheckoutEnrollmentState {
78 p := new(CheckoutSettings_CheckoutEnrollmentState)
79 *p = x
80 return p
81 }
82
83 func (x CheckoutSettings_CheckoutEnrollmentState) String() string {
84 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
85 }
86
87 func (CheckoutSettings_CheckoutEnrollmentState) Descriptor() protoreflect.EnumDescriptor {
88 return file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_enumTypes[0].Descriptor()
89 }
90
91 func (CheckoutSettings_CheckoutEnrollmentState) Type() protoreflect.EnumType {
92 return &file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_enumTypes[0]
93 }
94
95 func (x CheckoutSettings_CheckoutEnrollmentState) Number() protoreflect.EnumNumber {
96 return protoreflect.EnumNumber(x)
97 }
98
99 // Deprecated: Use CheckoutSettings_CheckoutEnrollmentState.Descriptor instead.
100 func (CheckoutSettings_CheckoutEnrollmentState) EnumDescriptor() ([]byte, []int) {
101 return file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_rawDescGZIP(), []int{4, 0}
102 }
103
104 // Enum indicating the review state of merchant in `Checkout`
105 // program.
106 type CheckoutSettings_CheckoutReviewState int32
107
108 const (
109 // Default review state when review state is not specified.
110 CheckoutSettings_CHECKOUT_REVIEW_STATE_UNSPECIFIED CheckoutSettings_CheckoutReviewState = 0
111 // Merchant provided URLs are being reviewed for data quality issues.
112 CheckoutSettings_IN_REVIEW CheckoutSettings_CheckoutReviewState = 1
113 // Merchant account has been approved. Indicates the data quality checks
114 // have passed.
115 CheckoutSettings_APPROVED CheckoutSettings_CheckoutReviewState = 2
116 // Merchant account has been disapproved due to data quality issues.
117 CheckoutSettings_DISAPPROVED CheckoutSettings_CheckoutReviewState = 3
118 )
119
120 // Enum value maps for CheckoutSettings_CheckoutReviewState.
121 var (
122 CheckoutSettings_CheckoutReviewState_name = map[int32]string{
123 0: "CHECKOUT_REVIEW_STATE_UNSPECIFIED",
124 1: "IN_REVIEW",
125 2: "APPROVED",
126 3: "DISAPPROVED",
127 }
128 CheckoutSettings_CheckoutReviewState_value = map[string]int32{
129 "CHECKOUT_REVIEW_STATE_UNSPECIFIED": 0,
130 "IN_REVIEW": 1,
131 "APPROVED": 2,
132 "DISAPPROVED": 3,
133 }
134 )
135
136 func (x CheckoutSettings_CheckoutReviewState) Enum() *CheckoutSettings_CheckoutReviewState {
137 p := new(CheckoutSettings_CheckoutReviewState)
138 *p = x
139 return p
140 }
141
142 func (x CheckoutSettings_CheckoutReviewState) String() string {
143 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
144 }
145
146 func (CheckoutSettings_CheckoutReviewState) Descriptor() protoreflect.EnumDescriptor {
147 return file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_enumTypes[1].Descriptor()
148 }
149
150 func (CheckoutSettings_CheckoutReviewState) Type() protoreflect.EnumType {
151 return &file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_enumTypes[1]
152 }
153
154 func (x CheckoutSettings_CheckoutReviewState) Number() protoreflect.EnumNumber {
155 return protoreflect.EnumNumber(x)
156 }
157
158 // Deprecated: Use CheckoutSettings_CheckoutReviewState.Descriptor instead.
159 func (CheckoutSettings_CheckoutReviewState) EnumDescriptor() ([]byte, []int) {
160 return file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_rawDescGZIP(), []int{4, 1}
161 }
162
163 // Request message for `GetCheckoutSettings` method.
164 type GetCheckoutSettingsRequest struct {
165 state protoimpl.MessageState
166 sizeCache protoimpl.SizeCache
167 unknownFields protoimpl.UnknownFields
168
169 // Required. The name/identifier of the merchant account.
170 // Format: `accounts/{account}/programs/{program}/checkoutSettings`
171 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
172 }
173
174 func (x *GetCheckoutSettingsRequest) Reset() {
175 *x = GetCheckoutSettingsRequest{}
176 mi := &file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_msgTypes[0]
177 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
178 ms.StoreMessageInfo(mi)
179 }
180
181 func (x *GetCheckoutSettingsRequest) String() string {
182 return protoimpl.X.MessageStringOf(x)
183 }
184
185 func (*GetCheckoutSettingsRequest) ProtoMessage() {}
186
187 func (x *GetCheckoutSettingsRequest) ProtoReflect() protoreflect.Message {
188 mi := &file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_msgTypes[0]
189 if x != nil {
190 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
191 if ms.LoadMessageInfo() == nil {
192 ms.StoreMessageInfo(mi)
193 }
194 return ms
195 }
196 return mi.MessageOf(x)
197 }
198
199 // Deprecated: Use GetCheckoutSettingsRequest.ProtoReflect.Descriptor instead.
200 func (*GetCheckoutSettingsRequest) Descriptor() ([]byte, []int) {
201 return file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_rawDescGZIP(), []int{0}
202 }
203
204 func (x *GetCheckoutSettingsRequest) GetName() string {
205 if x != nil {
206 return x.Name
207 }
208 return ""
209 }
210
211 // Request message for the `CreateCheckoutSettings` method.
212 type CreateCheckoutSettingsRequest struct {
213 state protoimpl.MessageState
214 sizeCache protoimpl.SizeCache
215 unknownFields protoimpl.UnknownFields
216
217 // Required. The merchant account for which the `CheckoutSettings` will be
218 // created.
219 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
220 // Required. The `CheckoutSettings` object to create.
221 CheckoutSettings *CheckoutSettings `protobuf:"bytes,2,opt,name=checkout_settings,json=checkoutSettings,proto3" json:"checkout_settings,omitempty"`
222 }
223
224 func (x *CreateCheckoutSettingsRequest) Reset() {
225 *x = CreateCheckoutSettingsRequest{}
226 mi := &file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_msgTypes[1]
227 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
228 ms.StoreMessageInfo(mi)
229 }
230
231 func (x *CreateCheckoutSettingsRequest) String() string {
232 return protoimpl.X.MessageStringOf(x)
233 }
234
235 func (*CreateCheckoutSettingsRequest) ProtoMessage() {}
236
237 func (x *CreateCheckoutSettingsRequest) ProtoReflect() protoreflect.Message {
238 mi := &file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_msgTypes[1]
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 CreateCheckoutSettingsRequest.ProtoReflect.Descriptor instead.
250 func (*CreateCheckoutSettingsRequest) Descriptor() ([]byte, []int) {
251 return file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_rawDescGZIP(), []int{1}
252 }
253
254 func (x *CreateCheckoutSettingsRequest) GetParent() string {
255 if x != nil {
256 return x.Parent
257 }
258 return ""
259 }
260
261 func (x *CreateCheckoutSettingsRequest) GetCheckoutSettings() *CheckoutSettings {
262 if x != nil {
263 return x.CheckoutSettings
264 }
265 return nil
266 }
267
268 // Request message for the `UpdateCheckoutSettings` method.
269 type UpdateCheckoutSettingsRequest struct {
270 state protoimpl.MessageState
271 sizeCache protoimpl.SizeCache
272 unknownFields protoimpl.UnknownFields
273
274 // Required. The updated version of the `CheckoutSettings`.
275 // The `name` field is used to identify the `CheckoutSettings`.
276 // Format: `accounts/{account}/programs/{program}/checkoutSettings`
277 CheckoutSettings *CheckoutSettings `protobuf:"bytes,1,opt,name=checkout_settings,json=checkoutSettings,proto3" json:"checkout_settings,omitempty"`
278 // Required. List of fields being updated.
279 // The following fields are supported (in both `snake_case` and
280 // `lowerCamelCase`):
281 //
282 // - `eligible_destinations`
283 // - `uri_settings`
284 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
285 }
286
287 func (x *UpdateCheckoutSettingsRequest) Reset() {
288 *x = UpdateCheckoutSettingsRequest{}
289 mi := &file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_msgTypes[2]
290 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
291 ms.StoreMessageInfo(mi)
292 }
293
294 func (x *UpdateCheckoutSettingsRequest) String() string {
295 return protoimpl.X.MessageStringOf(x)
296 }
297
298 func (*UpdateCheckoutSettingsRequest) ProtoMessage() {}
299
300 func (x *UpdateCheckoutSettingsRequest) ProtoReflect() protoreflect.Message {
301 mi := &file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_msgTypes[2]
302 if x != nil {
303 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
304 if ms.LoadMessageInfo() == nil {
305 ms.StoreMessageInfo(mi)
306 }
307 return ms
308 }
309 return mi.MessageOf(x)
310 }
311
312 // Deprecated: Use UpdateCheckoutSettingsRequest.ProtoReflect.Descriptor instead.
313 func (*UpdateCheckoutSettingsRequest) Descriptor() ([]byte, []int) {
314 return file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_rawDescGZIP(), []int{2}
315 }
316
317 func (x *UpdateCheckoutSettingsRequest) GetCheckoutSettings() *CheckoutSettings {
318 if x != nil {
319 return x.CheckoutSettings
320 }
321 return nil
322 }
323
324 func (x *UpdateCheckoutSettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
325 if x != nil {
326 return x.UpdateMask
327 }
328 return nil
329 }
330
331 // Request message for the `DeleteCheckoutSettings` method.
332 type DeleteCheckoutSettingsRequest struct {
333 state protoimpl.MessageState
334 sizeCache protoimpl.SizeCache
335 unknownFields protoimpl.UnknownFields
336
337 // Required. The name/identifier of the merchant account.
338 // Format: `accounts/{account}/programs/{program}/checkoutSettings`
339 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
340 }
341
342 func (x *DeleteCheckoutSettingsRequest) Reset() {
343 *x = DeleteCheckoutSettingsRequest{}
344 mi := &file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_msgTypes[3]
345 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
346 ms.StoreMessageInfo(mi)
347 }
348
349 func (x *DeleteCheckoutSettingsRequest) String() string {
350 return protoimpl.X.MessageStringOf(x)
351 }
352
353 func (*DeleteCheckoutSettingsRequest) ProtoMessage() {}
354
355 func (x *DeleteCheckoutSettingsRequest) ProtoReflect() protoreflect.Message {
356 mi := &file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_msgTypes[3]
357 if x != nil {
358 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
359 if ms.LoadMessageInfo() == nil {
360 ms.StoreMessageInfo(mi)
361 }
362 return ms
363 }
364 return mi.MessageOf(x)
365 }
366
367 // Deprecated: Use DeleteCheckoutSettingsRequest.ProtoReflect.Descriptor instead.
368 func (*DeleteCheckoutSettingsRequest) Descriptor() ([]byte, []int) {
369 return file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_rawDescGZIP(), []int{3}
370 }
371
372 func (x *DeleteCheckoutSettingsRequest) GetName() string {
373 if x != nil {
374 return x.Name
375 }
376 return ""
377 }
378
379 // [CheckoutSettings](https://support.google.com/merchants/answer/13945960) for
380 // a specific merchant.
381 type CheckoutSettings struct {
382 state protoimpl.MessageState
383 sizeCache protoimpl.SizeCache
384 unknownFields protoimpl.UnknownFields
385
386 // Identifier. The resource name of the program configuration settings.
387 // Format: `accounts/{account}/programs/{program}/checkoutSettings`
388 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
389 // URI settings for cart or checkout URL.
390 UriSettings *UriSettings `protobuf:"bytes,2,opt,name=uri_settings,json=uriSettings,proto3,oneof" json:"uri_settings,omitempty"`
391 // Optional. The destinations (also known as [Marketing
392 // methods](https://support.google.com/merchants/answer/15130232)) to which
393 // the checkout program applies, valid destination values are `SHOPPING_ADS`,
394 // `FREE_LISTINGS`
395 EligibleDestinations []typepb.Destination_DestinationEnum `protobuf:"varint,8,rep,packed,name=eligible_destinations,json=eligibleDestinations,proto3,enum=google.shopping.type.Destination_DestinationEnum" json:"eligible_destinations,omitempty"`
396 // Output only. Reflects the merchant enrollment state in `Checkout` program.
397 EnrollmentState *CheckoutSettings_CheckoutEnrollmentState `protobuf:"varint,3,opt,name=enrollment_state,json=enrollmentState,proto3,enum=google.shopping.merchant.accounts.v1.CheckoutSettings_CheckoutEnrollmentState,oneof" json:"enrollment_state,omitempty"`
398 // Output only. Reflects the merchant review state in `Checkout` program.
399 // This is set based on the data quality reviews of the URL provided by
400 // the merchant.
401 // A merchant with enrollment state
402 // as `ENROLLED` can be in the following review states: `IN_REVIEW`,
403 // `APPROVED` or `DISAPPROVED`. A merchant must be in an `enrollment_state` of
404 // `ENROLLED` before a review can begin for the merchant.For more details,
405 // check the help center doc.
406 ReviewState *CheckoutSettings_CheckoutReviewState `protobuf:"varint,4,opt,name=review_state,json=reviewState,proto3,enum=google.shopping.merchant.accounts.v1.CheckoutSettings_CheckoutReviewState,oneof" json:"review_state,omitempty"`
407 // Output only. The effective value of `uri_settings` for a given merchant. If
408 // account level settings are present then this value will be a copy of url
409 // settings. Otherwise, it will have the value of the parent account (for only
410 // marketplace sellers).
411 EffectiveUriSettings *UriSettings `protobuf:"bytes,5,opt,name=effective_uri_settings,json=effectiveUriSettings,proto3" json:"effective_uri_settings,omitempty"`
412 // Output only. The effective value of enrollment_state for a given merchant
413 // ID. If account level settings are present then this value will be a copy of
414 // the account level settings. Otherwise, it will have the value of the parent
415 // account (for only marketplace sellers).
416 EffectiveEnrollmentState *CheckoutSettings_CheckoutEnrollmentState `protobuf:"varint,6,opt,name=effective_enrollment_state,json=effectiveEnrollmentState,proto3,enum=google.shopping.merchant.accounts.v1.CheckoutSettings_CheckoutEnrollmentState,oneof" json:"effective_enrollment_state,omitempty"`
417 // Output only. The effective value of `review_state` for a given merchant ID.
418 // If account level settings are present then this value will be a copy of the
419 // account level settings. Otherwise, it will have the value of the parent
420 // account (for only marketplace sellers).
421 EffectiveReviewState *CheckoutSettings_CheckoutReviewState `protobuf:"varint,7,opt,name=effective_review_state,json=effectiveReviewState,proto3,enum=google.shopping.merchant.accounts.v1.CheckoutSettings_CheckoutReviewState,oneof" json:"effective_review_state,omitempty"`
422 }
423
424 func (x *CheckoutSettings) Reset() {
425 *x = CheckoutSettings{}
426 mi := &file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_msgTypes[4]
427 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
428 ms.StoreMessageInfo(mi)
429 }
430
431 func (x *CheckoutSettings) String() string {
432 return protoimpl.X.MessageStringOf(x)
433 }
434
435 func (*CheckoutSettings) ProtoMessage() {}
436
437 func (x *CheckoutSettings) ProtoReflect() protoreflect.Message {
438 mi := &file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_msgTypes[4]
439 if x != nil {
440 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
441 if ms.LoadMessageInfo() == nil {
442 ms.StoreMessageInfo(mi)
443 }
444 return ms
445 }
446 return mi.MessageOf(x)
447 }
448
449 // Deprecated: Use CheckoutSettings.ProtoReflect.Descriptor instead.
450 func (*CheckoutSettings) Descriptor() ([]byte, []int) {
451 return file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_rawDescGZIP(), []int{4}
452 }
453
454 func (x *CheckoutSettings) GetName() string {
455 if x != nil {
456 return x.Name
457 }
458 return ""
459 }
460
461 func (x *CheckoutSettings) GetUriSettings() *UriSettings {
462 if x != nil {
463 return x.UriSettings
464 }
465 return nil
466 }
467
468 func (x *CheckoutSettings) GetEligibleDestinations() []typepb.Destination_DestinationEnum {
469 if x != nil {
470 return x.EligibleDestinations
471 }
472 return nil
473 }
474
475 func (x *CheckoutSettings) GetEnrollmentState() CheckoutSettings_CheckoutEnrollmentState {
476 if x != nil && x.EnrollmentState != nil {
477 return *x.EnrollmentState
478 }
479 return CheckoutSettings_CHECKOUT_ENROLLMENT_STATE_UNSPECIFIED
480 }
481
482 func (x *CheckoutSettings) GetReviewState() CheckoutSettings_CheckoutReviewState {
483 if x != nil && x.ReviewState != nil {
484 return *x.ReviewState
485 }
486 return CheckoutSettings_CHECKOUT_REVIEW_STATE_UNSPECIFIED
487 }
488
489 func (x *CheckoutSettings) GetEffectiveUriSettings() *UriSettings {
490 if x != nil {
491 return x.EffectiveUriSettings
492 }
493 return nil
494 }
495
496 func (x *CheckoutSettings) GetEffectiveEnrollmentState() CheckoutSettings_CheckoutEnrollmentState {
497 if x != nil && x.EffectiveEnrollmentState != nil {
498 return *x.EffectiveEnrollmentState
499 }
500 return CheckoutSettings_CHECKOUT_ENROLLMENT_STATE_UNSPECIFIED
501 }
502
503 func (x *CheckoutSettings) GetEffectiveReviewState() CheckoutSettings_CheckoutReviewState {
504 if x != nil && x.EffectiveReviewState != nil {
505 return *x.EffectiveReviewState
506 }
507 return CheckoutSettings_CHECKOUT_REVIEW_STATE_UNSPECIFIED
508 }
509
510 // URL settings for cart or checkout URL.
511 type UriSettings struct {
512 state protoimpl.MessageState
513 sizeCache protoimpl.SizeCache
514 unknownFields protoimpl.UnknownFields
515
516 // Specifications related to the `Checkout` URL. The `UriTemplate` is
517 // of the form `https://www.mystore.com/checkout?item_id={id}`
518 // where `{id}` will be automatically replaced with [offer_id]
519 // (https://developers.google.com/shopping-content/reference/rest/v2.1/products#Product.FIELDS.offer_id)
520 // attribute from the merchant account
521 //
522 // Types that are assignable to UriTemplate:
523 //
524 // *UriSettings_CheckoutUriTemplate
525 // *UriSettings_CartUriTemplate
526 UriTemplate isUriSettings_UriTemplate `protobuf_oneof:"uri_template"`
527 }
528
529 func (x *UriSettings) Reset() {
530 *x = UriSettings{}
531 mi := &file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_msgTypes[5]
532 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
533 ms.StoreMessageInfo(mi)
534 }
535
536 func (x *UriSettings) String() string {
537 return protoimpl.X.MessageStringOf(x)
538 }
539
540 func (*UriSettings) ProtoMessage() {}
541
542 func (x *UriSettings) ProtoReflect() protoreflect.Message {
543 mi := &file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_msgTypes[5]
544 if x != nil {
545 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
546 if ms.LoadMessageInfo() == nil {
547 ms.StoreMessageInfo(mi)
548 }
549 return ms
550 }
551 return mi.MessageOf(x)
552 }
553
554 // Deprecated: Use UriSettings.ProtoReflect.Descriptor instead.
555 func (*UriSettings) Descriptor() ([]byte, []int) {
556 return file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_rawDescGZIP(), []int{5}
557 }
558
559 func (m *UriSettings) GetUriTemplate() isUriSettings_UriTemplate {
560 if m != nil {
561 return m.UriTemplate
562 }
563 return nil
564 }
565
566 func (x *UriSettings) GetCheckoutUriTemplate() string {
567 if x, ok := x.GetUriTemplate().(*UriSettings_CheckoutUriTemplate); ok {
568 return x.CheckoutUriTemplate
569 }
570 return ""
571 }
572
573 func (x *UriSettings) GetCartUriTemplate() string {
574 if x, ok := x.GetUriTemplate().(*UriSettings_CartUriTemplate); ok {
575 return x.CartUriTemplate
576 }
577 return ""
578 }
579
580 type isUriSettings_UriTemplate interface {
581 isUriSettings_UriTemplate()
582 }
583
584 type UriSettings_CheckoutUriTemplate struct {
585 // Checkout URL template. When the placeholders are expanded will redirect
586 // the buyer to the merchant checkout page with the item in the cart. For
587 // more details, check the [help center
588 // doc](https://support.google.com/merchants/answer/13945960#method1&zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)
589 CheckoutUriTemplate string `protobuf:"bytes,1,opt,name=checkout_uri_template,json=checkoutUriTemplate,proto3,oneof"`
590 }
591
592 type UriSettings_CartUriTemplate struct {
593 // Cart URL template. When the placeholders are expanded will redirect the
594 // buyer to the cart page on the merchant website with the selected
595 // item in cart. For more details, check the [help center
596 // doc](https://support.google.com/merchants/answer/13945960#method1&zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)
597 CartUriTemplate string `protobuf:"bytes,2,opt,name=cart_uri_template,json=cartUriTemplate,proto3,oneof"`
598 }
599
600 func (*UriSettings_CheckoutUriTemplate) isUriSettings_UriTemplate() {}
601
602 func (*UriSettings_CartUriTemplate) isUriSettings_UriTemplate() {}
603
604 var File_google_shopping_merchant_accounts_v1_checkoutsettings_proto protoreflect.FileDescriptor
605
606 var file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_rawDesc = []byte{
607 0x0a, 0x3b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
608 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75,
609 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x73,
610 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x24, 0x67,
611 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d,
612 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
613 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
614 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
615 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c,
616 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
617 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68,
618 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f,
619 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
620 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
621 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72,
622 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
623 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e,
624 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68,
625 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65,
626 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x65, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x43, 0x68,
627 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65,
628 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
629 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2d, 0x0a, 0x2b, 0x6d, 0x65, 0x72,
630 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
631 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74,
632 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xd6,
633 0x01, 0x0a, 0x1d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75,
634 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
635 0x12, 0x4b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
636 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2d, 0x12, 0x2b, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61,
637 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
638 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74,
639 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x68, 0x0a,
640 0x11, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e,
641 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
642 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68,
643 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e,
644 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
645 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x10, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53,
646 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0xcb, 0x01, 0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61,
647 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
648 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x68, 0x0a, 0x11, 0x63, 0x68, 0x65,
649 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01,
650 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68,
651 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e,
652 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63,
653 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x03, 0xe0, 0x41,
654 0x02, 0x52, 0x10, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69,
655 0x6e, 0x67, 0x73, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61,
656 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
657 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64,
658 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74,
659 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x68, 0x0a, 0x1d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43,
660 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52,
661 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
662 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2d, 0x0a, 0x2b, 0x6d, 0x65,
663 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
664 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75,
665 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22,
666 0xdc, 0x0a, 0x0a, 0x10, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74,
667 0x69, 0x6e, 0x67, 0x73, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
668 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x59, 0x0a,
669 0x0c, 0x75, 0x72, 0x69, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20,
670 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f,
671 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61,
672 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x72, 0x69, 0x53, 0x65,
673 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x75, 0x72, 0x69, 0x53, 0x65, 0x74,
674 0x74, 0x69, 0x6e, 0x67, 0x73, 0x88, 0x01, 0x01, 0x12, 0x6b, 0x0a, 0x15, 0x65, 0x6c, 0x69, 0x67,
675 0x69, 0x62, 0x6c, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
676 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
677 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x44,
678 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x69,
679 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
680 0x14, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61,
681 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x83, 0x01, 0x0a, 0x10, 0x65, 0x6e, 0x72, 0x6f, 0x6c, 0x6c,
682 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e,
683 0x32, 0x4e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
684 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f,
685 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74,
686 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75,
687 0x74, 0x45, 0x6e, 0x72, 0x6f, 0x6c, 0x6c, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65,
688 0x42, 0x03, 0xe0, 0x41, 0x03, 0x48, 0x01, 0x52, 0x0f, 0x65, 0x6e, 0x72, 0x6f, 0x6c, 0x6c, 0x6d,
689 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x88, 0x01, 0x01, 0x12, 0x77, 0x0a, 0x0c, 0x72,
690 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
691 0x0e, 0x32, 0x4a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70,
692 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63,
693 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75,
694 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f,
695 0x75, 0x74, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0,
696 0x41, 0x03, 0x48, 0x02, 0x52, 0x0b, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74,
697 0x65, 0x88, 0x01, 0x01, 0x12, 0x6c, 0x0a, 0x16, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76,
698 0x65, 0x5f, 0x75, 0x72, 0x69, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x05,
699 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68,
700 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e,
701 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x72, 0x69, 0x53,
702 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x14, 0x65, 0x66,
703 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x55, 0x72, 0x69, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
704 0x67, 0x73, 0x12, 0x96, 0x01, 0x0a, 0x1a, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
705 0x5f, 0x65, 0x6e, 0x72, 0x6f, 0x6c, 0x6c, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74,
706 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x4e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
707 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61,
708 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43,
709 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e,
710 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x45, 0x6e, 0x72, 0x6f, 0x6c, 0x6c, 0x6d, 0x65,
711 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x48, 0x03, 0x52, 0x18,
712 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x72, 0x6f, 0x6c, 0x6c, 0x6d,
713 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x88, 0x01, 0x01, 0x12, 0x8a, 0x01, 0x0a, 0x16,
714 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77,
715 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x4a, 0x2e, 0x67,
716 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d,
717 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
718 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74,
719 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x76,
720 0x69, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x48, 0x04, 0x52,
721 0x14, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77,
722 0x53, 0x74, 0x61, 0x74, 0x65, 0x88, 0x01, 0x01, 0x22, 0x6f, 0x0a, 0x17, 0x43, 0x68, 0x65, 0x63,
723 0x6b, 0x6f, 0x75, 0x74, 0x45, 0x6e, 0x72, 0x6f, 0x6c, 0x6c, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74,
724 0x61, 0x74, 0x65, 0x12, 0x29, 0x0a, 0x25, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x4f, 0x55, 0x54, 0x5f,
725 0x45, 0x4e, 0x52, 0x4f, 0x4c, 0x4c, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45,
726 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c,
727 0x0a, 0x08, 0x49, 0x4e, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08,
728 0x45, 0x4e, 0x52, 0x4f, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x4f, 0x50,
729 0x54, 0x45, 0x44, 0x5f, 0x4f, 0x55, 0x54, 0x10, 0x03, 0x22, 0x6a, 0x0a, 0x13, 0x43, 0x68, 0x65,
730 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65,
731 0x12, 0x25, 0x0a, 0x21, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x4f, 0x55, 0x54, 0x5f, 0x52, 0x45, 0x56,
732 0x49, 0x45, 0x57, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43,
733 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x49, 0x4e, 0x5f, 0x52, 0x45,
734 0x56, 0x49, 0x45, 0x57, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56,
735 0x45, 0x44, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x44, 0x49, 0x53, 0x41, 0x50, 0x50, 0x52, 0x4f,
736 0x56, 0x45, 0x44, 0x10, 0x03, 0x3a, 0x85, 0x01, 0xea, 0x41, 0x81, 0x01, 0x0a, 0x2b, 0x6d, 0x65,
737 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
738 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75,
739 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x36, 0x61, 0x63, 0x63, 0x6f, 0x75,
740 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x2f, 0x70, 0x72,
741 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x7d,
742 0x2f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
743 0x73, 0x2a, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x32, 0x10, 0x63, 0x68, 0x65,
744 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x0f, 0x0a,
745 0x0d, 0x5f, 0x75, 0x72, 0x69, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x13,
746 0x0a, 0x11, 0x5f, 0x65, 0x6e, 0x72, 0x6f, 0x6c, 0x6c, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74,
747 0x61, 0x74, 0x65, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x73,
748 0x74, 0x61, 0x74, 0x65, 0x42, 0x1d, 0x0a, 0x1b, 0x5f, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69,
749 0x76, 0x65, 0x5f, 0x65, 0x6e, 0x72, 0x6f, 0x6c, 0x6c, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74,
750 0x61, 0x74, 0x65, 0x42, 0x19, 0x0a, 0x17, 0x5f, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76,
751 0x65, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x81,
752 0x01, 0x0a, 0x0b, 0x55, 0x72, 0x69, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x34,
753 0x0a, 0x15, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x5f, 0x74,
754 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52,
755 0x13, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x55, 0x72, 0x69, 0x54, 0x65, 0x6d, 0x70,
756 0x6c, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x63, 0x61, 0x72, 0x74, 0x5f, 0x75, 0x72, 0x69,
757 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48,
758 0x00, 0x52, 0x0f, 0x63, 0x61, 0x72, 0x74, 0x55, 0x72, 0x69, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61,
759 0x74, 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x75, 0x72, 0x69, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61,
760 0x74, 0x65, 0x32, 0xb0, 0x08, 0x0a, 0x17, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53,
761 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xda,
762 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65,
763 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
764 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e,
765 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,
766 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
767 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
768 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68,
769 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e,
770 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
771 0x22, 0x49, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3c, 0x12,
772 0x3a, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e,
773 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70,
774 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f,
775 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x7d, 0x12, 0x89, 0x02, 0x0a, 0x16,
776 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65,
777 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
778 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e,
779 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72,
780 0x65, 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74,
781 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x67, 0x6f,
782 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65,
783 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e,
784 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69,
785 0x6e, 0x67, 0x73, 0x22, 0x72, 0xda, 0x41, 0x18, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x63,
786 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
787 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x51, 0x3a, 0x11, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74,
788 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3c, 0x2f, 0x61, 0x63, 0x63, 0x6f,
789 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d,
790 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72, 0x6f, 0x67, 0x72,
791 0x61, 0x6d, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53,
792 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x9f, 0x02, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61,
793 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
794 0x67, 0x73, 0x12, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70,
795 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63,
796 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
797 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
798 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
799 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61,
800 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43,
801 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22,
802 0x87, 0x01, 0xda, 0x41, 0x1d, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x5f, 0x73, 0x65,
803 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61,
804 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x61, 0x3a, 0x11, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f,
805 0x75, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x32, 0x4c, 0x2f, 0x61, 0x63,
806 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x63, 0x68, 0x65, 0x63, 0x6b,
807 0x6f, 0x75, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x6e, 0x61, 0x6d,
808 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72, 0x6f,
809 0x67, 0x72, 0x61, 0x6d, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74,
810 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x7d, 0x12, 0xc0, 0x01, 0x0a, 0x16, 0x44, 0x65,
811 0x6c, 0x65, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74,
812 0x69, 0x6e, 0x67, 0x73, 0x12, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68,
813 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e,
814 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65,
815 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
816 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
817 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
818 0x79, 0x22, 0x49, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3c,
819 0x2a, 0x3a, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b,
820 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f,
821 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x68, 0x65, 0x63, 0x6b,
822 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x7d, 0x1a, 0x47, 0xca, 0x41,
823 0x1a, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f,
824 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x27, 0x68, 0x74,
825 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
826 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6f,
827 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x88, 0x02, 0x0a, 0x28, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
828 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65,
829 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e,
830 0x76, 0x31, 0x42, 0x15, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x73, 0x65, 0x74, 0x74,
831 0x69, 0x6e, 0x67, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f,
832 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f,
833 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61,
834 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76,
835 0x31, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0x3b, 0x61, 0x63, 0x63,
836 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0xaa, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
837 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61,
838 0x6e, 0x74, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02,
839 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
840 0x5c, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x5c, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e,
841 0x74, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a,
842 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61,
843 0x6e, 0x74, 0x3a, 0x3a, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x3a, 0x3a, 0x56, 0x31,
844 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
845 }
846
847 var (
848 file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_rawDescOnce sync.Once
849 file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_rawDescData = file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_rawDesc
850 )
851
852 func file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_rawDescGZIP() []byte {
853 file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_rawDescOnce.Do(func() {
854 file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_rawDescData)
855 })
856 return file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_rawDescData
857 }
858
859 var file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
860 var file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
861 var file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_goTypes = []any{
862 (CheckoutSettings_CheckoutEnrollmentState)(0), // 0: google.shopping.merchant.accounts.v1.CheckoutSettings.CheckoutEnrollmentState
863 (CheckoutSettings_CheckoutReviewState)(0), // 1: google.shopping.merchant.accounts.v1.CheckoutSettings.CheckoutReviewState
864 (*GetCheckoutSettingsRequest)(nil), // 2: google.shopping.merchant.accounts.v1.GetCheckoutSettingsRequest
865 (*CreateCheckoutSettingsRequest)(nil), // 3: google.shopping.merchant.accounts.v1.CreateCheckoutSettingsRequest
866 (*UpdateCheckoutSettingsRequest)(nil), // 4: google.shopping.merchant.accounts.v1.UpdateCheckoutSettingsRequest
867 (*DeleteCheckoutSettingsRequest)(nil), // 5: google.shopping.merchant.accounts.v1.DeleteCheckoutSettingsRequest
868 (*CheckoutSettings)(nil), // 6: google.shopping.merchant.accounts.v1.CheckoutSettings
869 (*UriSettings)(nil), // 7: google.shopping.merchant.accounts.v1.UriSettings
870 (*fieldmaskpb.FieldMask)(nil), // 8: google.protobuf.FieldMask
871 (typepb.Destination_DestinationEnum)(0), // 9: google.shopping.type.Destination.DestinationEnum
872 (*emptypb.Empty)(nil), // 10: google.protobuf.Empty
873 }
874 var file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_depIdxs = []int32{
875 6, // 0: google.shopping.merchant.accounts.v1.CreateCheckoutSettingsRequest.checkout_settings:type_name -> google.shopping.merchant.accounts.v1.CheckoutSettings
876 6, // 1: google.shopping.merchant.accounts.v1.UpdateCheckoutSettingsRequest.checkout_settings:type_name -> google.shopping.merchant.accounts.v1.CheckoutSettings
877 8, // 2: google.shopping.merchant.accounts.v1.UpdateCheckoutSettingsRequest.update_mask:type_name -> google.protobuf.FieldMask
878 7, // 3: google.shopping.merchant.accounts.v1.CheckoutSettings.uri_settings:type_name -> google.shopping.merchant.accounts.v1.UriSettings
879 9, // 4: google.shopping.merchant.accounts.v1.CheckoutSettings.eligible_destinations:type_name -> google.shopping.type.Destination.DestinationEnum
880 0, // 5: google.shopping.merchant.accounts.v1.CheckoutSettings.enrollment_state:type_name -> google.shopping.merchant.accounts.v1.CheckoutSettings.CheckoutEnrollmentState
881 1, // 6: google.shopping.merchant.accounts.v1.CheckoutSettings.review_state:type_name -> google.shopping.merchant.accounts.v1.CheckoutSettings.CheckoutReviewState
882 7, // 7: google.shopping.merchant.accounts.v1.CheckoutSettings.effective_uri_settings:type_name -> google.shopping.merchant.accounts.v1.UriSettings
883 0, // 8: google.shopping.merchant.accounts.v1.CheckoutSettings.effective_enrollment_state:type_name -> google.shopping.merchant.accounts.v1.CheckoutSettings.CheckoutEnrollmentState
884 1, // 9: google.shopping.merchant.accounts.v1.CheckoutSettings.effective_review_state:type_name -> google.shopping.merchant.accounts.v1.CheckoutSettings.CheckoutReviewState
885 2, // 10: google.shopping.merchant.accounts.v1.CheckoutSettingsService.GetCheckoutSettings:input_type -> google.shopping.merchant.accounts.v1.GetCheckoutSettingsRequest
886 3, // 11: google.shopping.merchant.accounts.v1.CheckoutSettingsService.CreateCheckoutSettings:input_type -> google.shopping.merchant.accounts.v1.CreateCheckoutSettingsRequest
887 4, // 12: google.shopping.merchant.accounts.v1.CheckoutSettingsService.UpdateCheckoutSettings:input_type -> google.shopping.merchant.accounts.v1.UpdateCheckoutSettingsRequest
888 5, // 13: google.shopping.merchant.accounts.v1.CheckoutSettingsService.DeleteCheckoutSettings:input_type -> google.shopping.merchant.accounts.v1.DeleteCheckoutSettingsRequest
889 6, // 14: google.shopping.merchant.accounts.v1.CheckoutSettingsService.GetCheckoutSettings:output_type -> google.shopping.merchant.accounts.v1.CheckoutSettings
890 6, // 15: google.shopping.merchant.accounts.v1.CheckoutSettingsService.CreateCheckoutSettings:output_type -> google.shopping.merchant.accounts.v1.CheckoutSettings
891 6, // 16: google.shopping.merchant.accounts.v1.CheckoutSettingsService.UpdateCheckoutSettings:output_type -> google.shopping.merchant.accounts.v1.CheckoutSettings
892 10, // 17: google.shopping.merchant.accounts.v1.CheckoutSettingsService.DeleteCheckoutSettings:output_type -> google.protobuf.Empty
893 14, // [14:18] is the sub-list for method output_type
894 10, // [10:14] is the sub-list for method input_type
895 10, // [10:10] is the sub-list for extension type_name
896 10, // [10:10] is the sub-list for extension extendee
897 0, // [0:10] is the sub-list for field type_name
898 }
899
900 func init() { file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_init() }
901 func file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_init() {
902 if File_google_shopping_merchant_accounts_v1_checkoutsettings_proto != nil {
903 return
904 }
905 file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_msgTypes[4].OneofWrappers = []any{}
906 file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_msgTypes[5].OneofWrappers = []any{
907 (*UriSettings_CheckoutUriTemplate)(nil),
908 (*UriSettings_CartUriTemplate)(nil),
909 }
910 type x struct{}
911 out := protoimpl.TypeBuilder{
912 File: protoimpl.DescBuilder{
913 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
914 RawDescriptor: file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_rawDesc,
915 NumEnums: 2,
916 NumMessages: 6,
917 NumExtensions: 0,
918 NumServices: 1,
919 },
920 GoTypes: file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_goTypes,
921 DependencyIndexes: file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_depIdxs,
922 EnumInfos: file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_enumTypes,
923 MessageInfos: file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_msgTypes,
924 }.Build()
925 File_google_shopping_merchant_accounts_v1_checkoutsettings_proto = out.File
926 file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_rawDesc = nil
927 file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_goTypes = nil
928 file_google_shopping_merchant_accounts_v1_checkoutsettings_proto_depIdxs = nil
929 }
930
931 // Reference imports to suppress errors if they are not otherwise used.
932 var _ context.Context
933 var _ grpc.ClientConnInterface
934
935 // This is a compile-time assertion to ensure that this generated file
936 // is compatible with the grpc package it is being compiled against.
937 const _ = grpc.SupportPackageIsVersion6
938
939 // CheckoutSettingsServiceClient is the client API for CheckoutSettingsService service.
940 //
941 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
942 type CheckoutSettingsServiceClient interface {
943 // Gets `CheckoutSettings` for the given merchant. This includes
944 // information about review state, enrollment state and URL settings.
945 GetCheckoutSettings(ctx context.Context, in *GetCheckoutSettingsRequest, opts ...grpc.CallOption) (*CheckoutSettings, error)
946 // Creates `CheckoutSettings` for the given merchant.
947 CreateCheckoutSettings(ctx context.Context, in *CreateCheckoutSettingsRequest, opts ...grpc.CallOption) (*CheckoutSettings, error)
948 // Updates `CheckoutSettings` for the given merchant.
949 UpdateCheckoutSettings(ctx context.Context, in *UpdateCheckoutSettingsRequest, opts ...grpc.CallOption) (*CheckoutSettings, error)
950 // Deletes `CheckoutSettings` and unenrolls merchant from
951 // `Checkout` program.
952 DeleteCheckoutSettings(ctx context.Context, in *DeleteCheckoutSettingsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
953 }
954
955 type checkoutSettingsServiceClient struct {
956 cc grpc.ClientConnInterface
957 }
958
959 func NewCheckoutSettingsServiceClient(cc grpc.ClientConnInterface) CheckoutSettingsServiceClient {
960 return &checkoutSettingsServiceClient{cc}
961 }
962
963 func (c *checkoutSettingsServiceClient) GetCheckoutSettings(ctx context.Context, in *GetCheckoutSettingsRequest, opts ...grpc.CallOption) (*CheckoutSettings, error) {
964 out := new(CheckoutSettings)
965 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.CheckoutSettingsService/GetCheckoutSettings", in, out, opts...)
966 if err != nil {
967 return nil, err
968 }
969 return out, nil
970 }
971
972 func (c *checkoutSettingsServiceClient) CreateCheckoutSettings(ctx context.Context, in *CreateCheckoutSettingsRequest, opts ...grpc.CallOption) (*CheckoutSettings, error) {
973 out := new(CheckoutSettings)
974 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.CheckoutSettingsService/CreateCheckoutSettings", in, out, opts...)
975 if err != nil {
976 return nil, err
977 }
978 return out, nil
979 }
980
981 func (c *checkoutSettingsServiceClient) UpdateCheckoutSettings(ctx context.Context, in *UpdateCheckoutSettingsRequest, opts ...grpc.CallOption) (*CheckoutSettings, error) {
982 out := new(CheckoutSettings)
983 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.CheckoutSettingsService/UpdateCheckoutSettings", in, out, opts...)
984 if err != nil {
985 return nil, err
986 }
987 return out, nil
988 }
989
990 func (c *checkoutSettingsServiceClient) DeleteCheckoutSettings(ctx context.Context, in *DeleteCheckoutSettingsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
991 out := new(emptypb.Empty)
992 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.CheckoutSettingsService/DeleteCheckoutSettings", in, out, opts...)
993 if err != nil {
994 return nil, err
995 }
996 return out, nil
997 }
998
999 // CheckoutSettingsServiceServer is the server API for CheckoutSettingsService service.
1000 type CheckoutSettingsServiceServer interface {
1001 // Gets `CheckoutSettings` for the given merchant. This includes
1002 // information about review state, enrollment state and URL settings.
1003 GetCheckoutSettings(context.Context, *GetCheckoutSettingsRequest) (*CheckoutSettings, error)
1004 // Creates `CheckoutSettings` for the given merchant.
1005 CreateCheckoutSettings(context.Context, *CreateCheckoutSettingsRequest) (*CheckoutSettings, error)
1006 // Updates `CheckoutSettings` for the given merchant.
1007 UpdateCheckoutSettings(context.Context, *UpdateCheckoutSettingsRequest) (*CheckoutSettings, error)
1008 // Deletes `CheckoutSettings` and unenrolls merchant from
1009 // `Checkout` program.
1010 DeleteCheckoutSettings(context.Context, *DeleteCheckoutSettingsRequest) (*emptypb.Empty, error)
1011 }
1012
1013 // UnimplementedCheckoutSettingsServiceServer can be embedded to have forward compatible implementations.
1014 type UnimplementedCheckoutSettingsServiceServer struct {
1015 }
1016
1017 func (*UnimplementedCheckoutSettingsServiceServer) GetCheckoutSettings(context.Context, *GetCheckoutSettingsRequest) (*CheckoutSettings, error) {
1018 return nil, status.Errorf(codes.Unimplemented, "method GetCheckoutSettings not implemented")
1019 }
1020 func (*UnimplementedCheckoutSettingsServiceServer) CreateCheckoutSettings(context.Context, *CreateCheckoutSettingsRequest) (*CheckoutSettings, error) {
1021 return nil, status.Errorf(codes.Unimplemented, "method CreateCheckoutSettings not implemented")
1022 }
1023 func (*UnimplementedCheckoutSettingsServiceServer) UpdateCheckoutSettings(context.Context, *UpdateCheckoutSettingsRequest) (*CheckoutSettings, error) {
1024 return nil, status.Errorf(codes.Unimplemented, "method UpdateCheckoutSettings not implemented")
1025 }
1026 func (*UnimplementedCheckoutSettingsServiceServer) DeleteCheckoutSettings(context.Context, *DeleteCheckoutSettingsRequest) (*emptypb.Empty, error) {
1027 return nil, status.Errorf(codes.Unimplemented, "method DeleteCheckoutSettings not implemented")
1028 }
1029
1030 func RegisterCheckoutSettingsServiceServer(s *grpc.Server, srv CheckoutSettingsServiceServer) {
1031 s.RegisterService(&_CheckoutSettingsService_serviceDesc, srv)
1032 }
1033
1034 func _CheckoutSettingsService_GetCheckoutSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1035 in := new(GetCheckoutSettingsRequest)
1036 if err := dec(in); err != nil {
1037 return nil, err
1038 }
1039 if interceptor == nil {
1040 return srv.(CheckoutSettingsServiceServer).GetCheckoutSettings(ctx, in)
1041 }
1042 info := &grpc.UnaryServerInfo{
1043 Server: srv,
1044 FullMethod: "/google.shopping.merchant.accounts.v1.CheckoutSettingsService/GetCheckoutSettings",
1045 }
1046 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1047 return srv.(CheckoutSettingsServiceServer).GetCheckoutSettings(ctx, req.(*GetCheckoutSettingsRequest))
1048 }
1049 return interceptor(ctx, in, info, handler)
1050 }
1051
1052 func _CheckoutSettingsService_CreateCheckoutSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1053 in := new(CreateCheckoutSettingsRequest)
1054 if err := dec(in); err != nil {
1055 return nil, err
1056 }
1057 if interceptor == nil {
1058 return srv.(CheckoutSettingsServiceServer).CreateCheckoutSettings(ctx, in)
1059 }
1060 info := &grpc.UnaryServerInfo{
1061 Server: srv,
1062 FullMethod: "/google.shopping.merchant.accounts.v1.CheckoutSettingsService/CreateCheckoutSettings",
1063 }
1064 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1065 return srv.(CheckoutSettingsServiceServer).CreateCheckoutSettings(ctx, req.(*CreateCheckoutSettingsRequest))
1066 }
1067 return interceptor(ctx, in, info, handler)
1068 }
1069
1070 func _CheckoutSettingsService_UpdateCheckoutSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1071 in := new(UpdateCheckoutSettingsRequest)
1072 if err := dec(in); err != nil {
1073 return nil, err
1074 }
1075 if interceptor == nil {
1076 return srv.(CheckoutSettingsServiceServer).UpdateCheckoutSettings(ctx, in)
1077 }
1078 info := &grpc.UnaryServerInfo{
1079 Server: srv,
1080 FullMethod: "/google.shopping.merchant.accounts.v1.CheckoutSettingsService/UpdateCheckoutSettings",
1081 }
1082 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1083 return srv.(CheckoutSettingsServiceServer).UpdateCheckoutSettings(ctx, req.(*UpdateCheckoutSettingsRequest))
1084 }
1085 return interceptor(ctx, in, info, handler)
1086 }
1087
1088 func _CheckoutSettingsService_DeleteCheckoutSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1089 in := new(DeleteCheckoutSettingsRequest)
1090 if err := dec(in); err != nil {
1091 return nil, err
1092 }
1093 if interceptor == nil {
1094 return srv.(CheckoutSettingsServiceServer).DeleteCheckoutSettings(ctx, in)
1095 }
1096 info := &grpc.UnaryServerInfo{
1097 Server: srv,
1098 FullMethod: "/google.shopping.merchant.accounts.v1.CheckoutSettingsService/DeleteCheckoutSettings",
1099 }
1100 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1101 return srv.(CheckoutSettingsServiceServer).DeleteCheckoutSettings(ctx, req.(*DeleteCheckoutSettingsRequest))
1102 }
1103 return interceptor(ctx, in, info, handler)
1104 }
1105
1106 var _CheckoutSettingsService_serviceDesc = grpc.ServiceDesc{
1107 ServiceName: "google.shopping.merchant.accounts.v1.CheckoutSettingsService",
1108 HandlerType: (*CheckoutSettingsServiceServer)(nil),
1109 Methods: []grpc.MethodDesc{
1110 {
1111 MethodName: "GetCheckoutSettings",
1112 Handler: _CheckoutSettingsService_GetCheckoutSettings_Handler,
1113 },
1114 {
1115 MethodName: "CreateCheckoutSettings",
1116 Handler: _CheckoutSettingsService_CreateCheckoutSettings_Handler,
1117 },
1118 {
1119 MethodName: "UpdateCheckoutSettings",
1120 Handler: _CheckoutSettingsService_UpdateCheckoutSettings_Handler,
1121 },
1122 {
1123 MethodName: "DeleteCheckoutSettings",
1124 Handler: _CheckoutSettingsService_DeleteCheckoutSettings_Handler,
1125 },
1126 },
1127 Streams: []grpc.StreamDesc{},
1128 Metadata: "google/shopping/merchant/accounts/v1/checkoutsettings.proto",
1129 }