| 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 |
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 |
|
| 38 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 39 |
|
| 40 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 41 |
) |
| 42 |
|
| 43 |
|
| 44 |
type AccountTax struct { |
| 45 |
state protoimpl.MessageState |
| 46 |
sizeCache protoimpl.SizeCache |
| 47 |
unknownFields protoimpl.UnknownFields |
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 53 |
|
| 54 |
|
| 55 |
Account int64 `protobuf:"varint,2,opt,name=account,proto3" json:"account,omitempty"` |
| 56 |
|
| 57 |
|
| 58 |
TaxRules []*TaxRule `protobuf:"bytes,3,rep,name=tax_rules,json=taxRules,proto3" json:"tax_rules,omitempty"` |
| 59 |
} |
| 60 |
|
| 61 |
func (x *AccountTax) Reset() { |
| 62 |
*x = AccountTax{} |
| 63 |
mi := &file_google_shopping_merchant_accounts_v1beta_account_tax_proto_msgTypes[0] |
| 64 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 65 |
ms.StoreMessageInfo(mi) |
| 66 |
} |
| 67 |
|
| 68 |
func (x *AccountTax) String() string { |
| 69 |
return protoimpl.X.MessageStringOf(x) |
| 70 |
} |
| 71 |
|
| 72 |
func (*AccountTax) ProtoMessage() {} |
| 73 |
|
| 74 |
func (x *AccountTax) ProtoReflect() protoreflect.Message { |
| 75 |
mi := &file_google_shopping_merchant_accounts_v1beta_account_tax_proto_msgTypes[0] |
| 76 |
if x != nil { |
| 77 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 78 |
if ms.LoadMessageInfo() == nil { |
| 79 |
ms.StoreMessageInfo(mi) |
| 80 |
} |
| 81 |
return ms |
| 82 |
} |
| 83 |
return mi.MessageOf(x) |
| 84 |
} |
| 85 |
|
| 86 |
|
| 87 |
func (*AccountTax) Descriptor() ([]byte, []int) { |
| 88 |
return file_google_shopping_merchant_accounts_v1beta_account_tax_proto_rawDescGZIP(), []int{0} |
| 89 |
} |
| 90 |
|
| 91 |
func (x *AccountTax) GetName() string { |
| 92 |
if x != nil { |
| 93 |
return x.Name |
| 94 |
} |
| 95 |
return "" |
| 96 |
} |
| 97 |
|
| 98 |
func (x *AccountTax) GetAccount() int64 { |
| 99 |
if x != nil { |
| 100 |
return x.Account |
| 101 |
} |
| 102 |
return 0 |
| 103 |
} |
| 104 |
|
| 105 |
func (x *AccountTax) GetTaxRules() []*TaxRule { |
| 106 |
if x != nil { |
| 107 |
return x.TaxRules |
| 108 |
} |
| 109 |
return nil |
| 110 |
} |
| 111 |
|
| 112 |
|
| 113 |
type GetAccountTaxRequest struct { |
| 114 |
state protoimpl.MessageState |
| 115 |
sizeCache protoimpl.SizeCache |
| 116 |
unknownFields protoimpl.UnknownFields |
| 117 |
|
| 118 |
|
| 119 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 120 |
} |
| 121 |
|
| 122 |
func (x *GetAccountTaxRequest) Reset() { |
| 123 |
*x = GetAccountTaxRequest{} |
| 124 |
mi := &file_google_shopping_merchant_accounts_v1beta_account_tax_proto_msgTypes[1] |
| 125 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 126 |
ms.StoreMessageInfo(mi) |
| 127 |
} |
| 128 |
|
| 129 |
func (x *GetAccountTaxRequest) String() string { |
| 130 |
return protoimpl.X.MessageStringOf(x) |
| 131 |
} |
| 132 |
|
| 133 |
func (*GetAccountTaxRequest) ProtoMessage() {} |
| 134 |
|
| 135 |
func (x *GetAccountTaxRequest) ProtoReflect() protoreflect.Message { |
| 136 |
mi := &file_google_shopping_merchant_accounts_v1beta_account_tax_proto_msgTypes[1] |
| 137 |
if x != nil { |
| 138 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 139 |
if ms.LoadMessageInfo() == nil { |
| 140 |
ms.StoreMessageInfo(mi) |
| 141 |
} |
| 142 |
return ms |
| 143 |
} |
| 144 |
return mi.MessageOf(x) |
| 145 |
} |
| 146 |
|
| 147 |
|
| 148 |
func (*GetAccountTaxRequest) Descriptor() ([]byte, []int) { |
| 149 |
return file_google_shopping_merchant_accounts_v1beta_account_tax_proto_rawDescGZIP(), []int{1} |
| 150 |
} |
| 151 |
|
| 152 |
func (x *GetAccountTaxRequest) GetName() string { |
| 153 |
if x != nil { |
| 154 |
return x.Name |
| 155 |
} |
| 156 |
return "" |
| 157 |
} |
| 158 |
|
| 159 |
|
| 160 |
type UpdateAccountTaxRequest struct { |
| 161 |
state protoimpl.MessageState |
| 162 |
sizeCache protoimpl.SizeCache |
| 163 |
unknownFields protoimpl.UnknownFields |
| 164 |
|
| 165 |
|
| 166 |
AccountTax *AccountTax `protobuf:"bytes,1,opt,name=account_tax,json=accountTax,proto3" json:"account_tax,omitempty"` |
| 167 |
|
| 168 |
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` |
| 169 |
} |
| 170 |
|
| 171 |
func (x *UpdateAccountTaxRequest) Reset() { |
| 172 |
*x = UpdateAccountTaxRequest{} |
| 173 |
mi := &file_google_shopping_merchant_accounts_v1beta_account_tax_proto_msgTypes[2] |
| 174 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 175 |
ms.StoreMessageInfo(mi) |
| 176 |
} |
| 177 |
|
| 178 |
func (x *UpdateAccountTaxRequest) String() string { |
| 179 |
return protoimpl.X.MessageStringOf(x) |
| 180 |
} |
| 181 |
|
| 182 |
func (*UpdateAccountTaxRequest) ProtoMessage() {} |
| 183 |
|
| 184 |
func (x *UpdateAccountTaxRequest) ProtoReflect() protoreflect.Message { |
| 185 |
mi := &file_google_shopping_merchant_accounts_v1beta_account_tax_proto_msgTypes[2] |
| 186 |
if x != nil { |
| 187 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 188 |
if ms.LoadMessageInfo() == nil { |
| 189 |
ms.StoreMessageInfo(mi) |
| 190 |
} |
| 191 |
return ms |
| 192 |
} |
| 193 |
return mi.MessageOf(x) |
| 194 |
} |
| 195 |
|
| 196 |
|
| 197 |
func (*UpdateAccountTaxRequest) Descriptor() ([]byte, []int) { |
| 198 |
return file_google_shopping_merchant_accounts_v1beta_account_tax_proto_rawDescGZIP(), []int{2} |
| 199 |
} |
| 200 |
|
| 201 |
func (x *UpdateAccountTaxRequest) GetAccountTax() *AccountTax { |
| 202 |
if x != nil { |
| 203 |
return x.AccountTax |
| 204 |
} |
| 205 |
return nil |
| 206 |
} |
| 207 |
|
| 208 |
func (x *UpdateAccountTaxRequest) GetUpdateMask() *fieldmaskpb.FieldMask { |
| 209 |
if x != nil { |
| 210 |
return x.UpdateMask |
| 211 |
} |
| 212 |
return nil |
| 213 |
} |
| 214 |
|
| 215 |
|
| 216 |
|
| 217 |
|
| 218 |
type ListAccountTaxRequest struct { |
| 219 |
state protoimpl.MessageState |
| 220 |
sizeCache protoimpl.SizeCache |
| 221 |
unknownFields protoimpl.UnknownFields |
| 222 |
|
| 223 |
|
| 224 |
|
| 225 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 226 |
|
| 227 |
|
| 228 |
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| 229 |
|
| 230 |
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| 231 |
} |
| 232 |
|
| 233 |
func (x *ListAccountTaxRequest) Reset() { |
| 234 |
*x = ListAccountTaxRequest{} |
| 235 |
mi := &file_google_shopping_merchant_accounts_v1beta_account_tax_proto_msgTypes[3] |
| 236 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 237 |
ms.StoreMessageInfo(mi) |
| 238 |
} |
| 239 |
|
| 240 |
func (x *ListAccountTaxRequest) String() string { |
| 241 |
return protoimpl.X.MessageStringOf(x) |
| 242 |
} |
| 243 |
|
| 244 |
func (*ListAccountTaxRequest) ProtoMessage() {} |
| 245 |
|
| 246 |
func (x *ListAccountTaxRequest) ProtoReflect() protoreflect.Message { |
| 247 |
mi := &file_google_shopping_merchant_accounts_v1beta_account_tax_proto_msgTypes[3] |
| 248 |
if x != nil { |
| 249 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 250 |
if ms.LoadMessageInfo() == nil { |
| 251 |
ms.StoreMessageInfo(mi) |
| 252 |
} |
| 253 |
return ms |
| 254 |
} |
| 255 |
return mi.MessageOf(x) |
| 256 |
} |
| 257 |
|
| 258 |
|
| 259 |
func (*ListAccountTaxRequest) Descriptor() ([]byte, []int) { |
| 260 |
return file_google_shopping_merchant_accounts_v1beta_account_tax_proto_rawDescGZIP(), []int{3} |
| 261 |
} |
| 262 |
|
| 263 |
func (x *ListAccountTaxRequest) GetParent() string { |
| 264 |
if x != nil { |
| 265 |
return x.Parent |
| 266 |
} |
| 267 |
return "" |
| 268 |
} |
| 269 |
|
| 270 |
func (x *ListAccountTaxRequest) GetPageSize() int32 { |
| 271 |
if x != nil { |
| 272 |
return x.PageSize |
| 273 |
} |
| 274 |
return 0 |
| 275 |
} |
| 276 |
|
| 277 |
func (x *ListAccountTaxRequest) GetPageToken() string { |
| 278 |
if x != nil { |
| 279 |
return x.PageToken |
| 280 |
} |
| 281 |
return "" |
| 282 |
} |
| 283 |
|
| 284 |
|
| 285 |
|
| 286 |
|
| 287 |
type ListAccountTaxResponse struct { |
| 288 |
state protoimpl.MessageState |
| 289 |
sizeCache protoimpl.SizeCache |
| 290 |
unknownFields protoimpl.UnknownFields |
| 291 |
|
| 292 |
|
| 293 |
AccountTaxes []*AccountTax `protobuf:"bytes,1,rep,name=account_taxes,json=accountTaxes,proto3" json:"account_taxes,omitempty"` |
| 294 |
|
| 295 |
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| 296 |
} |
| 297 |
|
| 298 |
func (x *ListAccountTaxResponse) Reset() { |
| 299 |
*x = ListAccountTaxResponse{} |
| 300 |
mi := &file_google_shopping_merchant_accounts_v1beta_account_tax_proto_msgTypes[4] |
| 301 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 302 |
ms.StoreMessageInfo(mi) |
| 303 |
} |
| 304 |
|
| 305 |
func (x *ListAccountTaxResponse) String() string { |
| 306 |
return protoimpl.X.MessageStringOf(x) |
| 307 |
} |
| 308 |
|
| 309 |
func (*ListAccountTaxResponse) ProtoMessage() {} |
| 310 |
|
| 311 |
func (x *ListAccountTaxResponse) ProtoReflect() protoreflect.Message { |
| 312 |
mi := &file_google_shopping_merchant_accounts_v1beta_account_tax_proto_msgTypes[4] |
| 313 |
if x != nil { |
| 314 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 315 |
if ms.LoadMessageInfo() == nil { |
| 316 |
ms.StoreMessageInfo(mi) |
| 317 |
} |
| 318 |
return ms |
| 319 |
} |
| 320 |
return mi.MessageOf(x) |
| 321 |
} |
| 322 |
|
| 323 |
|
| 324 |
func (*ListAccountTaxResponse) Descriptor() ([]byte, []int) { |
| 325 |
return file_google_shopping_merchant_accounts_v1beta_account_tax_proto_rawDescGZIP(), []int{4} |
| 326 |
} |
| 327 |
|
| 328 |
func (x *ListAccountTaxResponse) GetAccountTaxes() []*AccountTax { |
| 329 |
if x != nil { |
| 330 |
return x.AccountTaxes |
| 331 |
} |
| 332 |
return nil |
| 333 |
} |
| 334 |
|
| 335 |
func (x *ListAccountTaxResponse) GetNextPageToken() string { |
| 336 |
if x != nil { |
| 337 |
return x.NextPageToken |
| 338 |
} |
| 339 |
return "" |
| 340 |
} |
| 341 |
|
| 342 |
var File_google_shopping_merchant_accounts_v1beta_account_tax_proto protoreflect.FileDescriptor |
| 343 |
|
| 344 |
var file_google_shopping_merchant_accounts_v1beta_account_tax_proto_rawDesc = []byte{ |
| 345 |
0x0a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, |
| 346 |
0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, |
| 347 |
0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, |
| 348 |
0x6e, 0x74, 0x5f, 0x74, 0x61, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x28, 0x67, 0x6f, |
| 349 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, |
| 350 |
0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, |
| 351 |
0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, |
| 352 |
0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, |
| 353 |
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, |
| 354 |
0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, |
| 355 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, |
| 356 |
0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, |
| 357 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, |
| 358 |
0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 359 |
0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, |
| 360 |
0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x37, 0x67, 0x6f, 0x6f, |
| 361 |
0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x72, |
| 362 |
0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, |
| 363 |
0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x74, 0x61, 0x78, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x70, |
| 364 |
0x72, 0x6f, 0x74, 0x6f, 0x22, 0xff, 0x01, 0x0a, 0x0a, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, |
| 365 |
0x54, 0x61, 0x78, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 366 |
0x09, 0x42, 0x03, 0xe0, 0x41, 0x08, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x07, |
| 367 |
0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, |
| 368 |
0x41, 0x03, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x4e, 0x0a, 0x09, 0x74, |
| 369 |
0x61, 0x78, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, |
| 370 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, |
| 371 |
0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, |
| 372 |
0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x78, 0x52, 0x75, 0x6c, |
| 373 |
0x65, 0x52, 0x08, 0x74, 0x61, 0x78, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x3a, 0x69, 0xea, 0x41, 0x66, |
| 374 |
0x0a, 0x25, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, |
| 375 |
0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x63, 0x63, |
| 376 |
0x6f, 0x75, 0x6e, 0x74, 0x54, 0x61, 0x78, 0x12, 0x23, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, |
| 377 |
0x73, 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x2f, 0x61, 0x63, 0x63, 0x6f, |
| 378 |
0x75, 0x6e, 0x74, 0x74, 0x61, 0x78, 0x2f, 0x7b, 0x74, 0x61, 0x78, 0x7d, 0x2a, 0x0c, 0x61, 0x63, |
| 379 |
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x61, 0x78, 0x65, 0x73, 0x32, 0x0a, 0x61, 0x63, 0x63, 0x6f, |
| 380 |
0x75, 0x6e, 0x74, 0x54, 0x61, 0x78, 0x22, 0x59, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, |
| 381 |
0x6f, 0x75, 0x6e, 0x74, 0x54, 0x61, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, |
| 382 |
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2d, 0xe0, 0x41, |
| 383 |
0x02, 0xfa, 0x41, 0x27, 0x0a, 0x25, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, |
| 384 |
0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, |
| 385 |
0x2f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x61, 0x78, 0x52, 0x04, 0x6e, 0x61, 0x6d, |
| 386 |
0x65, 0x22, 0xb2, 0x01, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, |
| 387 |
0x75, 0x6e, 0x74, 0x54, 0x61, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x5a, 0x0a, |
| 388 |
0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x74, 0x61, 0x78, 0x18, 0x01, 0x20, 0x01, |
| 389 |
0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, |
| 390 |
0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, |
| 391 |
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x63, |
| 392 |
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x61, 0x78, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x61, |
| 393 |
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x61, 0x78, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, |
| 394 |
0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, |
| 395 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, |
| 396 |
0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, |
| 397 |
0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x9a, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x41, |
| 398 |
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x61, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
| 399 |
0x12, 0x45, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| 400 |
0x42, 0x2d, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x27, 0x12, 0x25, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, |
| 401 |
0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, |
| 402 |
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x61, 0x78, 0x52, |
| 403 |
0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, |
| 404 |
0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, |
| 405 |
0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, |
| 406 |
0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, |
| 407 |
0x6b, 0x65, 0x6e, 0x22, 0x9b, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f, |
| 408 |
0x75, 0x6e, 0x74, 0x54, 0x61, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, |
| 409 |
0x0a, 0x0d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x74, 0x61, 0x78, 0x65, 0x73, 0x18, |
| 410 |
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, |
| 411 |
0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, |
| 412 |
0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, |
| 413 |
0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x61, 0x78, 0x52, 0x0c, 0x61, 0x63, 0x63, |
| 414 |
0x6f, 0x75, 0x6e, 0x74, 0x54, 0x61, 0x78, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, |
| 415 |
0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, |
| 416 |
0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, |
| 417 |
0x6e, 0x32, 0x84, 0x06, 0x0a, 0x11, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x61, 0x78, |
| 418 |
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xc5, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x41, |
| 419 |
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x61, 0x78, 0x12, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 420 |
0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, |
| 421 |
0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, |
| 422 |
0x62, 0x65, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, |
| 423 |
0x61, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 424 |
0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, |
| 425 |
0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, |
| 426 |
0x62, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x61, 0x78, 0x22, |
| 427 |
0x3e, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x12, 0x2f, |
| 428 |
0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, |
| 429 |
0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, |
| 430 |
0x2a, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x74, 0x61, 0x78, 0x2f, 0x2a, 0x7d, 0x12, |
| 431 |
0xd5, 0x01, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, |
| 432 |
0x61, 0x78, 0x12, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, |
| 433 |
0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, |
| 434 |
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x69, |
| 435 |
0x73, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x61, 0x78, 0x52, 0x65, 0x71, 0x75, |
| 436 |
0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, |
| 437 |
0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, |
| 438 |
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, |
| 439 |
0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x61, 0x78, 0x52, 0x65, 0x73, |
| 440 |
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x40, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, |
| 441 |
0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x12, 0x2f, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, |
| 442 |
0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, |
| 443 |
0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x63, 0x63, |
| 444 |
0x6f, 0x75, 0x6e, 0x74, 0x74, 0x61, 0x78, 0x12, 0x85, 0x02, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, |
| 445 |
0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x61, 0x78, 0x12, 0x41, 0x2e, 0x67, |
| 446 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, |
| 447 |
0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, |
| 448 |
0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, |
| 449 |
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x61, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, |
| 450 |
0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, |
| 451 |
0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, |
| 452 |
0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, |
| 453 |
0x6e, 0x74, 0x54, 0x61, 0x78, 0x22, 0x78, 0xda, 0x41, 0x17, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, |
| 454 |
0x74, 0x5f, 0x74, 0x61, 0x78, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, |
| 455 |
0x6b, 0xda, 0x41, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x74, 0x61, 0x78, 0x82, |
| 456 |
0xd3, 0xe4, 0x93, 0x02, 0x4a, 0x3a, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x74, |
| 457 |
0x61, 0x78, 0x32, 0x3b, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, |
| 458 |
0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x74, 0x61, |
| 459 |
0x78, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, |
| 460 |
0x2a, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x74, 0x61, 0x78, 0x2f, 0x2a, 0x7d, 0x1a, |
| 461 |
0x47, 0xca, 0x41, 0x1a, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, |
| 462 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, |
| 463 |
0x27, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, |
| 464 |
0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, |
| 465 |
0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x91, 0x01, 0x0a, 0x2c, 0x63, 0x6f, 0x6d, |
| 466 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, |
| 467 |
0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, |
| 468 |
0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x42, 0x0f, 0x41, 0x63, 0x63, 0x6f, 0x75, |
| 469 |
0x6e, 0x74, 0x54, 0x61, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4e, 0x63, 0x6c, |
| 470 |
0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, |
| 471 |
0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, |
| 472 |
0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x61, 0x70, 0x69, |
| 473 |
0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, |
| 474 |
0x62, 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, |
| 475 |
0x6f, 0x74, 0x6f, 0x33, |
| 476 |
} |
| 477 |
|
| 478 |
var ( |
| 479 |
file_google_shopping_merchant_accounts_v1beta_account_tax_proto_rawDescOnce sync.Once |
| 480 |
file_google_shopping_merchant_accounts_v1beta_account_tax_proto_rawDescData = file_google_shopping_merchant_accounts_v1beta_account_tax_proto_rawDesc |
| 481 |
) |
| 482 |
|
| 483 |
func file_google_shopping_merchant_accounts_v1beta_account_tax_proto_rawDescGZIP() []byte { |
| 484 |
file_google_shopping_merchant_accounts_v1beta_account_tax_proto_rawDescOnce.Do(func() { |
| 485 |
file_google_shopping_merchant_accounts_v1beta_account_tax_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_accounts_v1beta_account_tax_proto_rawDescData) |
| 486 |
}) |
| 487 |
return file_google_shopping_merchant_accounts_v1beta_account_tax_proto_rawDescData |
| 488 |
} |
| 489 |
|
| 490 |
var file_google_shopping_merchant_accounts_v1beta_account_tax_proto_msgTypes = make([]protoimpl.MessageInfo, 5) |
| 491 |
var file_google_shopping_merchant_accounts_v1beta_account_tax_proto_goTypes = []any{ |
| 492 |
(*AccountTax)(nil), |
| 493 |
(*GetAccountTaxRequest)(nil), |
| 494 |
(*UpdateAccountTaxRequest)(nil), |
| 495 |
(*ListAccountTaxRequest)(nil), |
| 496 |
(*ListAccountTaxResponse)(nil), |
| 497 |
(*TaxRule)(nil), |
| 498 |
(*fieldmaskpb.FieldMask)(nil), |
| 499 |
} |
| 500 |
var file_google_shopping_merchant_accounts_v1beta_account_tax_proto_depIdxs = []int32{ |
| 501 |
5, |
| 502 |
0, |
| 503 |
6, |
| 504 |
0, |
| 505 |
1, |
| 506 |
3, |
| 507 |
2, |
| 508 |
0, |
| 509 |
4, |
| 510 |
0, |
| 511 |
7, |
| 512 |
4, |
| 513 |
4, |
| 514 |
4, |
| 515 |
0, |
| 516 |
} |
| 517 |
|
| 518 |
func init() { file_google_shopping_merchant_accounts_v1beta_account_tax_proto_init() } |
| 519 |
func file_google_shopping_merchant_accounts_v1beta_account_tax_proto_init() { |
| 520 |
if File_google_shopping_merchant_accounts_v1beta_account_tax_proto != nil { |
| 521 |
return |
| 522 |
} |
| 523 |
file_google_shopping_merchant_accounts_v1beta_tax_rule_proto_init() |
| 524 |
type x struct{} |
| 525 |
out := protoimpl.TypeBuilder{ |
| 526 |
File: protoimpl.DescBuilder{ |
| 527 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 528 |
RawDescriptor: file_google_shopping_merchant_accounts_v1beta_account_tax_proto_rawDesc, |
| 529 |
NumEnums: 0, |
| 530 |
NumMessages: 5, |
| 531 |
NumExtensions: 0, |
| 532 |
NumServices: 1, |
| 533 |
}, |
| 534 |
GoTypes: file_google_shopping_merchant_accounts_v1beta_account_tax_proto_goTypes, |
| 535 |
DependencyIndexes: file_google_shopping_merchant_accounts_v1beta_account_tax_proto_depIdxs, |
| 536 |
MessageInfos: file_google_shopping_merchant_accounts_v1beta_account_tax_proto_msgTypes, |
| 537 |
}.Build() |
| 538 |
File_google_shopping_merchant_accounts_v1beta_account_tax_proto = out.File |
| 539 |
file_google_shopping_merchant_accounts_v1beta_account_tax_proto_rawDesc = nil |
| 540 |
file_google_shopping_merchant_accounts_v1beta_account_tax_proto_goTypes = nil |
| 541 |
file_google_shopping_merchant_accounts_v1beta_account_tax_proto_depIdxs = nil |
| 542 |
} |
| 543 |
|
| 544 |
|
| 545 |
var _ context.Context |
| 546 |
var _ grpc.ClientConnInterface |
| 547 |
|
| 548 |
|
| 549 |
|
| 550 |
const _ = grpc.SupportPackageIsVersion6 |
| 551 |
|
| 552 |
|
| 553 |
|
| 554 |
|
| 555 |
type AccountTaxServiceClient interface { |
| 556 |
|
| 557 |
GetAccountTax(ctx context.Context, in *GetAccountTaxRequest, opts ...grpc.CallOption) (*AccountTax, error) |
| 558 |
|
| 559 |
|
| 560 |
|
| 561 |
|
| 562 |
ListAccountTax(ctx context.Context, in *ListAccountTaxRequest, opts ...grpc.CallOption) (*ListAccountTaxResponse, error) |
| 563 |
|
| 564 |
UpdateAccountTax(ctx context.Context, in *UpdateAccountTaxRequest, opts ...grpc.CallOption) (*AccountTax, error) |
| 565 |
} |
| 566 |
|
| 567 |
type accountTaxServiceClient struct { |
| 568 |
cc grpc.ClientConnInterface |
| 569 |
} |
| 570 |
|
| 571 |
func NewAccountTaxServiceClient(cc grpc.ClientConnInterface) AccountTaxServiceClient { |
| 572 |
return &accountTaxServiceClient{cc} |
| 573 |
} |
| 574 |
|
| 575 |
func (c *accountTaxServiceClient) GetAccountTax(ctx context.Context, in *GetAccountTaxRequest, opts ...grpc.CallOption) (*AccountTax, error) { |
| 576 |
out := new(AccountTax) |
| 577 |
err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1beta.AccountTaxService/GetAccountTax", in, out, opts...) |
| 578 |
if err != nil { |
| 579 |
return nil, err |
| 580 |
} |
| 581 |
return out, nil |
| 582 |
} |
| 583 |
|
| 584 |
func (c *accountTaxServiceClient) ListAccountTax(ctx context.Context, in *ListAccountTaxRequest, opts ...grpc.CallOption) (*ListAccountTaxResponse, error) { |
| 585 |
out := new(ListAccountTaxResponse) |
| 586 |
err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1beta.AccountTaxService/ListAccountTax", in, out, opts...) |
| 587 |
if err != nil { |
| 588 |
return nil, err |
| 589 |
} |
| 590 |
return out, nil |
| 591 |
} |
| 592 |
|
| 593 |
func (c *accountTaxServiceClient) UpdateAccountTax(ctx context.Context, in *UpdateAccountTaxRequest, opts ...grpc.CallOption) (*AccountTax, error) { |
| 594 |
out := new(AccountTax) |
| 595 |
err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1beta.AccountTaxService/UpdateAccountTax", in, out, opts...) |
| 596 |
if err != nil { |
| 597 |
return nil, err |
| 598 |
} |
| 599 |
return out, nil |
| 600 |
} |
| 601 |
|
| 602 |
|
| 603 |
type AccountTaxServiceServer interface { |
| 604 |
|
| 605 |
GetAccountTax(context.Context, *GetAccountTaxRequest) (*AccountTax, error) |
| 606 |
|
| 607 |
|
| 608 |
|
| 609 |
|
| 610 |
ListAccountTax(context.Context, *ListAccountTaxRequest) (*ListAccountTaxResponse, error) |
| 611 |
|
| 612 |
UpdateAccountTax(context.Context, *UpdateAccountTaxRequest) (*AccountTax, error) |
| 613 |
} |
| 614 |
|
| 615 |
|
| 616 |
type UnimplementedAccountTaxServiceServer struct { |
| 617 |
} |
| 618 |
|
| 619 |
func (*UnimplementedAccountTaxServiceServer) GetAccountTax(context.Context, *GetAccountTaxRequest) (*AccountTax, error) { |
| 620 |
return nil, status.Errorf(codes.Unimplemented, "method GetAccountTax not implemented") |
| 621 |
} |
| 622 |
func (*UnimplementedAccountTaxServiceServer) ListAccountTax(context.Context, *ListAccountTaxRequest) (*ListAccountTaxResponse, error) { |
| 623 |
return nil, status.Errorf(codes.Unimplemented, "method ListAccountTax not implemented") |
| 624 |
} |
| 625 |
func (*UnimplementedAccountTaxServiceServer) UpdateAccountTax(context.Context, *UpdateAccountTaxRequest) (*AccountTax, error) { |
| 626 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateAccountTax not implemented") |
| 627 |
} |
| 628 |
|
| 629 |
func RegisterAccountTaxServiceServer(s *grpc.Server, srv AccountTaxServiceServer) { |
| 630 |
s.RegisterService(&_AccountTaxService_serviceDesc, srv) |
| 631 |
} |
| 632 |
|
| 633 |
func _AccountTaxService_GetAccountTax_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 634 |
in := new(GetAccountTaxRequest) |
| 635 |
if err := dec(in); err != nil { |
| 636 |
return nil, err |
| 637 |
} |
| 638 |
if interceptor == nil { |
| 639 |
return srv.(AccountTaxServiceServer).GetAccountTax(ctx, in) |
| 640 |
} |
| 641 |
info := &grpc.UnaryServerInfo{ |
| 642 |
Server: srv, |
| 643 |
FullMethod: "/google.shopping.merchant.accounts.v1beta.AccountTaxService/GetAccountTax", |
| 644 |
} |
| 645 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 646 |
return srv.(AccountTaxServiceServer).GetAccountTax(ctx, req.(*GetAccountTaxRequest)) |
| 647 |
} |
| 648 |
return interceptor(ctx, in, info, handler) |
| 649 |
} |
| 650 |
|
| 651 |
func _AccountTaxService_ListAccountTax_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 652 |
in := new(ListAccountTaxRequest) |
| 653 |
if err := dec(in); err != nil { |
| 654 |
return nil, err |
| 655 |
} |
| 656 |
if interceptor == nil { |
| 657 |
return srv.(AccountTaxServiceServer).ListAccountTax(ctx, in) |
| 658 |
} |
| 659 |
info := &grpc.UnaryServerInfo{ |
| 660 |
Server: srv, |
| 661 |
FullMethod: "/google.shopping.merchant.accounts.v1beta.AccountTaxService/ListAccountTax", |
| 662 |
} |
| 663 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 664 |
return srv.(AccountTaxServiceServer).ListAccountTax(ctx, req.(*ListAccountTaxRequest)) |
| 665 |
} |
| 666 |
return interceptor(ctx, in, info, handler) |
| 667 |
} |
| 668 |
|
| 669 |
func _AccountTaxService_UpdateAccountTax_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 670 |
in := new(UpdateAccountTaxRequest) |
| 671 |
if err := dec(in); err != nil { |
| 672 |
return nil, err |
| 673 |
} |
| 674 |
if interceptor == nil { |
| 675 |
return srv.(AccountTaxServiceServer).UpdateAccountTax(ctx, in) |
| 676 |
} |
| 677 |
info := &grpc.UnaryServerInfo{ |
| 678 |
Server: srv, |
| 679 |
FullMethod: "/google.shopping.merchant.accounts.v1beta.AccountTaxService/UpdateAccountTax", |
| 680 |
} |
| 681 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 682 |
return srv.(AccountTaxServiceServer).UpdateAccountTax(ctx, req.(*UpdateAccountTaxRequest)) |
| 683 |
} |
| 684 |
return interceptor(ctx, in, info, handler) |
| 685 |
} |
| 686 |
|
| 687 |
var _AccountTaxService_serviceDesc = grpc.ServiceDesc{ |
| 688 |
ServiceName: "google.shopping.merchant.accounts.v1beta.AccountTaxService", |
| 689 |
HandlerType: (*AccountTaxServiceServer)(nil), |
| 690 |
Methods: []grpc.MethodDesc{ |
| 691 |
{ |
| 692 |
MethodName: "GetAccountTax", |
| 693 |
Handler: _AccountTaxService_GetAccountTax_Handler, |
| 694 |
}, |
| 695 |
{ |
| 696 |
MethodName: "ListAccountTax", |
| 697 |
Handler: _AccountTaxService_ListAccountTax_Handler, |
| 698 |
}, |
| 699 |
{ |
| 700 |
MethodName: "UpdateAccountTax", |
| 701 |
Handler: _AccountTaxService_UpdateAccountTax_Handler, |
| 702 |
}, |
| 703 |
}, |
| 704 |
Streams: []grpc.StreamDesc{}, |
| 705 |
Metadata: "google/shopping/merchant/accounts/v1beta/account_tax.proto", |
| 706 |
} |