Debian Codegraph @

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

raw symbols SCIP
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/accountrelationships.proto
20
21 package accountspb
22
23 import (
24 context "context"
25 _ "google.golang.org/genproto/googleapis/api/annotations"
26 grpc "google.golang.org/grpc"
27 codes "google.golang.org/grpc/codes"
28 status "google.golang.org/grpc/status"
29 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
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 // The `AccountRelationship` message defines a formal connection between a
44 // merchant's account and a service provider's account. This relationship
45 // enables the provider to offer specific services to the business, such as
46 // product management or campaign management. It specifies the access rights
47 // and permissions to the business's data relevant to those services.
48 //
49 // Establishing an account relationship involves linking the merchant's account
50 // with a provider's account. The provider could be another Google account (like
51 // Google Ads or Google My Business) or a third-party platform (such as Shopify
52 // or WooCommerce).
53 type AccountRelationship struct {
54 state protoimpl.MessageState
55 sizeCache protoimpl.SizeCache
56 unknownFields protoimpl.UnknownFields
57
58 // Identifier. The resource name of the account relationship.
59 // Format: `accounts/{account}/relationships/{relationship}`. For example,
60 // `accounts/123456/relationships/567890`.
61 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
62 // Immutable. The provider of the service. Either the reference to an account
63 // such as `providers/123` or a well-known service provider (one of
64 // `providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`).
65 Provider *string `protobuf:"bytes,2,opt,name=provider,proto3,oneof" json:"provider,omitempty"`
66 // Output only. The human-readable display name of the provider account.
67 ProviderDisplayName string `protobuf:"bytes,3,opt,name=provider_display_name,json=providerDisplayName,proto3" json:"provider_display_name,omitempty"`
68 // Optional. An optional alias you can assign to this account relationship.
69 // This alias acts as a convenient identifier for your own reference and
70 // management. It must be unique among all your account relationships with the
71 // same provider.
72 //
73 // For example, you might use `account_id_alias` to assign a friendly name
74 // to this relationship for easier identification in your systems.
75 AccountIdAlias string `protobuf:"bytes,4,opt,name=account_id_alias,json=accountIdAlias,proto3" json:"account_id_alias,omitempty"`
76 }
77
78 func (x *AccountRelationship) Reset() {
79 *x = AccountRelationship{}
80 mi := &file_google_shopping_merchant_accounts_v1_accountrelationships_proto_msgTypes[0]
81 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
82 ms.StoreMessageInfo(mi)
83 }
84
85 func (x *AccountRelationship) String() string {
86 return protoimpl.X.MessageStringOf(x)
87 }
88
89 func (*AccountRelationship) ProtoMessage() {}
90
91 func (x *AccountRelationship) ProtoReflect() protoreflect.Message {
92 mi := &file_google_shopping_merchant_accounts_v1_accountrelationships_proto_msgTypes[0]
93 if x != nil {
94 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
95 if ms.LoadMessageInfo() == nil {
96 ms.StoreMessageInfo(mi)
97 }
98 return ms
99 }
100 return mi.MessageOf(x)
101 }
102
103 // Deprecated: Use AccountRelationship.ProtoReflect.Descriptor instead.
104 func (*AccountRelationship) Descriptor() ([]byte, []int) {
105 return file_google_shopping_merchant_accounts_v1_accountrelationships_proto_rawDescGZIP(), []int{0}
106 }
107
108 func (x *AccountRelationship) GetName() string {
109 if x != nil {
110 return x.Name
111 }
112 return ""
113 }
114
115 func (x *AccountRelationship) GetProvider() string {
116 if x != nil && x.Provider != nil {
117 return *x.Provider
118 }
119 return ""
120 }
121
122 func (x *AccountRelationship) GetProviderDisplayName() string {
123 if x != nil {
124 return x.ProviderDisplayName
125 }
126 return ""
127 }
128
129 func (x *AccountRelationship) GetAccountIdAlias() string {
130 if x != nil {
131 return x.AccountIdAlias
132 }
133 return ""
134 }
135
136 // Request to get an account relationship.
137 type GetAccountRelationshipRequest struct {
138 state protoimpl.MessageState
139 sizeCache protoimpl.SizeCache
140 unknownFields protoimpl.UnknownFields
141
142 // Required. The resource name of the account relationship to get.
143 // Format: `accounts/{account}/relationships/{relationship}`. For example,
144 // `accounts/123456/relationships/567890`.
145 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
146 }
147
148 func (x *GetAccountRelationshipRequest) Reset() {
149 *x = GetAccountRelationshipRequest{}
150 mi := &file_google_shopping_merchant_accounts_v1_accountrelationships_proto_msgTypes[1]
151 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
152 ms.StoreMessageInfo(mi)
153 }
154
155 func (x *GetAccountRelationshipRequest) String() string {
156 return protoimpl.X.MessageStringOf(x)
157 }
158
159 func (*GetAccountRelationshipRequest) ProtoMessage() {}
160
161 func (x *GetAccountRelationshipRequest) ProtoReflect() protoreflect.Message {
162 mi := &file_google_shopping_merchant_accounts_v1_accountrelationships_proto_msgTypes[1]
163 if x != nil {
164 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
165 if ms.LoadMessageInfo() == nil {
166 ms.StoreMessageInfo(mi)
167 }
168 return ms
169 }
170 return mi.MessageOf(x)
171 }
172
173 // Deprecated: Use GetAccountRelationshipRequest.ProtoReflect.Descriptor instead.
174 func (*GetAccountRelationshipRequest) Descriptor() ([]byte, []int) {
175 return file_google_shopping_merchant_accounts_v1_accountrelationships_proto_rawDescGZIP(), []int{1}
176 }
177
178 func (x *GetAccountRelationshipRequest) GetName() string {
179 if x != nil {
180 return x.Name
181 }
182 return ""
183 }
184
185 // Request message for the `UpdateAccountRelationship` method.
186 type UpdateAccountRelationshipRequest struct {
187 state protoimpl.MessageState
188 sizeCache protoimpl.SizeCache
189 unknownFields protoimpl.UnknownFields
190
191 // Required. The new version of the account relationship.
192 AccountRelationship *AccountRelationship `protobuf:"bytes,1,opt,name=account_relationship,json=accountRelationship,proto3" json:"account_relationship,omitempty"`
193 // Optional. List of fields being updated.
194 //
195 // The following fields are supported (in both `snake_case` and
196 // `lowerCamelCase`):
197 //
198 // - `account_id_alias`
199 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
200 }
201
202 func (x *UpdateAccountRelationshipRequest) Reset() {
203 *x = UpdateAccountRelationshipRequest{}
204 mi := &file_google_shopping_merchant_accounts_v1_accountrelationships_proto_msgTypes[2]
205 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
206 ms.StoreMessageInfo(mi)
207 }
208
209 func (x *UpdateAccountRelationshipRequest) String() string {
210 return protoimpl.X.MessageStringOf(x)
211 }
212
213 func (*UpdateAccountRelationshipRequest) ProtoMessage() {}
214
215 func (x *UpdateAccountRelationshipRequest) ProtoReflect() protoreflect.Message {
216 mi := &file_google_shopping_merchant_accounts_v1_accountrelationships_proto_msgTypes[2]
217 if x != nil {
218 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
219 if ms.LoadMessageInfo() == nil {
220 ms.StoreMessageInfo(mi)
221 }
222 return ms
223 }
224 return mi.MessageOf(x)
225 }
226
227 // Deprecated: Use UpdateAccountRelationshipRequest.ProtoReflect.Descriptor instead.
228 func (*UpdateAccountRelationshipRequest) Descriptor() ([]byte, []int) {
229 return file_google_shopping_merchant_accounts_v1_accountrelationships_proto_rawDescGZIP(), []int{2}
230 }
231
232 func (x *UpdateAccountRelationshipRequest) GetAccountRelationship() *AccountRelationship {
233 if x != nil {
234 return x.AccountRelationship
235 }
236 return nil
237 }
238
239 func (x *UpdateAccountRelationshipRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
240 if x != nil {
241 return x.UpdateMask
242 }
243 return nil
244 }
245
246 // Request to list account relationships.
247 type ListAccountRelationshipsRequest struct {
248 state protoimpl.MessageState
249 sizeCache protoimpl.SizeCache
250 unknownFields protoimpl.UnknownFields
251
252 // Required. The parent account of the account relationship to filter by.
253 // Format: `accounts/{account}`
254 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
255 // Optional. The token returned by the previous `list` request.
256 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
257 // Optional. The maximum number of elements to return in the response. Use for
258 // paging. If no `page_size` is specified, `100` is used as the default value.
259 // The maximum allowed value is `1000`.
260 PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
261 }
262
263 func (x *ListAccountRelationshipsRequest) Reset() {
264 *x = ListAccountRelationshipsRequest{}
265 mi := &file_google_shopping_merchant_accounts_v1_accountrelationships_proto_msgTypes[3]
266 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
267 ms.StoreMessageInfo(mi)
268 }
269
270 func (x *ListAccountRelationshipsRequest) String() string {
271 return protoimpl.X.MessageStringOf(x)
272 }
273
274 func (*ListAccountRelationshipsRequest) ProtoMessage() {}
275
276 func (x *ListAccountRelationshipsRequest) ProtoReflect() protoreflect.Message {
277 mi := &file_google_shopping_merchant_accounts_v1_accountrelationships_proto_msgTypes[3]
278 if x != nil {
279 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
280 if ms.LoadMessageInfo() == nil {
281 ms.StoreMessageInfo(mi)
282 }
283 return ms
284 }
285 return mi.MessageOf(x)
286 }
287
288 // Deprecated: Use ListAccountRelationshipsRequest.ProtoReflect.Descriptor instead.
289 func (*ListAccountRelationshipsRequest) Descriptor() ([]byte, []int) {
290 return file_google_shopping_merchant_accounts_v1_accountrelationships_proto_rawDescGZIP(), []int{3}
291 }
292
293 func (x *ListAccountRelationshipsRequest) GetParent() string {
294 if x != nil {
295 return x.Parent
296 }
297 return ""
298 }
299
300 func (x *ListAccountRelationshipsRequest) GetPageToken() string {
301 if x != nil {
302 return x.PageToken
303 }
304 return ""
305 }
306
307 func (x *ListAccountRelationshipsRequest) GetPageSize() int32 {
308 if x != nil {
309 return x.PageSize
310 }
311 return 0
312 }
313
314 // Response after trying to list account relationships.
315 type ListAccountRelationshipsResponse struct {
316 state protoimpl.MessageState
317 sizeCache protoimpl.SizeCache
318 unknownFields protoimpl.UnknownFields
319
320 // The account relationships that match your filter.
321 AccountRelationships []*AccountRelationship `protobuf:"bytes,1,rep,name=account_relationships,json=accountRelationships,proto3" json:"account_relationships,omitempty"`
322 // A page token. You can send the `page_token` to get the next page.
323 // Only included in the `list` response if there are more pages.
324 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
325 }
326
327 func (x *ListAccountRelationshipsResponse) Reset() {
328 *x = ListAccountRelationshipsResponse{}
329 mi := &file_google_shopping_merchant_accounts_v1_accountrelationships_proto_msgTypes[4]
330 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
331 ms.StoreMessageInfo(mi)
332 }
333
334 func (x *ListAccountRelationshipsResponse) String() string {
335 return protoimpl.X.MessageStringOf(x)
336 }
337
338 func (*ListAccountRelationshipsResponse) ProtoMessage() {}
339
340 func (x *ListAccountRelationshipsResponse) ProtoReflect() protoreflect.Message {
341 mi := &file_google_shopping_merchant_accounts_v1_accountrelationships_proto_msgTypes[4]
342 if x != nil {
343 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
344 if ms.LoadMessageInfo() == nil {
345 ms.StoreMessageInfo(mi)
346 }
347 return ms
348 }
349 return mi.MessageOf(x)
350 }
351
352 // Deprecated: Use ListAccountRelationshipsResponse.ProtoReflect.Descriptor instead.
353 func (*ListAccountRelationshipsResponse) Descriptor() ([]byte, []int) {
354 return file_google_shopping_merchant_accounts_v1_accountrelationships_proto_rawDescGZIP(), []int{4}
355 }
356
357 func (x *ListAccountRelationshipsResponse) GetAccountRelationships() []*AccountRelationship {
358 if x != nil {
359 return x.AccountRelationships
360 }
361 return nil
362 }
363
364 func (x *ListAccountRelationshipsResponse) GetNextPageToken() string {
365 if x != nil {
366 return x.NextPageToken
367 }
368 return ""
369 }
370
371 var File_google_shopping_merchant_accounts_v1_accountrelationships_proto protoreflect.FileDescriptor
372
373 var file_google_shopping_merchant_accounts_v1_accountrelationships_proto_rawDesc = []byte{
374 0x0a, 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
375 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75,
376 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x65,
377 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
378 0x6f, 0x12, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
379 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f,
380 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
381 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
382 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,
383 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f,
384 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64,
385 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
386 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f,
387 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67,
388 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c,
389 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdc, 0x02, 0x0a,
390 0x13, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
391 0x73, 0x68, 0x69, 0x70, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
392 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a,
393 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42,
394 0x03, 0xe0, 0x41, 0x05, 0x48, 0x00, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,
395 0x88, 0x01, 0x01, 0x12, 0x37, 0x0a, 0x15, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f,
396 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01,
397 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x13, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,
398 0x72, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x10,
399 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73,
400 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0e, 0x61, 0x63, 0x63,
401 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x3a, 0x90, 0x01, 0xea, 0x41,
402 0x8c, 0x01, 0x0a, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e,
403 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41,
404 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68,
405 0x69, 0x70, 0x12, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x63,
406 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
407 0x68, 0x69, 0x70, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68,
408 0x69, 0x70, 0x7d, 0x2a, 0x14, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x61,
409 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x73, 0x32, 0x13, 0x61, 0x63, 0x63, 0x6f, 0x75,
410 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x42, 0x0b,
411 0x0a, 0x09, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x22, 0x6b, 0x0a, 0x1d, 0x47,
412 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f,
413 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x04,
414 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x36, 0xe0, 0x41, 0x02, 0xfa,
415 0x41, 0x30, 0x0a, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e,
416 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41,
417 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68,
418 0x69, 0x70, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xd7, 0x01, 0x0a, 0x20, 0x55, 0x70, 0x64,
419 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69,
420 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x71, 0x0a,
421 0x14, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f,
422 0x6e, 0x73, 0x68, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f,
423 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65,
424 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e,
425 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69,
426 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x13, 0x61, 0x63, 0x63,
427 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70,
428 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18,
429 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
430 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73,
431 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61,
432 0x73, 0x6b, 0x22, 0xab, 0x01, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75,
433 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x73, 0x52,
434 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
435 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x24, 0x0a, 0x22,
436 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
437 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x63, 0x63, 0x6f, 0x75,
438 0x6e, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61,
439 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
440 0xe0, 0x41, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x20,
441 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
442 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65,
443 0x22, 0xba, 0x01, 0x0a, 0x20, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
444 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x73, 0x52, 0x65, 0x73,
445 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x15, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
446 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x73, 0x18, 0x01,
447 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68,
448 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e,
449 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f,
450 0x75, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52,
451 0x14, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
452 0x73, 0x68, 0x69, 0x70, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61,
453 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
454 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0xd5, 0x06,
455 0x0a, 0x1b, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f,
456 0x6e, 0x73, 0x68, 0x69, 0x70, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xd7, 0x01,
457 0x0a, 0x16, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x61,
458 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x12, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
459 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68,
460 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e,
461 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69,
462 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e,
463 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e,
464 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
465 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x61,
466 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x22, 0x3d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d,
467 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x12, 0x2e, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
468 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f,
469 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
470 0x68, 0x69, 0x70, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xa5, 0x02, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61,
471 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f,
472 0x6e, 0x73, 0x68, 0x69, 0x70, 0x12, 0x46, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73,
473 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74,
474 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64,
475 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69,
476 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e,
477 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e,
478 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
479 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x61,
480 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x22, 0x84, 0x01, 0xda, 0x41, 0x20, 0x61, 0x63,
481 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68,
482 0x69, 0x70, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3,
483 0xe4, 0x93, 0x02, 0x5b, 0x3a, 0x14, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x72, 0x65,
484 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x32, 0x43, 0x2f, 0x61, 0x63, 0x63,
485 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
486 0x74, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x2e, 0x6e,
487 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72,
488 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x73, 0x2f, 0x2a, 0x7d, 0x12,
489 0xea, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52,
490 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x73, 0x12, 0x45, 0x2e, 0x67,
491 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d,
492 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
493 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52,
494 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75,
495 0x65, 0x73, 0x74, 0x1a, 0x46, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f,
496 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61,
497 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41,
498 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68,
499 0x69, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3f, 0xda, 0x41, 0x06,
500 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x12, 0x2e, 0x2f, 0x61,
501 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65,
502 0x6e, 0x74, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72,
503 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x73, 0x1a, 0x47, 0xca, 0x41,
504 0x1a, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f,
505 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x27, 0x68, 0x74,
506 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
507 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6f,
508 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x8c, 0x02, 0x0a, 0x28, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
509 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65,
510 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e,
511 0x76, 0x31, 0x42, 0x19, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x61, 0x74,
512 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
513 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f,
514 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65,
515 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f,
516 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62,
517 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0xaa, 0x02, 0x24, 0x47, 0x6f,
518 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x65,
519 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e,
520 0x56, 0x31, 0xca, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x53, 0x68, 0x6f, 0x70,
521 0x70, 0x69, 0x6e, 0x67, 0x5c, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x5c, 0x41, 0x63,
522 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67,
523 0x6c, 0x65, 0x3a, 0x3a, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x4d, 0x65,
524 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x3a, 0x3a, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
525 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
526 }
527
528 var (
529 file_google_shopping_merchant_accounts_v1_accountrelationships_proto_rawDescOnce sync.Once
530 file_google_shopping_merchant_accounts_v1_accountrelationships_proto_rawDescData = file_google_shopping_merchant_accounts_v1_accountrelationships_proto_rawDesc
531 )
532
533 func file_google_shopping_merchant_accounts_v1_accountrelationships_proto_rawDescGZIP() []byte {
534 file_google_shopping_merchant_accounts_v1_accountrelationships_proto_rawDescOnce.Do(func() {
535 file_google_shopping_merchant_accounts_v1_accountrelationships_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_accounts_v1_accountrelationships_proto_rawDescData)
536 })
537 return file_google_shopping_merchant_accounts_v1_accountrelationships_proto_rawDescData
538 }
539
540 var file_google_shopping_merchant_accounts_v1_accountrelationships_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
541 var file_google_shopping_merchant_accounts_v1_accountrelationships_proto_goTypes = []any{
542 (*AccountRelationship)(nil), // 0: google.shopping.merchant.accounts.v1.AccountRelationship
543 (*GetAccountRelationshipRequest)(nil), // 1: google.shopping.merchant.accounts.v1.GetAccountRelationshipRequest
544 (*UpdateAccountRelationshipRequest)(nil), // 2: google.shopping.merchant.accounts.v1.UpdateAccountRelationshipRequest
545 (*ListAccountRelationshipsRequest)(nil), // 3: google.shopping.merchant.accounts.v1.ListAccountRelationshipsRequest
546 (*ListAccountRelationshipsResponse)(nil), // 4: google.shopping.merchant.accounts.v1.ListAccountRelationshipsResponse
547 (*fieldmaskpb.FieldMask)(nil), // 5: google.protobuf.FieldMask
548 }
549 var file_google_shopping_merchant_accounts_v1_accountrelationships_proto_depIdxs = []int32{
550 0, // 0: google.shopping.merchant.accounts.v1.UpdateAccountRelationshipRequest.account_relationship:type_name -> google.shopping.merchant.accounts.v1.AccountRelationship
551 5, // 1: google.shopping.merchant.accounts.v1.UpdateAccountRelationshipRequest.update_mask:type_name -> google.protobuf.FieldMask
552 0, // 2: google.shopping.merchant.accounts.v1.ListAccountRelationshipsResponse.account_relationships:type_name -> google.shopping.merchant.accounts.v1.AccountRelationship
553 1, // 3: google.shopping.merchant.accounts.v1.AccountRelationshipsService.GetAccountRelationship:input_type -> google.shopping.merchant.accounts.v1.GetAccountRelationshipRequest
554 2, // 4: google.shopping.merchant.accounts.v1.AccountRelationshipsService.UpdateAccountRelationship:input_type -> google.shopping.merchant.accounts.v1.UpdateAccountRelationshipRequest
555 3, // 5: google.shopping.merchant.accounts.v1.AccountRelationshipsService.ListAccountRelationships:input_type -> google.shopping.merchant.accounts.v1.ListAccountRelationshipsRequest
556 0, // 6: google.shopping.merchant.accounts.v1.AccountRelationshipsService.GetAccountRelationship:output_type -> google.shopping.merchant.accounts.v1.AccountRelationship
557 0, // 7: google.shopping.merchant.accounts.v1.AccountRelationshipsService.UpdateAccountRelationship:output_type -> google.shopping.merchant.accounts.v1.AccountRelationship
558 4, // 8: google.shopping.merchant.accounts.v1.AccountRelationshipsService.ListAccountRelationships:output_type -> google.shopping.merchant.accounts.v1.ListAccountRelationshipsResponse
559 6, // [6:9] is the sub-list for method output_type
560 3, // [3:6] is the sub-list for method input_type
561 3, // [3:3] is the sub-list for extension type_name
562 3, // [3:3] is the sub-list for extension extendee
563 0, // [0:3] is the sub-list for field type_name
564 }
565
566 func init() { file_google_shopping_merchant_accounts_v1_accountrelationships_proto_init() }
567 func file_google_shopping_merchant_accounts_v1_accountrelationships_proto_init() {
568 if File_google_shopping_merchant_accounts_v1_accountrelationships_proto != nil {
569 return
570 }
571 file_google_shopping_merchant_accounts_v1_accountrelationships_proto_msgTypes[0].OneofWrappers = []any{}
572 type x struct{}
573 out := protoimpl.TypeBuilder{
574 File: protoimpl.DescBuilder{
575 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
576 RawDescriptor: file_google_shopping_merchant_accounts_v1_accountrelationships_proto_rawDesc,
577 NumEnums: 0,
578 NumMessages: 5,
579 NumExtensions: 0,
580 NumServices: 1,
581 },
582 GoTypes: file_google_shopping_merchant_accounts_v1_accountrelationships_proto_goTypes,
583 DependencyIndexes: file_google_shopping_merchant_accounts_v1_accountrelationships_proto_depIdxs,
584 MessageInfos: file_google_shopping_merchant_accounts_v1_accountrelationships_proto_msgTypes,
585 }.Build()
586 File_google_shopping_merchant_accounts_v1_accountrelationships_proto = out.File
587 file_google_shopping_merchant_accounts_v1_accountrelationships_proto_rawDesc = nil
588 file_google_shopping_merchant_accounts_v1_accountrelationships_proto_goTypes = nil
589 file_google_shopping_merchant_accounts_v1_accountrelationships_proto_depIdxs = nil
590 }
591
592 // Reference imports to suppress errors if they are not otherwise used.
593 var _ context.Context
594 var _ grpc.ClientConnInterface
595
596 // This is a compile-time assertion to ensure that this generated file
597 // is compatible with the grpc package it is being compiled against.
598 const _ = grpc.SupportPackageIsVersion6
599
600 // AccountRelationshipsServiceClient is the client API for AccountRelationshipsService service.
601 //
602 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
603 type AccountRelationshipsServiceClient interface {
604 // Retrieve an account relationship.
605 GetAccountRelationship(ctx context.Context, in *GetAccountRelationshipRequest, opts ...grpc.CallOption) (*AccountRelationship, error)
606 // Updates the account relationship. Executing this method requires admin
607 // access.
608 UpdateAccountRelationship(ctx context.Context, in *UpdateAccountRelationshipRequest, opts ...grpc.CallOption) (*AccountRelationship, error)
609 // List account relationships for the specified account.
610 ListAccountRelationships(ctx context.Context, in *ListAccountRelationshipsRequest, opts ...grpc.CallOption) (*ListAccountRelationshipsResponse, error)
611 }
612
613 type accountRelationshipsServiceClient struct {
614 cc grpc.ClientConnInterface
615 }
616
617 func NewAccountRelationshipsServiceClient(cc grpc.ClientConnInterface) AccountRelationshipsServiceClient {
618 return &accountRelationshipsServiceClient{cc}
619 }
620
621 func (c *accountRelationshipsServiceClient) GetAccountRelationship(ctx context.Context, in *GetAccountRelationshipRequest, opts ...grpc.CallOption) (*AccountRelationship, error) {
622 out := new(AccountRelationship)
623 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.AccountRelationshipsService/GetAccountRelationship", in, out, opts...)
624 if err != nil {
625 return nil, err
626 }
627 return out, nil
628 }
629
630 func (c *accountRelationshipsServiceClient) UpdateAccountRelationship(ctx context.Context, in *UpdateAccountRelationshipRequest, opts ...grpc.CallOption) (*AccountRelationship, error) {
631 out := new(AccountRelationship)
632 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.AccountRelationshipsService/UpdateAccountRelationship", in, out, opts...)
633 if err != nil {
634 return nil, err
635 }
636 return out, nil
637 }
638
639 func (c *accountRelationshipsServiceClient) ListAccountRelationships(ctx context.Context, in *ListAccountRelationshipsRequest, opts ...grpc.CallOption) (*ListAccountRelationshipsResponse, error) {
640 out := new(ListAccountRelationshipsResponse)
641 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.AccountRelationshipsService/ListAccountRelationships", in, out, opts...)
642 if err != nil {
643 return nil, err
644 }
645 return out, nil
646 }
647
648 // AccountRelationshipsServiceServer is the server API for AccountRelationshipsService service.
649 type AccountRelationshipsServiceServer interface {
650 // Retrieve an account relationship.
651 GetAccountRelationship(context.Context, *GetAccountRelationshipRequest) (*AccountRelationship, error)
652 // Updates the account relationship. Executing this method requires admin
653 // access.
654 UpdateAccountRelationship(context.Context, *UpdateAccountRelationshipRequest) (*AccountRelationship, error)
655 // List account relationships for the specified account.
656 ListAccountRelationships(context.Context, *ListAccountRelationshipsRequest) (*ListAccountRelationshipsResponse, error)
657 }
658
659 // UnimplementedAccountRelationshipsServiceServer can be embedded to have forward compatible implementations.
660 type UnimplementedAccountRelationshipsServiceServer struct {
661 }
662
663 func (*UnimplementedAccountRelationshipsServiceServer) GetAccountRelationship(context.Context, *GetAccountRelationshipRequest) (*AccountRelationship, error) {
664 return nil, status.Errorf(codes.Unimplemented, "method GetAccountRelationship not implemented")
665 }
666 func (*UnimplementedAccountRelationshipsServiceServer) UpdateAccountRelationship(context.Context, *UpdateAccountRelationshipRequest) (*AccountRelationship, error) {
667 return nil, status.Errorf(codes.Unimplemented, "method UpdateAccountRelationship not implemented")
668 }
669 func (*UnimplementedAccountRelationshipsServiceServer) ListAccountRelationships(context.Context, *ListAccountRelationshipsRequest) (*ListAccountRelationshipsResponse, error) {
670 return nil, status.Errorf(codes.Unimplemented, "method ListAccountRelationships not implemented")
671 }
672
673 func RegisterAccountRelationshipsServiceServer(s *grpc.Server, srv AccountRelationshipsServiceServer) {
674 s.RegisterService(&_AccountRelationshipsService_serviceDesc, srv)
675 }
676
677 func _AccountRelationshipsService_GetAccountRelationship_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
678 in := new(GetAccountRelationshipRequest)
679 if err := dec(in); err != nil {
680 return nil, err
681 }
682 if interceptor == nil {
683 return srv.(AccountRelationshipsServiceServer).GetAccountRelationship(ctx, in)
684 }
685 info := &grpc.UnaryServerInfo{
686 Server: srv,
687 FullMethod: "/google.shopping.merchant.accounts.v1.AccountRelationshipsService/GetAccountRelationship",
688 }
689 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
690 return srv.(AccountRelationshipsServiceServer).GetAccountRelationship(ctx, req.(*GetAccountRelationshipRequest))
691 }
692 return interceptor(ctx, in, info, handler)
693 }
694
695 func _AccountRelationshipsService_UpdateAccountRelationship_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
696 in := new(UpdateAccountRelationshipRequest)
697 if err := dec(in); err != nil {
698 return nil, err
699 }
700 if interceptor == nil {
701 return srv.(AccountRelationshipsServiceServer).UpdateAccountRelationship(ctx, in)
702 }
703 info := &grpc.UnaryServerInfo{
704 Server: srv,
705 FullMethod: "/google.shopping.merchant.accounts.v1.AccountRelationshipsService/UpdateAccountRelationship",
706 }
707 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
708 return srv.(AccountRelationshipsServiceServer).UpdateAccountRelationship(ctx, req.(*UpdateAccountRelationshipRequest))
709 }
710 return interceptor(ctx, in, info, handler)
711 }
712
713 func _AccountRelationshipsService_ListAccountRelationships_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
714 in := new(ListAccountRelationshipsRequest)
715 if err := dec(in); err != nil {
716 return nil, err
717 }
718 if interceptor == nil {
719 return srv.(AccountRelationshipsServiceServer).ListAccountRelationships(ctx, in)
720 }
721 info := &grpc.UnaryServerInfo{
722 Server: srv,
723 FullMethod: "/google.shopping.merchant.accounts.v1.AccountRelationshipsService/ListAccountRelationships",
724 }
725 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
726 return srv.(AccountRelationshipsServiceServer).ListAccountRelationships(ctx, req.(*ListAccountRelationshipsRequest))
727 }
728 return interceptor(ctx, in, info, handler)
729 }
730
731 var _AccountRelationshipsService_serviceDesc = grpc.ServiceDesc{
732 ServiceName: "google.shopping.merchant.accounts.v1.AccountRelationshipsService",
733 HandlerType: (*AccountRelationshipsServiceServer)(nil),
734 Methods: []grpc.MethodDesc{
735 {
736 MethodName: "GetAccountRelationship",
737 Handler: _AccountRelationshipsService_GetAccountRelationship_Handler,
738 },
739 {
740 MethodName: "UpdateAccountRelationship",
741 Handler: _AccountRelationshipsService_UpdateAccountRelationship_Handler,
742 },
743 {
744 MethodName: "ListAccountRelationships",
745 Handler: _AccountRelationshipsService_ListAccountRelationships_Handler,
746 },
747 },
748 Streams: []grpc.StreamDesc{},
749 Metadata: "google/shopping/merchant/accounts/v1/accountrelationships.proto",
750 }