// Code generated by protoc-gen-go. DO NOT EDIT.
// source: bip70.proto

package libwallet

import (
	fmt "fmt"
	math "math"

	proto "github.com/golang/protobuf/proto"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

// Generalized form of "send payment to this/these bitcoin addresses"
type Output struct {
	Amount               *uint64  `protobuf:"varint,1,opt,name=amount,def=0" json:"amount,omitempty"`
	Script               []byte   `protobuf:"bytes,2,req,name=script" json:"script,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *Output) Reset()         { *m = Output{} }
func (m *Output) String() string { return proto.CompactTextString(m) }
func (*Output) ProtoMessage()    {}
func (*Output) Descriptor() ([]byte, []int) {
	return fileDescriptor_de204c4c8d465ce4, []int{0}
}

func (m *Output) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Output.Unmarshal(m, b)
}
func (m *Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Output.Marshal(b, m, deterministic)
}
func (m *Output) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Output.Merge(m, src)
}
func (m *Output) XXX_Size() int {
	return xxx_messageInfo_Output.Size(m)
}
func (m *Output) XXX_DiscardUnknown() {
	xxx_messageInfo_Output.DiscardUnknown(m)
}

var xxx_messageInfo_Output proto.InternalMessageInfo

const Default_Output_Amount uint64 = 0

func (m *Output) GetAmount() uint64 {
	if m != nil && m.Amount != nil {
		return *m.Amount
	}
	return Default_Output_Amount
}

func (m *Output) GetScript() []byte {
	if m != nil {
		return m.Script
	}
	return nil
}

type PaymentDetails struct {
	Network              *string   `protobuf:"bytes,1,opt,name=network,def=main" json:"network,omitempty"`
	Outputs              []*Output `protobuf:"bytes,2,rep,name=outputs" json:"outputs,omitempty"`
	Time                 *uint64   `protobuf:"varint,3,req,name=time" json:"time,omitempty"`
	Expires              *uint64   `protobuf:"varint,4,opt,name=expires" json:"expires,omitempty"`
	Memo                 *string   `protobuf:"bytes,5,opt,name=memo" json:"memo,omitempty"`
	PaymentUrl           *string   `protobuf:"bytes,6,opt,name=payment_url,json=paymentUrl" json:"payment_url,omitempty"`
	MerchantData         []byte    `protobuf:"bytes,7,opt,name=merchant_data,json=merchantData" json:"merchant_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (m *PaymentDetails) Reset()         { *m = PaymentDetails{} }
func (m *PaymentDetails) String() string { return proto.CompactTextString(m) }
func (*PaymentDetails) ProtoMessage()    {}
func (*PaymentDetails) Descriptor() ([]byte, []int) {
	return fileDescriptor_de204c4c8d465ce4, []int{1}
}

func (m *PaymentDetails) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_PaymentDetails.Unmarshal(m, b)
}
func (m *PaymentDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_PaymentDetails.Marshal(b, m, deterministic)
}
func (m *PaymentDetails) XXX_Merge(src proto.Message) {
	xxx_messageInfo_PaymentDetails.Merge(m, src)
}
func (m *PaymentDetails) XXX_Size() int {
	return xxx_messageInfo_PaymentDetails.Size(m)
}
func (m *PaymentDetails) XXX_DiscardUnknown() {
	xxx_messageInfo_PaymentDetails.DiscardUnknown(m)
}

var xxx_messageInfo_PaymentDetails proto.InternalMessageInfo

const Default_PaymentDetails_Network string = "main"

func (m *PaymentDetails) GetNetwork() string {
	if m != nil && m.Network != nil {
		return *m.Network
	}
	return Default_PaymentDetails_Network
}

func (m *PaymentDetails) GetOutputs() []*Output {
	if m != nil {
		return m.Outputs
	}
	return nil
}

func (m *PaymentDetails) GetTime() uint64 {
	if m != nil && m.Time != nil {
		return *m.Time
	}
	return 0
}

func (m *PaymentDetails) GetExpires() uint64 {
	if m != nil && m.Expires != nil {
		return *m.Expires
	}
	return 0
}

func (m *PaymentDetails) GetMemo() string {
	if m != nil && m.Memo != nil {
		return *m.Memo
	}
	return ""
}

func (m *PaymentDetails) GetPaymentUrl() string {
	if m != nil && m.PaymentUrl != nil {
		return *m.PaymentUrl
	}
	return ""
}

func (m *PaymentDetails) GetMerchantData() []byte {
	if m != nil {
		return m.MerchantData
	}
	return nil
}

type PaymentRequest struct {
	PaymentDetailsVersion    *uint32  `protobuf:"varint,1,opt,name=payment_details_version,json=paymentDetailsVersion,def=1" json:"payment_details_version,omitempty"`
	PkiType                  *string  `protobuf:"bytes,2,opt,name=pki_type,json=pkiType,def=none" json:"pki_type,omitempty"`
	PkiData                  []byte   `protobuf:"bytes,3,opt,name=pki_data,json=pkiData" json:"pki_data,omitempty"`
	SerializedPaymentDetails []byte   `protobuf:"bytes,4,req,name=serialized_payment_details,json=serializedPaymentDetails" json:"serialized_payment_details,omitempty"`
	Signature                []byte   `protobuf:"bytes,5,opt,name=signature" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral     struct{} `json:"-"`
	XXX_unrecognized         []byte   `json:"-"`
	XXX_sizecache            int32    `json:"-"`
}

func (m *PaymentRequest) Reset()         { *m = PaymentRequest{} }
func (m *PaymentRequest) String() string { return proto.CompactTextString(m) }
func (*PaymentRequest) ProtoMessage()    {}
func (*PaymentRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_de204c4c8d465ce4, []int{2}
}

func (m *PaymentRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_PaymentRequest.Unmarshal(m, b)
}
func (m *PaymentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_PaymentRequest.Marshal(b, m, deterministic)
}
func (m *PaymentRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_PaymentRequest.Merge(m, src)
}
func (m *PaymentRequest) XXX_Size() int {
	return xxx_messageInfo_PaymentRequest.Size(m)
}
func (m *PaymentRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_PaymentRequest.DiscardUnknown(m)
}

var xxx_messageInfo_PaymentRequest proto.InternalMessageInfo

const Default_PaymentRequest_PaymentDetailsVersion uint32 = 1
const Default_PaymentRequest_PkiType string = "none"

func (m *PaymentRequest) GetPaymentDetailsVersion() uint32 {
	if m != nil && m.PaymentDetailsVersion != nil {
		return *m.PaymentDetailsVersion
	}
	return Default_PaymentRequest_PaymentDetailsVersion
}

func (m *PaymentRequest) GetPkiType() string {
	if m != nil && m.PkiType != nil {
		return *m.PkiType
	}
	return Default_PaymentRequest_PkiType
}

func (m *PaymentRequest) GetPkiData() []byte {
	if m != nil {
		return m.PkiData
	}
	return nil
}

func (m *PaymentRequest) GetSerializedPaymentDetails() []byte {
	if m != nil {
		return m.SerializedPaymentDetails
	}
	return nil
}

func (m *PaymentRequest) GetSignature() []byte {
	if m != nil {
		return m.Signature
	}
	return nil
}

type X509Certificates struct {
	Certificate          [][]byte `protobuf:"bytes,1,rep,name=certificate" json:"certificate,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *X509Certificates) Reset()         { *m = X509Certificates{} }
func (m *X509Certificates) String() string { return proto.CompactTextString(m) }
func (*X509Certificates) ProtoMessage()    {}
func (*X509Certificates) Descriptor() ([]byte, []int) {
	return fileDescriptor_de204c4c8d465ce4, []int{3}
}

func (m *X509Certificates) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_X509Certificates.Unmarshal(m, b)
}
func (m *X509Certificates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_X509Certificates.Marshal(b, m, deterministic)
}
func (m *X509Certificates) XXX_Merge(src proto.Message) {
	xxx_messageInfo_X509Certificates.Merge(m, src)
}
func (m *X509Certificates) XXX_Size() int {
	return xxx_messageInfo_X509Certificates.Size(m)
}
func (m *X509Certificates) XXX_DiscardUnknown() {
	xxx_messageInfo_X509Certificates.DiscardUnknown(m)
}

var xxx_messageInfo_X509Certificates proto.InternalMessageInfo

func (m *X509Certificates) GetCertificate() [][]byte {
	if m != nil {
		return m.Certificate
	}
	return nil
}

type Payment struct {
	MerchantData         []byte    `protobuf:"bytes,1,opt,name=merchant_data,json=merchantData" json:"merchant_data,omitempty"`
	Transactions         [][]byte  `protobuf:"bytes,2,rep,name=transactions" json:"transactions,omitempty"`
	RefundTo             []*Output `protobuf:"bytes,3,rep,name=refund_to,json=refundTo" json:"refund_to,omitempty"`
	Memo                 *string   `protobuf:"bytes,4,opt,name=memo" json:"memo,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (m *Payment) Reset()         { *m = Payment{} }
func (m *Payment) String() string { return proto.CompactTextString(m) }
func (*Payment) ProtoMessage()    {}
func (*Payment) Descriptor() ([]byte, []int) {
	return fileDescriptor_de204c4c8d465ce4, []int{4}
}

func (m *Payment) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Payment.Unmarshal(m, b)
}
func (m *Payment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Payment.Marshal(b, m, deterministic)
}
func (m *Payment) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Payment.Merge(m, src)
}
func (m *Payment) XXX_Size() int {
	return xxx_messageInfo_Payment.Size(m)
}
func (m *Payment) XXX_DiscardUnknown() {
	xxx_messageInfo_Payment.DiscardUnknown(m)
}

var xxx_messageInfo_Payment proto.InternalMessageInfo

func (m *Payment) GetMerchantData() []byte {
	if m != nil {
		return m.MerchantData
	}
	return nil
}

func (m *Payment) GetTransactions() [][]byte {
	if m != nil {
		return m.Transactions
	}
	return nil
}

func (m *Payment) GetRefundTo() []*Output {
	if m != nil {
		return m.RefundTo
	}
	return nil
}

func (m *Payment) GetMemo() string {
	if m != nil && m.Memo != nil {
		return *m.Memo
	}
	return ""
}

type PaymentACK struct {
	Payment              *Payment `protobuf:"bytes,1,req,name=payment" json:"payment,omitempty"`
	Memo                 *string  `protobuf:"bytes,2,opt,name=memo" json:"memo,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *PaymentACK) Reset()         { *m = PaymentACK{} }
func (m *PaymentACK) String() string { return proto.CompactTextString(m) }
func (*PaymentACK) ProtoMessage()    {}
func (*PaymentACK) Descriptor() ([]byte, []int) {
	return fileDescriptor_de204c4c8d465ce4, []int{5}
}

func (m *PaymentACK) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_PaymentACK.Unmarshal(m, b)
}
func (m *PaymentACK) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_PaymentACK.Marshal(b, m, deterministic)
}
func (m *PaymentACK) XXX_Merge(src proto.Message) {
	xxx_messageInfo_PaymentACK.Merge(m, src)
}
func (m *PaymentACK) XXX_Size() int {
	return xxx_messageInfo_PaymentACK.Size(m)
}
func (m *PaymentACK) XXX_DiscardUnknown() {
	xxx_messageInfo_PaymentACK.DiscardUnknown(m)
}

