Debian Codegraph @

shopping/merchant/accounts/apiv1beta/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/v1beta/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_v1beta_businessidentity_proto_enumTypes[0].Descriptor()
84 }
85
86 func (BusinessIdentity_PromotionsConsent) Type() protoreflect.EnumType {
87 return &file_google_shopping_merchant_accounts_v1beta_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_v1beta_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_v1beta_businessidentity_proto_enumTypes[1].Descriptor()
137 }
138
139 func (BusinessIdentity_IdentityAttribute_IdentityDeclaration) Type() protoreflect.EnumType {
140 return &file_google_shopping_merchant_accounts_v1beta_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_v1beta_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 // Optional. 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.v1beta.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 merchants with
166 // a business country set to `US`. It is also not applicable for marketplaces
167 // 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 merchants 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 merchants
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 merchants with
181 // a business country set to `US`. It is also not applicable for marketplaces
182 // 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 merchants 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_v1beta_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_v1beta_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_v1beta_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`
277 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
278 }
279
280 func (x *GetBusinessIdentityRequest) Reset() {
281 *x = GetBusinessIdentityRequest{}
282 mi := &file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_msgTypes[1]
283 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
284 ms.StoreMessageInfo(mi)
285 }
286
287 func (x *GetBusinessIdentityRequest) String() string {
288 return protoimpl.X.MessageStringOf(x)
289 }
290
291 func (*GetBusinessIdentityRequest) ProtoMessage() {}
292
293 func (x *GetBusinessIdentityRequest) ProtoReflect() protoreflect.Message {
294 mi := &file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_msgTypes[1]
295 if x != nil {
296 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
297 if ms.LoadMessageInfo() == nil {
298 ms.StoreMessageInfo(mi)
299 }
300 return ms
301 }
302 return mi.MessageOf(x)
303 }
304
305 // Deprecated: Use GetBusinessIdentityRequest.ProtoReflect.Descriptor instead.
306 func (*GetBusinessIdentityRequest) Descriptor() ([]byte, []int) {
307 return file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_rawDescGZIP(), []int{1}
308 }
309
310 func (x *GetBusinessIdentityRequest) GetName() string {
311 if x != nil {
312 return x.Name
313 }
314 return ""
315 }
316
317 // Request message for the `UpdateBusinessIdentity` method.
318 type UpdateBusinessIdentityRequest struct {
319 state protoimpl.MessageState
320 sizeCache protoimpl.SizeCache
321 unknownFields protoimpl.UnknownFields
322
323 // Required. The new version of the business identity.
324 BusinessIdentity *BusinessIdentity `protobuf:"bytes,1,opt,name=business_identity,json=businessIdentity,proto3" json:"business_identity,omitempty"`
325 // Required. List of fields being updated.
326 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
327 }
328
329 func (x *UpdateBusinessIdentityRequest) Reset() {
330 *x = UpdateBusinessIdentityRequest{}
331 mi := &file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_msgTypes[2]
332 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
333 ms.StoreMessageInfo(mi)
334 }
335
336 func (x *UpdateBusinessIdentityRequest) String() string {
337 return protoimpl.X.MessageStringOf(x)
338 }
339
340 func (*UpdateBusinessIdentityRequest) ProtoMessage() {}
341
342 func (x *UpdateBusinessIdentityRequest) ProtoReflect() protoreflect.Message {
343 mi := &file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_msgTypes[2]
344 if x != nil {
345 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
346 if ms.LoadMessageInfo() == nil {
347 ms.StoreMessageInfo(mi)
348 }
349 return ms
350 }
351 return mi.MessageOf(x)
352 }
353
354 // Deprecated: Use UpdateBusinessIdentityRequest.ProtoReflect.Descriptor instead.
355 func (*UpdateBusinessIdentityRequest) Descriptor() ([]byte, []int) {
356 return file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_rawDescGZIP(), []int{2}
357 }
358
359 func (x *UpdateBusinessIdentityRequest) GetBusinessIdentity() *BusinessIdentity {
360 if x != nil {
361 return x.BusinessIdentity
362 }
363 return nil
364 }
365
366 func (x *UpdateBusinessIdentityRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
367 if x != nil {
368 return x.UpdateMask
369 }
370 return nil
371 }
372
373 // All information related to an identity attribute.
374 type BusinessIdentity_IdentityAttribute struct {
375 state protoimpl.MessageState
376 sizeCache protoimpl.SizeCache
377 unknownFields protoimpl.UnknownFields
378
379 // Required. The declaration of identity for this attribute.
380 IdentityDeclaration BusinessIdentity_IdentityAttribute_IdentityDeclaration `protobuf:"varint,1,opt,name=identity_declaration,json=identityDeclaration,proto3,enum=google.shopping.merchant.accounts.v1beta.BusinessIdentity_IdentityAttribute_IdentityDeclaration" json:"identity_declaration,omitempty"`
381 }
382
383 func (x *BusinessIdentity_IdentityAttribute) Reset() {
384 *x = BusinessIdentity_IdentityAttribute{}
385 mi := &file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_msgTypes[3]
386 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
387 ms.StoreMessageInfo(mi)
388 }
389
390 func (x *BusinessIdentity_IdentityAttribute) String() string {
391 return protoimpl.X.MessageStringOf(x)
392 }
393
394 func (*BusinessIdentity_IdentityAttribute) ProtoMessage() {}
395
396 func (x *BusinessIdentity_IdentityAttribute) ProtoReflect() protoreflect.Message {
397 mi := &file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_msgTypes[3]
398 if x != nil {
399 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
400 if ms.LoadMessageInfo() == nil {
401 ms.StoreMessageInfo(mi)
402 }
403 return ms
404 }
405 return mi.MessageOf(x)
406 }
407
408 // Deprecated: Use BusinessIdentity_IdentityAttribute.ProtoReflect.Descriptor instead.
409 func (*BusinessIdentity_IdentityAttribute) Descriptor() ([]byte, []int) {
410 return file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_rawDescGZIP(), []int{0, 0}
411 }
412
413 func (x *BusinessIdentity_IdentityAttribute) GetIdentityDeclaration() BusinessIdentity_IdentityAttribute_IdentityDeclaration {
414 if x != nil {
415 return x.IdentityDeclaration
416 }
417 return BusinessIdentity_IdentityAttribute_IDENTITY_DECLARATION_UNSPECIFIED
418 }
419
420 var File_google_shopping_merchant_accounts_v1beta_businessidentity_proto protoreflect.FileDescriptor
421
422 var file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_rawDesc = []byte{
423 0x0a, 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
424 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75,
425 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x62, 0x75, 0x73, 0x69, 0x6e,
426 0x65, 0x73, 0x73, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
427 0x6f, 0x12, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
428 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f,
429 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1c, 0x67, 0x6f, 0x6f,
430 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
431 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
432 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f,
433 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66,
434 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72,
435 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
436 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20,
437 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
438 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
439 0x22, 0x96, 0x0a, 0x0a, 0x10, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65,
440 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
441 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x80,
442 0x01, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x63, 0x6f,
443 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x4c, 0x2e, 0x67, 0x6f,
444 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65,
445 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e,
446 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49,
447 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f,
448 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x11,
449 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e,
450 0x74, 0x12, 0x72, 0x0a, 0x0b, 0x62, 0x6c, 0x61, 0x63, 0x6b, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x64,
451 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
452 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e,
453 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
454 0x61, 0x2e, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
455 0x74, 0x79, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x74, 0x74, 0x72, 0x69,
456 0x62, 0x75, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x62, 0x6c, 0x61, 0x63, 0x6b,
457 0x4f, 0x77, 0x6e, 0x65, 0x64, 0x12, 0x72, 0x0a, 0x0b, 0x77, 0x6f, 0x6d, 0x65, 0x6e, 0x5f, 0x6f,
458 0x77, 0x6e, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x67, 0x6f, 0x6f,
459 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72,
460 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76,
461 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64,
462 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41,
463 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x77,
464 0x6f, 0x6d, 0x65, 0x6e, 0x4f, 0x77, 0x6e, 0x65, 0x64, 0x12, 0x76, 0x0a, 0x0d, 0x76, 0x65, 0x74,
465 0x65, 0x72, 0x61, 0x6e, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
466 0x32, 0x4c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
467 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f,
468 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x42, 0x75, 0x73, 0x69,
469 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x49, 0x64, 0x65,
470 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x42, 0x03,
471 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x76, 0x65, 0x74, 0x65, 0x72, 0x61, 0x6e, 0x4f, 0x77, 0x6e, 0x65,
472 0x64, 0x12, 0x74, 0x0a, 0x0c, 0x6c, 0x61, 0x74, 0x69, 0x6e, 0x6f, 0x5f, 0x6f, 0x77, 0x6e, 0x65,
473 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
474 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61,
475 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65,
476 0x74, 0x61, 0x2e, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74,
477 0x69, 0x74, 0x79, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x74, 0x74, 0x72,
478 0x69, 0x62, 0x75, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x6c, 0x61, 0x74, 0x69,
479 0x6e, 0x6f, 0x4f, 0x77, 0x6e, 0x65, 0x64, 0x12, 0x78, 0x0a, 0x0e, 0x73, 0x6d, 0x61, 0x6c, 0x6c,
480 0x5f, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32,
481 0x4c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
482 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75,
483 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x42, 0x75, 0x73, 0x69, 0x6e,
484 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x49, 0x64, 0x65, 0x6e,
485 0x74, 0x69, 0x74, 0x79, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x42, 0x03, 0xe0,
486 0x41, 0x01, 0x52, 0x0d, 0x73, 0x6d, 0x61, 0x6c, 0x6c, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73,
487 0x73, 0x1a, 0xa2, 0x02, 0x0a, 0x11, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x74,
488 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x98, 0x01, 0x0a, 0x14, 0x69, 0x64, 0x65, 0x6e,
489 0x74, 0x69, 0x74, 0x79, 0x5f, 0x64, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
490 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x60, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
491 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e,
492 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
493 0x61, 0x2e, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
494 0x74, 0x79, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x74, 0x74, 0x72, 0x69,
495 0x62, 0x75, 0x74, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x44, 0x65, 0x63,
496 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x13, 0x69,
497 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x44, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69,
498 0x6f, 0x6e, 0x22, 0x72, 0x0a, 0x13, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x44, 0x65,
499 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x20, 0x49, 0x44, 0x45,
500 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, 0x44, 0x45, 0x43, 0x4c, 0x41, 0x52, 0x41, 0x54, 0x49, 0x4f,
501 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
502 0x16, 0x0a, 0x12, 0x53, 0x45, 0x4c, 0x46, 0x5f, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x46, 0x49,
503 0x45, 0x53, 0x5f, 0x41, 0x53, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x44, 0x4f, 0x45, 0x53, 0x5f,
504 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x45, 0x4c, 0x46, 0x5f, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x46,
505 0x59, 0x5f, 0x41, 0x53, 0x10, 0x02, 0x22, 0x74, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74,
506 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x1e, 0x50,
507 0x52, 0x4f, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x5f, 0x43, 0x4f, 0x4e, 0x53, 0x45, 0x4e,
508 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
509 0x1c, 0x0a, 0x18, 0x50, 0x52, 0x4f, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x5f, 0x43, 0x4f,
510 0x4e, 0x53, 0x45, 0x4e, 0x54, 0x5f, 0x47, 0x49, 0x56, 0x45, 0x4e, 0x10, 0x01, 0x12, 0x1d, 0x0a,
511 0x19, 0x50, 0x52, 0x4f, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x5f, 0x43, 0x4f, 0x4e, 0x53,
512 0x45, 0x4e, 0x54, 0x5f, 0x44, 0x45, 0x4e, 0x49, 0x45, 0x44, 0x10, 0x02, 0x3a, 0x7b, 0xea, 0x41,
513 0x78, 0x0a, 0x2b, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67,
514 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x75,
515 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x23,
516 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
517 0x74, 0x7d, 0x2f, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74,
518 0x69, 0x74, 0x79, 0x2a, 0x12, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65,
519 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x32, 0x10, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73,
520 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x22, 0x65, 0x0a, 0x1a, 0x47, 0x65, 0x74,
521 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
522 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
523 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2d, 0x0a, 0x2b, 0x6d,
524 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
525 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65,
526 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
527 0x22, 0xcf, 0x01, 0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x75, 0x73, 0x69, 0x6e,
528 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
529 0x73, 0x74, 0x12, 0x6c, 0x0a, 0x11, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x69,
530 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e,
531 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e,
532 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
533 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73,
534 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x10,
535 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
536 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18,
537 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
538 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73,
539 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61,
540 0x73, 0x6b, 0x32, 0xe3, 0x04, 0x0a, 0x17, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49,
541 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xdb,
542 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64,
543 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x44, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
544 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e,
545 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
546 0x61, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65,
547 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x67,
548 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d,
549 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
550 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73,
551 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x22, 0x42, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d,
552 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x35, 0x12, 0x33, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
553 0x74, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
554 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x62, 0x75, 0x73, 0x69, 0x6e,
555 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x7d, 0x12, 0xa0, 0x02, 0x0a,
556 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49,
557 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
558 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61,
559 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65,
560 0x74, 0x61, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73,
561 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
562 0x1a, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
563 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f,
564 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x42, 0x75, 0x73, 0x69,
565 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x22, 0x80, 0x01, 0xda,
566 0x41, 0x1d, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74,
567 0x69, 0x74, 0x79, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82,
568 0xd3, 0xe4, 0x93, 0x02, 0x5a, 0x3a, 0x11, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x5f,
569 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x32, 0x45, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75,
570 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x62, 0x75, 0x73, 0x69,
571 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x6e, 0x61,
572 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x62, 0x75,
573 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x7d, 0x1a,
574 0x47, 0xca, 0x41, 0x1a, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e,
575 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41,
576 0x27, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f,
577 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68,
578 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x97, 0x01, 0x0a, 0x2c, 0x63, 0x6f, 0x6d,
579 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
580 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
581 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x42, 0x15, 0x42, 0x75, 0x73, 0x69, 0x6e,
582 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f,
583 0x50, 0x01, 0x5a, 0x4e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
584 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
585 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
586 0x74, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x61, 0x63, 0x63,
587 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
588 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
589 }
590
591 var (
592 file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_rawDescOnce sync.Once
593 file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_rawDescData = file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_rawDesc
594 )
595
596 func file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_rawDescGZIP() []byte {
597 file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_rawDescOnce.Do(func() {
598 file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_rawDescData)
599 })
600 return file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_rawDescData
601 }
602
603 var file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
604 var file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
605 var file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_goTypes = []any{
606 (BusinessIdentity_PromotionsConsent)(0), // 0: google.shopping.merchant.accounts.v1beta.BusinessIdentity.PromotionsConsent
607 (BusinessIdentity_IdentityAttribute_IdentityDeclaration)(0), // 1: google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute.IdentityDeclaration
608 (*BusinessIdentity)(nil), // 2: google.shopping.merchant.accounts.v1beta.BusinessIdentity
609 (*GetBusinessIdentityRequest)(nil), // 3: google.shopping.merchant.accounts.v1beta.GetBusinessIdentityRequest
610 (*UpdateBusinessIdentityRequest)(nil), // 4: google.shopping.merchant.accounts.v1beta.UpdateBusinessIdentityRequest
611 (*BusinessIdentity_IdentityAttribute)(nil), // 5: google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute
612 (*fieldmaskpb.FieldMask)(nil), // 6: google.protobuf.FieldMask
613 }
614 var file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_depIdxs = []int32{
615 0, // 0: google.shopping.merchant.accounts.v1beta.BusinessIdentity.promotions_consent:type_name -> google.shopping.merchant.accounts.v1beta.BusinessIdentity.PromotionsConsent
616 5, // 1: google.shopping.merchant.accounts.v1beta.BusinessIdentity.black_owned:type_name -> google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute
617 5, // 2: google.shopping.merchant.accounts.v1beta.BusinessIdentity.women_owned:type_name -> google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute
618 5, // 3: google.shopping.merchant.accounts.v1beta.BusinessIdentity.veteran_owned:type_name -> google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute
619 5, // 4: google.shopping.merchant.accounts.v1beta.BusinessIdentity.latino_owned:type_name -> google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute
620 5, // 5: google.shopping.merchant.accounts.v1beta.BusinessIdentity.small_business:type_name -> google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute
621 2, // 6: google.shopping.merchant.accounts.v1beta.UpdateBusinessIdentityRequest.business_identity:type_name -> google.shopping.merchant.accounts.v1beta.BusinessIdentity
622 6, // 7: google.shopping.merchant.accounts.v1beta.UpdateBusinessIdentityRequest.update_mask:type_name -> google.protobuf.FieldMask
623 1, // 8: google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute.identity_declaration:type_name -> google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute.IdentityDeclaration
624 3, // 9: google.shopping.merchant.accounts.v1beta.BusinessIdentityService.GetBusinessIdentity:input_type -> google.shopping.merchant.accounts.v1beta.GetBusinessIdentityRequest
625 4, // 10: google.shopping.merchant.accounts.v1beta.BusinessIdentityService.UpdateBusinessIdentity:input_type -> google.shopping.merchant.accounts.v1beta.UpdateBusinessIdentityRequest
626 2, // 11: google.shopping.merchant.accounts.v1beta.BusinessIdentityService.GetBusinessIdentity:output_type -> google.shopping.merchant.accounts.v1beta.BusinessIdentity
627 2, // 12: google.shopping.merchant.accounts.v1beta.BusinessIdentityService.UpdateBusinessIdentity:output_type -> google.shopping.merchant.accounts.v1beta.BusinessIdentity
628 11, // [11:13] is the sub-list for method output_type
629 9, // [9:11] is the sub-list for method input_type
630 9, // [9:9] is the sub-list for extension type_name
631 9, // [9:9] is the sub-list for extension extendee
632 0, // [0:9] is the sub-list for field type_name
633 }
634
635 func init() { file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_init() }
636 func file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_init() {
637 if File_google_shopping_merchant_accounts_v1beta_businessidentity_proto != nil {
638 return
639 }
640 type x struct{}
641 out := protoimpl.TypeBuilder{
642 File: protoimpl.DescBuilder{
643 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
644 RawDescriptor: file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_rawDesc,
645 NumEnums: 2,
646 NumMessages: 4,
647 NumExtensions: 0,
648 NumServices: 1,
649 },
650 GoTypes: file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_goTypes,
651 DependencyIndexes: file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_depIdxs,
652 EnumInfos: file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_enumTypes,
653 MessageInfos: file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_msgTypes,
654 }.Build()
655 File_google_shopping_merchant_accounts_v1beta_businessidentity_proto = out.File
656 file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_rawDesc = nil
657 file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_goTypes = nil
658 file_google_shopping_merchant_accounts_v1beta_businessidentity_proto_depIdxs = nil
659 }
660
661 // Reference imports to suppress errors if they are not otherwise used.
662 var _ context.Context
663 var _ grpc.ClientConnInterface
664
665 // This is a compile-time assertion to ensure that this generated file
666 // is compatible with the grpc package it is being compiled against.
667 const _ = grpc.SupportPackageIsVersion6
668
669 // BusinessIdentityServiceClient is the client API for BusinessIdentityService service.
670 //
671 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
672 type BusinessIdentityServiceClient interface {
673 // Retrieves the business identity of an account.
674 GetBusinessIdentity(ctx context.Context, in *GetBusinessIdentityRequest, opts ...grpc.CallOption) (*BusinessIdentity, error)
675 // Updates the business identity of an account. Executing this method requires
676 // admin access.
677 UpdateBusinessIdentity(ctx context.Context, in *UpdateBusinessIdentityRequest, opts ...grpc.CallOption) (*BusinessIdentity, error)
678 }
679
680 type businessIdentityServiceClient struct {
681 cc grpc.ClientConnInterface
682 }
683
684 func NewBusinessIdentityServiceClient(cc grpc.ClientConnInterface) BusinessIdentityServiceClient {
685 return &businessIdentityServiceClient{cc}
686 }
687
688 func (c *businessIdentityServiceClient) GetBusinessIdentity(ctx context.Context, in *GetBusinessIdentityRequest, opts ...grpc.CallOption) (*BusinessIdentity, error) {
689 out := new(BusinessIdentity)
690 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1beta.BusinessIdentityService/GetBusinessIdentity", in, out, opts...)
691 if err != nil {
692 return nil, err
693 }
694 return out, nil
695 }
696
697 func (c *businessIdentityServiceClient) UpdateBusinessIdentity(ctx context.Context, in *UpdateBusinessIdentityRequest, opts ...grpc.CallOption) (*BusinessIdentity, error) {
698 out := new(BusinessIdentity)
699 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1beta.BusinessIdentityService/UpdateBusinessIdentity", in, out, opts...)
700 if err != nil {
701 return nil, err
702 }
703 return out, nil
704 }
705
706 // BusinessIdentityServiceServer is the server API for BusinessIdentityService service.
707 type BusinessIdentityServiceServer interface {
708 // Retrieves the business identity of an account.
709 GetBusinessIdentity(context.Context, *GetBusinessIdentityRequest) (*BusinessIdentity, error)
710 // Updates the business identity of an account. Executing this method requires
711 // admin access.
712 UpdateBusinessIdentity(context.Context, *UpdateBusinessIdentityRequest) (*BusinessIdentity, error)
713 }
714
715 // UnimplementedBusinessIdentityServiceServer can be embedded to have forward compatible implementations.
716 type UnimplementedBusinessIdentityServiceServer struct {
717 }
718
719 func (*UnimplementedBusinessIdentityServiceServer) GetBusinessIdentity(context.Context, *GetBusinessIdentityRequest) (*BusinessIdentity, error) {
720 return nil, status.Errorf(codes.Unimplemented, "method GetBusinessIdentity not implemented")
721 }
722 func (*UnimplementedBusinessIdentityServiceServer) UpdateBusinessIdentity(context.Context, *UpdateBusinessIdentityRequest) (*BusinessIdentity, error) {
723 return nil, status.Errorf(codes.Unimplemented, "method UpdateBusinessIdentity not implemented")
724 }
725
726 func RegisterBusinessIdentityServiceServer(s *grpc.Server, srv BusinessIdentityServiceServer) {
727 s.RegisterService(&_BusinessIdentityService_serviceDesc, srv)
728 }
729
730 func _BusinessIdentityService_GetBusinessIdentity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
731 in := new(GetBusinessIdentityRequest)
732 if err := dec(in); err != nil {
733 return nil, err
734 }
735 if interceptor == nil {
736 return srv.(BusinessIdentityServiceServer).GetBusinessIdentity(ctx, in)
737 }
738 info := &grpc.UnaryServerInfo{
739 Server: srv,
740 FullMethod: "/google.shopping.merchant.accounts.v1beta.BusinessIdentityService/GetBusinessIdentity",
741 }
742 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
743 return srv.(BusinessIdentityServiceServer).GetBusinessIdentity(ctx, req.(*GetBusinessIdentityRequest))
744 }
745 return interceptor(ctx, in, info, handler)
746 }
747
748 func _BusinessIdentityService_UpdateBusinessIdentity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
749 in := new(UpdateBusinessIdentityRequest)
750 if err := dec(in); err != nil {
751 return nil, err
752 }
753 if interceptor == nil {
754 return srv.(BusinessIdentityServiceServer).UpdateBusinessIdentity(ctx, in)
755 }
756 info := &grpc.UnaryServerInfo{
757 Server: srv,
758 FullMethod: "/google.shopping.merchant.accounts.v1beta.BusinessIdentityService/UpdateBusinessIdentity",
759 }
760 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
761 return srv.(BusinessIdentityServiceServer).UpdateBusinessIdentity(ctx, req.(*UpdateBusinessIdentityRequest))
762 }
763 return interceptor(ctx, in, info, handler)
764 }
765
766 var _BusinessIdentityService_serviceDesc = grpc.ServiceDesc{
767 ServiceName: "google.shopping.merchant.accounts.v1beta.BusinessIdentityService",
768 HandlerType: (*BusinessIdentityServiceServer)(nil),
769 Methods: []grpc.MethodDesc{
770 {
771 MethodName: "GetBusinessIdentity",
772 Handler: _BusinessIdentityService_GetBusinessIdentity_Handler,
773 },
774 {
775 MethodName: "UpdateBusinessIdentity",
776 Handler: _BusinessIdentityService_UpdateBusinessIdentity_Handler,
777 },
778 },
779 Streams: []grpc.StreamDesc{},
780 Metadata: "google/shopping/merchant/accounts/v1beta/businessidentity.proto",
781 }