4 #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
9 #include <google/protobuf/stubs/common.h>
10 #include <google/protobuf/stubs/once.h>
11 #include <google/protobuf/io/coded_stream.h>
12 #include <google/protobuf/wire_format_lite_inl.h>
13 #include <google/protobuf/descriptor.h>
14 #include <google/protobuf/generated_message_reflection.h>
15 #include <google/protobuf/reflection_ops.h>
16 #include <google/protobuf/wire_format.h>
23 const ::google::protobuf::Descriptor* Output_descriptor_ = NULL;
24 const ::google::protobuf::internal::GeneratedMessageReflection*
25 Output_reflection_ = NULL;
26 const ::google::protobuf::Descriptor* PaymentDetails_descriptor_ = NULL;
27 const ::google::protobuf::internal::GeneratedMessageReflection*
28 PaymentDetails_reflection_ = NULL;
29 const ::google::protobuf::Descriptor* PaymentRequest_descriptor_ = NULL;
30 const ::google::protobuf::internal::GeneratedMessageReflection*
31 PaymentRequest_reflection_ = NULL;
32 const ::google::protobuf::Descriptor* X509Certificates_descriptor_ = NULL;
33 const ::google::protobuf::internal::GeneratedMessageReflection*
34 X509Certificates_reflection_ = NULL;
35 const ::google::protobuf::Descriptor* Payment_descriptor_ = NULL;
36 const ::google::protobuf::internal::GeneratedMessageReflection*
37 Payment_reflection_ = NULL;
38 const ::google::protobuf::Descriptor* PaymentACK_descriptor_ = NULL;
39 const ::google::protobuf::internal::GeneratedMessageReflection*
40 PaymentACK_reflection_ = NULL;
47 const ::google::protobuf::FileDescriptor* file =
48 ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
49 "paymentrequest.proto");
50 GOOGLE_CHECK(file != NULL);
51 Output_descriptor_ = file->message_type(0);
52 static const int Output_offsets_[2] = {
53 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
Output, amount_),
54 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
Output, script_),
57 new ::google::protobuf::internal::GeneratedMessageReflection(
61 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
Output, _has_bits_[0]),
62 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
Output, _unknown_fields_),
64 ::google::protobuf::DescriptorPool::generated_pool(),
65 ::google::protobuf::MessageFactory::generated_factory(),
67 PaymentDetails_descriptor_ = file->message_type(1);
68 static const int PaymentDetails_offsets_[7] = {
69 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
PaymentDetails, network_),
70 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
PaymentDetails, outputs_),
71 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
PaymentDetails, time_),
72 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
PaymentDetails, expires_),
73 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
PaymentDetails, memo_),
74 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
PaymentDetails, payment_url_),
75 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
PaymentDetails, merchant_data_),
77 PaymentDetails_reflection_ =
78 new ::google::protobuf::internal::GeneratedMessageReflection(
79 PaymentDetails_descriptor_,
81 PaymentDetails_offsets_,
82 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
PaymentDetails, _has_bits_[0]),
83 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
PaymentDetails, _unknown_fields_),
85 ::google::protobuf::DescriptorPool::generated_pool(),
86 ::google::protobuf::MessageFactory::generated_factory(),
88 PaymentRequest_descriptor_ = file->message_type(2);
89 static const int PaymentRequest_offsets_[5] = {
90 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
PaymentRequest, payment_details_version_),
91 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
PaymentRequest, pki_type_),
92 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
PaymentRequest, pki_data_),
93 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
PaymentRequest, serialized_payment_details_),
94 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
PaymentRequest, signature_),
96 PaymentRequest_reflection_ =
97 new ::google::protobuf::internal::GeneratedMessageReflection(
98 PaymentRequest_descriptor_,
100 PaymentRequest_offsets_,
101 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
PaymentRequest, _has_bits_[0]),
102 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
PaymentRequest, _unknown_fields_),
104 ::google::protobuf::DescriptorPool::generated_pool(),
105 ::google::protobuf::MessageFactory::generated_factory(),
107 X509Certificates_descriptor_ = file->message_type(3);
108 static const int X509Certificates_offsets_[1] = {
109 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
X509Certificates, certificate_),
111 X509Certificates_reflection_ =
112 new ::google::protobuf::internal::GeneratedMessageReflection(
113 X509Certificates_descriptor_,
115 X509Certificates_offsets_,
116 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
X509Certificates, _has_bits_[0]),
117 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
X509Certificates, _unknown_fields_),
119 ::google::protobuf::DescriptorPool::generated_pool(),
120 ::google::protobuf::MessageFactory::generated_factory(),
122 Payment_descriptor_ = file->message_type(4);
123 static const int Payment_offsets_[4] = {
124 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
Payment, merchant_data_),
125 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
Payment, transactions_),
126 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
Payment, refund_to_),
127 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
Payment, memo_),
129 Payment_reflection_ =
130 new ::google::protobuf::internal::GeneratedMessageReflection(
134 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
Payment, _has_bits_[0]),
135 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
Payment, _unknown_fields_),
137 ::google::protobuf::DescriptorPool::generated_pool(),
138 ::google::protobuf::MessageFactory::generated_factory(),
140 PaymentACK_descriptor_ = file->message_type(5);
141 static const int PaymentACK_offsets_[2] = {
142 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
PaymentACK, payment_),
143 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
PaymentACK, memo_),
145 PaymentACK_reflection_ =
146 new ::google::protobuf::internal::GeneratedMessageReflection(
147 PaymentACK_descriptor_,
150 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
PaymentACK, _has_bits_[0]),
151 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(
PaymentACK, _unknown_fields_),
153 ::google::protobuf::DescriptorPool::generated_pool(),
154 ::google::protobuf::MessageFactory::generated_factory(),
160 GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
161 inline void protobuf_AssignDescriptorsOnce() {
162 ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
166 void protobuf_RegisterTypes(const ::std::string&) {
167 protobuf_AssignDescriptorsOnce();
168 ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
170 ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
172 ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
174 ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
176 ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
178 ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
186 delete Output_reflection_;
188 delete PaymentDetails_reflection_;
191 delete PaymentRequest_reflection_;
194 delete X509Certificates_reflection_;
196 delete Payment_reflection_;
198 delete PaymentACK_reflection_;
202 static bool already_here =
false;
203 if (already_here)
return;
205 GOOGLE_PROTOBUF_VERIFY_VERSION;
207 ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
208 "\n\024paymentrequest.proto\022\010payments\"+\n\006Outp"
209 "ut\022\021\n\006amount\030\001 \001(\004:\0010\022\016\n\006script\030\002 \002(\014\"\243\001"
210 "\n\016PaymentDetails\022\025\n\007network\030\001 \001(\t:\004main\022"
211 "!\n\007outputs\030\002 \003(\0132\020.payments.Output\022\014\n\004ti"
212 "me\030\003 \002(\004\022\017\n\007expires\030\004 \001(\004\022\014\n\004memo\030\005 \001(\t\022"
213 "\023\n\013payment_url\030\006 \001(\t\022\025\n\rmerchant_data\030\007 "
214 "\001(\014\"\225\001\n\016PaymentRequest\022\"\n\027payment_detail"
215 "s_version\030\001 \001(\r:\0011\022\026\n\010pki_type\030\002 \001(\t:\004no"
216 "ne\022\020\n\010pki_data\030\003 \001(\014\022\"\n\032serialized_payme"
217 "nt_details\030\004 \002(\014\022\021\n\tsignature\030\005 \001(\014\"\'\n\020X"
218 "509Certificates\022\023\n\013certificate\030\001 \003(\014\"i\n\007"
219 "Payment\022\025\n\rmerchant_data\030\001 \001(\014\022\024\n\014transa"
220 "ctions\030\002 \003(\014\022#\n\trefund_to\030\003 \003(\0132\020.paymen"
221 "ts.Output\022\014\n\004memo\030\004 \001(\t\">\n\nPaymentACK\022\"\n"
222 "\007payment\030\001 \002(\0132\021.payments.Payment\022\014\n\004mem"
223 "o\030\002 \001(\tB)\n\037org.anoncoin.protocols.paymen"
224 "tsB\006Protos", 650);
225 ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
226 "paymentrequest.proto", &protobuf_RegisterTypes);
229 new ::std::string(
"main", 4);
232 new ::std::string(
"none", 4);
261 : ::
google::protobuf::Message() {
269 : ::
google::protobuf::Message() {
277 script_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
286 if (
script_ != &::google::protobuf::internal::kEmptyString) {
294 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
296 GOOGLE_SAFE_CONCURRENT_WRITES_END();
299 protobuf_AssignDescriptorsOnce();
300 return Output_descriptor_;
315 if (
_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
318 if (
script_ != &::google::protobuf::internal::kEmptyString) {
328 ::google::protobuf::io::CodedInputStream* input) {
329 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
330 ::google::protobuf::uint32 tag;
331 while ((tag = input->ReadTag()) != 0) {
332 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
335 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
336 ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
337 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
338 ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
342 goto handle_uninterpreted;
344 if (input->ExpectTag(18))
goto parse_script;
350 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
351 ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
353 DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
356 goto handle_uninterpreted;
358 if (input->ExpectAtEnd())
return true;
363 handle_uninterpreted:
364 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
365 ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
368 DO_(::google::protobuf::internal::WireFormat::SkipField(
379 ::google::protobuf::io::CodedOutputStream* output)
const {
382 ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->
amount(), output);
387 ::google::protobuf::internal::WireFormatLite::WriteBytes(
388 2, this->
script(), output);
392 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
398 ::google::protobuf::uint8* target)
const {
401 target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->
amount(), target);
407 ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
408 2, this->
script(), target);
412 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
421 if (
_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
425 ::google::protobuf::internal::WireFormatLite::UInt64Size(
432 ::google::protobuf::internal::WireFormatLite::BytesSize(
439 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
442 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
444 GOOGLE_SAFE_CONCURRENT_WRITES_END();
449 GOOGLE_CHECK_NE(&from,
this);
451 ::google::protobuf::internal::dynamic_cast_if_available<const Output*>(
453 if (source == NULL) {
454 ::google::protobuf::internal::ReflectionOps::Merge(from,
this);
461 GOOGLE_CHECK_NE(&from,
this);
462 if (from.
_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
474 if (&from ==
this)
return;
480 if (&from ==
this)
return;
486 if ((
_has_bits_[0] & 0x00000002) != 0x00000002)
return false;
502 protobuf_AssignDescriptorsOnce();
503 ::google::protobuf::Metadata metadata;
504 metadata.descriptor = Output_descriptor_;
505 metadata.reflection = Output_reflection_;
524 : ::
google::protobuf::Message() {
532 : ::
google::protobuf::Message() {
540 time_ = GOOGLE_ULONGLONG(0);
542 memo_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
543 payment_url_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
544 merchant_data_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
556 if (
memo_ != &::google::protobuf::internal::kEmptyString) {
559 if (
payment_url_ != &::google::protobuf::internal::kEmptyString) {
562 if (
merchant_data_ != &::google::protobuf::internal::kEmptyString) {
570 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
572 GOOGLE_SAFE_CONCURRENT_WRITES_END();
575 protobuf_AssignDescriptorsOnce();
576 return PaymentDetails_descriptor_;
591 if (
_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
597 time_ = GOOGLE_ULONGLONG(0);
600 if (
memo_ != &::google::protobuf::internal::kEmptyString) {
605 if (
payment_url_ != &::google::protobuf::internal::kEmptyString) {
610 if (
merchant_data_ != &::google::protobuf::internal::kEmptyString) {
621 ::google::protobuf::io::CodedInputStream* input) {
622 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
623 ::google::protobuf::uint32 tag;
624 while ((tag = input->ReadTag()) != 0) {
625 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
628 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
629 ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
630 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
632 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
634 ::google::protobuf::internal::WireFormat::PARSE);
636 goto handle_uninterpreted;
638 if (input->ExpectTag(18))
goto parse_outputs;
644 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
645 ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
647 DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
650 goto handle_uninterpreted;
652 if (input->ExpectTag(18))
goto parse_outputs;
653 if (input->ExpectTag(24))
goto parse_time;
659 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
660 ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
662 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
663 ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
667 goto handle_uninterpreted;
669 if (input->ExpectTag(32))
goto parse_expires;
675 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
676 ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
678 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
679 ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
683 goto handle_uninterpreted;
685 if (input->ExpectTag(42))
goto parse_memo;
691 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
692 ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
694 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
696 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
697 this->
memo().data(), this->
memo().length(),
698 ::google::protobuf::internal::WireFormat::PARSE);
700 goto handle_uninterpreted;
702 if (input->ExpectTag(50))
goto parse_payment_url;
708 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
709 ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
711 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
713 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
715 ::google::protobuf::internal::WireFormat::PARSE);
717 goto handle_uninterpreted;
719 if (input->ExpectTag(58))
goto parse_merchant_data;
725 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
726 ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
728 DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
731 goto handle_uninterpreted;
733 if (input->ExpectAtEnd())
return true;
738 handle_uninterpreted:
739 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
740 ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
743 DO_(::google::protobuf::internal::WireFormat::SkipField(
754 ::google::protobuf::io::CodedOutputStream* output)
const {
757 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
759 ::google::protobuf::internal::WireFormat::SERIALIZE);
760 ::google::protobuf::internal::WireFormatLite::WriteString(
766 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
772 ::google::protobuf::internal::WireFormatLite::WriteUInt64(3, this->
time(), output);
777 ::google::protobuf::internal::WireFormatLite::WriteUInt64(4, this->
expires(), output);
782 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
783 this->
memo().data(), this->
memo().length(),
784 ::google::protobuf::internal::WireFormat::SERIALIZE);
785 ::google::protobuf::internal::WireFormatLite::WriteString(
786 5, this->
memo(), output);
791 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
793 ::google::protobuf::internal::WireFormat::SERIALIZE);
794 ::google::protobuf::internal::WireFormatLite::WriteString(
800 ::google::protobuf::internal::WireFormatLite::WriteBytes(
805 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
811 ::google::protobuf::uint8* target)
const {
814 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
816 ::google::protobuf::internal::WireFormat::SERIALIZE);
818 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
824 target = ::google::protobuf::internal::WireFormatLite::
825 WriteMessageNoVirtualToArray(
831 target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(3, this->
time(), target);
836 target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(4, this->
expires(), target);
841 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
842 this->
memo().data(), this->
memo().length(),
843 ::google::protobuf::internal::WireFormat::SERIALIZE);
845 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
846 5, this->
memo(), target);
851 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
853 ::google::protobuf::internal::WireFormat::SERIALIZE);
855 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
862 ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
867 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
876 if (
_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
880 ::google::protobuf::internal::WireFormatLite::StringSize(
887 ::google::protobuf::internal::WireFormatLite::UInt64Size(
894 ::google::protobuf::internal::WireFormatLite::UInt64Size(
901 ::google::protobuf::internal::WireFormatLite::StringSize(
908 ::google::protobuf::internal::WireFormatLite::StringSize(
915 ::google::protobuf::internal::WireFormatLite::BytesSize(
924 ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
930 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
933 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
935 GOOGLE_SAFE_CONCURRENT_WRITES_END();
940 GOOGLE_CHECK_NE(&from,
this);
942 ::google::protobuf::internal::dynamic_cast_if_available<const PaymentDetails*>(
944 if (source == NULL) {
945 ::google::protobuf::internal::ReflectionOps::Merge(from,
this);
952 GOOGLE_CHECK_NE(&from,
this);
954 if (from.
_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
978 if (&from ==
this)
return;
984 if (&from ==
this)
return;
990 if ((
_has_bits_[0] & 0x00000004) != 0x00000004)
return false;
993 if (!this->
outputs(i).IsInitialized())
return false;
1014 protobuf_AssignDescriptorsOnce();
1015 ::google::protobuf::Metadata metadata;
1016 metadata.descriptor = PaymentDetails_descriptor_;
1017 metadata.reflection = PaymentDetails_reflection_;
1034 : ::
google::protobuf::Message() {
1042 : ::
google::protobuf::Message() {
1051 pki_data_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1053 signature_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1065 if (
pki_data_ != &::google::protobuf::internal::kEmptyString) {
1071 if (
signature_ != &::google::protobuf::internal::kEmptyString) {
1079 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1081 GOOGLE_SAFE_CONCURRENT_WRITES_END();
1084 protobuf_AssignDescriptorsOnce();
1085 return PaymentRequest_descriptor_;
1100 if (
_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
1108 if (
pki_data_ != &::google::protobuf::internal::kEmptyString) {
1118 if (
signature_ != &::google::protobuf::internal::kEmptyString) {
1128 ::google::protobuf::io::CodedInputStream* input) {
1129 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
1130 ::google::protobuf::uint32 tag;
1131 while ((tag = input->ReadTag()) != 0) {
1132 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1135 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1136 ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
1137 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1138 ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
1142 goto handle_uninterpreted;
1144 if (input->ExpectTag(18))
goto parse_pki_type;
1150 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1151 ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
1153 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
1155 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
1157 ::google::protobuf::internal::WireFormat::PARSE);
1159 goto handle_uninterpreted;
1161 if (input->ExpectTag(26))
goto parse_pki_data;
1167 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1168 ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
1170 DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
1173 goto handle_uninterpreted;
1175 if (input->ExpectTag(34))
goto parse_serialized_payment_details;
1181 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1182 ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
1183 parse_serialized_payment_details:
1184 DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
1187 goto handle_uninterpreted;
1189 if (input->ExpectTag(42))
goto parse_signature;
1195 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1196 ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
1198 DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
1201 goto handle_uninterpreted;
1203 if (input->ExpectAtEnd())
return true;
1208 handle_uninterpreted:
1209 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1210 ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
1213 DO_(::google::protobuf::internal::WireFormat::SkipField(
1224 ::google::protobuf::io::CodedOutputStream* output)
const {
1232 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
1234 ::google::protobuf::internal::WireFormat::SERIALIZE);
1235 ::google::protobuf::internal::WireFormatLite::WriteString(
1241 ::google::protobuf::internal::WireFormatLite::WriteBytes(
1247 ::google::protobuf::internal::WireFormatLite::WriteBytes(
1253 ::google::protobuf::internal::WireFormatLite::WriteBytes(
1258 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1264 ::google::protobuf::uint8* target)
const {
1267 target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->
payment_details_version(), target);
1272 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
1274 ::google::protobuf::internal::WireFormat::SERIALIZE);
1276 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
1283 ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
1290 ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
1297 ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
1302 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1311 if (
_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
1315 ::google::protobuf::internal::WireFormatLite::UInt32Size(
1322 ::google::protobuf::internal::WireFormatLite::StringSize(
1329 ::google::protobuf::internal::WireFormatLite::BytesSize(
1336 ::google::protobuf::internal::WireFormatLite::BytesSize(
1343 ::google::protobuf::internal::WireFormatLite::BytesSize(
1350 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1353 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1355 GOOGLE_SAFE_CONCURRENT_WRITES_END();
1360 GOOGLE_CHECK_NE(&from,
this);
1362 ::google::protobuf::internal::dynamic_cast_if_available<const PaymentRequest*>(
1364 if (source == NULL) {
1365 ::google::protobuf::internal::ReflectionOps::Merge(from,
this);
1372 GOOGLE_CHECK_NE(&from,
this);
1373 if (from.
_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
1394 if (&from ==
this)
return;
1400 if (&from ==
this)
return;
1406 if ((
_has_bits_[0] & 0x00000008) != 0x00000008)
return false;
1412 if (other !=
this) {
1425 protobuf_AssignDescriptorsOnce();
1426 ::google::protobuf::Metadata metadata;
1427 metadata.descriptor = PaymentRequest_descriptor_;
1428 metadata.reflection = PaymentRequest_reflection_;
1440 : ::
google::protobuf::Message() {
1448 : ::
google::protobuf::Message() {
1468 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1470 GOOGLE_SAFE_CONCURRENT_WRITES_END();
1473 protobuf_AssignDescriptorsOnce();
1474 return X509Certificates_descriptor_;
1495 ::google::protobuf::io::CodedInputStream* input) {
1496 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
1497 ::google::protobuf::uint32 tag;
1498 while ((tag = input->ReadTag()) != 0) {
1499 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1502 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1503 ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
1505 DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
1508 goto handle_uninterpreted;
1510 if (input->ExpectTag(10))
goto parse_certificate;
1511 if (input->ExpectAtEnd())
return true;
1516 handle_uninterpreted:
1517 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1518 ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
1521 DO_(::google::protobuf::internal::WireFormat::SkipField(
1532 ::google::protobuf::io::CodedOutputStream* output)
const {
1535 ::google::protobuf::internal::WireFormatLite::WriteBytes(
1540 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1546 ::google::protobuf::uint8* target)
const {
1549 target = ::google::protobuf::internal::WireFormatLite::
1550 WriteBytesToArray(1, this->
certificate(i), target);
1554 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1566 total_size += ::google::protobuf::internal::WireFormatLite::BytesSize(
1572 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1575 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1577 GOOGLE_SAFE_CONCURRENT_WRITES_END();
1582 GOOGLE_CHECK_NE(&from,
this);
1584 ::google::protobuf::internal::dynamic_cast_if_available<const X509Certificates*>(
1586 if (source == NULL) {
1587 ::google::protobuf::internal::ReflectionOps::Merge(from,
this);
1594 GOOGLE_CHECK_NE(&from,
this);
1600 if (&from ==
this)
return;
1606 if (&from ==
this)
return;
1617 if (other !=
this) {
1626 protobuf_AssignDescriptorsOnce();
1627 ::google::protobuf::Metadata metadata;
1628 metadata.descriptor = X509Certificates_descriptor_;
1629 metadata.reflection = X509Certificates_reflection_;
1644 : ::
google::protobuf::Message() {
1652 : ::
google::protobuf::Message() {
1659 merchant_data_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1660 memo_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1669 if (
merchant_data_ != &::google::protobuf::internal::kEmptyString) {
1672 if (
memo_ != &::google::protobuf::internal::kEmptyString) {
1680 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1682 GOOGLE_SAFE_CONCURRENT_WRITES_END();
1685 protobuf_AssignDescriptorsOnce();
1686 return Payment_descriptor_;
1701 if (
_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
1703 if (
merchant_data_ != &::google::protobuf::internal::kEmptyString) {
1708 if (
memo_ != &::google::protobuf::internal::kEmptyString) {
1720 ::google::protobuf::io::CodedInputStream* input) {
1721 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
1722 ::google::protobuf::uint32 tag;
1723 while ((tag = input->ReadTag()) != 0) {
1724 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1727 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1728 ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
1729 DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
1732 goto handle_uninterpreted;
1734 if (input->ExpectTag(18))
goto parse_transactions;
1740 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1741 ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
1743 DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
1746 goto handle_uninterpreted;
1748 if (input->ExpectTag(18))
goto parse_transactions;
1749 if (input->ExpectTag(26))
goto parse_refund_to;
1755 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1756 ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
1758 DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
1761 goto handle_uninterpreted;
1763 if (input->ExpectTag(26))
goto parse_refund_to;
1764 if (input->ExpectTag(34))
goto parse_memo;
1770 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1771 ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
1773 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
1775 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
1776 this->
memo().data(), this->
memo().length(),
1777 ::google::protobuf::internal::WireFormat::PARSE);
1779 goto handle_uninterpreted;
1781 if (input->ExpectAtEnd())
return true;
1786 handle_uninterpreted:
1787 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1788 ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
1791 DO_(::google::protobuf::internal::WireFormat::SkipField(
1802 ::google::protobuf::io::CodedOutputStream* output)
const {
1805 ::google::protobuf::internal::WireFormatLite::WriteBytes(
1811 ::google::protobuf::internal::WireFormatLite::WriteBytes(
1817 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1823 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
1824 this->
memo().data(), this->
memo().length(),
1825 ::google::protobuf::internal::WireFormat::SERIALIZE);
1826 ::google::protobuf::internal::WireFormatLite::WriteString(
1827 4, this->
memo(), output);
1831 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1837 ::google::protobuf::uint8* target)
const {
1841 ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
1847 target = ::google::protobuf::internal::WireFormatLite::
1853 target = ::google::protobuf::internal::WireFormatLite::
1854 WriteMessageNoVirtualToArray(
1860 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
1861 this->
memo().data(), this->
memo().length(),
1862 ::google::protobuf::internal::WireFormat::SERIALIZE);
1864 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
1865 4, this->
memo(), target);
1869 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1878 if (
_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
1882 ::google::protobuf::internal::WireFormatLite::BytesSize(
1889 ::google::protobuf::internal::WireFormatLite::StringSize(
1897 total_size += ::google::protobuf::internal::WireFormatLite::BytesSize(
1905 ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
1911 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1914 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1916 GOOGLE_SAFE_CONCURRENT_WRITES_END();
1921 GOOGLE_CHECK_NE(&from,
this);
1923 ::google::protobuf::internal::dynamic_cast_if_available<const Payment*>(
1925 if (source == NULL) {
1926 ::google::protobuf::internal::ReflectionOps::Merge(from,
this);
1933 GOOGLE_CHECK_NE(&from,
this);
1936 if (from.
_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
1948 if (&from ==
this)
return;
1954 if (&from ==
this)
return;
1962 if (!this->
refund_to(i).IsInitialized())
return false;
1968 if (other !=
this) {
1980 protobuf_AssignDescriptorsOnce();
1981 ::google::protobuf::Metadata metadata;
1982 metadata.descriptor = Payment_descriptor_;
1983 metadata.reflection = Payment_reflection_;
1996 : ::
google::protobuf::Message() {
2005 : ::
google::protobuf::Message() {
2013 memo_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
2022 if (
memo_ != &::google::protobuf::internal::kEmptyString) {
2031 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2033 GOOGLE_SAFE_CONCURRENT_WRITES_END();
2036 protobuf_AssignDescriptorsOnce();
2037 return PaymentACK_descriptor_;
2052 if (
_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
2057 if (
memo_ != &::google::protobuf::internal::kEmptyString) {
2067 ::google::protobuf::io::CodedInputStream* input) {
2068 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
2069 ::google::protobuf::uint32 tag;
2070 while ((tag = input->ReadTag()) != 0) {
2071 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2074 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
2075 ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
2076 DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
2079 goto handle_uninterpreted;
2081 if (input->ExpectTag(18))
goto parse_memo;
2087 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
2088 ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
2090 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
2092 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
2093 this->
memo().data(), this->
memo().length(),
2094 ::google::protobuf::internal::WireFormat::PARSE);
2096 goto handle_uninterpreted;
2098 if (input->ExpectAtEnd())
return true;
2103 handle_uninterpreted:
2104 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
2105 ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
2108 DO_(::google::protobuf::internal::WireFormat::SkipField(
2119 ::google::protobuf::io::CodedOutputStream* output)
const {
2122 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2128 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
2129 this->
memo().data(), this->
memo().length(),
2130 ::google::protobuf::internal::WireFormat::SERIALIZE);
2131 ::google::protobuf::internal::WireFormatLite::WriteString(
2132 2, this->
memo(), output);
2136 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
2142 ::google::protobuf::uint8* target)
const {
2145 target = ::google::protobuf::internal::WireFormatLite::
2146 WriteMessageNoVirtualToArray(
2152 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
2153 this->
memo().data(), this->
memo().length(),
2154 ::google::protobuf::internal::WireFormat::SERIALIZE);
2156 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
2157 2, this->
memo(), target);
2161 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
2170 if (
_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
2174 ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
2181 ::google::protobuf::internal::WireFormatLite::StringSize(
2188 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
2191 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2193 GOOGLE_SAFE_CONCURRENT_WRITES_END();
2198 GOOGLE_CHECK_NE(&from,
this);
2200 ::google::protobuf::internal::dynamic_cast_if_available<const PaymentACK*>(
2202 if (source == NULL) {
2203 ::google::protobuf::internal::ReflectionOps::Merge(from,
this);
2210 GOOGLE_CHECK_NE(&from,
this);
2211 if (from.
_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
2223 if (&from ==
this)
return;
2229 if (&from ==
this)
return;
2235 if ((
_has_bits_[0] & 0x00000001) != 0x00000001)
return false;
2244 if (other !=
this) {
2254 protobuf_AssignDescriptorsOnce();
2255 ::google::protobuf::Metadata metadata;
2256 metadata.descriptor = PaymentACK_descriptor_;
2257 metadata.reflection = PaymentACK_reflection_;
friend void protobuf_AddDesc_paymentrequest_2eproto()
::std::string * merchant_data_
friend void protobuf_AddDesc_paymentrequest_2eproto()
void protobuf_AddDesc_paymentrequest_2eproto()
::google::protobuf::uint64 expires_
virtual ~X509Certificates()
const ::google::protobuf::RepeatedPtrField< ::std::string > & certificate() const
static const int kPkiDataFieldNumber
static const Output & default_instance()
::google::protobuf::Metadata GetMetadata() const
static PaymentACK * default_instance_
::google::protobuf::RepeatedPtrField< ::payments::Output > refund_to_
static Output * default_instance_
static const int kPaymentDetailsVersionFieldNumber
inline::google::protobuf::uint32 payment_details_version() const
static X509Certificates * default_instance_
void set_payment_url(const ::std::string &value)
inline::std::string * mutable_payment_url()
static const int kPkiTypeFieldNumber
void set_script(const ::std::string &value)
::std::string * pki_data_
void set_memo(const ::std::string &value)
static const PaymentACK & default_instance()
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
bool IsInitialized() const
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input)
void set_pki_data(const ::std::string &value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void MergeFrom(const ::google::protobuf::Message &from)
static const int kNetworkFieldNumber
::google::protobuf::Metadata GetMetadata() const
void CopyFrom(const ::google::protobuf::Message &from)
void CopyFrom(const ::google::protobuf::Message &from)
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
::std::string * signature_
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input)
void Swap(PaymentRequest *other)
::std::string * _default_network_
::std::string * pki_type_
static const ::google::protobuf::Descriptor * descriptor()
friend void protobuf_AddDesc_paymentrequest_2eproto()
static const PaymentRequest & default_instance()
bool has_payment_url() const
static const int kAmountFieldNumber
::google::protobuf::uint32 _has_bits_[(5+31)/32]
const ::std::string & pki_data() const
void Swap(PaymentDetails *other)
void set_merchant_data(const ::std::string &value)
inline::google::protobuf::uint64 expires() const
static PaymentRequest * default_instance_
inline::std::string * mutable_merchant_data()
::google::protobuf::Metadata GetMetadata() const
void InitAsDefaultInstance()
static const ::google::protobuf::Descriptor * descriptor()
static const int kTimeFieldNumber
const ::std::string & memo() const
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const int kRefundToFieldNumber
virtual ~PaymentDetails()
const ::std::string & signature() const
inline::std::string * mutable_script()
static const ::google::protobuf::Descriptor * descriptor()
inline::std::string * mutable_memo()
void set_has_payment_details_version()
::google::protobuf::Metadata GetMetadata() const
static const int kScriptFieldNumber
inline::std::string * mutable_signature()
::std::string * serialized_payment_details_
::google::protobuf::UnknownFieldSet _unknown_fields_
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const int kPaymentUrlFieldNumber
inline::std::string * add_transactions()
void set_network(const ::std::string &value)
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const
bool IsInitialized() const
const ::std::string & script() const
static const ::google::protobuf::Descriptor * descriptor()
static const int kOutputsFieldNumber
PaymentDetails * New() const
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::std::string & payment_url() const
bool IsInitialized() const
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const
static PaymentDetails * default_instance_
inline::std::string * mutable_network()
friend void protobuf_AddDesc_paymentrequest_2eproto()
static Payment * default_instance_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const int kCertificateFieldNumber
static const int kExpiresFieldNumber
bool has_merchant_data() const
X509Certificates * New() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const
void protobuf_AssignDesc_paymentrequest_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
bool has_signature() const
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input)
void Swap(PaymentACK *other)
bool has_pki_data() const
void protobuf_ShutdownFile_paymentrequest_2eproto()
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::RepeatedPtrField< ::payments::Output > & refund_to() const
::google::protobuf::uint32 _has_bits_[(2+31)/32]
const ::std::string & memo() const
inline::std::string * add_certificate()
void InitAsDefaultInstance()
void MergeFrom(const ::google::protobuf::Message &from)
inline::payments::Output * add_outputs()
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
friend void protobuf_AddDesc_paymentrequest_2eproto()
inline::std::string * mutable_serialized_payment_details()
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const
void MergeFrom(const ::google::protobuf::Message &from)
StaticDescriptorInitializer_paymentrequest_2eproto()
void InitAsDefaultInstance()
void SetCachedSize(int size) const
int transactions_size() const
void SetCachedSize(int size) const
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
::google::protobuf::uint32 _has_bits_[(2+31)/32]
static const int kTransactionsFieldNumber
static const PaymentDetails & default_instance()
const ::std::string & network() const
::google::protobuf::UnknownFieldSet _unknown_fields_
bool IsInitialized() const
void set_expires(::google::protobuf::uint64 value)
const ::google::protobuf::RepeatedPtrField< ::std::string > & transactions() const
const ::google::protobuf::RepeatedPtrField< ::payments::Output > & outputs() const
void CopyFrom(const ::google::protobuf::Message &from)
::google::protobuf::uint32 payment_details_version_
void MergeFrom(const ::google::protobuf::Message &from)
void InitAsDefaultInstance()
inline::std::string * mutable_memo()
struct payments::StaticDescriptorInitializer_paymentrequest_2eproto static_descriptor_initializer_paymentrequest_2eproto_
void MergeFrom(const ::google::protobuf::Message &from)
inline::std::string * mutable_merchant_data()
inline::google::protobuf::uint64 amount() const
static const X509Certificates & default_instance()
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void SetCachedSize(int size) const
void MergeFrom(const ::google::protobuf::Message &from)
void CopyFrom(const ::google::protobuf::Message &from)
bool has_merchant_data() const
::std::string * _default_pki_type_
void Swap(X509Certificates *other)
static const int kMemoFieldNumber
::std::string * merchant_data_
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input)
inline::std::string * mutable_memo()
const ::std::string & merchant_data() const
bool has_pki_type() const
void set_memo(const ::std::string &value)
void set_signature(const ::std::string &value)
::google::protobuf::uint64 time_
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::uint32 _has_bits_[(1+31)/32]
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input)
::google::protobuf::uint32 _has_bits_[(4+31)/32]
::google::protobuf::uint64 amount_
void set_pki_type(const ::std::string &value)
void CopyFrom(const ::google::protobuf::Message &from)
bool has_payment_details_version() const
void CopyFrom(const ::google::protobuf::Message &from)
const ::payments::Payment & payment() const
const ::std::string & serialized_payment_details() const
void set_merchant_data(const ::std::string &value)
virtual ~PaymentRequest()
::std::string * payment_url_
void set_serialized_payment_details(const ::std::string &value)
void InitAsDefaultInstance()
::payments::Payment * payment_
static const ::google::protobuf::Descriptor * descriptor()
inline::std::string * mutable_pki_data()
static const Payment & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const int kMemoFieldNumber
void Swap(Payment *other)
inline::payments::Output * add_refund_to()
static const ::google::protobuf::Descriptor * descriptor()
const ::std::string & memo() const
inline::payments::Payment * mutable_payment()
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
inline::std::string * mutable_pki_type()
::google::protobuf::RepeatedPtrField< ::std::string > certificate_
void set_time(::google::protobuf::uint64 value)
::google::protobuf::uint32 _has_bits_[(7+31)/32]
void SetCachedSize(int size) const
void SetCachedSize(int size) const
::google::protobuf::UnknownFieldSet _unknown_fields_
int certificate_size() const
static const int kPaymentFieldNumber
static const int kSerializedPaymentDetailsFieldNumber
int refund_to_size() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
const ::std::string & merchant_data() const
void set_amount(::google::protobuf::uint64 value)
void SetCachedSize(int size) const
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input)
::google::protobuf::RepeatedPtrField< ::payments::Output > outputs_
bool IsInitialized() const
static const int kMerchantDataFieldNumber
bool IsInitialized() const
void set_memo(const ::std::string &value)
PaymentRequest * New() const
static const int kMerchantDataFieldNumber
friend void protobuf_AddDesc_paymentrequest_2eproto()
bool has_serialized_payment_details() const
static const int kMemoFieldNumber
static const int kSignatureFieldNumber
inline::google::protobuf::uint64 time() const
void InitAsDefaultInstance()
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::RepeatedPtrField< ::std::string > transactions_
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::Metadata GetMetadata() const
const ::std::string & pki_type() const
void set_payment_details_version(::google::protobuf::uint32 value)