# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/commerce/consumer/procurement/v1/order.proto require 'google/protobuf' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/protobuf/timestamp_pb' descriptor_data = "\n9google/cloud/commerce/consumer/procurement/v1/order.proto\x12-google.cloud.commerce.consumer.procurement.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd1\x03\n\x05Order\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1a\n\x0c\x64isplay_name\x18\n \x01(\tB\x04\xe2\x41\x01\x02\x12Q\n\nline_items\x18\x06 \x03(\x0b\x32\x37.google.cloud.commerce.consumer.procurement.v1.LineItemB\x04\xe2\x41\x01\x03\x12[\n\x14\x63\x61ncelled_line_items\x18\x07 \x03(\x0b\x32\x37.google.cloud.commerce.consumer.procurement.v1.LineItemB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x0c\n\x04\x65tag\x18\x0b \x01(\t:l\xea\x41i\n5cloudcommerceconsumerprocurement.googleapis.com/Order\x12\x30\x62illingAccounts/{billing_account}/orders/{order}\"\xbb\x02\n\x08LineItem\x12\x1a\n\x0cline_item_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12Y\n\x0eline_item_info\x18\x02 \x01(\x0b\x32;.google.cloud.commerce.consumer.procurement.v1.LineItemInfoB\x04\xe2\x41\x01\x03\x12[\n\x0epending_change\x18\x03 \x01(\x0b\x32=.google.cloud.commerce.consumer.procurement.v1.LineItemChangeB\x04\xe2\x41\x01\x03\x12[\n\x0e\x63hange_history\x18\x04 \x03(\x0b\x32=.google.cloud.commerce.consumer.procurement.v1.LineItemChangeB\x04\xe2\x41\x01\x03\"\xe0\x05\n\x0eLineItemChange\x12\x17\n\tchange_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\\\n\x0b\x63hange_type\x18\x02 \x01(\x0e\x32\x41.google.cloud.commerce.consumer.procurement.v1.LineItemChangeTypeB\x04\xe2\x41\x01\x02\x12]\n\x12old_line_item_info\x18\x03 \x01(\x0b\x32;.google.cloud.commerce.consumer.procurement.v1.LineItemInfoB\x04\xe2\x41\x01\x03\x12W\n\x12new_line_item_info\x18\x04 \x01(\x0b\x32;.google.cloud.commerce.consumer.procurement.v1.LineItemInfo\x12^\n\x0c\x63hange_state\x18\x05 \x01(\x0e\x32\x42.google.cloud.commerce.consumer.procurement.v1.LineItemChangeStateB\x04\xe2\x41\x01\x03\x12\x1a\n\x0cstate_reason\x18\x06 \x01(\tB\x04\xe2\x41\x01\x03\x12t\n\x18\x63hange_state_reason_type\x18\n \x01(\x0e\x32L.google.cloud.commerce.consumer.procurement.v1.LineItemChangeStateReasonTypeB\x04\xe2\x41\x01\x03\x12?\n\x15\x63hange_effective_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\"\xfe\x01\n\x0cLineItemInfo\x12\x41\n\x05offer\x18\r \x01(\tB2\xe2\x41\x01\x01\xfa\x41+\n)commerceoffercatalog.googleapis.com/Offer\x12R\n\nparameters\x18\t \x03(\x0b\x32\x38.google.cloud.commerce.consumer.procurement.v1.ParameterB\x04\xe2\x41\x01\x01\x12W\n\x0csubscription\x18\n \x01(\x0b\x32;.google.cloud.commerce.consumer.procurement.v1.SubscriptionB\x04\xe2\x41\x01\x03\"\xc0\x01\n\tParameter\x12\x0c\n\x04name\x18\x01 \x01(\t\x12M\n\x05value\x18\x02 \x01(\x0b\x32>.google.cloud.commerce.consumer.procurement.v1.Parameter.Value\x1aV\n\x05Value\x12\x15\n\x0bint64_value\x18\x03 \x01(\x03H\x00\x12\x16\n\x0cstring_value\x18\x04 \x01(\tH\x00\x12\x16\n\x0c\x64ouble_value\x18\x05 \x01(\x01H\x00\x42\x06\n\x04kind\"\x8a\x01\n\x0cSubscription\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1c\n\x14\x61uto_renewal_enabled\x18\x02 \x01(\x08*\xd0\x01\n\x12LineItemChangeType\x12%\n!LINE_ITEM_CHANGE_TYPE_UNSPECIFIED\x10\x00\x12 \n\x1cLINE_ITEM_CHANGE_TYPE_CREATE\x10\x01\x12 \n\x1cLINE_ITEM_CHANGE_TYPE_UPDATE\x10\x02\x12 \n\x1cLINE_ITEM_CHANGE_TYPE_CANCEL\x10\x03\x12-\n)LINE_ITEM_CHANGE_TYPE_REVERT_CANCELLATION\x10\x04*\xa7\x02\n\x13LineItemChangeState\x12&\n\"LINE_ITEM_CHANGE_STATE_UNSPECIFIED\x10\x00\x12+\n\'LINE_ITEM_CHANGE_STATE_PENDING_APPROVAL\x10\x01\x12#\n\x1fLINE_ITEM_CHANGE_STATE_APPROVED\x10\x02\x12$\n LINE_ITEM_CHANGE_STATE_COMPLETED\x10\x03\x12#\n\x1fLINE_ITEM_CHANGE_STATE_REJECTED\x10\x04\x12$\n LINE_ITEM_CHANGE_STATE_ABANDONED\x10\x05\x12%\n!LINE_ITEM_CHANGE_STATE_ACTIVATING\x10\x06*\xf3\x01\n\x1dLineItemChangeStateReasonType\x12\x32\n.LINE_ITEM_CHANGE_STATE_REASON_TYPE_UNSPECIFIED\x10\x00\x12.\n*LINE_ITEM_CHANGE_STATE_REASON_TYPE_EXPIRED\x10\x01\x12\x35\n1LINE_ITEM_CHANGE_STATE_REASON_TYPE_USER_CANCELLED\x10\x02\x12\x37\n3LINE_ITEM_CHANGE_STATE_REASON_TYPE_SYSTEM_CANCELLED\x10\x03\x42\xb4\x03\n1com.google.cloud.commerce.consumer.procurement.v1P\x01ZScloud.google.com/go/commerce/consumer/procurement/apiv1/procurementpb;procurementpb\xaa\x02-Google.Cloud.Commerce.Consumer.Procurement.V1\xca\x02-Google\\Cloud\\Commerce\\Consumer\\Procurement\\V1\xea\x02\x32Google::Cloud::Commerce::Consumer::Procurement::V1\xea\x41\x91\x01\n)commerceoffercatalog.googleapis.com/Offer\x12)services/{service}/standardOffers/{offer}\x12\x39\x62illingAccounts/{consumer_billing_account}/offers/{offer}b\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 Cloud module Commerce module Consumer module Procurement module V1 Order = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.commerce.consumer.procurement.v1.Order").msgclass LineItem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.commerce.consumer.procurement.v1.LineItem").msgclass LineItemChange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.commerce.consumer.procurement.v1.LineItemChange").msgclass LineItemInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.commerce.consumer.procurement.v1.LineItemInfo").msgclass Parameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.commerce.consumer.procurement.v1.Parameter").msgclass Parameter::Value = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.commerce.consumer.procurement.v1.Parameter.Value").msgclass Subscription = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.commerce.consumer.procurement.v1.Subscription").msgclass LineItemChangeType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.commerce.consumer.procurement.v1.LineItemChangeType").enummodule LineItemChangeState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.commerce.consumer.procurement.v1.LineItemChangeState").enummodule LineItemChangeStateReasonType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.commerce.consumer.procurement.v1.LineItemChangeStateReasonType").enummodule end end end end end end