lib/google/shopping/merchant/accounts/v1beta/tax_rule_pb.rb
# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/shopping/merchant/accounts/v1beta/tax_rule.proto require 'google/protobuf' require 'google/api/field_behavior_pb' require 'google/type/interval_pb' descriptor_data = "\n7google/shopping/merchant/accounts/v1beta/tax_rule.proto\x12(google.shopping.merchant.accounts.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1agoogle/type/interval.proto\"\x81\x03\n\x07TaxRule\x12\x15\n\x0blocation_id\x18\x02 \x01(\x03H\x00\x12_\n\x0fpost_code_range\x18\x03 \x01(\x0b\x32\x44.google.shopping.merchant.accounts.v1beta.TaxRule.TaxPostalCodeRangeH\x00\x12\x19\n\x0fuse_google_rate\x18\x04 \x01(\x08H\x01\x12$\n\x1aself_specified_rate_micros\x18\x05 \x01(\x03H\x01\x12\x13\n\x0bregion_code\x18\x01 \x01(\t\x12\x16\n\x0eshipping_taxed\x18\x06 \x01(\x08\x12\x39\n\x15\x65\x66\x66\x65\x63tive_time_period\x18\x07 \x01(\x0b\x32\x15.google.type.IntervalB\x03\xe0\x41\x02\x1a\x35\n\x12TaxPostalCodeRange\x12\x12\n\x05start\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0b\n\x03\x65nd\x18\x02 \x01(\tB\n\n\x08locationB\x12\n\x10rate_calculationB\x8e\x01\n,com.google.shopping.merchant.accounts.v1betaB\x0cTaxRuleProtoP\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.type.Interval", "google/type/interval.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 TaxRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.TaxRule").msgclass TaxRule::TaxPostalCodeRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.TaxRule.TaxPostalCodeRange").msgclass end end end end end