| 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/issueresolution/v1/aggregateproductstatuses.proto |
| 20 |
|
| 21 |
package issueresolutionpb |
| 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 |
// 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 |
// How the issue affects the serving of the product. |
| 44 |
type AggregateProductStatus_ItemLevelIssue_Severity int32 |
| 45 |
|
| 46 |
const ( |
| 47 |
// Not specified. |
| 48 |
AggregateProductStatus_ItemLevelIssue_SEVERITY_UNSPECIFIED AggregateProductStatus_ItemLevelIssue_Severity = 0 |
| 49 |
// This issue represents a warning and does not have a direct affect |
| 50 |
// on the product. |
| 51 |
AggregateProductStatus_ItemLevelIssue_NOT_IMPACTED AggregateProductStatus_ItemLevelIssue_Severity = 1 |
| 52 |
// The product is demoted and most likely have limited performance |
| 53 |
// in search results |
| 54 |
AggregateProductStatus_ItemLevelIssue_DEMOTED AggregateProductStatus_ItemLevelIssue_Severity = 2 |
| 55 |
// Issue disapproves the product. |
| 56 |
AggregateProductStatus_ItemLevelIssue_DISAPPROVED AggregateProductStatus_ItemLevelIssue_Severity = 3 |
| 57 |
) |
| 58 |
|
| 59 |
// Enum value maps for AggregateProductStatus_ItemLevelIssue_Severity. |
| 60 |
var ( |
| 61 |
AggregateProductStatus_ItemLevelIssue_Severity_name = map[int32]string{ |
| 62 |
0: "SEVERITY_UNSPECIFIED", |
| 63 |
1: "NOT_IMPACTED", |
| 64 |
2: "DEMOTED", |
| 65 |
3: "DISAPPROVED", |
| 66 |
} |
| 67 |
AggregateProductStatus_ItemLevelIssue_Severity_value = map[string]int32{ |
| 68 |
"SEVERITY_UNSPECIFIED": 0, |
| 69 |
"NOT_IMPACTED": 1, |
| 70 |
"DEMOTED": 2, |
| 71 |
"DISAPPROVED": 3, |
| 72 |
} |
| 73 |
) |
| 74 |
|
| 75 |
func (x AggregateProductStatus_ItemLevelIssue_Severity) Enum() *AggregateProductStatus_ItemLevelIssue_Severity { |
| 76 |
p := new(AggregateProductStatus_ItemLevelIssue_Severity) |
| 77 |
*p = x |
| 78 |
return p |
| 79 |
} |
| 80 |
|
| 81 |
func (x AggregateProductStatus_ItemLevelIssue_Severity) String() string { |
| 82 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 83 |
} |
| 84 |
|
| 85 |
func (AggregateProductStatus_ItemLevelIssue_Severity) Descriptor() protoreflect.EnumDescriptor { |
| 86 |
return file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_enumTypes[0].Descriptor() |
| 87 |
} |
| 88 |
|
| 89 |
func (AggregateProductStatus_ItemLevelIssue_Severity) Type() protoreflect.EnumType { |
| 90 |
return &file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_enumTypes[0] |
| 91 |
} |
| 92 |
|
| 93 |
func (x AggregateProductStatus_ItemLevelIssue_Severity) Number() protoreflect.EnumNumber { |
| 94 |
return protoreflect.EnumNumber(x) |
| 95 |
} |
| 96 |
|
| 97 |
// Deprecated: Use AggregateProductStatus_ItemLevelIssue_Severity.Descriptor instead. |
| 98 |
func (AggregateProductStatus_ItemLevelIssue_Severity) EnumDescriptor() ([]byte, []int) { |
| 99 |
return file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_rawDescGZIP(), []int{2, 1, 0} |
| 100 |
} |
| 101 |
|
| 102 |
// How the issue can be resolved. |
| 103 |
type AggregateProductStatus_ItemLevelIssue_Resolution int32 |
| 104 |
|
| 105 |
const ( |
| 106 |
// Not specified. |
| 107 |
AggregateProductStatus_ItemLevelIssue_RESOLUTION_UNSPECIFIED AggregateProductStatus_ItemLevelIssue_Resolution = 0 |
| 108 |
// The issue can be resolved by the merchant. |
| 109 |
AggregateProductStatus_ItemLevelIssue_MERCHANT_ACTION AggregateProductStatus_ItemLevelIssue_Resolution = 1 |
| 110 |
// The issue will be resolved auomatically. |
| 111 |
AggregateProductStatus_ItemLevelIssue_PENDING_PROCESSING AggregateProductStatus_ItemLevelIssue_Resolution = 2 |
| 112 |
) |
| 113 |
|
| 114 |
// Enum value maps for AggregateProductStatus_ItemLevelIssue_Resolution. |
| 115 |
var ( |
| 116 |
AggregateProductStatus_ItemLevelIssue_Resolution_name = map[int32]string{ |
| 117 |
0: "RESOLUTION_UNSPECIFIED", |
| 118 |
1: "MERCHANT_ACTION", |
| 119 |
2: "PENDING_PROCESSING", |
| 120 |
} |
| 121 |
AggregateProductStatus_ItemLevelIssue_Resolution_value = map[string]int32{ |
| 122 |
"RESOLUTION_UNSPECIFIED": 0, |
| 123 |
"MERCHANT_ACTION": 1, |
| 124 |
"PENDING_PROCESSING": 2, |
| 125 |
} |
| 126 |
) |
| 127 |
|
| 128 |
func (x AggregateProductStatus_ItemLevelIssue_Resolution) Enum() *AggregateProductStatus_ItemLevelIssue_Resolution { |
| 129 |
p := new(AggregateProductStatus_ItemLevelIssue_Resolution) |
| 130 |
*p = x |
| 131 |
return p |
| 132 |
} |
| 133 |
|
| 134 |
func (x AggregateProductStatus_ItemLevelIssue_Resolution) String() string { |
| 135 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 136 |
} |
| 137 |
|
| 138 |
func (AggregateProductStatus_ItemLevelIssue_Resolution) Descriptor() protoreflect.EnumDescriptor { |
| 139 |
return file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_enumTypes[1].Descriptor() |
| 140 |
} |
| 141 |
|
| 142 |
func (AggregateProductStatus_ItemLevelIssue_Resolution) Type() protoreflect.EnumType { |
| 143 |
return &file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_enumTypes[1] |
| 144 |
} |
| 145 |
|
| 146 |
func (x AggregateProductStatus_ItemLevelIssue_Resolution) Number() protoreflect.EnumNumber { |
| 147 |
return protoreflect.EnumNumber(x) |
| 148 |
} |
| 149 |
|
| 150 |
// Deprecated: Use AggregateProductStatus_ItemLevelIssue_Resolution.Descriptor instead. |
| 151 |
func (AggregateProductStatus_ItemLevelIssue_Resolution) EnumDescriptor() ([]byte, []int) { |
| 152 |
return file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_rawDescGZIP(), []int{2, 1, 1} |
| 153 |
} |
| 154 |
|
| 155 |
// Request message for the `ListAggregateProductStatuses` method. |
| 156 |
type ListAggregateProductStatusesRequest struct { |
| 157 |
state protoimpl.MessageState |
| 158 |
sizeCache protoimpl.SizeCache |
| 159 |
unknownFields protoimpl.UnknownFields |
| 160 |
|
| 161 |
// Required. The account to list aggregate product statuses for. |
| 162 |
// Format: `accounts/{account}` |
| 163 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 164 |
// Optional. The maximum number of aggregate product statuses to return. The |
| 165 |
// service may return fewer than this value. If unspecified, at most 25 |
| 166 |
// aggregate product statuses are returned. The maximum value is 250; values |
| 167 |
// above 250 are coerced to 250. |
| 168 |
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| 169 |
// Optional. A page token, received from a previous |
| 170 |
// `ListAggregateProductStatuses` call. Provide this to retrieve the |
| 171 |
// subsequent page. |
| 172 |
// |
| 173 |
// When paginating, all other parameters provided to |
| 174 |
// `ListAggregateProductStatuses` must match the call that provided the page |
| 175 |
// token. |
| 176 |
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| 177 |
// Optional. A filter expression that filters the aggregate product statuses. |
| 178 |
// Filtering is only supported by the `reporting_context` and `country` field. |
| 179 |
// For example: `reporting_context = "SHOPPING_ADS" AND country = "US"`. |
| 180 |
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` |
| 181 |
} |
| 182 |
|
| 183 |
func (x *ListAggregateProductStatusesRequest) Reset() { |
| 184 |
*x = ListAggregateProductStatusesRequest{} |
| 185 |
mi := &file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_msgTypes[0] |
| 186 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 187 |
ms.StoreMessageInfo(mi) |
| 188 |
} |
| 189 |
|
| 190 |
func (x *ListAggregateProductStatusesRequest) String() string { |
| 191 |
return protoimpl.X.MessageStringOf(x) |
| 192 |
} |
| 193 |
|
| 194 |
func (*ListAggregateProductStatusesRequest) ProtoMessage() {} |
| 195 |
|
| 196 |
func (x *ListAggregateProductStatusesRequest) ProtoReflect() protoreflect.Message { |
| 197 |
mi := &file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_msgTypes[0] |
| 198 |
if x != nil { |
| 199 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 200 |
if ms.LoadMessageInfo() == nil { |
| 201 |
ms.StoreMessageInfo(mi) |
| 202 |
} |
| 203 |
return ms |
| 204 |
} |
| 205 |
return mi.MessageOf(x) |
| 206 |
} |
| 207 |
|
| 208 |
// Deprecated: Use ListAggregateProductStatusesRequest.ProtoReflect.Descriptor instead. |
| 209 |
func (*ListAggregateProductStatusesRequest) Descriptor() ([]byte, []int) { |
| 210 |
return file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_rawDescGZIP(), []int{0} |
| 211 |
} |
| 212 |
|
| 213 |
func (x *ListAggregateProductStatusesRequest) GetParent() string { |
| 214 |
if x != nil { |
| 215 |
return x.Parent |
| 216 |
} |
| 217 |
return "" |
| 218 |
} |
| 219 |
|
| 220 |
func (x *ListAggregateProductStatusesRequest) GetPageSize() int32 { |
| 221 |
if x != nil { |
| 222 |
return x.PageSize |
| 223 |
} |
| 224 |
return 0 |
| 225 |
} |
| 226 |
|
| 227 |
func (x *ListAggregateProductStatusesRequest) GetPageToken() string { |
| 228 |
if x != nil { |
| 229 |
return x.PageToken |
| 230 |
} |
| 231 |
return "" |
| 232 |
} |
| 233 |
|
| 234 |
func (x *ListAggregateProductStatusesRequest) GetFilter() string { |
| 235 |
if x != nil { |
| 236 |
return x.Filter |
| 237 |
} |
| 238 |
return "" |
| 239 |
} |
| 240 |
|
| 241 |
// Response message for the `ListAggregateProductStatuses` method. |
| 242 |
type ListAggregateProductStatusesResponse struct { |
| 243 |
state protoimpl.MessageState |
| 244 |
sizeCache protoimpl.SizeCache |
| 245 |
unknownFields protoimpl.UnknownFields |
| 246 |
|
| 247 |
// The `AggregateProductStatuses` resources for the given account. |
| 248 |
AggregateProductStatuses []*AggregateProductStatus `protobuf:"bytes,1,rep,name=aggregate_product_statuses,json=aggregateProductStatuses,proto3" json:"aggregate_product_statuses,omitempty"` |
| 249 |
// A token, which can be sent as `pageToken` to retrieve the next page. |
| 250 |
// If this field is omitted, there are no subsequent pages. |
| 251 |
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| 252 |
} |
| 253 |
|
| 254 |
func (x *ListAggregateProductStatusesResponse) Reset() { |
| 255 |
*x = ListAggregateProductStatusesResponse{} |
| 256 |
mi := &file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_msgTypes[1] |
| 257 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 258 |
ms.StoreMessageInfo(mi) |
| 259 |
} |
| 260 |
|
| 261 |
func (x *ListAggregateProductStatusesResponse) String() string { |
| 262 |
return protoimpl.X.MessageStringOf(x) |
| 263 |
} |
| 264 |
|
| 265 |
func (*ListAggregateProductStatusesResponse) ProtoMessage() {} |
| 266 |
|
| 267 |
func (x *ListAggregateProductStatusesResponse) ProtoReflect() protoreflect.Message { |
| 268 |
mi := &file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_msgTypes[1] |
| 269 |
if x != nil { |
| 270 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 271 |
if ms.LoadMessageInfo() == nil { |
| 272 |
ms.StoreMessageInfo(mi) |
| 273 |
} |
| 274 |
return ms |
| 275 |
} |
| 276 |
return mi.MessageOf(x) |
| 277 |
} |
| 278 |
|
| 279 |
// Deprecated: Use ListAggregateProductStatusesResponse.ProtoReflect.Descriptor instead. |
| 280 |
func (*ListAggregateProductStatusesResponse) Descriptor() ([]byte, []int) { |
| 281 |
return file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_rawDescGZIP(), []int{1} |
| 282 |
} |
| 283 |
|
| 284 |
func (x *ListAggregateProductStatusesResponse) GetAggregateProductStatuses() []*AggregateProductStatus { |
| 285 |
if x != nil { |
| 286 |
return x.AggregateProductStatuses |
| 287 |
} |
| 288 |
return nil |
| 289 |
} |
| 290 |
|
| 291 |
func (x *ListAggregateProductStatusesResponse) GetNextPageToken() string { |
| 292 |
if x != nil { |
| 293 |
return x.NextPageToken |
| 294 |
} |
| 295 |
return "" |
| 296 |
} |
| 297 |
|
| 298 |
// Aggregate product statuses for a given reporting context and country. |
| 299 |
type AggregateProductStatus struct { |
| 300 |
state protoimpl.MessageState |
| 301 |
sizeCache protoimpl.SizeCache |
| 302 |
unknownFields protoimpl.UnknownFields |
| 303 |
|
| 304 |
// Identifier. The name of the `AggregateProductStatuses` resource. |
| 305 |
// Format: |
| 306 |
// `accounts/{account}/aggregateProductStatuses/{aggregateProductStatuses}` |
| 307 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 308 |
// The reporting context of the aggregate product statuses. |
| 309 |
ReportingContext typepb.ReportingContext_ReportingContextEnum `protobuf:"varint,3,opt,name=reporting_context,json=reportingContext,proto3,enum=google.shopping.type.ReportingContext_ReportingContextEnum" json:"reporting_context,omitempty"` |
| 310 |
// The country of the aggregate product statuses. Represented as a |
| 311 |
// [CLDR territory |
| 312 |
// code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml). |
| 313 |
Country string `protobuf:"bytes,4,opt,name=country,proto3" json:"country,omitempty"` |
| 314 |
// Products statistics for the given reporting context and country. |
| 315 |
Stats *AggregateProductStatus_Stats `protobuf:"bytes,5,opt,name=stats,proto3" json:"stats,omitempty"` |
| 316 |
// The product issues that affect the given reporting context and country. |
| 317 |
ItemLevelIssues []*AggregateProductStatus_ItemLevelIssue `protobuf:"bytes,6,rep,name=item_level_issues,json=itemLevelIssues,proto3" json:"item_level_issues,omitempty"` |
| 318 |
} |
| 319 |
|
| 320 |
func (x *AggregateProductStatus) Reset() { |
| 321 |
*x = AggregateProductStatus{} |
| 322 |
mi := &file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_msgTypes[2] |
| 323 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 324 |
ms.StoreMessageInfo(mi) |
| 325 |
} |
| 326 |
|
| 327 |
func (x *AggregateProductStatus) String() string { |
| 328 |
return protoimpl.X.MessageStringOf(x) |
| 329 |
} |
| 330 |
|
| 331 |
func (*AggregateProductStatus) ProtoMessage() {} |
| 332 |
|
| 333 |
func (x *AggregateProductStatus) ProtoReflect() protoreflect.Message { |
| 334 |
mi := &file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_msgTypes[2] |
| 335 |
if x != nil { |
| 336 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 337 |
if ms.LoadMessageInfo() == nil { |
| 338 |
ms.StoreMessageInfo(mi) |
| 339 |
} |
| 340 |
return ms |
| 341 |
} |
| 342 |
return mi.MessageOf(x) |
| 343 |
} |
| 344 |
|
| 345 |
// Deprecated: Use AggregateProductStatus.ProtoReflect.Descriptor instead. |
| 346 |
func (*AggregateProductStatus) Descriptor() ([]byte, []int) { |
| 347 |
return file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_rawDescGZIP(), []int{2} |
| 348 |
} |
| 349 |
|
| 350 |
func (x *AggregateProductStatus) GetName() string { |
| 351 |
if x != nil { |
| 352 |
return x.Name |
| 353 |
} |
| 354 |
return "" |
| 355 |
} |
| 356 |
|
| 357 |
func (x *AggregateProductStatus) GetReportingContext() typepb.ReportingContext_ReportingContextEnum { |
| 358 |
if x != nil { |
| 359 |
return x.ReportingContext |
| 360 |
} |
| 361 |
return typepb.ReportingContext_ReportingContextEnum(0) |
| 362 |
} |
| 363 |
|
| 364 |
func (x *AggregateProductStatus) GetCountry() string { |
| 365 |
if x != nil { |
| 366 |
return x.Country |
| 367 |
} |
| 368 |
return "" |
| 369 |
} |
| 370 |
|
| 371 |
func (x *AggregateProductStatus) GetStats() *AggregateProductStatus_Stats { |
| 372 |
if x != nil { |
| 373 |
return x.Stats |
| 374 |
} |
| 375 |
return nil |
| 376 |
} |
| 377 |
|
| 378 |
func (x *AggregateProductStatus) GetItemLevelIssues() []*AggregateProductStatus_ItemLevelIssue { |
| 379 |
if x != nil { |
| 380 |
return x.ItemLevelIssues |
| 381 |
} |
| 382 |
return nil |
| 383 |
} |
| 384 |
|
| 385 |
// Products statistics. |
| 386 |
type AggregateProductStatus_Stats struct { |
| 387 |
state protoimpl.MessageState |
| 388 |
sizeCache protoimpl.SizeCache |
| 389 |
unknownFields protoimpl.UnknownFields |
| 390 |
|
| 391 |
// The number of products that are active. |
| 392 |
ActiveCount int64 `protobuf:"varint,1,opt,name=active_count,json=activeCount,proto3" json:"active_count,omitempty"` |
| 393 |
// The number of products that are pending. |
| 394 |
PendingCount int64 `protobuf:"varint,2,opt,name=pending_count,json=pendingCount,proto3" json:"pending_count,omitempty"` |
| 395 |
// The number of products that are disapproved. |
| 396 |
DisapprovedCount int64 `protobuf:"varint,3,opt,name=disapproved_count,json=disapprovedCount,proto3" json:"disapproved_count,omitempty"` |
| 397 |
// The number of products that are expiring. |
| 398 |
ExpiringCount int64 `protobuf:"varint,4,opt,name=expiring_count,json=expiringCount,proto3" json:"expiring_count,omitempty"` |
| 399 |
} |
| 400 |
|
| 401 |
func (x *AggregateProductStatus_Stats) Reset() { |
| 402 |
*x = AggregateProductStatus_Stats{} |
| 403 |
mi := &file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_msgTypes[3] |
| 404 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 405 |
ms.StoreMessageInfo(mi) |
| 406 |
} |
| 407 |
|
| 408 |
func (x *AggregateProductStatus_Stats) String() string { |
| 409 |
return protoimpl.X.MessageStringOf(x) |
| 410 |
} |
| 411 |
|
| 412 |
func (*AggregateProductStatus_Stats) ProtoMessage() {} |
| 413 |
|
| 414 |
func (x *AggregateProductStatus_Stats) ProtoReflect() protoreflect.Message { |
| 415 |
mi := &file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_msgTypes[3] |
| 416 |
if x != nil { |
| 417 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 418 |
if ms.LoadMessageInfo() == nil { |
| 419 |
ms.StoreMessageInfo(mi) |
| 420 |
} |
| 421 |
return ms |
| 422 |
} |
| 423 |
return mi.MessageOf(x) |
| 424 |
} |
| 425 |
|
| 426 |
// Deprecated: Use AggregateProductStatus_Stats.ProtoReflect.Descriptor instead. |
| 427 |
func (*AggregateProductStatus_Stats) Descriptor() ([]byte, []int) { |
| 428 |
return file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_rawDescGZIP(), []int{2, 0} |
| 429 |
} |
| 430 |
|
| 431 |
func (x *AggregateProductStatus_Stats) GetActiveCount() int64 { |
| 432 |
if x != nil { |
| 433 |
return x.ActiveCount |
| 434 |
} |
| 435 |
return 0 |
| 436 |
} |
| 437 |
|
| 438 |
func (x *AggregateProductStatus_Stats) GetPendingCount() int64 { |
| 439 |
if x != nil { |
| 440 |
return x.PendingCount |
| 441 |
} |
| 442 |
return 0 |
| 443 |
} |
| 444 |
|
| 445 |
func (x *AggregateProductStatus_Stats) GetDisapprovedCount() int64 { |
| 446 |
if x != nil { |
| 447 |
return x.DisapprovedCount |
| 448 |
} |
| 449 |
return 0 |
| 450 |
} |
| 451 |
|
| 452 |
func (x *AggregateProductStatus_Stats) GetExpiringCount() int64 { |
| 453 |
if x != nil { |
| 454 |
return x.ExpiringCount |
| 455 |
} |
| 456 |
return 0 |
| 457 |
} |
| 458 |
|
| 459 |
// The ItemLevelIssue of the product status. |
| 460 |
type AggregateProductStatus_ItemLevelIssue struct { |
| 461 |
state protoimpl.MessageState |
| 462 |
sizeCache protoimpl.SizeCache |
| 463 |
unknownFields protoimpl.UnknownFields |
| 464 |
|
| 465 |
// The error code of the issue. |
| 466 |
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` |
| 467 |
// How this issue affects serving of the offer. |
| 468 |
Severity AggregateProductStatus_ItemLevelIssue_Severity `protobuf:"varint,2,opt,name=severity,proto3,enum=google.shopping.merchant.issueresolution.v1.AggregateProductStatus_ItemLevelIssue_Severity" json:"severity,omitempty"` |
| 469 |
// Whether the issue can be resolved by the merchant. |
| 470 |
Resolution AggregateProductStatus_ItemLevelIssue_Resolution `protobuf:"varint,3,opt,name=resolution,proto3,enum=google.shopping.merchant.issueresolution.v1.AggregateProductStatus_ItemLevelIssue_Resolution" json:"resolution,omitempty"` |
| 471 |
// The attribute's name, if the issue is caused by a single attribute. |
| 472 |
Attribute string `protobuf:"bytes,4,opt,name=attribute,proto3" json:"attribute,omitempty"` |
| 473 |
// A short issue description in English. |
| 474 |
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` |
| 475 |
// A detailed issue description in English. |
| 476 |
Detail string `protobuf:"bytes,7,opt,name=detail,proto3" json:"detail,omitempty"` |
| 477 |
// The URL of a web page to help with resolving this issue. |
| 478 |
DocumentationUri string `protobuf:"bytes,8,opt,name=documentation_uri,json=documentationUri,proto3" json:"documentation_uri,omitempty"` |
| 479 |
// The number of products affected by this issue. |
| 480 |
ProductCount int64 `protobuf:"varint,9,opt,name=product_count,json=productCount,proto3" json:"product_count,omitempty"` |
| 481 |
} |
| 482 |
|
| 483 |
func (x *AggregateProductStatus_ItemLevelIssue) Reset() { |
| 484 |
*x = AggregateProductStatus_ItemLevelIssue{} |
| 485 |
mi := &file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_msgTypes[4] |
| 486 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 487 |
ms.StoreMessageInfo(mi) |
| 488 |
} |
| 489 |
|
| 490 |
func (x *AggregateProductStatus_ItemLevelIssue) String() string { |
| 491 |
return protoimpl.X.MessageStringOf(x) |
| 492 |
} |
| 493 |
|
| 494 |
func (*AggregateProductStatus_ItemLevelIssue) ProtoMessage() {} |
| 495 |
|
| 496 |
func (x *AggregateProductStatus_ItemLevelIssue) ProtoReflect() protoreflect.Message { |
| 497 |
mi := &file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_msgTypes[4] |
| 498 |
if x != nil { |
| 499 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 500 |
if ms.LoadMessageInfo() == nil { |
| 501 |
ms.StoreMessageInfo(mi) |
| 502 |
} |
| 503 |
return ms |
| 504 |
} |
| 505 |
return mi.MessageOf(x) |
| 506 |
} |
| 507 |
|
| 508 |
// Deprecated: Use AggregateProductStatus_ItemLevelIssue.ProtoReflect.Descriptor instead. |
| 509 |
func (*AggregateProductStatus_ItemLevelIssue) Descriptor() ([]byte, []int) { |
| 510 |
return file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_rawDescGZIP(), []int{2, 1} |
| 511 |
} |
| 512 |
|
| 513 |
func (x *AggregateProductStatus_ItemLevelIssue) GetCode() string { |
| 514 |
if x != nil { |
| 515 |
return x.Code |
| 516 |
} |
| 517 |
return "" |
| 518 |
} |
| 519 |
|
| 520 |
func (x *AggregateProductStatus_ItemLevelIssue) GetSeverity() AggregateProductStatus_ItemLevelIssue_Severity { |
| 521 |
if x != nil { |
| 522 |
return x.Severity |
| 523 |
} |
| 524 |
return AggregateProductStatus_ItemLevelIssue_SEVERITY_UNSPECIFIED |
| 525 |
} |
| 526 |
|
| 527 |
func (x *AggregateProductStatus_ItemLevelIssue) GetResolution() AggregateProductStatus_ItemLevelIssue_Resolution { |
| 528 |
if x != nil { |
| 529 |
return x.Resolution |
| 530 |
} |
| 531 |
return AggregateProductStatus_ItemLevelIssue_RESOLUTION_UNSPECIFIED |
| 532 |
} |
| 533 |
|
| 534 |
func (x *AggregateProductStatus_ItemLevelIssue) GetAttribute() string { |
| 535 |
if x != nil { |
| 536 |
return x.Attribute |
| 537 |
} |
| 538 |
return "" |
| 539 |
} |
| 540 |
|
| 541 |
func (x *AggregateProductStatus_ItemLevelIssue) GetDescription() string { |
| 542 |
if x != nil { |
| 543 |
return x.Description |
| 544 |
} |
| 545 |
return "" |
| 546 |
} |
| 547 |
|
| 548 |
func (x *AggregateProductStatus_ItemLevelIssue) GetDetail() string { |
| 549 |
if x != nil { |
| 550 |
return x.Detail |
| 551 |
} |
| 552 |
return "" |
| 553 |
} |
| 554 |
|
| 555 |
func (x *AggregateProductStatus_ItemLevelIssue) GetDocumentationUri() string { |
| 556 |
if x != nil { |
| 557 |
return x.DocumentationUri |
| 558 |
} |
| 559 |
return "" |
| 560 |
} |
| 561 |
|
| 562 |
func (x *AggregateProductStatus_ItemLevelIssue) GetProductCount() int64 { |
| 563 |
if x != nil { |
| 564 |
return x.ProductCount |
| 565 |
} |
| 566 |
return 0 |
| 567 |
} |
| 568 |
|
| 569 |
var File_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto protoreflect.FileDescriptor |
| 570 |
|
| 571 |
var file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_rawDesc = []byte{ |
| 572 |
0x0a, 0x4a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, |
| 573 |
0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x69, 0x73, 0x73, 0x75, 0x65, |
| 574 |
0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x67, |
| 575 |
0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, |
| 576 |
0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2b, 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, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x65, 0x73, 0x6f, |
| 579 |
0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 580 |
0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 581 |
0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, |
| 582 |
0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 583 |
0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, |
| 584 |
0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 585 |
0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, |
| 586 |
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, |
| 587 |
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x79, |
| 588 |
0x70, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdb, |
| 589 |
0x01, 0x0a, 0x23, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, |
| 590 |
0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x52, |
| 591 |
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x51, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, |
| 592 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x39, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x33, 0x12, 0x31, |
| 593 |
0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 594 |
0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x67, 0x67, 0x72, 0x65, |
| 595 |
0x67, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, |
| 596 |
0x73, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x70, 0x61, 0x67, |
| 597 |
0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, |
| 598 |
0x01, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x70, |
| 599 |
0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, |
| 600 |
0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, |
| 601 |
0x1b, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, |
| 602 |
0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0xd2, 0x01, 0x0a, |
| 603 |
0x24, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x50, 0x72, |
| 604 |
0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, |
| 605 |
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x81, 0x01, 0x0a, 0x1a, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, |
| 606 |
0x61, 0x74, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, |
| 607 |
0x75, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x67, 0x6f, 0x6f, |
| 608 |
0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, |
| 609 |
0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x65, 0x73, 0x6f, 0x6c, |
| 610 |
0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, |
| 611 |
0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, |
| 612 |
0x18, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, |
| 613 |
0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, |
| 614 |
0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, |
| 615 |
0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, |
| 616 |
0x6e, 0x22, 0xe6, 0x0a, 0x0a, 0x16, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x50, |
| 617 |
0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x17, 0x0a, 0x04, |
| 618 |
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08, 0x52, |
| 619 |
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x68, 0x0a, 0x11, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, |
| 620 |
0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, |
| 621 |
0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, |
| 622 |
0x6e, 0x67, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, |
| 623 |
0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, |
| 624 |
0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x10, 0x72, |
| 625 |
0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, |
| 626 |
0x18, 0x0a, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, |
| 627 |
0x52, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x5f, 0x0a, 0x05, 0x73, 0x74, 0x61, |
| 628 |
0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x49, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 629 |
0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, |
| 630 |
0x61, 0x6e, 0x74, 0x2e, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, |
| 631 |
0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, |
| 632 |
0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74, |
| 633 |
0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x12, 0x7e, 0x0a, 0x11, 0x69, 0x74, |
| 634 |
0x65, 0x6d, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x73, 0x18, |
| 635 |
0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x52, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, |
| 636 |
0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, |
| 637 |
0x2e, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, |
| 638 |
0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, |
| 639 |
0x64, 0x75, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x4c, |
| 640 |
0x65, 0x76, 0x65, 0x6c, 0x49, 0x73, 0x73, 0x75, 0x65, 0x52, 0x0f, 0x69, 0x74, 0x65, 0x6d, 0x4c, |
| 641 |
0x65, 0x76, 0x65, 0x6c, 0x49, 0x73, 0x73, 0x75, 0x65, 0x73, 0x1a, 0xa3, 0x01, 0x0a, 0x05, 0x53, |
| 642 |
0x74, 0x61, 0x74, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, |
| 643 |
0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x61, 0x63, 0x74, 0x69, |
| 644 |
0x76, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x65, 0x6e, 0x64, 0x69, |
| 645 |
0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, |
| 646 |
0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x11, |
| 647 |
0x64, 0x69, 0x73, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x75, 0x6e, |
| 648 |
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x64, 0x69, 0x73, 0x61, 0x70, 0x70, 0x72, |
| 649 |
0x6f, 0x76, 0x65, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x70, |
| 650 |
0x69, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, |
| 651 |
0x03, 0x52, 0x0d, 0x65, 0x78, 0x70, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x75, 0x6e, 0x74, |
| 652 |
0x1a, 0xf3, 0x04, 0x0a, 0x0e, 0x49, 0x74, 0x65, 0x6d, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x73, |
| 653 |
0x73, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 654 |
0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x77, 0x0a, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, |
| 655 |
0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x5b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 656 |
0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, |
| 657 |
0x68, 0x61, 0x6e, 0x74, 0x2e, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, |
| 658 |
0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, |
| 659 |
0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x49, |
| 660 |
0x74, 0x65, 0x6d, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x73, 0x73, 0x75, 0x65, 0x2e, 0x53, 0x65, |
| 661 |
0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, |
| 662 |
0x12, 0x7d, 0x0a, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, |
| 663 |
0x20, 0x01, 0x28, 0x0e, 0x32, 0x5d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, |
| 664 |
0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, |
| 665 |
0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, |
| 666 |
0x76, 0x31, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, |
| 667 |
0x75, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x4c, 0x65, |
| 668 |
0x76, 0x65, 0x6c, 0x49, 0x73, 0x73, 0x75, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, |
| 669 |
0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, |
| 670 |
0x1c, 0x0a, 0x09, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, |
| 671 |
0x28, 0x09, 0x52, 0x09, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x20, 0x0a, |
| 672 |
0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, |
| 673 |
0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, |
| 674 |
0x16, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 675 |
0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x2b, 0x0a, 0x11, 0x64, 0x6f, 0x63, 0x75, 0x6d, |
| 676 |
0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x08, 0x20, 0x01, |
| 677 |
0x28, 0x09, 0x52, 0x10, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, |
| 678 |
0x6e, 0x55, 0x72, 0x69, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, |
| 679 |
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x70, 0x72, 0x6f, |
| 680 |
0x64, 0x75, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x54, 0x0a, 0x08, 0x53, 0x65, 0x76, |
| 681 |
0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, |
| 682 |
0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, |
| 683 |
0x10, 0x0a, 0x0c, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4d, 0x50, 0x41, 0x43, 0x54, 0x45, 0x44, 0x10, |
| 684 |
0x01, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x4d, 0x4f, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0f, |
| 685 |
0x0a, 0x0b, 0x44, 0x49, 0x53, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x03, 0x22, |
| 686 |
0x55, 0x0a, 0x0a, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, |
| 687 |
0x16, 0x52, 0x45, 0x53, 0x4f, 0x4c, 0x55, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, |
| 688 |
0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x4d, 0x45, 0x52, |
| 689 |
0x43, 0x48, 0x41, 0x4e, 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x16, |
| 690 |
0x0a, 0x12, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x52, 0x4f, 0x43, 0x45, 0x53, |
| 691 |
0x53, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x3a, 0xb1, 0x01, 0xea, 0x41, 0xad, 0x01, 0x0a, 0x31, 0x6d, |
| 692 |
0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 693 |
0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, |
| 694 |
0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, |
| 695 |
0x12, 0x46, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, |
| 696 |
0x75, 0x6e, 0x74, 0x7d, 0x2f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x50, 0x72, |
| 697 |
0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x2f, 0x7b, 0x61, |
| 698 |
0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, |
| 699 |
0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x7d, 0x2a, 0x18, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, |
| 700 |
0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, |
| 701 |
0x65, 0x73, 0x32, 0x16, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, |
| 702 |
0x64, 0x75, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x32, 0x83, 0x03, 0x0a, 0x1f, 0x41, |
| 703 |
0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, |
| 704 |
0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x96, |
| 705 |
0x02, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, |
| 706 |
0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x12, |
| 707 |
0x50, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, |
| 708 |
0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x69, 0x73, 0x73, 0x75, 0x65, |
| 709 |
0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, |
| 710 |
0x73, 0x74, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, |
| 711 |
0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
| 712 |
0x74, 0x1a, 0x51, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, |
| 713 |
0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x69, 0x73, 0x73, |
| 714 |
0x75, 0x65, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, |
| 715 |
0x4c, 0x69, 0x73, 0x74, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, |
| 716 |
0x64, 0x75, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, |
| 717 |
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x51, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, |
| 718 |
0xd3, 0xe4, 0x93, 0x02, 0x42, 0x12, 0x40, 0x2f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x65, 0x73, |
| 719 |
0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, |
| 720 |
0x6e, 0x74, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, |
| 721 |
0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, |
| 722 |
0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x1a, 0x47, 0xca, 0x41, 0x1a, 0x6d, 0x65, 0x72, 0x63, |
| 723 |
0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, |
| 724 |
0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x27, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, |
| 725 |
0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, |
| 726 |
0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, |
| 727 |
0x42, 0xc1, 0x02, 0x0a, 0x2f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 728 |
0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, |
| 729 |
0x74, 0x2e, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, |
| 730 |
0x6e, 0x2e, 0x76, 0x31, 0x42, 0x1d, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x50, |
| 731 |
0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x50, 0x72, |
| 732 |
0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, |
| 733 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, |
| 734 |
0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x69, 0x73, 0x73, |
| 735 |
0x75, 0x65, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x69, |
| 736 |
0x76, 0x31, 0x2f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, |
| 737 |
0x6f, 0x6e, 0x70, 0x62, 0x3b, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, |
| 738 |
0x74, 0x69, 0x6f, 0x6e, 0x70, 0x62, 0xaa, 0x02, 0x2b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 739 |
0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, |
| 740 |
0x74, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, |
| 741 |
0x6e, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x2b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x53, 0x68, |
| 742 |
0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5c, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x5c, |
| 743 |
0x49, 0x73, 0x73, 0x75, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5c, |
| 744 |
0x56, 0x31, 0xea, 0x02, 0x2f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x53, 0x68, 0x6f, |
| 745 |
0x70, 0x70, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x3a, |
| 746 |
0x3a, 0x49, 0x73, 0x73, 0x75, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, |
| 747 |
0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 748 |
} |
| 749 |
|
| 750 |
var ( |
| 751 |
file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_rawDescOnce sync.Once |
| 752 |
file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_rawDescData = file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_rawDesc |
| 753 |
) |
| 754 |
|
| 755 |
func file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_rawDescGZIP() []byte { |
| 756 |
file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_rawDescOnce.Do(func() { |
| 757 |
file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_rawDescData) |
| 758 |
}) |
| 759 |
return file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_rawDescData |
| 760 |
} |
| 761 |
|
| 762 |
var file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_enumTypes = make([]protoimpl.EnumInfo, 2) |
| 763 |
var file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_msgTypes = make([]protoimpl.MessageInfo, 5) |
| 764 |
var file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_goTypes = []any{ |
| 765 |
(AggregateProductStatus_ItemLevelIssue_Severity)(0), // 0: google.shopping.merchant.issueresolution.v1.AggregateProductStatus.ItemLevelIssue.Severity |
| 766 |
(AggregateProductStatus_ItemLevelIssue_Resolution)(0), // 1: google.shopping.merchant.issueresolution.v1.AggregateProductStatus.ItemLevelIssue.Resolution |
| 767 |
(*ListAggregateProductStatusesRequest)(nil), // 2: google.shopping.merchant.issueresolution.v1.ListAggregateProductStatusesRequest |
| 768 |
(*ListAggregateProductStatusesResponse)(nil), // 3: google.shopping.merchant.issueresolution.v1.ListAggregateProductStatusesResponse |
| 769 |
(*AggregateProductStatus)(nil), // 4: google.shopping.merchant.issueresolution.v1.AggregateProductStatus |
| 770 |
(*AggregateProductStatus_Stats)(nil), // 5: google.shopping.merchant.issueresolution.v1.AggregateProductStatus.Stats |
| 771 |
(*AggregateProductStatus_ItemLevelIssue)(nil), // 6: google.shopping.merchant.issueresolution.v1.AggregateProductStatus.ItemLevelIssue |
| 772 |
(typepb.ReportingContext_ReportingContextEnum)(0), // 7: google.shopping.type.ReportingContext.ReportingContextEnum |
| 773 |
} |
| 774 |
var file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_depIdxs = []int32{ |
| 775 |
4, // 0: google.shopping.merchant.issueresolution.v1.ListAggregateProductStatusesResponse.aggregate_product_statuses:type_name -> google.shopping.merchant.issueresolution.v1.AggregateProductStatus |
| 776 |
7, // 1: google.shopping.merchant.issueresolution.v1.AggregateProductStatus.reporting_context:type_name -> google.shopping.type.ReportingContext.ReportingContextEnum |
| 777 |
5, // 2: google.shopping.merchant.issueresolution.v1.AggregateProductStatus.stats:type_name -> google.shopping.merchant.issueresolution.v1.AggregateProductStatus.Stats |
| 778 |
6, // 3: google.shopping.merchant.issueresolution.v1.AggregateProductStatus.item_level_issues:type_name -> google.shopping.merchant.issueresolution.v1.AggregateProductStatus.ItemLevelIssue |
| 779 |
0, // 4: google.shopping.merchant.issueresolution.v1.AggregateProductStatus.ItemLevelIssue.severity:type_name -> google.shopping.merchant.issueresolution.v1.AggregateProductStatus.ItemLevelIssue.Severity |
| 780 |
1, // 5: google.shopping.merchant.issueresolution.v1.AggregateProductStatus.ItemLevelIssue.resolution:type_name -> google.shopping.merchant.issueresolution.v1.AggregateProductStatus.ItemLevelIssue.Resolution |
| 781 |
2, // 6: google.shopping.merchant.issueresolution.v1.AggregateProductStatusesService.ListAggregateProductStatuses:input_type -> google.shopping.merchant.issueresolution.v1.ListAggregateProductStatusesRequest |
| 782 |
3, // 7: google.shopping.merchant.issueresolution.v1.AggregateProductStatusesService.ListAggregateProductStatuses:output_type -> google.shopping.merchant.issueresolution.v1.ListAggregateProductStatusesResponse |
| 783 |
7, // [7:8] is the sub-list for method output_type |
| 784 |
6, // [6:7] is the sub-list for method input_type |
| 785 |
6, // [6:6] is the sub-list for extension type_name |
| 786 |
6, // [6:6] is the sub-list for extension extendee |
| 787 |
0, // [0:6] is the sub-list for field type_name |
| 788 |
} |
| 789 |
|
| 790 |
func init() { file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_init() } |
| 791 |
func file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_init() { |
| 792 |
if File_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto != nil { |
| 793 |
return |
| 794 |
} |
| 795 |
type x struct{} |
| 796 |
out := protoimpl.TypeBuilder{ |
| 797 |
File: protoimpl.DescBuilder{ |
| 798 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 799 |
RawDescriptor: file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_rawDesc, |
| 800 |
NumEnums: 2, |
| 801 |
NumMessages: 5, |
| 802 |
NumExtensions: 0, |
| 803 |
NumServices: 1, |
| 804 |
}, |
| 805 |
GoTypes: file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_goTypes, |
| 806 |
DependencyIndexes: file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_depIdxs, |
| 807 |
EnumInfos: file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_enumTypes, |
| 808 |
MessageInfos: file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_msgTypes, |
| 809 |
}.Build() |
| 810 |
File_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto = out.File |
| 811 |
file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_rawDesc = nil |
| 812 |
file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_goTypes = nil |
| 813 |
file_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto_depIdxs = nil |
| 814 |
} |
| 815 |
|
| 816 |
// Reference imports to suppress errors if they are not otherwise used. |
| 817 |
var _ context.Context |
| 818 |
var _ grpc.ClientConnInterface |
| 819 |
|
| 820 |
// This is a compile-time assertion to ensure that this generated file |
| 821 |
// is compatible with the grpc package it is being compiled against. |
| 822 |
const _ = grpc.SupportPackageIsVersion6 |
| 823 |
|
| 824 |
// AggregateProductStatusesServiceClient is the client API for AggregateProductStatusesService service. |
| 825 |
// |
| 826 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 827 |
type AggregateProductStatusesServiceClient interface { |
| 828 |
// Lists the `AggregateProductStatuses` resources for your merchant account. |
| 829 |
// The response might contain fewer items than specified by `pageSize`. |
| 830 |
// If `pageToken` was returned in previous request, it can be used to obtain |
| 831 |
// additional results. |
| 832 |
ListAggregateProductStatuses(ctx context.Context, in *ListAggregateProductStatusesRequest, opts ...grpc.CallOption) (*ListAggregateProductStatusesResponse, error) |
| 833 |
} |
| 834 |
|
| 835 |
type aggregateProductStatusesServiceClient struct { |
| 836 |
cc grpc.ClientConnInterface |
| 837 |
} |
| 838 |
|
| 839 |
func NewAggregateProductStatusesServiceClient(cc grpc.ClientConnInterface) AggregateProductStatusesServiceClient { |
| 840 |
return &aggregateProductStatusesServiceClient{cc} |
| 841 |
} |
| 842 |
|
| 843 |
func (c *aggregateProductStatusesServiceClient) ListAggregateProductStatuses(ctx context.Context, in *ListAggregateProductStatusesRequest, opts ...grpc.CallOption) (*ListAggregateProductStatusesResponse, error) { |
| 844 |
out := new(ListAggregateProductStatusesResponse) |
| 845 |
err := c.cc.Invoke(ctx, "/google.shopping.merchant.issueresolution.v1.AggregateProductStatusesService/ListAggregateProductStatuses", in, out, opts...) |
| 846 |
if err != nil { |
| 847 |
return nil, err |
| 848 |
} |
| 849 |
return out, nil |
| 850 |
} |
| 851 |
|
| 852 |
// AggregateProductStatusesServiceServer is the server API for AggregateProductStatusesService service. |
| 853 |
type AggregateProductStatusesServiceServer interface { |
| 854 |
// Lists the `AggregateProductStatuses` resources for your merchant account. |
| 855 |
// The response might contain fewer items than specified by `pageSize`. |
| 856 |
// If `pageToken` was returned in previous request, it can be used to obtain |
| 857 |
// additional results. |
| 858 |
ListAggregateProductStatuses(context.Context, *ListAggregateProductStatusesRequest) (*ListAggregateProductStatusesResponse, error) |
| 859 |
} |
| 860 |
|
| 861 |
// UnimplementedAggregateProductStatusesServiceServer can be embedded to have forward compatible implementations. |
| 862 |
type UnimplementedAggregateProductStatusesServiceServer struct { |
| 863 |
} |
| 864 |
|
| 865 |
func (*UnimplementedAggregateProductStatusesServiceServer) ListAggregateProductStatuses(context.Context, *ListAggregateProductStatusesRequest) (*ListAggregateProductStatusesResponse, error) { |
| 866 |
return nil, status.Errorf(codes.Unimplemented, "method ListAggregateProductStatuses not implemented") |
| 867 |
} |
| 868 |
|
| 869 |
func RegisterAggregateProductStatusesServiceServer(s *grpc.Server, srv AggregateProductStatusesServiceServer) { |
| 870 |
s.RegisterService(&_AggregateProductStatusesService_serviceDesc, srv) |
| 871 |
} |
| 872 |
|
| 873 |
func _AggregateProductStatusesService_ListAggregateProductStatuses_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 874 |
in := new(ListAggregateProductStatusesRequest) |
| 875 |
if err := dec(in); err != nil { |
| 876 |
return nil, err |
| 877 |
} |
| 878 |
if interceptor == nil { |
| 879 |
return srv.(AggregateProductStatusesServiceServer).ListAggregateProductStatuses(ctx, in) |
| 880 |
} |
| 881 |
info := &grpc.UnaryServerInfo{ |
| 882 |
Server: srv, |
| 883 |
FullMethod: "/google.shopping.merchant.issueresolution.v1.AggregateProductStatusesService/ListAggregateProductStatuses", |
| 884 |
} |
| 885 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 886 |
return srv.(AggregateProductStatusesServiceServer).ListAggregateProductStatuses(ctx, req.(*ListAggregateProductStatusesRequest)) |
| 887 |
} |
| 888 |
return interceptor(ctx, in, info, handler) |
| 889 |
} |
| 890 |
|
| 891 |
var _AggregateProductStatusesService_serviceDesc = grpc.ServiceDesc{ |
| 892 |
ServiceName: "google.shopping.merchant.issueresolution.v1.AggregateProductStatusesService", |
| 893 |
HandlerType: (*AggregateProductStatusesServiceServer)(nil), |
| 894 |
Methods: []grpc.MethodDesc{ |
| 895 |
{ |
| 896 |
MethodName: "ListAggregateProductStatuses", |
| 897 |
Handler: _AggregateProductStatusesService_ListAggregateProductStatuses_Handler, |
| 898 |
}, |
| 899 |
}, |
| 900 |
Streams: []grpc.StreamDesc{}, |
| 901 |
Metadata: "google/shopping/merchant/issueresolution/v1/aggregateproductstatuses.proto", |
| 902 |
} |