Debian Codegraph @

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

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