| 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/datasources/v1beta/fileinputs.proto |
| 20 |
|
| 21 |
package datasourcespb |
| 22 |
|
| 23 |
import ( |
| 24 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 25 |
dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" |
| 26 |
timeofday "google.golang.org/genproto/googleapis/type/timeofday" |
| 27 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 28 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 29 |
reflect "reflect" |
| 30 |
sync "sync" |
| 31 |
) |
| 32 |
|
| 33 |
const ( |
| 34 |
// Verify that this generated code is sufficiently up-to-date. |
| 35 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 36 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 37 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 38 |
) |
| 39 |
|
| 40 |
// The method of file delivery. |
| 41 |
type FileInput_FileInputType int32 |
| 42 |
|
| 43 |
const ( |
| 44 |
// File input type unspecified. |
| 45 |
FileInput_FILE_INPUT_TYPE_UNSPECIFIED FileInput_FileInputType = 0 |
| 46 |
// The file is uploaded through SFTP, Google Cloud Storage or manually in |
| 47 |
// the Merchant Center. |
| 48 |
FileInput_UPLOAD FileInput_FileInputType = 1 |
| 49 |
// The file is fetched from the configured |
| 50 |
// [fetch_uri][google.shopping.merchant.datasources.v1beta.FileInput.FetchSettings.fetch_uri]. |
| 51 |
FileInput_FETCH FileInput_FileInputType = 2 |
| 52 |
// The file is fetched from Google Sheets specified in the |
| 53 |
// [fetch_uri][google.shopping.merchant.datasources.v1beta.FileInput.FetchSettings.fetch_uri]. |
| 54 |
FileInput_GOOGLE_SHEETS FileInput_FileInputType = 3 |
| 55 |
) |
| 56 |
|
| 57 |
// Enum value maps for FileInput_FileInputType. |
| 58 |
var ( |
| 59 |
FileInput_FileInputType_name = map[int32]string{ |
| 60 |
0: "FILE_INPUT_TYPE_UNSPECIFIED", |
| 61 |
1: "UPLOAD", |
| 62 |
2: "FETCH", |
| 63 |
3: "GOOGLE_SHEETS", |
| 64 |
} |
| 65 |
FileInput_FileInputType_value = map[string]int32{ |
| 66 |
"FILE_INPUT_TYPE_UNSPECIFIED": 0, |
| 67 |
"UPLOAD": 1, |
| 68 |
"FETCH": 2, |
| 69 |
"GOOGLE_SHEETS": 3, |
| 70 |
} |
| 71 |
) |
| 72 |
|
| 73 |
func (x FileInput_FileInputType) Enum() *FileInput_FileInputType { |
| 74 |
p := new(FileInput_FileInputType) |
| 75 |
*p = x |
| 76 |
return p |
| 77 |
} |
| 78 |
|
| 79 |
func (x FileInput_FileInputType) String() string { |
| 80 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 81 |
} |
| 82 |
|
| 83 |
func (FileInput_FileInputType) Descriptor() protoreflect.EnumDescriptor { |
| 84 |
return file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_enumTypes[0].Descriptor() |
| 85 |
} |
| 86 |
|
| 87 |
func (FileInput_FileInputType) Type() protoreflect.EnumType { |
| 88 |
return &file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_enumTypes[0] |
| 89 |
} |
| 90 |
|
| 91 |
func (x FileInput_FileInputType) Number() protoreflect.EnumNumber { |
| 92 |
return protoreflect.EnumNumber(x) |
| 93 |
} |
| 94 |
|
| 95 |
// Deprecated: Use FileInput_FileInputType.Descriptor instead. |
| 96 |
func (FileInput_FileInputType) EnumDescriptor() ([]byte, []int) { |
| 97 |
return file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_rawDescGZIP(), []int{0, 0} |
| 98 |
} |
| 99 |
|
| 100 |
// The required fields vary based on the frequency of fetching. For a |
| 101 |
// monthly |
| 102 |
// fetch schedule, |
| 103 |
// [day of |
| 104 |
// month][google.shopping.content.bundles.DataSources.FileInput.FetchSchedule.day_of_month] |
| 105 |
// and |
| 106 |
// [hour of |
| 107 |
// day][google.shopping.content.bundles.DataSources.FileInput.FetchSchedule.time_of_day] |
| 108 |
// are required. For a weekly fetch schedule, |
| 109 |
// [day of |
| 110 |
// week][google.shopping.content.bundles.DataSources.FileInput.FetchSchedule.day_of_week] |
| 111 |
// and [hour of |
| 112 |
// day][google.shopping.content.bundles.DataSources.FileInput.FetchSchedule.time_of_day] |
| 113 |
// are required. For a daily fetch schedule, only an [hour of |
| 114 |
// day][google.shopping.content.bundles.DataSources.FileInput.FetchSchedule.time_of_day] |
| 115 |
// is required. |
| 116 |
type FileInput_FetchSettings_Frequency int32 |
| 117 |
|
| 118 |
const ( |
| 119 |
// Frequency unspecified. |
| 120 |
FileInput_FetchSettings_FREQUENCY_UNSPECIFIED FileInput_FetchSettings_Frequency = 0 |
| 121 |
// The fetch happens every day. |
| 122 |
FileInput_FetchSettings_FREQUENCY_DAILY FileInput_FetchSettings_Frequency = 1 |
| 123 |
// The fetch happens every week. |
| 124 |
FileInput_FetchSettings_FREQUENCY_WEEKLY FileInput_FetchSettings_Frequency = 2 |
| 125 |
// The fetch happens every month. |
| 126 |
FileInput_FetchSettings_FREQUENCY_MONTHLY FileInput_FetchSettings_Frequency = 3 |
| 127 |
) |
| 128 |
|
| 129 |
// Enum value maps for FileInput_FetchSettings_Frequency. |
| 130 |
var ( |
| 131 |
FileInput_FetchSettings_Frequency_name = map[int32]string{ |
| 132 |
0: "FREQUENCY_UNSPECIFIED", |
| 133 |
1: "FREQUENCY_DAILY", |
| 134 |
2: "FREQUENCY_WEEKLY", |
| 135 |
3: "FREQUENCY_MONTHLY", |
| 136 |
} |
| 137 |
FileInput_FetchSettings_Frequency_value = map[string]int32{ |
| 138 |
"FREQUENCY_UNSPECIFIED": 0, |
| 139 |
"FREQUENCY_DAILY": 1, |
| 140 |
"FREQUENCY_WEEKLY": 2, |
| 141 |
"FREQUENCY_MONTHLY": 3, |
| 142 |
} |
| 143 |
) |
| 144 |
|
| 145 |
func (x FileInput_FetchSettings_Frequency) Enum() *FileInput_FetchSettings_Frequency { |
| 146 |
p := new(FileInput_FetchSettings_Frequency) |
| 147 |
*p = x |
| 148 |
return p |
| 149 |
} |
| 150 |
|
| 151 |
func (x FileInput_FetchSettings_Frequency) String() string { |
| 152 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 153 |
} |
| 154 |
|
| 155 |
func (FileInput_FetchSettings_Frequency) Descriptor() protoreflect.EnumDescriptor { |
| 156 |
return file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_enumTypes[1].Descriptor() |
| 157 |
} |
| 158 |
|
| 159 |
func (FileInput_FetchSettings_Frequency) Type() protoreflect.EnumType { |
| 160 |
return &file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_enumTypes[1] |
| 161 |
} |
| 162 |
|
| 163 |
func (x FileInput_FetchSettings_Frequency) Number() protoreflect.EnumNumber { |
| 164 |
return protoreflect.EnumNumber(x) |
| 165 |
} |
| 166 |
|
| 167 |
// Deprecated: Use FileInput_FetchSettings_Frequency.Descriptor instead. |
| 168 |
func (FileInput_FetchSettings_Frequency) EnumDescriptor() ([]byte, []int) { |
| 169 |
return file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_rawDescGZIP(), []int{0, 0, 0} |
| 170 |
} |
| 171 |
|
| 172 |
// The data specific for file data sources. This field is empty for other |
| 173 |
// data source inputs. |
| 174 |
type FileInput struct { |
| 175 |
state protoimpl.MessageState |
| 176 |
sizeCache protoimpl.SizeCache |
| 177 |
unknownFields protoimpl.UnknownFields |
| 178 |
|
| 179 |
// Optional. Fetch details to deliver the data source. It contains settings |
| 180 |
// for `FETCH` and `GOOGLE_SHEETS` file input types. The required fields vary |
| 181 |
// based on the frequency of fetching. |
| 182 |
FetchSettings *FileInput_FetchSettings `protobuf:"bytes,1,opt,name=fetch_settings,json=fetchSettings,proto3" json:"fetch_settings,omitempty"` |
| 183 |
// Optional. The file name of the data source. Required for `UPLOAD` file |
| 184 |
// input type. |
| 185 |
FileName string `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` |
| 186 |
// Output only. The type of file input. |
| 187 |
FileInputType FileInput_FileInputType `protobuf:"varint,3,opt,name=file_input_type,json=fileInputType,proto3,enum=google.shopping.merchant.datasources.v1beta.FileInput_FileInputType" json:"file_input_type,omitempty"` |
| 188 |
} |
| 189 |
|
| 190 |
func (x *FileInput) Reset() { |
| 191 |
*x = FileInput{} |
| 192 |
mi := &file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_msgTypes[0] |
| 193 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 194 |
ms.StoreMessageInfo(mi) |
| 195 |
} |
| 196 |
|
| 197 |
func (x *FileInput) String() string { |
| 198 |
return protoimpl.X.MessageStringOf(x) |
| 199 |
} |
| 200 |
|
| 201 |
func (*FileInput) ProtoMessage() {} |
| 202 |
|
| 203 |
func (x *FileInput) ProtoReflect() protoreflect.Message { |
| 204 |
mi := &file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_msgTypes[0] |
| 205 |
if x != nil { |
| 206 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 207 |
if ms.LoadMessageInfo() == nil { |
| 208 |
ms.StoreMessageInfo(mi) |
| 209 |
} |
| 210 |
return ms |
| 211 |
} |
| 212 |
return mi.MessageOf(x) |
| 213 |
} |
| 214 |
|
| 215 |
// Deprecated: Use FileInput.ProtoReflect.Descriptor instead. |
| 216 |
func (*FileInput) Descriptor() ([]byte, []int) { |
| 217 |
return file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_rawDescGZIP(), []int{0} |
| 218 |
} |
| 219 |
|
| 220 |
func (x *FileInput) GetFetchSettings() *FileInput_FetchSettings { |
| 221 |
if x != nil { |
| 222 |
return x.FetchSettings |
| 223 |
} |
| 224 |
return nil |
| 225 |
} |
| 226 |
|
| 227 |
func (x *FileInput) GetFileName() string { |
| 228 |
if x != nil { |
| 229 |
return x.FileName |
| 230 |
} |
| 231 |
return "" |
| 232 |
} |
| 233 |
|
| 234 |
func (x *FileInput) GetFileInputType() FileInput_FileInputType { |
| 235 |
if x != nil { |
| 236 |
return x.FileInputType |
| 237 |
} |
| 238 |
return FileInput_FILE_INPUT_TYPE_UNSPECIFIED |
| 239 |
} |
| 240 |
|
| 241 |
// Fetch details to deliver the data source. |
| 242 |
type FileInput_FetchSettings struct { |
| 243 |
state protoimpl.MessageState |
| 244 |
sizeCache protoimpl.SizeCache |
| 245 |
unknownFields protoimpl.UnknownFields |
| 246 |
|
| 247 |
// Optional. Enables or pauses the fetch schedule. |
| 248 |
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` |
| 249 |
// Optional. The day of the month when the data source file should be |
| 250 |
// fetched (1-31). This field can only be set for monthly frequency. |
| 251 |
DayOfMonth int32 `protobuf:"varint,2,opt,name=day_of_month,json=dayOfMonth,proto3" json:"day_of_month,omitempty"` |
| 252 |
// Optional. The hour of the day when the data source file should be |
| 253 |
// fetched. Minutes and seconds are not supported and will be ignored. |
| 254 |
TimeOfDay *timeofday.TimeOfDay `protobuf:"bytes,3,opt,name=time_of_day,json=timeOfDay,proto3" json:"time_of_day,omitempty"` |
| 255 |
// Optional. The day of the week when the data source file should be |
| 256 |
// fetched. This field can only be set for weekly frequency. |
| 257 |
DayOfWeek dayofweek.DayOfWeek `protobuf:"varint,4,opt,name=day_of_week,json=dayOfWeek,proto3,enum=google.type.DayOfWeek" json:"day_of_week,omitempty"` |
| 258 |
// Optional. [Time zone](https://cldr.unicode.org) used for schedule. UTC by |
| 259 |
// default. For example, "America/Los_Angeles". |
| 260 |
TimeZone string `protobuf:"bytes,5,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` |
| 261 |
// Required. The frequency describing fetch schedule. |
| 262 |
Frequency FileInput_FetchSettings_Frequency `protobuf:"varint,6,opt,name=frequency,proto3,enum=google.shopping.merchant.datasources.v1beta.FileInput_FetchSettings_Frequency" json:"frequency,omitempty"` |
| 263 |
// Optional. The URL where the data source file can be fetched. Google |
| 264 |
// Merchant Center supports automatic scheduled uploads using the HTTP, |
| 265 |
// HTTPS or SFTP protocols, so the value will need to be a valid link using |
| 266 |
// one of those three protocols. Immutable for Google Sheets files. |
| 267 |
FetchUri string `protobuf:"bytes,7,opt,name=fetch_uri,json=fetchUri,proto3" json:"fetch_uri,omitempty"` |
| 268 |
// Optional. An optional user name for |
| 269 |
// [fetch_uri][google.shopping.merchant.datasources.v1beta.FileInput.FetchSettings.fetch_uri]. |
| 270 |
// Used for [submitting data sources through |
| 271 |
// SFTP](https://support.google.com/merchants/answer/13813117). |
| 272 |
Username string `protobuf:"bytes,8,opt,name=username,proto3" json:"username,omitempty"` |
| 273 |
// Optional. An optional password for |
| 274 |
// [fetch_uri][google.shopping.merchant.datasources.v1beta.FileInput.FetchSettings.fetch_uri]. |
| 275 |
// Used for [submitting data sources through |
| 276 |
// SFTP](https://support.google.com/merchants/answer/13813117). |
| 277 |
Password string `protobuf:"bytes,9,opt,name=password,proto3" json:"password,omitempty"` |
| 278 |
} |
| 279 |
|
| 280 |
func (x *FileInput_FetchSettings) Reset() { |
| 281 |
*x = FileInput_FetchSettings{} |
| 282 |
mi := &file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_msgTypes[1] |
| 283 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 284 |
ms.StoreMessageInfo(mi) |
| 285 |
} |
| 286 |
|
| 287 |
func (x *FileInput_FetchSettings) String() string { |
| 288 |
return protoimpl.X.MessageStringOf(x) |
| 289 |
} |
| 290 |
|
| 291 |
func (*FileInput_FetchSettings) ProtoMessage() {} |
| 292 |
|
| 293 |
func (x *FileInput_FetchSettings) ProtoReflect() protoreflect.Message { |
| 294 |
mi := &file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_msgTypes[1] |
| 295 |
if x != nil { |
| 296 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 297 |
if ms.LoadMessageInfo() == nil { |
| 298 |
ms.StoreMessageInfo(mi) |
| 299 |
} |
| 300 |
return ms |
| 301 |
} |
| 302 |
return mi.MessageOf(x) |
| 303 |
} |
| 304 |
|
| 305 |
// Deprecated: Use FileInput_FetchSettings.ProtoReflect.Descriptor instead. |
| 306 |
func (*FileInput_FetchSettings) Descriptor() ([]byte, []int) { |
| 307 |
return file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_rawDescGZIP(), []int{0, 0} |
| 308 |
} |
| 309 |
|
| 310 |
func (x *FileInput_FetchSettings) GetEnabled() bool { |
| 311 |
if x != nil { |
| 312 |
return x.Enabled |
| 313 |
} |
| 314 |
return false |
| 315 |
} |
| 316 |
|
| 317 |
func (x *FileInput_FetchSettings) GetDayOfMonth() int32 { |
| 318 |
if x != nil { |
| 319 |
return x.DayOfMonth |
| 320 |
} |
| 321 |
return 0 |
| 322 |
} |
| 323 |
|
| 324 |
func (x *FileInput_FetchSettings) GetTimeOfDay() *timeofday.TimeOfDay { |
| 325 |
if x != nil { |
| 326 |
return x.TimeOfDay |
| 327 |
} |
| 328 |
return nil |
| 329 |
} |
| 330 |
|
| 331 |
func (x *FileInput_FetchSettings) GetDayOfWeek() dayofweek.DayOfWeek { |
| 332 |
if x != nil { |
| 333 |
return x.DayOfWeek |
| 334 |
} |
| 335 |
return dayofweek.DayOfWeek(0) |
| 336 |
} |
| 337 |
|
| 338 |
func (x *FileInput_FetchSettings) GetTimeZone() string { |
| 339 |
if x != nil { |
| 340 |
return x.TimeZone |
| 341 |
} |
| 342 |
return "" |
| 343 |
} |
| 344 |
|
| 345 |
func (x *FileInput_FetchSettings) GetFrequency() FileInput_FetchSettings_Frequency { |
| 346 |
if x != nil { |
| 347 |
return x.Frequency |
| 348 |
} |
| 349 |
return FileInput_FetchSettings_FREQUENCY_UNSPECIFIED |
| 350 |
} |
| 351 |
|
| 352 |
func (x *FileInput_FetchSettings) GetFetchUri() string { |
| 353 |
if x != nil { |
| 354 |
return x.FetchUri |
| 355 |
} |
| 356 |
return "" |
| 357 |
} |
| 358 |
|
| 359 |
func (x *FileInput_FetchSettings) GetUsername() string { |
| 360 |
if x != nil { |
| 361 |
return x.Username |
| 362 |
} |
| 363 |
return "" |
| 364 |
} |
| 365 |
|
| 366 |
func (x *FileInput_FetchSettings) GetPassword() string { |
| 367 |
if x != nil { |
| 368 |
return x.Password |
| 369 |
} |
| 370 |
return "" |
| 371 |
} |
| 372 |
|
| 373 |
var File_google_shopping_merchant_datasources_v1beta_fileinputs_proto protoreflect.FileDescriptor |
| 374 |
|
| 375 |
var file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_rawDesc = []byte{ |
| 376 |
0x0a, 0x3c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, |
| 377 |
0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, |
| 378 |
0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x66, 0x69, |
| 379 |
0x6c, 0x65, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2b, |
| 380 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, |
| 381 |
0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x6f, 0x75, |
| 382 |
0x72, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, |
| 383 |
0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, |
| 384 |
0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, |
| 385 |
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x64, 0x61, 0x79, 0x6f, 0x66, 0x77, |
| 386 |
0x65, 0x65, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 387 |
0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x66, 0x64, 0x61, 0x79, |
| 388 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa3, 0x07, 0x0a, 0x09, 0x46, 0x69, 0x6c, 0x65, 0x49, |
| 389 |
0x6e, 0x70, 0x75, 0x74, 0x12, 0x70, 0x0a, 0x0e, 0x66, 0x65, 0x74, 0x63, 0x68, 0x5f, 0x73, 0x65, |
| 390 |
0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x67, |
| 391 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, |
| 392 |
0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x6f, 0x75, 0x72, |
| 393 |
0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x49, |
| 394 |
0x6e, 0x70, 0x75, 0x74, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, |
| 395 |
0x67, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0d, 0x66, 0x65, 0x74, 0x63, 0x68, 0x53, 0x65, |
| 396 |
0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x20, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e, |
| 397 |
0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, |
| 398 |
0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x71, 0x0a, 0x0f, 0x66, 0x69, 0x6c, 0x65, |
| 399 |
0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, |
| 400 |
0x0e, 0x32, 0x44, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, |
| 401 |
0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x64, 0x61, 0x74, |
| 402 |
0x61, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, |
| 403 |
0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, |
| 404 |
0x70, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0d, 0x66, 0x69, |
| 405 |
0x6c, 0x65, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x1a, 0xb2, 0x04, 0x0a, 0x0d, |
| 406 |
0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x1d, 0x0a, |
| 407 |
0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, |
| 408 |
0xe0, 0x41, 0x01, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x25, 0x0a, 0x0c, |
| 409 |
0x64, 0x61, 0x79, 0x5f, 0x6f, 0x66, 0x5f, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, |
| 410 |
0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x64, 0x61, 0x79, 0x4f, 0x66, 0x4d, 0x6f, |
| 411 |
0x6e, 0x74, 0x68, 0x12, 0x3b, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6f, 0x66, 0x5f, 0x64, |
| 412 |
0x61, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 413 |
0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x4f, 0x66, 0x44, 0x61, 0x79, |
| 414 |
0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x4f, 0x66, 0x44, 0x61, 0x79, |
| 415 |
0x12, 0x3b, 0x0a, 0x0b, 0x64, 0x61, 0x79, 0x5f, 0x6f, 0x66, 0x5f, 0x77, 0x65, 0x65, 0x6b, 0x18, |
| 416 |
0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, |
| 417 |
0x79, 0x70, 0x65, 0x2e, 0x44, 0x61, 0x79, 0x4f, 0x66, 0x57, 0x65, 0x65, 0x6b, 0x42, 0x03, 0xe0, |
| 418 |
0x41, 0x01, 0x52, 0x09, 0x64, 0x61, 0x79, 0x4f, 0x66, 0x57, 0x65, 0x65, 0x6b, 0x12, 0x20, 0x0a, |
| 419 |
0x09, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, |
| 420 |
0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x12, |
| 421 |
0x71, 0x0a, 0x09, 0x66, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x06, 0x20, 0x01, |
| 422 |
0x28, 0x0e, 0x32, 0x4e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, |
| 423 |
0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x64, 0x61, |
| 424 |
0x74, 0x61, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, |
| 425 |
0x2e, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, |
| 426 |
0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x46, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, |
| 427 |
0x63, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x66, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, |
| 428 |
0x63, 0x79, 0x12, 0x20, 0x0a, 0x09, 0x66, 0x65, 0x74, 0x63, 0x68, 0x5f, 0x75, 0x72, 0x69, 0x18, |
| 429 |
0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x66, 0x65, 0x74, 0x63, |
| 430 |
0x68, 0x55, 0x72, 0x69, 0x12, 0x1f, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, |
| 431 |
0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x75, 0x73, 0x65, |
| 432 |
0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, |
| 433 |
0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x70, 0x61, |
| 434 |
0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x68, 0x0a, 0x09, 0x46, 0x72, 0x65, 0x71, 0x75, 0x65, |
| 435 |
0x6e, 0x63, 0x79, 0x12, 0x19, 0x0a, 0x15, 0x46, 0x52, 0x45, 0x51, 0x55, 0x45, 0x4e, 0x43, 0x59, |
| 436 |
0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, |
| 437 |
0x0a, 0x0f, 0x46, 0x52, 0x45, 0x51, 0x55, 0x45, 0x4e, 0x43, 0x59, 0x5f, 0x44, 0x41, 0x49, 0x4c, |
| 438 |
0x59, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x46, 0x52, 0x45, 0x51, 0x55, 0x45, 0x4e, 0x43, 0x59, |
| 439 |
0x5f, 0x57, 0x45, 0x45, 0x4b, 0x4c, 0x59, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x46, 0x52, 0x45, |
| 440 |
0x51, 0x55, 0x45, 0x4e, 0x43, 0x59, 0x5f, 0x4d, 0x4f, 0x4e, 0x54, 0x48, 0x4c, 0x59, 0x10, 0x03, |
| 441 |
0x22, 0x5a, 0x0a, 0x0d, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x54, 0x79, 0x70, |
| 442 |
0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x49, 0x4e, 0x50, 0x55, 0x54, 0x5f, |
| 443 |
0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, |
| 444 |
0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x50, 0x4c, 0x4f, 0x41, 0x44, 0x10, 0x01, 0x12, 0x09, |
| 445 |
0x0a, 0x05, 0x46, 0x45, 0x54, 0x43, 0x48, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x47, 0x4f, 0x4f, |
| 446 |
0x47, 0x4c, 0x45, 0x5f, 0x53, 0x48, 0x45, 0x45, 0x54, 0x53, 0x10, 0x03, 0x42, 0xab, 0x02, 0x0a, |
| 447 |
0x2f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, |
| 448 |
0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x64, 0x61, |
| 449 |
0x74, 0x61, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, |
| 450 |
0x42, 0x0f, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, |
| 451 |
0x6f, 0x50, 0x01, 0x5a, 0x57, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 452 |
0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, |
| 453 |
0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, |
| 454 |
0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, |
| 455 |
0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x70, 0x62, 0x3b, 0x64, |
| 456 |
0x61, 0x74, 0x61, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x70, 0x62, 0xaa, 0x02, 0x2b, 0x47, |
| 457 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x4d, |
| 458 |
0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, |
| 459 |
0x63, 0x65, 0x73, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0xca, 0x02, 0x2b, 0x47, 0x6f, 0x6f, |
| 460 |
0x67, 0x6c, 0x65, 0x5c, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5c, 0x4d, 0x65, 0x72, |
| 461 |
0x63, 0x68, 0x61, 0x6e, 0x74, 0x5c, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, |
| 462 |
0x73, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0xea, 0x02, 0x2f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, |
| 463 |
0x65, 0x3a, 0x3a, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x4d, 0x65, 0x72, |
| 464 |
0x63, 0x68, 0x61, 0x6e, 0x74, 0x3a, 0x3a, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, |
| 465 |
0x65, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, |
| 466 |
0x6f, 0x33, |
| 467 |
} |
| 468 |
|
| 469 |
var ( |
| 470 |
file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_rawDescOnce sync.Once |
| 471 |
file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_rawDescData = file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_rawDesc |
| 472 |
) |
| 473 |
|
| 474 |
func file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_rawDescGZIP() []byte { |
| 475 |
file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_rawDescOnce.Do(func() { |
| 476 |
file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_rawDescData) |
| 477 |
}) |
| 478 |
return file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_rawDescData |
| 479 |
} |
| 480 |
|
| 481 |
var file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_enumTypes = make([]protoimpl.EnumInfo, 2) |
| 482 |
var file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| 483 |
var file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_goTypes = []any{ |
| 484 |
(FileInput_FileInputType)(0), // 0: google.shopping.merchant.datasources.v1beta.FileInput.FileInputType |
| 485 |
(FileInput_FetchSettings_Frequency)(0), // 1: google.shopping.merchant.datasources.v1beta.FileInput.FetchSettings.Frequency |
| 486 |
(*FileInput)(nil), // 2: google.shopping.merchant.datasources.v1beta.FileInput |
| 487 |
(*FileInput_FetchSettings)(nil), // 3: google.shopping.merchant.datasources.v1beta.FileInput.FetchSettings |
| 488 |
(*timeofday.TimeOfDay)(nil), // 4: google.type.TimeOfDay |
| 489 |
(dayofweek.DayOfWeek)(0), // 5: google.type.DayOfWeek |
| 490 |
} |
| 491 |
var file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_depIdxs = []int32{ |
| 492 |
3, // 0: google.shopping.merchant.datasources.v1beta.FileInput.fetch_settings:type_name -> google.shopping.merchant.datasources.v1beta.FileInput.FetchSettings |
| 493 |
0, // 1: google.shopping.merchant.datasources.v1beta.FileInput.file_input_type:type_name -> google.shopping.merchant.datasources.v1beta.FileInput.FileInputType |
| 494 |
4, // 2: google.shopping.merchant.datasources.v1beta.FileInput.FetchSettings.time_of_day:type_name -> google.type.TimeOfDay |
| 495 |
5, // 3: google.shopping.merchant.datasources.v1beta.FileInput.FetchSettings.day_of_week:type_name -> google.type.DayOfWeek |
| 496 |
1, // 4: google.shopping.merchant.datasources.v1beta.FileInput.FetchSettings.frequency:type_name -> google.shopping.merchant.datasources.v1beta.FileInput.FetchSettings.Frequency |
| 497 |
5, // [5:5] is the sub-list for method output_type |
| 498 |
5, // [5:5] is the sub-list for method input_type |
| 499 |
5, // [5:5] is the sub-list for extension type_name |
| 500 |
5, // [5:5] is the sub-list for extension extendee |
| 501 |
0, // [0:5] is the sub-list for field type_name |
| 502 |
} |
| 503 |
|
| 504 |
func init() { file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_init() } |
| 505 |
func file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_init() { |
| 506 |
if File_google_shopping_merchant_datasources_v1beta_fileinputs_proto != nil { |
| 507 |
return |
| 508 |
} |
| 509 |
type x struct{} |
| 510 |
out := protoimpl.TypeBuilder{ |
| 511 |
File: protoimpl.DescBuilder{ |
| 512 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 513 |
RawDescriptor: file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_rawDesc, |
| 514 |
NumEnums: 2, |
| 515 |
NumMessages: 2, |
| 516 |
NumExtensions: 0, |
| 517 |
NumServices: 0, |
| 518 |
}, |
| 519 |
GoTypes: file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_goTypes, |
| 520 |
DependencyIndexes: file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_depIdxs, |
| 521 |
EnumInfos: file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_enumTypes, |
| 522 |
MessageInfos: file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_msgTypes, |
| 523 |
}.Build() |
| 524 |
File_google_shopping_merchant_datasources_v1beta_fileinputs_proto = out.File |
| 525 |
file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_rawDesc = nil |
| 526 |
file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_goTypes = nil |
| 527 |
file_google_shopping_merchant_datasources_v1beta_fileinputs_proto_depIdxs = nil |
| 528 |
} |