| 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/termsofserviceagreementstate.proto |
| 20 |
|
| 21 |
package accountspb |
| 22 |
|
| 23 |
import ( |
| 24 |
context "context" |
| 25 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 26 |
date "google.golang.org/genproto/googleapis/type/date" |
| 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 |
reflect "reflect" |
| 33 |
sync "sync" |
| 34 |
) |
| 35 |
|
| 36 |
const ( |
| 37 |
// Verify that this generated code is sufficiently up-to-date. |
| 38 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 39 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 40 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 41 |
) |
| 42 |
|
| 43 |
// This resource represents the agreement state for a given account and terms of |
| 44 |
// service kind. |
| 45 |
// The state is as follows: |
| 46 |
// |
| 47 |
// * If the merchant has accepted a terms of service: |
| 48 |
// [accepted](TermsOfServiceAggrementState.accepted) will be populated, |
| 49 |
// otherwise it will be empty |
| 50 |
// * If the merchant must sign a terms of service: |
| 51 |
// [required](TermsOfServiceAggrementState.required) will be populated, |
| 52 |
// otherwise it will be empty. |
| 53 |
// |
| 54 |
// Note that both [required](TermsOfServiceAggrementState.required) and |
| 55 |
// [accepted](TermsOfServiceAggrementState.accepted) can be present. In this |
| 56 |
// case the `accepted` terms of services will have an expiration date set in the |
| 57 |
// [valid_until](Accepted.valid_until) field. The `required` terms of services |
| 58 |
// need to be accepted before `valid_until` in order for the account to continue |
| 59 |
// having a valid agreement. When accepting new terms of services we expect 3Ps |
| 60 |
// to display the text associated with the given terms of service agreement (the |
| 61 |
// url to the file containing the text is added in the Required message below as |
| 62 |
// [tos_file_uri](Accepted.tos_file_uri). The actual acceptance of the terms of |
| 63 |
// service is done by calling accept on the [TermsOfService](TermsOfService) |
| 64 |
// resource. |
| 65 |
type TermsOfServiceAgreementState struct { |
| 66 |
state protoimpl.MessageState |
| 67 |
sizeCache protoimpl.SizeCache |
| 68 |
unknownFields protoimpl.UnknownFields |
| 69 |
|
| 70 |
// Identifier. The resource name of the terms of service version. |
| 71 |
// Format: `accounts/{account}/termsOfServiceAgreementState/{identifier}` |
| 72 |
// The identifier format is: `{TermsOfServiceKind}-{country}` |
| 73 |
// For example, an identifier could be: `MERCHANT_CENTER-US` |
| 74 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 75 |
// Region code as defined by https://cldr.unicode.org/. This is the |
| 76 |
// country the current state applies to. |
| 77 |
RegionCode string `protobuf:"bytes,2,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"` |
| 78 |
// Terms of Service kind associated with the particular version. |
| 79 |
TermsOfServiceKind TermsOfServiceKind `protobuf:"varint,3,opt,name=terms_of_service_kind,json=termsOfServiceKind,proto3,enum=google.shopping.merchant.accounts.v1beta.TermsOfServiceKind" json:"terms_of_service_kind,omitempty"` |
| 80 |
// The accepted terms of service of this kind and for the associated |
| 81 |
// region_code |
| 82 |
Accepted *Accepted `protobuf:"bytes,4,opt,name=accepted,proto3,oneof" json:"accepted,omitempty"` |
| 83 |
// The required terms of service |
| 84 |
Required *Required `protobuf:"bytes,5,opt,name=required,proto3,oneof" json:"required,omitempty"` |
| 85 |
} |
| 86 |
|
| 87 |
func (x *TermsOfServiceAgreementState) Reset() { |
| 88 |
*x = TermsOfServiceAgreementState{} |
| 89 |
mi := &file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_msgTypes[0] |
| 90 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 91 |
ms.StoreMessageInfo(mi) |
| 92 |
} |
| 93 |
|
| 94 |
func (x *TermsOfServiceAgreementState) String() string { |
| 95 |
return protoimpl.X.MessageStringOf(x) |
| 96 |
} |
| 97 |
|
| 98 |
func (*TermsOfServiceAgreementState) ProtoMessage() {} |
| 99 |
|
| 100 |
func (x *TermsOfServiceAgreementState) ProtoReflect() protoreflect.Message { |
| 101 |
mi := &file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_msgTypes[0] |
| 102 |
if x != nil { |
| 103 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 104 |
if ms.LoadMessageInfo() == nil { |
| 105 |
ms.StoreMessageInfo(mi) |
| 106 |
} |
| 107 |
return ms |
| 108 |
} |
| 109 |
return mi.MessageOf(x) |
| 110 |
} |
| 111 |
|
| 112 |
// Deprecated: Use TermsOfServiceAgreementState.ProtoReflect.Descriptor instead. |
| 113 |
func (*TermsOfServiceAgreementState) Descriptor() ([]byte, []int) { |
| 114 |
return file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_rawDescGZIP(), []int{0} |
| 115 |
} |
| 116 |
|
| 117 |
func (x *TermsOfServiceAgreementState) GetName() string { |
| 118 |
if x != nil { |
| 119 |
return x.Name |
| 120 |
} |
| 121 |
return "" |
| 122 |
} |
| 123 |
|
| 124 |
func (x *TermsOfServiceAgreementState) GetRegionCode() string { |
| 125 |
if x != nil { |
| 126 |
return x.RegionCode |
| 127 |
} |
| 128 |
return "" |
| 129 |
} |
| 130 |
|
| 131 |
func (x *TermsOfServiceAgreementState) GetTermsOfServiceKind() TermsOfServiceKind { |
| 132 |
if x != nil { |
| 133 |
return x.TermsOfServiceKind |
| 134 |
} |
| 135 |
return TermsOfServiceKind_TERMS_OF_SERVICE_KIND_UNSPECIFIED |
| 136 |
} |
| 137 |
|
| 138 |
func (x *TermsOfServiceAgreementState) GetAccepted() *Accepted { |
| 139 |
if x != nil { |
| 140 |
return x.Accepted |
| 141 |
} |
| 142 |
return nil |
| 143 |
} |
| 144 |
|
| 145 |
func (x *TermsOfServiceAgreementState) GetRequired() *Required { |
| 146 |
if x != nil { |
| 147 |
return x.Required |
| 148 |
} |
| 149 |
return nil |
| 150 |
} |
| 151 |
|
| 152 |
// Describes the accepted terms of service. |
| 153 |
type Accepted struct { |
| 154 |
state protoimpl.MessageState |
| 155 |
sizeCache protoimpl.SizeCache |
| 156 |
unknownFields protoimpl.UnknownFields |
| 157 |
|
| 158 |
// The accepted |
| 159 |
// [termsOfService](google.shopping.merchant.accounts.v1main.TermsOfService). |
| 160 |
TermsOfService string `protobuf:"bytes,1,opt,name=terms_of_service,json=termsOfService,proto3" json:"terms_of_service,omitempty"` |
| 161 |
// The account where the acceptance was recorded. This can be the account |
| 162 |
// itself or, in the case of subaccounts, the MCA account. |
| 163 |
AcceptedBy string `protobuf:"bytes,2,opt,name=accepted_by,json=acceptedBy,proto3" json:"accepted_by,omitempty"` |
| 164 |
// When set, it states that the accepted |
| 165 |
// [TermsOfService](google.shopping.merchant.accounts.v1main.TermsOfService) |
| 166 |
// is only valid until the end of this date (in UTC). A new one must be |
| 167 |
// accepted before then. The information of the required |
| 168 |
// [TermsOfService](google.shopping.merchant.accounts.v1main.TermsOfService) |
| 169 |
// is found in the [Required](Required) message. |
| 170 |
ValidUntil *date.Date `protobuf:"bytes,3,opt,name=valid_until,json=validUntil,proto3,oneof" json:"valid_until,omitempty"` |
| 171 |
} |
| 172 |
|
| 173 |
func (x *Accepted) Reset() { |
| 174 |
*x = Accepted{} |
| 175 |
mi := &file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_msgTypes[1] |
| 176 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 177 |
ms.StoreMessageInfo(mi) |
| 178 |
} |
| 179 |
|
| 180 |
func (x *Accepted) String() string { |
| 181 |
return protoimpl.X.MessageStringOf(x) |
| 182 |
} |
| 183 |
|
| 184 |
func (*Accepted) ProtoMessage() {} |
| 185 |
|
| 186 |
func (x *Accepted) ProtoReflect() protoreflect.Message { |
| 187 |
mi := &file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_msgTypes[1] |
| 188 |
if x != nil { |
| 189 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 190 |
if ms.LoadMessageInfo() == nil { |
| 191 |
ms.StoreMessageInfo(mi) |
| 192 |
} |
| 193 |
return ms |
| 194 |
} |
| 195 |
return mi.MessageOf(x) |
| 196 |
} |
| 197 |
|
| 198 |
// Deprecated: Use Accepted.ProtoReflect.Descriptor instead. |
| 199 |
func (*Accepted) Descriptor() ([]byte, []int) { |
| 200 |
return file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_rawDescGZIP(), []int{1} |
| 201 |
} |
| 202 |
|
| 203 |
func (x *Accepted) GetTermsOfService() string { |
| 204 |
if x != nil { |
| 205 |
return x.TermsOfService |
| 206 |
} |
| 207 |
return "" |
| 208 |
} |
| 209 |
|
| 210 |
func (x *Accepted) GetAcceptedBy() string { |
| 211 |
if x != nil { |
| 212 |
return x.AcceptedBy |
| 213 |
} |
| 214 |
return "" |
| 215 |
} |
| 216 |
|
| 217 |
func (x *Accepted) GetValidUntil() *date.Date { |
| 218 |
if x != nil { |
| 219 |
return x.ValidUntil |
| 220 |
} |
| 221 |
return nil |
| 222 |
} |
| 223 |
|
| 224 |
// Describes the terms of service which are required to be accepted. |
| 225 |
type Required struct { |
| 226 |
state protoimpl.MessageState |
| 227 |
sizeCache protoimpl.SizeCache |
| 228 |
unknownFields protoimpl.UnknownFields |
| 229 |
|
| 230 |
// The |
| 231 |
// [termsOfService](google.shopping.merchant.accounts.v1main.TermsOfService) |
| 232 |
// that need to be accepted. |
| 233 |
TermsOfService string `protobuf:"bytes,1,opt,name=terms_of_service,json=termsOfService,proto3" json:"terms_of_service,omitempty"` |
| 234 |
// Full URL to the terms of service file. This field is the same as |
| 235 |
// [TermsOfService.file_uri](TermsOfService.file_uri), it is added |
| 236 |
// here for convenience only. |
| 237 |
TosFileUri string `protobuf:"bytes,2,opt,name=tos_file_uri,json=tosFileUri,proto3" json:"tos_file_uri,omitempty"` |
| 238 |
} |
| 239 |
|
| 240 |
func (x *Required) Reset() { |
| 241 |
*x = Required{} |
| 242 |
mi := &file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_msgTypes[2] |
| 243 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 244 |
ms.StoreMessageInfo(mi) |
| 245 |
} |
| 246 |
|
| 247 |
func (x *Required) String() string { |
| 248 |
return protoimpl.X.MessageStringOf(x) |
| 249 |
} |
| 250 |
|
| 251 |
func (*Required) ProtoMessage() {} |
| 252 |
|
| 253 |
func (x *Required) ProtoReflect() protoreflect.Message { |
| 254 |
mi := &file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_msgTypes[2] |
| 255 |
if x != nil { |
| 256 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 257 |
if ms.LoadMessageInfo() == nil { |
| 258 |
ms.StoreMessageInfo(mi) |
| 259 |
} |
| 260 |
return ms |
| 261 |
} |
| 262 |
return mi.MessageOf(x) |
| 263 |
} |
| 264 |
|
| 265 |
// Deprecated: Use Required.ProtoReflect.Descriptor instead. |
| 266 |
func (*Required) Descriptor() ([]byte, []int) { |
| 267 |
return file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_rawDescGZIP(), []int{2} |
| 268 |
} |
| 269 |
|
| 270 |
func (x *Required) GetTermsOfService() string { |
| 271 |
if x != nil { |
| 272 |
return x.TermsOfService |
| 273 |
} |
| 274 |
return "" |
| 275 |
} |
| 276 |
|
| 277 |
func (x *Required) GetTosFileUri() string { |
| 278 |
if x != nil { |
| 279 |
return x.TosFileUri |
| 280 |
} |
| 281 |
return "" |
| 282 |
} |
| 283 |
|
| 284 |
// Request message for the `GetTermsOfServiceAgreementState` method. |
| 285 |
type GetTermsOfServiceAgreementStateRequest struct { |
| 286 |
state protoimpl.MessageState |
| 287 |
sizeCache protoimpl.SizeCache |
| 288 |
unknownFields protoimpl.UnknownFields |
| 289 |
|
| 290 |
// Required. The resource name of the terms of service version. |
| 291 |
// Format: `accounts/{account}/termsOfServiceAgreementState/{identifier}` |
| 292 |
// The identifier format is: `{TermsOfServiceKind}-{country}` |
| 293 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 294 |
} |
| 295 |
|
| 296 |
func (x *GetTermsOfServiceAgreementStateRequest) Reset() { |
| 297 |
*x = GetTermsOfServiceAgreementStateRequest{} |
| 298 |
mi := &file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_msgTypes[3] |
| 299 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 300 |
ms.StoreMessageInfo(mi) |
| 301 |
} |
| 302 |
|
| 303 |
func (x *GetTermsOfServiceAgreementStateRequest) String() string { |
| 304 |
return protoimpl.X.MessageStringOf(x) |
| 305 |
} |
| 306 |
|
| 307 |
func (*GetTermsOfServiceAgreementStateRequest) ProtoMessage() {} |
| 308 |
|
| 309 |
func (x *GetTermsOfServiceAgreementStateRequest) ProtoReflect() protoreflect.Message { |
| 310 |
mi := &file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_msgTypes[3] |
| 311 |
if x != nil { |
| 312 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 313 |
if ms.LoadMessageInfo() == nil { |
| 314 |
ms.StoreMessageInfo(mi) |
| 315 |
} |
| 316 |
return ms |
| 317 |
} |
| 318 |
return mi.MessageOf(x) |
| 319 |
} |
| 320 |
|
| 321 |
// Deprecated: Use GetTermsOfServiceAgreementStateRequest.ProtoReflect.Descriptor instead. |
| 322 |
func (*GetTermsOfServiceAgreementStateRequest) Descriptor() ([]byte, []int) { |
| 323 |
return file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_rawDescGZIP(), []int{3} |
| 324 |
} |
| 325 |
|
| 326 |
func (x *GetTermsOfServiceAgreementStateRequest) GetName() string { |
| 327 |
if x != nil { |
| 328 |
return x.Name |
| 329 |
} |
| 330 |
return "" |
| 331 |
} |
| 332 |
|
| 333 |
// Request message for the `RetrieveForApplicationTermsOfServiceAgreementState` |
| 334 |
// method. |
| 335 |
type RetrieveForApplicationTermsOfServiceAgreementStateRequest struct { |
| 336 |
state protoimpl.MessageState |
| 337 |
sizeCache protoimpl.SizeCache |
| 338 |
unknownFields protoimpl.UnknownFields |
| 339 |
|
| 340 |
// Required. The account for which to get a TermsOfServiceAgreementState |
| 341 |
// Format: `accounts/{account}` |
| 342 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 343 |
} |
| 344 |
|
| 345 |
func (x *RetrieveForApplicationTermsOfServiceAgreementStateRequest) Reset() { |
| 346 |
*x = RetrieveForApplicationTermsOfServiceAgreementStateRequest{} |
| 347 |
mi := &file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_msgTypes[4] |
| 348 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 349 |
ms.StoreMessageInfo(mi) |
| 350 |
} |
| 351 |
|
| 352 |
func (x *RetrieveForApplicationTermsOfServiceAgreementStateRequest) String() string { |
| 353 |
return protoimpl.X.MessageStringOf(x) |
| 354 |
} |
| 355 |
|
| 356 |
func (*RetrieveForApplicationTermsOfServiceAgreementStateRequest) ProtoMessage() {} |
| 357 |
|
| 358 |
func (x *RetrieveForApplicationTermsOfServiceAgreementStateRequest) ProtoReflect() protoreflect.Message { |
| 359 |
mi := &file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_msgTypes[4] |
| 360 |
if x != nil { |
| 361 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 362 |
if ms.LoadMessageInfo() == nil { |
| 363 |
ms.StoreMessageInfo(mi) |
| 364 |
} |
| 365 |
return ms |
| 366 |
} |
| 367 |
return mi.MessageOf(x) |
| 368 |
} |
| 369 |
|
| 370 |
// Deprecated: Use RetrieveForApplicationTermsOfServiceAgreementStateRequest.ProtoReflect.Descriptor instead. |
| 371 |
func (*RetrieveForApplicationTermsOfServiceAgreementStateRequest) Descriptor() ([]byte, []int) { |
| 372 |
return file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_rawDescGZIP(), []int{4} |
| 373 |
} |
| 374 |
|
| 375 |
func (x *RetrieveForApplicationTermsOfServiceAgreementStateRequest) GetParent() string { |
| 376 |
if x != nil { |
| 377 |
return x.Parent |
| 378 |
} |
| 379 |
return "" |
| 380 |
} |
| 381 |
|
| 382 |
var File_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto protoreflect.FileDescriptor |
| 383 |
|
| 384 |
var file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_rawDesc = []byte{ |
| 385 |
0x0a, 0x4b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, |
| 386 |
0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, |
| 387 |
0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x74, 0x65, 0x72, 0x6d, 0x73, |
| 388 |
0x6f, 0x66, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x61, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, |
| 389 |
0x6e, 0x74, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x28, 0x67, |
| 390 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, |
| 391 |
0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, |
| 392 |
0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, |
| 393 |
0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, |
| 394 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, |
| 395 |
0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, |
| 396 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, |
| 397 |
0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, |
| 398 |
0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, |
| 399 |
0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x41, 0x67, 0x6f, 0x6f, 0x67, |
| 400 |
0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, |
| 401 |
0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, |
| 402 |
0x62, 0x65, 0x74, 0x61, 0x2f, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x6f, 0x66, 0x73, 0x65, 0x72, 0x76, |
| 403 |
0x69, 0x63, 0x65, 0x6b, 0x69, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, |
| 404 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x64, 0x61, 0x74, 0x65, 0x2e, |
| 405 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc9, 0x04, 0x0a, 0x1c, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x4f, |
| 406 |
0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, |
| 407 |
0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, |
| 408 |
0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, |
| 409 |
0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, |
| 410 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, |
| 411 |
0x12, 0x6f, 0x0a, 0x15, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x5f, 0x6f, 0x66, 0x5f, 0x73, 0x65, 0x72, |
| 412 |
0x76, 0x69, 0x63, 0x65, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, |
| 413 |
0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, |
| 414 |
0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, |
| 415 |
0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x54, 0x65, 0x72, 0x6d, 0x73, |
| 416 |
0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x12, 0x74, |
| 417 |
0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4b, 0x69, 0x6e, |
| 418 |
0x64, 0x12, 0x53, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, |
| 419 |
0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, |
| 420 |
0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, |
| 421 |
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x41, |
| 422 |
0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x08, 0x61, 0x63, 0x63, 0x65, 0x70, |
| 423 |
0x74, 0x65, 0x64, 0x88, 0x01, 0x01, 0x12, 0x53, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, |
| 424 |
0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 425 |
0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, |
| 426 |
0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, |
| 427 |
0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x48, 0x01, 0x52, 0x08, |
| 428 |
0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x88, 0x01, 0x01, 0x3a, 0xb9, 0x01, 0xea, 0x41, |
| 429 |
0xb5, 0x01, 0x0a, 0x37, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, |
| 430 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, |
| 431 |
0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x67, 0x72, |
| 432 |
0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x3d, 0x61, 0x63, 0x63, |
| 433 |
0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x2f, |
| 434 |
0x74, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x67, |
| 435 |
0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x2f, 0x7b, 0x69, |
| 436 |
0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x7d, 0x2a, 0x1d, 0x74, 0x65, 0x72, 0x6d, |
| 437 |
0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, |
| 438 |
0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x32, 0x1c, 0x74, 0x65, 0x72, 0x6d, 0x73, |
| 439 |
0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, |
| 440 |
0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x61, 0x63, 0x63, 0x65, |
| 441 |
0x70, 0x74, 0x65, 0x64, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, |
| 442 |
0x64, 0x22, 0xf7, 0x01, 0x0a, 0x08, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x12, 0x58, |
| 443 |
0x0a, 0x10, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x5f, 0x6f, 0x66, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, |
| 444 |
0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2e, 0xfa, 0x41, 0x2b, 0x0a, 0x29, 0x6d, |
| 445 |
0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 446 |
0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x4f, |
| 447 |
0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x0e, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x4f, |
| 448 |
0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x48, 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x65, |
| 449 |
0x70, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xfa, |
| 450 |
0x41, 0x24, 0x0a, 0x22, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, |
| 451 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, |
| 452 |
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, |
| 453 |
0x42, 0x79, 0x12, 0x37, 0x0a, 0x0b, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x75, 0x6e, 0x74, 0x69, |
| 454 |
0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 455 |
0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x76, 0x61, |
| 456 |
0x6c, 0x69, 0x64, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, |
| 457 |
0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x75, 0x6e, 0x74, 0x69, 0x6c, 0x22, 0x86, 0x01, 0x0a, 0x08, |
| 458 |
0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x58, 0x0a, 0x10, 0x74, 0x65, 0x72, 0x6d, |
| 459 |
0x73, 0x5f, 0x6f, 0x66, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, |
| 460 |
0x28, 0x09, 0x42, 0x2e, 0xfa, 0x41, 0x2b, 0x0a, 0x29, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, |
| 461 |
0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, |
| 462 |
0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, |
| 463 |
0x63, 0x65, 0x52, 0x0e, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, |
| 464 |
0x63, 0x65, 0x12, 0x20, 0x0a, 0x0c, 0x74, 0x6f, 0x73, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x75, |
| 465 |
0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x6f, 0x73, 0x46, 0x69, 0x6c, |
| 466 |
0x65, 0x55, 0x72, 0x69, 0x22, 0x7d, 0x0a, 0x26, 0x47, 0x65, 0x74, 0x54, 0x65, 0x72, 0x6d, 0x73, |
| 467 |
0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, |
| 468 |
0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x53, |
| 469 |
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x3f, 0xe0, 0x41, |
| 470 |
0x02, 0xfa, 0x41, 0x39, 0x0a, 0x37, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, |
| 471 |
0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, |
| 472 |
0x2f, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, |
| 473 |
0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x04, 0x6e, |
| 474 |
0x61, 0x6d, 0x65, 0x22, 0x94, 0x01, 0x0a, 0x39, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, |
| 475 |
0x46, 0x6f, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, |
| 476 |
0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x67, 0x72, 0x65, |
| 477 |
0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
| 478 |
0x74, 0x12, 0x57, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 479 |
0x09, 0x42, 0x3f, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x39, 0x12, 0x37, 0x6d, 0x65, 0x72, 0x63, 0x68, |
| 480 |
0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, |
| 481 |
0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, |
| 482 |
0x76, 0x69, 0x63, 0x65, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, |
| 483 |
0x74, 0x65, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x32, 0xcf, 0x05, 0x0a, 0x23, 0x54, |
| 484 |
0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x67, 0x72, |
| 485 |
0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, |
| 486 |
0x63, 0x65, 0x12, 0x8e, 0x02, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x4f, |
| 487 |
0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, |
| 488 |
0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x50, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 489 |
0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, |
| 490 |
0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, |
| 491 |
0x61, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, |
| 492 |
0x69, 0x63, 0x65, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, |
| 493 |
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x46, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 494 |
0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, |
| 495 |
0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, |
| 496 |
0x65, 0x74, 0x61, 0x2e, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, |
| 497 |
0x63, 0x65, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, |
| 498 |
0x22, 0x51, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x44, 0x12, |
| 499 |
0x42, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, |
| 500 |
0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, |
| 501 |
0x2f, 0x2a, 0x2f, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, |
| 502 |
0x65, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, |
| 503 |
0x2f, 0x2a, 0x7d, 0x12, 0xcd, 0x02, 0x0a, 0x32, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, |
| 504 |
0x46, 0x6f, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, |
| 505 |
0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x67, 0x72, 0x65, |
| 506 |
0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x63, 0x2e, 0x67, 0x6f, 0x6f, |
| 507 |
0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, |
| 508 |
0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, |
| 509 |
0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x46, 0x6f, |
| 510 |
0x72, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x72, 0x6d, |
| 511 |
0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, |
| 512 |
0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, |
| 513 |
0x46, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, |
| 514 |
0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, |
| 515 |
0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x54, 0x65, 0x72, 0x6d, 0x73, |
| 516 |
0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, |
| 517 |
0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x6a, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, |
| 518 |
0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x5b, 0x12, 0x59, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, |
| 519 |
0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, |
| 520 |
0x6e, 0x74, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74, |
| 521 |
0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x67, 0x72, |
| 522 |
0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x3a, 0x72, 0x65, 0x74, |
| 523 |
0x72, 0x69, 0x65, 0x76, 0x65, 0x46, 0x6f, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, |
| 524 |
0x69, 0x6f, 0x6e, 0x1a, 0x47, 0xca, 0x41, 0x1a, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, |
| 525 |
0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, |
| 526 |
0x6f, 0x6d, 0xd2, 0x41, 0x27, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, |
| 527 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, |
| 528 |
0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0xa3, 0x01, 0x0a, |
| 529 |
0x2c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, |
| 530 |
0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, |
| 531 |
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x42, 0x21, 0x54, |
| 532 |
0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x67, 0x72, |
| 533 |
0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, |
| 534 |
0x50, 0x01, 0x5a, 0x4e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 535 |
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, |
| 536 |
0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, |
| 537 |
0x74, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x61, 0x63, 0x63, |
| 538 |
0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, |
| 539 |
0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 540 |
} |
| 541 |
|
| 542 |
var ( |
| 543 |
file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_rawDescOnce sync.Once |
| 544 |
file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_rawDescData = file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_rawDesc |
| 545 |
) |
| 546 |
|
| 547 |
func file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_rawDescGZIP() []byte { |
| 548 |
file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_rawDescOnce.Do(func() { |
| 549 |
file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_rawDescData) |
| 550 |
}) |
| 551 |
return file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_rawDescData |
| 552 |
} |
| 553 |
|
| 554 |
var file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_msgTypes = make([]protoimpl.MessageInfo, 5) |
| 555 |
var file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_goTypes = []any{ |
| 556 |
(*TermsOfServiceAgreementState)(nil), // 0: google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementState |
| 557 |
(*Accepted)(nil), // 1: google.shopping.merchant.accounts.v1beta.Accepted |
| 558 |
(*Required)(nil), // 2: google.shopping.merchant.accounts.v1beta.Required |
| 559 |
(*GetTermsOfServiceAgreementStateRequest)(nil), // 3: google.shopping.merchant.accounts.v1beta.GetTermsOfServiceAgreementStateRequest |
| 560 |
(*RetrieveForApplicationTermsOfServiceAgreementStateRequest)(nil), // 4: google.shopping.merchant.accounts.v1beta.RetrieveForApplicationTermsOfServiceAgreementStateRequest |
| 561 |
(TermsOfServiceKind)(0), // 5: google.shopping.merchant.accounts.v1beta.TermsOfServiceKind |
| 562 |
(*date.Date)(nil), // 6: google.type.Date |
| 563 |
} |
| 564 |
var file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_depIdxs = []int32{ |
| 565 |
5, // 0: google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementState.terms_of_service_kind:type_name -> google.shopping.merchant.accounts.v1beta.TermsOfServiceKind |
| 566 |
1, // 1: google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementState.accepted:type_name -> google.shopping.merchant.accounts.v1beta.Accepted |
| 567 |
2, // 2: google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementState.required:type_name -> google.shopping.merchant.accounts.v1beta.Required |
| 568 |
6, // 3: google.shopping.merchant.accounts.v1beta.Accepted.valid_until:type_name -> google.type.Date |
| 569 |
3, // 4: google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateService.GetTermsOfServiceAgreementState:input_type -> google.shopping.merchant.accounts.v1beta.GetTermsOfServiceAgreementStateRequest |
| 570 |
4, // 5: google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateService.RetrieveForApplicationTermsOfServiceAgreementState:input_type -> google.shopping.merchant.accounts.v1beta.RetrieveForApplicationTermsOfServiceAgreementStateRequest |
| 571 |
0, // 6: google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateService.GetTermsOfServiceAgreementState:output_type -> google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementState |
| 572 |
0, // 7: google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateService.RetrieveForApplicationTermsOfServiceAgreementState:output_type -> google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementState |
| 573 |
6, // [6:8] is the sub-list for method output_type |
| 574 |
4, // [4:6] is the sub-list for method input_type |
| 575 |
4, // [4:4] is the sub-list for extension type_name |
| 576 |
4, // [4:4] is the sub-list for extension extendee |
| 577 |
0, // [0:4] is the sub-list for field type_name |
| 578 |
} |
| 579 |
|
| 580 |
func init() { file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_init() } |
| 581 |
func file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_init() { |
| 582 |
if File_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto != nil { |
| 583 |
return |
| 584 |
} |
| 585 |
file_google_shopping_merchant_accounts_v1beta_termsofservicekind_proto_init() |
| 586 |
file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_msgTypes[0].OneofWrappers = []any{} |
| 587 |
file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_msgTypes[1].OneofWrappers = []any{} |
| 588 |
type x struct{} |
| 589 |
out := protoimpl.TypeBuilder{ |
| 590 |
File: protoimpl.DescBuilder{ |
| 591 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 592 |
RawDescriptor: file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_rawDesc, |
| 593 |
NumEnums: 0, |
| 594 |
NumMessages: 5, |
| 595 |
NumExtensions: 0, |
| 596 |
NumServices: 1, |
| 597 |
}, |
| 598 |
GoTypes: file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_goTypes, |
| 599 |
DependencyIndexes: file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_depIdxs, |
| 600 |
MessageInfos: file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_msgTypes, |
| 601 |
}.Build() |
| 602 |
File_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto = out.File |
| 603 |
file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_rawDesc = nil |
| 604 |
file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_goTypes = nil |
| 605 |
file_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto_depIdxs = nil |
| 606 |
} |
| 607 |
|
| 608 |
// Reference imports to suppress errors if they are not otherwise used. |
| 609 |
var _ context.Context |
| 610 |
var _ grpc.ClientConnInterface |
| 611 |
|
| 612 |
// This is a compile-time assertion to ensure that this generated file |
| 613 |
// is compatible with the grpc package it is being compiled against. |
| 614 |
const _ = grpc.SupportPackageIsVersion6 |
| 615 |
|
| 616 |
// TermsOfServiceAgreementStateServiceClient is the client API for TermsOfServiceAgreementStateService service. |
| 617 |
// |
| 618 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 619 |
type TermsOfServiceAgreementStateServiceClient interface { |
| 620 |
// Returns the state of a terms of service agreement. |
| 621 |
GetTermsOfServiceAgreementState(ctx context.Context, in *GetTermsOfServiceAgreementStateRequest, opts ...grpc.CallOption) (*TermsOfServiceAgreementState, error) |
| 622 |
// Retrieves the state of the agreement for the application terms of service. |
| 623 |
RetrieveForApplicationTermsOfServiceAgreementState(ctx context.Context, in *RetrieveForApplicationTermsOfServiceAgreementStateRequest, opts ...grpc.CallOption) (*TermsOfServiceAgreementState, error) |
| 624 |
} |
| 625 |
|
| 626 |
type termsOfServiceAgreementStateServiceClient struct { |
| 627 |
cc grpc.ClientConnInterface |
| 628 |
} |
| 629 |
|
| 630 |
func NewTermsOfServiceAgreementStateServiceClient(cc grpc.ClientConnInterface) TermsOfServiceAgreementStateServiceClient { |
| 631 |
return &termsOfServiceAgreementStateServiceClient{cc} |
| 632 |
} |
| 633 |
|
| 634 |
func (c *termsOfServiceAgreementStateServiceClient) GetTermsOfServiceAgreementState(ctx context.Context, in *GetTermsOfServiceAgreementStateRequest, opts ...grpc.CallOption) (*TermsOfServiceAgreementState, error) { |
| 635 |
out := new(TermsOfServiceAgreementState) |
| 636 |
err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateService/GetTermsOfServiceAgreementState", in, out, opts...) |
| 637 |
if err != nil { |
| 638 |
return nil, err |
| 639 |
} |
| 640 |
return out, nil |
| 641 |
} |
| 642 |
|
| 643 |
func (c *termsOfServiceAgreementStateServiceClient) RetrieveForApplicationTermsOfServiceAgreementState(ctx context.Context, in *RetrieveForApplicationTermsOfServiceAgreementStateRequest, opts ...grpc.CallOption) (*TermsOfServiceAgreementState, error) { |
| 644 |
out := new(TermsOfServiceAgreementState) |
| 645 |
err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateService/RetrieveForApplicationTermsOfServiceAgreementState", in, out, opts...) |
| 646 |
if err != nil { |
| 647 |
return nil, err |
| 648 |
} |
| 649 |
return out, nil |
| 650 |
} |
| 651 |
|
| 652 |
// TermsOfServiceAgreementStateServiceServer is the server API for TermsOfServiceAgreementStateService service. |
| 653 |
type TermsOfServiceAgreementStateServiceServer interface { |
| 654 |
// Returns the state of a terms of service agreement. |
| 655 |
GetTermsOfServiceAgreementState(context.Context, *GetTermsOfServiceAgreementStateRequest) (*TermsOfServiceAgreementState, error) |
| 656 |
// Retrieves the state of the agreement for the application terms of service. |
| 657 |
RetrieveForApplicationTermsOfServiceAgreementState(context.Context, *RetrieveForApplicationTermsOfServiceAgreementStateRequest) (*TermsOfServiceAgreementState, error) |
| 658 |
} |
| 659 |
|
| 660 |
// UnimplementedTermsOfServiceAgreementStateServiceServer can be embedded to have forward compatible implementations. |
| 661 |
type UnimplementedTermsOfServiceAgreementStateServiceServer struct { |
| 662 |
} |
| 663 |
|
| 664 |
func (*UnimplementedTermsOfServiceAgreementStateServiceServer) GetTermsOfServiceAgreementState(context.Context, *GetTermsOfServiceAgreementStateRequest) (*TermsOfServiceAgreementState, error) { |
| 665 |
return nil, status.Errorf(codes.Unimplemented, "method GetTermsOfServiceAgreementState not implemented") |
| 666 |
} |
| 667 |
func (*UnimplementedTermsOfServiceAgreementStateServiceServer) RetrieveForApplicationTermsOfServiceAgreementState(context.Context, *RetrieveForApplicationTermsOfServiceAgreementStateRequest) (*TermsOfServiceAgreementState, error) { |
| 668 |
return nil, status.Errorf(codes.Unimplemented, "method RetrieveForApplicationTermsOfServiceAgreementState not implemented") |
| 669 |
} |
| 670 |
|
| 671 |
func RegisterTermsOfServiceAgreementStateServiceServer(s *grpc.Server, srv TermsOfServiceAgreementStateServiceServer) { |
| 672 |
s.RegisterService(&_TermsOfServiceAgreementStateService_serviceDesc, srv) |
| 673 |
} |
| 674 |
|
| 675 |
func _TermsOfServiceAgreementStateService_GetTermsOfServiceAgreementState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 676 |
in := new(GetTermsOfServiceAgreementStateRequest) |
| 677 |
if err := dec(in); err != nil { |
| 678 |
return nil, err |
| 679 |
} |
| 680 |
if interceptor == nil { |
| 681 |
return srv.(TermsOfServiceAgreementStateServiceServer).GetTermsOfServiceAgreementState(ctx, in) |
| 682 |
} |
| 683 |
info := &grpc.UnaryServerInfo{ |
| 684 |
Server: srv, |
| 685 |
FullMethod: "/google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateService/GetTermsOfServiceAgreementState", |
| 686 |
} |
| 687 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 688 |
return srv.(TermsOfServiceAgreementStateServiceServer).GetTermsOfServiceAgreementState(ctx, req.(*GetTermsOfServiceAgreementStateRequest)) |
| 689 |
} |
| 690 |
return interceptor(ctx, in, info, handler) |
| 691 |
} |
| 692 |
|
| 693 |
func _TermsOfServiceAgreementStateService_RetrieveForApplicationTermsOfServiceAgreementState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 694 |
in := new(RetrieveForApplicationTermsOfServiceAgreementStateRequest) |
| 695 |
if err := dec(in); err != nil { |
| 696 |
return nil, err |
| 697 |
} |
| 698 |
if interceptor == nil { |
| 699 |
return srv.(TermsOfServiceAgreementStateServiceServer).RetrieveForApplicationTermsOfServiceAgreementState(ctx, in) |
| 700 |
} |
| 701 |
info := &grpc.UnaryServerInfo{ |
| 702 |
Server: srv, |
| 703 |
FullMethod: "/google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateService/RetrieveForApplicationTermsOfServiceAgreementState", |
| 704 |
} |
| 705 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 706 |
return srv.(TermsOfServiceAgreementStateServiceServer).RetrieveForApplicationTermsOfServiceAgreementState(ctx, req.(*RetrieveForApplicationTermsOfServiceAgreementStateRequest)) |
| 707 |
} |
| 708 |
return interceptor(ctx, in, info, handler) |
| 709 |
} |
| 710 |
|
| 711 |
var _TermsOfServiceAgreementStateService_serviceDesc = grpc.ServiceDesc{ |
| 712 |
ServiceName: "google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateService", |
| 713 |
HandlerType: (*TermsOfServiceAgreementStateServiceServer)(nil), |
| 714 |
Methods: []grpc.MethodDesc{ |
| 715 |
{ |
| 716 |
MethodName: "GetTermsOfServiceAgreementState", |
| 717 |
Handler: _TermsOfServiceAgreementStateService_GetTermsOfServiceAgreementState_Handler, |
| 718 |
}, |
| 719 |
{ |
| 720 |
MethodName: "RetrieveForApplicationTermsOfServiceAgreementState", |
| 721 |
Handler: _TermsOfServiceAgreementStateService_RetrieveForApplicationTermsOfServiceAgreementState_Handler, |
| 722 |
}, |
| 723 |
}, |
| 724 |
Streams: []grpc.StreamDesc{}, |
| 725 |
Metadata: "google/shopping/merchant/accounts/v1beta/termsofserviceagreementstate.proto", |
| 726 |
} |