Debian Codegraph @

shopping/merchant/accounts/apiv1beta/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/v1beta/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 merchant 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_v1beta_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_v1beta_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_v1beta_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_v1beta_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_v1beta_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_v1beta_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_v1beta_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_v1beta_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_v1beta_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_v1beta_autofeedsettings_proto protoreflect.FileDescriptor
223
224 var file_google_shopping_merchant_accounts_v1beta_autofeedsettings_proto_rawDesc = []byte{
225 0x0a, 0x3f, 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, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x66,
228 0x65, 0x65, 0x64, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
229 0x6f, 0x12, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
230 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f,
231 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1c, 0x67, 0x6f, 0x6f,
232 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
233 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
234 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f,
235 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66,
236 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72,
237 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
238 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20,
239 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
240 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
241 0x22, 0xf5, 0x01, 0x0a, 0x10, 0x41, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x53, 0x65, 0x74,
242 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
243 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2c,
244 0x0a, 0x0f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
245 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0e, 0x65, 0x6e,
246 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x08,
247 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03,
248 0xe0, 0x41, 0x03, 0x52, 0x08, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x3a, 0x79, 0xea,
249 0x41, 0x76, 0x0a, 0x2b, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e,
250 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41,
251 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12,
252 0x23, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, 0x75,
253 0x6e, 0x74, 0x7d, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74,
254 0x69, 0x6e, 0x67, 0x73, 0x2a, 0x10, 0x61, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x53, 0x65,
255 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x32, 0x10, 0x61, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64,
256 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x65, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x41,
257 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52,
258 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
259 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2d, 0x0a, 0x2b, 0x6d, 0x65,
260 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
261 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65,
262 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22,
263 0xcf, 0x01, 0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x66, 0x65,
264 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
265 0x74, 0x12, 0x6c, 0x0a, 0x11, 0x61, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x5f, 0x73, 0x65,
266 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67,
267 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d,
268 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
269 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64,
270 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x10, 0x61,
271 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12,
272 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02,
273 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
274 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b,
275 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73,
276 0x6b, 0x32, 0xe3, 0x04, 0x0a, 0x17, 0x41, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x53, 0x65,
277 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xdb, 0x01,
278 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x53, 0x65, 0x74,
279 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x44, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73,
280 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74,
281 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
282 0x2e, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74,
283 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x67, 0x6f,
284 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65,
285 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e,
286 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x53,
287 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x42, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65,
288 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x35, 0x12, 0x33, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
289 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61,
290 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x66, 0x65,
291 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x7d, 0x12, 0xa0, 0x02, 0x0a, 0x16,
292 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x53, 0x65,
293 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
294 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e,
295 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
296 0x61, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64,
297 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
298 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
299 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75,
300 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x66,
301 0x65, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x80, 0x01, 0xda, 0x41,
302 0x1d, 0x61, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e,
303 0x67, 0x73, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3,
304 0xe4, 0x93, 0x02, 0x5a, 0x3a, 0x11, 0x61, 0x75, 0x74, 0x6f, 0x66, 0x65, 0x65, 0x64, 0x5f, 0x73,
305 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x32, 0x45, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
306 0x74, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x61, 0x75, 0x74, 0x6f, 0x66,
307 0x65, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x6e, 0x61, 0x6d,
308 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x75, 0x74,
309 0x6f, 0x66, 0x65, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x7d, 0x1a, 0x47,
310 0xca, 0x41, 0x1a, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67,
311 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x27,
312 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
313 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f,
314 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x97, 0x01, 0x0a, 0x2c, 0x63, 0x6f, 0x6d, 0x2e,
315 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e,
316 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
317 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x42, 0x15, 0x41, 0x75, 0x74, 0x6f, 0x66, 0x65,
318 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
319 0x01, 0x5a, 0x4e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
320 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f,
321 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
322 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x61, 0x63, 0x63, 0x6f,
323 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70,
324 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
325 }
326
327 var (
328 file_google_shopping_merchant_accounts_v1beta_autofeedsettings_proto_rawDescOnce sync.Once
329 file_google_shopping_merchant_accounts_v1beta_autofeedsettings_proto_rawDescData = file_google_shopping_merchant_accounts_v1beta_autofeedsettings_proto_rawDesc
330 )
331
332 func file_google_shopping_merchant_accounts_v1beta_autofeedsettings_proto_rawDescGZIP() []byte {
333 file_google_shopping_merchant_accounts_v1beta_autofeedsettings_proto_rawDescOnce.Do(func() {
334 file_google_shopping_merchant_accounts_v1beta_autofeedsettings_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_accounts_v1beta_autofeedsettings_proto_rawDescData)
335 })
336 return file_google_shopping_merchant_accounts_v1beta_autofeedsettings_proto_rawDescData
337 }
338
339 var file_google_shopping_merchant_accounts_v1beta_autofeedsettings_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
340 var file_google_shopping_merchant_accounts_v1beta_autofeedsettings_proto_goTypes = []any{
341 (*AutofeedSettings)(nil), // 0: google.shopping.merchant.accounts.v1beta.AutofeedSettings
342 (*GetAutofeedSettingsRequest)(nil), // 1: google.shopping.merchant.accounts.v1beta.GetAutofeedSettingsRequest
343 (*UpdateAutofeedSettingsRequest)(nil), // 2: google.shopping.merchant.accounts.v1beta.UpdateAutofeedSettingsRequest
344 (*fieldmaskpb.FieldMask)(nil), // 3: google.protobuf.FieldMask
345 }
346 var file_google_shopping_merchant_accounts_v1beta_autofeedsettings_proto_depIdxs = []int32{
347 0, // 0: google.shopping.merchant.accounts.v1beta.UpdateAutofeedSettingsRequest.autofeed_settings:type_name -> google.shopping.merchant.accounts.v1beta.AutofeedSettings
348 3, // 1: google.shopping.merchant.accounts.v1beta.UpdateAutofeedSettingsRequest.update_mask:type_name -> google.protobuf.FieldMask
349 1, // 2: google.shopping.merchant.accounts.v1beta.AutofeedSettingsService.GetAutofeedSettings:input_type -> google.shopping.merchant.accounts.v1beta.GetAutofeedSettingsRequest
350 2, // 3: google.shopping.merchant.accounts.v1beta.AutofeedSettingsService.UpdateAutofeedSettings:input_type -> google.shopping.merchant.accounts.v1beta.UpdateAutofeedSettingsRequest
351 0, // 4: google.shopping.merchant.accounts.v1beta.AutofeedSettingsService.GetAutofeedSettings:output_type -> google.shopping.merchant.accounts.v1beta.AutofeedSettings
352 0, // 5: google.shopping.merchant.accounts.v1beta.AutofeedSettingsService.UpdateAutofeedSettings:output_type -> google.shopping.merchant.accounts.v1beta.AutofeedSettings
353 4, // [4:6] is the sub-list for method output_type
354 2, // [2:4] is the sub-list for method input_type
355 2, // [2:2] is the sub-list for extension type_name
356 2, // [2:2] is the sub-list for extension extendee
357 0, // [0:2] is the sub-list for field type_name
358 }
359
360 func init() { file_google_shopping_merchant_accounts_v1beta_autofeedsettings_proto_init() }
361 func file_google_shopping_merchant_accounts_v1beta_autofeedsettings_proto_init() {
362 if File_google_shopping_merchant_accounts_v1beta_autofeedsettings_proto != nil {
363 return
364 }
365 type x struct{}
366 out := protoimpl.TypeBuilder{
367 File: protoimpl.DescBuilder{
368 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
369 RawDescriptor: file_google_shopping_merchant_accounts_v1beta_autofeedsettings_proto_rawDesc,
370 NumEnums: 0,
371 NumMessages: 3,
372 NumExtensions: 0,
373 NumServices: 1,
374 },
375 GoTypes: file_google_shopping_merchant_accounts_v1beta_autofeedsettings_proto_goTypes,
376 DependencyIndexes: file_google_shopping_merchant_accounts_v1beta_autofeedsettings_proto_depIdxs,
377 MessageInfos: file_google_shopping_merchant_accounts_v1beta_autofeedsettings_proto_msgTypes,
378 }.Build()
379 File_google_shopping_merchant_accounts_v1beta_autofeedsettings_proto = out.File
380 file_google_shopping_merchant_accounts_v1beta_autofeedsettings_proto_rawDesc = nil
381 file_google_shopping_merchant_accounts_v1beta_autofeedsettings_proto_goTypes = nil
382 file_google_shopping_merchant_accounts_v1beta_autofeedsettings_proto_depIdxs = nil
383 }
384
385 // Reference imports to suppress errors if they are not otherwise used.
386 var _ context.Context
387 var _ grpc.ClientConnInterface
388
389 // This is a compile-time assertion to ensure that this generated file
390 // is compatible with the grpc package it is being compiled against.
391 const _ = grpc.SupportPackageIsVersion6
392
393 // AutofeedSettingsServiceClient is the client API for AutofeedSettingsService service.
394 //
395 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
396 type AutofeedSettingsServiceClient interface {
397 // Retrieves the autofeed settings of an account.
398 GetAutofeedSettings(ctx context.Context, in *GetAutofeedSettingsRequest, opts ...grpc.CallOption) (*AutofeedSettings, error)
399 // Updates the autofeed settings of an account.
400 UpdateAutofeedSettings(ctx context.Context, in *UpdateAutofeedSettingsRequest, opts ...grpc.CallOption) (*AutofeedSettings, error)
401 }
402
403 type autofeedSettingsServiceClient struct {
404 cc grpc.ClientConnInterface
405 }
406
407 func NewAutofeedSettingsServiceClient(cc grpc.ClientConnInterface) AutofeedSettingsServiceClient {
408 return &autofeedSettingsServiceClient{cc}
409 }
410
411 func (c *autofeedSettingsServiceClient) GetAutofeedSettings(ctx context.Context, in *GetAutofeedSettingsRequest, opts ...grpc.CallOption) (*AutofeedSettings, error) {
412 out := new(AutofeedSettings)
413 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1beta.AutofeedSettingsService/GetAutofeedSettings", in, out, opts...)
414 if err != nil {
415 return nil, err
416 }
417 return out, nil
418 }
419
420 func (c *autofeedSettingsServiceClient) UpdateAutofeedSettings(ctx context.Context, in *UpdateAutofeedSettingsRequest, opts ...grpc.CallOption) (*AutofeedSettings, error) {
421 out := new(AutofeedSettings)
422 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1beta.AutofeedSettingsService/UpdateAutofeedSettings", in, out, opts...)
423 if err != nil {
424 return nil, err
425 }
426 return out, nil
427 }
428
429 // AutofeedSettingsServiceServer is the server API for AutofeedSettingsService service.
430 type AutofeedSettingsServiceServer interface {
431 // Retrieves the autofeed settings of an account.
432 GetAutofeedSettings(context.Context, *GetAutofeedSettingsRequest) (*AutofeedSettings, error)
433 // Updates the autofeed settings of an account.
434 UpdateAutofeedSettings(context.Context, *UpdateAutofeedSettingsRequest) (*AutofeedSettings, error)
435 }
436
437 // UnimplementedAutofeedSettingsServiceServer can be embedded to have forward compatible implementations.
438 type UnimplementedAutofeedSettingsServiceServer struct {
439 }
440
441 func (*UnimplementedAutofeedSettingsServiceServer) GetAutofeedSettings(context.Context, *GetAutofeedSettingsRequest) (*AutofeedSettings, error) {
442 return nil, status.Errorf(codes.Unimplemented, "method GetAutofeedSettings not implemented")
443 }
444 func (*UnimplementedAutofeedSettingsServiceServer) UpdateAutofeedSettings(context.Context, *UpdateAutofeedSettingsRequest) (*AutofeedSettings, error) {
445 return nil, status.Errorf(codes.Unimplemented, "method UpdateAutofeedSettings not implemented")
446 }
447
448 func RegisterAutofeedSettingsServiceServer(s *grpc.Server, srv AutofeedSettingsServiceServer) {
449 s.RegisterService(&_AutofeedSettingsService_serviceDesc, srv)
450 }
451
452 func _AutofeedSettingsService_GetAutofeedSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
453 in := new(GetAutofeedSettingsRequest)
454 if err := dec(in); err != nil {
455 return nil, err
456 }
457 if interceptor == nil {
458 return srv.(AutofeedSettingsServiceServer).GetAutofeedSettings(ctx, in)
459 }
460 info := &grpc.UnaryServerInfo{
461 Server: srv,
462 FullMethod: "/google.shopping.merchant.accounts.v1beta.AutofeedSettingsService/GetAutofeedSettings",
463 }
464 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
465 return srv.(AutofeedSettingsServiceServer).GetAutofeedSettings(ctx, req.(*GetAutofeedSettingsRequest))
466 }
467 return interceptor(ctx, in, info, handler)
468 }
469
470 func _AutofeedSettingsService_UpdateAutofeedSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
471 in := new(UpdateAutofeedSettingsRequest)
472 if err := dec(in); err != nil {
473 return nil, err
474 }
475 if interceptor == nil {
476 return srv.(AutofeedSettingsServiceServer).UpdateAutofeedSettings(ctx, in)
477 }
478 info := &grpc.UnaryServerInfo{
479 Server: srv,
480 FullMethod: "/google.shopping.merchant.accounts.v1beta.AutofeedSettingsService/UpdateAutofeedSettings",
481 }
482 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
483 return srv.(AutofeedSettingsServiceServer).UpdateAutofeedSettings(ctx, req.(*UpdateAutofeedSettingsRequest))
484 }
485 return interceptor(ctx, in, info, handler)
486 }
487
488 var _AutofeedSettingsService_serviceDesc = grpc.ServiceDesc{
489 ServiceName: "google.shopping.merchant.accounts.v1beta.AutofeedSettingsService",
490 HandlerType: (*AutofeedSettingsServiceServer)(nil),
491 Methods: []grpc.MethodDesc{
492 {
493 MethodName: "GetAutofeedSettings",
494 Handler: _AutofeedSettingsService_GetAutofeedSettings_Handler,
495 },
496 {
497 MethodName: "UpdateAutofeedSettings",
498 Handler: _AutofeedSettingsService_UpdateAutofeedSettings_Handler,
499 },
500 },
501 Streams: []grpc.StreamDesc{},
502 Metadata: "google/shopping/merchant/accounts/v1beta/autofeedsettings.proto",
503 }