var xxx_messageInfo_PaymentACK proto.InternalMessageInfo

func (m *PaymentACK) GetPayment() *Payment {
	if m != nil {
		return m.Payment
	}
	return nil
}

func (m *PaymentACK) GetMemo() string {
	if m != nil && m.Memo != nil {
		return *m.Memo
	}
	return ""
}

func init() {
	proto.RegisterType((*Output)(nil), "payments.Output")
	proto.RegisterType((*PaymentDetails)(nil), "payments.PaymentDetails")
	proto.RegisterType((*PaymentRequest)(nil), "payments.PaymentRequest")
	proto.RegisterType((*X509Certificates)(nil), "payments.X509Certificates")
	proto.RegisterType((*Payment)(nil), "payments.Payment")
	proto.RegisterType((*PaymentACK)(nil), "payments.PaymentACK")
}

func init() { proto.RegisterFile("bip70.proto", fileDescriptor_de204c4c8d465ce4) }

var fileDescriptor_de204c4c8d465ce4 = []byte{
	// 499 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x53, 0x5f, 0x6f, 0xd3, 0x3e,
	0x14, 0x55, 0xd2, 0xfc, 0x9a, 0xf6, 0x36, 0xfb, 0x69, 0x58, 0x02, 0x3c, 0x84, 0xb6, 0x28, 0xbc,
	0x44, 0x20, 0xaa, 0x32, 0x81, 0xd0, 0x0a, 0x2f, 0x6c, 0x7b, 0x43, 0x88, 0xc9, 0x1a, 0x88, 0xb7,
	0xc8, 0x4b, 0xbd, 0x61, 0x35, 0xb1, 0x8d, 0x7d, 0x03, 0x94, 0xef, 0xc1, 0x27, 0x84, 0x0f, 0x82,
	0xf2, 0xaf, 0x61, 0x9b, 0x78, 0xb3, 0xcf, 0x3d, 0x39, 0xf7, 0xdc, 0x7b, 0x1c, 0x98, 0x5d, 0x48,
	0xf3, 0x72, 0x31, 0x37, 0x56, 0xa3, 0x26, 0x13, 0xc3, 0x37, 0xa5, 0x50, 0xe8, 0x92, 0x57, 0x30,
	0x7e, 0x5f, 0xa1, 0xa9, 0x90, 0xec, 0xc1, 0x98, 0x97, 0xba, 0x52, 0x48, 0xbd, 0xd8, 0x4b, 0x83,
	0xa5, 0xb7, 0x60, 0x1d, 0x40, 0xee, 0xc1, 0xd8, 0xe5, 0x56, 0x1a, 0xa4, 0x7e, 0xec, 0xa7, 0x11,
	0xeb, 0x6e, 0xc9, 0x6f, 0x0f, 0xfe, 0x3f, 0x6b, 0x95, 0x4e, 0x05, 0x72, 0x59, 0x38, 0xb2, 0x0f,
	0xa1, 0x12, 0xf8, 0x4d, 0xdb, 0x75, 0x23, 0x33, 0x5d, 0x06, 0x25, 0x97, 0x8a, 0xf5, 0x20, 0x79,
	0x0c, 0xa1, 0x6e, 0xfa, 0x39, 0xea, 0xc7, 0xa3, 0x74, 0x76, 0xb8, 0x3b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