# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/shopping/merchant/issueresolution/v1beta/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 = "\nNgoogle/shopping/merchant/issueresolution/v1beta/aggregateproductstatuses.proto\x12/google.shopping.merchant.issueresolution.v1beta\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\"\xac\x01\n$ListAggregateProductStatusesResponse\x12k\n\x1a\x61ggregate_product_statuses\x18\x01 \x03(\x0b\x32G.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa4\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\x12\\\n\x05stats\x18\x05 \x01(\x0b\x32M.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.Stats\x12q\n\x11item_level_issues\x18\x06 \x03(\x0b\x32V.google.shopping.merchant.issueresolution.v1beta.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\x9f\x04\n\x0eItemLevelIssue\x12\x0c\n\x04\x63ode\x18\x01 \x01(\t\x12q\n\x08severity\x18\x02 \x01(\x0e\x32_.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue.Severity\x12u\n\nresolution\x18\x03 \x01(\x0e\x32\x61.google.shopping.merchant.issueresolution.v1beta.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\x8f\x03\n\x1f\x41ggregateProductStatusesService\x12\xa2\x02\n\x1cListAggregateProductStatuses\x12T.google.shopping.merchant.issueresolution.v1beta.ListAggregateProductStatusesRequest\x1aU.google.shopping.merchant.issueresolution.v1beta.ListAggregateProductStatusesResponse\"U\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x46\x12\x44/issueresolution/v1beta/{parent=accounts/*}/aggregateProductStatuses\x1aG\xca\x41\x1amerchantapi.googleapis.com\xd2\x41\'https://www.googleapis.com/auth/contentB\xd5\x02\n3com.google.shopping.merchant.issueresolution.v1betaB\x1d\x41ggregateProductStatusesProtoP\x01Zccloud.google.com/go/shopping/merchant/issueresolution/apiv1beta/issueresolutionpb;issueresolutionpb\xaa\x02/Google.Shopping.Merchant.IssueResolution.V1Beta\xca\x02/Google\\Shopping\\Merchant\\IssueResolution\\V1beta\xea\x02\x33Google::Shopping::Merchant::IssueResolution::V1betab\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 V1beta
          ListAggregateProductStatusesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1beta.ListAggregateProductStatusesRequest").msgclass
          ListAggregateProductStatusesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1beta.ListAggregateProductStatusesResponse").msgclass
          AggregateProductStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus").msgclass
          AggregateProductStatus::Stats = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.Stats").msgclass
          AggregateProductStatus::ItemLevelIssue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue").msgclass
          AggregateProductStatus::ItemLevelIssue::Severity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue.Severity").enummodule
          AggregateProductStatus::ItemLevelIssue::Resolution = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue.Resolution").enummodule
        end
      end
    end
  end
end
