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

require 'google/protobuf'

require 'google/api/field_behavior_pb'
require 'google/protobuf/timestamp_pb'
require 'google/shopping/type/types_pb'


descriptor_data = "\nCgoogle/shopping/merchant/reviews/v1beta/productreviews_common.proto\x12\'google.shopping.merchant.reviews.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a google/shopping/type/types.proto\"\xb2\r\n\x17ProductReviewAttributes\x12!\n\x0f\x61ggregator_name\x18\x01 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12 \n\x0esubclient_name\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x01\x88\x01\x01\x12 \n\x0epublisher_name\x18\x03 \x01(\tB\x03\xe0\x41\x01H\x02\x88\x01\x01\x12#\n\x11publisher_favicon\x18\x04 \x01(\tB\x03\xe0\x41\x01H\x03\x88\x01\x01\x12\x1d\n\x0breviewer_id\x18\x05 \x01(\tB\x03\xe0\x41\x01H\x04\x88\x01\x01\x12\'\n\x15reviewer_is_anonymous\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01H\x05\x88\x01\x01\x12#\n\x11reviewer_username\x18\x07 \x01(\tB\x03\xe0\x41\x01H\x06\x88\x01\x01\x12!\n\x0freview_language\x18\x08 \x01(\tB\x03\xe0\x41\x01H\x07\x88\x01\x01\x12 \n\x0ereview_country\x18\t \x01(\tB\x03\xe0\x41\x01H\x08\x88\x01\x01\x12\x34\n\x0breview_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x17\n\x05title\x18\x0b \x01(\tB\x03\xe0\x41\x01H\t\x88\x01\x01\x12\x19\n\x07\x63ontent\x18\x0c \x01(\tB\x03\xe0\x41\x01H\n\x88\x01\x01\x12\x11\n\x04pros\x18\r \x03(\tB\x03\xe0\x41\x01\x12\x11\n\x04\x63ons\x18\x0e \x03(\tB\x03\xe0\x41\x01\x12\x65\n\x0breview_link\x18\x0f \x01(\x0b\x32K.google.shopping.merchant.reviews.v1beta.ProductReviewAttributes.ReviewLinkB\x03\xe0\x41\x01\x12!\n\x14reviewer_image_links\x18\x10 \x03(\tB\x03\xe0\x41\x01\x12\x1c\n\nmin_rating\x18\x11 \x01(\x03\x42\x03\xe0\x41\x01H\x0b\x88\x01\x01\x12\x1c\n\nmax_rating\x18\x12 \x01(\x03\x42\x03\xe0\x41\x01H\x0c\x88\x01\x01\x12\x18\n\x06rating\x18\x13 \x01(\x01\x42\x03\xe0\x41\x01H\r\x88\x01\x01\x12\x1a\n\rproduct_names\x18\x14 \x03(\tB\x03\xe0\x41\x01\x12\x1a\n\rproduct_links\x18\x15 \x03(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x61sins\x18\x16 \x03(\tB\x03\xe0\x41\x01\x12\x12\n\x05gtins\x18\x17 \x03(\tB\x03\xe0\x41\x01\x12\x11\n\x04mpns\x18\x18 \x03(\tB\x03\xe0\x41\x01\x12\x11\n\x04skus\x18\x19 \x03(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x62rands\x18\x1a \x03(\tB\x03\xe0\x41\x01\x12\x19\n\x07is_spam\x18\x1b \x01(\x08\x42\x03\xe0\x41\x01H\x0e\x88\x01\x01\x12&\n\x14is_verified_purchase\x18\x1e \x01(\x08\x42\x03\xe0\x41\x01H\x0f\x88\x01\x01\x12(\n\x16is_incentivized_review\x18\x1f \x01(\x08\x42\x03\xe0\x41\x01H\x10\x88\x01\x01\x12q\n\x11\x63ollection_method\x18\x1c \x01(\x0e\x32Q.google.shopping.merchant.reviews.v1beta.ProductReviewAttributes.CollectionMethodB\x03\xe0\x41\x01\x12\x1b\n\x0etransaction_id\x18\x1d \x01(\tB\x03\xe0\x41\x01\x1a\xbc\x01\n\nReviewLink\x12\x63\n\x04type\x18\x01 \x01(\x0e\x32P.google.shopping.merchant.reviews.v1beta.ProductReviewAttributes.ReviewLink.TypeB\x03\xe0\x41\x01\x12\x11\n\x04link\x18\x02 \x01(\tB\x03\xe0\x41\x01\"6\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\r\n\tSINGLETON\x10\x01\x12\t\n\x05GROUP\x10\x02\"\\\n\x10\x43ollectionMethod\x12!\n\x1d\x43OLLECTION_METHOD_UNSPECIFIED\x10\x00\x12\x0f\n\x0bUNSOLICITED\x10\x01\x12\x14\n\x10POST_FULFILLMENT\x10\x02\x42\x12\n\x10_aggregator_nameB\x11\n\x0f_subclient_nameB\x11\n\x0f_publisher_nameB\x14\n\x12_publisher_faviconB\x0e\n\x0c_reviewer_idB\x18\n\x16_reviewer_is_anonymousB\x14\n\x12_reviewer_usernameB\x12\n\x10_review_languageB\x11\n\x0f_review_countryB\x08\n\x06_titleB\n\n\x08_contentB\r\n\x0b_min_ratingB\r\n\x0b_max_ratingB\t\n\x07_ratingB\n\n\x08_is_spamB\x17\n\x15_is_verified_purchaseB\x19\n\x17_is_incentivized_review\"\xce\x07\n\x13ProductReviewStatus\x12~\n\x14\x64\x65stination_statuses\x18\x03 \x03(\x0b\x32[.google.shopping.merchant.reviews.v1beta.ProductReviewStatus.ProductReviewDestinationStatusB\x03\xe0\x41\x03\x12x\n\x11item_level_issues\x18\x04 \x03(\x0b\x32X.google.shopping.merchant.reviews.v1beta.ProductReviewStatus.ProductReviewItemLevelIssueB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x39\n\x10last_update_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a}\n\x1eProductReviewDestinationStatus\x12[\n\x11reporting_context\x18\x01 \x01(\x0e\x32;.google.shopping.type.ReportingContext.ReportingContextEnumB\x03\xe0\x41\x03\x1a\xcc\x03\n\x1bProductReviewItemLevelIssue\x12\x11\n\x04\x63ode\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12x\n\x08severity\x18\x02 \x01(\x0e\x32\x61.google.shopping.merchant.reviews.v1beta.ProductReviewStatus.ProductReviewItemLevelIssue.SeverityB\x03\xe0\x41\x03\x12\x17\n\nresolution\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x16\n\tattribute\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12[\n\x11reporting_context\x18\x05 \x01(\x0e\x32;.google.shopping.type.ReportingContext.ReportingContextEnumB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x06\x64\x65tail\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rdocumentation\x18\x08 \x01(\tB\x03\xe0\x41\x03\"G\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x10\n\x0cNOT_IMPACTED\x10\x01\x12\x0f\n\x0b\x44ISAPPROVED\x10\x02\x42\x99\x02\n+com.google.shopping.merchant.reviews.v1betaB\x19ProductReviewsCommonProtoP\x01ZKcloud.google.com/go/shopping/merchant/reviews/apiv1beta/reviewspb;reviewspb\xaa\x02\'Google.Shopping.Merchant.Reviews.V1Beta\xca\x02\'Google\\Shopping\\Merchant\\Reviews\\V1beta\xea\x02+Google::Shopping::Merchant::Reviews::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 = [
    ["google.protobuf.Timestamp", "google/protobuf/timestamp.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 Reviews
        module V1beta
          ProductReviewAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.reviews.v1beta.ProductReviewAttributes").msgclass
          ProductReviewAttributes::ReviewLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.reviews.v1beta.ProductReviewAttributes.ReviewLink").msgclass
          ProductReviewAttributes::ReviewLink::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.reviews.v1beta.ProductReviewAttributes.ReviewLink.Type").enummodule
          ProductReviewAttributes::CollectionMethod = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.reviews.v1beta.ProductReviewAttributes.CollectionMethod").enummodule
          ProductReviewStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.reviews.v1beta.ProductReviewStatus").msgclass
          ProductReviewStatus::ProductReviewDestinationStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.reviews.v1beta.ProductReviewStatus.ProductReviewDestinationStatus").msgclass
          ProductReviewStatus::ProductReviewItemLevelIssue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.reviews.v1beta.ProductReviewStatus.ProductReviewItemLevelIssue").msgclass
          ProductReviewStatus::ProductReviewItemLevelIssue::Severity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.reviews.v1beta.ProductReviewStatus.ProductReviewItemLevelIssue.Severity").enummodule
        end
      end
    end
  end
end
