Debian Codegraph @

shopping/merchant/accounts/apiv1beta/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/v1beta/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_v1beta_checkoutsettings_proto_enumTypes[0].Descriptor()
89 }
90
91 func (CheckoutSettings_CheckoutEnrollmentState) Type() protoreflect.EnumType {
92 return &file_google_shopping_merchant_accounts_v1beta_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_v1beta_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_v1beta_checkoutsettings_proto_enumTypes[1].Descriptor()
148 }
149
150 func (CheckoutSettings_CheckoutReviewState) Type() protoreflect.EnumType {
151 return &file_google_shopping_merchant_accounts_v1beta_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_v1beta_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_v1beta_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_v1beta_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_v1beta_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_v1beta_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_v1beta_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_v1beta_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_v1beta_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_v1beta_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_v1beta_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_v1beta_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_v1beta_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_v1beta_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 to which the checkout program applies, valid
392 // destination values are `SHOPPING_ADS`, `FREE_LISTINGS`
393 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"`
394 // Output only. Reflects the merchant enrollment state in `Checkout` program.
395 EnrollmentState *CheckoutSettings_CheckoutEnrollmentState `protobuf:"varint,3,opt,name=enrollment_state,json=enrollmentState,proto3,enum=google.shopping.merchant.accounts.v1beta.CheckoutSettings_CheckoutEnrollmentState,oneof" json:"enrollment_state,omitempty"`
396 // Output only. Reflects the merchant review state in `Checkout` program.
397 // This is set based on the data quality reviews of the URL provided by
398 // the merchant.
399 // A merchant with enrollment state
400 // as `ENROLLED` can be in the following review states: `IN_REVIEW`,
401 // `APPROVED` or `DISAPPROVED`. A merchant must be in an `enrollment_state` of
402 // `ENROLLED` before a review can begin for the merchant.For more details,
403 // check the help center doc.
404 ReviewState *CheckoutSettings_CheckoutReviewState `protobuf:"varint,4,opt,name=review_state,json=reviewState,proto3,enum=google.shopping.merchant.accounts.v1beta.CheckoutSettings_CheckoutReviewState,oneof" json:"review_state,omitempty"`
405 // Output only. The effective value of `uri_settings` for a given merchant. If
406 // account level settings are present then this value will be a copy of url
407 // settings. Otherwise, it will have the value of the parent account (for only
408 // marketplace sellers).
409 EffectiveUriSettings *UriSettings `protobuf:"bytes,5,opt,name=effective_uri_settings,json=effectiveUriSettings,proto3" json:"effective_uri_settings,omitempty"`
410 // Output only. The effective value of enrollment_state for a given merchant
411 // ID. If account level settings are present then this value will be a copy of
412 // the account level settings. Otherwise, it will have the value of the parent
413 // account (for only marketplace sellers).
414 EffectiveEnrollmentState *CheckoutSettings_CheckoutEnrollmentState `protobuf:"varint,6,opt,name=effective_enrollment_state,json=effectiveEnrollmentState,proto3,enum=google.shopping.merchant.accounts.v1beta.CheckoutSettings_CheckoutEnrollmentState,oneof" json:"effective_enrollment_state,omitempty"`
415 // Output only. The effective value of `review_state` for a given merchant ID.
416 // If account level settings are present then this value will be a copy of the
417 // account level settings. Otherwise, it will have the value of the parent
418 // account (for only marketplace sellers).
419 EffectiveReviewState *CheckoutSettings_CheckoutReviewState `protobuf:"varint,7,opt,name=effective_review_state,json=effectiveReviewState,proto3,enum=google.shopping.merchant.accounts.v1beta.CheckoutSettings_CheckoutReviewState,oneof" json:"effective_review_state,omitempty"`
420 }
421
422 func (x *CheckoutSettings) Reset() {
423 *x = CheckoutSettings{}
424 mi := &file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_msgTypes[4]
425 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
426 ms.StoreMessageInfo(mi)
427 }
428
429 func (x *CheckoutSettings) String() string {
430 return protoimpl.X.MessageStringOf(x)
431 }
432
433 func (*CheckoutSettings) ProtoMessage() {}
434
435 func (x *CheckoutSettings) ProtoReflect() protoreflect.Message {
436 mi := &file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_msgTypes[4]
437 if x != nil {
438 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
439 if ms.LoadMessageInfo() == nil {
440 ms.StoreMessageInfo(mi)
441 }
442 return ms
443 }
444 return mi.MessageOf(x)
445 }
446
447 // Deprecated: Use CheckoutSettings.ProtoReflect.Descriptor instead.
448 func (*CheckoutSettings) Descriptor() ([]byte, []int) {
449 return file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_rawDescGZIP(), []int{4}
450 }
451
452 func (x *CheckoutSettings) GetName() string {
453 if x != nil {
454 return x.Name
455 }
456 return ""
457 }
458
459 func (x *CheckoutSettings) GetUriSettings() *UriSettings {
460 if x != nil {
461 return x.UriSettings
462 }
463 return nil
464 }
465
466 func (x *CheckoutSettings) GetEligibleDestinations() []typepb.Destination_DestinationEnum {
467 if x != nil {
468 return x.EligibleDestinations
469 }
470 return nil
471 }
472
473 func (x *CheckoutSettings) GetEnrollmentState() CheckoutSettings_CheckoutEnrollmentState {
474 if x != nil && x.EnrollmentState != nil {
475 return *x.EnrollmentState
476 }
477 return CheckoutSettings_CHECKOUT_ENROLLMENT_STATE_UNSPECIFIED
478 }
479
480 func (x *CheckoutSettings) GetReviewState() CheckoutSettings_CheckoutReviewState {
481 if x != nil && x.ReviewState != nil {
482 return *x.ReviewState
483 }
484 return CheckoutSettings_CHECKOUT_REVIEW_STATE_UNSPECIFIED
485 }
486
487 func (x *CheckoutSettings) GetEffectiveUriSettings() *UriSettings {
488 if x != nil {
489 return x.EffectiveUriSettings
490 }
491 return nil
492 }
493
494 func (x *CheckoutSettings) GetEffectiveEnrollmentState() CheckoutSettings_CheckoutEnrollmentState {
495 if x != nil && x.EffectiveEnrollmentState != nil {
496 return *x.EffectiveEnrollmentState
497 }
498 return CheckoutSettings_CHECKOUT_ENROLLMENT_STATE_UNSPECIFIED
499 }
500
501 func (x *CheckoutSettings) GetEffectiveReviewState() CheckoutSettings_CheckoutReviewState {
502 if x != nil && x.EffectiveReviewState != nil {
503 return *x.EffectiveReviewState
504 }
505 return CheckoutSettings_CHECKOUT_REVIEW_STATE_UNSPECIFIED
506 }
507
508 // URL settings for cart or checkout URL.
509 type UriSettings struct {
510 state protoimpl.MessageState
511 sizeCache protoimpl.SizeCache
512 unknownFields protoimpl.UnknownFields
513
514 // Specifications related to the `Checkout` URL. The `UriTemplate` is
515 // of the form `https://www.mystore.com/checkout?item_id={id}`
516 // where `{id}` will be automatically replaced with [offer_id]
517 // (https://developers.google.com/shopping-content/reference/rest/v2.1/products#Product.FIELDS.offer_id)
518 // attribute from the merchant account
519 //
520 // Types that are assignable to UriTemplate:
521 //
522 // *UriSettings_CheckoutUriTemplate
523 // *UriSettings_CartUriTemplate
524 UriTemplate isUriSettings_UriTemplate `protobuf_oneof:"uri_template"`
525 }
526
527 func (x *UriSettings) Reset() {
528 *x = UriSettings{}
529 mi := &file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_msgTypes[5]
530 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
531 ms.StoreMessageInfo(mi)
532 }
533
534 func (x *UriSettings) String() string {
535 return protoimpl.X.MessageStringOf(x)
536 }
537
538 func (*UriSettings) ProtoMessage() {}
539
540 func (x *UriSettings) ProtoReflect() protoreflect.Message {
541 mi := &file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_msgTypes[5]
542 if x != nil {
543 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
544 if ms.LoadMessageInfo() == nil {
545 ms.StoreMessageInfo(mi)
546 }
547 return ms
548 }
549 return mi.MessageOf(x)
550 }
551
552 // Deprecated: Use UriSettings.ProtoReflect.Descriptor instead.
553 func (*UriSettings) Descriptor() ([]byte, []int) {
554 return file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_rawDescGZIP(), []int{5}
555 }
556
557 func (m *UriSettings) GetUriTemplate() isUriSettings_UriTemplate {
558 if m != nil {
559 return m.UriTemplate
560 }
561 return nil
562 }
563
564 func (x *UriSettings) GetCheckoutUriTemplate() string {
565 if x, ok := x.GetUriTemplate().(*UriSettings_CheckoutUriTemplate); ok {
566 return x.CheckoutUriTemplate
567 }
568 return ""
569 }
570
571 func (x *UriSettings) GetCartUriTemplate() string {
572 if x, ok := x.GetUriTemplate().(*UriSettings_CartUriTemplate); ok {
573 return x.CartUriTemplate
574 }
575 return ""
576 }
577
578 type isUriSettings_UriTemplate interface {
579 isUriSettings_UriTemplate()
580 }
581
582 type UriSettings_CheckoutUriTemplate struct {
583 // Checkout URL template. When the placeholders are expanded will redirect
584 // the buyer to the merchant checkout page with the item in the cart. For
585 // more details, check the [help center
586 // doc](https://support.google.com/merchants/answer/13945960#method1&zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)
587 CheckoutUriTemplate string `protobuf:"bytes,1,opt,name=checkout_uri_template,json=checkoutUriTemplate,proto3,oneof"`
588 }
589
590 type UriSettings_CartUriTemplate struct {
591 // Cart URL template. When the placeholders are expanded will redirect the
592 // buyer to the cart page on the merchant website with the selected
593 // item in cart. For more details, check the [help center
594 // doc](https://support.google.com/merchants/answer/13945960#method1&zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)
595 CartUriTemplate string `protobuf:"bytes,2,opt,name=cart_uri_template,json=cartUriTemplate,proto3,oneof"`
596 }
597
598 func (*UriSettings_CheckoutUriTemplate) isUriSettings_UriTemplate() {}
599
600 func (*UriSettings_CartUriTemplate) isUriSettings_UriTemplate() {}
601
602 var File_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto protoreflect.FileDescriptor
603
604 var file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_rawDesc = []byte{
605 0x0a, 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
606 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75,
607 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x63, 0x68, 0x65, 0x63, 0x6b,
608 0x6f, 0x75, 0x74, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
609 0x6f, 0x12, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
610 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f,
611 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1c, 0x67, 0x6f, 0x6f,
612 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
613 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
614 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f,
615 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66,
616 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72,
617 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
618 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b,
619 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
620 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f,
621 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65,
622 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67,
623 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x74,
624 0x79, 0x70, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
625 0x65, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65,
626 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a,
627 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02,
628 0xfa, 0x41, 0x2d, 0x0a, 0x2b, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69,
629 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
630 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
631 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xda, 0x01, 0x0a, 0x1d, 0x43, 0x72, 0x65, 0x61, 0x74,
632 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
633 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65,
634 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2d,
635 0x12, 0x2b, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f,
636 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x68, 0x65,
637 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x06, 0x70,
638 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x6c, 0x0a, 0x11, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75,
639 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
640 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
641 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f,
642 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x68, 0x65, 0x63,
643 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x03, 0xe0, 0x41,
644 0x02, 0x52, 0x10, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69,
645 0x6e, 0x67, 0x73, 0x22, 0xcf, 0x01, 0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x68,
646 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65,
647 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x6c, 0x0a, 0x11, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75,
648 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
649 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
650 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f,
651 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x68, 0x65, 0x63,
652 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x03, 0xe0, 0x41,
653 0x02, 0x52, 0x10, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69,
654 0x6e, 0x67, 0x73, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61,
655 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
656 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64,
657 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74,
658 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x68, 0x0a, 0x1d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43,
659 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52,
660 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
661 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2d, 0x0a, 0x2b, 0x6d, 0x65,
662 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
663 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75,
664 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22,
665 0xf4, 0x0a, 0x0a, 0x10, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74,
666 0x69, 0x6e, 0x67, 0x73, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
667 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x5d, 0x0a,
668 0x0c, 0x75, 0x72, 0x69, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20,
669 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f,
670 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61,
671 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x55,
672 0x72, 0x69, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x75, 0x72,
673 0x69, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x88, 0x01, 0x01, 0x12, 0x6b, 0x0a, 0x15,
674 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61,
675 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x6f,
676 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x74, 0x79,
677 0x70, 0x65, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44,
678 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x42, 0x03,
679 0xe0, 0x41, 0x01, 0x52, 0x14, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x44, 0x65, 0x73,
680 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x87, 0x01, 0x0a, 0x10, 0x65, 0x6e,
681 0x72, 0x6f, 0x6c, 0x6c, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03,
682 0x20, 0x01, 0x28, 0x0e, 0x32, 0x52, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68,
683 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e,
684 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e,
685 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
686 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x45, 0x6e, 0x72, 0x6f, 0x6c, 0x6c, 0x6d,
687 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x48, 0x01, 0x52,
688 0x0f, 0x65, 0x6e, 0x72, 0x6f, 0x6c, 0x6c, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65,
689 0x88, 0x01, 0x01, 0x12, 0x7b, 0x0a, 0x0c, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x73, 0x74,
690 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x4e, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
691 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63,
692 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31,
693 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74,
694 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x52, 0x65,
695 0x76, 0x69, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x48, 0x02,
696 0x52, 0x0b, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x88, 0x01, 0x01,
697 0x12, 0x70, 0x0a, 0x16, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x75, 0x72,
698 0x69, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
699 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
700 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f,
701 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 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, 0x9a, 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, 0x52, 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, 0x62, 0x65,
709 0x74, 0x61, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69,
710 0x6e, 0x67, 0x73, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x45, 0x6e, 0x72, 0x6f,
711 0x6c, 0x6c, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03,
712 0x48, 0x03, 0x52, 0x18, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x72,
713 0x6f, 0x6c, 0x6c, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x88, 0x01, 0x01, 0x12,
714 0x8e, 0x01, 0x0a, 0x16, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x65,
715 0x76, 0x69, 0x65, 0x77, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e,
716 0x32, 0x4e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
717 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f,
718 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x68, 0x65, 0x63,
719 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x43, 0x68, 0x65,
720 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65,
721 0x42, 0x03, 0xe0, 0x41, 0x03, 0x48, 0x04, 0x52, 0x14, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69,
722 0x76, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x88, 0x01, 0x01,
723 0x22, 0x6f, 0x0a, 0x17, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x45, 0x6e, 0x72, 0x6f,
724 0x6c, 0x6c, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x29, 0x0a, 0x25, 0x43,
725 0x48, 0x45, 0x43, 0x4b, 0x4f, 0x55, 0x54, 0x5f, 0x45, 0x4e, 0x52, 0x4f, 0x4c, 0x4c, 0x4d, 0x45,
726 0x4e, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
727 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4e, 0x41, 0x43, 0x54, 0x49,
728 0x56, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x4e, 0x52, 0x4f, 0x4c, 0x4c, 0x45, 0x44,
729 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x4f, 0x50, 0x54, 0x45, 0x44, 0x5f, 0x4f, 0x55, 0x54, 0x10,
730 0x03, 0x22, 0x6a, 0x0a, 0x13, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x76,
731 0x69, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x25, 0x0a, 0x21, 0x43, 0x48, 0x45, 0x43,
732 0x4b, 0x4f, 0x55, 0x54, 0x5f, 0x52, 0x45, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x53, 0x54, 0x41, 0x54,
733 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
734 0x0d, 0x0a, 0x09, 0x49, 0x4e, 0x5f, 0x52, 0x45, 0x56, 0x49, 0x45, 0x57, 0x10, 0x01, 0x12, 0x0c,
735 0x0a, 0x08, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b,
736 0x44, 0x49, 0x53, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x03, 0x3a, 0x85, 0x01,
737 0xea, 0x41, 0x81, 0x01, 0x0a, 0x2b, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70,
738 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
739 0x2f, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
740 0x73, 0x12, 0x36, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x63, 0x63,
741 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x73, 0x2f, 0x7b,
742 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x7d, 0x2f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75,
743 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2a, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69,
744 0x6e, 0x67, 0x73, 0x32, 0x10, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74,
745 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x75, 0x72, 0x69, 0x5f, 0x73, 0x65,
746 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x65, 0x6e, 0x72, 0x6f, 0x6c,
747 0x6c, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x42, 0x0f, 0x0a, 0x0d, 0x5f,
748 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x42, 0x1d, 0x0a, 0x1b,
749 0x5f, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x6e, 0x72, 0x6f, 0x6c,
750 0x6c, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x42, 0x19, 0x0a, 0x17, 0x5f,
751 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77,
752 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x81, 0x01, 0x0a, 0x0b, 0x55, 0x72, 0x69, 0x53, 0x65,
753 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x34, 0x0a, 0x15, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f,
754 0x75, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18,
755 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x13, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75,
756 0x74, 0x55, 0x72, 0x69, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x11,
757 0x63, 0x61, 0x72, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
758 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0f, 0x63, 0x61, 0x72, 0x74, 0x55,
759 0x72, 0x69, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x75, 0x72,
760 0x69, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x32, 0xdc, 0x08, 0x0a, 0x17, 0x43,
761 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x53,
762 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xe6, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x68,
763 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x44,
764 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
765 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
766 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x68, 0x65,
767 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71,
768 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68,
769 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e,
770 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e,
771 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
772 0x22, 0x4d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x40, 0x12,
773 0x3e, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74,
774 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
775 0x2f, 0x2a, 0x2f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x68,
776 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x7d, 0x12,
777 0x95, 0x02, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f,
778 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x47, 0x2e, 0x67, 0x6f, 0x6f,
779 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72,
780 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76,
781 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63,
782 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75,
783 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f,
784 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61,
785 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43,
786 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22,
787 0x76, 0xda, 0x41, 0x18, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x63, 0x68, 0x65, 0x63, 0x6b,
788 0x6f, 0x75, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x82, 0xd3, 0xe4, 0x93,
789 0x02, 0x55, 0x3a, 0x11, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x5f, 0x73, 0x65, 0x74,
790 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x40, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
791 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d,
792 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72, 0x6f, 0x67, 0x72,
793 0x61, 0x6d, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53,
794 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0xab, 0x02, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61,
795 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
796 0x67, 0x73, 0x12, 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70,
797 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63,
798 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x55, 0x70,
799 0x64, 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74,
800 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x67, 0x6f,
801 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65,
802 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e,
803 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53,
804 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x8b, 0x01, 0xda, 0x41, 0x1d, 0x63, 0x68, 0x65,
805 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2c, 0x75,
806 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x65,
807 0x3a, 0x11, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69,
808 0x6e, 0x67, 0x73, 0x32, 0x50, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76,
809 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x5f,
810 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63,
811 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d,
812 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74,
813 0x69, 0x6e, 0x67, 0x73, 0x7d, 0x12, 0xc8, 0x01, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
814 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
815 0x12, 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
816 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f,
817 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x65, 0x6c, 0x65,
818 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
819 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
820 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
821 0x79, 0x22, 0x4d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x40,
822 0x2a, 0x3e, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65,
823 0x74, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
824 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x73, 0x2f, 0x2a, 0x2f, 0x63,
825 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x7d,
826 0x1a, 0x47, 0xca, 0x41, 0x1a, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69,
827 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2,
828 0x41, 0x27, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f,
829 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74,
830 0x68, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x97, 0x01, 0x0a, 0x2c, 0x63, 0x6f,
831 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
832 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75,
833 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x42, 0x15, 0x43, 0x68, 0x65, 0x63,
834 0x6b, 0x6f, 0x75, 0x74, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x50, 0x72, 0x6f, 0x74,
835 0x6f, 0x50, 0x01, 0x5a, 0x4e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
836 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
837 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75,
838 0x6e, 0x74, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x61, 0x63,
839 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
840 0x73, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
841 }
842
843 var (
844 file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_rawDescOnce sync.Once
845 file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_rawDescData = file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_rawDesc
846 )
847
848 func file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_rawDescGZIP() []byte {
849 file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_rawDescOnce.Do(func() {
850 file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_rawDescData)
851 })
852 return file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_rawDescData
853 }
854
855 var file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
856 var file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
857 var file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_goTypes = []any{
858 (CheckoutSettings_CheckoutEnrollmentState)(0), // 0: google.shopping.merchant.accounts.v1beta.CheckoutSettings.CheckoutEnrollmentState
859 (CheckoutSettings_CheckoutReviewState)(0), // 1: google.shopping.merchant.accounts.v1beta.CheckoutSettings.CheckoutReviewState
860 (*GetCheckoutSettingsRequest)(nil), // 2: google.shopping.merchant.accounts.v1beta.GetCheckoutSettingsRequest
861 (*CreateCheckoutSettingsRequest)(nil), // 3: google.shopping.merchant.accounts.v1beta.CreateCheckoutSettingsRequest
862 (*UpdateCheckoutSettingsRequest)(nil), // 4: google.shopping.merchant.accounts.v1beta.UpdateCheckoutSettingsRequest
863 (*DeleteCheckoutSettingsRequest)(nil), // 5: google.shopping.merchant.accounts.v1beta.DeleteCheckoutSettingsRequest
864 (*CheckoutSettings)(nil), // 6: google.shopping.merchant.accounts.v1beta.CheckoutSettings
865 (*UriSettings)(nil), // 7: google.shopping.merchant.accounts.v1beta.UriSettings
866 (*fieldmaskpb.FieldMask)(nil), // 8: google.protobuf.FieldMask
867 (typepb.Destination_DestinationEnum)(0), // 9: google.shopping.type.Destination.DestinationEnum
868 (*emptypb.Empty)(nil), // 10: google.protobuf.Empty
869 }
870 var file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_depIdxs = []int32{
871 6, // 0: google.shopping.merchant.accounts.v1beta.CreateCheckoutSettingsRequest.checkout_settings:type_name -> google.shopping.merchant.accounts.v1beta.CheckoutSettings
872 6, // 1: google.shopping.merchant.accounts.v1beta.UpdateCheckoutSettingsRequest.checkout_settings:type_name -> google.shopping.merchant.accounts.v1beta.CheckoutSettings
873 8, // 2: google.shopping.merchant.accounts.v1beta.UpdateCheckoutSettingsRequest.update_mask:type_name -> google.protobuf.FieldMask
874 7, // 3: google.shopping.merchant.accounts.v1beta.CheckoutSettings.uri_settings:type_name -> google.shopping.merchant.accounts.v1beta.UriSettings
875 9, // 4: google.shopping.merchant.accounts.v1beta.CheckoutSettings.eligible_destinations:type_name -> google.shopping.type.Destination.DestinationEnum
876 0, // 5: google.shopping.merchant.accounts.v1beta.CheckoutSettings.enrollment_state:type_name -> google.shopping.merchant.accounts.v1beta.CheckoutSettings.CheckoutEnrollmentState
877 1, // 6: google.shopping.merchant.accounts.v1beta.CheckoutSettings.review_state:type_name -> google.shopping.merchant.accounts.v1beta.CheckoutSettings.CheckoutReviewState
878 7, // 7: google.shopping.merchant.accounts.v1beta.CheckoutSettings.effective_uri_settings:type_name -> google.shopping.merchant.accounts.v1beta.UriSettings
879 0, // 8: google.shopping.merchant.accounts.v1beta.CheckoutSettings.effective_enrollment_state:type_name -> google.shopping.merchant.accounts.v1beta.CheckoutSettings.CheckoutEnrollmentState
880 1, // 9: google.shopping.merchant.accounts.v1beta.CheckoutSettings.effective_review_state:type_name -> google.shopping.merchant.accounts.v1beta.CheckoutSettings.CheckoutReviewState
881 2, // 10: google.shopping.merchant.accounts.v1beta.CheckoutSettingsService.GetCheckoutSettings:input_type -> google.shopping.merchant.accounts.v1beta.GetCheckoutSettingsRequest
882 3, // 11: google.shopping.merchant.accounts.v1beta.CheckoutSettingsService.CreateCheckoutSettings:input_type -> google.shopping.merchant.accounts.v1beta.CreateCheckoutSettingsRequest
883 4, // 12: google.shopping.merchant.accounts.v1beta.CheckoutSettingsService.UpdateCheckoutSettings:input_type -> google.shopping.merchant.accounts.v1beta.UpdateCheckoutSettingsRequest
884 5, // 13: google.shopping.merchant.accounts.v1beta.CheckoutSettingsService.DeleteCheckoutSettings:input_type -> google.shopping.merchant.accounts.v1beta.DeleteCheckoutSettingsRequest
885 6, // 14: google.shopping.merchant.accounts.v1beta.CheckoutSettingsService.GetCheckoutSettings:output_type -> google.shopping.merchant.accounts.v1beta.CheckoutSettings
886 6, // 15: google.shopping.merchant.accounts.v1beta.CheckoutSettingsService.CreateCheckoutSettings:output_type -> google.shopping.merchant.accounts.v1beta.CheckoutSettings
887 6, // 16: google.shopping.merchant.accounts.v1beta.CheckoutSettingsService.UpdateCheckoutSettings:output_type -> google.shopping.merchant.accounts.v1beta.CheckoutSettings
888 10, // 17: google.shopping.merchant.accounts.v1beta.CheckoutSettingsService.DeleteCheckoutSettings:output_type -> google.protobuf.Empty
889 14, // [14:18] is the sub-list for method output_type
890 10, // [10:14] is the sub-list for method input_type
891 10, // [10:10] is the sub-list for extension type_name
892 10, // [10:10] is the sub-list for extension extendee
893 0, // [0:10] is the sub-list for field type_name
894 }
895
896 func init() { file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_init() }
897 func file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_init() {
898 if File_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto != nil {
899 return
900 }
901 file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_msgTypes[4].OneofWrappers = []any{}
902 file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_msgTypes[5].OneofWrappers = []any{
903 (*UriSettings_CheckoutUriTemplate)(nil),
904 (*UriSettings_CartUriTemplate)(nil),
905 }
906 type x struct{}
907 out := protoimpl.TypeBuilder{
908 File: protoimpl.DescBuilder{
909 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
910 RawDescriptor: file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_rawDesc,
911 NumEnums: 2,
912 NumMessages: 6,
913 NumExtensions: 0,
914 NumServices: 1,
915 },
916 GoTypes: file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_goTypes,
917 DependencyIndexes: file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_depIdxs,
918 EnumInfos: file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_enumTypes,
919 MessageInfos: file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_msgTypes,
920 }.Build()
921 File_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto = out.File
922 file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_rawDesc = nil
923 file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_goTypes = nil
924 file_google_shopping_merchant_accounts_v1beta_checkoutsettings_proto_depIdxs = nil
925 }
926
927 // Reference imports to suppress errors if they are not otherwise used.
928 var _ context.Context
929 var _ grpc.ClientConnInterface
930
931 // This is a compile-time assertion to ensure that this generated file
932 // is compatible with the grpc package it is being compiled against.
933 const _ = grpc.SupportPackageIsVersion6
934
935 // CheckoutSettingsServiceClient is the client API for CheckoutSettingsService service.
936 //
937 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
938 type CheckoutSettingsServiceClient interface {
939 // Gets `CheckoutSettings` for the given merchant. This includes
940 // information about review state, enrollment state and URL settings.
941 GetCheckoutSettings(ctx context.Context, in *GetCheckoutSettingsRequest, opts ...grpc.CallOption) (*CheckoutSettings, error)
942 // Creates `CheckoutSettings` for the given merchant.
943 CreateCheckoutSettings(ctx context.Context, in *CreateCheckoutSettingsRequest, opts ...grpc.CallOption) (*CheckoutSettings, error)
944 // Updates `CheckoutSettings` for the given merchant.
945 UpdateCheckoutSettings(ctx context.Context, in *UpdateCheckoutSettingsRequest, opts ...grpc.CallOption) (*CheckoutSettings, error)
946 // Deletes `CheckoutSettings` and unenrolls merchant from
947 // `Checkout` program.
948 DeleteCheckoutSettings(ctx context.Context, in *DeleteCheckoutSettingsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
949 }
950
951 type checkoutSettingsServiceClient struct {
952 cc grpc.ClientConnInterface
953 }
954
955 func NewCheckoutSettingsServiceClient(cc grpc.ClientConnInterface) CheckoutSettingsServiceClient {
956 return &checkoutSettingsServiceClient{cc}
957 }
958
959 func (c *checkoutSettingsServiceClient) GetCheckoutSettings(ctx context.Context, in *GetCheckoutSettingsRequest, opts ...grpc.CallOption) (*CheckoutSettings, error) {
960 out := new(CheckoutSettings)
961 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1beta.CheckoutSettingsService/GetCheckoutSettings", in, out, opts...)
962 if err != nil {
963 return nil, err
964 }
965 return out, nil
966 }
967
968 func (c *checkoutSettingsServiceClient) CreateCheckoutSettings(ctx context.Context, in *CreateCheckoutSettingsRequest, opts ...grpc.CallOption) (*CheckoutSettings, error) {
969 out := new(CheckoutSettings)
970 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1beta.CheckoutSettingsService/CreateCheckoutSettings", in, out, opts...)
971 if err != nil {
972 return nil, err
973 }
974 return out, nil
975 }
976
977 func (c *checkoutSettingsServiceClient) UpdateCheckoutSettings(ctx context.Context, in *UpdateCheckoutSettingsRequest, opts ...grpc.CallOption) (*CheckoutSettings, error) {
978 out := new(CheckoutSettings)
979 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1beta.CheckoutSettingsService/UpdateCheckoutSettings", in, out, opts...)
980 if err != nil {
981 return nil, err
982 }
983 return out, nil
984 }
985
986 func (c *checkoutSettingsServiceClient) DeleteCheckoutSettings(ctx context.Context, in *DeleteCheckoutSettingsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
987 out := new(emptypb.Empty)
988 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1beta.CheckoutSettingsService/DeleteCheckoutSettings", in, out, opts...)
989 if err != nil {
990 return nil, err
991 }
992 return out, nil
993 }
994
995 // CheckoutSettingsServiceServer is the server API for CheckoutSettingsService service.
996 type CheckoutSettingsServiceServer interface {
997 // Gets `CheckoutSettings` for the given merchant. This includes
998 // information about review state, enrollment state and URL settings.
999 GetCheckoutSettings(context.Context, *GetCheckoutSettingsRequest) (*CheckoutSettings, error)
1000 // Creates `CheckoutSettings` for the given merchant.
1001 CreateCheckoutSettings(context.Context, *CreateCheckoutSettingsRequest) (*CheckoutSettings, error)
1002 // Updates `CheckoutSettings` for the given merchant.
1003 UpdateCheckoutSettings(context.Context, *UpdateCheckoutSettingsRequest) (*CheckoutSettings, error)
1004 // Deletes `CheckoutSettings` and unenrolls merchant from
1005 // `Checkout` program.
1006 DeleteCheckoutSettings(context.Context, *DeleteCheckoutSettingsRequest) (*emptypb.Empty, error)
1007 }
1008
1009 // UnimplementedCheckoutSettingsServiceServer can be embedded to have forward compatible implementations.
1010 type UnimplementedCheckoutSettingsServiceServer struct {
1011 }
1012
1013 func (*UnimplementedCheckoutSettingsServiceServer) GetCheckoutSettings(context.Context, *GetCheckoutSettingsRequest) (*CheckoutSettings, error) {
1014 return nil, status.Errorf(codes.Unimplemented, "method GetCheckoutSettings not implemented")
1015 }
1016 func (*UnimplementedCheckoutSettingsServiceServer) CreateCheckoutSettings(context.Context, *CreateCheckoutSettingsRequest) (*CheckoutSettings, error) {
1017 return nil, status.Errorf(codes.Unimplemented, "method CreateCheckoutSettings not implemented")
1018 }
1019 func (*UnimplementedCheckoutSettingsServiceServer) UpdateCheckoutSettings(context.Context, *UpdateCheckoutSettingsRequest) (*CheckoutSettings, error) {
1020 return nil, status.Errorf(codes.Unimplemented, "method UpdateCheckoutSettings not implemented")
1021 }
1022 func (*UnimplementedCheckoutSettingsServiceServer) DeleteCheckoutSettings(context.Context, *DeleteCheckoutSettingsRequest) (*emptypb.Empty, error) {
1023 return nil, status.Errorf(codes.Unimplemented, "method DeleteCheckoutSettings not implemented")
1024 }
1025
1026 func RegisterCheckoutSettingsServiceServer(s *grpc.Server, srv CheckoutSettingsServiceServer) {
1027 s.RegisterService(&_CheckoutSettingsService_serviceDesc, srv)
1028 }
1029
1030 func _CheckoutSettingsService_GetCheckoutSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1031 in := new(GetCheckoutSettingsRequest)
1032 if err := dec(in); err != nil {
1033 return nil, err
1034 }
1035 if interceptor == nil {
1036 return srv.(CheckoutSettingsServiceServer).GetCheckoutSettings(ctx, in)
1037 }
1038 info := &grpc.UnaryServerInfo{
1039 Server: srv,
1040 FullMethod: "/google.shopping.merchant.accounts.v1beta.CheckoutSettingsService/GetCheckoutSettings",
1041 }
1042 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1043 return srv.(CheckoutSettingsServiceServer).GetCheckoutSettings(ctx, req.(*GetCheckoutSettingsRequest))
1044 }
1045 return interceptor(ctx, in, info, handler)
1046 }
1047
1048 func _CheckoutSettingsService_CreateCheckoutSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1049 in := new(CreateCheckoutSettingsRequest)
1050 if err := dec(in); err != nil {
1051 return nil, err
1052 }
1053 if interceptor == nil {
1054 return srv.(CheckoutSettingsServiceServer).CreateCheckoutSettings(ctx, in)
1055 }
1056 info := &grpc.UnaryServerInfo{
1057 Server: srv,
1058 FullMethod: "/google.shopping.merchant.accounts.v1beta.CheckoutSettingsService/CreateCheckoutSettings",
1059 }
1060 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1061 return srv.(CheckoutSettingsServiceServer).CreateCheckoutSettings(ctx, req.(*CreateCheckoutSettingsRequest))
1062 }
1063 return interceptor(ctx, in, info, handler)
1064 }
1065
1066 func _CheckoutSettingsService_UpdateCheckoutSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1067 in := new(UpdateCheckoutSettingsRequest)
1068 if err := dec(in); err != nil {
1069 return nil, err
1070 }
1071 if interceptor == nil {
1072 return srv.(CheckoutSettingsServiceServer).UpdateCheckoutSettings(ctx, in)
1073 }
1074 info := &grpc.UnaryServerInfo{
1075 Server: srv,
1076 FullMethod: "/google.shopping.merchant.accounts.v1beta.CheckoutSettingsService/UpdateCheckoutSettings",
1077 }
1078 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1079 return srv.(CheckoutSettingsServiceServer).UpdateCheckoutSettings(ctx, req.(*UpdateCheckoutSettingsRequest))
1080 }
1081 return interceptor(ctx, in, info, handler)
1082 }
1083
1084 func _CheckoutSettingsService_DeleteCheckoutSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1085 in := new(DeleteCheckoutSettingsRequest)
1086 if err := dec(in); err != nil {
1087 return nil, err
1088 }
1089 if interceptor == nil {
1090 return srv.(CheckoutSettingsServiceServer).DeleteCheckoutSettings(ctx, in)
1091 }
1092 info := &grpc.UnaryServerInfo{
1093 Server: srv,
1094 FullMethod: "/google.shopping.merchant.accounts.v1beta.CheckoutSettingsService/DeleteCheckoutSettings",
1095 }
1096 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1097 return srv.(CheckoutSettingsServiceServer).DeleteCheckoutSettings(ctx, req.(*DeleteCheckoutSettingsRequest))
1098 }
1099 return interceptor(ctx, in, info, handler)
1100 }
1101
1102 var _CheckoutSettingsService_serviceDesc = grpc.ServiceDesc{
1103 ServiceName: "google.shopping.merchant.accounts.v1beta.CheckoutSettingsService",
1104 HandlerType: (*CheckoutSettingsServiceServer)(nil),
1105 Methods: []grpc.MethodDesc{
1106 {
1107 MethodName: "GetCheckoutSettings",
1108 Handler: _CheckoutSettingsService_GetCheckoutSettings_Handler,
1109 },
1110 {
1111 MethodName: "CreateCheckoutSettings",
1112 Handler: _CheckoutSettingsService_CreateCheckoutSettings_Handler,
1113 },
1114 {
1115 MethodName: "UpdateCheckoutSettings",
1116 Handler: _CheckoutSettingsService_UpdateCheckoutSettings_Handler,
1117 },
1118 {
1119 MethodName: "DeleteCheckoutSettings",
1120 Handler: _CheckoutSettingsService_DeleteCheckoutSettings_Handler,
1121 },
1122 },
1123 Streams: []grpc.StreamDesc{},
1124 Metadata: "google/shopping/merchant/accounts/v1beta/checkoutsettings.proto",
1125 }