Debian Codegraph @

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

raw symbols SCIP
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/businessidentity.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 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
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 // All possible settings regarding promotions related to the business
44 // identity.
45 type BusinessIdentity_PromotionsConsent int32
46
47 const (
48 // Default value indicating that no selection was made.
49 BusinessIdentity_PROMOTIONS_CONSENT_UNSPECIFIED BusinessIdentity_PromotionsConsent = 0
50 // Indicates that the account consented to having their business identity
51 // used for promotions.
52 BusinessIdentity_PROMOTIONS_CONSENT_GIVEN BusinessIdentity_PromotionsConsent = 1
53 // Indicates that the account did not consent to having their business
54 // identity used for promotions.
55 BusinessIdentity_PROMOTIONS_CONSENT_DENIED BusinessIdentity_PromotionsConsent = 2
56 )
57
58 // Enum value maps for BusinessIdentity_PromotionsConsent.
59 var (
60 BusinessIdentity_PromotionsConsent_name = map[int32]string{
61 0: "PROMOTIONS_CONSENT_UNSPECIFIED",
62 1: "PROMOTIONS_CONSENT_GIVEN",
63 2: "PROMOTIONS_CONSENT_DENIED",
64 }
65 BusinessIdentity_PromotionsConsent_value = map[string]int32{
66 "PROMOTIONS_CONSENT_UNSPECIFIED": 0,
67 "PROMOTIONS_CONSENT_GIVEN": 1,
68 "PROMOTIONS_CONSENT_DENIED": 2,
69 }
70 )
71
72 func (x BusinessIdentity_PromotionsConsent) Enum() *BusinessIdentity_PromotionsConsent {
73 p := new(BusinessIdentity_PromotionsConsent)
74 *p = x
75 return p
76 }
77
78 func (x BusinessIdentity_PromotionsConsent) String() string {
79 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
80 }
81
82 func (BusinessIdentity_PromotionsConsent) Descriptor() protoreflect.EnumDescriptor {
83 return file_google_shopping_merchant_accounts_v1_businessidentity_proto_enumTypes[0].Descriptor()
84 }
85
86 func (BusinessIdentity_PromotionsConsent) Type() protoreflect.EnumType {
87 return &file_google_shopping_merchant_accounts_v1_businessidentity_proto_enumTypes[0]
88 }
89
90 func (x BusinessIdentity_PromotionsConsent) Number() protoreflect.EnumNumber {
91 return protoreflect.EnumNumber(x)
92 }
93
94 // Deprecated: Use BusinessIdentity_PromotionsConsent.Descriptor instead.
95 func (BusinessIdentity_PromotionsConsent) EnumDescriptor() ([]byte, []int) {
96 return file_google_shopping_merchant_accounts_v1_businessidentity_proto_rawDescGZIP(), []int{0, 0}
97 }
98
99 // All possible settings regarding the declaration of an identity.
100 type BusinessIdentity_IdentityAttribute_IdentityDeclaration int32
101
102 const (
103 // Default value indicating that no selection was made.
104 BusinessIdentity_IdentityAttribute_IDENTITY_DECLARATION_UNSPECIFIED BusinessIdentity_IdentityAttribute_IdentityDeclaration = 0
105 // Indicates that the account identifies with the attribute.
106 BusinessIdentity_IdentityAttribute_SELF_IDENTIFIES_AS BusinessIdentity_IdentityAttribute_IdentityDeclaration = 1
107 // Indicates that the account does not identify with the attribute.
108 BusinessIdentity_IdentityAttribute_DOES_NOT_SELF_IDENTIFY_AS BusinessIdentity_IdentityAttribute_IdentityDeclaration = 2
109 )
110
111 // Enum value maps for BusinessIdentity_IdentityAttribute_IdentityDeclaration.
112 var (
113 BusinessIdentity_IdentityAttribute_IdentityDeclaration_name = map[int32]string{
114 0: "IDENTITY_DECLARATION_UNSPECIFIED",
115 1: "SELF_IDENTIFIES_AS",
116 2: "DOES_NOT_SELF_IDENTIFY_AS",
117 }
118 BusinessIdentity_IdentityAttribute_IdentityDeclaration_value = map[string]int32{
119 "IDENTITY_DECLARATION_UNSPECIFIED": 0,
120 "SELF_IDENTIFIES_AS": 1,
121 "DOES_NOT_SELF_IDENTIFY_AS": 2,
122 }
123 )
124
125 func (x BusinessIdentity_IdentityAttribute_IdentityDeclaration) Enum() *BusinessIdentity_IdentityAttribute_IdentityDeclaration {
126 p := new(BusinessIdentity_IdentityAttribute_IdentityDeclaration)
127 *p = x
128 return p
129 }
130
131 func (x BusinessIdentity_IdentityAttribute_IdentityDeclaration) String() string {
132 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
133 }
134
135 func (BusinessIdentity_IdentityAttribute_IdentityDeclaration) Descriptor() protoreflect.EnumDescriptor {
136 return file_google_shopping_merchant_accounts_v1_businessidentity_proto_enumTypes[1].Descriptor()
137 }
138
139 func (BusinessIdentity_IdentityAttribute_IdentityDeclaration) Type() protoreflect.EnumType {
140 return &file_google_shopping_merchant_accounts_v1_businessidentity_proto_enumTypes[1]
141 }
142
143 func (x BusinessIdentity_IdentityAttribute_IdentityDeclaration) Number() protoreflect.EnumNumber {
144 return protoreflect.EnumNumber(x)
145 }
146
147 // Deprecated: Use BusinessIdentity_IdentityAttribute_IdentityDeclaration.Descriptor instead.
148 func (BusinessIdentity_IdentityAttribute_IdentityDeclaration) EnumDescriptor() ([]byte, []int) {
149 return file_google_shopping_merchant_accounts_v1_businessidentity_proto_rawDescGZIP(), []int{0, 0, 0}
150 }
151
152 // Collection of information related to the [identity of a
153 // business](https://support.google.com/merchants/answer/12564247).
154 type BusinessIdentity struct {
155 state protoimpl.MessageState
156 sizeCache protoimpl.SizeCache
157 unknownFields protoimpl.UnknownFields
158
159 // Identifier. The resource name of the business identity.
160 // Format: `accounts/{account}/businessIdentity`
161 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
162 // Required. Whether the identity attributes may be used for promotions.
163 PromotionsConsent BusinessIdentity_PromotionsConsent `protobuf:"varint,2,opt,name=promotions_consent,json=promotionsConsent,proto3,enum=google.shopping.merchant.accounts.v1.BusinessIdentity_PromotionsConsent" json:"promotions_consent,omitempty"`
164 // Optional. Specifies whether the business identifies itself as being
165 // black-owned. This optional field will only be available for businesses with
166 // the business country set to `US`. It is also not applicable for
167 // marketplaces or marketplace sellers.
168 BlackOwned *BusinessIdentity_IdentityAttribute `protobuf:"bytes,3,opt,name=black_owned,json=blackOwned,proto3" json:"black_owned,omitempty"`
169 // Optional. Specifies whether the business identifies itself as being
170 // women-owned. This optional field will only be available for businesses with
171 // a business country set to `US`. It is also not applicable for marketplaces
172 // or marketplace sellers.
173 WomenOwned *BusinessIdentity_IdentityAttribute `protobuf:"bytes,4,opt,name=women_owned,json=womenOwned,proto3" json:"women_owned,omitempty"`
174 // Optional. Specifies whether the business identifies itself as being
175 // veteran-owned. This optional field will only be available for businesses
176 // with a business country set to `US`. It is also not applicable for
177 // marketplaces or marketplace sellers.
178 VeteranOwned *BusinessIdentity_IdentityAttribute `protobuf:"bytes,5,opt,name=veteran_owned,json=veteranOwned,proto3" json:"veteran_owned,omitempty"`
179 // Optional. Specifies whether the business identifies itself as being
180 // latino-owned. This optional field will only be available for businesses
181 // with the business country set to `US`. It is also not applicable for
182 // marketplaces or marketplace sellers.
183 LatinoOwned *BusinessIdentity_IdentityAttribute `protobuf:"bytes,6,opt,name=latino_owned,json=latinoOwned,proto3" json:"latino_owned,omitempty"`
184 // Optional. Specifies whether the business identifies itself as a small
185 // business. This optional field will only be available for businesses with a
186 // business country set to `US`. It is also not applicable for marketplaces.
187 SmallBusiness *BusinessIdentity_IdentityAttribute `protobuf:"bytes,7,opt,name=small_business,json=smallBusiness,proto3" json:"small_business,omitempty"`
188 }
189
190 func (x *BusinessIdentity) Reset() {
191 *x = BusinessIdentity{}
192 mi := &file_google_shopping_merchant_accounts_v1_businessidentity_proto_msgTypes[0]
193 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
194 ms.StoreMessageInfo(mi)
195 }
196
197 func (x *BusinessIdentity) String() string {
198 return protoimpl.X.MessageStringOf(x)
199 }
200
201 func (*BusinessIdentity) ProtoMessage() {}
202
203 func (x *BusinessIdentity) ProtoReflect() protoreflect.Message {
204 mi := &file_google_shopping_merchant_accounts_v1_businessidentity_proto_msgTypes[0]
205 if x != nil {
206 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
207 if ms.LoadMessageInfo() == nil {
208 ms.StoreMessageInfo(mi)
209 }
210 return ms
211 }
212 return mi.MessageOf(x)
213 }
214
215 // Deprecated: Use BusinessIdentity.ProtoReflect.Descriptor instead.
216 func (*BusinessIdentity) Descriptor() ([]byte, []int) {
217 return file_google_shopping_merchant_accounts_v1_businessidentity_proto_rawDescGZIP(), []int{0}
218 }
219
220 func (x *BusinessIdentity) GetName() string {
221 if x != nil {
222 return x.Name
223 }
224 return ""
225 }
226
227 func (x *BusinessIdentity) GetPromotionsConsent() BusinessIdentity_PromotionsConsent {
228 if x != nil {
229 return x.PromotionsConsent
230 }
231 return BusinessIdentity_PROMOTIONS_CONSENT_UNSPECIFIED
232 }
233
234 func (x *BusinessIdentity) GetBlackOwned() *BusinessIdentity_IdentityAttribute {
235 if x != nil {
236 return x.BlackOwned
237 }
238 return nil
239 }
240
241 func (x *BusinessIdentity) GetWomenOwned() *BusinessIdentity_IdentityAttribute {
242 if x != nil {
243 return x.WomenOwned
244 }
245 return nil
246 }
247
248 func (x *BusinessIdentity) GetVeteranOwned() *BusinessIdentity_IdentityAttribute {
249 if x != nil {
250 return x.VeteranOwned
251 }
252 return nil
253 }
254
255 func (x *BusinessIdentity) GetLatinoOwned() *BusinessIdentity_IdentityAttribute {
256 if x != nil {
257 return x.LatinoOwned
258 }
259 return nil
260 }
261
262 func (x *BusinessIdentity) GetSmallBusiness() *BusinessIdentity_IdentityAttribute {
263 if x != nil {
264 return x.SmallBusiness
265 }
266 return nil
267 }
268
269 // Request message for the `GetBusinessIdentity` method.
270 type GetBusinessIdentityRequest struct {
271 state protoimpl.MessageState
272 sizeCache protoimpl.SizeCache
273 unknownFields protoimpl.UnknownFields
274
275 // Required. The resource name of the business identity.
276 // Format: `accounts/{account}/businessIdentity`. For example,
277 // `accounts/123456/businessIdentity`.
278 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
279 }
280
281 func (x *GetBusinessIdentityRequest) Reset() {
282 *x = GetBusinessIdentityRequest{}
283 mi := &file_google_shopping_merchant_accounts_v1_businessidentity_proto_msgTypes[1]
284 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
285 ms.StoreMessageInfo(mi)
286 }
287
288 func (x *GetBusinessIdentityRequest) String() string {
289 return protoimpl.X.MessageStringOf(x)
290 }
291
292 func (*GetBusinessIdentityRequest) ProtoMessage() {}
293
294 func (x *GetBusinessIdentityRequest) ProtoReflect() protoreflect.Message {
295 mi := &file_google_shopping_merchant_accounts_v1_businessidentity_proto_msgTypes[1]
296 if x != nil {
297 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
298 if ms.LoadMessageInfo() == nil {
299 ms.StoreMessageInfo(mi)
300 }
301 return ms
302 }
303 return mi.MessageOf(x)
304 }
305
306 // Deprecated: Use GetBusinessIdentityRequest.ProtoReflect.Descriptor instead.
307 func (*GetBusinessIdentityRequest) Descriptor() ([]byte, []int) {
308 return file_google_shopping_merchant_accounts_v1_businessidentity_proto_rawDescGZIP(), []int{1}
309 }
310
311 func (x *GetBusinessIdentityRequest) GetName() string {
312 if x != nil {
313 return x.Name
314 }
315 return ""
316 }
317
318 // Request message for the `UpdateBusinessIdentity` method.
319 type UpdateBusinessIdentityRequest struct {
320 state protoimpl.MessageState
321 sizeCache protoimpl.SizeCache
322 unknownFields protoimpl.UnknownFields
323
324 // Required. The new version of the business identity.
325 BusinessIdentity *BusinessIdentity `protobuf:"bytes,1,opt,name=business_identity,json=businessIdentity,proto3" json:"business_identity,omitempty"`
326 // Optional. List of fields being updated.
327 //
328 // The following fields are supported (in both `snake_case` and
329 // `lowerCamelCase`):
330 //
331 // - `black_owned`
332 // - `latino_owned`
333 // - `promotions_consent`
334 // - `small_business`
335 // - `veteran_owned`
336 // - `women_owned`
337 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
338 }
339
340 func (x *UpdateBusinessIdentityRequest) Reset() {
341 *x = UpdateBusinessIdentityRequest{}
342 mi := &file_google_shopping_merchant_accounts_v1_businessidentity_proto_msgTypes[2]
343 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
344 ms.StoreMessageInfo(mi)
345 }
346
347 func (x *UpdateBusinessIdentityRequest) String() string {
348 return protoimpl.X.MessageStringOf(x)
349 }
350
351 func (*UpdateBusinessIdentityRequest) ProtoMessage() {}
352
353 func (x *UpdateBusinessIdentityRequest) ProtoReflect() protoreflect.Message {
354 mi := &file_google_shopping_merchant_accounts_v1_businessidentity_proto_msgTypes[2]
355 if x != nil {
356 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
357 if ms.LoadMessageInfo() == nil {
358 ms.StoreMessageInfo(mi)
359 }
360 return ms
361 }
362 return mi.MessageOf(x)
363 }
364
365 // Deprecated: Use UpdateBusinessIdentityRequest.ProtoReflect.Descriptor instead.
366 func (*UpdateBusinessIdentityRequest) Descriptor() ([]byte, []int) {
367 return file_google_shopping_merchant_accounts_v1_businessidentity_proto_rawDescGZIP(), []int{2}
368 }
369
370 func (x *UpdateBusinessIdentityRequest) GetBusinessIdentity() *BusinessIdentity {
371 if x != nil {
372 return x.BusinessIdentity
373 }
374 return nil
375 }
376
377 func (x *UpdateBusinessIdentityRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
378 if x != nil {
379 return x.UpdateMask
380 }
381 return nil
382 }
383
384 // All information related to an identity attribute.
385 type BusinessIdentity_IdentityAttribute struct {
386 state protoimpl.MessageState
387 sizeCache protoimpl.SizeCache
388 unknownFields protoimpl.UnknownFields
389
390 // Required. The declaration of identity for this attribute.
391 IdentityDeclaration BusinessIdentity_IdentityAttribute_IdentityDeclaration `protobuf:"varint,1,opt,name=identity_declaration,json=identityDeclaration,proto3,enum=google.shopping.merchant.accounts.v1.BusinessIdentity_IdentityAttribute_IdentityDeclaration" json:"identity_declaration,omitempty"`
392 }
393
394 func (x *BusinessIdentity_IdentityAttribute) Reset() {
395 *x = BusinessIdentity_IdentityAttribute{}
396 mi := &file_google_shopping_merchant_accounts_v1_businessidentity_proto_msgTypes[3]
397 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
398 ms.StoreMessageInfo(mi)
399 }
400
401 func (x *BusinessIdentity_IdentityAttribute) String() string {
402 return protoimpl.X.MessageStringOf(x)
403 }
404
405 func (*BusinessIdentity_IdentityAttribute) ProtoMessage() {}
406
407 func (x *BusinessIdentity_IdentityAttribute) ProtoReflect() protoreflect.Message {
408 mi := &file_google_shopping_merchant_accounts_v1_businessidentity_proto_msgTypes[3]
409 if x != nil {
410 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
411 if ms.LoadMessageInfo() == nil {
412 ms.StoreMessageInfo(mi)
413 }
414 return ms
415 }
416 return mi.MessageOf(x)
417 }
418
419 // Deprecated: Use BusinessIdentity_IdentityAttribute.ProtoReflect.Descriptor instead.
420 func (*BusinessIdentity_IdentityAttribute) Descriptor() ([]byte, []int) {
421 return file_google_shopping_merchant_accounts_v1_businessidentity_proto_rawDescGZIP(), []int{0, 0}
422 }
423
424 func (x *BusinessIdentity_IdentityAttribute) GetIdentityDeclaration() BusinessIdentity_IdentityAttribute_IdentityDeclaration {
425 if x != nil {
426 return x.IdentityDeclaration
427 }
428 return BusinessIdentity_IdentityAttribute_IDENTITY_DECLARATION_UNSPECIFIED
429 }
430
431 var File_google_shopping_merchant_accounts_v1_businessidentity_proto protoreflect.FileDescriptor
432
433 var file_google_shopping_merchant_accounts_v1_businessidentity_proto_rawDesc = []byte{
434 0x0a, 0x3b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
435 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75,
436 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x69,
437 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x24, 0x67,
438 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d,
439 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
440 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
441 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
442 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c,
443 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
444 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68,
445 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f,
446 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
447 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
448 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61,
449 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf9, 0x09, 0x0a, 0x10, 0x42, 0x75, 0x73,
450 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x17, 0x0a,
451 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08,
452 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x7c, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74,
453 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01,
454 0x28, 0x0e, 0x32, 0x48, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70,
455 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63,
456 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65,
457 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x6f,
458 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41,
459 0x02, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x6f, 0x6e,
460 0x73, 0x65, 0x6e, 0x74, 0x12, 0x6e, 0x0a, 0x0b, 0x62, 0x6c, 0x61, 0x63, 0x6b, 0x5f, 0x6f, 0x77,
461 0x6e, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
462 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63,
463 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31,
464 0x2e, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
465 0x79, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62,
466 0x75, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x62, 0x6c, 0x61, 0x63, 0x6b, 0x4f,
467 0x77, 0x6e, 0x65, 0x64, 0x12, 0x6e, 0x0a, 0x0b, 0x77, 0x6f, 0x6d, 0x65, 0x6e, 0x5f, 0x6f, 0x77,
468 0x6e, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
469 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63,
470 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31,
471 0x2e, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
472 0x79, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62,
473 0x75, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x77, 0x6f, 0x6d, 0x65, 0x6e, 0x4f,
474 0x77, 0x6e, 0x65, 0x64, 0x12, 0x72, 0x0a, 0x0d, 0x76, 0x65, 0x74, 0x65, 0x72, 0x61, 0x6e, 0x5f,
475 0x6f, 0x77, 0x6e, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x67, 0x6f,
476 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65,
477 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e,
478 0x76, 0x31, 0x2e, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74,
479 0x69, 0x74, 0x79, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x74, 0x74, 0x72,
480 0x69, 0x62, 0x75, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x76, 0x65, 0x74, 0x65,
481 0x72, 0x61, 0x6e, 0x4f, 0x77, 0x6e, 0x65, 0x64, 0x12, 0x70, 0x0a, 0x0c, 0x6c, 0x61, 0x74, 0x69,
482 0x6e, 0x6f, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x48,
483 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
484 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
485 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64,
486 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41,
487 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x6c,
488 0x61, 0x74, 0x69, 0x6e, 0x6f, 0x4f, 0x77, 0x6e, 0x65, 0x64, 0x12, 0x74, 0x0a, 0x0e, 0x73, 0x6d,
489 0x61, 0x6c, 0x6c, 0x5f, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01,
490 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70,
491 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63,
492 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65,
493 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74,
494 0x69, 0x74, 0x79, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41,
495 0x01, 0x52, 0x0d, 0x73, 0x6d, 0x61, 0x6c, 0x6c, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73,
496 0x1a, 0x9e, 0x02, 0x0a, 0x11, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x74, 0x74,
497 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x94, 0x01, 0x0a, 0x14, 0x69, 0x64, 0x65, 0x6e, 0x74,
498 0x69, 0x74, 0x79, 0x5f, 0x64, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
499 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x5c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73,
500 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74,
501 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x73,
502 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x49, 0x64,
503 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x2e,
504 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x44, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74,
505 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x13, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69,
506 0x74, 0x79, 0x44, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x72, 0x0a,
507 0x13, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x44, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61,
508 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x20, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59,
509 0x5f, 0x44, 0x45, 0x43, 0x4c, 0x41, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53,
510 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x45,
511 0x4c, 0x46, 0x5f, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x46, 0x49, 0x45, 0x53, 0x5f, 0x41, 0x53,
512 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x44, 0x4f, 0x45, 0x53, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x53,
513 0x45, 0x4c, 0x46, 0x5f, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x46, 0x59, 0x5f, 0x41, 0x53, 0x10,
514 0x02, 0x22, 0x74, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x43,
515 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x1e, 0x50, 0x52, 0x4f, 0x4d, 0x4f, 0x54,
516 0x49, 0x4f, 0x4e, 0x53, 0x5f, 0x43, 0x4f, 0x4e, 0x53, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x4e, 0x53,
517 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x52,
518 0x4f, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x5f, 0x43, 0x4f, 0x4e, 0x53, 0x45, 0x4e, 0x54,
519 0x5f, 0x47, 0x49, 0x56, 0x45, 0x4e, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x50, 0x52, 0x4f, 0x4d,
520 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x5f, 0x43, 0x4f, 0x4e, 0x53, 0x45, 0x4e, 0x54, 0x5f, 0x44,
521 0x45, 0x4e, 0x49, 0x45, 0x44, 0x10, 0x02, 0x3a, 0x7b, 0xea, 0x41, 0x78, 0x0a, 0x2b, 0x6d, 0x65,
522 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
523 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73,
524 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x23, 0x61, 0x63, 0x63, 0x6f, 0x75,
525 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x2f, 0x62, 0x75,
526 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2a, 0x12,
527 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69,
528 0x65, 0x73, 0x32, 0x10, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e,
529 0x74, 0x69, 0x74, 0x79, 0x22, 0x65, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x42, 0x75, 0x73, 0x69, 0x6e,
530 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
531 0x73, 0x74, 0x12, 0x47, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
532 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2d, 0x0a, 0x2b, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61,
533 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
534 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65,
535 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xcb, 0x01, 0x0a, 0x1d,
536 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64,
537 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x68, 0x0a,
538 0x11, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69,
539 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
540 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68,
541 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e,
542 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
543 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x10, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49,
544 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74,
545 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
546 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46,
547 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x75,
548 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x32, 0xca, 0x04, 0x0a, 0x17, 0x42, 0x75,
549 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x65,
550 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xcf, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x42, 0x75, 0x73,
551 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x40, 0x2e,
552 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e,
553 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
554 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73,
555 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
556 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
557 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75,
558 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49,
559 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x22, 0x3e, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65,
560 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x12, 0x2f, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
561 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75,
562 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64,
563 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x7d, 0x12, 0x93, 0x02, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61,
564 0x74, 0x65, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
565 0x74, 0x79, 0x12, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70,
566 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63,
567 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
568 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
569 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
570 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61,
571 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42,
572 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x22,
573 0x7c, 0xda, 0x41, 0x1d, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x65,
574 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73,
575 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x56, 0x3a, 0x11, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73,
576 0x73, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x32, 0x41, 0x2f, 0x61, 0x63, 0x63,
577 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65,
578 0x73, 0x73, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x6e, 0x61, 0x6d, 0x65,
579 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x62, 0x75, 0x73, 0x69,
580 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x7d, 0x1a, 0x47, 0xca,
581 0x41, 0x1a, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f,
582 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x27, 0x68,
583 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
584 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63,
585 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x88, 0x02, 0x0a, 0x28, 0x63, 0x6f, 0x6d, 0x2e, 0x67,
586 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d,
587 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
588 0x2e, 0x76, 0x31, 0x42, 0x15, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65,
589 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c,
590 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67,
591 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68,
592 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x61, 0x70, 0x69,
593 0x76, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0x3b, 0x61, 0x63,
594 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0xaa, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
595 0x65, 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x65, 0x72, 0x63, 0x68,
596 0x61, 0x6e, 0x74, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x56, 0x31, 0xca,
597 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
598 0x67, 0x5c, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x5c, 0x41, 0x63, 0x63, 0x6f, 0x75,
599 0x6e, 0x74, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a,
600 0x3a, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x4d, 0x65, 0x72, 0x63, 0x68,
601 0x61, 0x6e, 0x74, 0x3a, 0x3a, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x3a, 0x3a, 0x56,
602 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
603 }
604
605 var (
606 file_google_shopping_merchant_accounts_v1_businessidentity_proto_rawDescOnce sync.Once
607 file_google_shopping_merchant_accounts_v1_businessidentity_proto_rawDescData = file_google_shopping_merchant_accounts_v1_businessidentity_proto_rawDesc
608 )
609
610 func file_google_shopping_merchant_accounts_v1_businessidentity_proto_rawDescGZIP() []byte {
611 file_google_shopping_merchant_accounts_v1_businessidentity_proto_rawDescOnce.Do(func() {
612 file_google_shopping_merchant_accounts_v1_businessidentity_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_accounts_v1_businessidentity_proto_rawDescData)
613 })
614 return file_google_shopping_merchant_accounts_v1_businessidentity_proto_rawDescData
615 }
616
617 var file_google_shopping_merchant_accounts_v1_businessidentity_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
618 var file_google_shopping_merchant_accounts_v1_businessidentity_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
619 var file_google_shopping_merchant_accounts_v1_businessidentity_proto_goTypes = []any{
620 (BusinessIdentity_PromotionsConsent)(0), // 0: google.shopping.merchant.accounts.v1.BusinessIdentity.PromotionsConsent
621 (BusinessIdentity_IdentityAttribute_IdentityDeclaration)(0), // 1: google.shopping.merchant.accounts.v1.BusinessIdentity.IdentityAttribute.IdentityDeclaration
622 (*BusinessIdentity)(nil), // 2: google.shopping.merchant.accounts.v1.BusinessIdentity
623 (*GetBusinessIdentityRequest)(nil), // 3: google.shopping.merchant.accounts.v1.GetBusinessIdentityRequest
624 (*UpdateBusinessIdentityRequest)(nil), // 4: google.shopping.merchant.accounts.v1.UpdateBusinessIdentityRequest
625 (*BusinessIdentity_IdentityAttribute)(nil), // 5: google.shopping.merchant.accounts.v1.BusinessIdentity.IdentityAttribute
626 (*fieldmaskpb.FieldMask)(nil), // 6: google.protobuf.FieldMask
627 }
628 var file_google_shopping_merchant_accounts_v1_businessidentity_proto_depIdxs = []int32{
629 0, // 0: google.shopping.merchant.accounts.v1.BusinessIdentity.promotions_consent:type_name -> google.shopping.merchant.accounts.v1.BusinessIdentity.PromotionsConsent
630 5, // 1: google.shopping.merchant.accounts.v1.BusinessIdentity.black_owned:type_name -> google.shopping.merchant.accounts.v1.BusinessIdentity.IdentityAttribute
631 5, // 2: google.shopping.merchant.accounts.v1.BusinessIdentity.women_owned:type_name -> google.shopping.merchant.accounts.v1.BusinessIdentity.IdentityAttribute
632 5, // 3: google.shopping.merchant.accounts.v1.BusinessIdentity.veteran_owned:type_name -> google.shopping.merchant.accounts.v1.BusinessIdentity.IdentityAttribute
633 5, // 4: google.shopping.merchant.accounts.v1.BusinessIdentity.latino_owned:type_name -> google.shopping.merchant.accounts.v1.BusinessIdentity.IdentityAttribute
634 5, // 5: google.shopping.merchant.accounts.v1.BusinessIdentity.small_business:type_name -> google.shopping.merchant.accounts.v1.BusinessIdentity.IdentityAttribute
635 2, // 6: google.shopping.merchant.accounts.v1.UpdateBusinessIdentityRequest.business_identity:type_name -> google.shopping.merchant.accounts.v1.BusinessIdentity
636 6, // 7: google.shopping.merchant.accounts.v1.UpdateBusinessIdentityRequest.update_mask:type_name -> google.protobuf.FieldMask
637 1, // 8: google.shopping.merchant.accounts.v1.BusinessIdentity.IdentityAttribute.identity_declaration:type_name -> google.shopping.merchant.accounts.v1.BusinessIdentity.IdentityAttribute.IdentityDeclaration
638 3, // 9: google.shopping.merchant.accounts.v1.BusinessIdentityService.GetBusinessIdentity:input_type -> google.shopping.merchant.accounts.v1.GetBusinessIdentityRequest
639 4, // 10: google.shopping.merchant.accounts.v1.BusinessIdentityService.UpdateBusinessIdentity:input_type -> google.shopping.merchant.accounts.v1.UpdateBusinessIdentityRequest
640 2, // 11: google.shopping.merchant.accounts.v1.BusinessIdentityService.GetBusinessIdentity:output_type -> google.shopping.merchant.accounts.v1.BusinessIdentity
641 2, // 12: google.shopping.merchant.accounts.v1.BusinessIdentityService.UpdateBusinessIdentity:output_type -> google.shopping.merchant.accounts.v1.BusinessIdentity
642 11, // [11:13] is the sub-list for method output_type
643 9, // [9:11] is the sub-list for method input_type
644 9, // [9:9] is the sub-list for extension type_name
645 9, // [9:9] is the sub-list for extension extendee
646 0, // [0:9] is the sub-list for field type_name
647 }
648
649 func init() { file_google_shopping_merchant_accounts_v1_businessidentity_proto_init() }
650 func file_google_shopping_merchant_accounts_v1_businessidentity_proto_init() {
651 if File_google_shopping_merchant_accounts_v1_businessidentity_proto != nil {
652 return
653 }
654 type x struct{}
655 out := protoimpl.TypeBuilder{
656 File: protoimpl.DescBuilder{
657 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
658 RawDescriptor: file_google_shopping_merchant_accounts_v1_businessidentity_proto_rawDesc,
659 NumEnums: 2,
660 NumMessages: 4,
661 NumExtensions: 0,
662 NumServices: 1,
663 },
664 GoTypes: file_google_shopping_merchant_accounts_v1_businessidentity_proto_goTypes,
665 DependencyIndexes: file_google_shopping_merchant_accounts_v1_businessidentity_proto_depIdxs,
666 EnumInfos: file_google_shopping_merchant_accounts_v1_businessidentity_proto_enumTypes,
667 MessageInfos: file_google_shopping_merchant_accounts_v1_businessidentity_proto_msgTypes,
668 }.Build()
669 File_google_shopping_merchant_accounts_v1_businessidentity_proto = out.File
670 file_google_shopping_merchant_accounts_v1_businessidentity_proto_rawDesc = nil
671 file_google_shopping_merchant_accounts_v1_businessidentity_proto_goTypes = nil
672 file_google_shopping_merchant_accounts_v1_businessidentity_proto_depIdxs = nil
673 }
674
675 // Reference imports to suppress errors if they are not otherwise used.
676 var _ context.Context
677 var _ grpc.ClientConnInterface
678
679 // This is a compile-time assertion to ensure that this generated file
680 // is compatible with the grpc package it is being compiled against.
681 const _ = grpc.SupportPackageIsVersion6
682
683 // BusinessIdentityServiceClient is the client API for BusinessIdentityService service.
684 //
685 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
686 type BusinessIdentityServiceClient interface {
687 // Retrieves the business identity of an account.
688 GetBusinessIdentity(ctx context.Context, in *GetBusinessIdentityRequest, opts ...grpc.CallOption) (*BusinessIdentity, error)
689 // Updates the business identity of an account. Executing this method requires
690 // admin access.
691 UpdateBusinessIdentity(ctx context.Context, in *UpdateBusinessIdentityRequest, opts ...grpc.CallOption) (*BusinessIdentity, error)
692 }
693
694 type businessIdentityServiceClient struct {
695 cc grpc.ClientConnInterface
696 }
697
698 func NewBusinessIdentityServiceClient(cc grpc.ClientConnInterface) BusinessIdentityServiceClient {
699 return &businessIdentityServiceClient{cc}
700 }
701
702 func (c *businessIdentityServiceClient) GetBusinessIdentity(ctx context.Context, in *GetBusinessIdentityRequest, opts ...grpc.CallOption) (*BusinessIdentity, error) {
703 out := new(BusinessIdentity)
704 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.BusinessIdentityService/GetBusinessIdentity", in, out, opts...)
705 if err != nil {
706 return nil, err
707 }
708 return out, nil
709 }
710
711 func (c *businessIdentityServiceClient) UpdateBusinessIdentity(ctx context.Context, in *UpdateBusinessIdentityRequest, opts ...grpc.CallOption) (*BusinessIdentity, error) {
712 out := new(BusinessIdentity)
713 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.BusinessIdentityService/UpdateBusinessIdentity", in, out, opts...)
714 if err != nil {
715 return nil, err
716 }
717 return out, nil
718 }
719
720 // BusinessIdentityServiceServer is the server API for BusinessIdentityService service.
721 type BusinessIdentityServiceServer interface {
722 // Retrieves the business identity of an account.
723 GetBusinessIdentity(context.Context, *GetBusinessIdentityRequest) (*BusinessIdentity, error)
724 // Updates the business identity of an account. Executing this method requires
725 // admin access.
726 UpdateBusinessIdentity(context.Context, *UpdateBusinessIdentityRequest) (*BusinessIdentity, error)
727 }
728
729 // UnimplementedBusinessIdentityServiceServer can be embedded to have forward compatible implementations.
730 type UnimplementedBusinessIdentityServiceServer struct {
731 }
732
733 func (*UnimplementedBusinessIdentityServiceServer) GetBusinessIdentity(context.Context, *GetBusinessIdentityRequest) (*BusinessIdentity, error) {
734 return nil, status.Errorf(codes.Unimplemented, "method GetBusinessIdentity not implemented")
735 }
736 func (*UnimplementedBusinessIdentityServiceServer) UpdateBusinessIdentity(context.Context, *UpdateBusinessIdentityRequest) (*BusinessIdentity, error) {
737 return nil, status.Errorf(codes.Unimplemented, "method UpdateBusinessIdentity not implemented")
738 }
739
740 func RegisterBusinessIdentityServiceServer(s *grpc.Server, srv BusinessIdentityServiceServer) {
741 s.RegisterService(&_BusinessIdentityService_serviceDesc, srv)
742 }
743
744 func _BusinessIdentityService_GetBusinessIdentity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
745 in := new(GetBusinessIdentityRequest)
746 if err := dec(in); err != nil {
747 return nil, err
748 }
749 if interceptor == nil {
750 return srv.(BusinessIdentityServiceServer).GetBusinessIdentity(ctx, in)
751 }
752 info := &grpc.UnaryServerInfo{
753 Server: srv,
754 FullMethod: "/google.shopping.merchant.accounts.v1.BusinessIdentityService/GetBusinessIdentity",
755 }
756 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
757 return srv.(BusinessIdentityServiceServer).GetBusinessIdentity(ctx, req.(*GetBusinessIdentityRequest))
758 }
759 return interceptor(ctx, in, info, handler)
760 }
761
762 func _BusinessIdentityService_UpdateBusinessIdentity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
763 in := new(UpdateBusinessIdentityRequest)
764 if err := dec(in); err != nil {
765 return nil, err
766 }
767 if interceptor == nil {
768 return srv.(BusinessIdentityServiceServer).UpdateBusinessIdentity(ctx, in)
769 }
770 info := &grpc.UnaryServerInfo{
771 Server: srv,
772 FullMethod: "/google.shopping.merchant.accounts.v1.BusinessIdentityService/UpdateBusinessIdentity",
773 }
774 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
775 return srv.(BusinessIdentityServiceServer).UpdateBusinessIdentity(ctx, req.(*UpdateBusinessIdentityRequest))
776 }
777 return interceptor(ctx, in, info, handler)
778 }
779
780 var _BusinessIdentityService_serviceDesc = grpc.ServiceDesc{
781 ServiceName: "google.shopping.merchant.accounts.v1.BusinessIdentityService",
782 HandlerType: (*BusinessIdentityServiceServer)(nil),
783 Methods: []grpc.MethodDesc{
784 {
785 MethodName: "GetBusinessIdentity",
786 Handler: _BusinessIdentityService_GetBusinessIdentity_Handler,
787 },
788 {
789 MethodName: "UpdateBusinessIdentity",
790 Handler: _BusinessIdentityService_UpdateBusinessIdentity_Handler,
791 },
792 },
793 Streams: []grpc.StreamDesc{},
794 Metadata: "google/shopping/merchant/accounts/v1/businessidentity.proto",
795 }