| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
package promotionspb |
| 22 |
|
| 23 |
import ( |
| 24 |
typepb "cloud.google.com/go/shopping/type/typepb" |
| 25 |
context "context" |
| 26 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 27 |
grpc "google.golang.org/grpc" |
| 28 |
codes "google.golang.org/grpc/codes" |
| 29 |
status "google.golang.org/grpc/status" |
| 30 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 31 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 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 |
|
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
type Promotion struct { |
| 56 |
state protoimpl.MessageState |
| 57 |
sizeCache protoimpl.SizeCache |
| 58 |
unknownFields protoimpl.UnknownFields |
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 63 |
|
| 64 |
|
| 65 |
|
| 66 |
|
| 67 |
PromotionId string `protobuf:"bytes,2,opt,name=promotion_id,json=promotionId,proto3" json:"promotion_id,omitempty"` |
| 68 |
|
| 69 |
|
| 70 |
|
| 71 |
|
| 72 |
|
| 73 |
|
| 74 |
ContentLanguage string `protobuf:"bytes,3,opt,name=content_language,json=contentLanguage,proto3" json:"content_language,omitempty"` |
| 75 |
|
| 76 |
|
| 77 |
|
| 78 |
|
| 79 |
|
| 80 |
|
| 81 |
|
| 82 |
|
| 83 |
TargetCountry string `protobuf:"bytes,4,opt,name=target_country,json=targetCountry,proto3" json:"target_country,omitempty"` |
| 84 |
|
| 85 |
|
| 86 |
|
| 87 |
RedemptionChannel []RedemptionChannel `protobuf:"varint,5,rep,packed,name=redemption_channel,json=redemptionChannel,proto3,enum=google.shopping.merchant.promotions.v1.RedemptionChannel" json:"redemption_channel,omitempty"` |
| 88 |
|
| 89 |
DataSource string `protobuf:"bytes,6,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` |
| 90 |
|
| 91 |
Attributes *Attributes `protobuf:"bytes,7,opt,name=attributes,proto3" json:"attributes,omitempty"` |
| 92 |
|
| 93 |
|
| 94 |
|
| 95 |
|
| 96 |
|
| 97 |
|
| 98 |
CustomAttributes []*typepb.CustomAttribute `protobuf:"bytes,8,rep,name=custom_attributes,json=customAttributes,proto3" json:"custom_attributes,omitempty"` |
| 99 |
|
| 100 |
|
| 101 |
|
| 102 |
|
| 103 |
PromotionStatus *PromotionStatus `protobuf:"bytes,9,opt,name=promotion_status,json=promotionStatus,proto3" json:"promotion_status,omitempty"` |
| 104 |
|
| 105 |
|
| 106 |
|
| 107 |
|
| 108 |
|
| 109 |
|
| 110 |
|
| 111 |
|
| 112 |
|
| 113 |
|
| 114 |
|
| 115 |
VersionNumber *int64 `protobuf:"varint,10,opt,name=version_number,json=versionNumber,proto3,oneof" json:"version_number,omitempty"` |
| 116 |
} |
| 117 |
|
| 118 |
func (x *Promotion) Reset() { |
| 119 |
*x = Promotion{} |
| 120 |
mi := &file_google_shopping_merchant_promotions_v1_promotions_proto_msgTypes[0] |
| 121 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 122 |
ms.StoreMessageInfo(mi) |
| 123 |
} |
| 124 |
|
| 125 |
func (x *Promotion) String() string { |
| 126 |
return protoimpl.X.MessageStringOf(x) |
| 127 |
} |
| 128 |
|
| 129 |
func (*Promotion) ProtoMessage() {} |
| 130 |
|
| 131 |
func (x *Promotion) ProtoReflect() protoreflect.Message { |
| 132 |
mi := &file_google_shopping_merchant_promotions_v1_promotions_proto_msgTypes[0] |
| 133 |
if x != nil { |
| 134 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 135 |
if ms.LoadMessageInfo() == nil { |
| 136 |
ms.StoreMessageInfo(mi) |
| 137 |
} |
| 138 |
return ms |
| 139 |
} |
| 140 |
return mi.MessageOf(x) |
| 141 |
} |
| 142 |
|
| 143 |
|
| 144 |
func (*Promotion) Descriptor() ([]byte, []int) { |
| 145 |
return file_google_shopping_merchant_promotions_v1_promotions_proto_rawDescGZIP(), []int{0} |
| 146 |
} |
| 147 |
|
| 148 |
func (x *Promotion) GetName() string { |
| 149 |
if x != nil { |
| 150 |
return x.Name |
| 151 |
} |
| 152 |
return "" |
| 153 |
} |
| 154 |
|
| 155 |
func (x *Promotion) GetPromotionId() string { |
| 156 |
if x != nil { |
| 157 |
return x.PromotionId |
| 158 |
} |
| 159 |
return "" |
| 160 |
} |
| 161 |
|
| 162 |
func (x *Promotion) GetContentLanguage() string { |
| 163 |
if x != nil { |
| 164 |
return x.ContentLanguage |
| 165 |
} |
| 166 |
return "" |
| 167 |
} |
| 168 |
|
| 169 |
func (x *Promotion) GetTargetCountry() string { |
| 170 |
if x != nil { |
| 171 |
return x.TargetCountry |
| 172 |
} |
| 173 |
return "" |
| 174 |
} |
| 175 |
|
| 176 |
func (x *Promotion) GetRedemptionChannel() []RedemptionChannel { |
| 177 |
if x != nil { |
| 178 |
return x.RedemptionChannel |
| 179 |
} |
| 180 |
return nil |
| 181 |
} |
| 182 |
|
| 183 |
func (x *Promotion) GetDataSource() string { |
| 184 |
if x != nil { |
| 185 |
return x.DataSource |
| 186 |
} |
| 187 |
return "" |
| 188 |
} |
| 189 |
|
| 190 |
func (x *Promotion) GetAttributes() *Attributes { |
| 191 |
if x != nil { |
| 192 |
return x.Attributes |
| 193 |
} |
| 194 |
return nil |
| 195 |
} |
| 196 |
|
| 197 |
func (x *Promotion) GetCustomAttributes() []*typepb.CustomAttribute { |
| 198 |
if x != nil { |
| 199 |
return x.CustomAttributes |
| 200 |
} |
| 201 |
return nil |
| 202 |
} |
| 203 |
|
| 204 |
func (x *Promotion) GetPromotionStatus() *PromotionStatus { |
| 205 |
if x != nil { |
| 206 |
return x.PromotionStatus |
| 207 |
} |
| 208 |
return nil |
| 209 |
} |
| 210 |
|
| 211 |
func (x *Promotion) GetVersionNumber() int64 { |
| 212 |
if x != nil && x.VersionNumber != nil { |
| 213 |
return *x.VersionNumber |
| 214 |
} |
| 215 |
return 0 |
| 216 |
} |
| 217 |
|
| 218 |
|
| 219 |
type InsertPromotionRequest struct { |
| 220 |
state protoimpl.MessageState |
| 221 |
sizeCache protoimpl.SizeCache |
| 222 |
unknownFields protoimpl.UnknownFields |
| 223 |
|
| 224 |
|
| 225 |
|
| 226 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 227 |
|
| 228 |
Promotion *Promotion `protobuf:"bytes,2,opt,name=promotion,proto3" json:"promotion,omitempty"` |
| 229 |
|
| 230 |
|
| 231 |
|
| 232 |
|
| 233 |
DataSource string `protobuf:"bytes,3,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` |
| 234 |
} |
| 235 |
|
| 236 |
func (x *InsertPromotionRequest) Reset() { |
| 237 |
*x = InsertPromotionRequest{} |
| 238 |
mi := &file_google_shopping_merchant_promotions_v1_promotions_proto_msgTypes[1] |
| 239 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 240 |
ms.StoreMessageInfo(mi) |
| 241 |
} |
| 242 |
|
| 243 |
func (x *InsertPromotionRequest) String() string { |
| 244 |
return protoimpl.X.MessageStringOf(x) |
| 245 |
} |
| 246 |
|
| 247 |
func (*InsertPromotionRequest) ProtoMessage() {} |
| 248 |
|
| 249 |
func (x *InsertPromotionRequest) ProtoReflect() protoreflect.Message { |
| 250 |
mi := &file_google_shopping_merchant_promotions_v1_promotions_proto_msgTypes[1] |
| 251 |
if x != nil { |
| 252 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 253 |
if ms.LoadMessageInfo() == nil { |
| 254 |
ms.StoreMessageInfo(mi) |
| 255 |
} |
| 256 |
return ms |
| 257 |
} |
| 258 |
return mi.MessageOf(x) |
| 259 |
} |
| 260 |
|
| 261 |
|
| 262 |
func (*InsertPromotionRequest) Descriptor() ([]byte, []int) { |
| 263 |
return file_google_shopping_merchant_promotions_v1_promotions_proto_rawDescGZIP(), []int{1} |
| 264 |
} |
| 265 |
|
| 266 |
func (x *InsertPromotionRequest) GetParent() string { |
| 267 |
if x != nil { |
| 268 |
return x.Parent |
| 269 |
} |
| 270 |
return "" |
| 271 |
} |
| 272 |
|
| 273 |
func (x *InsertPromotionRequest) GetPromotion() *Promotion { |
| 274 |
if x != nil { |
| 275 |
return x.Promotion |
| 276 |
} |
| 277 |
return nil |
| 278 |
} |
| 279 |
|
| 280 |
func (x *InsertPromotionRequest) GetDataSource() string { |
| 281 |
if x != nil { |
| 282 |
return x.DataSource |
| 283 |
} |
| 284 |
return "" |
| 285 |
} |
| 286 |
|
| 287 |
|
| 288 |
type GetPromotionRequest struct { |
| 289 |
state protoimpl.MessageState |
| 290 |
sizeCache protoimpl.SizeCache |
| 291 |
unknownFields protoimpl.UnknownFields |
| 292 |
|
| 293 |
|
| 294 |
|
| 295 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 296 |
} |
| 297 |
|
| 298 |
func (x *GetPromotionRequest) Reset() { |
| 299 |
*x = GetPromotionRequest{} |
| 300 |
mi := &file_google_shopping_merchant_promotions_v1_promotions_proto_msgTypes[2] |
| 301 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 302 |
ms.StoreMessageInfo(mi) |
| 303 |
} |
| 304 |
|
| 305 |
func (x *GetPromotionRequest) String() string { |
| 306 |
return protoimpl.X.MessageStringOf(x) |
| 307 |
} |
| 308 |
|
| 309 |
func (*GetPromotionRequest) ProtoMessage() {} |
| 310 |
|
| 311 |
func (x *GetPromotionRequest) ProtoReflect() protoreflect.Message { |
| 312 |
mi := &file_google_shopping_merchant_promotions_v1_promotions_proto_msgTypes[2] |
| 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 (*GetPromotionRequest) Descriptor() ([]byte, []int) { |
| 325 |
return file_google_shopping_merchant_promotions_v1_promotions_proto_rawDescGZIP(), []int{2} |
| 326 |
} |
| 327 |
|
| 328 |
func (x *GetPromotionRequest) GetName() string { |
| 329 |
if x != nil { |
| 330 |
return x.Name |
| 331 |
} |
| 332 |
return "" |
| 333 |
} |
| 334 |
|
| 335 |
|
| 336 |
type ListPromotionsRequest struct { |
| 337 |
state protoimpl.MessageState |
| 338 |
sizeCache protoimpl.SizeCache |
| 339 |
unknownFields protoimpl.UnknownFields |
| 340 |
|
| 341 |
|
| 342 |
|
| 343 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 344 |
|
| 345 |
|
| 346 |
|
| 347 |
|
| 348 |
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| 349 |
|
| 350 |
|
| 351 |
|
| 352 |
|
| 353 |
|
| 354 |
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| 355 |
} |
| 356 |
|
| 357 |
func (x *ListPromotionsRequest) Reset() { |
| 358 |
*x = ListPromotionsRequest{} |
| 359 |
mi := &file_google_shopping_merchant_promotions_v1_promotions_proto_msgTypes[3] |
| 360 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 361 |
ms.StoreMessageInfo(mi) |
| 362 |
} |
| 363 |
|
| 364 |
func (x *ListPromotionsRequest) String() string { |
| 365 |
return protoimpl.X.MessageStringOf(x) |
| 366 |
} |
| 367 |
|
| 368 |
func (*ListPromotionsRequest) ProtoMessage() {} |
| 369 |
|
| 370 |
func (x *ListPromotionsRequest) ProtoReflect() protoreflect.Message { |
| 371 |
mi := &file_google_shopping_merchant_promotions_v1_promotions_proto_msgTypes[3] |
| 372 |
if x != nil { |
| 373 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 374 |
if ms.LoadMessageInfo() == nil { |
| 375 |
ms.StoreMessageInfo(mi) |
| 376 |
} |
| 377 |
return ms |
| 378 |
} |
| 379 |
return mi.MessageOf(x) |
| 380 |
} |
| 381 |
|
| 382 |
|
| 383 |
func (*ListPromotionsRequest) Descriptor() ([]byte, []int) { |
| 384 |
return file_google_shopping_merchant_promotions_v1_promotions_proto_rawDescGZIP(), []int{3} |
| 385 |
} |
| 386 |
|
| 387 |
func (x *ListPromotionsRequest) GetParent() string { |
| 388 |
if x != nil { |
| 389 |
return x.Parent |
| 390 |
} |
| 391 |
return "" |
| 392 |
} |
| 393 |
|
| 394 |
func (x *ListPromotionsRequest) GetPageSize() int32 { |
| 395 |
if x != nil { |
| 396 |
return x.PageSize |
| 397 |
} |
| 398 |
return 0 |
| 399 |
} |
| 400 |
|
| 401 |
func (x *ListPromotionsRequest) GetPageToken() string { |
| 402 |
if x != nil { |
| 403 |
return x.PageToken |
| 404 |
} |
| 405 |
return "" |
| 406 |
} |
| 407 |
|
| 408 |
|
| 409 |
type ListPromotionsResponse struct { |
| 410 |
state protoimpl.MessageState |
| 411 |
sizeCache protoimpl.SizeCache |
| 412 |
unknownFields protoimpl.UnknownFields |
| 413 |
|
| 414 |
|
| 415 |
Promotions []*Promotion `protobuf:"bytes,1,rep,name=promotions,proto3" json:"promotions,omitempty"` |
| 416 |
|
| 417 |
|
| 418 |
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| 419 |
} |
| 420 |
|
| 421 |
func (x *ListPromotionsResponse) Reset() { |
| 422 |
*x = ListPromotionsResponse{} |
| 423 |
mi := &file_google_shopping_merchant_promotions_v1_promotions_proto_msgTypes[4] |
| 424 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 425 |
ms.StoreMessageInfo(mi) |
| 426 |
} |
| 427 |
|
| 428 |
func (x *ListPromotionsResponse) String() string { |
| 429 |
return protoimpl.X.MessageStringOf(x) |
| 430 |
} |
| 431 |
|
| 432 |
func (*ListPromotionsResponse) ProtoMessage() {} |
| 433 |
|
| 434 |
func (x *ListPromotionsResponse) ProtoReflect() protoreflect.Message { |
| 435 |
mi := &file_google_shopping_merchant_promotions_v1_promotions_proto_msgTypes[4] |
| 436 |
if x != nil { |
| 437 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 438 |
if ms.LoadMessageInfo() == nil { |
| 439 |
ms.StoreMessageInfo(mi) |
| 440 |
} |
| 441 |
return ms |
| 442 |
} |
| 443 |
return mi.MessageOf(x) |
| 444 |
} |
| 445 |
|
| 446 |
|
| 447 |
func (*ListPromotionsResponse) Descriptor() ([]byte, []int) { |
| 448 |
return file_google_shopping_merchant_promotions_v1_promotions_proto_rawDescGZIP(), []int{4} |
| 449 |
} |
| 450 |
|
| 451 |
func (x *ListPromotionsResponse) GetPromotions() []*Promotion { |
| 452 |
if x != nil { |
| 453 |
return x.Promotions |
| 454 |
} |
| 455 |
return nil |
| 456 |
} |
| 457 |
|
| 458 |
func (x *ListPromotionsResponse) GetNextPageToken() string { |
| 459 |
if x != nil { |
| 460 |
return x.NextPageToken |
| 461 |
} |
| 462 |
return "" |
| 463 |
} |
| 464 |
|
| 465 |
var File_google_shopping_merchant_promotions_v1_promotions_proto protoreflect.FileDescriptor |
| 466 |
|
| 467 |
var file_google_shopping_merchant_promotions_v1_promotions_proto_rawDesc = []byte{ |
| 468 |
0x0a, 0x37, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, |
| 469 |
0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x6f, |
| 470 |
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, |
| 471 |
0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 472 |
0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, |
| 473 |
0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, |
| 474 |
0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, |
| 475 |
0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, |
| 476 |
0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, |
| 477 |
0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 478 |
0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, |
| 479 |
0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 480 |
0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, |
| 481 |
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, |
| 482 |
0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x70, |
| 483 |
0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, |
| 484 |
0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, |
| 485 |
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, |
| 486 |
0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, |
| 487 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x89, 0x06, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x6d, 0x6f, |
| 488 |
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, |
| 489 |
0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, |
| 490 |
0x0c, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, |
| 491 |
0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, |
| 492 |
0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, |
| 493 |
0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, |
| 494 |
0x03, 0xe0, 0x41, 0x02, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x4c, 0x61, 0x6e, |
| 495 |
0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x2a, 0x0a, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, |
| 496 |
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, |
| 497 |
0x41, 0x02, 0x52, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x72, |
| 498 |
0x79, 0x12, 0x6d, 0x0a, 0x12, 0x72, 0x65, 0x64, 0x65, 0x6d, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, |
| 499 |
0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x39, 0x2e, |
| 500 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, |
| 501 |
0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, |
| 502 |
0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x64, 0x65, 0x6d, 0x70, 0x74, 0x69, 0x6f, |
| 503 |
0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x11, 0x72, |
| 504 |
0x65, 0x64, 0x65, 0x6d, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, |
| 505 |
0x12, 0x24, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, |
| 506 |
0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, |
| 507 |
0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x57, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, |
| 508 |
0x75, 0x74, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, |
| 509 |
0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, |
| 510 |
0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, |
| 511 |
0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x42, 0x03, |
| 512 |
0xe0, 0x41, 0x01, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, |
| 513 |
0x57, 0x0a, 0x11, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, |
| 514 |
0x75, 0x74, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, |
| 515 |
0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x74, 0x79, 0x70, |
| 516 |
0x65, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, |
| 517 |
0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x10, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x41, 0x74, |
| 518 |
0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x67, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x6d, |
| 519 |
0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x09, 0x20, 0x01, |
| 520 |
0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, |
| 521 |
0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, |
| 522 |
0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6d, |
| 523 |
0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03, |
| 524 |
0x52, 0x0f, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, |
| 525 |
0x73, 0x12, 0x2f, 0x0a, 0x0e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x75, 0x6d, |
| 526 |
0x62, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, |
| 527 |
0x52, 0x0d, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x88, |
| 528 |
0x01, 0x01, 0x3a, 0x6b, 0xea, 0x41, 0x68, 0x0a, 0x24, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, |
| 529 |
0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, |
| 530 |
0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x61, |
| 531 |
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, |
| 532 |
0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x70, 0x72, |
| 533 |
0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2a, 0x0a, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, |
| 534 |
0x69, 0x6f, 0x6e, 0x73, 0x32, 0x09, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x42, |
| 535 |
0x11, 0x0a, 0x0f, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x62, |
| 536 |
0x65, 0x72, 0x22, 0xb1, 0x01, 0x0a, 0x16, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x50, 0x72, 0x6f, |
| 537 |
0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, |
| 538 |
0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, |
| 539 |
0x41, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x54, 0x0a, 0x09, 0x70, 0x72, |
| 540 |
0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, |
| 541 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, |
| 542 |
0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, |
| 543 |
0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, |
| 544 |
0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, |
| 545 |
0x12, 0x24, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, |
| 546 |
0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, |
| 547 |
0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x57, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, |
| 548 |
0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, |
| 549 |
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xe0, 0x41, 0x02, |
| 550 |
0xfa, 0x41, 0x26, 0x0a, 0x24, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, |
| 551 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, |
| 552 |
0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, |
| 553 |
0x7a, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, |
| 554 |
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, |
| 555 |
0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, |
| 556 |
0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, |
| 557 |
0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x70, |
| 558 |
0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, |
| 559 |
0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, |
| 560 |
0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x93, 0x01, 0x0a, 0x16, |
| 561 |
0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, |
| 562 |
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, |
| 563 |
0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, |
| 564 |
0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, |
| 565 |
0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, |
| 566 |
0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, |
| 567 |
0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, |
| 568 |
0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, |
| 569 |
0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, |
| 570 |
0x6e, 0x32, 0xb5, 0x05, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, |
| 571 |
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xc5, 0x01, 0x0a, 0x0f, 0x49, 0x6e, 0x73, 0x65, |
| 572 |
0x72, 0x74, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x2e, 0x67, 0x6f, |
| 573 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, |
| 574 |
0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, |
| 575 |
0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x6d, 0x6f, |
| 576 |
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x67, 0x6f, |
| 577 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, |
| 578 |
0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, |
| 579 |
0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3f, |
| 580 |
0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x3a, 0x01, 0x2a, 0x22, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x6d, |
| 581 |
0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, |
| 582 |
0x74, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x72, |
| 583 |
0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x12, |
| 584 |
0xbc, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, |
| 585 |
0x12, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, |
| 586 |
0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x6d, |
| 587 |
0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, |
| 588 |
0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, |
| 589 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, |
| 590 |
0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, |
| 591 |
0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, |
| 592 |
0x22, 0x3c, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x12, |
| 593 |
0x2d, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x2f, |
| 594 |
0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, |
| 595 |
0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xcf, |
| 596 |
0x01, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, |
| 597 |
0x73, 0x12, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, |
| 598 |
0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, |
| 599 |
0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, |
| 600 |
0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
| 601 |
0x1a, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, |
| 602 |
0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x6d, |
| 603 |
0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, |
| 604 |
0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, |
| 605 |
0x22, 0x3e, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, |
| 606 |
0x2f, 0x12, 0x2d, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, |
| 607 |
0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, |
| 608 |
0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, |
| 609 |
0x1a, 0x47, 0xca, 0x41, 0x1a, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, |
| 610 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, |
| 611 |
0x41, 0x27, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, |
| 612 |
0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, |
| 613 |
0x68, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0xcb, 0x02, 0xea, 0x41, 0x38, 0x0a, |
| 614 |
0x22, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, |
| 615 |
0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x63, 0x63, 0x6f, |
| 616 |
0x75, 0x6e, 0x74, 0x12, 0x12, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61, |
| 617 |
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x0a, 0x2a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, |
| 618 |
0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, |
| 619 |
0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, |
| 620 |
0x2e, 0x76, 0x31, 0x42, 0x0f, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, |
| 621 |
0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x50, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, |
| 622 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, |
| 623 |
0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x70, 0x72, |
| 624 |
0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x70, |
| 625 |
0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x70, 0x62, 0x3b, 0x70, 0x72, 0x6f, 0x6d, |
| 626 |
0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x70, 0x62, 0xaa, 0x02, 0x26, 0x47, 0x6f, 0x6f, 0x67, 0x6c, |
| 627 |
0x65, 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x65, 0x72, 0x63, 0x68, |
| 628 |
0x61, 0x6e, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x56, |
| 629 |
0x31, 0xca, 0x02, 0x26, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x53, 0x68, 0x6f, 0x70, 0x70, |
| 630 |
0x69, 0x6e, 0x67, 0x5c, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x5c, 0x50, 0x72, 0x6f, |
| 631 |
0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x2a, 0x47, 0x6f, 0x6f, |
| 632 |
0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x4d, |
| 633 |
0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, |
| 634 |
0x6f, 0x6e, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 635 |
} |
| 636 |
|
| 637 |
var ( |
| 638 |
file_google_shopping_merchant_promotions_v1_promotions_proto_rawDescOnce sync.Once |
| 639 |
file_google_shopping_merchant_promotions_v1_promotions_proto_rawDescData = file_google_shopping_merchant_promotions_v1_promotions_proto_rawDesc |
| 640 |
) |
| 641 |
|
| 642 |
func file_google_shopping_merchant_promotions_v1_promotions_proto_rawDescGZIP() []byte { |
| 643 |
file_google_shopping_merchant_promotions_v1_promotions_proto_rawDescOnce.Do(func() { |
| 644 |
file_google_shopping_merchant_promotions_v1_promotions_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_promotions_v1_promotions_proto_rawDescData) |
| 645 |
}) |
| 646 |
return file_google_shopping_merchant_promotions_v1_promotions_proto_rawDescData |
| 647 |
} |
| 648 |
|
| 649 |
var file_google_shopping_merchant_promotions_v1_promotions_proto_msgTypes = make([]protoimpl.MessageInfo, 5) |
| 650 |
var file_google_shopping_merchant_promotions_v1_promotions_proto_goTypes = []any{ |
| 651 |
(*Promotion)(nil), |
| 652 |
(*InsertPromotionRequest)(nil), |
| 653 |
(*GetPromotionRequest)(nil), |
| 654 |
(*ListPromotionsRequest)(nil), |
| 655 |
(*ListPromotionsResponse)(nil), |
| 656 |
(RedemptionChannel)(0), |
| 657 |
(*Attributes)(nil), |
| 658 |
(*typepb.CustomAttribute)(nil), |
| 659 |
(*PromotionStatus)(nil), |
| 660 |
} |
| 661 |
var file_google_shopping_merchant_promotions_v1_promotions_proto_depIdxs = []int32{ |
| 662 |
5, |
| 663 |
6, |
| 664 |
7, |
| 665 |
8, |
| 666 |
0, |
| 667 |
0, |
| 668 |
1, |
| 669 |
2, |
| 670 |
3, |
| 671 |
0, |
| 672 |
0, |
| 673 |
4, |
| 674 |
9, |
| 675 |
6, |
| 676 |
6, |
| 677 |
6, |
| 678 |
0, |
| 679 |
} |
| 680 |
|
| 681 |
func init() { file_google_shopping_merchant_promotions_v1_promotions_proto_init() } |
| 682 |
func file_google_shopping_merchant_promotions_v1_promotions_proto_init() { |
| 683 |
if File_google_shopping_merchant_promotions_v1_promotions_proto != nil { |
| 684 |
return |
| 685 |
} |
| 686 |
file_google_shopping_merchant_promotions_v1_promotions_common_proto_init() |
| 687 |
file_google_shopping_merchant_promotions_v1_promotions_proto_msgTypes[0].OneofWrappers = []any{} |
| 688 |
type x struct{} |
| 689 |
out := protoimpl.TypeBuilder{ |
| 690 |
File: protoimpl.DescBuilder{ |
| 691 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 692 |
RawDescriptor: file_google_shopping_merchant_promotions_v1_promotions_proto_rawDesc, |
| 693 |
NumEnums: 0, |
| 694 |
NumMessages: 5, |
| 695 |
NumExtensions: 0, |
| 696 |
NumServices: 1, |
| 697 |
}, |
| 698 |
GoTypes: file_google_shopping_merchant_promotions_v1_promotions_proto_goTypes, |
| 699 |
DependencyIndexes: file_google_shopping_merchant_promotions_v1_promotions_proto_depIdxs, |
| 700 |
MessageInfos: file_google_shopping_merchant_promotions_v1_promotions_proto_msgTypes, |
| 701 |
}.Build() |
| 702 |
File_google_shopping_merchant_promotions_v1_promotions_proto = out.File |
| 703 |
file_google_shopping_merchant_promotions_v1_promotions_proto_rawDesc = nil |
| 704 |
file_google_shopping_merchant_promotions_v1_promotions_proto_goTypes = nil |
| 705 |
file_google_shopping_merchant_promotions_v1_promotions_proto_depIdxs = nil |
| 706 |
} |
| 707 |
|
| 708 |
|
| 709 |
var _ context.Context |
| 710 |
var _ grpc.ClientConnInterface |
| 711 |
|
| 712 |
|
| 713 |
|
| 714 |
const _ = grpc.SupportPackageIsVersion6 |
| 715 |
|
| 716 |
|
| 717 |
|
| 718 |
|
| 719 |
type PromotionsServiceClient interface { |
| 720 |
|
| 721 |
|
| 722 |
InsertPromotion(ctx context.Context, in *InsertPromotionRequest, opts ...grpc.CallOption) (*Promotion, error) |
| 723 |
|
| 724 |
|
| 725 |
|
| 726 |
|
| 727 |
GetPromotion(ctx context.Context, in *GetPromotionRequest, opts ...grpc.CallOption) (*Promotion, error) |
| 728 |
|
| 729 |
|
| 730 |
|
| 731 |
|
| 732 |
|
| 733 |
|
| 734 |
ListPromotions(ctx context.Context, in *ListPromotionsRequest, opts ...grpc.CallOption) (*ListPromotionsResponse, error) |
| 735 |
} |
| 736 |
|
| 737 |
type promotionsServiceClient struct { |
| 738 |
cc grpc.ClientConnInterface |
| 739 |
} |
| 740 |
|
| 741 |
func NewPromotionsServiceClient(cc grpc.ClientConnInterface) PromotionsServiceClient { |
| 742 |
return &promotionsServiceClient{cc} |
| 743 |
} |
| 744 |
|
| 745 |
func (c *promotionsServiceClient) InsertPromotion(ctx context.Context, in *InsertPromotionRequest, opts ...grpc.CallOption) (*Promotion, error) { |
| 746 |
out := new(Promotion) |
| 747 |
err := c.cc.Invoke(ctx, "/google.shopping.merchant.promotions.v1.PromotionsService/InsertPromotion", in, out, opts...) |
| 748 |
if err != nil { |
| 749 |
return nil, err |
| 750 |
} |
| 751 |
return out, nil |
| 752 |
} |
| 753 |
|
| 754 |
func (c *promotionsServiceClient) GetPromotion(ctx context.Context, in *GetPromotionRequest, opts ...grpc.CallOption) (*Promotion, error) { |
| 755 |
out := new(Promotion) |
| 756 |
err := c.cc.Invoke(ctx, "/google.shopping.merchant.promotions.v1.PromotionsService/GetPromotion", in, out, opts...) |
| 757 |
if err != nil { |
| 758 |
return nil, err |
| 759 |
} |
| 760 |
return out, nil |
| 761 |
} |
| 762 |
|
| 763 |
func (c *promotionsServiceClient) ListPromotions(ctx context.Context, in *ListPromotionsRequest, opts ...grpc.CallOption) (*ListPromotionsResponse, error) { |
| 764 |
out := new(ListPromotionsResponse) |
| 765 |
err := c.cc.Invoke(ctx, "/google.shopping.merchant.promotions.v1.PromotionsService/ListPromotions", in, out, opts...) |
| 766 |
if err != nil { |
| 767 |
return nil, err |
| 768 |
} |
| 769 |
return out, nil |
| 770 |
} |
| 771 |
|
| 772 |
|
| 773 |
type PromotionsServiceServer interface { |
| 774 |
|
| 775 |
|
| 776 |
InsertPromotion(context.Context, *InsertPromotionRequest) (*Promotion, error) |
| 777 |
|
| 778 |
|
| 779 |
|
| 780 |
|
| 781 |
GetPromotion(context.Context, *GetPromotionRequest) (*Promotion, error) |
| 782 |
|
| 783 |
|
| 784 |
|
| 785 |
|
| 786 |
|
| 787 |
|
| 788 |
ListPromotions(context.Context, *ListPromotionsRequest) (*ListPromotionsResponse, error) |
| 789 |
} |
| 790 |
|
| 791 |
|
| 792 |
type UnimplementedPromotionsServiceServer struct { |
| 793 |
} |
| 794 |
|
| 795 |
func (*UnimplementedPromotionsServiceServer) InsertPromotion(context.Context, *InsertPromotionRequest) (*Promotion, error) { |
| 796 |
return nil, status.Errorf(codes.Unimplemented, "method InsertPromotion not implemented") |
| 797 |
} |
| 798 |
func (*UnimplementedPromotionsServiceServer) GetPromotion(context.Context, *GetPromotionRequest) (*Promotion, error) { |
| 799 |
return nil, status.Errorf(codes.Unimplemented, "method GetPromotion not implemented") |
| 800 |
} |
| 801 |
func (*UnimplementedPromotionsServiceServer) ListPromotions(context.Context, *ListPromotionsRequest) (*ListPromotionsResponse, error) { |
| 802 |
return nil, status.Errorf(codes.Unimplemented, "method ListPromotions not implemented") |
| 803 |
} |
| 804 |
|
| 805 |
func RegisterPromotionsServiceServer(s *grpc.Server, srv PromotionsServiceServer) { |
| 806 |
s.RegisterService(&_PromotionsService_serviceDesc, srv) |
| 807 |
} |
| 808 |
|
| 809 |
func _PromotionsService_InsertPromotion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 810 |
in := new(InsertPromotionRequest) |
| 811 |
if err := dec(in); err != nil { |
| 812 |
return nil, err |
| 813 |
} |
| 814 |
if interceptor == nil { |
| 815 |
return srv.(PromotionsServiceServer).InsertPromotion(ctx, in) |
| 816 |
} |
| 817 |
info := &grpc.UnaryServerInfo{ |
| 818 |
Server: srv, |
| 819 |
FullMethod: "/google.shopping.merchant.promotions.v1.PromotionsService/InsertPromotion", |
| 820 |
} |
| 821 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 822 |
return srv.(PromotionsServiceServer).InsertPromotion(ctx, req.(*InsertPromotionRequest)) |
| 823 |
} |
| 824 |
return interceptor(ctx, in, info, handler) |
| 825 |
} |
| 826 |
|
| 827 |
func _PromotionsService_GetPromotion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 828 |
in := new(GetPromotionRequest) |
| 829 |
if err := dec(in); err != nil { |
| 830 |
return nil, err |
| 831 |
} |
| 832 |
if interceptor == nil { |
| 833 |
return srv.(PromotionsServiceServer).GetPromotion(ctx, in) |
| 834 |
} |
| 835 |
info := &grpc.UnaryServerInfo{ |
| 836 |
Server: srv, |
| 837 |
FullMethod: "/google.shopping.merchant.promotions.v1.PromotionsService/GetPromotion", |
| 838 |
} |
| 839 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 840 |
return srv.(PromotionsServiceServer).GetPromotion(ctx, req.(*GetPromotionRequest)) |
| 841 |
} |
| 842 |
return interceptor(ctx, in, info, handler) |
| 843 |
} |
| 844 |
|
| 845 |
func _PromotionsService_ListPromotions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 846 |
in := new(ListPromotionsRequest) |
| 847 |
if err := dec(in); err != nil { |
| 848 |
return nil, err |
| 849 |
} |
| 850 |
if interceptor == nil { |
| 851 |
return srv.(PromotionsServiceServer).ListPromotions(ctx, in) |
| 852 |
} |
| 853 |
info := &grpc.UnaryServerInfo{ |
| 854 |
Server: srv, |
| 855 |
FullMethod: "/google.shopping.merchant.promotions.v1.PromotionsService/ListPromotions", |
| 856 |
} |
| 857 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 858 |
return srv.(PromotionsServiceServer).ListPromotions(ctx, req.(*ListPromotionsRequest)) |
| 859 |
} |
| 860 |
return interceptor(ctx, in, info, handler) |
| 861 |
} |
| 862 |
|
| 863 |
var _PromotionsService_serviceDesc = grpc.ServiceDesc{ |
| 864 |
ServiceName: "google.shopping.merchant.promotions.v1.PromotionsService", |
| 865 |
HandlerType: (*PromotionsServiceServer)(nil), |
| 866 |
Methods: []grpc.MethodDesc{ |
| 867 |
{ |
| 868 |
MethodName: "InsertPromotion", |
| 869 |
Handler: _PromotionsService_InsertPromotion_Handler, |
| 870 |
}, |
| 871 |
{ |
| 872 |
MethodName: "GetPromotion", |
| 873 |
Handler: _PromotionsService_GetPromotion_Handler, |
| 874 |
}, |
| 875 |
{ |
| 876 |
MethodName: "ListPromotions", |
| 877 |
Handler: _PromotionsService_ListPromotions_Handler, |
| 878 |
}, |
| 879 |
}, |
| 880 |
Streams: []grpc.StreamDesc{}, |
| 881 |
Metadata: "google/shopping/merchant/promotions/v1/promotions.proto", |
| 882 |
} |