| 1 |
// Copyright 2025 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.35.2 |
| 18 |
// protoc v4.25.7 |
| 19 |
// source: google/shopping/merchant/accounts/v1/lfpproviders.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 |
emptypb "google.golang.org/protobuf/types/known/emptypb" |
| 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 |
// Collection of information related to a Local Feed Partnership (LFP) provider. |
| 44 |
type LfpProvider struct { |
| 45 |
state protoimpl.MessageState |
| 46 |
sizeCache protoimpl.SizeCache |
| 47 |
unknownFields protoimpl.UnknownFields |
| 48 |
|
| 49 |
// Identifier. The resource name of the LFP provider. |
| 50 |
// Format: |
| 51 |
// `accounts/{account}/omnichannelSettings/{omnichannel_setting}/lfpProviders/{lfp_provider}` |
| 52 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 53 |
// Output only. Region code defined by [CLDR](https://cldr.unicode.org/). |
| 54 |
RegionCode string `protobuf:"bytes,2,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"` |
| 55 |
// The display name of the LFP provider. |
| 56 |
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` |
| 57 |
} |
| 58 |
|
| 59 |
func (x *LfpProvider) Reset() { |
| 60 |
*x = LfpProvider{} |
| 61 |
mi := &file_google_shopping_merchant_accounts_v1_lfpproviders_proto_msgTypes[0] |
| 62 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 63 |
ms.StoreMessageInfo(mi) |
| 64 |
} |
| 65 |
|
| 66 |
func (x *LfpProvider) String() string { |
| 67 |
return protoimpl.X.MessageStringOf(x) |
| 68 |
} |
| 69 |
|
| 70 |
func (*LfpProvider) ProtoMessage() {} |
| 71 |
|
| 72 |
func (x *LfpProvider) ProtoReflect() protoreflect.Message { |
| 73 |
mi := &file_google_shopping_merchant_accounts_v1_lfpproviders_proto_msgTypes[0] |
| 74 |
if x != nil { |
| 75 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 76 |
if ms.LoadMessageInfo() == nil { |
| 77 |
ms.StoreMessageInfo(mi) |
| 78 |
} |
| 79 |
return ms |
| 80 |
} |
| 81 |
return mi.MessageOf(x) |
| 82 |
} |
| 83 |
|
| 84 |
// Deprecated: Use LfpProvider.ProtoReflect.Descriptor instead. |
| 85 |
func (*LfpProvider) Descriptor() ([]byte, []int) { |
| 86 |
return file_google_shopping_merchant_accounts_v1_lfpproviders_proto_rawDescGZIP(), []int{0} |
| 87 |
} |
| 88 |
|
| 89 |
func (x *LfpProvider) GetName() string { |
| 90 |
if x != nil { |
| 91 |
return x.Name |
| 92 |
} |
| 93 |
return "" |
| 94 |
} |
| 95 |
|
| 96 |
func (x *LfpProvider) GetRegionCode() string { |
| 97 |
if x != nil { |
| 98 |
return x.RegionCode |
| 99 |
} |
| 100 |
return "" |
| 101 |
} |
| 102 |
|
| 103 |
func (x *LfpProvider) GetDisplayName() string { |
| 104 |
if x != nil { |
| 105 |
return x.DisplayName |
| 106 |
} |
| 107 |
return "" |
| 108 |
} |
| 109 |
|
| 110 |
// Request message for the FindLfpProviders method. |
| 111 |
type FindLfpProvidersRequest struct { |
| 112 |
state protoimpl.MessageState |
| 113 |
sizeCache protoimpl.SizeCache |
| 114 |
unknownFields protoimpl.UnknownFields |
| 115 |
|
| 116 |
// Required. The name of the parent resource under which the LFP providers are |
| 117 |
// found. Format: |
| 118 |
// `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. |
| 119 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 120 |
// Optional. The maximum number of `LfpProvider` resources to return. The |
| 121 |
// service returns fewer than this value if the number of lfp providers is |
| 122 |
// less that than the `pageSize`. The default value is 50. The maximum value |
| 123 |
// is 1000; If a value higher than the maximum is specified, then the |
| 124 |
// `pageSize` will default to the maximum. |
| 125 |
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| 126 |
// Optional. A page token, received from a previous `FindLfpProviders` call. |
| 127 |
// Provide the page token to retrieve the subsequent page. |
| 128 |
// |
| 129 |
// When paginating, all other parameters provided to `FindLfpProviders` must |
| 130 |
// match the call that provided the page token. |
| 131 |
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| 132 |
} |
| 133 |
|
| 134 |
func (x *FindLfpProvidersRequest) Reset() { |
| 135 |
*x = FindLfpProvidersRequest{} |
| 136 |
mi := &file_google_shopping_merchant_accounts_v1_lfpproviders_proto_msgTypes[1] |
| 137 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 138 |
ms.StoreMessageInfo(mi) |
| 139 |
} |
| 140 |
|
| 141 |
func (x *FindLfpProvidersRequest) String() string { |
| 142 |
return protoimpl.X.MessageStringOf(x) |
| 143 |
} |
| 144 |
|
| 145 |
func (*FindLfpProvidersRequest) ProtoMessage() {} |
| 146 |
|
| 147 |
func (x *FindLfpProvidersRequest) ProtoReflect() protoreflect.Message { |
| 148 |
mi := &file_google_shopping_merchant_accounts_v1_lfpproviders_proto_msgTypes[1] |
| 149 |
if x != nil { |
| 150 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 151 |
if ms.LoadMessageInfo() == nil { |
| 152 |
ms.StoreMessageInfo(mi) |
| 153 |
} |
| 154 |
return ms |
| 155 |
} |
| 156 |
return mi.MessageOf(x) |
| 157 |
} |
| 158 |
|
| 159 |
// Deprecated: Use FindLfpProvidersRequest.ProtoReflect.Descriptor instead. |
| 160 |
func (*FindLfpProvidersRequest) Descriptor() ([]byte, []int) { |
| 161 |
return file_google_shopping_merchant_accounts_v1_lfpproviders_proto_rawDescGZIP(), []int{1} |
| 162 |
} |
| 163 |
|
| 164 |
func (x *FindLfpProvidersRequest) GetParent() string { |
| 165 |
if x != nil { |
| 166 |
return x.Parent |
| 167 |
} |
| 168 |
return "" |
| 169 |
} |
| 170 |
|
| 171 |
func (x *FindLfpProvidersRequest) GetPageSize() int32 { |
| 172 |
if x != nil { |
| 173 |
return x.PageSize |
| 174 |
} |
| 175 |
return 0 |
| 176 |
} |
| 177 |
|
| 178 |
func (x *FindLfpProvidersRequest) GetPageToken() string { |
| 179 |
if x != nil { |
| 180 |
return x.PageToken |
| 181 |
} |
| 182 |
return "" |
| 183 |
} |
| 184 |
|
| 185 |
// Response message for the FindLfpProviders method. |
| 186 |
type FindLfpProvidersResponse struct { |
| 187 |
state protoimpl.MessageState |
| 188 |
sizeCache protoimpl.SizeCache |
| 189 |
unknownFields protoimpl.UnknownFields |
| 190 |
|
| 191 |
// The LFP providers from the specified merchant in the specified country. |
| 192 |
LfpProviders []*LfpProvider `protobuf:"bytes,1,rep,name=lfp_providers,json=lfpProviders,proto3" json:"lfp_providers,omitempty"` |
| 193 |
// A token, which can be sent as `page_token` to retrieve the next page. |
| 194 |
// If this field is omitted, there are no subsequent pages. |
| 195 |
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| 196 |
} |
| 197 |
|
| 198 |
func (x *FindLfpProvidersResponse) Reset() { |
| 199 |
*x = FindLfpProvidersResponse{} |
| 200 |
mi := &file_google_shopping_merchant_accounts_v1_lfpproviders_proto_msgTypes[2] |
| 201 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 202 |
ms.StoreMessageInfo(mi) |
| 203 |
} |
| 204 |
|
| 205 |
func (x *FindLfpProvidersResponse) String() string { |
| 206 |
return protoimpl.X.MessageStringOf(x) |
| 207 |
} |
| 208 |
|
| 209 |
func (*FindLfpProvidersResponse) ProtoMessage() {} |
| 210 |
|
| 211 |
func (x *FindLfpProvidersResponse) ProtoReflect() protoreflect.Message { |
| 212 |
mi := &file_google_shopping_merchant_accounts_v1_lfpproviders_proto_msgTypes[2] |
| 213 |
if x != nil { |
| 214 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 215 |
if ms.LoadMessageInfo() == nil { |
| 216 |
ms.StoreMessageInfo(mi) |
| 217 |
} |
| 218 |
return ms |
| 219 |
} |
| 220 |
return mi.MessageOf(x) |
| 221 |
} |
| 222 |
|
| 223 |
// Deprecated: Use FindLfpProvidersResponse.ProtoReflect.Descriptor instead. |
| 224 |
func (*FindLfpProvidersResponse) Descriptor() ([]byte, []int) { |
| 225 |
return file_google_shopping_merchant_accounts_v1_lfpproviders_proto_rawDescGZIP(), []int{2} |
| 226 |
} |
| 227 |
|
| 228 |
func (x *FindLfpProvidersResponse) GetLfpProviders() []*LfpProvider { |
| 229 |
if x != nil { |
| 230 |
return x.LfpProviders |
| 231 |
} |
| 232 |
return nil |
| 233 |
} |
| 234 |
|
| 235 |
func (x *FindLfpProvidersResponse) GetNextPageToken() string { |
| 236 |
if x != nil { |
| 237 |
return x.NextPageToken |
| 238 |
} |
| 239 |
return "" |
| 240 |
} |
| 241 |
|
| 242 |
// Request message for the LinkLfpProvider method. |
| 243 |
type LinkLfpProviderRequest struct { |
| 244 |
state protoimpl.MessageState |
| 245 |
sizeCache protoimpl.SizeCache |
| 246 |
unknownFields protoimpl.UnknownFields |
| 247 |
|
| 248 |
// Required. The name of the LFP provider resource to link. |
| 249 |
// Format: |
| 250 |
// `accounts/{account}/omnichannelSettings/{omnichannel_setting}/lfpProviders/{lfp_provider}`. |
| 251 |
// The `lfp_provider` is the LFP provider ID. |
| 252 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 253 |
// Required. The external account ID by which this merchant is known to the |
| 254 |
// LFP provider. |
| 255 |
ExternalAccountId string `protobuf:"bytes,2,opt,name=external_account_id,json=externalAccountId,proto3" json:"external_account_id,omitempty"` |
| 256 |
} |
| 257 |
|
| 258 |
func (x *LinkLfpProviderRequest) Reset() { |
| 259 |
*x = LinkLfpProviderRequest{} |
| 260 |
mi := &file_google_shopping_merchant_accounts_v1_lfpproviders_proto_msgTypes[3] |
| 261 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 262 |
ms.StoreMessageInfo(mi) |
| 263 |
} |
| 264 |
|
| 265 |
func (x *LinkLfpProviderRequest) String() string { |
| 266 |
return protoimpl.X.MessageStringOf(x) |
| 267 |
} |
| 268 |
|
| 269 |
func (*LinkLfpProviderRequest) ProtoMessage() {} |
| 270 |
|
| 271 |
func (x *LinkLfpProviderRequest) ProtoReflect() protoreflect.Message { |
| 272 |
mi := &file_google_shopping_merchant_accounts_v1_lfpproviders_proto_msgTypes[3] |
| 273 |
if x != nil { |
| 274 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 275 |
if ms.LoadMessageInfo() == nil { |
| 276 |
ms.StoreMessageInfo(mi) |
| 277 |
} |
| 278 |
return ms |
| 279 |
} |
| 280 |
return mi.MessageOf(x) |
| 281 |
} |
| 282 |
|
| 283 |
// Deprecated: Use LinkLfpProviderRequest.ProtoReflect.Descriptor instead. |
| 284 |
func (*LinkLfpProviderRequest) Descriptor() ([]byte, []int) { |
| 285 |
return file_google_shopping_merchant_accounts_v1_lfpproviders_proto_rawDescGZIP(), []int{3} |
| 286 |
} |
| 287 |
|
| 288 |
func (x *LinkLfpProviderRequest) GetName() string { |
| 289 |
if x != nil { |
| 290 |
return x.Name |
| 291 |
} |
| 292 |
return "" |
| 293 |
} |
| 294 |
|
| 295 |
func (x *LinkLfpProviderRequest) GetExternalAccountId() string { |
| 296 |
if x != nil { |
| 297 |
return x.ExternalAccountId |
| 298 |
} |
| 299 |
return "" |
| 300 |
} |
| 301 |
|
| 302 |
// Response message for the LinkLfpProvider method. |
| 303 |
type LinkLfpProviderResponse struct { |
| 304 |
state protoimpl.MessageState |
| 305 |
sizeCache protoimpl.SizeCache |
| 306 |
unknownFields protoimpl.UnknownFields |
| 307 |
|
| 308 |
// Empty response. |
| 309 |
Response *emptypb.Empty `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` |
| 310 |
} |
| 311 |
|
| 312 |
func (x *LinkLfpProviderResponse) Reset() { |
| 313 |
*x = LinkLfpProviderResponse{} |
| 314 |
mi := &file_google_shopping_merchant_accounts_v1_lfpproviders_proto_msgTypes[4] |
| 315 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 316 |
ms.StoreMessageInfo(mi) |
| 317 |
} |
| 318 |
|
| 319 |
func (x *LinkLfpProviderResponse) String() string { |
| 320 |
return protoimpl.X.MessageStringOf(x) |
| 321 |
} |
| 322 |
|
| 323 |
func (*LinkLfpProviderResponse) ProtoMessage() {} |
| 324 |
|
| 325 |
func (x *LinkLfpProviderResponse) ProtoReflect() protoreflect.Message { |
| 326 |
mi := &file_google_shopping_merchant_accounts_v1_lfpproviders_proto_msgTypes[4] |
| 327 |
if x != nil { |
| 328 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 329 |
if ms.LoadMessageInfo() == nil { |
| 330 |
ms.StoreMessageInfo(mi) |
| 331 |
} |
| 332 |
return ms |
| 333 |
} |
| 334 |
return mi.MessageOf(x) |
| 335 |
} |
| 336 |
|
| 337 |
// Deprecated: Use LinkLfpProviderResponse.ProtoReflect.Descriptor instead. |
| 338 |
func (*LinkLfpProviderResponse) Descriptor() ([]byte, []int) { |
| 339 |
return file_google_shopping_merchant_accounts_v1_lfpproviders_proto_rawDescGZIP(), []int{4} |
| 340 |
} |
| 341 |
|
| 342 |
func (x *LinkLfpProviderResponse) GetResponse() *emptypb.Empty { |
| 343 |
if x != nil { |
| 344 |
return x.Response |
| 345 |
} |
| 346 |
return nil |
| 347 |
} |
| 348 |
|
| 349 |
var File_google_shopping_merchant_accounts_v1_lfpproviders_proto protoreflect.FileDescriptor |
| 350 |
|
| 351 |
var file_google_shopping_merchant_accounts_v1_lfpproviders_proto_rawDesc = []byte{ |
| 352 |
0x0a, 0x37, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, |
| 353 |
0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, |
| 354 |
0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x66, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, |
| 355 |
0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 356 |
0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, |
| 357 |
0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x1a, |
| 358 |
0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, |
| 359 |
0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, |
| 360 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, |
| 361 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, |
| 362 |
0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, |
| 363 |
0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, |
| 364 |
0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, |
| 365 |
0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 366 |
0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, |
| 367 |
0x93, 0x02, 0x0a, 0x0b, 0x4c, 0x66, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, |
| 368 |
0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, |
| 369 |
0x41, 0x08, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0b, 0x72, 0x65, 0x67, 0x69, |
| 370 |
0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, |
| 371 |
0x41, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x21, |
| 372 |
0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, |
| 373 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, |
| 374 |
0x65, 0x3a, 0xa1, 0x01, 0xea, 0x41, 0x9d, 0x01, 0x0a, 0x26, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, |
| 375 |
0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, |
| 376 |
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x66, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, |
| 377 |
0x12, 0x58, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, |
| 378 |
0x75, 0x6e, 0x74, 0x7d, 0x2f, 0x6f, 0x6d, 0x6e, 0x69, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, |
| 379 |
0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x7b, 0x6f, 0x6d, 0x6e, 0x69, 0x63, 0x68, |
| 380 |
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x7d, 0x2f, 0x6c, |
| 381 |
0x66, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x6c, 0x66, 0x70, |
| 382 |
0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x7d, 0x2a, 0x0c, 0x6c, 0x66, 0x70, 0x50, |
| 383 |
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x32, 0x0b, 0x6c, 0x66, 0x70, 0x50, 0x72, 0x6f, |
| 384 |
0x76, 0x69, 0x64, 0x65, 0x72, 0x22, 0xae, 0x01, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x66, |
| 385 |
0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
| 386 |
0x74, 0x12, 0x4d, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 387 |
0x09, 0x42, 0x35, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2f, 0x0a, 0x2d, 0x6d, 0x65, 0x72, 0x63, 0x68, |
| 388 |
0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, |
| 389 |
0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4f, 0x6d, 0x6e, 0x69, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, |
| 390 |
0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, |
| 391 |
0x12, 0x20, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, |
| 392 |
0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, |
| 393 |
0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, |
| 394 |
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, |
| 395 |
0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x9a, 0x01, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x4c, |
| 396 |
0x66, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, |
| 397 |
0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0d, 0x6c, 0x66, 0x70, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, |
| 398 |
0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, |
| 399 |
0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, |
| 400 |
0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, |
| 401 |
0x31, 0x2e, 0x4c, 0x66, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x6c, |
| 402 |
0x66, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, |
| 403 |
0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, |
| 404 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, |
| 405 |
0x6b, 0x65, 0x6e, 0x22, 0x91, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x6e, 0x6b, 0x4c, 0x66, 0x70, 0x50, |
| 406 |
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, |
| 407 |
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2e, 0xe0, 0x41, |
| 408 |
0x02, 0xfa, 0x41, 0x28, 0x0a, 0x26, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, |
| 409 |
0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, |
| 410 |
0x2f, 0x4c, 0x66, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, |
| 411 |
0x6d, 0x65, 0x12, 0x33, 0x0a, 0x13, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x61, |
| 412 |
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, |
| 413 |
0x03, 0xe0, 0x41, 0x02, 0x52, 0x11, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x41, 0x63, |
| 414 |
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x4d, 0x0a, 0x17, 0x4c, 0x69, 0x6e, 0x6b, 0x4c, |
| 415 |
0x66, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, |
| 416 |
0x73, 0x65, 0x12, 0x32, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x01, |
| 417 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, |
| 418 |
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x08, 0x72, 0x65, |
| 419 |
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xc5, 0x04, 0x0a, 0x13, 0x4c, 0x66, 0x70, 0x50, 0x72, |
| 420 |
0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xec, |
| 421 |
0x01, 0x0a, 0x10, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x66, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, |
| 422 |
0x65, 0x72, 0x73, 0x12, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, |
| 423 |
0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, |
| 424 |
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c, |
| 425 |
0x66, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, |
| 426 |
0x73, 0x74, 0x1a, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, |
| 427 |
0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, |
| 428 |
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x66, |
| 429 |
0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, |
| 430 |
0x73, 0x65, 0x22, 0x59, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, |
| 431 |
0x93, 0x02, 0x4a, 0x12, 0x48, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, |
| 432 |
0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, |
| 433 |
0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6f, 0x6d, 0x6e, 0x69, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, |
| 434 |
0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6c, 0x66, 0x70, 0x50, |
| 435 |
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x3a, 0x66, 0x69, 0x6e, 0x64, 0x12, 0xf5, 0x01, |
| 436 |
0x0a, 0x0f, 0x4c, 0x69, 0x6e, 0x6b, 0x4c, 0x66, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, |
| 437 |
0x72, 0x12, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, |
| 438 |
0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, |
| 439 |
0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x4c, 0x66, 0x70, |
| 440 |
0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, |
| 441 |
0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, |
| 442 |
0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, |
| 443 |
0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x4c, 0x66, 0x70, 0x50, 0x72, |
| 444 |
0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x65, |
| 445 |
0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x58, 0x3a, 0x01, 0x2a, |
| 446 |
0x22, 0x53, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, |
| 447 |
0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, |
| 448 |
0x6f, 0x6d, 0x6e, 0x69, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, |
| 449 |
0x6e, 0x67, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x66, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, |
| 450 |
0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x6c, 0x69, 0x6e, 0x6b, 0x4c, 0x66, 0x70, 0x50, 0x72, 0x6f, |
| 451 |
0x76, 0x69, 0x64, 0x65, 0x72, 0x1a, 0x47, 0xca, 0x41, 0x1a, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, |
| 452 |
0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, |
| 453 |
0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x27, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, |
| 454 |
0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, |
| 455 |
0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x84, |
| 456 |
0x02, 0x0a, 0x28, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, |
| 457 |
0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, |
| 458 |
0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x11, 0x4c, 0x66, 0x70, |
| 459 |
0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, |
| 460 |
0x5a, 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 461 |
0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, |
| 462 |
0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, |
| 463 |
0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, |
| 464 |
0x62, 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0xaa, 0x02, 0x24, 0x47, |
| 465 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x4d, |
| 466 |
0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, |
| 467 |
0x2e, 0x56, 0x31, 0xca, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x53, 0x68, 0x6f, |
| 468 |
0x70, 0x70, 0x69, 0x6e, 0x67, 0x5c, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x5c, 0x41, |
| 469 |
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, |
| 470 |
0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x4d, |
| 471 |
0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x3a, 0x3a, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, |
| 472 |
0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 473 |
} |
| 474 |
|
| 475 |
var ( |
| 476 |
file_google_shopping_merchant_accounts_v1_lfpproviders_proto_rawDescOnce sync.Once |
| 477 |
file_google_shopping_merchant_accounts_v1_lfpproviders_proto_rawDescData = file_google_shopping_merchant_accounts_v1_lfpproviders_proto_rawDesc |
| 478 |
) |
| 479 |
|
| 480 |
func file_google_shopping_merchant_accounts_v1_lfpproviders_proto_rawDescGZIP() []byte { |
| 481 |
file_google_shopping_merchant_accounts_v1_lfpproviders_proto_rawDescOnce.Do(func() { |
| 482 |
file_google_shopping_merchant_accounts_v1_lfpproviders_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_accounts_v1_lfpproviders_proto_rawDescData) |
| 483 |
}) |
| 484 |
return file_google_shopping_merchant_accounts_v1_lfpproviders_proto_rawDescData |
| 485 |
} |
| 486 |
|
| 487 |
var file_google_shopping_merchant_accounts_v1_lfpproviders_proto_msgTypes = make([]protoimpl.MessageInfo, 5) |
| 488 |
var file_google_shopping_merchant_accounts_v1_lfpproviders_proto_goTypes = []any{ |
| 489 |
(*LfpProvider)(nil), // 0: google.shopping.merchant.accounts.v1.LfpProvider |
| 490 |
(*FindLfpProvidersRequest)(nil), // 1: google.shopping.merchant.accounts.v1.FindLfpProvidersRequest |
| 491 |
(*FindLfpProvidersResponse)(nil), // 2: google.shopping.merchant.accounts.v1.FindLfpProvidersResponse |
| 492 |
(*LinkLfpProviderRequest)(nil), // 3: google.shopping.merchant.accounts.v1.LinkLfpProviderRequest |
| 493 |
(*LinkLfpProviderResponse)(nil), // 4: google.shopping.merchant.accounts.v1.LinkLfpProviderResponse |
| 494 |
(*emptypb.Empty)(nil), // 5: google.protobuf.Empty |
| 495 |
} |
| 496 |
var file_google_shopping_merchant_accounts_v1_lfpproviders_proto_depIdxs = []int32{ |
| 497 |
0, // 0: google.shopping.merchant.accounts.v1.FindLfpProvidersResponse.lfp_providers:type_name -> google.shopping.merchant.accounts.v1.LfpProvider |
| 498 |
5, // 1: google.shopping.merchant.accounts.v1.LinkLfpProviderResponse.response:type_name -> google.protobuf.Empty |
| 499 |
1, // 2: google.shopping.merchant.accounts.v1.LfpProvidersService.FindLfpProviders:input_type -> google.shopping.merchant.accounts.v1.FindLfpProvidersRequest |
| 500 |
3, // 3: google.shopping.merchant.accounts.v1.LfpProvidersService.LinkLfpProvider:input_type -> google.shopping.merchant.accounts.v1.LinkLfpProviderRequest |
| 501 |
2, // 4: google.shopping.merchant.accounts.v1.LfpProvidersService.FindLfpProviders:output_type -> google.shopping.merchant.accounts.v1.FindLfpProvidersResponse |
| 502 |
4, // 5: google.shopping.merchant.accounts.v1.LfpProvidersService.LinkLfpProvider:output_type -> google.shopping.merchant.accounts.v1.LinkLfpProviderResponse |
| 503 |
4, // [4:6] is the sub-list for method output_type |
| 504 |
2, // [2:4] is the sub-list for method input_type |
| 505 |
2, // [2:2] is the sub-list for extension type_name |
| 506 |
2, // [2:2] is the sub-list for extension extendee |
| 507 |
0, // [0:2] is the sub-list for field type_name |
| 508 |
} |
| 509 |
|
| 510 |
func init() { file_google_shopping_merchant_accounts_v1_lfpproviders_proto_init() } |
| 511 |
func file_google_shopping_merchant_accounts_v1_lfpproviders_proto_init() { |
| 512 |
if File_google_shopping_merchant_accounts_v1_lfpproviders_proto != nil { |
| 513 |
return |
| 514 |
} |
| 515 |
type x struct{} |
| 516 |
out := protoimpl.TypeBuilder{ |
| 517 |
File: protoimpl.DescBuilder{ |
| 518 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 519 |
RawDescriptor: file_google_shopping_merchant_accounts_v1_lfpproviders_proto_rawDesc, |
| 520 |
NumEnums: 0, |
| 521 |
NumMessages: 5, |
| 522 |
NumExtensions: 0, |
| 523 |
NumServices: 1, |
| 524 |
}, |
| 525 |
GoTypes: file_google_shopping_merchant_accounts_v1_lfpproviders_proto_goTypes, |
| 526 |
DependencyIndexes: file_google_shopping_merchant_accounts_v1_lfpproviders_proto_depIdxs, |
| 527 |
MessageInfos: file_google_shopping_merchant_accounts_v1_lfpproviders_proto_msgTypes, |
| 528 |
}.Build() |
| 529 |
File_google_shopping_merchant_accounts_v1_lfpproviders_proto = out.File |
| 530 |
file_google_shopping_merchant_accounts_v1_lfpproviders_proto_rawDesc = nil |
| 531 |
file_google_shopping_merchant_accounts_v1_lfpproviders_proto_goTypes = nil |
| 532 |
file_google_shopping_merchant_accounts_v1_lfpproviders_proto_depIdxs = nil |
| 533 |
} |
| 534 |
|
| 535 |
// Reference imports to suppress errors if they are not otherwise used. |
| 536 |
var _ context.Context |
| 537 |
var _ grpc.ClientConnInterface |
| 538 |
|
| 539 |
// This is a compile-time assertion to ensure that this generated file |
| 540 |
// is compatible with the grpc package it is being compiled against. |
| 541 |
const _ = grpc.SupportPackageIsVersion6 |
| 542 |
|
| 543 |
// LfpProvidersServiceClient is the client API for LfpProvidersService service. |
| 544 |
// |
| 545 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 546 |
type LfpProvidersServiceClient interface { |
| 547 |
// Find the LFP provider candidates in a given country. |
| 548 |
FindLfpProviders(ctx context.Context, in *FindLfpProvidersRequest, opts ...grpc.CallOption) (*FindLfpProvidersResponse, error) |
| 549 |
// Link the specified merchant to a LFP provider for the specified country. |
| 550 |
LinkLfpProvider(ctx context.Context, in *LinkLfpProviderRequest, opts ...grpc.CallOption) (*LinkLfpProviderResponse, error) |
| 551 |
} |
| 552 |
|
| 553 |
type lfpProvidersServiceClient struct { |
| 554 |
cc grpc.ClientConnInterface |
| 555 |
} |
| 556 |
|
| 557 |
func NewLfpProvidersServiceClient(cc grpc.ClientConnInterface) LfpProvidersServiceClient { |
| 558 |
return &lfpProvidersServiceClient{cc} |
| 559 |
} |
| 560 |
|
| 561 |
func (c *lfpProvidersServiceClient) FindLfpProviders(ctx context.Context, in *FindLfpProvidersRequest, opts ...grpc.CallOption) (*FindLfpProvidersResponse, error) { |
| 562 |
out := new(FindLfpProvidersResponse) |
| 563 |
err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.LfpProvidersService/FindLfpProviders", in, out, opts...) |
| 564 |
if err != nil { |
| 565 |
return nil, err |
| 566 |
} |
| 567 |
return out, nil |
| 568 |
} |
| 569 |
|
| 570 |
func (c *lfpProvidersServiceClient) LinkLfpProvider(ctx context.Context, in *LinkLfpProviderRequest, opts ...grpc.CallOption) (*LinkLfpProviderResponse, error) { |
| 571 |
out := new(LinkLfpProviderResponse) |
| 572 |
err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.LfpProvidersService/LinkLfpProvider", in, out, opts...) |
| 573 |
if err != nil { |
| 574 |
return nil, err |
| 575 |
} |
| 576 |
return out, nil |
| 577 |
} |
| 578 |
|
| 579 |
// LfpProvidersServiceServer is the server API for LfpProvidersService service. |
| 580 |
type LfpProvidersServiceServer interface { |
| 581 |
// Find the LFP provider candidates in a given country. |
| 582 |
FindLfpProviders(context.Context, *FindLfpProvidersRequest) (*FindLfpProvidersResponse, error) |
| 583 |
// Link the specified merchant to a LFP provider for the specified country. |
| 584 |
LinkLfpProvider(context.Context, *LinkLfpProviderRequest) (*LinkLfpProviderResponse, error) |
| 585 |
} |
| 586 |
|
| 587 |
// UnimplementedLfpProvidersServiceServer can be embedded to have forward compatible implementations. |
| 588 |
type UnimplementedLfpProvidersServiceServer struct { |
| 589 |
} |
| 590 |
|
| 591 |
func (*UnimplementedLfpProvidersServiceServer) FindLfpProviders(context.Context, *FindLfpProvidersRequest) (*FindLfpProvidersResponse, error) { |
| 592 |
return nil, status.Errorf(codes.Unimplemented, "method FindLfpProviders not implemented") |
| 593 |
} |
| 594 |
func (*UnimplementedLfpProvidersServiceServer) LinkLfpProvider(context.Context, *LinkLfpProviderRequest) (*LinkLfpProviderResponse, error) { |
| 595 |
return nil, status.Errorf(codes.Unimplemented, "method LinkLfpProvider not implemented") |
| 596 |
} |
| 597 |
|
| 598 |
func RegisterLfpProvidersServiceServer(s *grpc.Server, srv LfpProvidersServiceServer) { |
| 599 |
s.RegisterService(&_LfpProvidersService_serviceDesc, srv) |
| 600 |
} |
| 601 |
|
| 602 |
func _LfpProvidersService_FindLfpProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 603 |
in := new(FindLfpProvidersRequest) |
| 604 |
if err := dec(in); err != nil { |
| 605 |
return nil, err |
| 606 |
} |
| 607 |
if interceptor == nil { |
| 608 |
return srv.(LfpProvidersServiceServer).FindLfpProviders(ctx, in) |
| 609 |
} |
| 610 |
info := &grpc.UnaryServerInfo{ |
| 611 |
Server: srv, |
| 612 |
FullMethod: "/google.shopping.merchant.accounts.v1.LfpProvidersService/FindLfpProviders", |
| 613 |
} |
| 614 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 615 |
return srv.(LfpProvidersServiceServer).FindLfpProviders(ctx, req.(*FindLfpProvidersRequest)) |
| 616 |
} |
| 617 |
return interceptor(ctx, in, info, handler) |
| 618 |
} |
| 619 |
|
| 620 |
func _LfpProvidersService_LinkLfpProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 621 |
in := new(LinkLfpProviderRequest) |
| 622 |
if err := dec(in); err != nil { |
| 623 |
return nil, err |
| 624 |
} |
| 625 |
if interceptor == nil { |
| 626 |
return srv.(LfpProvidersServiceServer).LinkLfpProvider(ctx, in) |
| 627 |
} |
| 628 |
info := &grpc.UnaryServerInfo{ |
| 629 |
Server: srv, |
| 630 |
FullMethod: "/google.shopping.merchant.accounts.v1.LfpProvidersService/LinkLfpProvider", |
| 631 |
} |
| 632 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 633 |
return srv.(LfpProvidersServiceServer).LinkLfpProvider(ctx, req.(*LinkLfpProviderRequest)) |
| 634 |
} |
| 635 |
return interceptor(ctx, in, info, handler) |
| 636 |
} |
| 637 |
|
| 638 |
var _LfpProvidersService_serviceDesc = grpc.ServiceDesc{ |
| 639 |
ServiceName: "google.shopping.merchant.accounts.v1.LfpProvidersService", |
| 640 |
HandlerType: (*LfpProvidersServiceServer)(nil), |
| 641 |
Methods: []grpc.MethodDesc{ |
| 642 |
{ |
| 643 |
MethodName: "FindLfpProviders", |
| 644 |
Handler: _LfpProvidersService_FindLfpProviders_Handler, |
| 645 |
}, |
| 646 |
{ |
| 647 |
MethodName: "LinkLfpProvider", |
| 648 |
Handler: _LfpProvidersService_LinkLfpProvider_Handler, |
| 649 |
}, |
| 650 |
}, |
| 651 |
Streams: []grpc.StreamDesc{}, |
| 652 |
Metadata: "google/shopping/merchant/accounts/v1/lfpproviders.proto", |
| 653 |
} |