# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/shopping/merchant/issueresolution/v1/aggregateproductstatuses.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/shopping/type/types_pb'


descriptor_data = "\nJgoogle/shopping/merchant/issueresolution/v1/aggregateproductstatuses.proto\x12+google.shopping.merchant.issueresolution.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/shopping/type/types.proto\"\xb6\x01\n#ListAggregateProductStatusesRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\x12\x31merchantapi.googleapis.com/AggregateProductStatus\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\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xa8\x01\n$ListAggregateProductStatusesResponse\x12g\n\x1a\x61ggregate_product_statuses\x18\x01 \x03(\x0b\x32\x43.google.shopping.merchant.issueresolution.v1.AggregateProductStatus\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x94\t\n\x16\x41ggregateProductStatus\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12V\n\x11reporting_context\x18\x03 \x01(\x0e\x32;.google.shopping.type.ReportingContext.ReportingContextEnum\x12\x0f\n\x07\x63ountry\x18\x04 \x01(\t\x12X\n\x05stats\x18\x05 \x01(\x0b\x32I.google.shopping.merchant.issueresolution.v1.AggregateProductStatus.Stats\x12m\n\x11item_level_issues\x18\x06 \x03(\x0b\x32R.google.shopping.merchant.issueresolution.v1.AggregateProductStatus.ItemLevelIssue\x1ag\n\x05Stats\x12\x14\n\x0c\x61\x63tive_count\x18\x01 \x01(\x03\x12\x15\n\rpending_count\x18\x02 \x01(\x03\x12\x19\n\x11\x64isapproved_count\x18\x03 \x01(\x03\x12\x16\n\x0e\x65xpiring_count\x18\x04 \x01(\x03\x1a\x97\x04\n\x0eItemLevelIssue\x12\x0c\n\x04\x63ode\x18\x01 \x01(\t\x12m\n\x08severity\x18\x02 \x01(\x0e\x32[.google.shopping.merchant.issueresolution.v1.AggregateProductStatus.ItemLevelIssue.Severity\x12q\n\nresolution\x18\x03 \x01(\x0e\x32].google.shopping.merchant.issueresolution.v1.AggregateProductStatus.ItemLevelIssue.Resolution\x12\x11\n\tattribute\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x0e\n\x06\x64\x65tail\x18\x07 \x01(\t\x12\x19\n\x11\x64ocumentation_uri\x18\x08 \x01(\t\x12\x15\n\rproduct_count\x18\t \x01(\x03\"T\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x10\n\x0cNOT_IMPACTED\x10\x01\x12\x0b\n\x07\x44\x45MOTED\x10\x02\x12\x0f\n\x0b\x44ISAPPROVED\x10\x03\"U\n\nResolution\x12\x1a\n\x16RESOLUTION_UNSPECIFIED\x10\x00\x12\x13\n\x0fMERCHANT_ACTION\x10\x01\x12\x16\n\x12PENDING_PROCESSING\x10\x02:\xb1\x01\xea\x41\xad\x01\n1merchantapi.googleapis.com/AggregateProductStatus\x12\x46\x61\x63\x63ounts/{account}/aggregateProductStatuses/{aggregate_product_status}*\x18\x61ggregateProductStatuses2\x16\x61ggregateProductStatus2\x83\x03\n\x1f\x41ggregateProductStatusesService\x12\x96\x02\n\x1cListAggregateProductStatuses\x12P.google.shopping.merchant.issueresolution.v1.ListAggregateProductStatusesRequest\x1aQ.google.shopping.merchant.issueresolution.v1.ListAggregateProductStatusesResponse\"Q\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x42\x12@/issueresolution/v1/{parent=accounts/*}/aggregateProductStatuses\x1aG\xca\x41\x1amerchantapi.googleapis.com\xd2\x41\'https://www.googleapis.com/auth/contentB\xc1\x02\n/com.google.shopping.merchant.issueresolution.v1B\x1d\x41ggregateProductStatusesProtoP\x01Z_cloud.google.com/go/shopping/merchant/issueresolution/apiv1/issueresolutionpb;issueresolutionpb\xaa\x02+Google.Shopping.Merchant.IssueResolution.V1\xca\x02+Google\\Shopping\\Merchant\\IssueResolution\\V1\xea\x02/Google::Shopping::Merchant::IssueResolution::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 Merchant
      module IssueResolution
        module V1
          ListAggregateProductStatusesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.ListAggregateProductStatusesRequest").msgclass
          ListAggregateProductStatusesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.ListAggregateProductStatusesResponse").msgclass
          AggregateProductStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.AggregateProductStatus").msgclass
          AggregateProductStatus::Stats = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.AggregateProductStatus.Stats").msgclass
          AggregateProductStatus::ItemLevelIssue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.AggregateProductStatus.ItemLevelIssue").msgclass
          AggregateProductStatus::ItemLevelIssue::Severity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.AggregateProductStatus.ItemLevelIssue.Severity").enummodule
          AggregateProductStatus::ItemLevelIssue::Resolution = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1.AggregateProductStatus.ItemLevelIssue.Resolution").enummodule
        end
      end
    end
  end
end
