Debian Codegraph @

shopping/merchant/accounts/apiv1/accountspb/autofeedsettings.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/autofeedsettings.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 // Collection of information related to the
44 // [autofeed](https://support.google.com/merchants/answer/7538732) settings.
45 type AutofeedSettings struct {
46 state protoimpl.MessageState
47 sizeCache protoimpl.SizeCache
48 unknownFields protoimpl.UnknownFields
49
50 // Identifier. The resource name of the autofeed settings.
51 // Format: `accounts/{account}/autofeedSettings`.
52 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
53 // Required. Enables or disables product crawling through the autofeed for the
54 // given account. Autofeed accounts must meet [certain
55 // conditions](https://support.google.com/merchants/answer/7538732#Configure_automated_feeds_Standard_Experience),
56 // which can be checked through the `eligible` field.
57 // The account must **not** be a marketplace.
58 // When the autofeed is enabled for the first time, the products usually
59 // appear instantly. When re-enabling, it might take up to 24 hours for
60 // products to appear.
61 EnableProducts bool `protobuf:"varint,2,opt,name=enable_products,json=enableProducts,proto3" json:"enable_products,omitempty"`
62 // Output only. Determines whether the business is eligible for being enrolled
63 // into an autofeed.
64 Eligible bool `protobuf:"varint,3,opt,name=eligible,proto3" json:"eligible,omitempty"`
65 }
66
67 func (x *AutofeedSettings) Reset() {
68 *x = AutofeedSettings{}
69 mi := &file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_msgTypes[0]
70 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
71 ms.StoreMessageInfo(mi)
72 }
73
74 func (x *AutofeedSettings) String() string {
75 return protoimpl.X.MessageStringOf(x)
76 }
77
78 func (*AutofeedSettings) ProtoMessage() {}
79
80 func (x *AutofeedSettings) ProtoReflect() protoreflect.Message {
81 mi := &file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_msgTypes[0]
82 if x != nil {
83 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
84 if ms.LoadMessageInfo() == nil {
85 ms.StoreMessageInfo(mi)
86 }
87 return ms
88 }
89 return mi.MessageOf(x)
90 }
91
92 // Deprecated: Use AutofeedSettings.ProtoReflect.Descriptor instead.
93 func (*AutofeedSettings) Descriptor() ([]byte, []int) {
94 return file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_rawDescGZIP(), []int{0}
95 }
96
97 func (x *AutofeedSettings) GetName() string {
98 if x != nil {
99 return x.Name
100 }
101 return ""
102 }
103
104 func (x *AutofeedSettings) GetEnableProducts() bool {
105 if x != nil {
106 return x.EnableProducts
107 }
108 return false
109 }
110
111 func (x *AutofeedSettings) GetEligible() bool {
112 if x != nil {
113 return x.Eligible
114 }
115 return false
116 }
117
118 // Request message for the `GetAutofeedSettings` method.
119 type GetAutofeedSettingsRequest struct {
120 state protoimpl.MessageState
121 sizeCache protoimpl.SizeCache
122 unknownFields protoimpl.UnknownFields
123
124 // Required. The resource name of the autofeed settings.
125 // Format: `accounts/{account}/autofeedSettings`
126 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
127 }
128
129 func (x *GetAutofeedSettingsRequest) Reset() {
130 *x = GetAutofeedSettingsRequest{}
131 mi := &file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_msgTypes[1]
132 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
133 ms.StoreMessageInfo(mi)
134 }
135
136 func (x *GetAutofeedSettingsRequest) String() string {
137 return protoimpl.X.MessageStringOf(x)
138 }
139
140 func (*GetAutofeedSettingsRequest) ProtoMessage() {}
141
142 func (x *GetAutofeedSettingsRequest) ProtoReflect() protoreflect.Message {
143 mi := &file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_msgTypes[1]
144 if x != nil {
145 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
146 if ms.LoadMessageInfo() == nil {
147 ms.StoreMessageInfo(mi)
148 }
149 return ms
150 }
151 return mi.MessageOf(x)
152 }
153
154 // Deprecated: Use GetAutofeedSettingsRequest.ProtoReflect.Descriptor instead.
155 func (*GetAutofeedSettingsRequest) Descriptor() ([]byte, []int) {
156 return file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_rawDescGZIP(), []int{1}
157 }
158
159 func (x *GetAutofeedSettingsRequest) GetName() string {
160 if x != nil {
161 return x.Name
162 }
163 return ""
164 }
165
166 // Request message for the `UpdateAutofeedSettings` method.
167 type UpdateAutofeedSettingsRequest struct {
168 state protoimpl.MessageState
169 sizeCache protoimpl.SizeCache
170 unknownFields protoimpl.UnknownFields
171
172 // Required. The new version of the autofeed setting.
173 AutofeedSettings *AutofeedSettings `protobuf:"bytes,1,opt,name=autofeed_settings,json=autofeedSettings,proto3" json:"autofeed_settings,omitempty"`
174 // Required. List of fields being updated.
175 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
176 }
177
178 func (x *UpdateAutofeedSettingsRequest) Reset() {
179 *x = UpdateAutofeedSettingsRequest{}
180 mi := &file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_msgTypes[2]
181 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
182 ms.StoreMessageInfo(mi)
183 }
184
185 func (x *UpdateAutofeedSettingsRequest) String() string {
186 return protoimpl.X.MessageStringOf(x)
187 }
188
189 func (*UpdateAutofeedSettingsRequest) ProtoMessage() {}
190
191 func (x *UpdateAutofeedSettingsRequest) ProtoReflect() protoreflect.Message {
192 mi := &file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_msgTypes[2]
193 if x != nil {
194 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
195 if ms.LoadMessageInfo() == nil {
196 ms.StoreMessageInfo(mi)
197 }
198 return ms
199 }
200 return mi.MessageOf(x)
201 }
202
203 // Deprecated: Use UpdateAutofeedSettingsRequest.ProtoReflect.Descriptor instead.
204 func (*UpdateAutofeedSettingsRequest) Descriptor() ([]byte, []int) {
205 return file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_rawDescGZIP(), []int{2}
206 }
207
208 func (x *UpdateAutofeedSettingsRequest) GetAutofeedSettings() *AutofeedSettings {
209 if x != nil {
210 return x.AutofeedSettings
211 }
212 return nil
213 }
214
215 func (x *UpdateAutofeedSettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
216 if x != nil {
217 return x.UpdateMask
218 }
219 return nil
220 }
221
222 var File_google_shopping_merchant_accounts_v1_autofeedsettings_proto protoreflect.FileDescriptor
223
224 var file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_rawDesc = []byte{
225 0x0a, 0x3b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
226 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75,
227 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x73,
228 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x24, 0x67,
229 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d,
230 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
231 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
232 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
233 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c,
234 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
235 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68,
236 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f,
237 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
238 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
239 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61,
240 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf5, 0x01, 0x0a, 0x10, 0x41, 0x75, 0x74,
241 0x6f, 0x66, 0x65, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x17, 0x0a,
242 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08,
243 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x0f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65,
244 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42,
245 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0e, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x64,
246 0x75, 0x63, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x08, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65,
247 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x08, 0x65, 0x6c, 0x69,
248 0x67, 0x69, 0x62, 0x6c, 0x65, 0x3a, 0x79, 0xea, 0x41, 0x76, 0x0a, 0x2b, 0x6d, 0x65, 0x72, 0x63,
249 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
250 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x53,
251 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x23, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
252 0x73, 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x2f, 0x61, 0x75, 0x74, 0x6f,
253 0x66, 0x65, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2a, 0x10, 0x61, 0x75,
254 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x32, 0x10,
255 0x61, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
256 0x22, 0x65, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x53,
257 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47,
258 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41,
259 0x02, 0xfa, 0x41, 0x2d, 0x0a, 0x2b, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70,
260 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
261 0x2f, 0x41, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
262 0x73, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xcb, 0x01, 0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61,
263 0x74, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
264 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x68, 0x0a, 0x11, 0x61, 0x75, 0x74,
265 0x6f, 0x66, 0x65, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01,
266 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68,
267 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e,
268 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x6f,
269 0x66, 0x65, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x03, 0xe0, 0x41,
270 0x02, 0x52, 0x10, 0x61, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69,
271 0x6e, 0x67, 0x73, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61,
272 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
273 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64,
274 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74,
275 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x32, 0xca, 0x04, 0x0a, 0x17, 0x41, 0x75, 0x74, 0x6f, 0x66, 0x65,
276 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
277 0x65, 0x12, 0xcf, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65,
278 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
279 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63,
280 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31,
281 0x2e, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74,
282 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x67, 0x6f,
283 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65,
284 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e,
285 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69,
286 0x6e, 0x67, 0x73, 0x22, 0x3e, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93,
287 0x02, 0x31, 0x12, 0x2f, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31,
288 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f,
289 0x2a, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
290 0x67, 0x73, 0x7d, 0x12, 0x93, 0x02, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x75,
291 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x43,
292 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
293 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
294 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x6f,
295 0x66, 0x65, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75,
296 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f,
297 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61,
298 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x66,
299 0x65, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x7c, 0xda, 0x41, 0x1d,
300 0x61, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
301 0x73, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4,
302 0x93, 0x02, 0x56, 0x3a, 0x11, 0x61, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x5f, 0x73, 0x65,
303 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x32, 0x41, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
304 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x61, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x5f, 0x73,
305 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63,
306 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64,
307 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x7d, 0x1a, 0x47, 0xca, 0x41, 0x1a, 0x6d, 0x65,
308 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
309 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x27, 0x68, 0x74, 0x74, 0x70, 0x73,
310 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
311 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65,
312 0x6e, 0x74, 0x42, 0x88, 0x02, 0x0a, 0x28, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
313 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68,
314 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x42,
315 0x15, 0x41, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
316 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
317 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x68,
318 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f,
319 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61,
320 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
321 0x74, 0x73, 0x70, 0x62, 0xaa, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x53, 0x68,
322 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e,
323 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x24, 0x47, 0x6f,
324 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5c, 0x4d, 0x65,
325 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x5c, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5c,
326 0x56, 0x31, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x53, 0x68, 0x6f,
327 0x70, 0x70, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x3a,
328 0x3a, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70,
329 0x72, 0x6f, 0x74, 0x6f, 0x33,
330 }
331
332 var (
333 file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_rawDescOnce sync.Once
334 file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_rawDescData = file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_rawDesc
335 )
336
337 func file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_rawDescGZIP() []byte {
338 file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_rawDescOnce.Do(func() {
339 file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_rawDescData)
340 })
341 return file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_rawDescData
342 }
343
344 var file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
345 var file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_goTypes = []any{
346 (*AutofeedSettings)(nil), // 0: google.shopping.merchant.accounts.v1.AutofeedSettings
347 (*GetAutofeedSettingsRequest)(nil), // 1: google.shopping.merchant.accounts.v1.GetAutofeedSettingsRequest
348 (*UpdateAutofeedSettingsRequest)(nil), // 2: google.shopping.merchant.accounts.v1.UpdateAutofeedSettingsRequest
349 (*fieldmaskpb.FieldMask)(nil), // 3: google.protobuf.FieldMask
350 }
351 var file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_depIdxs = []int32{
352 0, // 0: google.shopping.merchant.accounts.v1.UpdateAutofeedSettingsRequest.autofeed_settings:type_name -> google.shopping.merchant.accounts.v1.AutofeedSettings
353 3, // 1: google.shopping.merchant.accounts.v1.UpdateAutofeedSettingsRequest.update_mask:type_name -> google.protobuf.FieldMask
354 1, // 2: google.shopping.merchant.accounts.v1.AutofeedSettingsService.GetAutofeedSettings:input_type -> google.shopping.merchant.accounts.v1.GetAutofeedSettingsRequest
355 2, // 3: google.shopping.merchant.accounts.v1.AutofeedSettingsService.UpdateAutofeedSettings:input_type -> google.shopping.merchant.accounts.v1.UpdateAutofeedSettingsRequest
356 0, // 4: google.shopping.merchant.accounts.v1.AutofeedSettingsService.GetAutofeedSettings:output_type -> google.shopping.merchant.accounts.v1.AutofeedSettings
357 0, // 5: google.shopping.merchant.accounts.v1.AutofeedSettingsService.UpdateAutofeedSettings:output_type -> google.shopping.merchant.accounts.v1.AutofeedSettings
358 4, // [4:6] is the sub-list for method output_type
359 2, // [2:4] is the sub-list for method input_type
360 2, // [2:2] is the sub-list for extension type_name
361 2, // [2:2] is the sub-list for extension extendee
362 0, // [0:2] is the sub-list for field type_name
363 }
364
365 func init() { file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_init() }
366 func file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_init() {
367 if File_google_shopping_merchant_accounts_v1_autofeedsettings_proto != nil {
368 return
369 }
370 type x struct{}
371 out := protoimpl.TypeBuilder{
372 File: protoimpl.DescBuilder{
373 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
374 RawDescriptor: file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_rawDesc,
375 NumEnums: 0,
376 NumMessages: 3,
377 NumExtensions: 0,
378 NumServices: 1,
379 },
380 GoTypes: file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_goTypes,
381 DependencyIndexes: file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_depIdxs,
382 MessageInfos: file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_msgTypes,
383 }.Build()
384 File_google_shopping_merchant_accounts_v1_autofeedsettings_proto = out.File
385 file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_rawDesc = nil
386 file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_goTypes = nil
387 file_google_shopping_merchant_accounts_v1_autofeedsettings_proto_depIdxs = nil
388 }
389
390 // Reference imports to suppress errors if they are not otherwise used.
391 var _ context.Context
392 var _ grpc.ClientConnInterface
393
394 // This is a compile-time assertion to ensure that this generated file
395 // is compatible with the grpc package it is being compiled against.
396 const _ = grpc.SupportPackageIsVersion6
397
398 // AutofeedSettingsServiceClient is the client API for AutofeedSettingsService service.
399 //
400 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
401 type AutofeedSettingsServiceClient interface {
402 // Retrieves the autofeed settings of an account.
403 GetAutofeedSettings(ctx context.Context, in *GetAutofeedSettingsRequest, opts ...grpc.CallOption) (*AutofeedSettings, error)
404 // Updates the autofeed settings of an account.
405 UpdateAutofeedSettings(ctx context.Context, in *UpdateAutofeedSettingsRequest, opts ...grpc.CallOption) (*AutofeedSettings, error)
406 }
407
408 type autofeedSettingsServiceClient struct {
409 cc grpc.ClientConnInterface
410 }
411
412 func NewAutofeedSettingsServiceClient(cc grpc.ClientConnInterface) AutofeedSettingsServiceClient {
413 return &autofeedSettingsServiceClient{cc}
414 }
415
416 func (c *autofeedSettingsServiceClient) GetAutofeedSettings(ctx context.Context, in *GetAutofeedSettingsRequest, opts ...grpc.CallOption) (*AutofeedSettings, error) {
417 out := new(AutofeedSettings)
418 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.AutofeedSettingsService/GetAutofeedSettings", in, out, opts...)
419 if err != nil {
420 return nil, err
421 }
422 return out, nil
423 }
424
425 func (c *autofeedSettingsServiceClient) UpdateAutofeedSettings(ctx context.Context, in *UpdateAutofeedSettingsRequest, opts ...grpc.CallOption) (*AutofeedSettings, error) {
426 out := new(AutofeedSettings)
427 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.AutofeedSettingsService/UpdateAutofeedSettings", in, out, opts...)
428 if err != nil {
429 return nil, err
430 }
431 return out, nil
432 }
433
434 // AutofeedSettingsServiceServer is the server API for AutofeedSettingsService service.
435 type AutofeedSettingsServiceServer interface {
436 // Retrieves the autofeed settings of an account.
437 GetAutofeedSettings(context.Context, *GetAutofeedSettingsRequest) (*AutofeedSettings, error)
438 // Updates the autofeed settings of an account.
439 UpdateAutofeedSettings(context.Context, *UpdateAutofeedSettingsRequest) (*AutofeedSettings, error)
440 }
441
442 // UnimplementedAutofeedSettingsServiceServer can be embedded to have forward compatible implementations.
443 type UnimplementedAutofeedSettingsServiceServer struct {
444 }
445
446 func (*UnimplementedAutofeedSettingsServiceServer) GetAutofeedSettings(context.Context, *GetAutofeedSettingsRequest) (*AutofeedSettings, error) {
447 return nil, status.Errorf(codes.Unimplemented, "method GetAutofeedSettings not implemented")
448 }
449 func (*UnimplementedAutofeedSettingsServiceServer) UpdateAutofeedSettings(context.Context, *UpdateAutofeedSettingsRequest) (*AutofeedSettings, error) {
450 return nil, status.Errorf(codes.Unimplemented, "method UpdateAutofeedSettings not implemented")
451 }
452
453 func RegisterAutofeedSettingsServiceServer(s *grpc.Server, srv AutofeedSettingsServiceServer) {
454 s.RegisterService(&_AutofeedSettingsService_serviceDesc, srv)
455 }
456
457 func _AutofeedSettingsService_GetAutofeedSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
458 in := new(GetAutofeedSettingsRequest)
459 if err := dec(in); err != nil {
460 return nil, err
461 }
462 if interceptor == nil {
463 return srv.(AutofeedSettingsServiceServer).GetAutofeedSettings(ctx, in)
464 }
465 info := &grpc.UnaryServerInfo{
466 Server: srv,
467 FullMethod: "/google.shopping.merchant.accounts.v1.AutofeedSettingsService/GetAutofeedSettings",
468 }
469 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
470 return srv.(AutofeedSettingsServiceServer).GetAutofeedSettings(ctx, req.(*GetAutofeedSettingsRequest))
471 }
472 return interceptor(ctx, in, info, handler)
473 }
474
475 func _AutofeedSettingsService_UpdateAutofeedSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
476 in := new(UpdateAutofeedSettingsRequest)
477 if err := dec(in); err != nil {
478 return nil, err
479 }
480 if interceptor == nil {
481 return srv.(AutofeedSettingsServiceServer).UpdateAutofeedSettings(ctx, in)
482 }
483 info := &grpc.UnaryServerInfo{
484 Server: srv,
485 FullMethod: "/google.shopping.merchant.accounts.v1.AutofeedSettingsService/UpdateAutofeedSettings",
486 }
487 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
488 return srv.(AutofeedSettingsServiceServer).UpdateAutofeedSettings(ctx, req.(*UpdateAutofeedSettingsRequest))
489 }
490 return interceptor(ctx, in, info, handler)
491 }
492
493 var _AutofeedSettingsService_serviceDesc = grpc.ServiceDesc{
494 ServiceName: "google.shopping.merchant.accounts.v1.AutofeedSettingsService",
495 HandlerType: (*AutofeedSettingsServiceServer)(nil),
496 Methods: []grpc.MethodDesc{
497 {
498 MethodName: "GetAutofeedSettings",
499 Handler: _AutofeedSettingsService_GetAutofeedSettings_Handler,
500 },
501 {
502 MethodName: "UpdateAutofeedSettings",
503 Handler: _AutofeedSettingsService_UpdateAutofeedSettings_Handler,
504 },
505 },
506 Streams: []grpc.StreamDesc{},
507 Metadata: "google/shopping/merchant/accounts/v1/autofeedsettings.proto",
508 }