| 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/termsofservice.proto |
| 20 |
|
| 21 |
package accountspb |
| 22 |
|
| 23 |
import ( |
| 24 |
context "context" |
| 25 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 26 |
grpc "google.golang.org/grpc" |
| 27 |
codes "google.golang.org/grpc/codes" |
| 28 |
status "google.golang.org/grpc/status" |
| 29 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 30 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 31 |
reflect "reflect" |
| 32 |
sync "sync" |
| 33 |
) |
| 34 |
|
| 35 |
const ( |
| 36 |
// Verify that this generated code is sufficiently up-to-date. |
| 37 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 38 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 39 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 40 |
) |
| 41 |
|
| 42 |
// The `TermsOfService` message represents a specific version of the terms of |
| 43 |
// service that merchants must accept to access certain features or services. |
| 44 |
// For more information, see [Terms of |
| 45 |
// Service](https://support.google.com/merchants/answer/160173). |
| 46 |
// |
| 47 |
// This message is important for the onboarding process, ensuring that merchants |
| 48 |
// agree to the necessary legal agreements for using the service. Merchants can |
| 49 |
// retrieve the latest terms of service for a given `kind` and `region` through |
| 50 |
// `RetrieveLatestTermsOfService`, and accept them as required through |
| 51 |
// `AcceptTermsOfService`. |
| 52 |
type TermsOfService struct { |
| 53 |
state protoimpl.MessageState |
| 54 |
sizeCache protoimpl.SizeCache |
| 55 |
unknownFields protoimpl.UnknownFields |
| 56 |
|
| 57 |
// Identifier. The resource name of the terms of service version. |
| 58 |
// Format: `termsOfService/{version}` |
| 59 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 60 |
// Region code as defined by [CLDR](https://cldr.unicode.org/). This is either |
| 61 |
// a country where the ToS applies specifically to that country or `001` when |
| 62 |
// the same `TermsOfService` can be signed in any country. However note that |
| 63 |
// when signing a ToS that applies globally we still expect that a specific |
| 64 |
// country is provided (this should be merchant business country or program |
| 65 |
// country of participation). |
| 66 |
RegionCode string `protobuf:"bytes,2,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"` |
| 67 |
// The Kind this terms of service version applies to. |
| 68 |
Kind TermsOfServiceKind `protobuf:"varint,3,opt,name=kind,proto3,enum=google.shopping.merchant.accounts.v1.TermsOfServiceKind" json:"kind,omitempty"` |
| 69 |
// URI for terms of service file that needs to be displayed to signing users. |
| 70 |
FileUri *string `protobuf:"bytes,4,opt,name=file_uri,json=fileUri,proto3,oneof" json:"file_uri,omitempty"` |
| 71 |
// Whether this terms of service version is external. External terms of |
| 72 |
// service versions can only be agreed through external processes and not |
| 73 |
// directly by the merchant through UI or API. |
| 74 |
External bool `protobuf:"varint,5,opt,name=external,proto3" json:"external,omitempty"` |
| 75 |
} |
| 76 |
|
| 77 |
func (x *TermsOfService) Reset() { |
| 78 |
*x = TermsOfService{} |
| 79 |
mi := &file_google_shopping_merchant_accounts_v1_termsofservice_proto_msgTypes[0] |
| 80 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 81 |
ms.StoreMessageInfo(mi) |
| 82 |
} |
| 83 |
|
| 84 |
func (x *TermsOfService) String() string { |
| 85 |
return protoimpl.X.MessageStringOf(x) |
| 86 |
} |
| 87 |
|
| 88 |
func (*TermsOfService) ProtoMessage() {} |
| 89 |
|
| 90 |
func (x *TermsOfService) ProtoReflect() protoreflect.Message { |
| 91 |
mi := &file_google_shopping_merchant_accounts_v1_termsofservice_proto_msgTypes[0] |
| 92 |
if x != nil { |
| 93 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 94 |
if ms.LoadMessageInfo() == nil { |
| 95 |
ms.StoreMessageInfo(mi) |
| 96 |
} |
| 97 |
return ms |
| 98 |
} |
| 99 |
return mi.MessageOf(x) |
| 100 |
} |
| 101 |
|
| 102 |
// Deprecated: Use TermsOfService.ProtoReflect.Descriptor instead. |
| 103 |
func (*TermsOfService) Descriptor() ([]byte, []int) { |
| 104 |
return file_google_shopping_merchant_accounts_v1_termsofservice_proto_rawDescGZIP(), []int{0} |
| 105 |
} |
| 106 |
|
| 107 |
func (x *TermsOfService) GetName() string { |
| 108 |
if x != nil { |
| 109 |
return x.Name |
| 110 |
} |
| 111 |
return "" |
| 112 |
} |
| 113 |
|
| 114 |
func (x *TermsOfService) GetRegionCode() string { |
| 115 |
if x != nil { |
| 116 |
return x.RegionCode |
| 117 |
} |
| 118 |
return "" |
| 119 |
} |
| 120 |
|
| 121 |
func (x *TermsOfService) GetKind() TermsOfServiceKind { |
| 122 |
if x != nil { |
| 123 |
return x.Kind |
| 124 |
} |
| 125 |
return TermsOfServiceKind_TERMS_OF_SERVICE_KIND_UNSPECIFIED |
| 126 |
} |
| 127 |
|
| 128 |
func (x *TermsOfService) GetFileUri() string { |
| 129 |
if x != nil && x.FileUri != nil { |
| 130 |
return *x.FileUri |
| 131 |
} |
| 132 |
return "" |
| 133 |
} |
| 134 |
|
| 135 |
func (x *TermsOfService) GetExternal() bool { |
| 136 |
if x != nil { |
| 137 |
return x.External |
| 138 |
} |
| 139 |
return false |
| 140 |
} |
| 141 |
|
| 142 |
// Request message for the `GetTermsOfService` method. |
| 143 |
type GetTermsOfServiceRequest struct { |
| 144 |
state protoimpl.MessageState |
| 145 |
sizeCache protoimpl.SizeCache |
| 146 |
unknownFields protoimpl.UnknownFields |
| 147 |
|
| 148 |
// Required. The resource name of the terms of service version. |
| 149 |
// Format: `termsOfService/{version}` |
| 150 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 151 |
} |
| 152 |
|
| 153 |
func (x *GetTermsOfServiceRequest) Reset() { |
| 154 |
*x = GetTermsOfServiceRequest{} |
| 155 |
mi := &file_google_shopping_merchant_accounts_v1_termsofservice_proto_msgTypes[1] |
| 156 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 157 |
ms.StoreMessageInfo(mi) |
| 158 |
} |
| 159 |
|
| 160 |
func (x *GetTermsOfServiceRequest) String() string { |
| 161 |
return protoimpl.X.MessageStringOf(x) |
| 162 |
} |
| 163 |
|
| 164 |
func (*GetTermsOfServiceRequest) ProtoMessage() {} |
| 165 |
|
| 166 |
func (x *GetTermsOfServiceRequest) ProtoReflect() protoreflect.Message { |
| 167 |
mi := &file_google_shopping_merchant_accounts_v1_termsofservice_proto_msgTypes[1] |
| 168 |
if x != nil { |
| 169 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 170 |
if ms.LoadMessageInfo() == nil { |
| 171 |
ms.StoreMessageInfo(mi) |
| 172 |
} |
| 173 |
return ms |
| 174 |
} |
| 175 |
return mi.MessageOf(x) |
| 176 |
} |
| 177 |
|
| 178 |
// Deprecated: Use GetTermsOfServiceRequest.ProtoReflect.Descriptor instead. |
| 179 |
func (*GetTermsOfServiceRequest) Descriptor() ([]byte, []int) { |
| 180 |
return file_google_shopping_merchant_accounts_v1_termsofservice_proto_rawDescGZIP(), []int{1} |
| 181 |
} |
| 182 |
|
| 183 |
func (x *GetTermsOfServiceRequest) GetName() string { |
| 184 |
if x != nil { |
| 185 |
return x.Name |
| 186 |
} |
| 187 |
return "" |
| 188 |
} |
| 189 |
|
| 190 |
// Request message for the `RetrieveLatestTermsOfService` method. |
| 191 |
type RetrieveLatestTermsOfServiceRequest struct { |
| 192 |
state protoimpl.MessageState |
| 193 |
sizeCache protoimpl.SizeCache |
| 194 |
unknownFields protoimpl.UnknownFields |
| 195 |
|
| 196 |
// Required. Region code as defined by [CLDR](https://cldr.unicode.org/). This |
| 197 |
// is either a country when the ToS applies specifically to that country or |
| 198 |
// 001 when it applies globally. |
| 199 |
RegionCode string `protobuf:"bytes,1,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"` |
| 200 |
// Required. The Kind this terms of service version applies to. |
| 201 |
Kind TermsOfServiceKind `protobuf:"varint,2,opt,name=kind,proto3,enum=google.shopping.merchant.accounts.v1.TermsOfServiceKind" json:"kind,omitempty"` |
| 202 |
} |
| 203 |
|
| 204 |
func (x *RetrieveLatestTermsOfServiceRequest) Reset() { |
| 205 |
*x = RetrieveLatestTermsOfServiceRequest{} |
| 206 |
mi := &file_google_shopping_merchant_accounts_v1_termsofservice_proto_msgTypes[2] |
| 207 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 208 |
ms.StoreMessageInfo(mi) |
| 209 |
} |
| 210 |
|
| 211 |
func (x *RetrieveLatestTermsOfServiceRequest) String() string { |
| 212 |
return protoimpl.X.MessageStringOf(x) |
| 213 |
} |
| 214 |
|
| 215 |
func (*RetrieveLatestTermsOfServiceRequest) ProtoMessage() {} |
| 216 |
|
| 217 |
func (x *RetrieveLatestTermsOfServiceRequest) ProtoReflect() protoreflect.Message { |
| 218 |
mi := &file_google_shopping_merchant_accounts_v1_termsofservice_proto_msgTypes[2] |
| 219 |
if x != nil { |
| 220 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 221 |
if ms.LoadMessageInfo() == nil { |
| 222 |
ms.StoreMessageInfo(mi) |
| 223 |
} |
| 224 |
return ms |
| 225 |
} |
| 226 |
return mi.MessageOf(x) |
| 227 |
} |
| 228 |
|
| 229 |
// Deprecated: Use RetrieveLatestTermsOfServiceRequest.ProtoReflect.Descriptor instead. |
| 230 |
func (*RetrieveLatestTermsOfServiceRequest) Descriptor() ([]byte, []int) { |
| 231 |
return file_google_shopping_merchant_accounts_v1_termsofservice_proto_rawDescGZIP(), []int{2} |
| 232 |
} |
| 233 |
|
| 234 |
func (x *RetrieveLatestTermsOfServiceRequest) GetRegionCode() string { |
| 235 |
if x != nil { |
| 236 |
return x.RegionCode |
| 237 |
} |
| 238 |
return "" |
| 239 |
} |
| 240 |
|
| 241 |
func (x *RetrieveLatestTermsOfServiceRequest) GetKind() TermsOfServiceKind { |
| 242 |
if x != nil { |
| 243 |
return x.Kind |
| 244 |
} |
| 245 |
return TermsOfServiceKind_TERMS_OF_SERVICE_KIND_UNSPECIFIED |
| 246 |
} |
| 247 |
|
| 248 |
// Request message for the `AcceptTermsOfService` method. |
| 249 |
type AcceptTermsOfServiceRequest struct { |
| 250 |
state protoimpl.MessageState |
| 251 |
sizeCache protoimpl.SizeCache |
| 252 |
unknownFields protoimpl.UnknownFields |
| 253 |
|
| 254 |
// Required. The resource name of the terms of service version. |
| 255 |
// Format: `termsOfService/{version}` |
| 256 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 257 |
// Required. The account for which to accept the ToS. |
| 258 |
// Format: `accounts/{account}` |
| 259 |
Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` |
| 260 |
// Required. Region code as defined by [CLDR](https://cldr.unicode.org/). This |
| 261 |
// is either a country when the ToS applies specifically to that country or |
| 262 |
// 001 when it applies globally. |
| 263 |
RegionCode string `protobuf:"bytes,3,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"` |
| 264 |
} |
| 265 |
|
| 266 |
func (x *AcceptTermsOfServiceRequest) Reset() { |
| 267 |
*x = AcceptTermsOfServiceRequest{} |
| 268 |
mi := &file_google_shopping_merchant_accounts_v1_termsofservice_proto_msgTypes[3] |
| 269 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 270 |
ms.StoreMessageInfo(mi) |
| 271 |
} |
| 272 |
|
| 273 |
func (x *AcceptTermsOfServiceRequest) String() string { |
| 274 |
return protoimpl.X.MessageStringOf(x) |
| 275 |
} |
| 276 |
|
| 277 |
func (*AcceptTermsOfServiceRequest) ProtoMessage() {} |
| 278 |
|
| 279 |
func (x *AcceptTermsOfServiceRequest) ProtoReflect() protoreflect.Message { |
| 280 |
mi := &file_google_shopping_merchant_accounts_v1_termsofservice_proto_msgTypes[3] |
| 281 |
if x != nil { |
| 282 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 283 |
if ms.LoadMessageInfo() == nil { |
| 284 |
ms.StoreMessageInfo(mi) |
| 285 |
} |
| 286 |
return ms |
| 287 |
} |
| 288 |
return mi.MessageOf(x) |
| 289 |
} |
| 290 |
|
| 291 |
// Deprecated: Use AcceptTermsOfServiceRequest.ProtoReflect.Descriptor instead. |
| 292 |
func (*AcceptTermsOfServiceRequest) Descriptor() ([]byte, []int) { |
| 293 |
return file_google_shopping_merchant_accounts_v1_termsofservice_proto_rawDescGZIP(), []int{3} |
| 294 |
} |
| 295 |
|
| 296 |
func (x *AcceptTermsOfServiceRequest) GetName() string { |
| 297 |
if x != nil { |
| 298 |
return x.Name |
| 299 |
} |
| 300 |
return "" |
| 301 |
} |
| 302 |
|
| 303 |
func (x *AcceptTermsOfServiceRequest) GetAccount() string { |
| 304 |
if x != nil { |
| 305 |
return x.Account |
| 306 |
} |
| 307 |
return "" |
| 308 |
} |
| 309 |
|
| 310 |
func (x *AcceptTermsOfServiceRequest) GetRegionCode() string { |
| 311 |
if x != nil { |
| 312 |
return x.RegionCode |
| 313 |
} |
| 314 |
return "" |
| 315 |
} |
| 316 |
|
| 317 |
// Response message for the `AcceptTermsOfService` method. |
| 318 |
type AcceptTermsOfServiceResponse struct { |
| 319 |
state protoimpl.MessageState |
| 320 |
sizeCache protoimpl.SizeCache |
| 321 |
unknownFields protoimpl.UnknownFields |
| 322 |
|
| 323 |
// The agreement state after accepting the ToS. |
| 324 |
TermsOfServiceAgreementState *TermsOfServiceAgreementState `protobuf:"bytes,1,opt,name=terms_of_service_agreement_state,json=termsOfServiceAgreementState,proto3" json:"terms_of_service_agreement_state,omitempty"` |
| 325 |
} |
| 326 |
|
| 327 |
func (x *AcceptTermsOfServiceResponse) Reset() { |
| 328 |
*x = AcceptTermsOfServiceResponse{} |
| 329 |
mi := &file_google_shopping_merchant_accounts_v1_termsofservice_proto_msgTypes[4] |
| 330 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 331 |
ms.StoreMessageInfo(mi) |
| 332 |
} |
| 333 |
|
| 334 |
func (x *AcceptTermsOfServiceResponse) String() string { |
| 335 |
return protoimpl.X.MessageStringOf(x) |
| 336 |
} |
| 337 |
|
| 338 |
func (*AcceptTermsOfServiceResponse) ProtoMessage() {} |
| 339 |
|
| 340 |
func (x *AcceptTermsOfServiceResponse) ProtoReflect() protoreflect.Message { |
| 341 |
mi := &file_google_shopping_merchant_accounts_v1_termsofservice_proto_msgTypes[4] |
| 342 |
if x != nil { |
| 343 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 344 |
if ms.LoadMessageInfo() == nil { |
| 345 |
ms.StoreMessageInfo(mi) |
| 346 |
} |
| 347 |
return ms |
| 348 |
} |
| 349 |
return mi.MessageOf(x) |
| 350 |
} |
| 351 |
|
| 352 |
// Deprecated: Use AcceptTermsOfServiceResponse.ProtoReflect.Descriptor instead. |
| 353 |
func (*AcceptTermsOfServiceResponse) Descriptor() ([]byte, []int) { |
| 354 |
return file_google_shopping_merchant_accounts_v1_termsofservice_proto_rawDescGZIP(), []int{4} |
| 355 |
} |
| 356 |
|
| 357 |
func (x *AcceptTermsOfServiceResponse) GetTermsOfServiceAgreementState() *TermsOfServiceAgreementState { |
| 358 |
if x != nil { |
| 359 |
return x.TermsOfServiceAgreementState |
| 360 |
} |
| 361 |
return nil |
| 362 |
} |
| 363 |
|
| 364 |
var File_google_shopping_merchant_accounts_v1_termsofservice_proto protoreflect.FileDescriptor |
| 365 |
|
| 366 |
var file_google_shopping_merchant_accounts_v1_termsofservice_proto_rawDesc = []byte{ |
| 367 |
0x0a, 0x39, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, |
| 368 |
0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, |
| 369 |
0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x6f, 0x66, 0x73, 0x65, |
| 370 |
0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x24, 0x67, 0x6f, 0x6f, |
| 371 |
0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, |
| 372 |
0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, |
| 373 |
0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, |
| 374 |
0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, |
| 375 |
0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, |
| 376 |
0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 377 |
0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, |
| 378 |
0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 379 |
0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, |
| 380 |
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x47, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, |
| 381 |
0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, |
| 382 |
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x65, 0x72, 0x6d, 0x73, |
| 383 |
0x6f, 0x66, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x61, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, |
| 384 |
0x6e, 0x74, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3d, 0x67, |
| 385 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, |
| 386 |
0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, |
| 387 |
0x2f, 0x76, 0x31, 0x2f, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x6f, 0x66, 0x73, 0x65, 0x72, 0x76, 0x69, |
| 388 |
0x63, 0x65, 0x6b, 0x69, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd9, 0x02, 0x0a, |
| 389 |
0x0e, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, |
| 390 |
0x45, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 0xe0, |
| 391 |
0x41, 0x08, 0xfa, 0x41, 0x2b, 0x0a, 0x29, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, |
| 392 |
0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, |
| 393 |
0x6d, 0x2f, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, |
| 394 |
0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, |
| 395 |
0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x67, |
| 396 |
0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x4c, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, |
| 397 |
0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, |
| 398 |
0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, |
| 399 |
0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x72, |
| 400 |
0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x52, |
| 401 |
0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x1e, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x75, 0x72, |
| 402 |
0x69, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x55, |
| 403 |
0x72, 0x69, 0x88, 0x01, 0x01, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, |
| 404 |
0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, |
| 405 |
0x6c, 0x3a, 0x48, 0xea, 0x41, 0x45, 0x0a, 0x29, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, |
| 406 |
0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, |
| 407 |
0x6f, 0x6d, 0x2f, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, |
| 408 |
0x65, 0x12, 0x18, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, |
| 409 |
0x65, 0x2f, 0x7b, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x7d, 0x42, 0x0b, 0x0a, 0x09, 0x5f, |
| 410 |
0x66, 0x69, 0x6c, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x22, 0x61, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x54, |
| 411 |
0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, |
| 412 |
0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, |
| 413 |
0x28, 0x09, 0x42, 0x31, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2b, 0x0a, 0x29, 0x6d, 0x65, 0x72, 0x63, |
| 414 |
0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, |
| 415 |
0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, |
| 416 |
0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x9e, 0x01, 0x0a, 0x23, |
| 417 |
0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x54, 0x65, |
| 418 |
0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, |
| 419 |
0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, |
| 420 |
0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x72, |
| 421 |
0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x51, 0x0a, 0x04, 0x6b, 0x69, 0x6e, |
| 422 |
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 423 |
0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, |
| 424 |
0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, |
| 425 |
0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4b, 0x69, 0x6e, |
| 426 |
0x64, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0xd0, 0x01, 0x0a, |
| 427 |
0x1b, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, |
| 428 |
0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x04, |
| 429 |
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 0xe0, 0x41, 0x02, 0xfa, |
| 430 |
0x41, 0x2b, 0x0a, 0x29, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, |
| 431 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, |
| 432 |
0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x04, 0x6e, |
| 433 |
0x61, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, |
| 434 |
0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x24, 0x0a, 0x22, 0x6d, 0x65, |
| 435 |
0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 436 |
0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, |
| 437 |
0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x0b, 0x72, 0x65, 0x67, |
| 438 |
0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, |
| 439 |
0xe0, 0x41, 0x02, 0x52, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x22, |
| 440 |
0xab, 0x01, 0x0a, 0x1c, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x4f, |
| 441 |
0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, |
| 442 |
0x12, 0x8a, 0x01, 0x0a, 0x20, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x5f, 0x6f, 0x66, 0x5f, 0x73, 0x65, |
| 443 |
0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, |
| 444 |
0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x67, 0x6f, |
| 445 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, |
| 446 |
0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, |
| 447 |
0x76, 0x31, 0x2e, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, |
| 448 |
0x65, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, |
| 449 |
0x1c, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, |
| 450 |
0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x32, 0xd3, 0x05, |
| 451 |
0x0a, 0x15, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, |
| 452 |
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xbe, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x54, |
| 453 |
0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3e, 0x2e, |
| 454 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, |
| 455 |
0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, |
| 456 |
0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, |
| 457 |
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, |
| 458 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, |
| 459 |
0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, |
| 460 |
0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, |
| 461 |
0x69, 0x63, 0x65, 0x22, 0x33, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, |
| 462 |
0x02, 0x26, 0x12, 0x24, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, |
| 463 |
0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, |
| 464 |
0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x2a, 0x7d, 0x12, 0xd3, 0x01, 0x0a, 0x1c, 0x52, 0x65, 0x74, |
| 465 |
0x72, 0x69, 0x65, 0x76, 0x65, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x54, 0x65, 0x72, 0x6d, 0x73, |
| 466 |
0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x49, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 467 |
0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, |
| 468 |
0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, |
| 469 |
0x2e, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x54, |
| 470 |
0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, |
| 471 |
0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, |
| 472 |
0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, |
| 473 |
0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x72, 0x6d, |
| 474 |
0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x32, 0x82, 0xd3, 0xe4, 0x93, |
| 475 |
0x02, 0x2c, 0x12, 0x2a, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, |
| 476 |
0x2f, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x3a, |
| 477 |
0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x12, 0xd9, |
| 478 |
0x01, 0x0a, 0x14, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, |
| 479 |
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 480 |
0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, |
| 481 |
0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, |
| 482 |
0x63, 0x63, 0x65, 0x70, 0x74, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, |
| 483 |
0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x42, 0x2e, 0x67, 0x6f, 0x6f, |
| 484 |
0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, |
| 485 |
0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, |
| 486 |
0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, |
| 487 |
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3a, |
| 488 |
0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x22, 0x2b, 0x2f, |
| 489 |
0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, |
| 490 |
0x65, 0x3d, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, |
| 491 |
0x2f, 0x2a, 0x7d, 0x3a, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x1a, 0x47, 0xca, 0x41, 0x1a, 0x6d, |
| 492 |
0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 493 |
0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x27, 0x68, 0x74, 0x74, 0x70, |
| 494 |
0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, |
| 495 |
0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6f, 0x6e, 0x74, |
| 496 |
0x65, 0x6e, 0x74, 0x42, 0x86, 0x02, 0x0a, 0x28, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 497 |
0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, |
| 498 |
0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, |
| 499 |
0x42, 0x13, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, |
| 500 |
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, |
| 501 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x68, 0x6f, |
| 502 |
0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, |
| 503 |
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x63, |
| 504 |
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, |
| 505 |
0x73, 0x70, 0x62, 0xaa, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x53, 0x68, 0x6f, |
| 506 |
0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x41, |
| 507 |
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x24, 0x47, 0x6f, 0x6f, |
| 508 |
0x67, 0x6c, 0x65, 0x5c, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5c, 0x4d, 0x65, 0x72, |
| 509 |
0x63, 0x68, 0x61, 0x6e, 0x74, 0x5c, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5c, 0x56, |
| 510 |
0x31, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x53, 0x68, 0x6f, 0x70, |
| 511 |
0x70, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x3a, 0x3a, |
| 512 |
0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, |
| 513 |
0x6f, 0x74, 0x6f, 0x33, |
| 514 |
} |
| 515 |
|
| 516 |
var ( |
| 517 |
file_google_shopping_merchant_accounts_v1_termsofservice_proto_rawDescOnce sync.Once |
| 518 |
file_google_shopping_merchant_accounts_v1_termsofservice_proto_rawDescData = file_google_shopping_merchant_accounts_v1_termsofservice_proto_rawDesc |
| 519 |
) |
| 520 |
|
| 521 |
func file_google_shopping_merchant_accounts_v1_termsofservice_proto_rawDescGZIP() []byte { |
| 522 |
file_google_shopping_merchant_accounts_v1_termsofservice_proto_rawDescOnce.Do(func() { |
| 523 |
file_google_shopping_merchant_accounts_v1_termsofservice_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_accounts_v1_termsofservice_proto_rawDescData) |
| 524 |
}) |
| 525 |
return file_google_shopping_merchant_accounts_v1_termsofservice_proto_rawDescData |
| 526 |
} |
| 527 |
|
| 528 |
var file_google_shopping_merchant_accounts_v1_termsofservice_proto_msgTypes = make([]protoimpl.MessageInfo, 5) |
| 529 |
var file_google_shopping_merchant_accounts_v1_termsofservice_proto_goTypes = []any{ |
| 530 |
(*TermsOfService)(nil), // 0: google.shopping.merchant.accounts.v1.TermsOfService |
| 531 |
(*GetTermsOfServiceRequest)(nil), // 1: google.shopping.merchant.accounts.v1.GetTermsOfServiceRequest |
| 532 |
(*RetrieveLatestTermsOfServiceRequest)(nil), // 2: google.shopping.merchant.accounts.v1.RetrieveLatestTermsOfServiceRequest |
| 533 |
(*AcceptTermsOfServiceRequest)(nil), // 3: google.shopping.merchant.accounts.v1.AcceptTermsOfServiceRequest |
| 534 |
(*AcceptTermsOfServiceResponse)(nil), // 4: google.shopping.merchant.accounts.v1.AcceptTermsOfServiceResponse |
| 535 |
(TermsOfServiceKind)(0), // 5: google.shopping.merchant.accounts.v1.TermsOfServiceKind |
| 536 |
(*TermsOfServiceAgreementState)(nil), // 6: google.shopping.merchant.accounts.v1.TermsOfServiceAgreementState |
| 537 |
} |
| 538 |
var file_google_shopping_merchant_accounts_v1_termsofservice_proto_depIdxs = []int32{ |
| 539 |
5, // 0: google.shopping.merchant.accounts.v1.TermsOfService.kind:type_name -> google.shopping.merchant.accounts.v1.TermsOfServiceKind |
| 540 |
5, // 1: google.shopping.merchant.accounts.v1.RetrieveLatestTermsOfServiceRequest.kind:type_name -> google.shopping.merchant.accounts.v1.TermsOfServiceKind |
| 541 |
6, // 2: google.shopping.merchant.accounts.v1.AcceptTermsOfServiceResponse.terms_of_service_agreement_state:type_name -> google.shopping.merchant.accounts.v1.TermsOfServiceAgreementState |
| 542 |
1, // 3: google.shopping.merchant.accounts.v1.TermsOfServiceService.GetTermsOfService:input_type -> google.shopping.merchant.accounts.v1.GetTermsOfServiceRequest |
| 543 |
2, // 4: google.shopping.merchant.accounts.v1.TermsOfServiceService.RetrieveLatestTermsOfService:input_type -> google.shopping.merchant.accounts.v1.RetrieveLatestTermsOfServiceRequest |
| 544 |
3, // 5: google.shopping.merchant.accounts.v1.TermsOfServiceService.AcceptTermsOfService:input_type -> google.shopping.merchant.accounts.v1.AcceptTermsOfServiceRequest |
| 545 |
0, // 6: google.shopping.merchant.accounts.v1.TermsOfServiceService.GetTermsOfService:output_type -> google.shopping.merchant.accounts.v1.TermsOfService |
| 546 |
0, // 7: google.shopping.merchant.accounts.v1.TermsOfServiceService.RetrieveLatestTermsOfService:output_type -> google.shopping.merchant.accounts.v1.TermsOfService |
| 547 |
4, // 8: google.shopping.merchant.accounts.v1.TermsOfServiceService.AcceptTermsOfService:output_type -> google.shopping.merchant.accounts.v1.AcceptTermsOfServiceResponse |
| 548 |
6, // [6:9] is the sub-list for method output_type |
| 549 |
3, // [3:6] is the sub-list for method input_type |
| 550 |
3, // [3:3] is the sub-list for extension type_name |
| 551 |
3, // [3:3] is the sub-list for extension extendee |
| 552 |
0, // [0:3] is the sub-list for field type_name |
| 553 |
} |
| 554 |
|
| 555 |
func init() { file_google_shopping_merchant_accounts_v1_termsofservice_proto_init() } |
| 556 |
func file_google_shopping_merchant_accounts_v1_termsofservice_proto_init() { |
| 557 |
if File_google_shopping_merchant_accounts_v1_termsofservice_proto != nil { |
| 558 |
return |
| 559 |
} |
| 560 |
file_google_shopping_merchant_accounts_v1_termsofserviceagreementstate_proto_init() |
| 561 |
file_google_shopping_merchant_accounts_v1_termsofservicekind_proto_init() |
| 562 |
file_google_shopping_merchant_accounts_v1_termsofservice_proto_msgTypes[0].OneofWrappers = []any{} |
| 563 |
type x struct{} |
| 564 |
out := protoimpl.TypeBuilder{ |
| 565 |
File: protoimpl.DescBuilder{ |
| 566 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 567 |
RawDescriptor: file_google_shopping_merchant_accounts_v1_termsofservice_proto_rawDesc, |
| 568 |
NumEnums: 0, |
| 569 |
NumMessages: 5, |
| 570 |
NumExtensions: 0, |
| 571 |
NumServices: 1, |
| 572 |
}, |
| 573 |
GoTypes: file_google_shopping_merchant_accounts_v1_termsofservice_proto_goTypes, |
| 574 |
DependencyIndexes: file_google_shopping_merchant_accounts_v1_termsofservice_proto_depIdxs, |
| 575 |
MessageInfos: file_google_shopping_merchant_accounts_v1_termsofservice_proto_msgTypes, |
| 576 |
}.Build() |
| 577 |
File_google_shopping_merchant_accounts_v1_termsofservice_proto = out.File |
| 578 |
file_google_shopping_merchant_accounts_v1_termsofservice_proto_rawDesc = nil |
| 579 |
file_google_shopping_merchant_accounts_v1_termsofservice_proto_goTypes = nil |
| 580 |
file_google_shopping_merchant_accounts_v1_termsofservice_proto_depIdxs = nil |
| 581 |
} |
| 582 |
|
| 583 |
// Reference imports to suppress errors if they are not otherwise used. |
| 584 |
var _ context.Context |
| 585 |
var _ grpc.ClientConnInterface |
| 586 |
|
| 587 |
// This is a compile-time assertion to ensure that this generated file |
| 588 |
// is compatible with the grpc package it is being compiled against. |
| 589 |
const _ = grpc.SupportPackageIsVersion6 |
| 590 |
|
| 591 |
// TermsOfServiceServiceClient is the client API for TermsOfServiceService service. |
| 592 |
// |
| 593 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 594 |
type TermsOfServiceServiceClient interface { |
| 595 |
// Retrieves the `TermsOfService` associated with the provided version. |
| 596 |
GetTermsOfService(ctx context.Context, in *GetTermsOfServiceRequest, opts ...grpc.CallOption) (*TermsOfService, error) |
| 597 |
// Retrieves the latest version of the `TermsOfService` for a given `kind` and |
| 598 |
// `region_code`. |
| 599 |
RetrieveLatestTermsOfService(ctx context.Context, in *RetrieveLatestTermsOfServiceRequest, opts ...grpc.CallOption) (*TermsOfService, error) |
| 600 |
// Accepts a `TermsOfService`. Executing this method requires admin access. |
| 601 |
AcceptTermsOfService(ctx context.Context, in *AcceptTermsOfServiceRequest, opts ...grpc.CallOption) (*AcceptTermsOfServiceResponse, error) |
| 602 |
} |
| 603 |
|
| 604 |
type termsOfServiceServiceClient struct { |
| 605 |
cc grpc.ClientConnInterface |
| 606 |
} |
| 607 |
|
| 608 |
func NewTermsOfServiceServiceClient(cc grpc.ClientConnInterface) TermsOfServiceServiceClient { |
| 609 |
return &termsOfServiceServiceClient{cc} |
| 610 |
} |
| 611 |
|
| 612 |
func (c *termsOfServiceServiceClient) GetTermsOfService(ctx context.Context, in *GetTermsOfServiceRequest, opts ...grpc.CallOption) (*TermsOfService, error) { |
| 613 |
out := new(TermsOfService) |
| 614 |
err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.TermsOfServiceService/GetTermsOfService", in, out, opts...) |
| 615 |
if err != nil { |
| 616 |
return nil, err |
| 617 |
} |
| 618 |
return out, nil |
| 619 |
} |
| 620 |
|
| 621 |
func (c *termsOfServiceServiceClient) RetrieveLatestTermsOfService(ctx context.Context, in *RetrieveLatestTermsOfServiceRequest, opts ...grpc.CallOption) (*TermsOfService, error) { |
| 622 |
out := new(TermsOfService) |
| 623 |
err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.TermsOfServiceService/RetrieveLatestTermsOfService", in, out, opts...) |
| 624 |
if err != nil { |
| 625 |
return nil, err |
| 626 |
} |
| 627 |
return out, nil |
| 628 |
} |
| 629 |
|
| 630 |
func (c *termsOfServiceServiceClient) AcceptTermsOfService(ctx context.Context, in *AcceptTermsOfServiceRequest, opts ...grpc.CallOption) (*AcceptTermsOfServiceResponse, error) { |
| 631 |
out := new(AcceptTermsOfServiceResponse) |
| 632 |
err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.TermsOfServiceService/AcceptTermsOfService", in, out, opts...) |
| 633 |
if err != nil { |
| 634 |
return nil, err |
| 635 |
} |
| 636 |
return out, nil |
| 637 |
} |
| 638 |
|
| 639 |
// TermsOfServiceServiceServer is the server API for TermsOfServiceService service. |
| 640 |
type TermsOfServiceServiceServer interface { |
| 641 |
// Retrieves the `TermsOfService` associated with the provided version. |
| 642 |
GetTermsOfService(context.Context, *GetTermsOfServiceRequest) (*TermsOfService, error) |
| 643 |
// Retrieves the latest version of the `TermsOfService` for a given `kind` and |
| 644 |
// `region_code`. |
| 645 |
RetrieveLatestTermsOfService(context.Context, *RetrieveLatestTermsOfServiceRequest) (*TermsOfService, error) |
| 646 |
// Accepts a `TermsOfService`. Executing this method requires admin access. |
| 647 |
AcceptTermsOfService(context.Context, *AcceptTermsOfServiceRequest) (*AcceptTermsOfServiceResponse, error) |
| 648 |
} |
| 649 |
|
| 650 |
// UnimplementedTermsOfServiceServiceServer can be embedded to have forward compatible implementations. |
| 651 |
type UnimplementedTermsOfServiceServiceServer struct { |
| 652 |
} |
| 653 |
|
| 654 |
func (*UnimplementedTermsOfServiceServiceServer) GetTermsOfService(context.Context, *GetTermsOfServiceRequest) (*TermsOfService, error) { |
| 655 |
return nil, status.Errorf(codes.Unimplemented, "method GetTermsOfService not implemented") |
| 656 |
} |
| 657 |
func (*UnimplementedTermsOfServiceServiceServer) RetrieveLatestTermsOfService(context.Context, *RetrieveLatestTermsOfServiceRequest) (*TermsOfService, error) { |
| 658 |
return nil, status.Errorf(codes.Unimplemented, "method RetrieveLatestTermsOfService not implemented") |
| 659 |
} |
| 660 |
func (*UnimplementedTermsOfServiceServiceServer) AcceptTermsOfService(context.Context, *AcceptTermsOfServiceRequest) (*AcceptTermsOfServiceResponse, error) { |
| 661 |
return nil, status.Errorf(codes.Unimplemented, "method AcceptTermsOfService not implemented") |
| 662 |
} |
| 663 |
|
| 664 |
func RegisterTermsOfServiceServiceServer(s *grpc.Server, srv TermsOfServiceServiceServer) { |
| 665 |
s.RegisterService(&_TermsOfServiceService_serviceDesc, srv) |
| 666 |
} |
| 667 |
|
| 668 |
func _TermsOfServiceService_GetTermsOfService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 669 |
in := new(GetTermsOfServiceRequest) |
| 670 |
if err := dec(in); err != nil { |
| 671 |
return nil, err |
| 672 |
} |
| 673 |
if interceptor == nil { |
| 674 |
return srv.(TermsOfServiceServiceServer).GetTermsOfService(ctx, in) |
| 675 |
} |
| 676 |
info := &grpc.UnaryServerInfo{ |
| 677 |
Server: srv, |
| 678 |
FullMethod: "/google.shopping.merchant.accounts.v1.TermsOfServiceService/GetTermsOfService", |
| 679 |
} |
| 680 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 681 |
return srv.(TermsOfServiceServiceServer).GetTermsOfService(ctx, req.(*GetTermsOfServiceRequest)) |
| 682 |
} |
| 683 |
return interceptor(ctx, in, info, handler) |
| 684 |
} |
| 685 |
|
| 686 |
func _TermsOfServiceService_RetrieveLatestTermsOfService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 687 |
in := new(RetrieveLatestTermsOfServiceRequest) |
| 688 |
if err := dec(in); err != nil { |
| 689 |
return nil, err |
| 690 |
} |
| 691 |
if interceptor == nil { |
| 692 |
return srv.(TermsOfServiceServiceServer).RetrieveLatestTermsOfService(ctx, in) |
| 693 |
} |
| 694 |
info := &grpc.UnaryServerInfo{ |
| 695 |
Server: srv, |
| 696 |
FullMethod: "/google.shopping.merchant.accounts.v1.TermsOfServiceService/RetrieveLatestTermsOfService", |
| 697 |
} |
| 698 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 699 |
return srv.(TermsOfServiceServiceServer).RetrieveLatestTermsOfService(ctx, req.(*RetrieveLatestTermsOfServiceRequest)) |
| 700 |
} |
| 701 |
return interceptor(ctx, in, info, handler) |
| 702 |
} |
| 703 |
|
| 704 |
func _TermsOfServiceService_AcceptTermsOfService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 705 |
in := new(AcceptTermsOfServiceRequest) |
| 706 |
if err := dec(in); err != nil { |
| 707 |
return nil, err |
| 708 |
} |
| 709 |
if interceptor == nil { |
| 710 |
return srv.(TermsOfServiceServiceServer).AcceptTermsOfService(ctx, in) |
| 711 |
} |
| 712 |
info := &grpc.UnaryServerInfo{ |
| 713 |
Server: srv, |
| 714 |
FullMethod: "/google.shopping.merchant.accounts.v1.TermsOfServiceService/AcceptTermsOfService", |
| 715 |
} |
| 716 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 717 |
return srv.(TermsOfServiceServiceServer).AcceptTermsOfService(ctx, req.(*AcceptTermsOfServiceRequest)) |
| 718 |
} |
| 719 |
return interceptor(ctx, in, info, handler) |
| 720 |
} |
| 721 |
|
| 722 |
var _TermsOfServiceService_serviceDesc = grpc.ServiceDesc{ |
| 723 |
ServiceName: "google.shopping.merchant.accounts.v1.TermsOfServiceService", |
| 724 |
HandlerType: (*TermsOfServiceServiceServer)(nil), |
| 725 |
Methods: []grpc.MethodDesc{ |
| 726 |
{ |
| 727 |
MethodName: "GetTermsOfService", |
| 728 |
Handler: _TermsOfServiceService_GetTermsOfService_Handler, |
| 729 |
}, |
| 730 |
{ |
| 731 |
MethodName: "RetrieveLatestTermsOfService", |
| 732 |
Handler: _TermsOfServiceService_RetrieveLatestTermsOfService_Handler, |
| 733 |
}, |
| 734 |
{ |
| 735 |
MethodName: "AcceptTermsOfService", |
| 736 |
Handler: _TermsOfServiceService_AcceptTermsOfService_Handler, |
| 737 |
}, |
| 738 |
}, |
| 739 |
Streams: []grpc.StreamDesc{}, |
| 740 |
Metadata: "google/shopping/merchant/accounts/v1/termsofservice.proto", |
| 741 |
} |