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

package external

import (
	fmt "fmt"
	proto "github.com/golang/protobuf/proto"
	math "math"
)

// 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

// routing key: r.block.SENDER.BlockByHashRequest
type BlockByHashRequest struct {
	Id                    string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	BlockHash             string   `protobuf:"bytes,2,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
	ReturnFullTransaction bool     `protobuf:"varint,3,opt,name=returnFullTransaction,proto3" json:"returnFullTransaction,omitempty"`
	XXX_NoUnkeyedLiteral  struct{} `json:"-"`
	XXX_unrecognized      []byte   `json:"-"`
	XXX_sizecache         int32    `json:"-"`
}

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

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

var xxx_messageInfo_BlockByHashRequest proto.InternalMessageInfo

func (m *BlockByHashRequest) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

func (m *BlockByHashRequest) GetBlockHash() string {
	if m != nil {
		return m.BlockHash
	}
	return ""
}

func (m *BlockByHashRequest) GetReturnFullTransaction() bool {
	if m != nil {
		return m.ReturnFullTransaction
	}
	return false
}

// routing key: r.block.SENDER.BlockByNumberRequest
type BlockByNumberRequest struct {
	Id                    string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	BlockNumber           uint64   `protobuf:"varint,2,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
	ReturnFullTransaction bool     `protobuf:"varint,3,opt,name=returnFullTransaction,proto3" json:"returnFullTransaction,omitempty"`
	XXX_NoUnkeyedLiteral  struct{} `json:"-"`
	XXX_unrecognized      []byte   `json:"-"`
	XXX_sizecache         int32    `json:"-"`
}

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

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

var xxx_messageInfo_BlockByNumberRequest proto.InternalMessageInfo

func (m *BlockByNumberRequest) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

func (m *BlockByNumberRequest) GetBlockNumber() uint64 {
	if m != nil {
		return m.BlockNumber
	}
	return 0
}

func (m *BlockByNumberRequest) GetReturnFullTransaction() bool {
	if m != nil {
		return m.ReturnFullTransaction
	}
	return false
}

// routing key: r.block.SENDER.RangeBlocksByNumberRequest
type RangeBlocksByNumberRequest struct {
	Id                    string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	BlockNumberFrom       uint64   `protobuf:"varint,2,opt,name=blockNumberFrom,proto3" json:"blockNumberFrom,omitempty"`
	BlockNumberTo         uint64   `protobuf:"varint,3,opt,name=blockNumberTo,proto3" json:"blockNumberTo,omitempty"`
	ReturnFullTransaction bool     `protobuf:"varint,4,opt,name=returnFullTransaction,proto3" json:"returnFullTransaction,omitempty"`
	XXX_NoUnkeyedLiteral  struct{} `json:"-"`
	XXX_unrecognized      []byte   `json:"-"`
	XXX_sizecache         int32    `json:"-"`
}

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

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

var xxx_messageInfo_RangeBlocksByNumberRequest proto.InternalMessageInfo

func (m *RangeBlocksByNumberRequest) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

func (m *RangeBlocksByNumberRequest) GetBlockNumberFrom() uint64 {
	if m != nil {
		return m.BlockNumberFrom
	}
	return 0
}

func (m *RangeBlocksByNumberRequest) GetBlockNumberTo() uint64 {
	if m != nil {
		return m.BlockNumberTo
	}
	return 0
}

func (m *RangeBlocksByNumberRequest) GetReturnFullTransaction() bool {
	if m != nil {
		return m.ReturnFullTransaction
	}
	return false
}

// routing key: r.block.SENDER.BlocksByTimePeriodRequest
type BlocksByTimePeriodRequest struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	TimestampFrom        uint64   `protobuf:"varint,2,opt,name=timestampFrom,proto3" json:"timestampFrom,omitempty"`
	TimestampTo          uint64   `protobuf:"varint,3,opt,name=timestampTo,proto3" json:"timestampTo,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_BlocksByTimePeriodRequest proto.InternalMessageInfo

func (m *BlocksByTimePeriodRequest) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

func (m *BlocksByTimePeriodRequest) GetTimestampFrom() uint64 {
	if m != nil {
		return m.TimestampFrom
	}
	return 0
}

func (m *BlocksByTimePeriodRequest) GetTimestampTo() uint64 {
	if m != nil {
		return m.TimestampTo
	}
	return 0
}

// routing key: r.block.SENDER.BlockByHashResponse
// routing key: r.block.SENDER.BlockByNumberResponse
// routing key: r.block.SENDER.RangeBlocksByNumberResponse
type BlockInfoResponse struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Block                []*Block `protobuf:"bytes,2,rep,name=block,proto3" json:"block,omitempty"`
	Error                *Error   `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_BlockInfoResponse proto.InternalMessageInfo

func (m *BlockInfoResponse) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

func (m *BlockInfoResponse) GetBlock() []*Block {
	if m != nil {
		return m.Block
	}
	return nil
}

func (m *BlockInfoResponse) GetError() *Error {
	if m != nil {
		return m.Error
	}
	return nil
}

func init() {
	proto.RegisterType((*BlockByHashRequest)(nil), "dto.BlockByHashRequest")
	proto.RegisterType((*BlockByNumberRequest)(nil), "dto.BlockByNumberRequest")
	proto.RegisterType((*RangeBlocksByNumberRequest)(nil), "dto.RangeBlocksByNumberRequest")
	proto.RegisterType((*BlocksByTimePeriodRequest)(nil), "dto.BlocksByTimePeriodRequest")
	proto.RegisterType((*BlockInfoResponse)(nil), "dto.BlockInfoResponse")
}

func init() { proto.RegisterFile("block-info.proto", fileDescriptor_d8dcf452dc6617dc) }

var fileDescriptor_d8dcf452dc6617dc = []byte{
	// 327 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0x4f, 0x4f, 0xf2, 0x40,
	0x10, 0xc6, 0xd3, 0xc2, 0xfb, 0x46, 0x06, 0xf1, 0x4f, 0xa3, 0x49, 0x25, 0x1e, 0x1a, 0xc2, 0xa1,
	0x17, 0x7b, 0x50, 0x6f, 0xde, 0x48, 0x24, 0x7a, 0x31, 0x66, 0xc3, 0xc9, 0x5b, 0xa1, 0x03, 0x6e,
	0x6c, 0x77, 0x70, 0x77, 0x9b, 0xe0, 0xc5, 0x0f, 0xe5, 0x27, 0x34, 0x9d, 0x05, 0x2c, 0x06, 0x34,
	0xf1, 0xb8, 0xbf, 0x79, 0x36, 0xcf, 0xaf, 0xdd, 0x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