# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/shopping/css/v1/accounts_labels.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/empty_pb'


descriptor_data = "\n,google/shopping/css/v1/accounts_labels.proto\x12\x16google.shopping.css.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\"\x95\x03\n\x0c\x41\x63\x63ountLabel\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x15\n\x08label_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x17\n\naccount_id\x18\x03 \x01(\x03\x42\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x01\x88\x01\x01\x12G\n\nlabel_type\x18\x06 \x01(\x0e\x32..google.shopping.css.v1.AccountLabel.LabelTypeB\x03\xe0\x41\x03\"B\n\tLabelType\x12\x1a\n\x16LABEL_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06MANUAL\x10\x01\x12\r\n\tAUTOMATIC\x10\x02:d\xea\x41\x61\n\x1f\x63ss.googleapis.com/AccountLabel\x12!accounts/{account}/labels/{label}*\raccountLabels2\x0c\x61\x63\x63ountLabelB\x0f\n\r_display_nameB\x0e\n\x0c_description\"z\n\x18ListAccountLabelsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x63ss.googleapis.com/AccountLabel\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"r\n\x19ListAccountLabelsResponse\x12<\n\x0e\x61\x63\x63ount_labels\x18\x01 \x03(\x0b\x32$.google.shopping.css.v1.AccountLabel\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x96\x01\n\x19\x43reateAccountLabelRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x63ss.googleapis.com/AccountLabel\x12@\n\raccount_label\x18\x02 \x01(\x0b\x32$.google.shopping.css.v1.AccountLabelB\x03\xe0\x41\x02\"]\n\x19UpdateAccountLabelRequest\x12@\n\raccount_label\x18\x01 \x01(\x0b\x32$.google.shopping.css.v1.AccountLabelB\x03\xe0\x41\x02\"R\n\x19\x44\x65leteAccountLabelRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63ss.googleapis.com/AccountLabel2\x97\x06\n\x14\x41\x63\x63ountLabelsService\x12\xa9\x01\n\x11ListAccountLabels\x12\x30.google.shopping.css.v1.ListAccountLabelsRequest\x1a\x31.google.shopping.css.v1.ListAccountLabelsResponse\"/\xda\x41\x06parent\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{parent=accounts/*}/labels\x12\xbb\x01\n\x12\x43reateAccountLabel\x12\x31.google.shopping.css.v1.CreateAccountLabelRequest\x1a$.google.shopping.css.v1.AccountLabel\"L\xda\x41\x14parent,account_label\x82\xd3\xe4\x93\x02/\"\x1e/v1/{parent=accounts/*}/labels:\raccount_label\x12\xc2\x01\n\x12UpdateAccountLabel\x12\x31.google.shopping.css.v1.UpdateAccountLabelRequest\x1a$.google.shopping.css.v1.AccountLabel\"S\xda\x41\raccount_label\x82\xd3\xe4\x93\x02=2,/v1/{account_label.name=accounts/*/labels/*}:\raccount_label\x12\x8e\x01\n\x12\x44\x65leteAccountLabel\x12\x31.google.shopping.css.v1.DeleteAccountLabelRequest\x1a\x16.google.protobuf.Empty\"-\xda\x41\x04name\x82\xd3\xe4\x93\x02 *\x1e/v1/{name=accounts/*/labels/*}\x1a?\xca\x41\x12\x63ss.googleapis.com\xd2\x41\'https://www.googleapis.com/auth/contentB\xb5\x01\n\x1a\x63om.google.shopping.css.v1B\x13\x41\x63\x63ountsLabelsProtoP\x01Z2cloud.google.com/go/shopping/css/apiv1/csspb;csspb\xaa\x02\x16Google.Shopping.Css.V1\xca\x02\x16Google\\Shopping\\Css\\V1\xea\x02\x19Google::Shopping::Css::V1b\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 = [
  ]
  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 Css
      module V1
        AccountLabel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.css.v1.AccountLabel").msgclass
        AccountLabel::LabelType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.css.v1.AccountLabel.LabelType").enummodule
        ListAccountLabelsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.css.v1.ListAccountLabelsRequest").msgclass
        ListAccountLabelsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.css.v1.ListAccountLabelsResponse").msgclass
        CreateAccountLabelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.css.v1.CreateAccountLabelRequest").msgclass
        UpdateAccountLabelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.css.v1.UpdateAccountLabelRequest").msgclass
        DeleteAccountLabelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.css.v1.DeleteAccountLabelRequest").msgclass
      end
    end
  end
end
