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

package types

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

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

type Reply struct {
	IsOk bool   `protobuf:"varint,1,opt,name=isOk" json:"isOk,omitempty"`
	Msg  []byte `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
}

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

func (m *Reply) GetIsOk() bool {
	if m != nil {
		return m.IsOk
	}
	return false
}

func (m *Reply) GetMsg() []byte {
	if m != nil {
		return m.Msg
	}
	return nil
}

type ReqString struct {
	Data string `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"`
}

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

func (m *ReqString) GetData() string {
	if m != nil {
		return m.Data
	}
	return ""
}

type ReplyString struct {
	Data string `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"`
}

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

func (m *ReplyString) GetData() string {
	if m != nil {
		return m.Data
	}
	return ""
}

type ReplyStrings struct {
	Datas []string `protobuf:"bytes,1,rep,name=datas" json:"datas,omitempty"`
}

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

func (m *ReplyStrings) GetDatas() []string {
	if m != nil {
		return m.Datas
	}
	return nil
}

type ReqInt struct {
	Height int64 `protobuf:"varint,1,opt,name=height" json:"height,omitempty"`
}

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

func (m *ReqInt) GetHeight() int64 {
	if m != nil {
		return m.Height
	}
	return 0
}

type Int64 struct {
	Data int64 `protobuf:"varint,1,opt,name=data" json:"data,omitempty"`
}

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

func (m *Int64) GetData() int64 {
	if m != nil {
		return m.Data
	}
	return 0
}

type ReqHash struct {
	Hash    []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Upgrade bool   `protobuf:"varint,2,opt,name=upgrade" json:"upgrade,omitempty"`
}

func (m *ReqHash) Reset()                    { *m = ReqHash{} }
func (m *ReqHash) String() string            { return proto.CompactTextString(m) }
func (*ReqHash) ProtoMessage()               {}
func (*ReqHash) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{6} }

func (m *ReqHash) GetHash() []byte {
	if m != nil {
		return m.Hash
	}
	return nil
}

func (m *ReqHash) GetUpgrade() bool {
	if m != nil {
		return m.Upgrade
	}
	return false
}

type ReplyHash struct {
	Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
}

func (m *ReplyHash) Reset()                    { *m = ReplyHash{} }
func (m *ReplyHash) String() string            { return proto.CompactTextString(m) }
func (*ReplyHash) ProtoMessage()               {}
func (*ReplyHash) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{7} }

func (m *ReplyHash) GetHash() []byte {
	if m != nil {
		return m.Hash
	}
	return nil
}

type ReqNil struct {
}

func (m *ReqNil) Reset()                    { *m = ReqNil{} }
func (m *ReqNil) String() string            { return proto.CompactTextString(m) }
func (*ReqNil) ProtoMessage()               {}
func (*ReqNil) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{8} }

type ReqHashes struct {
	Hashes [][]byte `protobuf:"bytes,1,rep,name=hashes,proto3" json:"hashes,omitempty"`
}

func (m *ReqHashes) Reset()                    { *m = ReqHashes{} }
func (m *ReqHashes) String() string            { return proto.CompactTextString(m) }
func (*ReqHashes) ProtoMessage()               {}
func (*ReqHashes) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{9} }

func (m *ReqHashes) GetHashes() [][]byte {
	if m != nil {
		return m.Hashes
	}
	return nil
}

type ReplyHashes struct {
	Hashes [][]byte `protobuf:"bytes,1,rep,name=hashes,proto3" json:"hashes,omitempty"`
}

func (m *ReplyHashes) Reset()                    { *m = ReplyHashes{} }
func (m *ReplyHashes) String() string            { return proto.CompactTextString(m) }
func (*ReplyHashes) ProtoMessage()               {}
func (*ReplyHashes) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{10} }

func (m *ReplyHashes) GetHashes() [][]byte {
	if m != nil {
		return m.Hashes
	}
	return nil
}

type KeyValue struct {
	Key   []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

func (m *KeyValue) Reset()                    { *m = KeyValue{} }
func (m *KeyValue) String() string            { return proto.CompactTextString(m) }
func (*KeyValue) ProtoMessage()               {}
func (*KeyValue) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{11} }

func (m *KeyValue) GetKey() []byte {
	if m != nil {
		return m.Key
	}
	return nil
}

func (m *KeyValue) GetValue() []byte {
	if m != nil {
		return m.Value
	}
	return nil
}

type TxHash struct {
	Hash string `protobuf:"bytes,1,opt,name=hash" json:"hash,omitempty"`
}

func (m *TxHash) Reset()                    { *m = TxHash{} }
func (m *TxHash) String() string            { return proto.CompactTextString(m) }
func (*TxHash) ProtoMessage()               {}
func (*TxHash) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{12} }

func (m *TxHash) GetHash() string {
	if m != nil {
		return m.Hash
	}
	return ""
}

type TimeStatus struct {
	NtpTime   string `protobuf:"bytes,1,opt,name=ntpTime" json:"ntpTime,omitempty"`
	LocalTime string `protobuf:"bytes,2,opt,name=localTime" json:"localTime,omitempty"`
	Diff      int64  `protobuf:"varint,3,opt,name=diff" json:"diff,omitempty"`
}

func (m *TimeStatus) Reset()                    { *m = TimeStatus{} }
func (m *TimeStatus) String() string            { return proto.CompactTextString(m) }
func (*TimeStatus) ProtoMessage()               {}
func (*TimeStatus) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{13} }

func (m *TimeStatus) GetNtpTime() string {
	if m != nil {
		return m.NtpTime
	}
	return ""
}

func (m *TimeStatus) GetLocalTime() string {
	if m != nil {
		return m.LocalTime
	}
	return ""
}

