| 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/automaticimprovements.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 [automatic |
| 44 |
// improvements](https://developers.google.com/shopping-content/guides/automatic-improvements) |
| 45 |
// of an account. |
| 46 |
type AutomaticImprovements struct { |
| 47 |
state protoimpl.MessageState |
| 48 |
sizeCache protoimpl.SizeCache |
| 49 |
unknownFields protoimpl.UnknownFields |
| 50 |
|
| 51 |
// Identifier. The resource name of the automatic improvements. |
| 52 |
// Format: `accounts/{account}/automaticImprovements`. |
| 53 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 54 |
// Turning on [item |
| 55 |
// updates](https://support.google.com/merchants/answer/3246284) allows |
| 56 |
// Google to automatically update items for you. When item updates are on, |
| 57 |
// Google uses the structured data markup on the website and advanced data |
| 58 |
// extractors to update the price and availability of the items. When the item |
| 59 |
// updates are off, items with mismatched data aren't shown. |
| 60 |
// This field is only updated (cleared) if provided in the update mask. |
| 61 |
ItemUpdates *AutomaticItemUpdates `protobuf:"bytes,2,opt,name=item_updates,json=itemUpdates,proto3,oneof" json:"item_updates,omitempty"` |
| 62 |
// This improvement will attempt to automatically correct submitted images if |
| 63 |
// they don't meet the [image |
| 64 |
// requirements](https://support.google.com/merchants/answer/6324350), for |
| 65 |
// example, removing overlays. If successful, the image will be replaced and |
| 66 |
// approved. This improvement is only applied to images of disapproved offers. |
| 67 |
// For more information see: [Automatic image |
| 68 |
// improvements](https://support.google.com/merchants/answer/9242973) |
| 69 |
// This field is only updated (cleared) if provided in the update mask. |
| 70 |
ImageImprovements *AutomaticImageImprovements `protobuf:"bytes,3,opt,name=image_improvements,json=imageImprovements,proto3,oneof" json:"image_improvements,omitempty"` |
| 71 |
// Not available for [advanced |
| 72 |
// accounts](https://support.google.com/merchants/answer/188487). By turning |
| 73 |
// on [automatic shipping |
| 74 |
// improvements](https://support.google.com/merchants/answer/10027038), you |
| 75 |
// are allowing Google to improve the accuracy of your delivery times shown to |
| 76 |
// shoppers using Google. More accurate delivery times, especially when |
| 77 |
// faster, typically lead to better conversion rates. Google will improve your |
| 78 |
// estimated delivery times based on various factors: |
| 79 |
// * Delivery address of an order |
| 80 |
// * Current handling time and shipping time settings |
| 81 |
// * Estimated weekdays or business days |
| 82 |
// * Parcel tracking data |
| 83 |
// This field is only updated (cleared) if provided in the update mask. |
| 84 |
ShippingImprovements *AutomaticShippingImprovements `protobuf:"bytes,4,opt,name=shipping_improvements,json=shippingImprovements,proto3,oneof" json:"shipping_improvements,omitempty"` |
| 85 |
} |
| 86 |
|
| 87 |
func (x *AutomaticImprovements) Reset() { |
| 88 |
*x = AutomaticImprovements{} |
| 89 |
mi := &file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_msgTypes[0] |
| 90 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 91 |
ms.StoreMessageInfo(mi) |
| 92 |
} |
| 93 |
|
| 94 |
func (x *AutomaticImprovements) String() string { |
| 95 |
return protoimpl.X.MessageStringOf(x) |
| 96 |
} |
| 97 |
|
| 98 |
func (*AutomaticImprovements) ProtoMessage() {} |
| 99 |
|
| 100 |
func (x *AutomaticImprovements) ProtoReflect() protoreflect.Message { |
| 101 |
mi := &file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_msgTypes[0] |
| 102 |
if x != nil { |
| 103 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 104 |
if ms.LoadMessageInfo() == nil { |
| 105 |
ms.StoreMessageInfo(mi) |
| 106 |
} |
| 107 |
return ms |
| 108 |
} |
| 109 |
return mi.MessageOf(x) |
| 110 |
} |
| 111 |
|
| 112 |
// Deprecated: Use AutomaticImprovements.ProtoReflect.Descriptor instead. |
| 113 |
func (*AutomaticImprovements) Descriptor() ([]byte, []int) { |
| 114 |
return file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_rawDescGZIP(), []int{0} |
| 115 |
} |
| 116 |
|
| 117 |
func (x *AutomaticImprovements) GetName() string { |
| 118 |
if x != nil { |
| 119 |
return x.Name |
| 120 |
} |
| 121 |
return "" |
| 122 |
} |
| 123 |
|
| 124 |
func (x *AutomaticImprovements) GetItemUpdates() *AutomaticItemUpdates { |
| 125 |
if x != nil { |
| 126 |
return x.ItemUpdates |
| 127 |
} |
| 128 |
return nil |
| 129 |
} |
| 130 |
|
| 131 |
func (x *AutomaticImprovements) GetImageImprovements() *AutomaticImageImprovements { |
| 132 |
if x != nil { |
| 133 |
return x.ImageImprovements |
| 134 |
} |
| 135 |
return nil |
| 136 |
} |
| 137 |
|
| 138 |
func (x *AutomaticImprovements) GetShippingImprovements() *AutomaticShippingImprovements { |
| 139 |
if x != nil { |
| 140 |
return x.ShippingImprovements |
| 141 |
} |
| 142 |
return nil |
| 143 |
} |
| 144 |
|
| 145 |
// Turning on [item |
| 146 |
// updates](https://support.google.com/merchants/answer/3246284) allows |
| 147 |
// Google to automatically update items for you. When item updates are on, |
| 148 |
// Google uses the structured data markup on the website and advanced data |
| 149 |
// extractors to update the price and availability of the items. When the item |
| 150 |
// updates are off, items with mismatched data aren't shown. |
| 151 |
type AutomaticItemUpdates struct { |
| 152 |
state protoimpl.MessageState |
| 153 |
sizeCache protoimpl.SizeCache |
| 154 |
unknownFields protoimpl.UnknownFields |
| 155 |
|
| 156 |
// Optional. Determines which attributes of the items should be automatically |
| 157 |
// updated. If this field is not present and provided in the update mask, then |
| 158 |
// the settings will be deleted. If there are no settings for subaccount, they |
| 159 |
// are inherited from aggregator. |
| 160 |
AccountItemUpdatesSettings *AutomaticItemUpdates_ItemUpdatesAccountLevelSettings `protobuf:"bytes,1,opt,name=account_item_updates_settings,json=accountItemUpdatesSettings,proto3" json:"account_item_updates_settings,omitempty"` |
| 161 |
// Output only. The effective value of allow_price_updates. |
| 162 |
// If account_item_updates_settings is present, then this value is the same. |
| 163 |
// Otherwise, it represents the inherited value of the parent account. |
| 164 |
// The default value is true if no settings are present. |
| 165 |
// Read-only. |
| 166 |
EffectiveAllowPriceUpdates bool `protobuf:"varint,2,opt,name=effective_allow_price_updates,json=effectiveAllowPriceUpdates,proto3" json:"effective_allow_price_updates,omitempty"` |
| 167 |
// Output only. The effective value of allow_availability_updates. |
| 168 |
// If account_item_updates_settings is present, then this value is the same. |
| 169 |
// Otherwise, it represents the inherited value of the parent account. |
| 170 |
// The default value is true if no settings are present. |
| 171 |
// Read-only. |
| 172 |
EffectiveAllowAvailabilityUpdates bool `protobuf:"varint,3,opt,name=effective_allow_availability_updates,json=effectiveAllowAvailabilityUpdates,proto3" json:"effective_allow_availability_updates,omitempty"` |
| 173 |
// Output only. The effective value of |
| 174 |
// allow_strict_availability_updates. |
| 175 |
// If account_item_updates_settings is present, then this value is the same. |
| 176 |
// Otherwise, it represents the inherited value of the parent account. |
| 177 |
// The default value is true if no settings are present. |
| 178 |
// Read-only. |
| 179 |
EffectiveAllowStrictAvailabilityUpdates bool `protobuf:"varint,4,opt,name=effective_allow_strict_availability_updates,json=effectiveAllowStrictAvailabilityUpdates,proto3" json:"effective_allow_strict_availability_updates,omitempty"` |
| 180 |
// Output only. The effective value of allow_condition_updates. |
| 181 |
// If account_item_updates_settings is present, then this value is the same. |
| 182 |
// Otherwise, it represents the inherited value of the parent account. |
| 183 |
// The default value is true if no settings are present. |
| 184 |
// Read-only. |
| 185 |
EffectiveAllowConditionUpdates bool `protobuf:"varint,5,opt,name=effective_allow_condition_updates,json=effectiveAllowConditionUpdates,proto3" json:"effective_allow_condition_updates,omitempty"` |
| 186 |
} |
| 187 |
|
| 188 |
func (x *AutomaticItemUpdates) Reset() { |
| 189 |
*x = AutomaticItemUpdates{} |
| 190 |
mi := &file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_msgTypes[1] |
| 191 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 192 |
ms.StoreMessageInfo(mi) |
| 193 |
} |
| 194 |
|
| 195 |
func (x *AutomaticItemUpdates) String() string { |
| 196 |
return protoimpl.X.MessageStringOf(x) |
| 197 |
} |
| 198 |
|
| 199 |
func (*AutomaticItemUpdates) ProtoMessage() {} |
| 200 |
|
| 201 |
func (x *AutomaticItemUpdates) ProtoReflect() protoreflect.Message { |
| 202 |
mi := &file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_msgTypes[1] |
| 203 |
if x != nil { |
| 204 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 205 |
if ms.LoadMessageInfo() == nil { |
| 206 |
ms.StoreMessageInfo(mi) |
| 207 |
} |
| 208 |
return ms |
| 209 |
} |
| 210 |
return mi.MessageOf(x) |
| 211 |
} |
| 212 |
|
| 213 |
// Deprecated: Use AutomaticItemUpdates.ProtoReflect.Descriptor instead. |
| 214 |
func (*AutomaticItemUpdates) Descriptor() ([]byte, []int) { |
| 215 |
return file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_rawDescGZIP(), []int{1} |
| 216 |
} |
| 217 |
|
| 218 |
func (x *AutomaticItemUpdates) GetAccountItemUpdatesSettings() *AutomaticItemUpdates_ItemUpdatesAccountLevelSettings { |
| 219 |
if x != nil { |
| 220 |
return x.AccountItemUpdatesSettings |
| 221 |
} |
| 222 |
return nil |
| 223 |
} |
| 224 |
|
| 225 |
func (x *AutomaticItemUpdates) GetEffectiveAllowPriceUpdates() bool { |
| 226 |
if x != nil { |
| 227 |
return x.EffectiveAllowPriceUpdates |
| 228 |
} |
| 229 |
return false |
| 230 |
} |
| 231 |
|
| 232 |
func (x *AutomaticItemUpdates) GetEffectiveAllowAvailabilityUpdates() bool { |
| 233 |
if x != nil { |
| 234 |
return x.EffectiveAllowAvailabilityUpdates |
| 235 |
} |
| 236 |
return false |
| 237 |
} |
| 238 |
|
| 239 |
func (x *AutomaticItemUpdates) GetEffectiveAllowStrictAvailabilityUpdates() bool { |
| 240 |
if x != nil { |
| 241 |
return x.EffectiveAllowStrictAvailabilityUpdates |
| 242 |
} |
| 243 |
return false |
| 244 |
} |
| 245 |
|
| 246 |
func (x *AutomaticItemUpdates) GetEffectiveAllowConditionUpdates() bool { |
| 247 |
if x != nil { |
| 248 |
return x.EffectiveAllowConditionUpdates |
| 249 |
} |
| 250 |
return false |
| 251 |
} |
| 252 |
|
| 253 |
// This improvement will attempt to automatically correct submitted images if |
| 254 |
// they don't meet the [image |
| 255 |
// requirements](https://support.google.com/merchants/answer/6324350), for |
| 256 |
// example, removing overlays. If successful, the image will be replaced and |
| 257 |
// approved. This improvement is only applied to images of disapproved offers. |
| 258 |
// For more information see: [Automatic image |
| 259 |
// improvements](https://support.google.com/merchants/answer/9242973) |
| 260 |
type AutomaticImageImprovements struct { |
| 261 |
state protoimpl.MessageState |
| 262 |
sizeCache protoimpl.SizeCache |
| 263 |
unknownFields protoimpl.UnknownFields |
| 264 |
|
| 265 |
// Optional. Determines how the images should be automatically updated. |
| 266 |
// If this field is not present and provided in the update mask, then the |
| 267 |
// settings will be deleted. If there are no settings for subaccount, they are |
| 268 |
// inherited from aggregator. |
| 269 |
AccountImageImprovementsSettings *AutomaticImageImprovements_ImageImprovementsAccountLevelSettings `protobuf:"bytes,1,opt,name=account_image_improvements_settings,json=accountImageImprovementsSettings,proto3,oneof" json:"account_image_improvements_settings,omitempty"` |
| 270 |
// Output only. The effective value of allow_automatic_image_improvements. |
| 271 |
// If account_image_improvements_settings is present, then this value is the |
| 272 |
// same. Otherwise, it represents the inherited value of the parent account. |
| 273 |
// Read-only. |
| 274 |
EffectiveAllowAutomaticImageImprovements bool `protobuf:"varint,2,opt,name=effective_allow_automatic_image_improvements,json=effectiveAllowAutomaticImageImprovements,proto3" json:"effective_allow_automatic_image_improvements,omitempty"` |
| 275 |
} |
| 276 |
|
| 277 |
func (x *AutomaticImageImprovements) Reset() { |
| 278 |
*x = AutomaticImageImprovements{} |
| 279 |
mi := &file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_msgTypes[2] |
| 280 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 281 |
ms.StoreMessageInfo(mi) |
| 282 |
} |
| 283 |
|
| 284 |
func (x *AutomaticImageImprovements) String() string { |
| 285 |
return protoimpl.X.MessageStringOf(x) |
| 286 |
} |
| 287 |
|
| 288 |
func (*AutomaticImageImprovements) ProtoMessage() {} |
| 289 |
|
| 290 |
func (x *AutomaticImageImprovements) ProtoReflect() protoreflect.Message { |
| 291 |
mi := &file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_msgTypes[2] |
| 292 |
if x != nil { |
| 293 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 294 |
if ms.LoadMessageInfo() == nil { |
| 295 |
ms.StoreMessageInfo(mi) |
| 296 |
} |
| 297 |
return ms |
| 298 |
} |
| 299 |
return mi.MessageOf(x) |
| 300 |
} |
| 301 |
|
| 302 |
// Deprecated: Use AutomaticImageImprovements.ProtoReflect.Descriptor instead. |
| 303 |
func (*AutomaticImageImprovements) Descriptor() ([]byte, []int) { |
| 304 |
return file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_rawDescGZIP(), []int{2} |
| 305 |
} |
| 306 |
|
| 307 |
func (x *AutomaticImageImprovements) GetAccountImageImprovementsSettings() *AutomaticImageImprovements_ImageImprovementsAccountLevelSettings { |
| 308 |
if x != nil { |
| 309 |
return x.AccountImageImprovementsSettings |
| 310 |
} |
| 311 |
return nil |
| 312 |
} |
| 313 |
|
| 314 |
func (x *AutomaticImageImprovements) GetEffectiveAllowAutomaticImageImprovements() bool { |
| 315 |
if x != nil { |
| 316 |
return x.EffectiveAllowAutomaticImageImprovements |
| 317 |
} |
| 318 |
return false |
| 319 |
} |
| 320 |
|
| 321 |
// Not available for [advanced |
| 322 |
// accounts](https://support.google.com/merchants/answer/188487). By turning on |
| 323 |
// [automatic shipping |
| 324 |
// improvements](https://support.google.com/merchants/answer/10027038), |
| 325 |
// you are allowing Google to improve the accuracy of your delivery times shown |
| 326 |
// to shoppers using Google. More accurate delivery times, especially when |
| 327 |
// faster, typically lead to better conversion rates. Google will improve your |
| 328 |
// estimated delivery times based on various factors: |
| 329 |
// * Delivery address of an order |
| 330 |
// * Current handling time and shipping time settings |
| 331 |
// * Estimated weekdays or business days |
| 332 |
// * Parcel tracking data |
| 333 |
type AutomaticShippingImprovements struct { |
| 334 |
state protoimpl.MessageState |
| 335 |
sizeCache protoimpl.SizeCache |
| 336 |
unknownFields protoimpl.UnknownFields |
| 337 |
|
| 338 |
// Enables automatic shipping improvements. |
| 339 |
AllowShippingImprovements *bool `protobuf:"varint,1,opt,name=allow_shipping_improvements,json=allowShippingImprovements,proto3,oneof" json:"allow_shipping_improvements,omitempty"` |
| 340 |
} |
| 341 |
|
| 342 |
func (x *AutomaticShippingImprovements) Reset() { |
| 343 |
*x = AutomaticShippingImprovements{} |
| 344 |
mi := &file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_msgTypes[3] |
| 345 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 346 |
ms.StoreMessageInfo(mi) |
| 347 |
} |
| 348 |
|
| 349 |
func (x *AutomaticShippingImprovements) String() string { |
| 350 |
return protoimpl.X.MessageStringOf(x) |
| 351 |
} |
| 352 |
|
| 353 |
func (*AutomaticShippingImprovements) ProtoMessage() {} |
| 354 |
|
| 355 |
func (x *AutomaticShippingImprovements) ProtoReflect() protoreflect.Message { |
| 356 |
mi := &file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_msgTypes[3] |
| 357 |
if x != nil { |
| 358 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 359 |
if ms.LoadMessageInfo() == nil { |
| 360 |
ms.StoreMessageInfo(mi) |
| 361 |
} |
| 362 |
return ms |
| 363 |
} |
| 364 |
return mi.MessageOf(x) |
| 365 |
} |
| 366 |
|
| 367 |
// Deprecated: Use AutomaticShippingImprovements.ProtoReflect.Descriptor instead. |
| 368 |
func (*AutomaticShippingImprovements) Descriptor() ([]byte, []int) { |
| 369 |
return file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_rawDescGZIP(), []int{3} |
| 370 |
} |
| 371 |
|
| 372 |
func (x *AutomaticShippingImprovements) GetAllowShippingImprovements() bool { |
| 373 |
if x != nil && x.AllowShippingImprovements != nil { |
| 374 |
return *x.AllowShippingImprovements |
| 375 |
} |
| 376 |
return false |
| 377 |
} |
| 378 |
|
| 379 |
// Request message for the `GetAutomaticImprovements` method. |
| 380 |
type GetAutomaticImprovementsRequest struct { |
| 381 |
state protoimpl.MessageState |
| 382 |
sizeCache protoimpl.SizeCache |
| 383 |
unknownFields protoimpl.UnknownFields |
| 384 |
|
| 385 |
// Required. The resource name of the automatic improvements. |
| 386 |
// Format: `accounts/{account}/automaticImprovements` |
| 387 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 388 |
} |
| 389 |
|
| 390 |
func (x *GetAutomaticImprovementsRequest) Reset() { |
| 391 |
*x = GetAutomaticImprovementsRequest{} |
| 392 |
mi := &file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_msgTypes[4] |
| 393 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 394 |
ms.StoreMessageInfo(mi) |
| 395 |
} |
| 396 |
|
| 397 |
func (x *GetAutomaticImprovementsRequest) String() string { |
| 398 |
return protoimpl.X.MessageStringOf(x) |
| 399 |
} |
| 400 |
|
| 401 |
func (*GetAutomaticImprovementsRequest) ProtoMessage() {} |
| 402 |
|
| 403 |
func (x *GetAutomaticImprovementsRequest) ProtoReflect() protoreflect.Message { |
| 404 |
mi := &file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_msgTypes[4] |
| 405 |
if x != nil { |
| 406 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 407 |
if ms.LoadMessageInfo() == nil { |
| 408 |
ms.StoreMessageInfo(mi) |
| 409 |
} |
| 410 |
return ms |
| 411 |
} |
| 412 |
return mi.MessageOf(x) |
| 413 |
} |
| 414 |
|
| 415 |
// Deprecated: Use GetAutomaticImprovementsRequest.ProtoReflect.Descriptor instead. |
| 416 |
func (*GetAutomaticImprovementsRequest) Descriptor() ([]byte, []int) { |
| 417 |
return file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_rawDescGZIP(), []int{4} |
| 418 |
} |
| 419 |
|
| 420 |
func (x *GetAutomaticImprovementsRequest) GetName() string { |
| 421 |
if x != nil { |
| 422 |
return x.Name |
| 423 |
} |
| 424 |
return "" |
| 425 |
} |
| 426 |
|
| 427 |
// Request message for the `UpdateAutomaticImprovements` method. |
| 428 |
type UpdateAutomaticImprovementsRequest struct { |
| 429 |
state protoimpl.MessageState |
| 430 |
sizeCache protoimpl.SizeCache |
| 431 |
unknownFields protoimpl.UnknownFields |
| 432 |
|
| 433 |
// Required. The new version of the automatic imrovements. |
| 434 |
AutomaticImprovements *AutomaticImprovements `protobuf:"bytes,1,opt,name=automatic_improvements,json=automaticImprovements,proto3" json:"automatic_improvements,omitempty"` |
| 435 |
// Required. List of fields being updated. |
| 436 |
// The following fields are supported (in both `snake_case` and |
| 437 |
// `lowerCamelCase`): |
| 438 |
// |
| 439 |
// - `item_updates` |
| 440 |
// - `item_updates.account_level_settings` |
| 441 |
// - `image_improvements` |
| 442 |
// - `image_improvements.account_level_settings` |
| 443 |
// - `shipping_improvements` |
| 444 |
// - `shipping_improvements.allow_shipping_improvements` |
| 445 |
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` |
| 446 |
} |
| 447 |
|
| 448 |
func (x *UpdateAutomaticImprovementsRequest) Reset() { |
| 449 |
*x = UpdateAutomaticImprovementsRequest{} |
| 450 |
mi := &file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_msgTypes[5] |
| 451 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 452 |
ms.StoreMessageInfo(mi) |
| 453 |
} |
| 454 |
|
| 455 |
func (x *UpdateAutomaticImprovementsRequest) String() string { |
| 456 |
return protoimpl.X.MessageStringOf(x) |
| 457 |
} |
| 458 |
|
| 459 |
func (*UpdateAutomaticImprovementsRequest) ProtoMessage() {} |
| 460 |
|
| 461 |
func (x *UpdateAutomaticImprovementsRequest) ProtoReflect() protoreflect.Message { |
| 462 |
mi := &file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_msgTypes[5] |
| 463 |
if x != nil { |
| 464 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 465 |
if ms.LoadMessageInfo() == nil { |
| 466 |
ms.StoreMessageInfo(mi) |
| 467 |
} |
| 468 |
return ms |
| 469 |
} |
| 470 |
return mi.MessageOf(x) |
| 471 |
} |
| 472 |
|
| 473 |
// Deprecated: Use UpdateAutomaticImprovementsRequest.ProtoReflect.Descriptor instead. |
| 474 |
func (*UpdateAutomaticImprovementsRequest) Descriptor() ([]byte, []int) { |
| 475 |
return file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_rawDescGZIP(), []int{5} |
| 476 |
} |
| 477 |
|
| 478 |
func (x *UpdateAutomaticImprovementsRequest) GetAutomaticImprovements() *AutomaticImprovements { |
| 479 |
if x != nil { |
| 480 |
return x.AutomaticImprovements |
| 481 |
} |
| 482 |
return nil |
| 483 |
} |
| 484 |
|
| 485 |
func (x *UpdateAutomaticImprovementsRequest) GetUpdateMask() *fieldmaskpb.FieldMask { |
| 486 |
if x != nil { |
| 487 |
return x.UpdateMask |
| 488 |
} |
| 489 |
return nil |
| 490 |
} |
| 491 |
|
| 492 |
// Settings for the Automatic Item Updates. |
| 493 |
type AutomaticItemUpdates_ItemUpdatesAccountLevelSettings struct { |
| 494 |
state protoimpl.MessageState |
| 495 |
sizeCache protoimpl.SizeCache |
| 496 |
unknownFields protoimpl.UnknownFields |
| 497 |
|
| 498 |
// If price updates are enabled, Google always updates the active price with |
| 499 |
// the crawled information. |
| 500 |
AllowPriceUpdates *bool `protobuf:"varint,1,opt,name=allow_price_updates,json=allowPriceUpdates,proto3,oneof" json:"allow_price_updates,omitempty"` |
| 501 |
// If availability updates are enabled, any previous availability values |
| 502 |
// get overwritten if Google finds an out-of-stock annotation on the offer's |
| 503 |
// page. |
| 504 |
// If additionally `allow_strict_availability_updates` field is set to |
| 505 |
// true, values get overwritten if Google finds an in-stock annotation on |
| 506 |
// the offer’s page. |
| 507 |
AllowAvailabilityUpdates *bool `protobuf:"varint,2,opt,name=allow_availability_updates,json=allowAvailabilityUpdates,proto3,oneof" json:"allow_availability_updates,omitempty"` |
| 508 |
// If `allow_availability_updates` is enabled, items are automatically |
| 509 |
// updated in all your Shopping target countries. By default, availability |
| 510 |
// updates will only be applied to items that are 'out of stock' on your |
| 511 |
// website but 'in stock' on Shopping. Set this to true to also update items |
| 512 |
// that are 'in stock' on your website, but 'out of stock' on Google |
| 513 |
// Shopping. In order for this field to have an effect, you must also set |
| 514 |
// `allow_availability_updates`. |
| 515 |
AllowStrictAvailabilityUpdates *bool `protobuf:"varint,3,opt,name=allow_strict_availability_updates,json=allowStrictAvailabilityUpdates,proto3,oneof" json:"allow_strict_availability_updates,omitempty"` |
| 516 |
// If condition updates are enabled, Google always updates item condition |
| 517 |
// with the condition detected from the details of your product. |
| 518 |
AllowConditionUpdates *bool `protobuf:"varint,4,opt,name=allow_condition_updates,json=allowConditionUpdates,proto3,oneof" json:"allow_condition_updates,omitempty"` |
| 519 |
} |
| 520 |
|
| 521 |
func (x *AutomaticItemUpdates_ItemUpdatesAccountLevelSettings) Reset() { |
| 522 |
*x = AutomaticItemUpdates_ItemUpdatesAccountLevelSettings{} |
| 523 |
mi := &file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_msgTypes[6] |
| 524 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 525 |
ms.StoreMessageInfo(mi) |
| 526 |
} |
| 527 |
|
| 528 |
func (x *AutomaticItemUpdates_ItemUpdatesAccountLevelSettings) String() string { |
| 529 |
return protoimpl.X.MessageStringOf(x) |
| 530 |
} |
| 531 |
|
| 532 |
func (*AutomaticItemUpdates_ItemUpdatesAccountLevelSettings) ProtoMessage() {} |
| 533 |
|
| 534 |
func (x *AutomaticItemUpdates_ItemUpdatesAccountLevelSettings) ProtoReflect() protoreflect.Message { |
| 535 |
mi := &file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_msgTypes[6] |
| 536 |
if x != nil { |
| 537 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 538 |
if ms.LoadMessageInfo() == nil { |
| 539 |
ms.StoreMessageInfo(mi) |
| 540 |
} |
| 541 |
return ms |
| 542 |
} |
| 543 |
return mi.MessageOf(x) |
| 544 |
} |
| 545 |
|
| 546 |
// Deprecated: Use AutomaticItemUpdates_ItemUpdatesAccountLevelSettings.ProtoReflect.Descriptor instead. |
| 547 |
func (*AutomaticItemUpdates_ItemUpdatesAccountLevelSettings) Descriptor() ([]byte, []int) { |
| 548 |
return file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_rawDescGZIP(), []int{1, 0} |
| 549 |
} |
| 550 |
|
| 551 |
func (x *AutomaticItemUpdates_ItemUpdatesAccountLevelSettings) GetAllowPriceUpdates() bool { |
| 552 |
if x != nil && x.AllowPriceUpdates != nil { |
| 553 |
return *x.AllowPriceUpdates |
| 554 |
} |
| 555 |
return false |
| 556 |
} |
| 557 |
|
| 558 |
func (x *AutomaticItemUpdates_ItemUpdatesAccountLevelSettings) GetAllowAvailabilityUpdates() bool { |
| 559 |
if x != nil && x.AllowAvailabilityUpdates != nil { |
| 560 |
return *x.AllowAvailabilityUpdates |
| 561 |
} |
| 562 |
return false |
| 563 |
} |
| 564 |
|
| 565 |
func (x *AutomaticItemUpdates_ItemUpdatesAccountLevelSettings) GetAllowStrictAvailabilityUpdates() bool { |
| 566 |
if x != nil && x.AllowStrictAvailabilityUpdates != nil { |
| 567 |
return *x.AllowStrictAvailabilityUpdates |
| 568 |
} |
| 569 |
return false |
| 570 |
} |
| 571 |
|
| 572 |
func (x *AutomaticItemUpdates_ItemUpdatesAccountLevelSettings) GetAllowConditionUpdates() bool { |
| 573 |
if x != nil && x.AllowConditionUpdates != nil { |
| 574 |
return *x.AllowConditionUpdates |
| 575 |
} |
| 576 |
return false |
| 577 |
} |
| 578 |
|
| 579 |
// Settings for the Automatic Image Improvements. |
| 580 |
type AutomaticImageImprovements_ImageImprovementsAccountLevelSettings struct { |
| 581 |
state protoimpl.MessageState |
| 582 |
sizeCache protoimpl.SizeCache |
| 583 |
unknownFields protoimpl.UnknownFields |
| 584 |
|
| 585 |
// Enables automatic image improvements. |
| 586 |
AllowAutomaticImageImprovements *bool `protobuf:"varint,1,opt,name=allow_automatic_image_improvements,json=allowAutomaticImageImprovements,proto3,oneof" json:"allow_automatic_image_improvements,omitempty"` |
| 587 |
} |
| 588 |
|
| 589 |
func (x *AutomaticImageImprovements_ImageImprovementsAccountLevelSettings) Reset() { |
| 590 |
*x = AutomaticImageImprovements_ImageImprovementsAccountLevelSettings{} |
| 591 |
mi := &file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_msgTypes[7] |
| 592 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 593 |
ms.StoreMessageInfo(mi) |
| 594 |
} |
| 595 |
|
| 596 |
func (x *AutomaticImageImprovements_ImageImprovementsAccountLevelSettings) String() string { |
| 597 |
return protoimpl.X.MessageStringOf(x) |
| 598 |
} |
| 599 |
|
| 600 |
func (*AutomaticImageImprovements_ImageImprovementsAccountLevelSettings) ProtoMessage() {} |
| 601 |
|
| 602 |
func (x *AutomaticImageImprovements_ImageImprovementsAccountLevelSettings) ProtoReflect() protoreflect.Message { |
| 603 |
mi := &file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_msgTypes[7] |
| 604 |
if x != nil { |
| 605 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 606 |
if ms.LoadMessageInfo() == nil { |
| 607 |
ms.StoreMessageInfo(mi) |
| 608 |
} |
| 609 |
return ms |
| 610 |
} |
| 611 |
return mi.MessageOf(x) |
| 612 |
} |
| 613 |
|
| 614 |
// Deprecated: Use AutomaticImageImprovements_ImageImprovementsAccountLevelSettings.ProtoReflect.Descriptor instead. |
| 615 |
func (*AutomaticImageImprovements_ImageImprovementsAccountLevelSettings) Descriptor() ([]byte, []int) { |
| 616 |
return file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_rawDescGZIP(), []int{2, 0} |
| 617 |
} |
| 618 |
|
| 619 |
func (x *AutomaticImageImprovements_ImageImprovementsAccountLevelSettings) GetAllowAutomaticImageImprovements() bool { |
| 620 |
if x != nil && x.AllowAutomaticImageImprovements != nil { |
| 621 |
return *x.AllowAutomaticImageImprovements |
| 622 |
} |
| 623 |
return false |
| 624 |
} |
| 625 |
|
| 626 |
var File_google_shopping_merchant_accounts_v1_automaticimprovements_proto protoreflect.FileDescriptor |
| 627 |
|
| 628 |
var file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_rawDesc = []byte{ |
| 629 |
0x0a, 0x40, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, |
| 630 |
0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, |
| 631 |
0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, |
| 632 |
0x69, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, |
| 633 |
0x74, 0x6f, 0x12, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, |
| 634 |
0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, |
| 635 |
0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 636 |
0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, |
| 637 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, |
| 638 |
0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, |
| 639 |
0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, |
| 640 |
0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 641 |
0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, |
| 642 |
0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, |
| 643 |
0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, |
| 644 |
0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdc, 0x04, |
| 645 |
0x0a, 0x15, 0x41, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x49, 0x6d, 0x70, 0x72, 0x6f, |
| 646 |
0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, |
| 647 |
0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, |
| 648 |
0x12, 0x62, 0x0a, 0x0c, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, |
| 649 |
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 650 |
0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, |
| 651 |
0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, |
| 652 |
0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x49, 0x74, 0x65, 0x6d, 0x55, 0x70, 0x64, 0x61, 0x74, |
| 653 |
0x65, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x69, 0x74, 0x65, 0x6d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, |
| 654 |
0x73, 0x88, 0x01, 0x01, 0x12, 0x74, 0x0a, 0x12, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x6d, |
| 655 |
0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, |
| 656 |
0x32, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, |
| 657 |
0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, |
| 658 |
0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, |
| 659 |
0x63, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x49, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, |
| 660 |
0x74, 0x73, 0x48, 0x01, 0x52, 0x11, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x49, 0x6d, 0x70, 0x72, 0x6f, |
| 661 |
0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x88, 0x01, 0x01, 0x12, 0x7d, 0x0a, 0x15, 0x73, 0x68, |
| 662 |
0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, |
| 663 |
0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 664 |
0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, |
| 665 |
0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, |
| 666 |
0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x53, 0x68, 0x69, 0x70, 0x70, 0x69, |
| 667 |
0x6e, 0x67, 0x49, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x48, 0x02, |
| 668 |
0x52, 0x14, 0x73, 0x68, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x49, 0x6d, 0x70, 0x72, 0x6f, 0x76, |
| 669 |
0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x88, 0x01, 0x01, 0x3a, 0x8e, 0x01, 0xea, 0x41, 0x8a, 0x01, |
| 670 |
0x0a, 0x30, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, |
| 671 |
0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x75, 0x74, |
| 672 |
0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x49, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, |
| 673 |
0x74, 0x73, 0x12, 0x28, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x63, |
| 674 |
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, |
| 675 |
0x49, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2a, 0x15, 0x61, 0x75, |
| 676 |
0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x49, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, |
| 677 |
0x6e, 0x74, 0x73, 0x32, 0x15, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x49, 0x6d, |
| 678 |
0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x69, |
| 679 |
0x74, 0x65, 0x6d, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x42, 0x15, 0x0a, 0x13, 0x5f, |
| 680 |
0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, |
| 681 |
0x74, 0x73, 0x42, 0x18, 0x0a, 0x16, 0x5f, 0x73, 0x68, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, |
| 682 |
0x69, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xae, 0x07, 0x0a, |
| 683 |
0x14, 0x41, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x49, 0x74, 0x65, 0x6d, 0x55, 0x70, |
| 684 |
0x64, 0x61, 0x74, 0x65, 0x73, 0x12, 0xa2, 0x01, 0x0a, 0x1d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, |
| 685 |
0x74, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x5f, 0x73, |
| 686 |
0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x5a, 0x2e, |
| 687 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, |
| 688 |
0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, |
| 689 |
0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x49, 0x74, |
| 690 |
0x65, 0x6d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x55, 0x70, |
| 691 |
0x64, 0x61, 0x74, 0x65, 0x73, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x65, 0x76, 0x65, |
| 692 |
0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x1a, |
| 693 |
0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x55, 0x70, 0x64, 0x61, 0x74, |
| 694 |
0x65, 0x73, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x46, 0x0a, 0x1d, 0x65, 0x66, |
| 695 |
0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x70, 0x72, |
| 696 |
0x69, 0x63, 0x65, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, |
| 697 |
0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x1a, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, |
| 698 |
0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x50, 0x72, 0x69, 0x63, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, |
| 699 |
0x65, 0x73, 0x12, 0x54, 0x0a, 0x24, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, |
| 700 |
0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, |
| 701 |
0x74, 0x79, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, |
| 702 |
0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x21, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, |
| 703 |
0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, |
| 704 |
0x79, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x12, 0x61, 0x0a, 0x2b, 0x65, 0x66, 0x66, 0x65, |
| 705 |
0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x73, 0x74, 0x72, 0x69, |
| 706 |
0x63, 0x74, 0x5f, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, |
| 707 |
0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, |
| 708 |
0x41, 0x03, 0x52, 0x27, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x41, 0x6c, 0x6c, |
| 709 |
0x6f, 0x77, 0x53, 0x74, 0x72, 0x69, 0x63, 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, |
| 710 |
0x6c, 0x69, 0x74, 0x79, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x12, 0x4e, 0x0a, 0x21, 0x65, |
| 711 |
0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x63, |
| 712 |
0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, |
| 713 |
0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x1e, 0x65, 0x66, 0x66, |
| 714 |
0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x64, 0x69, |
| 715 |
0x74, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x1a, 0x9f, 0x03, 0x0a, 0x1f, |
| 716 |
0x49, 0x74, 0x65, 0x6d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x41, 0x63, 0x63, 0x6f, 0x75, |
| 717 |
0x6e, 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, |
| 718 |
0x33, 0x0a, 0x13, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f, 0x75, |
| 719 |
0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x11, |
| 720 |
0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x50, 0x72, 0x69, 0x63, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, |
| 721 |
0x73, 0x88, 0x01, 0x01, 0x12, 0x41, 0x0a, 0x1a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x61, 0x76, |
| 722 |
0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, |
| 723 |
0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x48, 0x01, 0x52, 0x18, 0x61, 0x6c, 0x6c, 0x6f, |
| 724 |
0x77, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x55, 0x70, 0x64, |
| 725 |
0x61, 0x74, 0x65, 0x73, 0x88, 0x01, 0x01, 0x12, 0x4e, 0x0a, 0x21, 0x61, 0x6c, 0x6c, 0x6f, 0x77, |
| 726 |
0x5f, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x5f, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, |
| 727 |
0x6c, 0x69, 0x74, 0x79, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, |
| 728 |
0x28, 0x08, 0x48, 0x02, 0x52, 0x1e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x72, 0x69, 0x63, |
| 729 |
0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x55, 0x70, 0x64, |
| 730 |
0x61, 0x74, 0x65, 0x73, 0x88, 0x01, 0x01, 0x12, 0x3b, 0x0a, 0x17, 0x61, 0x6c, 0x6c, 0x6f, 0x77, |
| 731 |
0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, |
| 732 |
0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48, 0x03, 0x52, 0x15, 0x61, 0x6c, 0x6c, 0x6f, |
| 733 |
0x77, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, |
| 734 |
0x73, 0x88, 0x01, 0x01, 0x42, 0x16, 0x0a, 0x14, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x70, |
| 735 |
0x72, 0x69, 0x63, 0x65, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x42, 0x1d, 0x0a, 0x1b, |
| 736 |
0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, |
| 737 |
0x69, 0x74, 0x79, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x42, 0x24, 0x0a, 0x22, 0x5f, |
| 738 |
0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x5f, 0x61, 0x76, 0x61, |
| 739 |
0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, |
| 740 |
0x73, 0x42, 0x1a, 0x0a, 0x18, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x6e, 0x64, |
| 741 |
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x22, 0x8e, 0x04, |
| 742 |
0x0a, 0x1a, 0x41, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x49, 0x6d, 0x61, 0x67, 0x65, |
| 743 |
0x49, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0xbf, 0x01, 0x0a, |
| 744 |
0x23, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x69, |
| 745 |
0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x73, 0x65, 0x74, 0x74, |
| 746 |
0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x66, 0x2e, 0x67, 0x6f, 0x6f, |
| 747 |
0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, |
| 748 |
0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, |
| 749 |
0x31, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x49, 0x6d, 0x61, 0x67, 0x65, |
| 750 |
0x49, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x49, 0x6d, 0x61, |
| 751 |
0x67, 0x65, 0x49, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x41, 0x63, |
| 752 |
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, |
| 753 |
0x67, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, 0x20, 0x61, 0x63, 0x63, 0x6f, 0x75, |
| 754 |
0x6e, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x49, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, |
| 755 |
0x6e, 0x74, 0x73, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x88, 0x01, 0x01, 0x12, 0x63, |
| 756 |
0x0a, 0x2c, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, |
| 757 |
0x77, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x5f, 0x69, 0x6d, 0x61, 0x67, |
| 758 |
0x65, 0x5f, 0x69, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, |
| 759 |
0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x28, 0x65, 0x66, 0x66, 0x65, 0x63, |
| 760 |
0x74, 0x69, 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x41, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, |
| 761 |
0x69, 0x63, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x49, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, |
| 762 |
0x6e, 0x74, 0x73, 0x1a, 0xa0, 0x01, 0x0a, 0x25, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x49, 0x6d, 0x70, |
| 763 |
0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, |
| 764 |
0x4c, 0x65, 0x76, 0x65, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x50, 0x0a, |
| 765 |
0x22, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, |
| 766 |
0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, |
| 767 |
0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x1f, 0x61, 0x6c, 0x6c, |
| 768 |
0x6f, 0x77, 0x41, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x49, 0x6d, 0x61, 0x67, 0x65, |
| 769 |
0x49, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x88, 0x01, 0x01, 0x42, |
| 770 |
0x25, 0x0a, 0x23, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x61, |
| 771 |
0x74, 0x69, 0x63, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x6d, 0x70, 0x72, 0x6f, 0x76, |
| 772 |
0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x26, 0x0a, 0x24, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, |
| 773 |
0x6e, 0x74, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, |
| 774 |
0x6d, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x84, |
| 775 |
0x01, 0x0a, 0x1d, 0x41, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x53, 0x68, 0x69, 0x70, |
| 776 |
0x70, 0x69, 0x6e, 0x67, 0x49, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, |
| 777 |
0x12, 0x43, 0x0a, 0x1b, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x73, 0x68, 0x69, 0x70, 0x70, 0x69, |
| 778 |
0x6e, 0x67, 0x5f, 0x69, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, |
| 779 |
0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x19, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x53, 0x68, |
| 780 |
0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x49, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, |
| 781 |
0x74, 0x73, 0x88, 0x01, 0x01, 0x42, 0x1e, 0x0a, 0x1c, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, |
| 782 |
0x73, 0x68, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, |
| 783 |
0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x6f, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x6f, |
| 784 |
0x6d, 0x61, 0x74, 0x69, 0x63, 0x49, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, |
| 785 |
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, |
| 786 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x38, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x32, 0x0a, 0x30, |
| 787 |
0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 788 |
0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x75, 0x74, 0x6f, 0x6d, |
| 789 |
0x61, 0x74, 0x69, 0x63, 0x49, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, |
| 790 |
0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xdf, 0x01, 0x0a, 0x22, 0x55, 0x70, 0x64, 0x61, 0x74, |
| 791 |
0x65, 0x41, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x49, 0x6d, 0x70, 0x72, 0x6f, 0x76, |
| 792 |
0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x77, 0x0a, |
| 793 |
0x16, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x5f, 0x69, 0x6d, 0x70, 0x72, 0x6f, |
| 794 |
0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, |
| 795 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, |
| 796 |
0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, |
| 797 |
0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x49, 0x6d, |
| 798 |
0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, |
| 799 |
0x15, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x49, 0x6d, 0x70, 0x72, 0x6f, 0x76, |
| 800 |
0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, |
| 801 |
0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, |
| 802 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, |
| 803 |
0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x75, 0x70, |
| 804 |
0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x32, 0x87, 0x05, 0x0a, 0x1c, 0x41, 0x75, 0x74, |
| 805 |
0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x49, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, |
| 806 |
0x74, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xe3, 0x01, 0x0a, 0x18, 0x47, 0x65, |
| 807 |
0x74, 0x41, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x49, 0x6d, 0x70, 0x72, 0x6f, 0x76, |
| 808 |
0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x45, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 809 |
0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, |
| 810 |
0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, |
| 811 |
0x74, 0x41, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x49, 0x6d, 0x70, 0x72, 0x6f, 0x76, |
| 812 |
0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, |
| 813 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, |
| 814 |
0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, |
| 815 |
0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x49, 0x6d, |
| 816 |
0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x43, 0xda, 0x41, 0x04, 0x6e, |
| 817 |
0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, 0x61, 0x63, 0x63, 0x6f, |
| 818 |
0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, |
| 819 |
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, |
| 820 |
0x69, 0x63, 0x49, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x7d, 0x12, |
| 821 |
0xb7, 0x02, 0x0a, 0x1b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x6d, 0x61, |
| 822 |
0x74, 0x69, 0x63, 0x49, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, |
| 823 |
0x48, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, |
| 824 |
0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, |
| 825 |
0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, |
| 826 |
0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x49, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, |
| 827 |
0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 828 |
0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, |
| 829 |
0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, |
| 830 |
0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x49, 0x6d, 0x70, 0x72, 0x6f, 0x76, |
| 831 |
0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x90, 0x01, 0xda, 0x41, 0x22, 0x61, 0x75, 0x74, 0x6f, |
| 832 |
0x6d, 0x61, 0x74, 0x69, 0x63, 0x5f, 0x69, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, |
| 833 |
0x74, 0x73, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, |
| 834 |
0xe4, 0x93, 0x02, 0x65, 0x3a, 0x16, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x5f, |
| 835 |
0x69, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x4b, 0x2f, 0x61, |
| 836 |
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x61, 0x75, 0x74, 0x6f, |
| 837 |
0x6d, 0x61, 0x74, 0x69, 0x63, 0x5f, 0x69, 0x6d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, |
| 838 |
0x74, 0x73, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, |
| 839 |
0x2f, 0x2a, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x49, 0x6d, 0x70, 0x72, |
| 840 |
0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x7d, 0x1a, 0x47, 0xca, 0x41, 0x1a, 0x6d, 0x65, |
| 841 |
0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 842 |
0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x27, 0x68, 0x74, 0x74, 0x70, 0x73, |
| 843 |
0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, |
| 844 |
0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, |
| 845 |
0x6e, 0x74, 0x42, 0x8d, 0x02, 0x0a, 0x28, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 846 |
0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, |
| 847 |
0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x42, |
| 848 |
0x1a, 0x41, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x49, 0x6d, 0x70, 0x72, 0x6f, 0x76, |
| 849 |
0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x63, |
| 850 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, |
| 851 |
0x67, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, |
| 852 |
0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x61, 0x70, |
| 853 |
0x69, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0x3b, 0x61, |
| 854 |
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0xaa, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, |
| 855 |
0x6c, 0x65, 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x65, 0x72, 0x63, |
| 856 |
0x68, 0x61, 0x6e, 0x74, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x56, 0x31, |
| 857 |
0xca, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, |
| 858 |
0x6e, 0x67, 0x5c, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x5c, 0x41, 0x63, 0x63, 0x6f, |
| 859 |
0x75, 0x6e, 0x74, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 860 |
0x3a, 0x3a, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x4d, 0x65, 0x72, 0x63, |
| 861 |
0x68, 0x61, 0x6e, 0x74, 0x3a, 0x3a, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x3a, 0x3a, |
| 862 |
0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 863 |
} |
| 864 |
|
| 865 |
var ( |
| 866 |
file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_rawDescOnce sync.Once |
| 867 |
file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_rawDescData = file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_rawDesc |
| 868 |
) |
| 869 |
|
| 870 |
func file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_rawDescGZIP() []byte { |
| 871 |
file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_rawDescOnce.Do(func() { |
| 872 |
file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_rawDescData) |
| 873 |
}) |
| 874 |
return file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_rawDescData |
| 875 |
} |
| 876 |
|
| 877 |
var file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_msgTypes = make([]protoimpl.MessageInfo, 8) |
| 878 |
var file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_goTypes = []any{ |
| 879 |
(*AutomaticImprovements)(nil), // 0: google.shopping.merchant.accounts.v1.AutomaticImprovements |
| 880 |
(*AutomaticItemUpdates)(nil), // 1: google.shopping.merchant.accounts.v1.AutomaticItemUpdates |
| 881 |
(*AutomaticImageImprovements)(nil), // 2: google.shopping.merchant.accounts.v1.AutomaticImageImprovements |
| 882 |
(*AutomaticShippingImprovements)(nil), // 3: google.shopping.merchant.accounts.v1.AutomaticShippingImprovements |
| 883 |
(*GetAutomaticImprovementsRequest)(nil), // 4: google.shopping.merchant.accounts.v1.GetAutomaticImprovementsRequest |
| 884 |
(*UpdateAutomaticImprovementsRequest)(nil), // 5: google.shopping.merchant.accounts.v1.UpdateAutomaticImprovementsRequest |
| 885 |
(*AutomaticItemUpdates_ItemUpdatesAccountLevelSettings)(nil), // 6: google.shopping.merchant.accounts.v1.AutomaticItemUpdates.ItemUpdatesAccountLevelSettings |
| 886 |
(*AutomaticImageImprovements_ImageImprovementsAccountLevelSettings)(nil), // 7: google.shopping.merchant.accounts.v1.AutomaticImageImprovements.ImageImprovementsAccountLevelSettings |
| 887 |
(*fieldmaskpb.FieldMask)(nil), // 8: google.protobuf.FieldMask |
| 888 |
} |
| 889 |
var file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_depIdxs = []int32{ |
| 890 |
1, // 0: google.shopping.merchant.accounts.v1.AutomaticImprovements.item_updates:type_name -> google.shopping.merchant.accounts.v1.AutomaticItemUpdates |
| 891 |
2, // 1: google.shopping.merchant.accounts.v1.AutomaticImprovements.image_improvements:type_name -> google.shopping.merchant.accounts.v1.AutomaticImageImprovements |
| 892 |
3, // 2: google.shopping.merchant.accounts.v1.AutomaticImprovements.shipping_improvements:type_name -> google.shopping.merchant.accounts.v1.AutomaticShippingImprovements |
| 893 |
6, // 3: google.shopping.merchant.accounts.v1.AutomaticItemUpdates.account_item_updates_settings:type_name -> google.shopping.merchant.accounts.v1.AutomaticItemUpdates.ItemUpdatesAccountLevelSettings |
| 894 |
7, // 4: google.shopping.merchant.accounts.v1.AutomaticImageImprovements.account_image_improvements_settings:type_name -> google.shopping.merchant.accounts.v1.AutomaticImageImprovements.ImageImprovementsAccountLevelSettings |
| 895 |
0, // 5: google.shopping.merchant.accounts.v1.UpdateAutomaticImprovementsRequest.automatic_improvements:type_name -> google.shopping.merchant.accounts.v1.AutomaticImprovements |
| 896 |
8, // 6: google.shopping.merchant.accounts.v1.UpdateAutomaticImprovementsRequest.update_mask:type_name -> google.protobuf.FieldMask |
| 897 |
4, // 7: google.shopping.merchant.accounts.v1.AutomaticImprovementsService.GetAutomaticImprovements:input_type -> google.shopping.merchant.accounts.v1.GetAutomaticImprovementsRequest |
| 898 |
5, // 8: google.shopping.merchant.accounts.v1.AutomaticImprovementsService.UpdateAutomaticImprovements:input_type -> google.shopping.merchant.accounts.v1.UpdateAutomaticImprovementsRequest |
| 899 |
0, // 9: google.shopping.merchant.accounts.v1.AutomaticImprovementsService.GetAutomaticImprovements:output_type -> google.shopping.merchant.accounts.v1.AutomaticImprovements |
| 900 |
0, // 10: google.shopping.merchant.accounts.v1.AutomaticImprovementsService.UpdateAutomaticImprovements:output_type -> google.shopping.merchant.accounts.v1.AutomaticImprovements |
| 901 |
9, // [9:11] is the sub-list for method output_type |
| 902 |
7, // [7:9] is the sub-list for method input_type |
| 903 |
7, // [7:7] is the sub-list for extension type_name |
| 904 |
7, // [7:7] is the sub-list for extension extendee |
| 905 |
0, // [0:7] is the sub-list for field type_name |
| 906 |
} |
| 907 |
|
| 908 |
func init() { file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_init() } |
| 909 |
func file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_init() { |
| 910 |
if File_google_shopping_merchant_accounts_v1_automaticimprovements_proto != nil { |
| 911 |
return |
| 912 |
} |
| 913 |
file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_msgTypes[0].OneofWrappers = []any{} |
| 914 |
file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_msgTypes[2].OneofWrappers = []any{} |
| 915 |
file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_msgTypes[3].OneofWrappers = []any{} |
| 916 |
file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_msgTypes[6].OneofWrappers = []any{} |
| 917 |
file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_msgTypes[7].OneofWrappers = []any{} |
| 918 |
type x struct{} |
| 919 |
out := protoimpl.TypeBuilder{ |
| 920 |
File: protoimpl.DescBuilder{ |
| 921 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 922 |
RawDescriptor: file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_rawDesc, |
| 923 |
NumEnums: 0, |
| 924 |
NumMessages: 8, |
| 925 |
NumExtensions: 0, |
| 926 |
NumServices: 1, |
| 927 |
}, |
| 928 |
GoTypes: file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_goTypes, |
| 929 |
DependencyIndexes: file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_depIdxs, |
| 930 |
MessageInfos: file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_msgTypes, |
| 931 |
}.Build() |
| 932 |
File_google_shopping_merchant_accounts_v1_automaticimprovements_proto = out.File |
| 933 |
file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_rawDesc = nil |
| 934 |
file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_goTypes = nil |
| 935 |
file_google_shopping_merchant_accounts_v1_automaticimprovements_proto_depIdxs = nil |
| 936 |
} |
| 937 |
|
| 938 |
// Reference imports to suppress errors if they are not otherwise used. |
| 939 |
var _ context.Context |
| 940 |
var _ grpc.ClientConnInterface |
| 941 |
|
| 942 |
// This is a compile-time assertion to ensure that this generated file |
| 943 |
// is compatible with the grpc package it is being compiled against. |
| 944 |
const _ = grpc.SupportPackageIsVersion6 |
| 945 |
|
| 946 |
// AutomaticImprovementsServiceClient is the client API for AutomaticImprovementsService service. |
| 947 |
// |
| 948 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 949 |
type AutomaticImprovementsServiceClient interface { |
| 950 |
// Retrieves the automatic improvements of an account. |
| 951 |
GetAutomaticImprovements(ctx context.Context, in *GetAutomaticImprovementsRequest, opts ...grpc.CallOption) (*AutomaticImprovements, error) |
| 952 |
// Updates the automatic improvements of an account. |
| 953 |
UpdateAutomaticImprovements(ctx context.Context, in *UpdateAutomaticImprovementsRequest, opts ...grpc.CallOption) (*AutomaticImprovements, error) |
| 954 |
} |
| 955 |
|
| 956 |
type automaticImprovementsServiceClient struct { |
| 957 |
cc grpc.ClientConnInterface |
| 958 |
} |
| 959 |
|
| 960 |
func NewAutomaticImprovementsServiceClient(cc grpc.ClientConnInterface) AutomaticImprovementsServiceClient { |
| 961 |
return &automaticImprovementsServiceClient{cc} |
| 962 |
} |
| 963 |
|
| 964 |
func (c *automaticImprovementsServiceClient) GetAutomaticImprovements(ctx context.Context, in *GetAutomaticImprovementsRequest, opts ...grpc.CallOption) (*AutomaticImprovements, error) { |
| 965 |
out := new(AutomaticImprovements) |
| 966 |
err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.AutomaticImprovementsService/GetAutomaticImprovements", in, out, opts...) |
| 967 |
if err != nil { |
| 968 |
return nil, err |
| 969 |
} |
| 970 |
return out, nil |
| 971 |
} |
| 972 |
|
| 973 |
func (c *automaticImprovementsServiceClient) UpdateAutomaticImprovements(ctx context.Context, in *UpdateAutomaticImprovementsRequest, opts ...grpc.CallOption) (*AutomaticImprovements, error) { |
| 974 |
out := new(AutomaticImprovements) |
| 975 |
err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.AutomaticImprovementsService/UpdateAutomaticImprovements", in, out, opts...) |
| 976 |
if err != nil { |
| 977 |
return nil, err |
| 978 |
} |
| 979 |
return out, nil |
| 980 |
} |
| 981 |
|
| 982 |
// AutomaticImprovementsServiceServer is the server API for AutomaticImprovementsService service. |
| 983 |
type AutomaticImprovementsServiceServer interface { |
| 984 |
// Retrieves the automatic improvements of an account. |
| 985 |
GetAutomaticImprovements(context.Context, *GetAutomaticImprovementsRequest) (*AutomaticImprovements, error) |
| 986 |
// Updates the automatic improvements of an account. |
| 987 |
UpdateAutomaticImprovements(context.Context, *UpdateAutomaticImprovementsRequest) (*AutomaticImprovements, error) |
| 988 |
} |
| 989 |
|
| 990 |
// UnimplementedAutomaticImprovementsServiceServer can be embedded to have forward compatible implementations. |
| 991 |
type UnimplementedAutomaticImprovementsServiceServer struct { |
| 992 |
} |
| 993 |
|
| 994 |
func (*UnimplementedAutomaticImprovementsServiceServer) GetAutomaticImprovements(context.Context, *GetAutomaticImprovementsRequest) (*AutomaticImprovements, error) { |
| 995 |
return nil, status.Errorf(codes.Unimplemented, "method GetAutomaticImprovements not implemented") |
| 996 |
} |
| 997 |
func (*UnimplementedAutomaticImprovementsServiceServer) UpdateAutomaticImprovements(context.Context, *UpdateAutomaticImprovementsRequest) (*AutomaticImprovements, error) { |
| 998 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateAutomaticImprovements not implemented") |
| 999 |
} |
| 1000 |
|
| 1001 |
func RegisterAutomaticImprovementsServiceServer(s *grpc.Server, srv AutomaticImprovementsServiceServer) { |
| 1002 |
s.RegisterService(&_AutomaticImprovementsService_serviceDesc, srv) |
| 1003 |
} |
| 1004 |
|
| 1005 |
func _AutomaticImprovementsService_GetAutomaticImprovements_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1006 |
in := new(GetAutomaticImprovementsRequest) |
| 1007 |
if err := dec(in); err != nil { |
| 1008 |
return nil, err |
| 1009 |
} |
| 1010 |
if interceptor == nil { |
| 1011 |
return srv.(AutomaticImprovementsServiceServer).GetAutomaticImprovements(ctx, in) |
| 1012 |
} |
| 1013 |
info := &grpc.UnaryServerInfo{ |
| 1014 |
Server: srv, |
| 1015 |
FullMethod: "/google.shopping.merchant.accounts.v1.AutomaticImprovementsService/GetAutomaticImprovements", |
| 1016 |
} |
| 1017 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1018 |
return srv.(AutomaticImprovementsServiceServer).GetAutomaticImprovements(ctx, req.(*GetAutomaticImprovementsRequest)) |
| 1019 |
} |
| 1020 |
return interceptor(ctx, in, info, handler) |
| 1021 |
} |
| 1022 |
|
| 1023 |
func _AutomaticImprovementsService_UpdateAutomaticImprovements_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1024 |
in := new(UpdateAutomaticImprovementsRequest) |
| 1025 |
if err := dec(in); err != nil { |
| 1026 |
return nil, err |
| 1027 |
} |
| 1028 |
if interceptor == nil { |
| 1029 |
return srv.(AutomaticImprovementsServiceServer).UpdateAutomaticImprovements(ctx, in) |
| 1030 |
} |
| 1031 |
info := &grpc.UnaryServerInfo{ |
| 1032 |
Server: srv, |
| 1033 |
FullMethod: "/google.shopping.merchant.accounts.v1.AutomaticImprovementsService/UpdateAutomaticImprovements", |
| 1034 |
} |
| 1035 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1036 |
return srv.(AutomaticImprovementsServiceServer).UpdateAutomaticImprovements(ctx, req.(*UpdateAutomaticImprovementsRequest)) |
| 1037 |
} |
| 1038 |
return interceptor(ctx, in, info, handler) |
| 1039 |
} |
| 1040 |
|
| 1041 |
var _AutomaticImprovementsService_serviceDesc = grpc.ServiceDesc{ |
| 1042 |
ServiceName: "google.shopping.merchant.accounts.v1.AutomaticImprovementsService", |
| 1043 |
HandlerType: (*AutomaticImprovementsServiceServer)(nil), |
| 1044 |
Methods: []grpc.MethodDesc{ |
| 1045 |
{ |
| 1046 |
MethodName: "GetAutomaticImprovements", |
| 1047 |
Handler: _AutomaticImprovementsService_GetAutomaticImprovements_Handler, |
| 1048 |
}, |
| 1049 |
{ |
| 1050 |
MethodName: "UpdateAutomaticImprovements", |
| 1051 |
Handler: _AutomaticImprovementsService_UpdateAutomaticImprovements_Handler, |
| 1052 |
}, |
| 1053 |
}, |
| 1054 |
Streams: []grpc.StreamDesc{}, |
| 1055 |
Metadata: "google/shopping/merchant/accounts/v1/automaticimprovements.proto", |
| 1056 |
} |