Debian Codegraph @

shopping/merchant/accounts/apiv1/accountspb/accountissue.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/shopping/merchant/accounts/v1/accountissue.proto
20
21 package accountspb
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 // All possible issue severities.
44 type AccountIssue_Severity int32
45
46 const (
47 // The severity is unknown.
48 AccountIssue_SEVERITY_UNSPECIFIED AccountIssue_Severity = 0
49 // The issue causes offers to not serve.
50 AccountIssue_CRITICAL AccountIssue_Severity = 1
51 // The issue might affect offers (in the future) or might be an
52 // indicator of issues with offers.
53 AccountIssue_ERROR AccountIssue_Severity = 2
54 // The issue is a suggestion for improvement.
55 AccountIssue_SUGGESTION AccountIssue_Severity = 3
56 )
57
58 // Enum value maps for AccountIssue_Severity.
59 var (
60 AccountIssue_Severity_name = map[int32]string{
61 0: "SEVERITY_UNSPECIFIED",
62 1: "CRITICAL",
63 2: "ERROR",
64 3: "SUGGESTION",
65 }
66 AccountIssue_Severity_value = map[string]int32{
67 "SEVERITY_UNSPECIFIED": 0,
68 "CRITICAL": 1,
69 "ERROR": 2,
70 "SUGGESTION": 3,
71 }
72 )
73
74 func (x AccountIssue_Severity) Enum() *AccountIssue_Severity {
75 p := new(AccountIssue_Severity)
76 *p = x
77 return p
78 }
79
80 func (x AccountIssue_Severity) String() string {
81 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
82 }
83
84 func (AccountIssue_Severity) Descriptor() protoreflect.EnumDescriptor {
85 return file_google_shopping_merchant_accounts_v1_accountissue_proto_enumTypes[0].Descriptor()
86 }
87
88 func (AccountIssue_Severity) Type() protoreflect.EnumType {
89 return &file_google_shopping_merchant_accounts_v1_accountissue_proto_enumTypes[0]
90 }
91
92 func (x AccountIssue_Severity) Number() protoreflect.EnumNumber {
93 return protoreflect.EnumNumber(x)
94 }
95
96 // Deprecated: Use AccountIssue_Severity.Descriptor instead.
97 func (AccountIssue_Severity) EnumDescriptor() ([]byte, []int) {
98 return file_google_shopping_merchant_accounts_v1_accountissue_proto_rawDescGZIP(), []int{0, 0}
99 }
100
101 // Issues with your Merchant Center account that can impact all your products.
102 //
103 // For more information, see [Account-level issues in Merchant
104 // Center](https://support.google.com/merchants/answer/12153802?sjid=17798438912526418908-EU#account).
105 type AccountIssue struct {
106 state protoimpl.MessageState
107 sizeCache protoimpl.SizeCache
108 unknownFields protoimpl.UnknownFields
109
110 // Identifier. The resource name of the account issue.
111 // Format: `accounts/{account}/issues/{id}`. For example,
112 //
113 // `accounts/123456/issues/misrepresentation-of-self-or-products-unacceptable-business-practice-policy`.
114 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
115 // The localized title of the issue.
116 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
117 // The overall severity of the issue.
118 Severity AccountIssue_Severity `protobuf:"varint,3,opt,name=severity,proto3,enum=google.shopping.merchant.accounts.v1.AccountIssue_Severity" json:"severity,omitempty"`
119 // The impact this issue has on various destinations.
120 ImpactedDestinations []*AccountIssue_ImpactedDestination `protobuf:"bytes,4,rep,name=impacted_destinations,json=impactedDestinations,proto3" json:"impacted_destinations,omitempty"`
121 // Further localized details about the issue.
122 Detail string `protobuf:"bytes,5,opt,name=detail,proto3" json:"detail,omitempty"`
123 // Link to Merchant Center Help Center providing further information about the
124 // issue and how to fix it.
125 DocumentationUri string `protobuf:"bytes,6,opt,name=documentation_uri,json=documentationUri,proto3" json:"documentation_uri,omitempty"`
126 }
127
128 func (x *AccountIssue) Reset() {
129 *x = AccountIssue{}
130 mi := &file_google_shopping_merchant_accounts_v1_accountissue_proto_msgTypes[0]
131 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
132 ms.StoreMessageInfo(mi)
133 }
134
135 func (x *AccountIssue) String() string {
136 return protoimpl.X.MessageStringOf(x)
137 }
138
139 func (*AccountIssue) ProtoMessage() {}
140
141 func (x *AccountIssue) ProtoReflect() protoreflect.Message {
142 mi := &file_google_shopping_merchant_accounts_v1_accountissue_proto_msgTypes[0]
143 if x != nil {
144 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
145 if ms.LoadMessageInfo() == nil {
146 ms.StoreMessageInfo(mi)
147 }
148 return ms
149 }
150 return mi.MessageOf(x)
151 }
152
153 // Deprecated: Use AccountIssue.ProtoReflect.Descriptor instead.
154 func (*AccountIssue) Descriptor() ([]byte, []int) {
155 return file_google_shopping_merchant_accounts_v1_accountissue_proto_rawDescGZIP(), []int{0}
156 }
157
158 func (x *AccountIssue) GetName() string {
159 if x != nil {
160 return x.Name
161 }
162 return ""
163 }
164
165 func (x *AccountIssue) GetTitle() string {
166 if x != nil {
167 return x.Title
168 }
169 return ""
170 }
171
172 func (x *AccountIssue) GetSeverity() AccountIssue_Severity {
173 if x != nil {
174 return x.Severity
175 }
176 return AccountIssue_SEVERITY_UNSPECIFIED
177 }
178
179 func (x *AccountIssue) GetImpactedDestinations() []*AccountIssue_ImpactedDestination {
180 if x != nil {
181 return x.ImpactedDestinations
182 }
183 return nil
184 }
185
186 func (x *AccountIssue) GetDetail() string {
187 if x != nil {
188 return x.Detail
189 }
190 return ""
191 }
192
193 func (x *AccountIssue) GetDocumentationUri() string {
194 if x != nil {
195 return x.DocumentationUri
196 }
197 return ""
198 }
199
200 // Request message for the `ListAccountIssues` method.
201 type ListAccountIssuesRequest struct {
202 state protoimpl.MessageState
203 sizeCache protoimpl.SizeCache
204 unknownFields protoimpl.UnknownFields
205
206 // Required. The parent, which owns this collection of issues.
207 // Format: `accounts/{account}`
208 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
209 // Optional. The maximum number of issues to return. The service may return
210 // fewer than this value. If unspecified, at most 50 issues will be returned.
211 // The maximum value is 100; values above 100 will be coerced to 100
212 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
213 // Optional. A page token, received from a previous `ListAccountIssues` call.
214 // Provide this to retrieve the subsequent page.
215 //
216 // When paginating, all other parameters provided to `ListAccountIssues` must
217 // match the call that provided the page token.
218 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
219 // Optional. The issues in the response will have human-readable fields in the
220 // given language. The format is [BCP-47](https://tools.ietf.org/html/bcp47),
221 // such as `en-US` or `sr-Latn`. If not value is provided, `en-US` will be
222 // used.
223 LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
224 // Optional. The [IANA](https://www.iana.org/time-zones) timezone used to
225 // localize times in human-readable fields. For example 'America/Los_Angeles'.
226 // If not set, 'America/Los_Angeles' will be used.
227 TimeZone string `protobuf:"bytes,5,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
228 }
229
230 func (x *ListAccountIssuesRequest) Reset() {
231 *x = ListAccountIssuesRequest{}
232 mi := &file_google_shopping_merchant_accounts_v1_accountissue_proto_msgTypes[1]
233 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
234 ms.StoreMessageInfo(mi)
235 }
236
237 func (x *ListAccountIssuesRequest) String() string {
238 return protoimpl.X.MessageStringOf(x)
239 }
240
241 func (*ListAccountIssuesRequest) ProtoMessage() {}
242
243 func (x *ListAccountIssuesRequest) ProtoReflect() protoreflect.Message {
244 mi := &file_google_shopping_merchant_accounts_v1_accountissue_proto_msgTypes[1]
245 if x != nil {
246 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
247 if ms.LoadMessageInfo() == nil {
248 ms.StoreMessageInfo(mi)
249 }
250 return ms
251 }
252 return mi.MessageOf(x)
253 }
254
255 // Deprecated: Use ListAccountIssuesRequest.ProtoReflect.Descriptor instead.
256 func (*ListAccountIssuesRequest) Descriptor() ([]byte, []int) {
257 return file_google_shopping_merchant_accounts_v1_accountissue_proto_rawDescGZIP(), []int{1}
258 }
259
260 func (x *ListAccountIssuesRequest) GetParent() string {
261 if x != nil {
262 return x.Parent
263 }
264 return ""
265 }
266
267 func (x *ListAccountIssuesRequest) GetPageSize() int32 {
268 if x != nil {
269 return x.PageSize
270 }
271 return 0
272 }
273
274 func (x *ListAccountIssuesRequest) GetPageToken() string {
275 if x != nil {
276 return x.PageToken
277 }
278 return ""
279 }
280
281 func (x *ListAccountIssuesRequest) GetLanguageCode() string {
282 if x != nil {
283 return x.LanguageCode
284 }
285 return ""
286 }
287
288 func (x *ListAccountIssuesRequest) GetTimeZone() string {
289 if x != nil {
290 return x.TimeZone
291 }
292 return ""
293 }
294
295 // Response message for the `ListAccountIssues` method.
296 type ListAccountIssuesResponse struct {
297 state protoimpl.MessageState
298 sizeCache protoimpl.SizeCache
299 unknownFields protoimpl.UnknownFields
300
301 // The issues from the specified account.
302 AccountIssues []*AccountIssue `protobuf:"bytes,1,rep,name=account_issues,json=accountIssues,proto3" json:"account_issues,omitempty"`
303 // A token, which can be sent as `page_token` to retrieve the next page.
304 // If this field is omitted, there are no subsequent pages.
305 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
306 }
307
308 func (x *ListAccountIssuesResponse) Reset() {
309 *x = ListAccountIssuesResponse{}
310 mi := &file_google_shopping_merchant_accounts_v1_accountissue_proto_msgTypes[2]
311 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
312 ms.StoreMessageInfo(mi)
313 }
314
315 func (x *ListAccountIssuesResponse) String() string {
316 return protoimpl.X.MessageStringOf(x)
317 }
318
319 func (*ListAccountIssuesResponse) ProtoMessage() {}
320
321 func (x *ListAccountIssuesResponse) ProtoReflect() protoreflect.Message {
322 mi := &file_google_shopping_merchant_accounts_v1_accountissue_proto_msgTypes[2]
323 if x != nil {
324 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
325 if ms.LoadMessageInfo() == nil {
326 ms.StoreMessageInfo(mi)
327 }
328 return ms
329 }
330 return mi.MessageOf(x)
331 }
332
333 // Deprecated: Use ListAccountIssuesResponse.ProtoReflect.Descriptor instead.
334 func (*ListAccountIssuesResponse) Descriptor() ([]byte, []int) {
335 return file_google_shopping_merchant_accounts_v1_accountissue_proto_rawDescGZIP(), []int{2}
336 }
337
338 func (x *ListAccountIssuesResponse) GetAccountIssues() []*AccountIssue {
339 if x != nil {
340 return x.AccountIssues
341 }
342 return nil
343 }
344
345 func (x *ListAccountIssuesResponse) GetNextPageToken() string {
346 if x != nil {
347 return x.NextPageToken
348 }
349 return ""
350 }
351
352 // The impact of the issue on a destination.
353 type AccountIssue_ImpactedDestination struct {
354 state protoimpl.MessageState
355 sizeCache protoimpl.SizeCache
356 unknownFields protoimpl.UnknownFields
357
358 // The impacted reporting context.
359 ReportingContext *typepb.ReportingContext_ReportingContextEnum `protobuf:"varint,1,opt,name=reporting_context,json=reportingContext,proto3,enum=google.shopping.type.ReportingContext_ReportingContextEnum,oneof" json:"reporting_context,omitempty"`
360 // The (negative) impact for various regions on the given destination.
361 Impacts []*AccountIssue_ImpactedDestination_Impact `protobuf:"bytes,2,rep,name=impacts,proto3" json:"impacts,omitempty"`
362 }
363
364 func (x *AccountIssue_ImpactedDestination) Reset() {
365 *x = AccountIssue_ImpactedDestination{}
366 mi := &file_google_shopping_merchant_accounts_v1_accountissue_proto_msgTypes[3]
367 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
368 ms.StoreMessageInfo(mi)
369 }
370
371 func (x *AccountIssue_ImpactedDestination) String() string {
372 return protoimpl.X.MessageStringOf(x)
373 }
374
375 func (*AccountIssue_ImpactedDestination) ProtoMessage() {}
376
377 func (x *AccountIssue_ImpactedDestination) ProtoReflect() protoreflect.Message {
378 mi := &file_google_shopping_merchant_accounts_v1_accountissue_proto_msgTypes[3]
379 if x != nil {
380 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
381 if ms.LoadMessageInfo() == nil {
382 ms.StoreMessageInfo(mi)
383 }
384 return ms
385 }
386 return mi.MessageOf(x)
387 }
388
389 // Deprecated: Use AccountIssue_ImpactedDestination.ProtoReflect.Descriptor instead.
390 func (*AccountIssue_ImpactedDestination) Descriptor() ([]byte, []int) {
391 return file_google_shopping_merchant_accounts_v1_accountissue_proto_rawDescGZIP(), []int{0, 0}
392 }
393
394 func (x *AccountIssue_ImpactedDestination) GetReportingContext() typepb.ReportingContext_ReportingContextEnum {
395 if x != nil && x.ReportingContext != nil {
396 return *x.ReportingContext
397 }
398 return typepb.ReportingContext_ReportingContextEnum(0)
399 }
400
401 func (x *AccountIssue_ImpactedDestination) GetImpacts() []*AccountIssue_ImpactedDestination_Impact {
402 if x != nil {
403 return x.Impacts
404 }
405 return nil
406 }
407
408 // The impact of the issue on a region.
409 type AccountIssue_ImpactedDestination_Impact struct {
410 state protoimpl.MessageState
411 sizeCache protoimpl.SizeCache
412 unknownFields protoimpl.UnknownFields
413
414 // The [CLDR region code](https://cldr.unicode.org/) where this issue
415 // applies.
416 RegionCode string `protobuf:"bytes,1,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
417 // The severity of the issue on the destination and region.
418 Severity AccountIssue_Severity `protobuf:"varint,2,opt,name=severity,proto3,enum=google.shopping.merchant.accounts.v1.AccountIssue_Severity" json:"severity,omitempty"`
419 }
420
421 func (x *AccountIssue_ImpactedDestination_Impact) Reset() {
422 *x = AccountIssue_ImpactedDestination_Impact{}
423 mi := &file_google_shopping_merchant_accounts_v1_accountissue_proto_msgTypes[4]
424 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
425 ms.StoreMessageInfo(mi)
426 }
427
428 func (x *AccountIssue_ImpactedDestination_Impact) String() string {
429 return protoimpl.X.MessageStringOf(x)
430 }
431
432 func (*AccountIssue_ImpactedDestination_Impact) ProtoMessage() {}
433
434 func (x *AccountIssue_ImpactedDestination_Impact) ProtoReflect() protoreflect.Message {
435 mi := &file_google_shopping_merchant_accounts_v1_accountissue_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 // Deprecated: Use AccountIssue_ImpactedDestination_Impact.ProtoReflect.Descriptor instead.
447 func (*AccountIssue_ImpactedDestination_Impact) Descriptor() ([]byte, []int) {
448 return file_google_shopping_merchant_accounts_v1_accountissue_proto_rawDescGZIP(), []int{0, 0, 0}
449 }
450
451 func (x *AccountIssue_ImpactedDestination_Impact) GetRegionCode() string {
452 if x != nil {
453 return x.RegionCode
454 }
455 return ""
456 }
457
458 func (x *AccountIssue_ImpactedDestination_Impact) GetSeverity() AccountIssue_Severity {
459 if x != nil {
460 return x.Severity
461 }
462 return AccountIssue_SEVERITY_UNSPECIFIED
463 }
464
465 var File_google_shopping_merchant_accounts_v1_accountissue_proto protoreflect.FileDescriptor
466
467 var file_google_shopping_merchant_accounts_v1_accountissue_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, 0x61, 0x63, 0x63, 0x6f, 0x75,
470 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x73,
471 0x73, 0x75, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x24, 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, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x1a,
474 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
475 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67,
476 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
477 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
478 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f,
479 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
480 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
481 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70,
482 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70,
483 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa0, 0x07, 0x0a, 0x0c, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
484 0x49, 0x73, 0x73, 0x75, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
485 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14,
486 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74,
487 0x69, 0x74, 0x6c, 0x65, 0x12, 0x57, 0x0a, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79,
488 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
489 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e,
490 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63,
491 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x2e, 0x53, 0x65, 0x76, 0x65, 0x72,
492 0x69, 0x74, 0x79, 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x7b, 0x0a,
493 0x15, 0x69, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e,
494 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x46, 0x2e, 0x67,
495 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d,
496 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
497 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65,
498 0x2e, 0x49, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x65, 0x64, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61,
499 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x69, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x65, 0x64, 0x44, 0x65,
500 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65,
501 0x74, 0x61, 0x69, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61,
502 0x69, 0x6c, 0x12, 0x2b, 0x0a, 0x11, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74,
503 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x64,
504 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x72, 0x69, 0x1a,
505 0x88, 0x03, 0x0a, 0x13, 0x49, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x65, 0x64, 0x44, 0x65, 0x73, 0x74,
506 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6d, 0x0a, 0x11, 0x72, 0x65, 0x70, 0x6f, 0x72,
507 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01,
508 0x28, 0x0e, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70,
509 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74,
510 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72,
511 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x48,
512 0x00, 0x52, 0x10, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74,
513 0x65, 0x78, 0x74, 0x88, 0x01, 0x01, 0x12, 0x67, 0x0a, 0x07, 0x69, 0x6d, 0x70, 0x61, 0x63, 0x74,
514 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
515 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61,
516 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41,
517 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x2e, 0x49, 0x6d, 0x70, 0x61,
518 0x63, 0x74, 0x65, 0x64, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
519 0x49, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x52, 0x07, 0x69, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x73, 0x1a,
520 0x82, 0x01, 0x0a, 0x06, 0x49, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65,
521 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
522 0x0a, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x57, 0x0a, 0x08, 0x73,
523 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3b, 0x2e,
524 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e,
525 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
526 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x73, 0x73, 0x75,
527 0x65, 0x2e, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x52, 0x08, 0x73, 0x65, 0x76, 0x65,
528 0x72, 0x69, 0x74, 0x79, 0x42, 0x14, 0x0a, 0x12, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69,
529 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x4d, 0x0a, 0x08, 0x53, 0x65,
530 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49,
531 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
532 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x52, 0x49, 0x54, 0x49, 0x43, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x09,
533 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x55, 0x47,
534 0x47, 0x45, 0x53, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x3a, 0x6c, 0xea, 0x41, 0x69, 0x0a, 0x27,
535 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
536 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x63, 0x63, 0x6f, 0x75,
537 0x6e, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x12, 0x21, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
538 0x73, 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x2f, 0x69, 0x73, 0x73, 0x75,
539 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x73, 0x73, 0x75, 0x65, 0x7d, 0x2a, 0x0d, 0x61, 0x63, 0x63, 0x6f,
540 0x75, 0x6e, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x73, 0x32, 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75,
541 0x6e, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x22, 0xf0, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74,
542 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x73, 0x52, 0x65, 0x71,
543 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01,
544 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x24, 0x0a, 0x22, 0x6d, 0x65,
545 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
546 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
547 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65,
548 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01,
549 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61,
550 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
551 0xe0, 0x41, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x28,
552 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18,
553 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67,
554 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65,
555 0x5f, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01,
556 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x22, 0x9e, 0x01, 0x0a, 0x19, 0x4c,
557 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x73,
558 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x61, 0x63, 0x63, 0x6f,
559 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
560 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
561 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f,
562 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49,
563 0x73, 0x73, 0x75, 0x65, 0x52, 0x0d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x73, 0x73,
564 0x75, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65,
565 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65,
566 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0xaf, 0x02, 0x0a, 0x13,
567 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x53, 0x65, 0x72, 0x76,
568 0x69, 0x63, 0x65, 0x12, 0xce, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f,
569 0x75, 0x6e, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x73, 0x12, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
570 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63,
571 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31,
572 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x73, 0x73, 0x75,
573 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
574 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63,
575 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31,
576 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x73, 0x73, 0x75,
577 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x38, 0xda, 0x41, 0x06, 0x70,
578 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x12, 0x27, 0x2f, 0x61, 0x63,
579 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e,
580 0x74, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x69, 0x73,
581 0x73, 0x75, 0x65, 0x73, 0x1a, 0x47, 0xca, 0x41, 0x1a, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e,
582 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
583 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x27, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77,
584 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
585 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x84, 0x02,
586 0x0a, 0x28, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f,
587 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61,
588 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x11, 0x41, 0x63, 0x63, 0x6f,
589 0x75, 0x6e, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
590 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f,
591 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65,
592 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f,
593 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62,
594 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0xaa, 0x02, 0x24, 0x47, 0x6f,
595 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x65,
596 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e,
597 0x56, 0x31, 0xca, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x53, 0x68, 0x6f, 0x70,
598 0x70, 0x69, 0x6e, 0x67, 0x5c, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x5c, 0x41, 0x63,
599 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67,
600 0x6c, 0x65, 0x3a, 0x3a, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x4d, 0x65,
601 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x3a, 0x3a, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
602 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
603 }
604
605 var (
606 file_google_shopping_merchant_accounts_v1_accountissue_proto_rawDescOnce sync.Once
607 file_google_shopping_merchant_accounts_v1_accountissue_proto_rawDescData = file_google_shopping_merchant_accounts_v1_accountissue_proto_rawDesc
608 )
609
610 func file_google_shopping_merchant_accounts_v1_accountissue_proto_rawDescGZIP() []byte {
611 file_google_shopping_merchant_accounts_v1_accountissue_proto_rawDescOnce.Do(func() {
612 file_google_shopping_merchant_accounts_v1_accountissue_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_accounts_v1_accountissue_proto_rawDescData)
613 })
614 return file_google_shopping_merchant_accounts_v1_accountissue_proto_rawDescData
615 }
616
617 var file_google_shopping_merchant_accounts_v1_accountissue_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
618 var file_google_shopping_merchant_accounts_v1_accountissue_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
619 var file_google_shopping_merchant_accounts_v1_accountissue_proto_goTypes = []any{
620 (AccountIssue_Severity)(0), // 0: google.shopping.merchant.accounts.v1.AccountIssue.Severity
621 (*AccountIssue)(nil), // 1: google.shopping.merchant.accounts.v1.AccountIssue
622 (*ListAccountIssuesRequest)(nil), // 2: google.shopping.merchant.accounts.v1.ListAccountIssuesRequest
623 (*ListAccountIssuesResponse)(nil), // 3: google.shopping.merchant.accounts.v1.ListAccountIssuesResponse
624 (*AccountIssue_ImpactedDestination)(nil), // 4: google.shopping.merchant.accounts.v1.AccountIssue.ImpactedDestination
625 (*AccountIssue_ImpactedDestination_Impact)(nil), // 5: google.shopping.merchant.accounts.v1.AccountIssue.ImpactedDestination.Impact
626 (typepb.ReportingContext_ReportingContextEnum)(0), // 6: google.shopping.type.ReportingContext.ReportingContextEnum
627 }
628 var file_google_shopping_merchant_accounts_v1_accountissue_proto_depIdxs = []int32{
629 0, // 0: google.shopping.merchant.accounts.v1.AccountIssue.severity:type_name -> google.shopping.merchant.accounts.v1.AccountIssue.Severity
630 4, // 1: google.shopping.merchant.accounts.v1.AccountIssue.impacted_destinations:type_name -> google.shopping.merchant.accounts.v1.AccountIssue.ImpactedDestination
631 1, // 2: google.shopping.merchant.accounts.v1.ListAccountIssuesResponse.account_issues:type_name -> google.shopping.merchant.accounts.v1.AccountIssue
632 6, // 3: google.shopping.merchant.accounts.v1.AccountIssue.ImpactedDestination.reporting_context:type_name -> google.shopping.type.ReportingContext.ReportingContextEnum
633 5, // 4: google.shopping.merchant.accounts.v1.AccountIssue.ImpactedDestination.impacts:type_name -> google.shopping.merchant.accounts.v1.AccountIssue.ImpactedDestination.Impact
634 0, // 5: google.shopping.merchant.accounts.v1.AccountIssue.ImpactedDestination.Impact.severity:type_name -> google.shopping.merchant.accounts.v1.AccountIssue.Severity
635 2, // 6: google.shopping.merchant.accounts.v1.AccountIssueService.ListAccountIssues:input_type -> google.shopping.merchant.accounts.v1.ListAccountIssuesRequest
636 3, // 7: google.shopping.merchant.accounts.v1.AccountIssueService.ListAccountIssues:output_type -> google.shopping.merchant.accounts.v1.ListAccountIssuesResponse
637 7, // [7:8] is the sub-list for method output_type
638 6, // [6:7] is the sub-list for method input_type
639 6, // [6:6] is the sub-list for extension type_name
640 6, // [6:6] is the sub-list for extension extendee
641 0, // [0:6] is the sub-list for field type_name
642 }
643
644 func init() { file_google_shopping_merchant_accounts_v1_accountissue_proto_init() }
645 func file_google_shopping_merchant_accounts_v1_accountissue_proto_init() {
646 if File_google_shopping_merchant_accounts_v1_accountissue_proto != nil {
647 return
648 }
649 file_google_shopping_merchant_accounts_v1_accountissue_proto_msgTypes[3].OneofWrappers = []any{}
650 type x struct{}
651 out := protoimpl.TypeBuilder{
652 File: protoimpl.DescBuilder{
653 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
654 RawDescriptor: file_google_shopping_merchant_accounts_v1_accountissue_proto_rawDesc,
655 NumEnums: 1,
656 NumMessages: 5,
657 NumExtensions: 0,
658 NumServices: 1,
659 },
660 GoTypes: file_google_shopping_merchant_accounts_v1_accountissue_proto_goTypes,
661 DependencyIndexes: file_google_shopping_merchant_accounts_v1_accountissue_proto_depIdxs,
662 EnumInfos: file_google_shopping_merchant_accounts_v1_accountissue_proto_enumTypes,
663 MessageInfos: file_google_shopping_merchant_accounts_v1_accountissue_proto_msgTypes,
664 }.Build()
665 File_google_shopping_merchant_accounts_v1_accountissue_proto = out.File
666 file_google_shopping_merchant_accounts_v1_accountissue_proto_rawDesc = nil
667 file_google_shopping_merchant_accounts_v1_accountissue_proto_goTypes = nil
668 file_google_shopping_merchant_accounts_v1_accountissue_proto_depIdxs = nil
669 }
670
671 // Reference imports to suppress errors if they are not otherwise used.
672 var _ context.Context
673 var _ grpc.ClientConnInterface
674
675 // This is a compile-time assertion to ensure that this generated file
676 // is compatible with the grpc package it is being compiled against.
677 const _ = grpc.SupportPackageIsVersion6
678
679 // AccountIssueServiceClient is the client API for AccountIssueService service.
680 //
681 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
682 type AccountIssueServiceClient interface {
683 // Lists all account issues of a Merchant Center account.
684 //
685 // When called on a multi-client account, this method only returns issues
686 // belonging to that account, not its sub-accounts. To retrieve issues for
687 // sub-accounts, you must first call the
688 // [accounts.listSubaccounts][google.shopping.merchant.accounts.v1.AccountsService.ListSubAccounts]
689 // method to obtain a list of sub-accounts, and then call
690 // `accounts.issues.list` for each sub-account individually.
691 ListAccountIssues(ctx context.Context, in *ListAccountIssuesRequest, opts ...grpc.CallOption) (*ListAccountIssuesResponse, error)
692 }
693
694 type accountIssueServiceClient struct {
695 cc grpc.ClientConnInterface
696 }
697
698 func NewAccountIssueServiceClient(cc grpc.ClientConnInterface) AccountIssueServiceClient {
699 return &accountIssueServiceClient{cc}
700 }
701
702 func (c *accountIssueServiceClient) ListAccountIssues(ctx context.Context, in *ListAccountIssuesRequest, opts ...grpc.CallOption) (*ListAccountIssuesResponse, error) {
703 out := new(ListAccountIssuesResponse)
704 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.AccountIssueService/ListAccountIssues", in, out, opts...)
705 if err != nil {
706 return nil, err
707 }
708 return out, nil
709 }
710
711 // AccountIssueServiceServer is the server API for AccountIssueService service.
712 type AccountIssueServiceServer interface {
713 // Lists all account issues of a Merchant Center account.
714 //
715 // When called on a multi-client account, this method only returns issues
716 // belonging to that account, not its sub-accounts. To retrieve issues for
717 // sub-accounts, you must first call the
718 // [accounts.listSubaccounts][google.shopping.merchant.accounts.v1.AccountsService.ListSubAccounts]
719 // method to obtain a list of sub-accounts, and then call
720 // `accounts.issues.list` for each sub-account individually.
721 ListAccountIssues(context.Context, *ListAccountIssuesRequest) (*ListAccountIssuesResponse, error)
722 }
723
724 // UnimplementedAccountIssueServiceServer can be embedded to have forward compatible implementations.
725 type UnimplementedAccountIssueServiceServer struct {
726 }
727
728 func (*UnimplementedAccountIssueServiceServer) ListAccountIssues(context.Context, *ListAccountIssuesRequest) (*ListAccountIssuesResponse, error) {
729 return nil, status.Errorf(codes.Unimplemented, "method ListAccountIssues not implemented")
730 }
731
732 func RegisterAccountIssueServiceServer(s *grpc.Server, srv AccountIssueServiceServer) {
733 s.RegisterService(&_AccountIssueService_serviceDesc, srv)
734 }
735
736 func _AccountIssueService_ListAccountIssues_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
737 in := new(ListAccountIssuesRequest)
738 if err := dec(in); err != nil {
739 return nil, err
740 }
741 if interceptor == nil {
742 return srv.(AccountIssueServiceServer).ListAccountIssues(ctx, in)
743 }
744 info := &grpc.UnaryServerInfo{
745 Server: srv,
746 FullMethod: "/google.shopping.merchant.accounts.v1.AccountIssueService/ListAccountIssues",
747 }
748 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
749 return srv.(AccountIssueServiceServer).ListAccountIssues(ctx, req.(*ListAccountIssuesRequest))
750 }
751 return interceptor(ctx, in, info, handler)
752 }
753
754 var _AccountIssueService_serviceDesc = grpc.ServiceDesc{
755 ServiceName: "google.shopping.merchant.accounts.v1.AccountIssueService",
756 HandlerType: (*AccountIssueServiceServer)(nil),
757 Methods: []grpc.MethodDesc{
758 {
759 MethodName: "ListAccountIssues",
760 Handler: _AccountIssueService_ListAccountIssues_Handler,
761 },
762 },
763 Streams: []grpc.StreamDesc{},
764 Metadata: "google/shopping/merchant/accounts/v1/accountissue.proto",
765 }