func (m *TimeStatus) GetDiff() int64 {
	if m != nil {
		return m.Diff
	}
	return 0
}

type ReqKey struct {
	Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
}

func (m *ReqKey) Reset()                    { *m = ReqKey{} }
func (m *ReqKey) String() string            { return proto.CompactTextString(m) }
func (*ReqKey) ProtoMessage()               {}
func (*ReqKey) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{14} }

func (m *ReqKey) GetKey() []byte {
	if m != nil {
		return m.Key
	}
	return nil
}

type ReqRandHash struct {
	ExecName string `protobuf:"bytes,1,opt,name=execName" json:"execName,omitempty"`
	Height   int64  `protobuf:"varint,2,opt,name=height" json:"height,omitempty"`
	BlockNum int64  `protobuf:"varint,3,opt,name=blockNum" json:"blockNum,omitempty"`
	Hash     []byte `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
}

func (m *ReqRandHash) Reset()                    { *m = ReqRandHash{} }
func (m *ReqRandHash) String() string            { return proto.CompactTextString(m) }
func (*ReqRandHash) ProtoMessage()               {}
func (*ReqRandHash) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{15} }

func (m *ReqRandHash) GetExecName() string {
	if m != nil {
		return m.ExecName
	}
	return ""
}

func (m *ReqRandHash) GetHeight() int64 {
	if m != nil {
		return m.Height
	}
	return 0
}

func (m *ReqRandHash) GetBlockNum() int64 {
	if m != nil {
		return m.BlockNum
	}
	return 0
}

func (m *ReqRandHash) GetHash() []byte {
	if m != nil {
		return m.Hash
	}
	return nil
}

// *
// 当前软件版本信息
type VersionInfo struct {
	Title   string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"`
	App     string `protobuf:"bytes,2,opt,name=app" json:"app,omitempty"`
	Chain33 string `protobuf:"bytes,3,opt,name=chain33" json:"chain33,omitempty"`
	LocalDb string `protobuf:"bytes,4,opt,name=localDb" json:"localDb,omitempty"`
}

func (m *VersionInfo) Reset()                    { *m = VersionInfo{} }
func (m *VersionInfo) String() string            { return proto.CompactTextString(m) }
func (*VersionInfo) ProtoMessage()               {}
func (*VersionInfo) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{16} }

func (m *VersionInfo) GetTitle() string {
	if m != nil {
		return m.Title
	}
	return ""
}

func (m *VersionInfo) GetApp() string {
	if m != nil {
		return m.App
	}
	return ""
}

func (m *VersionInfo) GetChain33() string {
	if m != nil {
		return m.Chain33
	}
	return ""
}

func (m *VersionInfo) GetLocalDb() string {
	if m != nil {
		return m.LocalDb
	}
	return ""
}

func init() {
	proto.RegisterType((*Reply)(nil), "types.Reply")
	proto.RegisterType((*ReqString)(nil), "types.ReqString")
	proto.RegisterType((*ReplyString)(nil), "types.ReplyString")
	proto.RegisterType((*ReplyStrings)(nil), "types.ReplyStrings")
	proto.RegisterType((*ReqInt)(nil), "types.ReqInt")
	proto.RegisterType((*Int64)(nil), "types.Int64")
	proto.RegisterType((*ReqHash)(nil), "types.ReqHash")
	proto.RegisterType((*ReplyHash)(nil), "types.ReplyHash")
	proto.RegisterType((*ReqNil)(nil), "types.ReqNil")
	proto.RegisterType((*ReqHashes)(nil), "types.ReqHashes")
	proto.RegisterType((*ReplyHashes)(nil), "types.ReplyHashes")
	proto.RegisterType((*KeyValue)(nil), "types.KeyValue")
	proto.RegisterType((*TxHash)(nil), "types.TxHash")
	proto.RegisterType((*TimeStatus)(nil), "types.TimeStatus")
	proto.RegisterType((*ReqKey)(nil), "types.ReqKey")
	proto.RegisterType((*ReqRandHash)(nil), "types.ReqRandHash")
	proto.RegisterType((*VersionInfo)(nil), "types.VersionInfo")
}

func init() { proto.RegisterFile("common.proto", fileDescriptor2) }

var fileDescriptor2 = []byte{
	// 456 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x53, 0xdf, 0x8b, 0xd3, 0x40,
	0x10, 0xa6, 0xcd, 0xb5, 0x97, 0xcc, 0xe5, 0x41, 0x82, 0x48, 0x38, 0x4f, 0xae, 0xae, 0x0a, 0x7d,
	0xf1, 0x0a, 0x46, 0xf4, 0x5d, 0x7c, 0xb0, 0x1c, 0x54, 0xd8, 0x3b, 0x0e, 0xf1, 0x6d, 0x9b, 0x6e,
	0x92, 0xa5, 0xc9, 0x26, 0xe9, 0x6e, 0xe4, 0xf2, 0xdf, 0xcb, 0x4c, 0x37, 0xb5, 0x52, 0xf4, 0xde,
	0xe6, 0xdb, 0x99, 0xc9, 0xf7, 0x63, 0x08, 0x84, 0x69, 0x5d, 0x55, 0xb5, 0xbe, 0x69, 0x76, 0xb5,
	0xad, 0xa3, 0x89, 0xed, 0x1b, 0x69, 0xd8, 0x7b, 0x98, 0x70, 0xd9, 0x94, 0x7d, 0x14, 0xc1, 0x99,
	0x32, 0xdf, 0xb7, 0xf1, 0x68, 0x36, 0x9a, 0xfb, 0x9c, 0xea, 0xe8, 0x19, 0x78, 0x95, 0xc9, 0xe3,
	0xf1, 0x6c, 0x34, 0x0f, 0x39, 0x96, 0xec, 0x1a, 0x02, 0x2e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