Bitcoin
paymentrequest.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: paymentrequest.proto
3 
4 #ifndef PROTOBUF_INCLUDED_paymentrequest_2eproto
5 #define PROTOBUF_INCLUDED_paymentrequest_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3007000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3007000 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
32 #include <google/protobuf/extension_set.h> // IWYU pragma: export
33 #include <google/protobuf/unknown_field_set.h>
34 // @@protoc_insertion_point(includes)
35 #include <google/protobuf/port_def.inc>
36 #define PROTOBUF_INTERNAL_EXPORT_paymentrequest_2eproto
37 
38 // Internal implementation detail -- do not use these members.
40  static const ::google::protobuf::internal::ParseTableField entries[]
41  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
42  static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
43  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
44  static const ::google::protobuf::internal::ParseTable schema[6]
45  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
46  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
47  static const ::google::protobuf::internal::SerializationTable serialization_table[];
49 };
51 namespace payments {
52 class Output;
55 class Payment;
58 class PaymentACK;
61 class PaymentDetails;
64 class PaymentRequest;
67 class X509Certificates;
70 } // namespace payments
71 namespace google {
72 namespace protobuf {
73 template<> ::payments::Output* Arena::CreateMaybeMessage<::payments::Output>(Arena*);
74 template<> ::payments::Payment* Arena::CreateMaybeMessage<::payments::Payment>(Arena*);
75 template<> ::payments::PaymentACK* Arena::CreateMaybeMessage<::payments::PaymentACK>(Arena*);
76 template<> ::payments::PaymentDetails* Arena::CreateMaybeMessage<::payments::PaymentDetails>(Arena*);
77 template<> ::payments::PaymentRequest* Arena::CreateMaybeMessage<::payments::PaymentRequest>(Arena*);
78 template<> ::payments::X509Certificates* Arena::CreateMaybeMessage<::payments::X509Certificates>(Arena*);
79 } // namespace protobuf
80 } // namespace google
81 namespace payments {
82 
83 // ===================================================================
84 
85 class Output final :
86  public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:payments.Output) */ {
87  public:
88  Output();
89  virtual ~Output();
90 
91  Output(const Output& from);
92 
93  inline Output& operator=(const Output& from) {
94  CopyFrom(from);
95  return *this;
96  }
97  #if LANG_CXX11
98  Output(Output&& from) noexcept
99  : Output() {
100  *this = ::std::move(from);
101  }
102 
103  inline Output& operator=(Output&& from) noexcept {
104  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
105  if (this != &from) InternalSwap(&from);
106  } else {
107  CopyFrom(from);
108  }
109  return *this;
110  }
111  #endif
112  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
113  return _internal_metadata_.unknown_fields();
114  }
115  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
116  return _internal_metadata_.mutable_unknown_fields();
117  }
118 
119  static const ::google::protobuf::Descriptor* descriptor() {
120  return default_instance().GetDescriptor();
121  }
122  static const Output& default_instance();
123 
124  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
125  static inline const Output* internal_default_instance() {
126  return reinterpret_cast<const Output*>(
128  }
129  static constexpr int kIndexInFileMessages =
130  0;
131 
132  void Swap(Output* other);
133  friend void swap(Output& a, Output& b) {
134  a.Swap(&b);
135  }
136 
137  // implements Message ----------------------------------------------
138 
139  inline Output* New() const final {
140  return CreateMaybeMessage<Output>(nullptr);
141  }
142 
143  Output* New(::google::protobuf::Arena* arena) const final {
144  return CreateMaybeMessage<Output>(arena);
145  }
146  void CopyFrom(const ::google::protobuf::Message& from) final;
147  void MergeFrom(const ::google::protobuf::Message& from) final;
148  void CopyFrom(const Output& from);
149  void MergeFrom(const Output& from);
150  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
151  bool IsInitialized() const final;
152 
153  size_t ByteSizeLong() const final;
154  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
155  static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
156  ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; }
157  #else
159  ::google::protobuf::io::CodedInputStream* input) final;
160  #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
162  ::google::protobuf::io::CodedOutputStream* output) const final;
163  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
164  ::google::protobuf::uint8* target) const final;
165  int GetCachedSize() const final { return _cached_size_.Get(); }
166 
167  private:
168  void SharedCtor();
169  void SharedDtor();
170  void SetCachedSize(int size) const final;
171  void InternalSwap(Output* other);
172  private:
173  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
174  return nullptr;
175  }
176  inline void* MaybeArenaPtr() const {
177  return nullptr;
178  }
179  public:
180 
181  ::google::protobuf::Metadata GetMetadata() const final;
182 
183  // nested types ----------------------------------------------------
184 
185  // accessors -------------------------------------------------------
186 
187  // required bytes script = 2;
188  bool has_script() const;
189  void clear_script();
190  static const int kScriptFieldNumber = 2;
191  const ::std::string& script() const;
192  void set_script(const ::std::string& value);
193  #if LANG_CXX11
194  void set_script(::std::string&& value);
195  #endif
196  void set_script(const char* value);
197  void set_script(const void* value, size_t size);
198  ::std::string* mutable_script();
199  ::std::string* release_script();
200  void set_allocated_script(::std::string* script);
201 
202  // optional uint64 amount = 1 [default = 0];
203  bool has_amount() const;
204  void clear_amount();
205  static const int kAmountFieldNumber = 1;
206  ::google::protobuf::uint64 amount() const;
207  void set_amount(::google::protobuf::uint64 value);
208 
209  // @@protoc_insertion_point(class_scope:payments.Output)
210  private:
212 
213  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
214  ::google::protobuf::internal::HasBits<1> _has_bits_;
215  mutable ::google::protobuf::internal::CachedSize _cached_size_;
216  ::google::protobuf::internal::ArenaStringPtr script_;
217  ::google::protobuf::uint64 amount_;
218  friend struct ::TableStruct_paymentrequest_2eproto;
219 };
220 // -------------------------------------------------------------------
221 
222 class PaymentDetails final :
223  public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:payments.PaymentDetails) */ {
224  public:
225  PaymentDetails();
226  virtual ~PaymentDetails();
227 
228  PaymentDetails(const PaymentDetails& from);
229 
230  inline PaymentDetails& operator=(const PaymentDetails& from) {
231  CopyFrom(from);
232  return *this;
233  }
234  #if LANG_CXX11
235  PaymentDetails(PaymentDetails&& from) noexcept
236  : PaymentDetails() {
237  *this = ::std::move(from);
238  }
239 
240  inline PaymentDetails& operator=(PaymentDetails&& from) noexcept {
241  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
242  if (this != &from) InternalSwap(&from);
243  } else {
244  CopyFrom(from);
245  }
246  return *this;
247  }
248  #endif
249  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
250  return _internal_metadata_.unknown_fields();
251  }
252  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
253  return _internal_metadata_.mutable_unknown_fields();
254  }
255 
256  static const ::google::protobuf::Descriptor* descriptor() {
257  return default_instance().GetDescriptor();
258  }
259  static const PaymentDetails& default_instance();
260 
261  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
262  static inline const PaymentDetails* internal_default_instance() {
263  return reinterpret_cast<const PaymentDetails*>(
265  }
266  static constexpr int kIndexInFileMessages =
267  1;
268 
269  void Swap(PaymentDetails* other);
270  friend void swap(PaymentDetails& a, PaymentDetails& b) {
271  a.Swap(&b);
272  }
273 
274  // implements Message ----------------------------------------------
275 
276  inline PaymentDetails* New() const final {
277  return CreateMaybeMessage<PaymentDetails>(nullptr);
278  }
279 
280  PaymentDetails* New(::google::protobuf::Arena* arena) const final {
281  return CreateMaybeMessage<PaymentDetails>(arena);
282  }
283  void CopyFrom(const ::google::protobuf::Message& from) final;
284  void MergeFrom(const ::google::protobuf::Message& from) final;
285  void CopyFrom(const PaymentDetails& from);
286  void MergeFrom(const PaymentDetails& from);
287  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
288  bool IsInitialized() const final;
289 
290  size_t ByteSizeLong() const final;
291  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
292  static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
293  ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; }
294  #else
296  ::google::protobuf::io::CodedInputStream* input) final;
297  #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
299  ::google::protobuf::io::CodedOutputStream* output) const final;
300  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
301  ::google::protobuf::uint8* target) const final;
302  int GetCachedSize() const final { return _cached_size_.Get(); }
303 
304  private:
305  void SharedCtor();
306  void SharedDtor();
307  void SetCachedSize(int size) const final;
308  void InternalSwap(PaymentDetails* other);
309  private:
310  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
311  return nullptr;
312  }
313  inline void* MaybeArenaPtr() const {
314  return nullptr;
315  }
316  public:
317 
318  ::google::protobuf::Metadata GetMetadata() const final;
319 
320  // nested types ----------------------------------------------------
321 
322  // accessors -------------------------------------------------------
323 
324  // repeated .payments.Output outputs = 2;
325  int outputs_size() const;
326  void clear_outputs();
327  static const int kOutputsFieldNumber = 2;
328  ::payments::Output* mutable_outputs(int index);
329  ::google::protobuf::RepeatedPtrField< ::payments::Output >*
330  mutable_outputs();
331  const ::payments::Output& outputs(int index) const;
333  const ::google::protobuf::RepeatedPtrField< ::payments::Output >&
334  outputs() const;
335 
336  // optional string network = 1 [default = "main"];
337  bool has_network() const;
338  void clear_network();
339  static const int kNetworkFieldNumber = 1;
340  const ::std::string& network() const;
341  void set_network(const ::std::string& value);
342  #if LANG_CXX11
343  void set_network(::std::string&& value);
344  #endif
345  void set_network(const char* value);
346  void set_network(const char* value, size_t size);
347  ::std::string* mutable_network();
348  ::std::string* release_network();
349  void set_allocated_network(::std::string* network);
350 
351  // optional string memo = 5;
352  bool has_memo() const;
353  void clear_memo();
354  static const int kMemoFieldNumber = 5;
355  const ::std::string& memo() const;
356  void set_memo(const ::std::string& value);
357  #if LANG_CXX11
358  void set_memo(::std::string&& value);
359  #endif
360  void set_memo(const char* value);
361  void set_memo(const char* value, size_t size);
362  ::std::string* mutable_memo();
363  ::std::string* release_memo();
364  void set_allocated_memo(::std::string* memo);
365 
366  // optional string payment_url = 6;
367  bool has_payment_url() const;
368  void clear_payment_url();
369  static const int kPaymentUrlFieldNumber = 6;
370  const ::std::string& payment_url() const;
371  void set_payment_url(const ::std::string& value);
372  #if LANG_CXX11
373  void set_payment_url(::std::string&& value);
374  #endif
375  void set_payment_url(const char* value);
376  void set_payment_url(const char* value, size_t size);
377  ::std::string* mutable_payment_url();
378  ::std::string* release_payment_url();
379  void set_allocated_payment_url(::std::string* payment_url);
380 
381  // optional bytes merchant_data = 7;
382  bool has_merchant_data() const;
383  void clear_merchant_data();
384  static const int kMerchantDataFieldNumber = 7;
385  const ::std::string& merchant_data() const;
386  void set_merchant_data(const ::std::string& value);
387  #if LANG_CXX11
388  void set_merchant_data(::std::string&& value);
389  #endif
390  void set_merchant_data(const char* value);
391  void set_merchant_data(const void* value, size_t size);
392  ::std::string* mutable_merchant_data();
393  ::std::string* release_merchant_data();
394  void set_allocated_merchant_data(::std::string* merchant_data);
395 
396  // required uint64 time = 3;
397  bool has_time() const;
398  void clear_time();
399  static const int kTimeFieldNumber = 3;
400  ::google::protobuf::uint64 time() const;
401  void set_time(::google::protobuf::uint64 value);
402 
403  // optional uint64 expires = 4;
404  bool has_expires() const;
405  void clear_expires();
406  static const int kExpiresFieldNumber = 4;
407  ::google::protobuf::uint64 expires() const;
408  void set_expires(::google::protobuf::uint64 value);
409 
410  // @@protoc_insertion_point(class_scope:payments.PaymentDetails)
411  private:
413 
414  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
415  ::google::protobuf::internal::HasBits<1> _has_bits_;
416  mutable ::google::protobuf::internal::CachedSize _cached_size_;
417  ::google::protobuf::RepeatedPtrField< ::payments::Output > outputs_;
418  public:
419  static ::google::protobuf::internal::ExplicitlyConstructed<::std::string> _i_give_permission_to_break_this_code_default_network_;
420  private:
421  ::google::protobuf::internal::ArenaStringPtr network_;
422  ::google::protobuf::internal::ArenaStringPtr memo_;
423  ::google::protobuf::internal::ArenaStringPtr payment_url_;
424  ::google::protobuf::internal::ArenaStringPtr merchant_data_;
425  ::google::protobuf::uint64 time_;
426  ::google::protobuf::uint64 expires_;
427  friend struct ::TableStruct_paymentrequest_2eproto;
428 };
429 // -------------------------------------------------------------------
430 
431 class PaymentRequest final :
432  public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:payments.PaymentRequest) */ {
433  public:
434  PaymentRequest();
435  virtual ~PaymentRequest();
436 
437  PaymentRequest(const PaymentRequest& from);
438 
439  inline PaymentRequest& operator=(const PaymentRequest& from) {
440  CopyFrom(from);
441  return *this;
442  }
443  #if LANG_CXX11
444  PaymentRequest(PaymentRequest&& from) noexcept
445  : PaymentRequest() {
446  *this = ::std::move(from);
447  }
448 
449  inline PaymentRequest& operator=(PaymentRequest&& from) noexcept {
450  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
451  if (this != &from) InternalSwap(&from);
452  } else {
453  CopyFrom(from);
454  }
455  return *this;
456  }
457  #endif
458  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
459  return _internal_metadata_.unknown_fields();
460  }
461  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
462  return _internal_metadata_.mutable_unknown_fields();
463  }
464 
465  static const ::google::protobuf::Descriptor* descriptor() {
466  return default_instance().GetDescriptor();
467  }
468  static const PaymentRequest& default_instance();
469 
470  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
471  static inline const PaymentRequest* internal_default_instance() {
472  return reinterpret_cast<const PaymentRequest*>(
474  }
475  static constexpr int kIndexInFileMessages =
476  2;
477 
478  void Swap(PaymentRequest* other);
479  friend void swap(PaymentRequest& a, PaymentRequest& b) {
480  a.Swap(&b);
481  }
482 
483  // implements Message ----------------------------------------------
484 
485  inline PaymentRequest* New() const final {
486  return CreateMaybeMessage<PaymentRequest>(nullptr);
487  }
488 
489  PaymentRequest* New(::google::protobuf::Arena* arena) const final {
490  return CreateMaybeMessage<PaymentRequest>(arena);
491  }
492  void CopyFrom(const ::google::protobuf::Message& from) final;
493  void MergeFrom(const ::google::protobuf::Message& from) final;
494  void CopyFrom(const PaymentRequest& from);
495  void MergeFrom(const PaymentRequest& from);
496  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
497  bool IsInitialized() const final;
498 
499  size_t ByteSizeLong() const final;
500  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
501  static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
502  ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; }
503  #else
505  ::google::protobuf::io::CodedInputStream* input) final;
506  #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
508  ::google::protobuf::io::CodedOutputStream* output) const final;
509  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
510  ::google::protobuf::uint8* target) const final;
511  int GetCachedSize() const final { return _cached_size_.Get(); }
512 
513  private:
514  void SharedCtor();
515  void SharedDtor();
516  void SetCachedSize(int size) const final;
517  void InternalSwap(PaymentRequest* other);
518  private:
519  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
520  return nullptr;
521  }
522  inline void* MaybeArenaPtr() const {
523  return nullptr;
524  }
525  public:
526 
527  ::google::protobuf::Metadata GetMetadata() const final;
528 
529  // nested types ----------------------------------------------------
530 
531  // accessors -------------------------------------------------------
532 
533  // optional string pki_type = 2 [default = "none"];
534  bool has_pki_type() const;
535  void clear_pki_type();
536  static const int kPkiTypeFieldNumber = 2;
537  const ::std::string& pki_type() const;
538  void set_pki_type(const ::std::string& value);
539  #if LANG_CXX11
540  void set_pki_type(::std::string&& value);
541  #endif
542  void set_pki_type(const char* value);
543  void set_pki_type(const char* value, size_t size);
544  ::std::string* mutable_pki_type();
545  ::std::string* release_pki_type();
546  void set_allocated_pki_type(::std::string* pki_type);
547 
548  // optional bytes pki_data = 3;
549  bool has_pki_data() const;
550  void clear_pki_data();
551  static const int kPkiDataFieldNumber = 3;
552  const ::std::string& pki_data() const;
553  void set_pki_data(const ::std::string& value);
554  #if LANG_CXX11
555  void set_pki_data(::std::string&& value);
556  #endif
557  void set_pki_data(const char* value);
558  void set_pki_data(const void* value, size_t size);
559  ::std::string* mutable_pki_data();
560  ::std::string* release_pki_data();
561  void set_allocated_pki_data(::std::string* pki_data);
562 
563  // required bytes serialized_payment_details = 4;
564  bool has_serialized_payment_details() const;
567  const ::std::string& serialized_payment_details() const;
568  void set_serialized_payment_details(const ::std::string& value);
569  #if LANG_CXX11
570  void set_serialized_payment_details(::std::string&& value);
571  #endif
572  void set_serialized_payment_details(const char* value);
573  void set_serialized_payment_details(const void* value, size_t size);
574  ::std::string* mutable_serialized_payment_details();
575  ::std::string* release_serialized_payment_details();
577 
578  // optional bytes signature = 5;
579  bool has_signature() const;
580  void clear_signature();
581  static const int kSignatureFieldNumber = 5;
582  const ::std::string& signature() const;
583  void set_signature(const ::std::string& value);
584  #if LANG_CXX11
585  void set_signature(::std::string&& value);
586  #endif
587  void set_signature(const char* value);
588  void set_signature(const void* value, size_t size);
589  ::std::string* mutable_signature();
590  ::std::string* release_signature();
591  void set_allocated_signature(::std::string* signature);
592 
593  // optional uint32 payment_details_version = 1 [default = 1];
594  bool has_payment_details_version() const;
596  static const int kPaymentDetailsVersionFieldNumber = 1;
599 
600  // @@protoc_insertion_point(class_scope:payments.PaymentRequest)
601  private:
603 
604  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
605  ::google::protobuf::internal::HasBits<1> _has_bits_;
606  mutable ::google::protobuf::internal::CachedSize _cached_size_;
607  public:
608  static ::google::protobuf::internal::ExplicitlyConstructed<::std::string> _i_give_permission_to_break_this_code_default_pki_type_;
609  private:
610  ::google::protobuf::internal::ArenaStringPtr pki_type_;
611  ::google::protobuf::internal::ArenaStringPtr pki_data_;
612  ::google::protobuf::internal::ArenaStringPtr serialized_payment_details_;
613  ::google::protobuf::internal::ArenaStringPtr signature_;
615  friend struct ::TableStruct_paymentrequest_2eproto;
616 };
617 // -------------------------------------------------------------------
618 
619 class X509Certificates final :
620  public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:payments.X509Certificates) */ {
621  public:
623  virtual ~X509Certificates();
624 
625  X509Certificates(const X509Certificates& from);
626 
628  CopyFrom(from);
629  return *this;
630  }
631  #if LANG_CXX11
632  X509Certificates(X509Certificates&& from) noexcept
633  : X509Certificates() {
634  *this = ::std::move(from);
635  }
636 
637  inline X509Certificates& operator=(X509Certificates&& from) noexcept {
638  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
639  if (this != &from) InternalSwap(&from);
640  } else {
641  CopyFrom(from);
642  }
643  return *this;
644  }
645  #endif
646  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
647  return _internal_metadata_.unknown_fields();
648  }
649  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
650  return _internal_metadata_.mutable_unknown_fields();
651  }
652 
653  static const ::google::protobuf::Descriptor* descriptor() {
654  return default_instance().GetDescriptor();
655  }
656  static const X509Certificates& default_instance();
657 
658  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
660  return reinterpret_cast<const X509Certificates*>(
662  }
663  static constexpr int kIndexInFileMessages =
664  3;
665 
666  void Swap(X509Certificates* other);
667  friend void swap(X509Certificates& a, X509Certificates& b) {
668  a.Swap(&b);
669  }
670 
671  // implements Message ----------------------------------------------
672 
673  inline X509Certificates* New() const final {
674  return CreateMaybeMessage<X509Certificates>(nullptr);
675  }
676 
677  X509Certificates* New(::google::protobuf::Arena* arena) const final {
678  return CreateMaybeMessage<X509Certificates>(arena);
679  }
680  void CopyFrom(const ::google::protobuf::Message& from) final;
681  void MergeFrom(const ::google::protobuf::Message& from) final;
682  void CopyFrom(const X509Certificates& from);
683  void MergeFrom(const X509Certificates& from);
684  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
685  bool IsInitialized() const final;
686 
687  size_t ByteSizeLong() const final;
688  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
689  static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
690  ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; }
691  #else
693  ::google::protobuf::io::CodedInputStream* input) final;
694  #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
696  ::google::protobuf::io::CodedOutputStream* output) const final;
697  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
698  ::google::protobuf::uint8* target) const final;
699  int GetCachedSize() const final { return _cached_size_.Get(); }
700 
701  private:
702  void SharedCtor();
703  void SharedDtor();
704  void SetCachedSize(int size) const final;
705  void InternalSwap(X509Certificates* other);
706  private:
707  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
708  return nullptr;
709  }
710  inline void* MaybeArenaPtr() const {
711  return nullptr;
712  }
713  public:
714 
715  ::google::protobuf::Metadata GetMetadata() const final;
716 
717  // nested types ----------------------------------------------------
718 
719  // accessors -------------------------------------------------------
720 
721  // repeated bytes certificate = 1;
722  int certificate_size() const;
723  void clear_certificate();
724  static const int kCertificateFieldNumber = 1;
725  const ::std::string& certificate(int index) const;
726  ::std::string* mutable_certificate(int index);
727  void set_certificate(int index, const ::std::string& value);
728  #if LANG_CXX11
729  void set_certificate(int index, ::std::string&& value);
730  #endif
731  void set_certificate(int index, const char* value);
732  void set_certificate(int index, const void* value, size_t size);
733  ::std::string* add_certificate();
734  void add_certificate(const ::std::string& value);
735  #if LANG_CXX11
736  void add_certificate(::std::string&& value);
737  #endif
738  void add_certificate(const char* value);
739  void add_certificate(const void* value, size_t size);
740  const ::google::protobuf::RepeatedPtrField<::std::string>& certificate() const;
741  ::google::protobuf::RepeatedPtrField<::std::string>* mutable_certificate();
742 
743  // @@protoc_insertion_point(class_scope:payments.X509Certificates)
744  private:
746 
747  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
748  ::google::protobuf::internal::HasBits<1> _has_bits_;
749  mutable ::google::protobuf::internal::CachedSize _cached_size_;
750  ::google::protobuf::RepeatedPtrField<::std::string> certificate_;
751  friend struct ::TableStruct_paymentrequest_2eproto;
752 };
753 // -------------------------------------------------------------------
754 
755 class Payment final :
756  public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:payments.Payment) */ {
757  public:
758  Payment();
759  virtual ~Payment();
760 
761  Payment(const Payment& from);
762 
763  inline Payment& operator=(const Payment& from) {
764  CopyFrom(from);
765  return *this;
766  }
767  #if LANG_CXX11
768  Payment(Payment&& from) noexcept
769  : Payment() {
770  *this = ::std::move(from);
771  }
772 
773  inline Payment& operator=(Payment&& from) noexcept {
774  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
775  if (this != &from) InternalSwap(&from);
776  } else {
777  CopyFrom(from);
778  }
779  return *this;
780  }
781  #endif
782  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
783  return _internal_metadata_.unknown_fields();
784  }
785  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
786  return _internal_metadata_.mutable_unknown_fields();
787  }
788 
789  static const ::google::protobuf::Descriptor* descriptor() {
790  return default_instance().GetDescriptor();
791  }
792  static const Payment& default_instance();
793 
794  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
795  static inline const Payment* internal_default_instance() {
796  return reinterpret_cast<const Payment*>(
798  }
799  static constexpr int kIndexInFileMessages =
800  4;
801 
802  void Swap(Payment* other);
803  friend void swap(Payment& a, Payment& b) {
804  a.Swap(&b);
805  }
806 
807  // implements Message ----------------------------------------------
808 
809  inline Payment* New() const final {
810  return CreateMaybeMessage<Payment>(nullptr);
811  }
812 
813  Payment* New(::google::protobuf::Arena* arena) const final {
814  return CreateMaybeMessage<Payment>(arena);
815  }
816  void CopyFrom(const ::google::protobuf::Message& from) final;
817  void MergeFrom(const ::google::protobuf::Message& from) final;
818  void CopyFrom(const Payment& from);
819  void MergeFrom(const Payment& from);
820  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
821  bool IsInitialized() const final;
822 
823  size_t ByteSizeLong() const final;
824  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
825  static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
826  ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; }
827  #else
829  ::google::protobuf::io::CodedInputStream* input) final;
830  #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
832  ::google::protobuf::io::CodedOutputStream* output) const final;
833  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
834  ::google::protobuf::uint8* target) const final;
835  int GetCachedSize() const final { return _cached_size_.Get(); }
836 
837  private:
838  void SharedCtor();
839  void SharedDtor();
840  void SetCachedSize(int size) const final;
841  void InternalSwap(Payment* other);
842  private:
843  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
844  return nullptr;
845  }
846  inline void* MaybeArenaPtr() const {
847  return nullptr;
848  }
849  public:
850 
851  ::google::protobuf::Metadata GetMetadata() const final;
852 
853  // nested types ----------------------------------------------------
854 
855  // accessors -------------------------------------------------------
856 
857  // repeated bytes transactions = 2;
858  int transactions_size() const;
859  void clear_transactions();
860  static const int kTransactionsFieldNumber = 2;
861  const ::std::string& transactions(int index) const;
862  ::std::string* mutable_transactions(int index);
863  void set_transactions(int index, const ::std::string& value);
864  #if LANG_CXX11
865  void set_transactions(int index, ::std::string&& value);
866  #endif
867  void set_transactions(int index, const char* value);
868  void set_transactions(int index, const void* value, size_t size);
869  ::std::string* add_transactions();
870  void add_transactions(const ::std::string& value);
871  #if LANG_CXX11
872  void add_transactions(::std::string&& value);
873  #endif
874  void add_transactions(const char* value);
875  void add_transactions(const void* value, size_t size);
876  const ::google::protobuf::RepeatedPtrField<::std::string>& transactions() const;
877  ::google::protobuf::RepeatedPtrField<::std::string>* mutable_transactions();
878 
879  // repeated .payments.Output refund_to = 3;
880  int refund_to_size() const;
881  void clear_refund_to();
882  static const int kRefundToFieldNumber = 3;
884  ::google::protobuf::RepeatedPtrField< ::payments::Output >*
886  const ::payments::Output& refund_to(int index) const;
888  const ::google::protobuf::RepeatedPtrField< ::payments::Output >&
889  refund_to() const;
890 
891  // optional bytes merchant_data = 1;
892  bool has_merchant_data() const;
893  void clear_merchant_data();
894  static const int kMerchantDataFieldNumber = 1;
895  const ::std::string& merchant_data() const;
896  void set_merchant_data(const ::std::string& value);
897  #if LANG_CXX11
898  void set_merchant_data(::std::string&& value);
899  #endif
900  void set_merchant_data(const char* value);
901  void set_merchant_data(const void* value, size_t size);
902  ::std::string* mutable_merchant_data();
903  ::std::string* release_merchant_data();
904  void set_allocated_merchant_data(::std::string* merchant_data);
905 
906  // optional string memo = 4;
907  bool has_memo() const;
908  void clear_memo();
909  static const int kMemoFieldNumber = 4;
910  const ::std::string& memo() const;
911  void set_memo(const ::std::string& value);
912  #if LANG_CXX11
913  void set_memo(::std::string&& value);
914  #endif
915  void set_memo(const char* value);
916  void set_memo(const char* value, size_t size);
917  ::std::string* mutable_memo();
918  ::std::string* release_memo();
919  void set_allocated_memo(::std::string* memo);
920 
921  // @@protoc_insertion_point(class_scope:payments.Payment)
922  private:
924 
925  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
926  ::google::protobuf::internal::HasBits<1> _has_bits_;
927  mutable ::google::protobuf::internal::CachedSize _cached_size_;
928  ::google::protobuf::RepeatedPtrField<::std::string> transactions_;
929  ::google::protobuf::RepeatedPtrField< ::payments::Output > refund_to_;
930  ::google::protobuf::internal::ArenaStringPtr merchant_data_;
931  ::google::protobuf::internal::ArenaStringPtr memo_;
932  friend struct ::TableStruct_paymentrequest_2eproto;
933 };
934 // -------------------------------------------------------------------
935 
936 class PaymentACK final :
937  public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:payments.PaymentACK) */ {
938  public:
939  PaymentACK();
940  virtual ~PaymentACK();
941 
942  PaymentACK(const PaymentACK& from);
943 
944  inline PaymentACK& operator=(const PaymentACK& from) {
945  CopyFrom(from);
946  return *this;
947  }
948  #if LANG_CXX11
949  PaymentACK(PaymentACK&& from) noexcept
950  : PaymentACK() {
951  *this = ::std::move(from);
952  }
953 
954  inline PaymentACK& operator=(PaymentACK&& from) noexcept {
955  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
956  if (this != &from) InternalSwap(&from);
957  } else {
958  CopyFrom(from);
959  }
960  return *this;
961  }
962  #endif
963  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
964  return _internal_metadata_.unknown_fields();
965  }
966  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
967  return _internal_metadata_.mutable_unknown_fields();
968  }
969 
970  static const ::google::protobuf::Descriptor* descriptor() {
971  return default_instance().GetDescriptor();
972  }
973  static const PaymentACK& default_instance();
974 
975  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
976  static inline const PaymentACK* internal_default_instance() {
977  return reinterpret_cast<const PaymentACK*>(
979  }
980  static constexpr int kIndexInFileMessages =
981  5;
982 
983  void Swap(PaymentACK* other);
984  friend void swap(PaymentACK& a, PaymentACK& b) {
985  a.Swap(&b);
986  }
987 
988  // implements Message ----------------------------------------------
989 
990  inline PaymentACK* New() const final {
991  return CreateMaybeMessage<PaymentACK>(nullptr);
992  }
993 
994  PaymentACK* New(::google::protobuf::Arena* arena) const final {
995  return CreateMaybeMessage<PaymentACK>(arena);
996  }
997  void CopyFrom(const ::google::protobuf::Message& from) final;
998  void MergeFrom(const ::google::protobuf::Message& from) final;
999  void CopyFrom(const PaymentACK& from);
1000  void MergeFrom(const PaymentACK& from);
1001  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1002  bool IsInitialized() const final;
1003 
1004  size_t ByteSizeLong() const final;
1005  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1006  static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
1007  ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; }
1008  #else
1010  ::google::protobuf::io::CodedInputStream* input) final;
1011  #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1013  ::google::protobuf::io::CodedOutputStream* output) const final;
1014  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1015  ::google::protobuf::uint8* target) const final;
1016  int GetCachedSize() const final { return _cached_size_.Get(); }
1017 
1018  private:
1019  void SharedCtor();
1020  void SharedDtor();
1021  void SetCachedSize(int size) const final;
1022  void InternalSwap(PaymentACK* other);
1023  private:
1024  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1025  return nullptr;
1026  }
1027  inline void* MaybeArenaPtr() const {
1028  return nullptr;
1029  }
1030  public:
1031 
1032  ::google::protobuf::Metadata GetMetadata() const final;
1033 
1034  // nested types ----------------------------------------------------
1035 
1036  // accessors -------------------------------------------------------
1037 
1038  // optional string memo = 2;
1039  bool has_memo() const;
1040  void clear_memo();
1041  static const int kMemoFieldNumber = 2;
1042  const ::std::string& memo() const;
1043  void set_memo(const ::std::string& value);
1044  #if LANG_CXX11
1045  void set_memo(::std::string&& value);
1046  #endif
1047  void set_memo(const char* value);
1048  void set_memo(const char* value, size_t size);
1049  ::std::string* mutable_memo();
1050  ::std::string* release_memo();
1051  void set_allocated_memo(::std::string* memo);
1052 
1053  // required .payments.Payment payment = 1;
1054  bool has_payment() const;
1055  void clear_payment();
1056  static const int kPaymentFieldNumber = 1;
1057  const ::payments::Payment& payment() const;
1061 
1062  // @@protoc_insertion_point(class_scope:payments.PaymentACK)
1063  private:
1065 
1066  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1067  ::google::protobuf::internal::HasBits<1> _has_bits_;
1068  mutable ::google::protobuf::internal::CachedSize _cached_size_;
1069  ::google::protobuf::internal::ArenaStringPtr memo_;
1071  friend struct ::TableStruct_paymentrequest_2eproto;
1072 };
1073 // ===================================================================
1074 
1075 
1076 // ===================================================================
1077 
1078 #ifdef __GNUC__
1079  #pragma GCC diagnostic push
1080  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1081 #endif // __GNUC__
1082 // Output
1083 
1084 // optional uint64 amount = 1 [default = 0];
1085 inline bool Output::has_amount() const {
1086  return (_has_bits_[0] & 0x00000002u) != 0;
1087 }
1088 inline void Output::clear_amount() {
1089  amount_ = PROTOBUF_ULONGLONG(0);
1090  _has_bits_[0] &= ~0x00000002u;
1091 }
1092 inline ::google::protobuf::uint64 Output::amount() const {
1093  // @@protoc_insertion_point(field_get:payments.Output.amount)
1094  return amount_;
1095 }
1096 inline void Output::set_amount(::google::protobuf::uint64 value) {
1097  _has_bits_[0] |= 0x00000002u;
1098  amount_ = value;
1099  // @@protoc_insertion_point(field_set:payments.Output.amount)
1100 }
1101 
1102 // required bytes script = 2;
1103 inline bool Output::has_script() const {
1104  return (_has_bits_[0] & 0x00000001u) != 0;
1105 }
1106 inline void Output::clear_script() {
1107  script_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1108  _has_bits_[0] &= ~0x00000001u;
1109 }
1110 inline const ::std::string& Output::script() const {
1111  // @@protoc_insertion_point(field_get:payments.Output.script)
1112  return script_.GetNoArena();
1113 }
1114 inline void Output::set_script(const ::std::string& value) {
1115  _has_bits_[0] |= 0x00000001u;
1116  script_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1117  // @@protoc_insertion_point(field_set:payments.Output.script)
1118 }
1119 #if LANG_CXX11
1120 inline void Output::set_script(::std::string&& value) {
1121  _has_bits_[0] |= 0x00000001u;
1122  script_.SetNoArena(
1123  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1124  // @@protoc_insertion_point(field_set_rvalue:payments.Output.script)
1125 }
1126 #endif
1127 inline void Output::set_script(const char* value) {
1128  GOOGLE_DCHECK(value != nullptr);
1129  _has_bits_[0] |= 0x00000001u;
1130  script_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1131  // @@protoc_insertion_point(field_set_char:payments.Output.script)
1132 }
1133 inline void Output::set_script(const void* value, size_t size) {
1134  _has_bits_[0] |= 0x00000001u;
1135  script_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1136  ::std::string(reinterpret_cast<const char*>(value), size));
1137  // @@protoc_insertion_point(field_set_pointer:payments.Output.script)
1138 }
1139 inline ::std::string* Output::mutable_script() {
1140  _has_bits_[0] |= 0x00000001u;
1141  // @@protoc_insertion_point(field_mutable:payments.Output.script)
1142  return script_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1143 }
1144 inline ::std::string* Output::release_script() {
1145  // @@protoc_insertion_point(field_release:payments.Output.script)
1146  if (!has_script()) {
1147  return nullptr;
1148  }
1149  _has_bits_[0] &= ~0x00000001u;
1150  return script_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1151 }
1152 inline void Output::set_allocated_script(::std::string* script) {
1153  if (script != nullptr) {
1154  _has_bits_[0] |= 0x00000001u;
1155  } else {
1156  _has_bits_[0] &= ~0x00000001u;
1157  }
1158  script_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), script);
1159  // @@protoc_insertion_point(field_set_allocated:payments.Output.script)
1160 }
1161 
1162 // -------------------------------------------------------------------
1163 
1164 // PaymentDetails
1165 
1166 // optional string network = 1 [default = "main"];
1167 inline bool PaymentDetails::has_network() const {
1168  return (_has_bits_[0] & 0x00000001u) != 0;
1169 }
1172  _has_bits_[0] &= ~0x00000001u;
1173 }
1174 inline const ::std::string& PaymentDetails::network() const {
1175  // @@protoc_insertion_point(field_get:payments.PaymentDetails.network)
1176  return network_.GetNoArena();
1177 }
1178 inline void PaymentDetails::set_network(const ::std::string& value) {
1179  _has_bits_[0] |= 0x00000001u;
1181  // @@protoc_insertion_point(field_set:payments.PaymentDetails.network)
1182 }
1183 #if LANG_CXX11
1184 inline void PaymentDetails::set_network(::std::string&& value) {
1185  _has_bits_[0] |= 0x00000001u;
1186  network_.SetNoArena(
1188  // @@protoc_insertion_point(field_set_rvalue:payments.PaymentDetails.network)
1189 }
1190 #endif
1191 inline void PaymentDetails::set_network(const char* value) {
1192  GOOGLE_DCHECK(value != nullptr);
1193  _has_bits_[0] |= 0x00000001u;
1195  // @@protoc_insertion_point(field_set_char:payments.PaymentDetails.network)
1196 }
1197 inline void PaymentDetails::set_network(const char* value, size_t size) {
1198  _has_bits_[0] |= 0x00000001u;
1200  ::std::string(reinterpret_cast<const char*>(value), size));
1201  // @@protoc_insertion_point(field_set_pointer:payments.PaymentDetails.network)
1202 }
1203 inline ::std::string* PaymentDetails::mutable_network() {
1204  _has_bits_[0] |= 0x00000001u;
1205  // @@protoc_insertion_point(field_mutable:payments.PaymentDetails.network)
1207 }
1208 inline ::std::string* PaymentDetails::release_network() {
1209  // @@protoc_insertion_point(field_release:payments.PaymentDetails.network)
1210  if (!has_network()) {
1211  return nullptr;
1212  }
1213  _has_bits_[0] &= ~0x00000001u;
1215 }
1216 inline void PaymentDetails::set_allocated_network(::std::string* network) {
1217  if (network != nullptr) {
1218  _has_bits_[0] |= 0x00000001u;
1219  } else {
1220  _has_bits_[0] &= ~0x00000001u;
1221  }
1223  // @@protoc_insertion_point(field_set_allocated:payments.PaymentDetails.network)
1224 }
1225 
1226 // repeated .payments.Output outputs = 2;
1227 inline int PaymentDetails::outputs_size() const {
1228  return outputs_.size();
1229 }
1231  outputs_.Clear();
1232 }
1233 inline ::payments::Output* PaymentDetails::mutable_outputs(int index) {
1234  // @@protoc_insertion_point(field_mutable:payments.PaymentDetails.outputs)
1235  return outputs_.Mutable(index);
1236 }
1237 inline ::google::protobuf::RepeatedPtrField< ::payments::Output >*
1239  // @@protoc_insertion_point(field_mutable_list:payments.PaymentDetails.outputs)
1240  return &outputs_;
1241 }
1242 inline const ::payments::Output& PaymentDetails::outputs(int index) const {
1243  // @@protoc_insertion_point(field_get:payments.PaymentDetails.outputs)
1244  return outputs_.Get(index);
1245 }
1246 inline ::payments::Output* PaymentDetails::add_outputs() {
1247  // @@protoc_insertion_point(field_add:payments.PaymentDetails.outputs)
1248  return outputs_.Add();
1249 }
1250 inline const ::google::protobuf::RepeatedPtrField< ::payments::Output >&
1252  // @@protoc_insertion_point(field_list:payments.PaymentDetails.outputs)
1253  return outputs_;
1254 }
1255 
1256 // required uint64 time = 3;
1257 inline bool PaymentDetails::has_time() const {
1258  return (_has_bits_[0] & 0x00000010u) != 0;
1259 }
1261  time_ = PROTOBUF_ULONGLONG(0);
1262  _has_bits_[0] &= ~0x00000010u;
1263 }
1264 inline ::google::protobuf::uint64 PaymentDetails::time() const {
1265  // @@protoc_insertion_point(field_get:payments.PaymentDetails.time)
1266  return time_;
1267 }
1268 inline void PaymentDetails::set_time(::google::protobuf::uint64 value) {
1269  _has_bits_[0] |= 0x00000010u;
1270  time_ = value;
1271  // @@protoc_insertion_point(field_set:payments.PaymentDetails.time)
1272 }
1273 
1274 // optional uint64 expires = 4;
1275 inline bool PaymentDetails::has_expires() const {
1276  return (_has_bits_[0] & 0x00000020u) != 0;
1277 }
1279  expires_ = PROTOBUF_ULONGLONG(0);
1280  _has_bits_[0] &= ~0x00000020u;
1281 }
1282 inline ::google::protobuf::uint64 PaymentDetails::expires() const {
1283  // @@protoc_insertion_point(field_get:payments.PaymentDetails.expires)
1284  return expires_;
1285 }
1286 inline void PaymentDetails::set_expires(::google::protobuf::uint64 value) {
1287  _has_bits_[0] |= 0x00000020u;
1288  expires_ = value;
1289  // @@protoc_insertion_point(field_set:payments.PaymentDetails.expires)
1290 }
1291 
1292 // optional string memo = 5;
1293 inline bool PaymentDetails::has_memo() const {
1294  return (_has_bits_[0] & 0x00000002u) != 0;
1295 }
1297  memo_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1298  _has_bits_[0] &= ~0x00000002u;
1299 }
1300 inline const ::std::string& PaymentDetails::memo() const {
1301  // @@protoc_insertion_point(field_get:payments.PaymentDetails.memo)
1302  return memo_.GetNoArena();
1303 }
1304 inline void PaymentDetails::set_memo(const ::std::string& value) {
1305  _has_bits_[0] |= 0x00000002u;
1306  memo_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1307  // @@protoc_insertion_point(field_set:payments.PaymentDetails.memo)
1308 }
1309 #if LANG_CXX11
1310 inline void PaymentDetails::set_memo(::std::string&& value) {
1311  _has_bits_[0] |= 0x00000002u;
1312  memo_.SetNoArena(
1313  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1314  // @@protoc_insertion_point(field_set_rvalue:payments.PaymentDetails.memo)
1315 }
1316 #endif
1317 inline void PaymentDetails::set_memo(const char* value) {
1318  GOOGLE_DCHECK(value != nullptr);
1319  _has_bits_[0] |= 0x00000002u;
1320  memo_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1321  // @@protoc_insertion_point(field_set_char:payments.PaymentDetails.memo)
1322 }
1323 inline void PaymentDetails::set_memo(const char* value, size_t size) {
1324  _has_bits_[0] |= 0x00000002u;
1325  memo_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1326  ::std::string(reinterpret_cast<const char*>(value), size));
1327  // @@protoc_insertion_point(field_set_pointer:payments.PaymentDetails.memo)
1328 }
1329 inline ::std::string* PaymentDetails::mutable_memo() {
1330  _has_bits_[0] |= 0x00000002u;
1331  // @@protoc_insertion_point(field_mutable:payments.PaymentDetails.memo)
1332  return memo_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1333 }
1334 inline ::std::string* PaymentDetails::release_memo() {
1335  // @@protoc_insertion_point(field_release:payments.PaymentDetails.memo)
1336  if (!has_memo()) {
1337  return nullptr;
1338  }
1339  _has_bits_[0] &= ~0x00000002u;
1340  return memo_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1341 }
1342 inline void PaymentDetails::set_allocated_memo(::std::string* memo) {
1343  if (memo != nullptr) {
1344  _has_bits_[0] |= 0x00000002u;
1345  } else {
1346  _has_bits_[0] &= ~0x00000002u;
1347  }
1348  memo_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), memo);
1349  // @@protoc_insertion_point(field_set_allocated:payments.PaymentDetails.memo)
1350 }
1351 
1352 // optional string payment_url = 6;
1353 inline bool PaymentDetails::has_payment_url() const {
1354  return (_has_bits_[0] & 0x00000004u) != 0;
1355 }
1357  payment_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1358  _has_bits_[0] &= ~0x00000004u;
1359 }
1360 inline const ::std::string& PaymentDetails::payment_url() const {
1361  // @@protoc_insertion_point(field_get:payments.PaymentDetails.payment_url)
1362  return payment_url_.GetNoArena();
1363 }
1364 inline void PaymentDetails::set_payment_url(const ::std::string& value) {
1365  _has_bits_[0] |= 0x00000004u;
1366  payment_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1367  // @@protoc_insertion_point(field_set:payments.PaymentDetails.payment_url)
1368 }
1369 #if LANG_CXX11
1370 inline void PaymentDetails::set_payment_url(::std::string&& value) {
1371  _has_bits_[0] |= 0x00000004u;
1372  payment_url_.SetNoArena(
1373  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1374  // @@protoc_insertion_point(field_set_rvalue:payments.PaymentDetails.payment_url)
1375 }
1376 #endif
1377 inline void PaymentDetails::set_payment_url(const char* value) {
1378  GOOGLE_DCHECK(value != nullptr);
1379  _has_bits_[0] |= 0x00000004u;
1380  payment_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1381  // @@protoc_insertion_point(field_set_char:payments.PaymentDetails.payment_url)
1382 }
1383 inline void PaymentDetails::set_payment_url(const char* value, size_t size) {
1384  _has_bits_[0] |= 0x00000004u;
1385  payment_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1386  ::std::string(reinterpret_cast<const char*>(value), size));
1387  // @@protoc_insertion_point(field_set_pointer:payments.PaymentDetails.payment_url)
1388 }
1389 inline ::std::string* PaymentDetails::mutable_payment_url() {
1390  _has_bits_[0] |= 0x00000004u;
1391  // @@protoc_insertion_point(field_mutable:payments.PaymentDetails.payment_url)
1392  return payment_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1393 }
1394 inline ::std::string* PaymentDetails::release_payment_url() {
1395  // @@protoc_insertion_point(field_release:payments.PaymentDetails.payment_url)
1396  if (!has_payment_url()) {
1397  return nullptr;
1398  }
1399  _has_bits_[0] &= ~0x00000004u;
1400  return payment_url_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1401 }
1402 inline void PaymentDetails::set_allocated_payment_url(::std::string* payment_url) {
1403  if (payment_url != nullptr) {
1404  _has_bits_[0] |= 0x00000004u;
1405  } else {
1406  _has_bits_[0] &= ~0x00000004u;
1407  }
1408  payment_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), payment_url);
1409  // @@protoc_insertion_point(field_set_allocated:payments.PaymentDetails.payment_url)
1410 }
1411 
1412 // optional bytes merchant_data = 7;
1414  return (_has_bits_[0] & 0x00000008u) != 0;
1415 }
1417  merchant_data_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1418  _has_bits_[0] &= ~0x00000008u;
1419 }
1420 inline const ::std::string& PaymentDetails::merchant_data() const {
1421  // @@protoc_insertion_point(field_get:payments.PaymentDetails.merchant_data)
1422  return merchant_data_.GetNoArena();
1423 }
1424 inline void PaymentDetails::set_merchant_data(const ::std::string& value) {
1425  _has_bits_[0] |= 0x00000008u;
1426  merchant_data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1427  // @@protoc_insertion_point(field_set:payments.PaymentDetails.merchant_data)
1428 }
1429 #if LANG_CXX11
1430 inline void PaymentDetails::set_merchant_data(::std::string&& value) {
1431  _has_bits_[0] |= 0x00000008u;
1432  merchant_data_.SetNoArena(
1433  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1434  // @@protoc_insertion_point(field_set_rvalue:payments.PaymentDetails.merchant_data)
1435 }
1436 #endif
1437 inline void PaymentDetails::set_merchant_data(const char* value) {
1438  GOOGLE_DCHECK(value != nullptr);
1439  _has_bits_[0] |= 0x00000008u;
1440  merchant_data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1441  // @@protoc_insertion_point(field_set_char:payments.PaymentDetails.merchant_data)
1442 }
1443 inline void PaymentDetails::set_merchant_data(const void* value, size_t size) {
1444  _has_bits_[0] |= 0x00000008u;
1445  merchant_data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1446  ::std::string(reinterpret_cast<const char*>(value), size));
1447  // @@protoc_insertion_point(field_set_pointer:payments.PaymentDetails.merchant_data)
1448 }
1449 inline ::std::string* PaymentDetails::mutable_merchant_data() {
1450  _has_bits_[0] |= 0x00000008u;
1451  // @@protoc_insertion_point(field_mutable:payments.PaymentDetails.merchant_data)
1452  return merchant_data_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1453 }
1454 inline ::std::string* PaymentDetails::release_merchant_data() {
1455  // @@protoc_insertion_point(field_release:payments.PaymentDetails.merchant_data)
1456  if (!has_merchant_data()) {
1457  return nullptr;
1458  }
1459  _has_bits_[0] &= ~0x00000008u;
1460  return merchant_data_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1461 }
1462 inline void PaymentDetails::set_allocated_merchant_data(::std::string* merchant_data) {
1463  if (merchant_data != nullptr) {
1464  _has_bits_[0] |= 0x00000008u;
1465  } else {
1466  _has_bits_[0] &= ~0x00000008u;
1467  }
1468  merchant_data_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), merchant_data);
1469  // @@protoc_insertion_point(field_set_allocated:payments.PaymentDetails.merchant_data)
1470 }
1471 
1472 // -------------------------------------------------------------------
1473 
1474 // PaymentRequest
1475 
1476 // optional uint32 payment_details_version = 1 [default = 1];
1478  return (_has_bits_[0] & 0x00000010u) != 0;
1479 }
1482  _has_bits_[0] &= ~0x00000010u;
1483 }
1485  // @@protoc_insertion_point(field_get:payments.PaymentRequest.payment_details_version)
1486  return payment_details_version_;
1487 }
1489  _has_bits_[0] |= 0x00000010u;
1490  payment_details_version_ = value;
1491  // @@protoc_insertion_point(field_set:payments.PaymentRequest.payment_details_version)
1492 }
1493 
1494 // optional string pki_type = 2 [default = "none"];
1495 inline bool PaymentRequest::has_pki_type() const {
1496  return (_has_bits_[0] & 0x00000001u) != 0;
1497 }
1500  _has_bits_[0] &= ~0x00000001u;
1501 }
1502 inline const ::std::string& PaymentRequest::pki_type() const {
1503  // @@protoc_insertion_point(field_get:payments.PaymentRequest.pki_type)
1504  return pki_type_.GetNoArena();
1505 }
1506 inline void PaymentRequest::set_pki_type(const ::std::string& value) {
1507  _has_bits_[0] |= 0x00000001u;
1509  // @@protoc_insertion_point(field_set:payments.PaymentRequest.pki_type)
1510 }
1511 #if LANG_CXX11
1512 inline void PaymentRequest::set_pki_type(::std::string&& value) {
1513  _has_bits_[0] |= 0x00000001u;
1514  pki_type_.SetNoArena(
1516  // @@protoc_insertion_point(field_set_rvalue:payments.PaymentRequest.pki_type)
1517 }
1518 #endif
1519 inline void PaymentRequest::set_pki_type(const char* value) {
1520  GOOGLE_DCHECK(value != nullptr);
1521  _has_bits_[0] |= 0x00000001u;
1523  // @@protoc_insertion_point(field_set_char:payments.PaymentRequest.pki_type)
1524 }
1525 inline void PaymentRequest::set_pki_type(const char* value, size_t size) {
1526  _has_bits_[0] |= 0x00000001u;
1528  ::std::string(reinterpret_cast<const char*>(value), size));
1529  // @@protoc_insertion_point(field_set_pointer:payments.PaymentRequest.pki_type)
1530 }
1531 inline ::std::string* PaymentRequest::mutable_pki_type() {
1532  _has_bits_[0] |= 0x00000001u;
1533  // @@protoc_insertion_point(field_mutable:payments.PaymentRequest.pki_type)
1535 }
1536 inline ::std::string* PaymentRequest::release_pki_type() {
1537  // @@protoc_insertion_point(field_release:payments.PaymentRequest.pki_type)
1538  if (!has_pki_type()) {
1539  return nullptr;
1540  }
1541  _has_bits_[0] &= ~0x00000001u;
1543 }
1544 inline void PaymentRequest::set_allocated_pki_type(::std::string* pki_type) {
1545  if (pki_type != nullptr) {
1546  _has_bits_[0] |= 0x00000001u;
1547  } else {
1548  _has_bits_[0] &= ~0x00000001u;
1549  }
1551  // @@protoc_insertion_point(field_set_allocated:payments.PaymentRequest.pki_type)
1552 }
1553 
1554 // optional bytes pki_data = 3;
1555 inline bool PaymentRequest::has_pki_data() const {
1556  return (_has_bits_[0] & 0x00000002u) != 0;
1557 }
1559  pki_data_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1560  _has_bits_[0] &= ~0x00000002u;
1561 }
1562 inline const ::std::string& PaymentRequest::pki_data() const {
1563  // @@protoc_insertion_point(field_get:payments.PaymentRequest.pki_data)
1564  return pki_data_.GetNoArena();
1565 }
1566 inline void PaymentRequest::set_pki_data(const ::std::string& value) {
1567  _has_bits_[0] |= 0x00000002u;
1568  pki_data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1569  // @@protoc_insertion_point(field_set:payments.PaymentRequest.pki_data)
1570 }
1571 #if LANG_CXX11
1572 inline void PaymentRequest::set_pki_data(::std::string&& value) {
1573  _has_bits_[0] |= 0x00000002u;
1574  pki_data_.SetNoArena(
1575  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1576  // @@protoc_insertion_point(field_set_rvalue:payments.PaymentRequest.pki_data)
1577 }
1578 #endif
1579 inline void PaymentRequest::set_pki_data(const char* value) {
1580  GOOGLE_DCHECK(value != nullptr);
1581  _has_bits_[0] |= 0x00000002u;
1582  pki_data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1583  // @@protoc_insertion_point(field_set_char:payments.PaymentRequest.pki_data)
1584 }
1585 inline void PaymentRequest::set_pki_data(const void* value, size_t size) {
1586  _has_bits_[0] |= 0x00000002u;
1587  pki_data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1588  ::std::string(reinterpret_cast<const char*>(value), size));
1589  // @@protoc_insertion_point(field_set_pointer:payments.PaymentRequest.pki_data)
1590 }
1591 inline ::std::string* PaymentRequest::mutable_pki_data() {
1592  _has_bits_[0] |= 0x00000002u;
1593  // @@protoc_insertion_point(field_mutable:payments.PaymentRequest.pki_data)
1594  return pki_data_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1595 }
1596 inline ::std::string* PaymentRequest::release_pki_data() {
1597  // @@protoc_insertion_point(field_release:payments.PaymentRequest.pki_data)
1598  if (!has_pki_data()) {
1599  return nullptr;
1600  }
1601  _has_bits_[0] &= ~0x00000002u;
1602  return pki_data_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1603 }
1604 inline void PaymentRequest::set_allocated_pki_data(::std::string* pki_data) {
1605  if (pki_data != nullptr) {
1606  _has_bits_[0] |= 0x00000002u;
1607  } else {
1608  _has_bits_[0] &= ~0x00000002u;
1609  }
1610  pki_data_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), pki_data);
1611  // @@protoc_insertion_point(field_set_allocated:payments.PaymentRequest.pki_data)
1612 }
1613 
1614 // required bytes serialized_payment_details = 4;
1616  return (_has_bits_[0] & 0x00000004u) != 0;
1617 }
1619  serialized_payment_details_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1620  _has_bits_[0] &= ~0x00000004u;
1621 }
1622 inline const ::std::string& PaymentRequest::serialized_payment_details() const {
1623  // @@protoc_insertion_point(field_get:payments.PaymentRequest.serialized_payment_details)
1624  return serialized_payment_details_.GetNoArena();
1625 }
1626 inline void PaymentRequest::set_serialized_payment_details(const ::std::string& value) {
1627  _has_bits_[0] |= 0x00000004u;
1628  serialized_payment_details_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1629  // @@protoc_insertion_point(field_set:payments.PaymentRequest.serialized_payment_details)
1630 }
1631 #if LANG_CXX11
1632 inline void PaymentRequest::set_serialized_payment_details(::std::string&& value) {
1633  _has_bits_[0] |= 0x00000004u;
1634  serialized_payment_details_.SetNoArena(
1635  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1636  // @@protoc_insertion_point(field_set_rvalue:payments.PaymentRequest.serialized_payment_details)
1637 }
1638 #endif
1639 inline void PaymentRequest::set_serialized_payment_details(const char* value) {
1640  GOOGLE_DCHECK(value != nullptr);
1641  _has_bits_[0] |= 0x00000004u;
1642  serialized_payment_details_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1643  // @@protoc_insertion_point(field_set_char:payments.PaymentRequest.serialized_payment_details)
1644 }
1645 inline void PaymentRequest::set_serialized_payment_details(const void* value, size_t size) {
1646  _has_bits_[0] |= 0x00000004u;
1647  serialized_payment_details_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1648  ::std::string(reinterpret_cast<const char*>(value), size));
1649  // @@protoc_insertion_point(field_set_pointer:payments.PaymentRequest.serialized_payment_details)
1650 }
1652  _has_bits_[0] |= 0x00000004u;
1653  // @@protoc_insertion_point(field_mutable:payments.PaymentRequest.serialized_payment_details)
1654  return serialized_payment_details_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1655 }
1657  // @@protoc_insertion_point(field_release:payments.PaymentRequest.serialized_payment_details)
1659  return nullptr;
1660  }
1661  _has_bits_[0] &= ~0x00000004u;
1662  return serialized_payment_details_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1663 }
1664 inline void PaymentRequest::set_allocated_serialized_payment_details(::std::string* serialized_payment_details) {
1665  if (serialized_payment_details != nullptr) {
1666  _has_bits_[0] |= 0x00000004u;
1667  } else {
1668  _has_bits_[0] &= ~0x00000004u;
1669  }
1670  serialized_payment_details_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), serialized_payment_details);
1671  // @@protoc_insertion_point(field_set_allocated:payments.PaymentRequest.serialized_payment_details)
1672 }
1673 
1674 // optional bytes signature = 5;
1675 inline bool PaymentRequest::has_signature() const {
1676  return (_has_bits_[0] & 0x00000008u) != 0;
1677 }
1679  signature_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1680  _has_bits_[0] &= ~0x00000008u;
1681 }
1682 inline const ::std::string& PaymentRequest::signature() const {
1683  // @@protoc_insertion_point(field_get:payments.PaymentRequest.signature)
1684  return signature_.GetNoArena();
1685 }
1686 inline void PaymentRequest::set_signature(const ::std::string& value) {
1687  _has_bits_[0] |= 0x00000008u;
1688  signature_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1689  // @@protoc_insertion_point(field_set:payments.PaymentRequest.signature)
1690 }
1691 #if LANG_CXX11
1692 inline void PaymentRequest::set_signature(::std::string&& value) {
1693  _has_bits_[0] |= 0x00000008u;
1694  signature_.SetNoArena(
1695  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1696  // @@protoc_insertion_point(field_set_rvalue:payments.PaymentRequest.signature)
1697 }
1698 #endif
1699 inline void PaymentRequest::set_signature(const char* value) {
1700  GOOGLE_DCHECK(value != nullptr);
1701  _has_bits_[0] |= 0x00000008u;
1702  signature_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1703  // @@protoc_insertion_point(field_set_char:payments.PaymentRequest.signature)
1704 }
1705 inline void PaymentRequest::set_signature(const void* value, size_t size) {
1706  _has_bits_[0] |= 0x00000008u;
1707  signature_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1708  ::std::string(reinterpret_cast<const char*>(value), size));
1709  // @@protoc_insertion_point(field_set_pointer:payments.PaymentRequest.signature)
1710 }
1711 inline ::std::string* PaymentRequest::mutable_signature() {
1712  _has_bits_[0] |= 0x00000008u;
1713  // @@protoc_insertion_point(field_mutable:payments.PaymentRequest.signature)
1714  return signature_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1715 }
1716 inline ::std::string* PaymentRequest::release_signature() {
1717  // @@protoc_insertion_point(field_release:payments.PaymentRequest.signature)
1718  if (!has_signature()) {
1719  return nullptr;
1720  }
1721  _has_bits_[0] &= ~0x00000008u;
1722  return signature_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1723 }
1724 inline void PaymentRequest::set_allocated_signature(::std::string* signature) {
1725  if (signature != nullptr) {
1726  _has_bits_[0] |= 0x00000008u;
1727  } else {
1728  _has_bits_[0] &= ~0x00000008u;
1729  }
1730  signature_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), signature);
1731  // @@protoc_insertion_point(field_set_allocated:payments.PaymentRequest.signature)
1732 }
1733 
1734 // -------------------------------------------------------------------
1735 
1736 // X509Certificates
1737 
1738 // repeated bytes certificate = 1;
1740  return certificate_.size();
1741 }
1743  certificate_.Clear();
1744 }
1745 inline const ::std::string& X509Certificates::certificate(int index) const {
1746  // @@protoc_insertion_point(field_get:payments.X509Certificates.certificate)
1747  return certificate_.Get(index);
1748 }
1749 inline ::std::string* X509Certificates::mutable_certificate(int index) {
1750  // @@protoc_insertion_point(field_mutable:payments.X509Certificates.certificate)
1751  return certificate_.Mutable(index);
1752 }
1753 inline void X509Certificates::set_certificate(int index, const ::std::string& value) {
1754  // @@protoc_insertion_point(field_set:payments.X509Certificates.certificate)
1755  certificate_.Mutable(index)->assign(value);
1756 }
1757 #if LANG_CXX11
1758 inline void X509Certificates::set_certificate(int index, ::std::string&& value) {
1759  // @@protoc_insertion_point(field_set:payments.X509Certificates.certificate)
1760  certificate_.Mutable(index)->assign(std::move(value));
1761 }
1762 #endif
1763 inline void X509Certificates::set_certificate(int index, const char* value) {
1764  GOOGLE_DCHECK(value != nullptr);
1765  certificate_.Mutable(index)->assign(value);
1766  // @@protoc_insertion_point(field_set_char:payments.X509Certificates.certificate)
1767 }
1768 inline void X509Certificates::set_certificate(int index, const void* value, size_t size) {
1769  certificate_.Mutable(index)->assign(
1770  reinterpret_cast<const char*>(value), size);
1771  // @@protoc_insertion_point(field_set_pointer:payments.X509Certificates.certificate)
1772 }
1773 inline ::std::string* X509Certificates::add_certificate() {
1774  // @@protoc_insertion_point(field_add_mutable:payments.X509Certificates.certificate)
1775  return certificate_.Add();
1776 }
1777 inline void X509Certificates::add_certificate(const ::std::string& value) {
1778  certificate_.Add()->assign(value);
1779  // @@protoc_insertion_point(field_add:payments.X509Certificates.certificate)
1780 }
1781 #if LANG_CXX11
1782 inline void X509Certificates::add_certificate(::std::string&& value) {
1783  certificate_.Add(std::move(value));
1784  // @@protoc_insertion_point(field_add:payments.X509Certificates.certificate)
1785 }
1786 #endif
1787 inline void X509Certificates::add_certificate(const char* value) {
1788  GOOGLE_DCHECK(value != nullptr);
1789  certificate_.Add()->assign(value);
1790  // @@protoc_insertion_point(field_add_char:payments.X509Certificates.certificate)
1791 }
1792 inline void X509Certificates::add_certificate(const void* value, size_t size) {
1793  certificate_.Add()->assign(reinterpret_cast<const char*>(value), size);
1794  // @@protoc_insertion_point(field_add_pointer:payments.X509Certificates.certificate)
1795 }
1796 inline const ::google::protobuf::RepeatedPtrField<::std::string>&
1798  // @@protoc_insertion_point(field_list:payments.X509Certificates.certificate)
1799  return certificate_;
1800 }
1801 inline ::google::protobuf::RepeatedPtrField<::std::string>*
1803  // @@protoc_insertion_point(field_mutable_list:payments.X509Certificates.certificate)
1804  return &certificate_;
1805 }
1806 
1807 // -------------------------------------------------------------------
1808 
1809 // Payment
1810 
1811 // optional bytes merchant_data = 1;
1812 inline bool Payment::has_merchant_data() const {
1813  return (_has_bits_[0] & 0x00000001u) != 0;
1814 }
1816  merchant_data_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1817  _has_bits_[0] &= ~0x00000001u;
1818 }
1819 inline const ::std::string& Payment::merchant_data() const {
1820  // @@protoc_insertion_point(field_get:payments.Payment.merchant_data)
1821  return merchant_data_.GetNoArena();
1822 }
1823 inline void Payment::set_merchant_data(const ::std::string& value) {
1824  _has_bits_[0] |= 0x00000001u;
1825  merchant_data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1826  // @@protoc_insertion_point(field_set:payments.Payment.merchant_data)
1827 }
1828 #if LANG_CXX11
1829 inline void Payment::set_merchant_data(::std::string&& value) {
1830  _has_bits_[0] |= 0x00000001u;
1831  merchant_data_.SetNoArena(
1832  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1833  // @@protoc_insertion_point(field_set_rvalue:payments.Payment.merchant_data)
1834 }
1835 #endif
1836 inline void Payment::set_merchant_data(const char* value) {
1837  GOOGLE_DCHECK(value != nullptr);
1838  _has_bits_[0] |= 0x00000001u;
1839  merchant_data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1840  // @@protoc_insertion_point(field_set_char:payments.Payment.merchant_data)
1841 }
1842 inline void Payment::set_merchant_data(const void* value, size_t size) {
1843  _has_bits_[0] |= 0x00000001u;
1844  merchant_data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1845  ::std::string(reinterpret_cast<const char*>(value), size));
1846  // @@protoc_insertion_point(field_set_pointer:payments.Payment.merchant_data)
1847 }
1848 inline ::std::string* Payment::mutable_merchant_data() {
1849  _has_bits_[0] |= 0x00000001u;
1850  // @@protoc_insertion_point(field_mutable:payments.Payment.merchant_data)
1851  return merchant_data_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1852 }
1853 inline ::std::string* Payment::release_merchant_data() {
1854  // @@protoc_insertion_point(field_release:payments.Payment.merchant_data)
1855  if (!has_merchant_data()) {
1856  return nullptr;
1857  }
1858  _has_bits_[0] &= ~0x00000001u;
1859  return merchant_data_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1860 }
1861 inline void Payment::set_allocated_merchant_data(::std::string* merchant_data) {
1862  if (merchant_data != nullptr) {
1863  _has_bits_[0] |= 0x00000001u;
1864  } else {
1865  _has_bits_[0] &= ~0x00000001u;
1866  }
1867  merchant_data_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), merchant_data);
1868  // @@protoc_insertion_point(field_set_allocated:payments.Payment.merchant_data)
1869 }
1870 
1871 // repeated bytes transactions = 2;
1872 inline int Payment::transactions_size() const {
1873  return transactions_.size();
1874 }
1876  transactions_.Clear();
1877 }
1878 inline const ::std::string& Payment::transactions(int index) const {
1879  // @@protoc_insertion_point(field_get:payments.Payment.transactions)
1880  return transactions_.Get(index);
1881 }
1882 inline ::std::string* Payment::mutable_transactions(int index) {
1883  // @@protoc_insertion_point(field_mutable:payments.Payment.transactions)
1884  return transactions_.Mutable(index);
1885 }
1886 inline void Payment::set_transactions(int index, const ::std::string& value) {
1887  // @@protoc_insertion_point(field_set:payments.Payment.transactions)
1888  transactions_.Mutable(index)->assign(value);
1889 }
1890 #if LANG_CXX11
1891 inline void Payment::set_transactions(int index, ::std::string&& value) {
1892  // @@protoc_insertion_point(field_set:payments.Payment.transactions)
1893  transactions_.Mutable(index)->assign(std::move(value));
1894 }
1895 #endif
1896 inline void Payment::set_transactions(int index, const char* value) {
1897  GOOGLE_DCHECK(value != nullptr);
1898  transactions_.Mutable(index)->assign(value);
1899  // @@protoc_insertion_point(field_set_char:payments.Payment.transactions)
1900 }
1901 inline void Payment::set_transactions(int index, const void* value, size_t size) {
1902  transactions_.Mutable(index)->assign(
1903  reinterpret_cast<const char*>(value), size);
1904  // @@protoc_insertion_point(field_set_pointer:payments.Payment.transactions)
1905 }
1906 inline ::std::string* Payment::add_transactions() {
1907  // @@protoc_insertion_point(field_add_mutable:payments.Payment.transactions)
1908  return transactions_.Add();
1909 }
1910 inline void Payment::add_transactions(const ::std::string& value) {
1911  transactions_.Add()->assign(value);
1912  // @@protoc_insertion_point(field_add:payments.Payment.transactions)
1913 }
1914 #if LANG_CXX11
1915 inline void Payment::add_transactions(::std::string&& value) {
1916  transactions_.Add(std::move(value));
1917  // @@protoc_insertion_point(field_add:payments.Payment.transactions)
1918 }
1919 #endif
1920 inline void Payment::add_transactions(const char* value) {
1921  GOOGLE_DCHECK(value != nullptr);
1922  transactions_.Add()->assign(value);
1923  // @@protoc_insertion_point(field_add_char:payments.Payment.transactions)
1924 }
1925 inline void Payment::add_transactions(const void* value, size_t size) {
1926  transactions_.Add()->assign(reinterpret_cast<const char*>(value), size);
1927  // @@protoc_insertion_point(field_add_pointer:payments.Payment.transactions)
1928 }
1929 inline const ::google::protobuf::RepeatedPtrField<::std::string>&
1931  // @@protoc_insertion_point(field_list:payments.Payment.transactions)
1932  return transactions_;
1933 }
1934 inline ::google::protobuf::RepeatedPtrField<::std::string>*
1936  // @@protoc_insertion_point(field_mutable_list:payments.Payment.transactions)
1937  return &transactions_;
1938 }
1939 
1940 // repeated .payments.Output refund_to = 3;
1941 inline int Payment::refund_to_size() const {
1942  return refund_to_.size();
1943 }
1945  refund_to_.Clear();
1946 }
1947 inline ::payments::Output* Payment::mutable_refund_to(int index) {
1948  // @@protoc_insertion_point(field_mutable:payments.Payment.refund_to)
1949  return refund_to_.Mutable(index);
1950 }
1951 inline ::google::protobuf::RepeatedPtrField< ::payments::Output >*
1953  // @@protoc_insertion_point(field_mutable_list:payments.Payment.refund_to)
1954  return &refund_to_;
1955 }
1956 inline const ::payments::Output& Payment::refund_to(int index) const {
1957  // @@protoc_insertion_point(field_get:payments.Payment.refund_to)
1958  return refund_to_.Get(index);
1959 }
1960 inline ::payments::Output* Payment::add_refund_to() {
1961  // @@protoc_insertion_point(field_add:payments.Payment.refund_to)
1962  return refund_to_.Add();
1963 }
1964 inline const ::google::protobuf::RepeatedPtrField< ::payments::Output >&
1966  // @@protoc_insertion_point(field_list:payments.Payment.refund_to)
1967  return refund_to_;
1968 }
1969 
1970 // optional string memo = 4;
1971 inline bool Payment::has_memo() const {
1972  return (_has_bits_[0] & 0x00000002u) != 0;
1973 }
1974 inline void Payment::clear_memo() {
1975  memo_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1976  _has_bits_[0] &= ~0x00000002u;
1977 }
1978 inline const ::std::string& Payment::memo() const {
1979  // @@protoc_insertion_point(field_get:payments.Payment.memo)
1980  return memo_.GetNoArena();
1981 }
1982 inline void Payment::set_memo(const ::std::string& value) {
1983  _has_bits_[0] |= 0x00000002u;
1984  memo_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1985  // @@protoc_insertion_point(field_set:payments.Payment.memo)
1986 }
1987 #if LANG_CXX11
1988 inline void Payment::set_memo(::std::string&& value) {
1989  _has_bits_[0] |= 0x00000002u;
1990  memo_.SetNoArena(
1991  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1992  // @@protoc_insertion_point(field_set_rvalue:payments.Payment.memo)
1993 }
1994 #endif
1995 inline void Payment::set_memo(const char* value) {
1996  GOOGLE_DCHECK(value != nullptr);
1997  _has_bits_[0] |= 0x00000002u;
1998  memo_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1999  // @@protoc_insertion_point(field_set_char:payments.Payment.memo)
2000 }
2001 inline void Payment::set_memo(const char* value, size_t size) {
2002  _has_bits_[0] |= 0x00000002u;
2003  memo_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2004  ::std::string(reinterpret_cast<const char*>(value), size));
2005  // @@protoc_insertion_point(field_set_pointer:payments.Payment.memo)
2006 }
2007 inline ::std::string* Payment::mutable_memo() {
2008  _has_bits_[0] |= 0x00000002u;
2009  // @@protoc_insertion_point(field_mutable:payments.Payment.memo)
2010  return memo_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2011 }
2012 inline ::std::string* Payment::release_memo() {
2013  // @@protoc_insertion_point(field_release:payments.Payment.memo)
2014  if (!has_memo()) {
2015  return nullptr;
2016  }
2017  _has_bits_[0] &= ~0x00000002u;
2018  return memo_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2019 }
2020 inline void Payment::set_allocated_memo(::std::string* memo) {
2021  if (memo != nullptr) {
2022  _has_bits_[0] |= 0x00000002u;
2023  } else {
2024  _has_bits_[0] &= ~0x00000002u;
2025  }
2026  memo_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), memo);
2027  // @@protoc_insertion_point(field_set_allocated:payments.Payment.memo)
2028 }
2029 
2030 // -------------------------------------------------------------------
2031 
2032 // PaymentACK
2033 
2034 // required .payments.Payment payment = 1;
2035 inline bool PaymentACK::has_payment() const {
2036  return (_has_bits_[0] & 0x00000002u) != 0;
2037 }
2039  if (payment_ != nullptr) payment_->Clear();
2040  _has_bits_[0] &= ~0x00000002u;
2041 }
2042 inline const ::payments::Payment& PaymentACK::payment() const {
2043  const ::payments::Payment* p = payment_;
2044  // @@protoc_insertion_point(field_get:payments.PaymentACK.payment)
2045  return p != nullptr ? *p : *reinterpret_cast<const ::payments::Payment*>(
2047 }
2048 inline ::payments::Payment* PaymentACK::release_payment() {
2049  // @@protoc_insertion_point(field_release:payments.PaymentACK.payment)
2050  _has_bits_[0] &= ~0x00000002u;
2051  ::payments::Payment* temp = payment_;
2052  payment_ = nullptr;
2053  return temp;
2054 }
2055 inline ::payments::Payment* PaymentACK::mutable_payment() {
2056  _has_bits_[0] |= 0x00000002u;
2057  if (payment_ == nullptr) {
2058  auto* p = CreateMaybeMessage<::payments::Payment>(GetArenaNoVirtual());
2059  payment_ = p;
2060  }
2061  // @@protoc_insertion_point(field_mutable:payments.PaymentACK.payment)
2062  return payment_;
2063 }
2065  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2066  if (message_arena == nullptr) {
2067  delete payment_;
2068  }
2069  if (payment) {
2070  ::google::protobuf::Arena* submessage_arena = nullptr;
2071  if (message_arena != submessage_arena) {
2072  payment = ::google::protobuf::internal::GetOwnedMessage(
2073  message_arena, payment, submessage_arena);
2074  }
2075  _has_bits_[0] |= 0x00000002u;
2076  } else {
2077  _has_bits_[0] &= ~0x00000002u;
2078  }
2079  payment_ = payment;
2080  // @@protoc_insertion_point(field_set_allocated:payments.PaymentACK.payment)
2081 }
2082 
2083 // optional string memo = 2;
2084 inline bool PaymentACK::has_memo() const {
2085  return (_has_bits_[0] & 0x00000001u) != 0;
2086 }
2087 inline void PaymentACK::clear_memo() {
2088  memo_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2089  _has_bits_[0] &= ~0x00000001u;
2090 }
2091 inline const ::std::string& PaymentACK::memo() const {
2092  // @@protoc_insertion_point(field_get:payments.PaymentACK.memo)
2093  return memo_.GetNoArena();
2094 }
2095 inline void PaymentACK::set_memo(const ::std::string& value) {
2096  _has_bits_[0] |= 0x00000001u;
2097  memo_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2098  // @@protoc_insertion_point(field_set:payments.PaymentACK.memo)
2099 }
2100 #if LANG_CXX11
2101 inline void PaymentACK::set_memo(::std::string&& value) {
2102  _has_bits_[0] |= 0x00000001u;
2103  memo_.SetNoArena(
2104  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2105  // @@protoc_insertion_point(field_set_rvalue:payments.PaymentACK.memo)
2106 }
2107 #endif
2108 inline void PaymentACK::set_memo(const char* value) {
2109  GOOGLE_DCHECK(value != nullptr);
2110  _has_bits_[0] |= 0x00000001u;
2111  memo_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2112  // @@protoc_insertion_point(field_set_char:payments.PaymentACK.memo)
2113 }
2114 inline void PaymentACK::set_memo(const char* value, size_t size) {
2115  _has_bits_[0] |= 0x00000001u;
2116  memo_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2117  ::std::string(reinterpret_cast<const char*>(value), size));
2118  // @@protoc_insertion_point(field_set_pointer:payments.PaymentACK.memo)
2119 }
2120 inline ::std::string* PaymentACK::mutable_memo() {
2121  _has_bits_[0] |= 0x00000001u;
2122  // @@protoc_insertion_point(field_mutable:payments.PaymentACK.memo)
2123  return memo_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2124 }
2125 inline ::std::string* PaymentACK::release_memo() {
2126  // @@protoc_insertion_point(field_release:payments.PaymentACK.memo)
2127  if (!has_memo()) {
2128  return nullptr;
2129  }
2130  _has_bits_[0] &= ~0x00000001u;
2131  return memo_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2132 }
2133 inline void PaymentACK::set_allocated_memo(::std::string* memo) {
2134  if (memo != nullptr) {
2135  _has_bits_[0] |= 0x00000001u;
2136  } else {
2137  _has_bits_[0] &= ~0x00000001u;
2138  }
2139  memo_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), memo);
2140  // @@protoc_insertion_point(field_set_allocated:payments.PaymentACK.memo)
2141 }
2142 
2143 #ifdef __GNUC__
2144  #pragma GCC diagnostic pop
2145 #endif // __GNUC__
2146 // -------------------------------------------------------------------
2147 
2148 // -------------------------------------------------------------------
2149 
2150 // -------------------------------------------------------------------
2151 
2152 // -------------------------------------------------------------------
2153 
2154 // -------------------------------------------------------------------
2155 
2156 
2157 // @@protoc_insertion_point(namespace_scope)
2158 
2159 } // namespace payments
2160 
2161 // @@protoc_insertion_point(global_scope)
2162 
2163 #include <google/protobuf/port_undef.inc>
2164 #endif // PROTOBUF_INCLUDED_paymentrequest_2eproto
void set_transactions(int index, const ::std::string &value)
Definition: paymentrequest.pb.h:1886
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(::google::protobuf::uint8 *target) const final
Definition: paymentrequest.pb.cc:505
bool IsInitialized() const final
Definition: paymentrequest.pb.cc:3038
Definition: paymentrequest.pb.cc:22
void set_memo(const ::std::string &value)
Definition: paymentrequest.pb.h:1982
static const int kPkiDataFieldNumber
Definition: paymentrequest.pb.h:551
::std::string * add_certificate()
Definition: paymentrequest.pb.h:1773
const ::std::string & pki_data() const
Definition: paymentrequest.pb.h:1562
Definition: paymentrequest.pb.cc:26
void clear_outputs()
Definition: paymentrequest.pb.h:1230
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Definition: paymentrequest.pb.cc:351
Definition: paymentrequest.pb.h:619
static const int kMerchantDataFieldNumber
Definition: paymentrequest.pb.h:384
size_t ByteSizeLong() const final
Definition: paymentrequest.pb.cc:2958
Definition: paymentrequest.pb.cc:641
void SharedDtor()
Definition: paymentrequest.pb.cc:1415
void InternalSwap(Payment *other)
Definition: paymentrequest.pb.cc:2660
PaymentDetails * New() const final
Definition: paymentrequest.pb.h:276
Definition: paymentrequest.pb.cc:293
::google::protobuf::Metadata GetMetadata() const final
Definition: paymentrequest.pb.cc:2672
void MergeFrom(const ::google::protobuf::Message &from) final
Definition: paymentrequest.pb.cc:564
static const PaymentACK & default_instance()
Definition: paymentrequest.pb.cc:2746
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Definition: paymentrequest.pb.cc:740
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: paymentrequest.pb.h:966
::google::protobuf::RepeatedPtrField<::std::string > certificate_
Definition: paymentrequest.pb.h:750
const ::std::string & payment_url() const
Definition: paymentrequest.pb.h:1360
static const Output * internal_default_instance()
Definition: paymentrequest.pb.h:125
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_
Definition: paymentrequest.pb.h:412
void * MaybeArenaPtr() const
Definition: paymentrequest.pb.h:313
PaymentDetails()
Definition: paymentrequest.pb.cc:674
::google::protobuf::internal::HasBits< 1 > _has_bits_
Definition: paymentrequest.pb.h:1067
::std::string * mutable_memo()
Definition: paymentrequest.pb.h:1329
void clear_transactions()
Definition: paymentrequest.pb.h:1875
void SharedCtor()
Definition: paymentrequest.pb.cc:1400
static const int kMemoFieldNumber
Definition: paymentrequest.pb.h:354
::std::string * mutable_memo()
Definition: paymentrequest.pb.h:2007
bool has_payment() const
Definition: paymentrequest.pb.h:2035
void SharedDtor()
Definition: paymentrequest.pb.cc:1937
void set_pki_type(const ::std::string &value)
Definition: paymentrequest.pb.h:1506
bool IsInitialized() const final
Definition: paymentrequest.pb.cc:613
void set_script(const ::std::string &value)
Definition: paymentrequest.pb.h:1114
const ::std::string & serialized_payment_details() const
Definition: paymentrequest.pb.h:1622
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_
Definition: paymentrequest.pb.h:745
void AddDescriptors_paymentrequest_2eproto()
Definition: paymentrequest.pb.cc:278
end
Definition: optimize-pngs.py:40
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_
Definition: paymentrequest.pb.h:602
int certificate_size() const
Definition: paymentrequest.pb.h:1739
static const int kOutputsFieldNumber
Definition: paymentrequest.pb.h:327
bool has_payment_details_version() const
Definition: paymentrequest.pb.h:1477
mutable ::google::protobuf::internal::CachedSize _cached_size_
Definition: paymentrequest.pb.h:215
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
Definition: paymentrequest.pb.cc:2454
bool has_amount() const
Definition: paymentrequest.pb.h:1085
bool has_merchant_data() const
Definition: paymentrequest.pb.h:1812
virtual ~PaymentACK()
Definition: paymentrequest.pb.cc:2733
void set_allocated_memo(::std::string *memo)
Definition: paymentrequest.pb.h:2020
void clear_pki_type()
Definition: paymentrequest.pb.h:1498
PaymentRequest()
Definition: paymentrequest.pb.cc:1370
size_t ByteSizeLong() const final
Definition: paymentrequest.pb.cc:532
void InternalSwap(Output *other)
Definition: paymentrequest.pb.cc:622
bool has_pki_data() const
Definition: paymentrequest.pb.h:1555
static const int kCertificateFieldNumber
Definition: paymentrequest.pb.h:724
static const ::google::protobuf::Descriptor * descriptor()
Definition: paymentrequest.pb.h:119
static const PaymentRequest * internal_default_instance()
Definition: paymentrequest.pb.h:471
void Swap(Output *other)
Definition: paymentrequest.pb.cc:618
static const Payment * internal_default_instance()
Definition: paymentrequest.pb.h:795
void set_allocated_payment_url(::std::string *payment_url)
Definition: paymentrequest.pb.h:1402
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
Definition: paymentrequest.pb.cc:480
static const Output & default_instance()
Definition: paymentrequest.pb.cc:345
void MergeFrom(const ::google::protobuf::Message &from) final
Definition: paymentrequest.pb.cc:1810
inline ::google::protobuf::Arena * GetArenaNoVirtual() const
Definition: paymentrequest.pb.h:173
mutable ::google::protobuf::internal::CachedSize _cached_size_
Definition: paymentrequest.pb.h:1068
const ::std::string & merchant_data() const
Definition: paymentrequest.pb.h:1420
::google::protobuf::Metadata GetMetadata() const final
Definition: paymentrequest.pb.cc:1895
void * MaybeArenaPtr() const
Definition: paymentrequest.pb.h:176
void set_allocated_merchant_data(::std::string *merchant_data)
Definition: paymentrequest.pb.h:1861
static const int kPaymentUrlFieldNumber
Definition: paymentrequest.pb.h:369
void clear_payment()
Definition: paymentrequest.pb.h:2038
static const int kScriptFieldNumber
Definition: paymentrequest.pb.h:190
::payments::Payment * mutable_payment()
Definition: paymentrequest.pb.h:2055
void set_serialized_payment_details(const ::std::string &value)
Definition: paymentrequest.pb.h:1626
static const PaymentRequest & default_instance()
Definition: paymentrequest.pb.cc:1425
::payments::Payment * payment_
Definition: paymentrequest.pb.h:1070
int GetCachedSize() const final
Definition: paymentrequest.pb.h:302
inline ::google::protobuf::Arena * GetArenaNoVirtual() const
Definition: paymentrequest.pb.h:519
class payments::PaymentDetailsDefaultTypeInternal _PaymentDetails_default_instance_
Definition: paymentrequest.pb.h:62
Definition: paymentrequest.pb.cc:30
::std::string * release_memo()
Definition: paymentrequest.pb.h:2012
::payments::Output * add_outputs()
Definition: paymentrequest.pb.h:1246
::google::protobuf::RepeatedPtrField< ::payments::Output > refund_to_
Definition: paymentrequest.pb.h:929
int GetCachedSize() const final
Definition: paymentrequest.pb.h:835
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string > _i_give_permission_to_break_this_code_default_network_
Definition: paymentrequest.pb.h:419
void * MaybeArenaPtr() const
Definition: paymentrequest.pb.h:522
PaymentRequest * New(::google::protobuf::Arena *arena) const final
Definition: paymentrequest.pb.h:489
static const Payment & default_instance()
Definition: paymentrequest.pb.cc:2246
int GetCachedSize() const final
Definition: paymentrequest.pb.h:511
bool has_merchant_data() const
Definition: paymentrequest.pb.h:1413
void InternalSwap(PaymentACK *other)
Definition: paymentrequest.pb.cc:3050
void clear_time()
Definition: paymentrequest.pb.h:1260
void clear_network()
Definition: paymentrequest.pb.h:1170
::std::string * release_merchant_data()
Definition: paymentrequest.pb.h:1853
static const ::google::protobuf::Descriptor * descriptor()
Definition: paymentrequest.pb.h:789
void set_allocated_payment(::payments::Payment *payment)
Definition: paymentrequest.pb.h:2064
void clear_refund_to()
Definition: paymentrequest.pb.h:1944
void clear_signature()
Definition: paymentrequest.pb.h:1678
::google::protobuf::RepeatedPtrField< ::payments::Output > * mutable_outputs()
Definition: paymentrequest.pb.h:1238
static void InitAsDefaultInstance()
Definition: paymentrequest.pb.cc:639
class payments::PaymentACKDefaultTypeInternal _PaymentACK_default_instance_
Definition: paymentrequest.pb.h:59
static void InitAsDefaultInstance()
Definition: paymentrequest.pb.cc:1903
PaymentRequest * New() const final
Definition: paymentrequest.pb.h:485
const ::std::string & signature() const
Definition: paymentrequest.pb.h:1682
void MergeFrom(const ::google::protobuf::Message &from) final
Definition: paymentrequest.pb.cc:1240
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_
Definition: paymentrequest.pb.h:211
const ::google::protobuf::RepeatedPtrField< ::payments::Output > & refund_to() const
Definition: paymentrequest.pb.h:1965
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Definition: paymentrequest.pb.cc:2252
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
Definition: paymentrequest.pb.cc:901
void set_expires(::google::protobuf::uint64 value)
Definition: paymentrequest.pb.h:1286
static const int kRefundToFieldNumber
Definition: paymentrequest.pb.h:882
::google::protobuf::RepeatedPtrField< ::payments::Output > outputs_
Definition: paymentrequest.pb.h:417
class payments::X509CertificatesDefaultTypeInternal _X509Certificates_default_instance_
Definition: paymentrequest.pb.h:68
::google::protobuf::internal::ArenaStringPtr memo_
Definition: paymentrequest.pb.h:422
void Swap(X509Certificates *other)
Definition: paymentrequest.pb.cc:2165
Definition: paymentrequest.pb.h:222
mutable ::google::protobuf::internal::CachedSize _cached_size_
Definition: paymentrequest.pb.h:416
::google::protobuf::uint32 payment_details_version_
Definition: paymentrequest.pb.h:614
static constexpr int kIndexInFileMessages
Definition: paymentrequest.pb.h:475
void SetCachedSize(int size) const final
Definition: paymentrequest.pb.cc:342
const ::std::string & script() const
Definition: paymentrequest.pb.h:1110
static const int kSerializedPaymentDetailsFieldNumber
Definition: paymentrequest.pb.h:566
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: paymentrequest.pb.h:649
bool has_memo() const
Definition: paymentrequest.pb.h:2084
::std::string * release_signature()
Definition: paymentrequest.pb.h:1716
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
Definition: paymentrequest.pb.cc:2375
::std::string * mutable_signature()
Definition: paymentrequest.pb.h:1711
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Definition: paymentrequest.pb.cc:1949
void set_signature(const ::std::string &value)
Definition: paymentrequest.pb.h:1686
::std::string * add_transactions()
Definition: paymentrequest.pb.h:1906
::google::protobuf::internal::HasBits< 1 > _has_bits_
Definition: paymentrequest.pb.h:214
void set_payment_url(const ::std::string &value)
Definition: paymentrequest.pb.h:1364
void set_payment_details_version(::google::protobuf::uint32 value)
Definition: paymentrequest.pb.h:1488
Definition: paymentrequest.pb.cc:1905
static const int kMemoFieldNumber
Definition: paymentrequest.pb.h:1041
void CopyFrom(const ::google::protobuf::Message &from) final
Definition: paymentrequest.pb.cc:2637
Definition: paymentrequest.pb.cc:34
const ::google::protobuf::RepeatedPtrField<::std::string > & certificate() const
Definition: paymentrequest.pb.h:1797
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: paymentrequest.pb.h:115
bool has_memo() const
Definition: paymentrequest.pb.h:1293
mutable ::google::protobuf::internal::CachedSize _cached_size_
Definition: paymentrequest.pb.h:927
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Definition: paymentrequest.pb.cc:2752
::std::string * release_merchant_data()
Definition: paymentrequest.pb.h:1454
::std::string * mutable_network()
Definition: paymentrequest.pb.h:1203
::std::string * release_memo()
Definition: paymentrequest.pb.h:2125
int outputs_size() const
Definition: paymentrequest.pb.h:1227
int GetCachedSize() const final
Definition: paymentrequest.pb.h:1016
bool has_serialized_payment_details() const
Definition: paymentrequest.pb.h:1615
static constexpr int kIndexInFileMessages
Definition: paymentrequest.pb.h:129
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: paymentrequest.pb.h:461
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
Definition: paymentrequest.pb.cc:1025
Output * New() const final
Definition: paymentrequest.pb.h:139
Definition: paymentrequest.pb.cc:2186
void set_allocated_pki_data(::std::string *pki_data)
Definition: paymentrequest.pb.h:1604
void set_memo(const ::std::string &value)
Definition: paymentrequest.pb.h:1304
::google::protobuf::uint64 amount_
Definition: paymentrequest.pb.h:217
void MergeFrom(const ::google::protobuf::Message &from) final
Definition: paymentrequest.pb.cc:2122
void MergeFrom(const ::google::protobuf::Message &from) final
Definition: paymentrequest.pb.cc:2600
void clear_memo()
Definition: paymentrequest.pb.h:2087
PaymentACK & operator=(const PaymentACK &from)
Definition: paymentrequest.pb.h:944
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: paymentrequest.pb.h:782
mutable ::google::protobuf::internal::CachedSize _cached_size_
Definition: paymentrequest.pb.h:606
::std::string * mutable_serialized_payment_details()
Definition: paymentrequest.pb.h:1651
static constexpr int kIndexInFileMessages
Definition: paymentrequest.pb.h:799
bool IsInitialized() const final
Definition: paymentrequest.pb.cc:1305
PaymentDetails & operator=(const PaymentDetails &from)
Definition: paymentrequest.pb.h:230
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string > _i_give_permission_to_break_this_code_default_pki_type_
Definition: paymentrequest.pb.h:608
class payments::OutputDefaultTypeInternal _Output_default_instance_
Definition: paymentrequest.pb.h:53
static const X509Certificates * internal_default_instance()
Definition: paymentrequest.pb.h:659
bool has_time() const
Definition: paymentrequest.pb.h:1257
static constexpr int kIndexInFileMessages
Definition: paymentrequest.pb.h:980
static void InitAsDefaultInstance()
Definition: paymentrequest.pb.cc:2184
void set_memo(const ::std::string &value)
Definition: paymentrequest.pb.h:2095
static constexpr int kIndexInFileMessages
Definition: paymentrequest.pb.h:663
Definition: paymentrequest.pb.cc:1342
PaymentRequest & operator=(const PaymentRequest &from)
Definition: paymentrequest.pb.h:439
void SharedCtor()
Definition: paymentrequest.pb.cc:2726
def uint32(x)
Definition: linearize-data.py:28
Payment * New(::google::protobuf::Arena *arena) const final
Definition: paymentrequest.pb.h:813
void * MaybeArenaPtr() const
Definition: paymentrequest.pb.h:710
void SetCachedSize(int size) const final
Definition: paymentrequest.pb.cc:1940
void clear_amount()
Definition: paymentrequest.pb.h:1088
::google::protobuf::internal::ArenaStringPtr merchant_data_
Definition: paymentrequest.pb.h:930
static const int kPkiTypeFieldNumber
Definition: paymentrequest.pb.h:536
void clear_script()
Definition: paymentrequest.pb.h:1106
Payment * New() const final
Definition: paymentrequest.pb.h:809
::google::protobuf::internal::ArenaStringPtr pki_type_
Definition: paymentrequest.pb.h:610
static secp256k1_context * ctx
Definition: tests.c:46
::google::protobuf::uint64 expires() const
Definition: paymentrequest.pb.h:1282
PaymentDetails * New(::google::protobuf::Arena *arena) const final
Definition: paymentrequest.pb.h:280
size_t ByteSizeLong() const final
Definition: paymentrequest.pb.cc:1167
static const ::google::protobuf::internal::ParseTableField entries [] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
Definition: paymentrequest.pb.h:755
Definition: lockedpool.h:48
bool IsInitialized() const final
Definition: paymentrequest.pb.cc:1871
friend void swap(PaymentACK &a, PaymentACK &b)
Definition: paymentrequest.pb.h:984
::google::protobuf::internal::ArenaStringPtr network_
Definition: paymentrequest.pb.h:421
void SharedDtor()
Definition: paymentrequest.pb.cc:2738
::google::protobuf::internal::HasBits< 1 > _has_bits_
Definition: paymentrequest.pb.h:748
::std::string * mutable_merchant_data()
Definition: paymentrequest.pb.h:1848
static void InitAsDefaultInstance()
Definition: paymentrequest.pb.cc:291
static const int kMemoFieldNumber
Definition: paymentrequest.pb.h:909
inline ::google::protobuf::Arena * GetArenaNoVirtual() const
Definition: paymentrequest.pb.h:1024
::google::protobuf::RepeatedPtrField<::std::string > * mutable_transactions()
Definition: paymentrequest.pb.h:1935
Output()
Definition: paymentrequest.pb.cc:308
static const int kMerchantDataFieldNumber
Definition: paymentrequest.pb.h:894
Payment & operator=(const Payment &from)
Definition: paymentrequest.pb.h:763
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_
Definition: paymentrequest.pb.h:923
::google::protobuf::uint64 expires_
Definition: paymentrequest.pb.h:426
static const ::google::protobuf::Descriptor * descriptor()
Definition: paymentrequest.pb.h:465
void set_amount(::google::protobuf::uint64 value)
Definition: paymentrequest.pb.h:1096
static const ::google::protobuf::Descriptor * descriptor()
Definition: paymentrequest.pb.h:970
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Definition: paymentrequest.pb.cc:1431
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
Definition: paymentrequest.pb.cc:2015
void CopyFrom(const ::google::protobuf::Message &from) final
Definition: paymentrequest.pb.cc:1857
::google::protobuf::internal::HasBits< 1 > _has_bits_
Definition: paymentrequest.pb.h:926
::google::protobuf::Metadata GetMetadata() const final
Definition: paymentrequest.pb.cc:2176
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
Definition: paymentrequest.pb.cc:1654
void SharedCtor()
Definition: paymentrequest.pb.cc:2226
void clear_memo()
Definition: paymentrequest.pb.h:1974
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(::google::protobuf::uint8 *target) const final
Definition: paymentrequest.pb.cc:1701
static const ::google::protobuf::Descriptor * descriptor()
Definition: paymentrequest.pb.h:256
static const int kExpiresFieldNumber
Definition: paymentrequest.pb.h:406
inline ::google::protobuf::Arena * GetArenaNoVirtual() const
Definition: paymentrequest.pb.h:707
static const ::google::protobuf::uint32 offsets[]
Definition: paymentrequest.pb.h:48
PaymentACK * New() const final
Definition: paymentrequest.pb.h:990
PaymentACK * New(::google::protobuf::Arena *arena) const final
Definition: paymentrequest.pb.h:994
void set_allocated_network(::std::string *network)
Definition: paymentrequest.pb.h:1216
const ::google::protobuf::RepeatedPtrField<::std::string > & transactions() const
Definition: paymentrequest.pb.h:1930
::google::protobuf::RepeatedPtrField< ::payments::Output > * mutable_refund_to()
Definition: paymentrequest.pb.h:1952
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
Definition: paymentrequest.pb.cc:2895
static const int kTimeFieldNumber
Definition: paymentrequest.pb.h:399
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: paymentrequest.pb.h:249
::std::string * mutable_merchant_data()
Definition: paymentrequest.pb.h:1449
size_t ByteSizeLong() const final
Definition: paymentrequest.pb.cc:1753
static const int kNetworkFieldNumber
Definition: paymentrequest.pb.h:339
void clear_merchant_data()
Definition: paymentrequest.pb.h:1416
void set_merchant_data(const ::std::string &value)
Definition: paymentrequest.pb.h:1823
::google::protobuf::internal::ArenaStringPtr pki_data_
Definition: paymentrequest.pb.h:611
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: paymentrequest.pb.h:963
::google::protobuf::uint64 amount() const
Definition: paymentrequest.pb.h:1092
Definition: paymentrequest.pb.h:431
::google::protobuf::Metadata GetMetadata() const final
Definition: paymentrequest.pb.cc:3059
::google::protobuf::internal::ArenaStringPtr memo_
Definition: paymentrequest.pb.h:931
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: paymentrequest.pb.h:112
void SharedCtor()
Definition: paymentrequest.pb.cc:326
const ::std::string & pki_type() const
Definition: paymentrequest.pb.h:1502
int transactions_size() const
Definition: paymentrequest.pb.h:1872
static const PaymentDetails & default_instance()
Definition: paymentrequest.pb.cc:734
static const ::google::protobuf::Descriptor * descriptor()
Definition: paymentrequest.pb.h:653
static const ::google::protobuf::internal::SerializationTable serialization_table[]
Definition: paymentrequest.pb.h:47
static void InitAsDefaultInstance()
Definition: paymentrequest.pb.cc:2680
class payments::PaymentRequestDefaultTypeInternal _PaymentRequest_default_instance_
Definition: paymentrequest.pb.h:65
static const int kTransactionsFieldNumber
Definition: paymentrequest.pb.h:860
inline ::google::protobuf::Arena * GetArenaNoVirtual() const
Definition: paymentrequest.pb.h:843
::google::protobuf::uint64 time() const
Definition: paymentrequest.pb.h:1264
void SetCachedSize(int size) const final
Definition: paymentrequest.pb.cc:2743
::std::string * release_script()
Definition: paymentrequest.pb.h:1144
void * MaybeArenaPtr() const
Definition: paymentrequest.pb.h:1027
static const int kSignatureFieldNumber
Definition: paymentrequest.pb.h:581
void SharedCtor()
Definition: paymentrequest.pb.cc:707
void InternalSwap(PaymentDetails *other)
Definition: paymentrequest.pb.cc:1315
void Swap(PaymentDetails *other)
Definition: paymentrequest.pb.cc:1311
virtual ~Payment()
Definition: paymentrequest.pb.cc:2233
bool IsInitialized() const final
Definition: paymentrequest.pb.cc:2161
::std::string * mutable_pki_data()
Definition: paymentrequest.pb.h:1591
void clear_pki_data()
Definition: paymentrequest.pb.h:1558
PaymentACK()
Definition: paymentrequest.pb.cc:2704
virtual ~X509Certificates()
Definition: paymentrequest.pb.cc:1932
::google::protobuf::Metadata GetMetadata() const final
Definition: paymentrequest.pb.cc:631
bool has_expires() const
Definition: paymentrequest.pb.h:1275
size_t ByteSizeLong() const final
Definition: paymentrequest.pb.cc:2546
friend void swap(PaymentDetails &a, PaymentDetails &b)
Definition: paymentrequest.pb.h:270
void InternalSwap(PaymentRequest *other)
Definition: paymentrequest.pb.cc:1880
void set_merchant_data(const ::std::string &value)
Definition: paymentrequest.pb.h:1424
const ::std::string & memo() const
Definition: paymentrequest.pb.h:1300
void set_allocated_signature(::std::string *signature)
Definition: paymentrequest.pb.h:1724
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
Definition: paymentrequest.pb.cc:1562
void set_pki_data(const ::std::string &value)
Definition: paymentrequest.pb.h:1566
void MergeFrom(const ::google::protobuf::Message &from) final
Definition: paymentrequest.pb.cc:2990
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: paymentrequest.pb.h:458
void SetCachedSize(int size) const final
Definition: paymentrequest.pb.cc:731
class payments::PaymentDefaultTypeInternal _Payment_default_instance_
Definition: paymentrequest.pb.h:56
void SharedDtor()
Definition: paymentrequest.pb.cc:724
::std::string * release_serialized_payment_details()
Definition: paymentrequest.pb.h:1656
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: paymentrequest.pb.h:646
void Swap(PaymentACK *other)
Definition: paymentrequest.pb.cc:3046
void clear_serialized_payment_details()
Definition: paymentrequest.pb.h:1618
void clear_merchant_data()
Definition: paymentrequest.pb.h:1815
Output & operator=(const Output &from)
Definition: paymentrequest.pb.h:93
static const X509Certificates & default_instance()
Definition: paymentrequest.pb.cc:1943
friend void swap(X509Certificates &a, X509Certificates &b)
Definition: paymentrequest.pb.h:667
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(::google::protobuf::uint8 *target) const final
Definition: paymentrequest.pb.cc:2925
const ::payments::Payment & payment() const
Definition: paymentrequest.pb.h:2042
::google::protobuf::internal::ArenaStringPtr payment_url_
Definition: paymentrequest.pb.h:423
bool has_network() const
Definition: paymentrequest.pb.h:1167
Definition: paymentrequest.pb.cc:2684
inline ::google::protobuf::Arena * GetArenaNoVirtual() const
Definition: paymentrequest.pb.h:310
void set_allocated_memo(::std::string *memo)
Definition: paymentrequest.pb.h:2133
Definition: paymentrequest.pb.h:936
::std::string * release_network()
Definition: paymentrequest.pb.h:1208
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(::google::protobuf::uint8 *target) const final
Definition: paymentrequest.pb.cc:1094
::payments::Payment * release_payment()
Definition: paymentrequest.pb.h:2048
void SetCachedSize(int size) const final
Definition: paymentrequest.pb.cc:2243
void InternalSwap(X509Certificates *other)
Definition: paymentrequest.pb.cc:2169
void Swap(Payment *other)
Definition: paymentrequest.pb.cc:2656
::google::protobuf::RepeatedPtrField<::std::string > transactions_
Definition: paymentrequest.pb.h:928
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_
Definition: paymentrequest.pb.h:1064
bool has_payment_url() const
Definition: paymentrequest.pb.h:1353
int GetCachedSize() const final
Definition: paymentrequest.pb.h:699
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
Definition: paymentrequest.pb.cc:2838
const ::google::protobuf::RepeatedPtrField< ::payments::Output > & outputs() const
Definition: paymentrequest.pb.h:1251
void clear_certificate()
Definition: paymentrequest.pb.h:1742
size_t ByteSizeLong() const final
Definition: paymentrequest.pb.cc:2096
int refund_to_size() const
Definition: paymentrequest.pb.h:1941
void clear_expires()
Definition: paymentrequest.pb.h:1278
static constexpr int kIndexInFileMessages
Definition: paymentrequest.pb.h:266
void set_allocated_script(::std::string *script)
Definition: paymentrequest.pb.h:1152
void Swap(PaymentRequest *other)
Definition: paymentrequest.pb.cc:1876
void SharedCtor()
Definition: paymentrequest.pb.cc:1927
X509Certificates * New(::google::protobuf::Arena *arena) const final
Definition: paymentrequest.pb.h:677
::std::string * mutable_script()
Definition: paymentrequest.pb.h:1139
X509Certificates & operator=(const X509Certificates &from)
Definition: paymentrequest.pb.h:627
void CopyFrom(const ::google::protobuf::Message &from) final
Definition: paymentrequest.pb.cc:1291
static void InitAsDefaultInstance()
Definition: paymentrequest.pb.cc:1340
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
Definition: paymentrequest.pb.cc:425
void set_allocated_merchant_data(::std::string *merchant_data)
Definition: paymentrequest.pb.h:1462
::google::protobuf::internal::ArenaStringPtr merchant_data_
Definition: paymentrequest.pb.h:424
const ::std::string & network() const
Definition: paymentrequest.pb.h:1174
friend void swap(Output &a, Output &b)
Definition: paymentrequest.pb.h:133
::google::protobuf::internal::ArenaStringPtr memo_
Definition: paymentrequest.pb.h:1069
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(::google::protobuf::uint8 *target) const final
Definition: paymentrequest.pb.cc:2499
::std::string * mutable_payment_url()
Definition: paymentrequest.pb.h:1389
::google::protobuf::RepeatedPtrField<::std::string > * mutable_certificate()
Definition: paymentrequest.pb.h:1802
::google::protobuf::internal::HasBits< 1 > _has_bits_
Definition: paymentrequest.pb.h:605
void * MaybeArenaPtr() const
Definition: paymentrequest.pb.h:846
Output * New(::google::protobuf::Arena *arena) const final
Definition: paymentrequest.pb.h:143
Definition: paymentrequest.pb.cc:3067
void clear_memo()
Definition: paymentrequest.pb.h:1296
void SharedDtor()
Definition: paymentrequest.pb.cc:2238
void SetCachedSize(int size) const final
Definition: paymentrequest.pb.cc:1422
void set_certificate(int index, const ::std::string &value)
Definition: paymentrequest.pb.h:1753
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
Definition: paymentrequest.pb.cc:2057
friend void swap(Payment &a, Payment &b)
Definition: paymentrequest.pb.h:803
Definition: paymentrequest.pb.cc:42
::payments::Output * add_refund_to()
Definition: paymentrequest.pb.h:1960
::std::string * release_payment_url()
Definition: paymentrequest.pb.h:1394
mutable ::google::protobuf::internal::CachedSize _cached_size_
Definition: paymentrequest.pb.h:749
friend void swap(PaymentRequest &a, PaymentRequest &b)
Definition: paymentrequest.pb.h:479
X509Certificates()
Definition: paymentrequest.pb.cc:1913
Definition: paymentrequest.pb.cc:21
virtual ~Output()
Definition: paymentrequest.pb.cc:333
bool IsInitialized() const final
Definition: paymentrequest.pb.cc:2651
void CopyFrom(const ::google::protobuf::Message &from) final
Definition: paymentrequest.pb.cc:599
void set_allocated_memo(::std::string *memo)
Definition: paymentrequest.pb.h:1342
void set_time(::google::protobuf::uint64 value)
Definition: paymentrequest.pb.h:1268
::google::protobuf::internal::ArenaStringPtr signature_
Definition: paymentrequest.pb.h:613
::std::string * release_pki_type()
Definition: paymentrequest.pb.h:1536
void set_allocated_serialized_payment_details(::std::string *serialized_payment_details)
Definition: paymentrequest.pb.h:1664
::google::protobuf::Metadata GetMetadata() const final
Definition: paymentrequest.pb.cc:1332
int GetCachedSize() const final
Definition: paymentrequest.pb.h:165
const ::std::string & merchant_data() const
Definition: paymentrequest.pb.h:1819
bool has_signature() const
Definition: paymentrequest.pb.h:1675
::std::string * release_memo()
Definition: paymentrequest.pb.h:1334
::google::protobuf::internal::HasBits< 1 > _has_bits_
Definition: paymentrequest.pb.h:415
::std::string * mutable_memo()
Definition: paymentrequest.pb.h:2120
virtual ~PaymentDetails()
Definition: paymentrequest.pb.cc:719
Definition: paymentrequest.pb.h:39
::google::protobuf::uint64 time_
Definition: paymentrequest.pb.h:425
void set_allocated_pki_type(::std::string *pki_type)
Definition: paymentrequest.pb.h:1544
static const PaymentACK * internal_default_instance()
Definition: paymentrequest.pb.h:976
bool has_memo() const
Definition: paymentrequest.pb.h:1971
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: paymentrequest.pb.h:785
::std::string * mutable_pki_type()
Definition: paymentrequest.pb.h:1531
void clear_payment_url()
Definition: paymentrequest.pb.h:1356
bool has_script() const
Definition: paymentrequest.pb.h:1103
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
Definition: paymentrequest.pb.h:46
static const int kPaymentFieldNumber
Definition: paymentrequest.pb.h:1056
X509Certificates * New() const final
Definition: paymentrequest.pb.h:673
const ::std::string & memo() const
Definition: paymentrequest.pb.h:1978
static const int kPaymentDetailsVersionFieldNumber
Definition: paymentrequest.pb.h:596
void clear_payment_details_version()
Definition: paymentrequest.pb.h:1480
Definition: paymentrequest.pb.cc:38
::google::protobuf::internal::ArenaStringPtr script_
Definition: paymentrequest.pb.h:216
const ::std::string & memo() const
Definition: paymentrequest.pb.h:2091
Payment()
Definition: paymentrequest.pb.cc:2203
Definition: paymentrequest.pb.h:85
static const int kAmountFieldNumber
Definition: paymentrequest.pb.h:205
void set_network(const ::std::string &value)
Definition: paymentrequest.pb.h:1178
void CopyFrom(const ::google::protobuf::Message &from) final
Definition: paymentrequest.pb.cc:3024
::std::string * release_pki_data()
Definition: paymentrequest.pb.h:1596
void CopyFrom(const ::google::protobuf::Message &from) final
Definition: paymentrequest.pb.cc:2147
static const PaymentDetails * internal_default_instance()
Definition: paymentrequest.pb.h:262
void SharedDtor()
Definition: paymentrequest.pb.cc:338
virtual ~PaymentRequest()
Definition: paymentrequest.pb.cc:1410
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(::google::protobuf::uint8 *target) const final
Definition: paymentrequest.pb.cc:2076
::google::protobuf::uint32 payment_details_version() const
Definition: paymentrequest.pb.h:1484
::google::protobuf::internal::ArenaStringPtr serialized_payment_details_
Definition: paymentrequest.pb.h:612
bool has_pki_type() const
Definition: paymentrequest.pb.h:1495
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: paymentrequest.pb.h:252