Debian Codegraph @

shopping/css/apiv1/csspb/css_products.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/css/v1/css_products.proto
20
21 package csspb
22
23 import (
24 typepb "cloud.google.com/go/shopping/type/typepb"
25 context "context"
26 _ "google.golang.org/genproto/googleapis/api/annotations"
27 grpc "google.golang.org/grpc"
28 codes "google.golang.org/grpc/codes"
29 status "google.golang.org/grpc/status"
30 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
31 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
32 reflect "reflect"
33 sync "sync"
34 )
35
36 const (
37 // Verify that this generated code is sufficiently up-to-date.
38 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
39 // Verify that runtime/protoimpl is sufficiently up-to-date.
40 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
41 )
42
43 // The request message for the `GetCssProduct` method.
44 type GetCssProductRequest struct {
45 state protoimpl.MessageState
46 sizeCache protoimpl.SizeCache
47 unknownFields protoimpl.UnknownFields
48
49 // Required. The name of the CSS product to retrieve.
50 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
51 }
52
53 func (x *GetCssProductRequest) Reset() {
54 *x = GetCssProductRequest{}
55 mi := &file_google_shopping_css_v1_css_products_proto_msgTypes[0]
56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
57 ms.StoreMessageInfo(mi)
58 }
59
60 func (x *GetCssProductRequest) String() string {
61 return protoimpl.X.MessageStringOf(x)
62 }
63
64 func (*GetCssProductRequest) ProtoMessage() {}
65
66 func (x *GetCssProductRequest) ProtoReflect() protoreflect.Message {
67 mi := &file_google_shopping_css_v1_css_products_proto_msgTypes[0]
68 if x != nil {
69 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
70 if ms.LoadMessageInfo() == nil {
71 ms.StoreMessageInfo(mi)
72 }
73 return ms
74 }
75 return mi.MessageOf(x)
76 }
77
78 // Deprecated: Use GetCssProductRequest.ProtoReflect.Descriptor instead.
79 func (*GetCssProductRequest) Descriptor() ([]byte, []int) {
80 return file_google_shopping_css_v1_css_products_proto_rawDescGZIP(), []int{0}
81 }
82
83 func (x *GetCssProductRequest) GetName() string {
84 if x != nil {
85 return x.Name
86 }
87 return ""
88 }
89
90 // The processed CSS Product.
91 type CssProduct struct {
92 state protoimpl.MessageState
93 sizeCache protoimpl.SizeCache
94 unknownFields protoimpl.UnknownFields
95
96 // The name of the CSS Product.
97 // Format:
98 // `"accounts/{account}/cssProducts/{css_product}"`
99 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
100 // Output only. Your unique raw identifier for the product.
101 RawProvidedId string `protobuf:"bytes,2,opt,name=raw_provided_id,json=rawProvidedId,proto3" json:"raw_provided_id,omitempty"`
102 // Output only. The two-letter [ISO
103 // 639-1](http://en.wikipedia.org/wiki/ISO_639-1) language code for the
104 // product.
105 ContentLanguage string `protobuf:"bytes,3,opt,name=content_language,json=contentLanguage,proto3" json:"content_language,omitempty"`
106 // Output only. The feed label for the product.
107 FeedLabel string `protobuf:"bytes,4,opt,name=feed_label,json=feedLabel,proto3" json:"feed_label,omitempty"`
108 // Output only. A list of product attributes.
109 Attributes *Attributes `protobuf:"bytes,5,opt,name=attributes,proto3" json:"attributes,omitempty"`
110 // Output only. A list of custom (CSS-provided) attributes. It can also be
111 // used to submit any attribute of the feed specification in its generic form
112 // (for example,
113 // `{ "name": "size type", "value": "regular" }`).
114 // This is useful for submitting attributes not explicitly exposed by the
115 // API, such as additional attributes used for Buy on Google.
116 CustomAttributes []*typepb.CustomAttribute `protobuf:"bytes,6,rep,name=custom_attributes,json=customAttributes,proto3" json:"custom_attributes,omitempty"`
117 // Output only. The status of a product, data validation issues, that is,
118 // information about a product computed asynchronously.
119 CssProductStatus *CssProductStatus `protobuf:"bytes,8,opt,name=css_product_status,json=cssProductStatus,proto3" json:"css_product_status,omitempty"`
120 }
121
122 func (x *CssProduct) Reset() {
123 *x = CssProduct{}
124 mi := &file_google_shopping_css_v1_css_products_proto_msgTypes[1]
125 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
126 ms.StoreMessageInfo(mi)
127 }
128
129 func (x *CssProduct) String() string {
130 return protoimpl.X.MessageStringOf(x)
131 }
132
133 func (*CssProduct) ProtoMessage() {}
134
135 func (x *CssProduct) ProtoReflect() protoreflect.Message {
136 mi := &file_google_shopping_css_v1_css_products_proto_msgTypes[1]
137 if x != nil {
138 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
139 if ms.LoadMessageInfo() == nil {
140 ms.StoreMessageInfo(mi)
141 }
142 return ms
143 }
144 return mi.MessageOf(x)
145 }
146
147 // Deprecated: Use CssProduct.ProtoReflect.Descriptor instead.
148 func (*CssProduct) Descriptor() ([]byte, []int) {
149 return file_google_shopping_css_v1_css_products_proto_rawDescGZIP(), []int{1}
150 }
151
152 func (x *CssProduct) GetName() string {
153 if x != nil {
154 return x.Name
155 }
156 return ""
157 }
158
159 func (x *CssProduct) GetRawProvidedId() string {
160 if x != nil {
161 return x.RawProvidedId
162 }
163 return ""
164 }
165
166 func (x *CssProduct) GetContentLanguage() string {
167 if x != nil {
168 return x.ContentLanguage
169 }
170 return ""
171 }
172
173 func (x *CssProduct) GetFeedLabel() string {
174 if x != nil {
175 return x.FeedLabel
176 }
177 return ""
178 }
179
180 func (x *CssProduct) GetAttributes() *Attributes {
181 if x != nil {
182 return x.Attributes
183 }
184 return nil
185 }
186
187 func (x *CssProduct) GetCustomAttributes() []*typepb.CustomAttribute {
188 if x != nil {
189 return x.CustomAttributes
190 }
191 return nil
192 }
193
194 func (x *CssProduct) GetCssProductStatus() *CssProductStatus {
195 if x != nil {
196 return x.CssProductStatus
197 }
198 return nil
199 }
200
201 // Request message for the ListCssProducts method.
202 type ListCssProductsRequest struct {
203 state protoimpl.MessageState
204 sizeCache protoimpl.SizeCache
205 unknownFields protoimpl.UnknownFields
206
207 // Required. The account/domain to list processed CSS Products for.
208 // Format: accounts/{account}
209 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
210 // The maximum number of CSS Products to return. The service may return
211 // fewer than this value.
212 // The maximum value is 1000; values above 1000 will be coerced to 1000. If
213 // unspecified, the maximum number of CSS products will be returned.
214 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
215 // A page token, received from a previous `ListCssProducts` call.
216 // Provide this to retrieve the subsequent page.
217 //
218 // When paginating, all other parameters provided to `ListCssProducts`
219 // must match the call that provided the page token.
220 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
221 }
222
223 func (x *ListCssProductsRequest) Reset() {
224 *x = ListCssProductsRequest{}
225 mi := &file_google_shopping_css_v1_css_products_proto_msgTypes[2]
226 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
227 ms.StoreMessageInfo(mi)
228 }
229
230 func (x *ListCssProductsRequest) String() string {
231 return protoimpl.X.MessageStringOf(x)
232 }
233
234 func (*ListCssProductsRequest) ProtoMessage() {}
235
236 func (x *ListCssProductsRequest) ProtoReflect() protoreflect.Message {
237 mi := &file_google_shopping_css_v1_css_products_proto_msgTypes[2]
238 if x != nil {
239 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
240 if ms.LoadMessageInfo() == nil {
241 ms.StoreMessageInfo(mi)
242 }
243 return ms
244 }
245 return mi.MessageOf(x)
246 }
247
248 // Deprecated: Use ListCssProductsRequest.ProtoReflect.Descriptor instead.
249 func (*ListCssProductsRequest) Descriptor() ([]byte, []int) {
250 return file_google_shopping_css_v1_css_products_proto_rawDescGZIP(), []int{2}
251 }
252
253 func (x *ListCssProductsRequest) GetParent() string {
254 if x != nil {
255 return x.Parent
256 }
257 return ""
258 }
259
260 func (x *ListCssProductsRequest) GetPageSize() int32 {
261 if x != nil {
262 return x.PageSize
263 }
264 return 0
265 }
266
267 func (x *ListCssProductsRequest) GetPageToken() string {
268 if x != nil {
269 return x.PageToken
270 }
271 return ""
272 }
273
274 // Response message for the ListCssProducts method.
275 type ListCssProductsResponse struct {
276 state protoimpl.MessageState
277 sizeCache protoimpl.SizeCache
278 unknownFields protoimpl.UnknownFields
279
280 // The processed CSS products from the specified account. These are your
281 // processed CSS products after applying rules and supplemental feeds.
282 CssProducts []*CssProduct `protobuf:"bytes,1,rep,name=css_products,json=cssProducts,proto3" json:"css_products,omitempty"`
283 // A token, which can be sent as `page_token` to retrieve the next page.
284 // If this field is omitted, there are no subsequent pages.
285 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
286 }
287
288 func (x *ListCssProductsResponse) Reset() {
289 *x = ListCssProductsResponse{}
290 mi := &file_google_shopping_css_v1_css_products_proto_msgTypes[3]
291 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
292 ms.StoreMessageInfo(mi)
293 }
294
295 func (x *ListCssProductsResponse) String() string {
296 return protoimpl.X.MessageStringOf(x)
297 }
298
299 func (*ListCssProductsResponse) ProtoMessage() {}
300
301 func (x *ListCssProductsResponse) ProtoReflect() protoreflect.Message {
302 mi := &file_google_shopping_css_v1_css_products_proto_msgTypes[3]
303 if x != nil {
304 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
305 if ms.LoadMessageInfo() == nil {
306 ms.StoreMessageInfo(mi)
307 }
308 return ms
309 }
310 return mi.MessageOf(x)
311 }
312
313 // Deprecated: Use ListCssProductsResponse.ProtoReflect.Descriptor instead.
314 func (*ListCssProductsResponse) Descriptor() ([]byte, []int) {
315 return file_google_shopping_css_v1_css_products_proto_rawDescGZIP(), []int{3}
316 }
317
318 func (x *ListCssProductsResponse) GetCssProducts() []*CssProduct {
319 if x != nil {
320 return x.CssProducts
321 }
322 return nil
323 }
324
325 func (x *ListCssProductsResponse) GetNextPageToken() string {
326 if x != nil {
327 return x.NextPageToken
328 }
329 return ""
330 }
331
332 var File_google_shopping_css_v1_css_products_proto protoreflect.FileDescriptor
333
334 var file_google_shopping_css_v1_css_products_proto_rawDesc = []byte{
335 0x0a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
336 0x67, 0x2f, 0x63, 0x73, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x73, 0x73, 0x5f, 0x70, 0x72, 0x6f,
337 0x64, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x67, 0x6f, 0x6f,
338 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x73, 0x73,
339 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
340 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
341 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c,
342 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
343 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68,
344 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f,
345 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
346 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73,
347 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x63, 0x73, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63,
348 0x73, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
349 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
350 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x74, 0x79,
351 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x51, 0x0a, 0x14, 0x47, 0x65, 0x74,
352 0x43, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
353 0x74, 0x12, 0x39, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
354 0x25, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x63, 0x73, 0x73, 0x2e, 0x67, 0x6f, 0x6f,
355 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x73, 0x73, 0x50,
356 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x8b, 0x04, 0x0a,
357 0x0a, 0x43, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e,
358 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
359 0x2b, 0x0a, 0x0f, 0x72, 0x61, 0x77, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x64, 0x5f,
360 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0d, 0x72,
361 0x61, 0x77, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x64, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x10,
362 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65,
363 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0f, 0x63, 0x6f, 0x6e,
364 0x74, 0x65, 0x6e, 0x74, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x22, 0x0a, 0x0a,
365 0x66, 0x65, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
366 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x66, 0x65, 0x65, 0x64, 0x4c, 0x61, 0x62, 0x65, 0x6c,
367 0x12, 0x47, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x05,
368 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68,
369 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74,
370 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x61,
371 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x57, 0x0a, 0x11, 0x63, 0x75, 0x73,
372 0x74, 0x6f, 0x6d, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x06,
373 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68,
374 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x43, 0x75, 0x73, 0x74,
375 0x6f, 0x6d, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03,
376 0x52, 0x10, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
377 0x65, 0x73, 0x12, 0x5b, 0x0a, 0x12, 0x63, 0x73, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63,
378 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28,
379 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
380 0x2e, 0x63, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x64, 0x75,
381 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x10, 0x63,
382 0x73, 0x73, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x3a,
383 0x69, 0xea, 0x41, 0x66, 0x0a, 0x1d, 0x63, 0x73, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
384 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x64,
385 0x75, 0x63, 0x74, 0x12, 0x2c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61,
386 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x2f, 0x63, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x64, 0x75,
387 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x63, 0x73, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
388 0x7d, 0x2a, 0x0b, 0x63, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x32, 0x0a,
389 0x63, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x22, 0x93, 0x01, 0x0a, 0x16, 0x4c,
390 0x69, 0x73, 0x74, 0x43, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x52, 0x65,
391 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18,
392 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x12, 0x1d, 0x63,
393 0x73, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
394 0x6d, 0x2f, 0x43, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x06, 0x70, 0x61,
395 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a,
396 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a,
397 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18,
398 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
399 0x22, 0x88, 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x64,
400 0x75, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x0c,
401 0x63, 0x73, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03,
402 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70,
403 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x73, 0x73, 0x50,
404 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x0b, 0x63, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x64, 0x75,
405 0x63, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65,
406 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65,
407 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0x98, 0x03, 0x0a, 0x12,
408 0x43, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69,
409 0x63, 0x65, 0x12, 0x95, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x43, 0x73, 0x73, 0x50, 0x72, 0x6f,
410 0x64, 0x75, 0x63, 0x74, 0x12, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68,
411 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,
412 0x74, 0x43, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
413 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70,
414 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x73, 0x73, 0x50,
415 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x22, 0x32, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82,
416 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x12, 0x23, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65,
417 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x73, 0x73, 0x50,
418 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xa8, 0x01, 0x0a, 0x0f, 0x4c,
419 0x69, 0x73, 0x74, 0x43, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x12, 0x2e,
420 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
421 0x2e, 0x63, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x73, 0x73, 0x50,
422 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f,
423 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
424 0x2e, 0x63, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x73, 0x73, 0x50,
425 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
426 0x34, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25,
427 0x12, 0x23, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x61, 0x63,
428 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x73, 0x73, 0x50, 0x72, 0x6f,
429 0x64, 0x75, 0x63, 0x74, 0x73, 0x1a, 0x3f, 0xca, 0x41, 0x12, 0x63, 0x73, 0x73, 0x2e, 0x67, 0x6f,
430 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x27, 0x68,
431 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
432 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63,
433 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0xb2, 0x01, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x67,
434 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x63,
435 0x73, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x10, 0x43, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63,
436 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x32, 0x63, 0x6c, 0x6f, 0x75, 0x64,
437 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73,
438 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x63, 0x73, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76,
439 0x31, 0x2f, 0x63, 0x73, 0x73, 0x70, 0x62, 0x3b, 0x63, 0x73, 0x73, 0x70, 0x62, 0xaa, 0x02, 0x16,
440 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e,
441 0x43, 0x73, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c,
442 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5c, 0x43, 0x73, 0x73, 0x5c, 0x56, 0x31, 0xea,
443 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69,
444 0x6e, 0x67, 0x3a, 0x3a, 0x43, 0x73, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f,
445 0x74, 0x6f, 0x33,
446 }
447
448 var (
449 file_google_shopping_css_v1_css_products_proto_rawDescOnce sync.Once
450 file_google_shopping_css_v1_css_products_proto_rawDescData = file_google_shopping_css_v1_css_products_proto_rawDesc
451 )
452
453 func file_google_shopping_css_v1_css_products_proto_rawDescGZIP() []byte {
454 file_google_shopping_css_v1_css_products_proto_rawDescOnce.Do(func() {
455 file_google_shopping_css_v1_css_products_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_css_v1_css_products_proto_rawDescData)
456 })
457 return file_google_shopping_css_v1_css_products_proto_rawDescData
458 }
459
460 var file_google_shopping_css_v1_css_products_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
461 var file_google_shopping_css_v1_css_products_proto_goTypes = []any{
462 (*GetCssProductRequest)(nil), // 0: google.shopping.css.v1.GetCssProductRequest
463 (*CssProduct)(nil), // 1: google.shopping.css.v1.CssProduct
464 (*ListCssProductsRequest)(nil), // 2: google.shopping.css.v1.ListCssProductsRequest
465 (*ListCssProductsResponse)(nil), // 3: google.shopping.css.v1.ListCssProductsResponse
466 (*Attributes)(nil), // 4: google.shopping.css.v1.Attributes
467 (*typepb.CustomAttribute)(nil), // 5: google.shopping.type.CustomAttribute
468 (*CssProductStatus)(nil), // 6: google.shopping.css.v1.CssProductStatus
469 }
470 var file_google_shopping_css_v1_css_products_proto_depIdxs = []int32{
471 4, // 0: google.shopping.css.v1.CssProduct.attributes:type_name -> google.shopping.css.v1.Attributes
472 5, // 1: google.shopping.css.v1.CssProduct.custom_attributes:type_name -> google.shopping.type.CustomAttribute
473 6, // 2: google.shopping.css.v1.CssProduct.css_product_status:type_name -> google.shopping.css.v1.CssProductStatus
474 1, // 3: google.shopping.css.v1.ListCssProductsResponse.css_products:type_name -> google.shopping.css.v1.CssProduct
475 0, // 4: google.shopping.css.v1.CssProductsService.GetCssProduct:input_type -> google.shopping.css.v1.GetCssProductRequest
476 2, // 5: google.shopping.css.v1.CssProductsService.ListCssProducts:input_type -> google.shopping.css.v1.ListCssProductsRequest
477 1, // 6: google.shopping.css.v1.CssProductsService.GetCssProduct:output_type -> google.shopping.css.v1.CssProduct
478 3, // 7: google.shopping.css.v1.CssProductsService.ListCssProducts:output_type -> google.shopping.css.v1.ListCssProductsResponse
479 6, // [6:8] is the sub-list for method output_type
480 4, // [4:6] is the sub-list for method input_type
481 4, // [4:4] is the sub-list for extension type_name
482 4, // [4:4] is the sub-list for extension extendee
483 0, // [0:4] is the sub-list for field type_name
484 }
485
486 func init() { file_google_shopping_css_v1_css_products_proto_init() }
487 func file_google_shopping_css_v1_css_products_proto_init() {
488 if File_google_shopping_css_v1_css_products_proto != nil {
489 return
490 }
491 file_google_shopping_css_v1_css_product_common_proto_init()
492 type x struct{}
493 out := protoimpl.TypeBuilder{
494 File: protoimpl.DescBuilder{
495 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
496 RawDescriptor: file_google_shopping_css_v1_css_products_proto_rawDesc,
497 NumEnums: 0,
498 NumMessages: 4,
499 NumExtensions: 0,
500 NumServices: 1,
501 },
502 GoTypes: file_google_shopping_css_v1_css_products_proto_goTypes,
503 DependencyIndexes: file_google_shopping_css_v1_css_products_proto_depIdxs,
504 MessageInfos: file_google_shopping_css_v1_css_products_proto_msgTypes,
505 }.Build()
506 File_google_shopping_css_v1_css_products_proto = out.File
507 file_google_shopping_css_v1_css_products_proto_rawDesc = nil
508 file_google_shopping_css_v1_css_products_proto_goTypes = nil
509 file_google_shopping_css_v1_css_products_proto_depIdxs = nil
510 }
511
512 // Reference imports to suppress errors if they are not otherwise used.
513 var _ context.Context
514 var _ grpc.ClientConnInterface
515
516 // This is a compile-time assertion to ensure that this generated file
517 // is compatible with the grpc package it is being compiled against.
518 const _ = grpc.SupportPackageIsVersion6
519
520 // CssProductsServiceClient is the client API for CssProductsService service.
521 //
522 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
523 type CssProductsServiceClient interface {
524 // Retrieves the processed CSS Product from your CSS Center account. After
525 // inserting, updating, or deleting a product input, it may take several
526 // minutes before the updated final product can be retrieved.
527 GetCssProduct(ctx context.Context, in *GetCssProductRequest, opts ...grpc.CallOption) (*CssProduct, error)
528 // Lists the processed CSS Products in your CSS Center account. The response
529 // might contain fewer items than specified by pageSize. Rely on pageToken to
530 // determine if there are more items to be requested.
531 //
532 // After inserting, updating, or deleting a CSS product input, it may
533 // take several minutes before the updated processed CSS product can be
534 // retrieved.
535 ListCssProducts(ctx context.Context, in *ListCssProductsRequest, opts ...grpc.CallOption) (*ListCssProductsResponse, error)
536 }
537
538 type cssProductsServiceClient struct {
539 cc grpc.ClientConnInterface
540 }
541
542 func NewCssProductsServiceClient(cc grpc.ClientConnInterface) CssProductsServiceClient {
543 return &cssProductsServiceClient{cc}
544 }
545
546 func (c *cssProductsServiceClient) GetCssProduct(ctx context.Context, in *GetCssProductRequest, opts ...grpc.CallOption) (*CssProduct, error) {
547 out := new(CssProduct)
548 err := c.cc.Invoke(ctx, "/google.shopping.css.v1.CssProductsService/GetCssProduct", in, out, opts...)
549 if err != nil {
550 return nil, err
551 }
552 return out, nil
553 }
554
555 func (c *cssProductsServiceClient) ListCssProducts(ctx context.Context, in *ListCssProductsRequest, opts ...grpc.CallOption) (*ListCssProductsResponse, error) {
556 out := new(ListCssProductsResponse)
557 err := c.cc.Invoke(ctx, "/google.shopping.css.v1.CssProductsService/ListCssProducts", in, out, opts...)
558 if err != nil {
559 return nil, err
560 }
561 return out, nil
562 }
563
564 // CssProductsServiceServer is the server API for CssProductsService service.
565 type CssProductsServiceServer interface {
566 // Retrieves the processed CSS Product from your CSS Center account. After
567 // inserting, updating, or deleting a product input, it may take several
568 // minutes before the updated final product can be retrieved.
569 GetCssProduct(context.Context, *GetCssProductRequest) (*CssProduct, error)
570 // Lists the processed CSS Products in your CSS Center account. The response
571 // might contain fewer items than specified by pageSize. Rely on pageToken to
572 // determine if there are more items to be requested.
573 //
574 // After inserting, updating, or deleting a CSS product input, it may
575 // take several minutes before the updated processed CSS product can be
576 // retrieved.
577 ListCssProducts(context.Context, *ListCssProductsRequest) (*ListCssProductsResponse, error)
578 }
579
580 // UnimplementedCssProductsServiceServer can be embedded to have forward compatible implementations.
581 type UnimplementedCssProductsServiceServer struct {
582 }
583
584 func (*UnimplementedCssProductsServiceServer) GetCssProduct(context.Context, *GetCssProductRequest) (*CssProduct, error) {
585 return nil, status.Errorf(codes.Unimplemented, "method GetCssProduct not implemented")
586 }
587 func (*UnimplementedCssProductsServiceServer) ListCssProducts(context.Context, *ListCssProductsRequest) (*ListCssProductsResponse, error) {
588 return nil, status.Errorf(codes.Unimplemented, "method ListCssProducts not implemented")
589 }
590
591 func RegisterCssProductsServiceServer(s *grpc.Server, srv CssProductsServiceServer) {
592 s.RegisterService(&_CssProductsService_serviceDesc, srv)
593 }
594
595 func _CssProductsService_GetCssProduct_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
596 in := new(GetCssProductRequest)
597 if err := dec(in); err != nil {
598 return nil, err
599 }
600 if interceptor == nil {
601 return srv.(CssProductsServiceServer).GetCssProduct(ctx, in)
602 }
603 info := &grpc.UnaryServerInfo{
604 Server: srv,
605 FullMethod: "/google.shopping.css.v1.CssProductsService/GetCssProduct",
606 }
607 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
608 return srv.(CssProductsServiceServer).GetCssProduct(ctx, req.(*GetCssProductRequest))
609 }
610 return interceptor(ctx, in, info, handler)
611 }
612
613 func _CssProductsService_ListCssProducts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
614 in := new(ListCssProductsRequest)
615 if err := dec(in); err != nil {
616 return nil, err
617 }
618 if interceptor == nil {
619 return srv.(CssProductsServiceServer).ListCssProducts(ctx, in)
620 }
621 info := &grpc.UnaryServerInfo{
622 Server: srv,
623 FullMethod: "/google.shopping.css.v1.CssProductsService/ListCssProducts",
624 }
625 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
626 return srv.(CssProductsServiceServer).ListCssProducts(ctx, req.(*ListCssProductsRequest))
627 }
628 return interceptor(ctx, in, info, handler)
629 }
630
631 var _CssProductsService_serviceDesc = grpc.ServiceDesc{
632 ServiceName: "google.shopping.css.v1.CssProductsService",
633 HandlerType: (*CssProductsServiceServer)(nil),
634 Methods: []grpc.MethodDesc{
635 {
636 MethodName: "GetCssProduct",
637 Handler: _CssProductsService_GetCssProduct_Handler,
638 },
639 {
640 MethodName: "ListCssProducts",
641 Handler: _CssProductsService_ListCssProducts_Handler,
642 },
643 },
644 Streams: []grpc.StreamDesc{},
645 Metadata: "google/shopping/css/v1/css_products.proto",
646 }