| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
package accountspb |
| 22 |
|
| 23 |
import ( |
| 24 |
context "context" |
| 25 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 26 |
phone_number "google.golang.org/genproto/googleapis/type/phone_number" |
| 27 |
postaladdress "google.golang.org/genproto/googleapis/type/postaladdress" |
| 28 |
grpc "google.golang.org/grpc" |
| 29 |
codes "google.golang.org/grpc/codes" |
| 30 |
status "google.golang.org/grpc/status" |
| 31 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 32 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 33 |
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" |
| 34 |
reflect "reflect" |
| 35 |
sync "sync" |
| 36 |
) |
| 37 |
|
| 38 |
const ( |
| 39 |
|
| 40 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 41 |
|
| 42 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 43 |
) |
| 44 |
|
| 45 |
|
| 46 |
type BusinessInfo struct { |
| 47 |
state protoimpl.MessageState |
| 48 |
sizeCache protoimpl.SizeCache |
| 49 |
unknownFields protoimpl.UnknownFields |
| 50 |
|
| 51 |
|
| 52 |
|
| 53 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 54 |
|
| 55 |
Address *postaladdress.PostalAddress `protobuf:"bytes,2,opt,name=address,proto3,oneof" json:"address,omitempty"` |
| 56 |
|
| 57 |
Phone *phone_number.PhoneNumber `protobuf:"bytes,3,opt,name=phone,proto3,oneof" json:"phone,omitempty"` |
| 58 |
|
| 59 |
PhoneVerificationState *PhoneVerificationState `protobuf:"varint,4,opt,name=phone_verification_state,json=phoneVerificationState,proto3,enum=google.shopping.merchant.accounts.v1beta.PhoneVerificationState,oneof" json:"phone_verification_state,omitempty"` |
| 60 |
|
| 61 |
CustomerService *CustomerService `protobuf:"bytes,5,opt,name=customer_service,json=customerService,proto3,oneof" json:"customer_service,omitempty"` |
| 62 |
|
| 63 |
|
| 64 |
|
| 65 |
KoreanBusinessRegistrationNumber *string `protobuf:"bytes,6,opt,name=korean_business_registration_number,json=koreanBusinessRegistrationNumber,proto3,oneof" json:"korean_business_registration_number,omitempty"` |
| 66 |
} |
| 67 |
|
| 68 |
func (x *BusinessInfo) Reset() { |
| 69 |
*x = BusinessInfo{} |
| 70 |
mi := &file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_msgTypes[0] |
| 71 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 72 |
ms.StoreMessageInfo(mi) |
| 73 |
} |
| 74 |
|
| 75 |
func (x *BusinessInfo) String() string { |
| 76 |
return protoimpl.X.MessageStringOf(x) |
| 77 |
} |
| 78 |
|
| 79 |
func (*BusinessInfo) ProtoMessage() {} |
| 80 |
|
| 81 |
func (x *BusinessInfo) ProtoReflect() protoreflect.Message { |
| 82 |
mi := &file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_msgTypes[0] |
| 83 |
if x != nil { |
| 84 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 85 |
if ms.LoadMessageInfo() == nil { |
| 86 |
ms.StoreMessageInfo(mi) |
| 87 |
} |
| 88 |
return ms |
| 89 |
} |
| 90 |
return mi.MessageOf(x) |
| 91 |
} |
| 92 |
|
| 93 |
|
| 94 |
func (*BusinessInfo) Descriptor() ([]byte, []int) { |
| 95 |
return file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_rawDescGZIP(), []int{0} |
| 96 |
} |
| 97 |
|
| 98 |
func (x *BusinessInfo) GetName() string { |
| 99 |
if x != nil { |
| 100 |
return x.Name |
| 101 |
} |
| 102 |
return "" |
| 103 |
} |
| 104 |
|
| 105 |
func (x *BusinessInfo) GetAddress() *postaladdress.PostalAddress { |
| 106 |
if x != nil { |
| 107 |
return x.Address |
| 108 |
} |
| 109 |
return nil |
| 110 |
} |
| 111 |
|
| 112 |
func (x *BusinessInfo) GetPhone() *phone_number.PhoneNumber { |
| 113 |
if x != nil { |
| 114 |
return x.Phone |
| 115 |
} |
| 116 |
return nil |
| 117 |
} |
| 118 |
|
| 119 |
func (x *BusinessInfo) GetPhoneVerificationState() PhoneVerificationState { |
| 120 |
if x != nil && x.PhoneVerificationState != nil { |
| 121 |
return *x.PhoneVerificationState |
| 122 |
} |
| 123 |
return PhoneVerificationState_PHONE_VERIFICATION_STATE_UNSPECIFIED |
| 124 |
} |
| 125 |
|
| 126 |
func (x *BusinessInfo) GetCustomerService() *CustomerService { |
| 127 |
if x != nil { |
| 128 |
return x.CustomerService |
| 129 |
} |
| 130 |
return nil |
| 131 |
} |
| 132 |
|
| 133 |
func (x *BusinessInfo) GetKoreanBusinessRegistrationNumber() string { |
| 134 |
if x != nil && x.KoreanBusinessRegistrationNumber != nil { |
| 135 |
return *x.KoreanBusinessRegistrationNumber |
| 136 |
} |
| 137 |
return "" |
| 138 |
} |
| 139 |
|
| 140 |
|
| 141 |
type GetBusinessInfoRequest struct { |
| 142 |
state protoimpl.MessageState |
| 143 |
sizeCache protoimpl.SizeCache |
| 144 |
unknownFields protoimpl.UnknownFields |
| 145 |
|
| 146 |
|
| 147 |
|
| 148 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 149 |
} |
| 150 |
|
| 151 |
func (x *GetBusinessInfoRequest) Reset() { |
| 152 |
*x = GetBusinessInfoRequest{} |
| 153 |
mi := &file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_msgTypes[1] |
| 154 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 155 |
ms.StoreMessageInfo(mi) |
| 156 |
} |
| 157 |
|
| 158 |
func (x *GetBusinessInfoRequest) String() string { |
| 159 |
return protoimpl.X.MessageStringOf(x) |
| 160 |
} |
| 161 |
|
| 162 |
func (*GetBusinessInfoRequest) ProtoMessage() {} |
| 163 |
|
| 164 |
func (x *GetBusinessInfoRequest) ProtoReflect() protoreflect.Message { |
| 165 |
mi := &file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_msgTypes[1] |
| 166 |
if x != nil { |
| 167 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 168 |
if ms.LoadMessageInfo() == nil { |
| 169 |
ms.StoreMessageInfo(mi) |
| 170 |
} |
| 171 |
return ms |
| 172 |
} |
| 173 |
return mi.MessageOf(x) |
| 174 |
} |
| 175 |
|
| 176 |
|
| 177 |
func (*GetBusinessInfoRequest) Descriptor() ([]byte, []int) { |
| 178 |
return file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_rawDescGZIP(), []int{1} |
| 179 |
} |
| 180 |
|
| 181 |
func (x *GetBusinessInfoRequest) GetName() string { |
| 182 |
if x != nil { |
| 183 |
return x.Name |
| 184 |
} |
| 185 |
return "" |
| 186 |
} |
| 187 |
|
| 188 |
|
| 189 |
type UpdateBusinessInfoRequest struct { |
| 190 |
state protoimpl.MessageState |
| 191 |
sizeCache protoimpl.SizeCache |
| 192 |
unknownFields protoimpl.UnknownFields |
| 193 |
|
| 194 |
|
| 195 |
BusinessInfo *BusinessInfo `protobuf:"bytes,1,opt,name=business_info,json=businessInfo,proto3" json:"business_info,omitempty"` |
| 196 |
|
| 197 |
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` |
| 198 |
} |
| 199 |
|
| 200 |
func (x *UpdateBusinessInfoRequest) Reset() { |
| 201 |
*x = UpdateBusinessInfoRequest{} |
| 202 |
mi := &file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_msgTypes[2] |
| 203 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 204 |
ms.StoreMessageInfo(mi) |
| 205 |
} |
| 206 |
|
| 207 |
func (x *UpdateBusinessInfoRequest) String() string { |
| 208 |
return protoimpl.X.MessageStringOf(x) |
| 209 |
} |
| 210 |
|
| 211 |
func (*UpdateBusinessInfoRequest) ProtoMessage() {} |
| 212 |
|
| 213 |
func (x *UpdateBusinessInfoRequest) ProtoReflect() protoreflect.Message { |
| 214 |
mi := &file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_msgTypes[2] |
| 215 |
if x != nil { |
| 216 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 217 |
if ms.LoadMessageInfo() == nil { |
| 218 |
ms.StoreMessageInfo(mi) |
| 219 |
} |
| 220 |
return ms |
| 221 |
} |
| 222 |
return mi.MessageOf(x) |
| 223 |
} |
| 224 |
|
| 225 |
|
| 226 |
func (*UpdateBusinessInfoRequest) Descriptor() ([]byte, []int) { |
| 227 |
return file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_rawDescGZIP(), []int{2} |
| 228 |
} |
| 229 |
|
| 230 |
func (x *UpdateBusinessInfoRequest) GetBusinessInfo() *BusinessInfo { |
| 231 |
if x != nil { |
| 232 |
return x.BusinessInfo |
| 233 |
} |
| 234 |
return nil |
| 235 |
} |
| 236 |
|
| 237 |
func (x *UpdateBusinessInfoRequest) GetUpdateMask() *fieldmaskpb.FieldMask { |
| 238 |
if x != nil { |
| 239 |
return x.UpdateMask |
| 240 |
} |
| 241 |
return nil |
| 242 |
} |
| 243 |
|
| 244 |
var File_google_shopping_merchant_accounts_v1beta_businessinfo_proto protoreflect.FileDescriptor |
| 245 |
|
| 246 |
var file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_rawDesc = []byte{ |
| 247 |
0x0a, 0x3b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, |
| 248 |
0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, |
| 249 |
0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x62, 0x75, 0x73, 0x69, 0x6e, |
| 250 |
0x65, 0x73, 0x73, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x28, 0x67, |
| 251 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, |
| 252 |
0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, |
| 253 |
0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, |
| 254 |
0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, |
| 255 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, |
| 256 |
0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, |
| 257 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, |
| 258 |
0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, |
| 259 |
0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, |
| 260 |
0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, |
| 261 |
0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, |
| 262 |
0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3e, 0x67, 0x6f, |
| 263 |
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, |
| 264 |
0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, |
| 265 |
0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x73, |
| 266 |
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x45, 0x67, 0x6f, |
| 267 |
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, |
| 268 |
0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, |
| 269 |
0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x76, 0x65, 0x72, 0x69, |
| 270 |
0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, |
| 271 |
0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, |
| 272 |
0x2f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x2e, 0x70, 0x72, |
| 273 |
0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, |
| 274 |
0x2f, 0x70, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, |
| 275 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcd, 0x05, 0x0a, 0x0c, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, |
| 276 |
0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, |
| 277 |
0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, |
| 278 |
0x3e, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, |
| 279 |
0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x50, |
| 280 |
0x6f, 0x73, 0x74, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x03, 0xe0, 0x41, |
| 281 |
0x01, 0x48, 0x00, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x88, 0x01, 0x01, 0x12, |
| 282 |
0x38, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, |
| 283 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x50, 0x68, 0x6f, |
| 284 |
0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x48, 0x01, 0x52, |
| 285 |
0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x88, 0x01, 0x01, 0x12, 0x84, 0x01, 0x0a, 0x18, 0x70, 0x68, |
| 286 |
0x6f, 0x6e, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 287 |
0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x40, 0x2e, 0x67, |
| 288 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, |
| 289 |
0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, |
| 290 |
0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x56, 0x65, 0x72, |
| 291 |
0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, |
| 292 |
0xe0, 0x41, 0x03, 0x48, 0x02, 0x52, 0x16, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x56, 0x65, 0x72, 0x69, |
| 293 |
0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x88, 0x01, 0x01, |
| 294 |
0x12, 0x6e, 0x0a, 0x10, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, |
| 295 |
0x76, 0x69, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, |
| 296 |
0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, |
| 297 |
0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, |
| 298 |
0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x53, 0x65, |
| 299 |
0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x03, 0x52, 0x0f, 0x63, 0x75, |
| 300 |
0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x88, 0x01, 0x01, |
| 301 |
0x12, 0x57, 0x0a, 0x23, 0x6b, 0x6f, 0x72, 0x65, 0x61, 0x6e, 0x5f, 0x62, 0x75, 0x73, 0x69, 0x6e, |
| 302 |
0x65, 0x73, 0x73, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 303 |
0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, |
| 304 |
0x41, 0x01, 0x48, 0x04, 0x52, 0x20, 0x6b, 0x6f, 0x72, 0x65, 0x61, 0x6e, 0x42, 0x75, 0x73, 0x69, |
| 305 |
0x6e, 0x65, 0x73, 0x73, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 306 |
0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x88, 0x01, 0x01, 0x3a, 0x6a, 0xea, 0x41, 0x67, 0x0a, 0x27, |
| 307 |
0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 308 |
0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x75, 0x73, 0x69, 0x6e, |
| 309 |
0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, |
| 310 |
0x73, 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x2f, 0x62, 0x75, 0x73, 0x69, |
| 311 |
0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2a, 0x0d, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, |
| 312 |
0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x32, 0x0c, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, |
| 313 |
0x73, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, |
| 314 |
0x73, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x42, 0x1b, 0x0a, 0x19, 0x5f, |
| 315 |
0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, |
| 316 |
0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x63, 0x75, 0x73, |
| 317 |
0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x26, 0x0a, |
| 318 |
0x24, 0x5f, 0x6b, 0x6f, 0x72, 0x65, 0x61, 0x6e, 0x5f, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, |
| 319 |
0x73, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, |
| 320 |
0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x5d, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x42, 0x75, 0x73, 0x69, |
| 321 |
0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, |
| 322 |
0x43, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, 0xe0, |
| 323 |
0x41, 0x02, 0xfa, 0x41, 0x29, 0x0a, 0x27, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, |
| 324 |
0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, |
| 325 |
0x6d, 0x2f, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, |
| 326 |
0x6e, 0x61, 0x6d, 0x65, 0x22, 0xbf, 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, |
| 327 |
0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, |
| 328 |
0x73, 0x74, 0x12, 0x60, 0x0a, 0x0d, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x69, |
| 329 |
0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 330 |
0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, |
| 331 |
0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, |
| 332 |
0x62, 0x65, 0x74, 0x61, 0x2e, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, |
| 333 |
0x6f, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, |
| 334 |
0x49, 0x6e, 0x66, 0x6f, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, |
| 335 |
0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 336 |
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, |
| 337 |
0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, |
| 338 |
0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x32, 0xb2, 0x04, 0x0a, 0x13, 0x42, 0x75, 0x73, 0x69, 0x6e, |
| 339 |
0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xcb, |
| 340 |
0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, |
| 341 |
0x66, 0x6f, 0x12, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, |
| 342 |
0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, |
| 343 |
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x47, 0x65, |
| 344 |
0x74, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, |
| 345 |
0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, |
| 346 |
0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, |
| 347 |
0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, |
| 348 |
0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x3e, 0xda, 0x41, |
| 349 |
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x12, 0x2f, 0x2f, 0x61, 0x63, |
| 350 |
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x6e, |
| 351 |
0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x62, |
| 352 |
0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x7d, 0x12, 0x83, 0x02, 0x0a, |
| 353 |
0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, |
| 354 |
0x6e, 0x66, 0x6f, 0x12, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, |
| 355 |
0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, |
| 356 |
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x55, |
| 357 |
0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, |
| 358 |
0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 359 |
0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, |
| 360 |
0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, |
| 361 |
0x65, 0x74, 0x61, 0x2e, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, |
| 362 |
0x22, 0x70, 0xda, 0x41, 0x19, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x6e, |
| 363 |
0x66, 0x6f, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, |
| 364 |
0xe4, 0x93, 0x02, 0x4e, 0x3a, 0x0d, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x69, |
| 365 |
0x6e, 0x66, 0x6f, 0x32, 0x3d, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, |
| 366 |
0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x5f, |
| 367 |
0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, |
| 368 |
0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, |
| 369 |
0x6f, 0x7d, 0x1a, 0x47, 0xca, 0x41, 0x1a, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, |
| 370 |
0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, |
| 371 |
0x6d, 0xd2, 0x41, 0x27, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, |
| 372 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, |
| 373 |
0x75, 0x74, 0x68, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x93, 0x01, 0x0a, 0x2c, |
| 374 |
0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, |
| 375 |
0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, |
| 376 |
0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x42, 0x11, 0x42, 0x75, |
| 377 |
0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, |
| 378 |
0x01, 0x5a, 0x4e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 379 |
0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, |
| 380 |
0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, |
| 381 |
0x73, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x61, 0x63, 0x63, 0x6f, |
| 382 |
0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, |
| 383 |
0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 384 |
} |
| 385 |
|
| 386 |
var ( |
| 387 |
file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_rawDescOnce sync.Once |
| 388 |
file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_rawDescData = file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_rawDesc |
| 389 |
) |
| 390 |
|
| 391 |
func file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_rawDescGZIP() []byte { |
| 392 |
file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_rawDescOnce.Do(func() { |
| 393 |
file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_rawDescData) |
| 394 |
}) |
| 395 |
return file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_rawDescData |
| 396 |
} |
| 397 |
|
| 398 |
var file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_msgTypes = make([]protoimpl.MessageInfo, 3) |
| 399 |
var file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_goTypes = []any{ |
| 400 |
(*BusinessInfo)(nil), |
| 401 |
(*GetBusinessInfoRequest)(nil), |
| 402 |
(*UpdateBusinessInfoRequest)(nil), |
| 403 |
(*postaladdress.PostalAddress)(nil), |
| 404 |
(*phone_number.PhoneNumber)(nil), |
| 405 |
(PhoneVerificationState)(0), |
| 406 |
(*CustomerService)(nil), |
| 407 |
(*fieldmaskpb.FieldMask)(nil), |
| 408 |
} |
| 409 |
var file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_depIdxs = []int32{ |
| 410 |
3, |
| 411 |
4, |
| 412 |
5, |
| 413 |
6, |
| 414 |
0, |
| 415 |
7, |
| 416 |
1, |
| 417 |
2, |
| 418 |
0, |
| 419 |
0, |
| 420 |
8, |
| 421 |
6, |
| 422 |
6, |
| 423 |
6, |
| 424 |
0, |
| 425 |
} |
| 426 |
|
| 427 |
func init() { file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_init() } |
| 428 |
func file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_init() { |
| 429 |
if File_google_shopping_merchant_accounts_v1beta_businessinfo_proto != nil { |
| 430 |
return |
| 431 |
} |
| 432 |
file_google_shopping_merchant_accounts_v1beta_customerservice_proto_init() |
| 433 |
file_google_shopping_merchant_accounts_v1beta_phoneverificationstate_proto_init() |
| 434 |
file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_msgTypes[0].OneofWrappers = []any{} |
| 435 |
type x struct{} |
| 436 |
out := protoimpl.TypeBuilder{ |
| 437 |
File: protoimpl.DescBuilder{ |
| 438 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 439 |
RawDescriptor: file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_rawDesc, |
| 440 |
NumEnums: 0, |
| 441 |
NumMessages: 3, |
| 442 |
NumExtensions: 0, |
| 443 |
NumServices: 1, |
| 444 |
}, |
| 445 |
GoTypes: file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_goTypes, |
| 446 |
DependencyIndexes: file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_depIdxs, |
| 447 |
MessageInfos: file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_msgTypes, |
| 448 |
}.Build() |
| 449 |
File_google_shopping_merchant_accounts_v1beta_businessinfo_proto = out.File |
| 450 |
file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_rawDesc = nil |
| 451 |
file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_goTypes = nil |
| 452 |
file_google_shopping_merchant_accounts_v1beta_businessinfo_proto_depIdxs = nil |
| 453 |
} |
| 454 |
|
| 455 |
|
| 456 |
var _ context.Context |
| 457 |
var _ grpc.ClientConnInterface |
| 458 |
|
| 459 |
|
| 460 |
|
| 461 |
const _ = grpc.SupportPackageIsVersion6 |
| 462 |
|
| 463 |
|
| 464 |
|
| 465 |
|
| 466 |
type BusinessInfoServiceClient interface { |
| 467 |
|
| 468 |
GetBusinessInfo(ctx context.Context, in *GetBusinessInfoRequest, opts ...grpc.CallOption) (*BusinessInfo, error) |
| 469 |
|
| 470 |
|
| 471 |
UpdateBusinessInfo(ctx context.Context, in *UpdateBusinessInfoRequest, opts ...grpc.CallOption) (*BusinessInfo, error) |
| 472 |
} |
| 473 |
|
| 474 |
type businessInfoServiceClient struct { |
| 475 |
cc grpc.ClientConnInterface |
| 476 |
} |
| 477 |
|
| 478 |
func NewBusinessInfoServiceClient(cc grpc.ClientConnInterface) BusinessInfoServiceClient { |
| 479 |
return &businessInfoServiceClient{cc} |
| 480 |
} |
| 481 |
|
| 482 |
func (c *businessInfoServiceClient) GetBusinessInfo(ctx context.Context, in *GetBusinessInfoRequest, opts ...grpc.CallOption) (*BusinessInfo, error) { |
| 483 |
out := new(BusinessInfo) |
| 484 |
err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1beta.BusinessInfoService/GetBusinessInfo", in, out, opts...) |
| 485 |
if err != nil { |
| 486 |
return nil, err |
| 487 |
} |
| 488 |
return out, nil |
| 489 |
} |
| 490 |
|
| 491 |
func (c *businessInfoServiceClient) UpdateBusinessInfo(ctx context.Context, in *UpdateBusinessInfoRequest, opts ...grpc.CallOption) (*BusinessInfo, error) { |
| 492 |
out := new(BusinessInfo) |
| 493 |
err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1beta.BusinessInfoService/UpdateBusinessInfo", in, out, opts...) |
| 494 |
if err != nil { |
| 495 |
return nil, err |
| 496 |
} |
| 497 |
return out, nil |
| 498 |
} |
| 499 |
|
| 500 |
|
| 501 |
type BusinessInfoServiceServer interface { |
| 502 |
|
| 503 |
GetBusinessInfo(context.Context, *GetBusinessInfoRequest) (*BusinessInfo, error) |
| 504 |
|
| 505 |
|
| 506 |
UpdateBusinessInfo(context.Context, *UpdateBusinessInfoRequest) (*BusinessInfo, error) |
| 507 |
} |
| 508 |
|
| 509 |
|
| 510 |
type UnimplementedBusinessInfoServiceServer struct { |
| 511 |
} |
| 512 |
|
| 513 |
func (*UnimplementedBusinessInfoServiceServer) GetBusinessInfo(context.Context, *GetBusinessInfoRequest) (*BusinessInfo, error) { |
| 514 |
return nil, status.Errorf(codes.Unimplemented, "method GetBusinessInfo not implemented") |
| 515 |
} |
| 516 |
func (*UnimplementedBusinessInfoServiceServer) UpdateBusinessInfo(context.Context, *UpdateBusinessInfoRequest) (*BusinessInfo, error) { |
| 517 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateBusinessInfo not implemented") |
| 518 |
} |
| 519 |
|
| 520 |
func RegisterBusinessInfoServiceServer(s *grpc.Server, srv BusinessInfoServiceServer) { |
| 521 |
s.RegisterService(&_BusinessInfoService_serviceDesc, srv) |
| 522 |
} |
| 523 |
|
| 524 |
func _BusinessInfoService_GetBusinessInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 525 |
in := new(GetBusinessInfoRequest) |
| 526 |
if err := dec(in); err != nil { |
| 527 |
return nil, err |
| 528 |
} |
| 529 |
if interceptor == nil { |
| 530 |
return srv.(BusinessInfoServiceServer).GetBusinessInfo(ctx, in) |
| 531 |
} |
| 532 |
info := &grpc.UnaryServerInfo{ |
| 533 |
Server: srv, |
| 534 |
FullMethod: "/google.shopping.merchant.accounts.v1beta.BusinessInfoService/GetBusinessInfo", |
| 535 |
} |
| 536 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 537 |
return srv.(BusinessInfoServiceServer).GetBusinessInfo(ctx, req.(*GetBusinessInfoRequest)) |
| 538 |
} |
| 539 |
return interceptor(ctx, in, info, handler) |
| 540 |
} |
| 541 |
|
| 542 |
func _BusinessInfoService_UpdateBusinessInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 543 |
in := new(UpdateBusinessInfoRequest) |
| 544 |
if err := dec(in); err != nil { |
| 545 |
return nil, err |
| 546 |
} |
| 547 |
if interceptor == nil { |
| 548 |
return srv.(BusinessInfoServiceServer).UpdateBusinessInfo(ctx, in) |
| 549 |
} |
| 550 |
info := &grpc.UnaryServerInfo{ |
| 551 |
Server: srv, |
| 552 |
FullMethod: "/google.shopping.merchant.accounts.v1beta.BusinessInfoService/UpdateBusinessInfo", |
| 553 |
} |
| 554 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 555 |
return srv.(BusinessInfoServiceServer).UpdateBusinessInfo(ctx, req.(*UpdateBusinessInfoRequest)) |
| 556 |
} |
| 557 |
return interceptor(ctx, in, info, handler) |
| 558 |
} |
| 559 |
|
| 560 |
var _BusinessInfoService_serviceDesc = grpc.ServiceDesc{ |
| 561 |
ServiceName: "google.shopping.merchant.accounts.v1beta.BusinessInfoService", |
| 562 |
HandlerType: (*BusinessInfoServiceServer)(nil), |
| 563 |
Methods: []grpc.MethodDesc{ |
| 564 |
{ |
| 565 |
MethodName: "GetBusinessInfo", |
| 566 |
Handler: _BusinessInfoService_GetBusinessInfo_Handler, |
| 567 |
}, |
| 568 |
{ |
| 569 |
MethodName: "UpdateBusinessInfo", |
| 570 |
Handler: _BusinessInfoService_UpdateBusinessInfo_Handler, |
| 571 |
}, |
| 572 |
}, |
| 573 |
Streams: []grpc.StreamDesc{}, |
| 574 |
Metadata: "google/shopping/merchant/accounts/v1beta/businessinfo.proto", |
| 575 |
} |