# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/shopping/merchant/accounts/v1beta/omnichannelsettings.proto

require 'google/protobuf'

require 'google/api/annotations_pb'
require 'google/api/client_pb'
require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/protobuf/field_mask_pb'


descriptor_data = "\nBgoogle/shopping/merchant/accounts/v1beta/omnichannelsettings.proto\x12(google.shopping.merchant.accounts.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\"\xe3\x06\n\x12OmnichannelSetting\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x1b\n\x0bregion_code\x18\x02 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12[\n\x08lsf_type\x18\x0c \x01(\x0e\x32\x44.google.shopping.merchant.accounts.v1beta.OmnichannelSetting.LsfTypeB\x03\xe0\x41\x02\x12H\n\x08in_stock\x18\r \x01(\x0b\x32\x31.google.shopping.merchant.accounts.v1beta.InStockB\x03\xe0\x41\x01\x12\x45\n\x06pickup\x18\x0e \x01(\x0b\x32\x30.google.shopping.merchant.accounts.v1beta.PickupB\x03\xe0\x41\x01\x12H\n\x08lfp_link\x18\x05 \x01(\x0b\x32\x31.google.shopping.merchant.accounts.v1beta.LfpLinkB\x03\xe0\x41\x03\x12L\n\x03odo\x18\x06 \x01(\x0b\x32:.google.shopping.merchant.accounts.v1beta.OnDisplayToOrderB\x03\xe0\x41\x01\x12\x43\n\x05\x61\x62out\x18\x07 \x01(\x0b\x32/.google.shopping.merchant.accounts.v1beta.AboutB\x03\xe0\x41\x01\x12\x64\n\x16inventory_verification\x18\x08 \x01(\x0b\x32?.google.shopping.merchant.accounts.v1beta.InventoryVerificationB\x03\xe0\x41\x01\"O\n\x07LsfType\x12\x18\n\x14LSF_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05GHLSF\x10\x01\x12\x0f\n\x0bMHLSF_BASIC\x10\x02\x12\x0e\n\nMHLSF_FULL\x10\x03:\x9a\x01\xea\x41\x96\x01\n-merchantapi.googleapis.com/OmnichannelSetting\x12<accounts/{account}/omnichannelSettings/{omnichannel_setting}*\x13omnichannelSettings2\x12omnichannelSetting\"g\n\x0bReviewState\"X\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\x0b\n\x07RUNNING\x10\x03\x12\x13\n\x0f\x41\x43TION_REQUIRED\x10\x04\"l\n\x07InStock\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12O\n\x05state\x18\x02 \x01(\x0e\x32;.google.shopping.merchant.accounts.v1beta.ReviewState.StateB\x03\xe0\x41\x03\"k\n\x06Pickup\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12O\n\x05state\x18\x02 \x01(\x0e\x32;.google.shopping.merchant.accounts.v1beta.ReviewState.StateB\x03\xe0\x41\x03\"\x97\x01\n\x07LfpLink\x12\x19\n\x0clfp_provider\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12 \n\x13\x65xternal_account_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12O\n\x05state\x18\x03 \x01(\x0e\x32;.google.shopping.merchant.accounts.v1beta.ReviewState.StateB\x03\xe0\x41\x03\"u\n\x10OnDisplayToOrder\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12O\n\x05state\x18\x02 \x01(\x0e\x32;.google.shopping.merchant.accounts.v1beta.ReviewState.StateB\x03\xe0\x41\x03\"j\n\x05\x41\x62out\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12O\n\x05state\x18\x02 \x01(\x0e\x32;.google.shopping.merchant.accounts.v1beta.ReviewState.StateB\x03\xe0\x41\x03\"\xeb\x02\n\x15InventoryVerification\x12Y\n\x05state\x18\x01 \x01(\x0e\x32\x45.google.shopping.merchant.accounts.v1beta.InventoryVerification.StateB\x03\xe0\x41\x03\x12\x14\n\x07\x63ontact\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rcontact_email\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12W\n\rcontact_state\x18\x04 \x01(\x0e\x32;.google.shopping.merchant.accounts.v1beta.ReviewState.StateB\x03\xe0\x41\x03\"l\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x41\x43TION_REQUIRED\x10\x01\x12\x0c\n\x08INACTIVE\x10\x05\x12\x0b\n\x07RUNNING\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\r\n\tSUSPENDED\x10\x04\"c\n\x1cGetOmnichannelSettingRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-merchantapi.googleapis.com/OmnichannelSetting\"\x8d\x01\n\x1eListOmnichannelSettingsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"merchantapi.googleapis.com/Account\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x96\x01\n\x1fListOmnichannelSettingsResponse\x12Z\n\x14omnichannel_settings\x18\x01 \x03(\x0b\x32<.google.shopping.merchant.accounts.v1beta.OmnichannelSetting\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xbd\x01\n\x1f\x43reateOmnichannelSettingRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"merchantapi.googleapis.com/Account\x12^\n\x13omnichannel_setting\x18\x02 \x01(\x0b\x32<.google.shopping.merchant.accounts.v1beta.OmnichannelSettingB\x03\xe0\x41\x02\"\xb7\x01\n\x1fUpdateOmnichannelSettingRequest\x12^\n\x13omnichannel_setting\x18\x01 \x01(\x0b\x32<.google.shopping.merchant.accounts.v1beta.OmnichannelSettingB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"j\n#RequestInventoryVerificationRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-merchantapi.googleapis.com/OmnichannelSetting\"\x81\x01\n$RequestInventoryVerificationResponse\x12Y\n\x13omnichannel_setting\x18\x01 \x01(\x0b\x32<.google.shopping.merchant.accounts.v1beta.OmnichannelSetting2\xc1\x0b\n\x1aOmnichannelSettingsService\x12\xe6\x01\n\x15GetOmnichannelSetting\x12\x46.google.shopping.merchant.accounts.v1beta.GetOmnichannelSettingRequest\x1a<.google.shopping.merchant.accounts.v1beta.OmnichannelSetting\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:\x12\x38/accounts/v1beta/{name=accounts/*/omnichannelSettings/*}\x12\xf9\x01\n\x17ListOmnichannelSettings\x12H.google.shopping.merchant.accounts.v1beta.ListOmnichannelSettingsRequest\x1aI.google.shopping.merchant.accounts.v1beta.ListOmnichannelSettingsResponse\"I\xda\x41\x06parent\x82\xd3\xe4\x93\x02:\x12\x38/accounts/v1beta/{parent=accounts/*}/omnichannelSettings\x12\x97\x02\n\x18\x43reateOmnichannelSetting\x12I.google.shopping.merchant.accounts.v1beta.CreateOmnichannelSettingRequest\x1a<.google.shopping.merchant.accounts.v1beta.OmnichannelSetting\"r\xda\x41\x1aparent,omnichannel_setting\x82\xd3\xe4\x93\x02O\"8/accounts/v1beta/{parent=accounts/*}/omnichannelSettings:\x13omnichannel_setting\x12\xb1\x02\n\x18UpdateOmnichannelSetting\x12I.google.shopping.merchant.accounts.v1beta.UpdateOmnichannelSettingRequest\x1a<.google.shopping.merchant.accounts.v1beta.OmnichannelSetting\"\x8b\x01\xda\x41\x1fomnichannel_setting,update_mask\x82\xd3\xe4\x93\x02\x63\x32L/accounts/v1beta/{omnichannel_setting.name=accounts/*/omnichannelSettings/*}:\x13omnichannel_setting\x12\xa6\x02\n\x1cRequestInventoryVerification\x12M.google.shopping.merchant.accounts.v1beta.RequestInventoryVerificationRequest\x1aN.google.shopping.merchant.accounts.v1beta.RequestInventoryVerificationResponse\"g\xda\x41\x04name\x82\xd3\xe4\x93\x02Z\"U/accounts/v1beta/{name=accounts/*/omnichannelSettings/*}:requestInventoryVerification:\x01*\x1aG\xca\x41\x1amerchantapi.googleapis.com\xd2\x41\'https://www.googleapis.com/auth/contentB\x9a\x01\n,com.google.shopping.merchant.accounts.v1betaB\x18OmnichannelSettingsProtoP\x01ZNcloud.google.com/go/shopping/merchant/accounts/apiv1beta/accountspb;accountspbb\x06proto3"

pool = Google::Protobuf::DescriptorPool.generated_pool

begin
  pool.add_serialized_file(descriptor_data)
rescue TypeError
  # Compatibility code: will be removed in the next major version.
  require 'google/protobuf/descriptor_pb'
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
  parsed.clear_dependency
  serialized = parsed.class.encode(parsed)
  file = pool.add_serialized_file(serialized)
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
  imports = [
    ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
  ]
  imports.each do |type_name, expected_filename|
    import_file = pool.lookup(type_name).file_descriptor
    if import_file.name != expected_filename
      warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
    end
  end
  warn "Each proto file must use a consistent fully-qualified name."
  warn "This will become an error in the next major version."
end

module Google
  module Shopping
    module Merchant
      module Accounts
        module V1beta
          OmnichannelSetting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.OmnichannelSetting").msgclass
          OmnichannelSetting::LsfType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.OmnichannelSetting.LsfType").enummodule
          ReviewState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.ReviewState").msgclass
          ReviewState::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.ReviewState.State").enummodule
          InStock = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.InStock").msgclass
          Pickup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.Pickup").msgclass
          LfpLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.LfpLink").msgclass
          OnDisplayToOrder = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.OnDisplayToOrder").msgclass
          About = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.About").msgclass
          InventoryVerification = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.InventoryVerification").msgclass
          InventoryVerification::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.InventoryVerification.State").enummodule
          GetOmnichannelSettingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.GetOmnichannelSettingRequest").msgclass
          ListOmnichannelSettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.ListOmnichannelSettingsRequest").msgclass
          ListOmnichannelSettingsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.ListOmnichannelSettingsResponse").msgclass
          CreateOmnichannelSettingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.CreateOmnichannelSettingRequest").msgclass
          UpdateOmnichannelSettingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.UpdateOmnichannelSettingRequest").msgclass
          RequestInventoryVerificationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.RequestInventoryVerificationRequest").msgclass
          RequestInventoryVerificationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.RequestInventoryVerificationResponse").msgclass
        end
      end
    end
  end
end
