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

package types

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.ProtoPackageIsVersion2 // please upgrade the proto package

//事件
type OracleStatus struct {
	EventID              string       `protobuf:"bytes,1,opt,name=eventID,proto3" json:"eventID,omitempty"`
	Addr                 string       `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
	Type                 string       `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	SubType              string       `protobuf:"bytes,4,opt,name=subType,proto3" json:"subType,omitempty"`
	Time                 int64        `protobuf:"varint,5,opt,name=time,proto3" json:"time,omitempty"`
	Content              string       `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"`
	Introduction         string       `protobuf:"bytes,7,opt,name=introduction,proto3" json:"introduction,omitempty"`
	Status               *EventStatus `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
	Source               string       `protobuf:"bytes,9,opt,name=source,proto3" json:"source,omitempty"`
	Result               string       `protobuf:"bytes,10,opt,name=result,proto3" json:"result,omitempty"`
	PreStatus            *EventStatus `protobuf:"bytes,11,opt,name=preStatus,proto3" json:"preStatus,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

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

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

var xxx_messageInfo_OracleStatus proto.InternalMessageInfo

func (m *OracleStatus) GetEventID() string {
	if m != nil {
		return m.EventID
	}
	return ""
}

func (m *OracleStatus) GetAddr() string {
	if m != nil {
		return m.Addr
	}
	return ""
}

func (m *OracleStatus) GetType() string {
	if m != nil {
		return m.Type
	}
	return ""
}

func (m *OracleStatus) GetSubType() string {
	if m != nil {
		return m.SubType
	}
	return ""
}

func (m *OracleStatus) GetTime() int64 {
	if m != nil {
		return m.Time
	}
	return 0
}

func (m *OracleStatus) GetContent() string {
	if m != nil {
		return m.Content
	}
	return ""
}

func (m *OracleStatus) GetIntroduction() string {
	if m != nil {
		return m.Introduction
	}
	return ""
}

func (m *OracleStatus) GetStatus() *EventStatus {
	if m != nil {
		return m.Status
	}
	return nil
}

func (m *OracleStatus) GetSource() string {
	if m != nil {
		return m.Source
	}
	return ""
}

func (m *OracleStatus) GetResult() string {
	if m != nil {
		return m.Result
	}
	return ""
}

func (m *OracleStatus) GetPreStatus() *EventStatus {
	if m != nil {
		return m.PreStatus
	}
	return nil
}

// action
type OracleAction struct {
	// Types that are valid to be assigned to Value:
	//	*OracleAction_EventPublish
	//	*OracleAction_EventAbort
	//	*OracleAction_ResultPrePublish
	//	*OracleAction_ResultPublish
	//	*OracleAction_ResultAbort
	Value                isOracleAction_Value `protobuf_oneof:"value"`
	Ty                   int32                `protobuf:"varint,7,opt,name=Ty,proto3" json:"Ty,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

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

var xxx_messageInfo_OracleAction proto.InternalMessageInfo

type isOracleAction_Value interface {
	isOracleAction_Value()
}

type OracleAction_EventPublish struct {
	EventPublish *EventPublish `protobuf:"bytes,1,opt,name=eventPublish,proto3,oneof"`
}

type OracleAction_EventAbort struct {
	EventAbort *EventAbort `protobuf:"bytes,2,opt,name=eventAbort,proto3,oneof"`
}

type OracleAction_ResultPrePublish struct {
	ResultPrePublish *ResultPrePublish `protobuf:"bytes,3,opt,name=resultPrePublish,proto3,oneof"`
}

type OracleAction_ResultPublish struct {
	ResultPublish *ResultPublish `protobuf:"bytes,4,opt,name=resultPublish,proto3,oneof"`
}

type OracleAction_ResultAbort struct {
	ResultAbort *ResultAbort `protobuf:"bytes,5,opt,name=resultAbort,proto3,oneof"`
}

func (*OracleAction_EventPublish) isOracleAction_Value() {}

func (*OracleAction_EventAbort) isOracleAction_Value() {}

func (*OracleAction_ResultPrePublish) isOracleAction_Value() {}

func (*OracleAction_ResultPublish) isOracleAction_Value() {}

func (*OracleAction_ResultAbort) isOracleAction_Value() {}

func (m *OracleAction) GetValue() isOracleAction_Value {
	if m != nil {
		return m.Value
	}
	return nil
}

func (m *OracleAction) GetEventPublish() *EventPublish {
	if x, ok := m.GetValue().(*OracleAction_EventPublish); ok {
		return x.EventPublish
	}
	return nil
}

func (m *OracleAction) GetEventAbort() *EventAbort {
	if x, ok := m.GetValue().(*OracleAction_EventAbort); ok {
		return x.EventAbort
	}
	return nil
}

func (m *OracleAction) GetResultPrePublish() *ResultPrePublish {
	if x, ok := m.GetValue().(*OracleAction_ResultPrePublish); ok {
		return x.ResultPrePublish
	}
	return nil
}

func (m *OracleAction) GetResultPublish() *ResultPublish {
	if x, ok := m.GetValue().(*OracleAction_ResultPublish); ok {
		return x.ResultPublish
	}
	return nil
}

func (m *OracleAction) GetResultAbort() *ResultAbort {
	if x, ok := m.GetValue().(*OracleAction_ResultAbort); ok {
		return x.ResultAbort
	}
	return nil
}

func (m *OracleAction) GetTy() int32 {
	if m != nil {
		return m.Ty
	}
	return 0
}

// XXX_OneofFuncs is for the internal use of the proto package.
func (*OracleAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
	return _OracleAction_OneofMarshaler, _OracleAction_OneofUnmarshaler, _OracleAction_OneofSizer, []interface{}{
		(*OracleAction_EventPublish)(nil),
		(*OracleAction_EventAbort)(nil),
		(*OracleAction_ResultPrePublish)(nil),
		(*OracleAction_ResultPublish)(nil),
		(*OracleAction_ResultAbort)(nil),
	}
}

func _OracleAction_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
	m := msg.(*OracleAction)
	// value
	switch x := m.Value.(type) {
	case *OracleAction_EventPublish:
		b.EncodeVarint(1<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.EventPublish); err != nil {
			return err
		}
	case *OracleAction_EventAbort:
		b.EncodeVarint(2<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.EventAbort); err != nil {
			return err
		}
	case *OracleAction_ResultPrePublish:
		b.EncodeVarint(3<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.ResultPrePublish); err != nil {
			return err
		}
	case *OracleAction_ResultPublish:
		b.EncodeVarint(4<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.ResultPublish); err != nil {
			return err
		}
	case *OracleAction_ResultAbort:
		b.EncodeVarint(5<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.ResultAbort); err != nil {
			return err
		}
	case nil:
	default:
		return fmt.Errorf("OracleAction.Value has unexpected type %T", x)
	}
	return nil
}

func _OracleAction_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
	m := msg.(*OracleAction)
	switch tag {
	case 1: // value.eventPublish
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(EventPublish)
		err := b.DecodeMessage(msg)
		m.Value = &OracleAction_EventPublish{msg}
		return true, err
	case 2: // value.eventAbort
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(EventAbort)
		err := b.DecodeMessage(msg)
		m.Value = &OracleAction_EventAbort{msg}
		return true, err
	case 3: // value.resultPrePublish
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(ResultPrePublish)
		err := b.DecodeMessage(msg)
		m.Value = &OracleAction_ResultPrePublish{msg}
		return true, err
	case 4: // value.resultPublish
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(ResultPublish)
		err := b.DecodeMessage(msg)
		m.Value = &OracleAction_ResultPublish{msg}
		return true, err
	case 5: // value.resultAbort
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(ResultAbort)
		err := b.DecodeMessage(msg)
		m.Value = &OracleAction_ResultAbort{msg}
		return true, err
	default:
		return false, nil
	}
}

func _OracleAction_OneofSizer(msg proto.Message) (n int) {
	m := msg.(*OracleAction)
	// value
	switch x := m.Value.(type) {
	case *OracleAction_EventPublish:
		s := proto.Size(x.EventPublish)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *OracleAction_EventAbort:
		s := proto.Size(x.EventAbort)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *OracleAction_ResultPrePublish:
		s := proto.Size(x.ResultPrePublish)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *OracleAction_ResultPublish:
		s := proto.Size(x.ResultPublish)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *OracleAction_ResultAbort:
		s := proto.Size(x.ResultAbort)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case nil:
	default:
		panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
	}
	return n
}

type EventStatus struct {
	OpAddr               string   `protobuf:"bytes,1,opt,name=opAddr,proto3" json:"opAddr,omitempty"`
	Status               int32    `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_EventStatus proto.InternalMessageInfo

func (m *EventStatus) GetOpAddr() string {
	if m != nil {
		return m.OpAddr
	}
	return ""
}

func (m *EventStatus) GetStatus() int32 {
	if m != nil {
		return m.Status
	}
	return 0
}

type EventPublish struct {
	Type                 string   `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	SubType              string   `protobuf:"bytes,3,opt,name=subType,proto3" json:"subType,omitempty"`
	Time                 int64    `protobuf:"varint,4,opt,name=time,proto3" json:"time,omitempty"`
	Content              string   `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"`
	Introduction         string   `protobuf:"bytes,6,opt,name=introduction,proto3" json:"introduction,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_EventPublish proto.InternalMessageInfo

func (m *EventPublish) GetType() string {
	if m != nil {
		return m.Type
	}
	return ""
}

func (m *EventPublish) GetSubType() string {
	if m != nil {
		return m.SubType
	}
	return ""
}

func (m *EventPublish) GetTime() int64 {
	if m != nil {
		return m.Time
	}
	return 0
}

func (m *EventPublish) GetContent() string {
	if m != nil {
		return m.Content
	}
	return ""
}

func (m *EventPublish) GetIntroduction() string {
	if m != nil {
		return m.Introduction
	}
	return ""
}

type EventAbort struct {
	EventID              string   `protobuf:"bytes,2,opt,name=eventID,proto3" json:"eventID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_EventAbort proto.InternalMessageInfo

func (m *EventAbort) GetEventID() string {
	if m != nil {
		return m.EventID
	}
	return ""
}

type ResultPrePublish struct {
	EventID              string   `protobuf:"bytes,2,opt,name=eventID,proto3" json:"eventID,omitempty"`
	Source               string   `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	Result               string   `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_ResultPrePublish proto.InternalMessageInfo

func (m *ResultPrePublish) GetEventID() string {
	if m != nil {
		return m.EventID
	}
	return ""
}

func (m *ResultPrePublish) GetSource() string {
	if m != nil {
		return m.Source
	}
	return ""
}

func (m *ResultPrePublish) GetResult() string {
	if m != nil {
		return m.Result
	}
	return ""
}

type ResultPublish struct {
	EventID              string   `protobuf:"bytes,2,opt,name=eventID,proto3" json:"eventID,omitempty"`
	Source               string   `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	Result               string   `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_ResultPublish proto.InternalMessageInfo

func (m *ResultPublish) GetEventID() string {
	if m != nil {
		return m.EventID
	}
	return ""
}

func (m *ResultPublish) GetSource() string {
	if m != nil {
		return m.Source
	}
	return ""
}

func (m *ResultPublish) GetResult() string {
	if m != nil {
		return m.Result
	}
	return ""
}

type ResultAbort struct {
	EventID              string   `protobuf:"bytes,2,opt,name=eventID,proto3" json:"eventID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_ResultAbort proto.InternalMessageInfo

func (m *ResultAbort) GetEventID() string {
	if m != nil {
		return m.EventID
	}
	return ""
}

// localDB
type EventRecord struct {
	EventID              string   `protobuf:"bytes,1,opt,name=eventID,proto3" json:"eventID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_EventRecord proto.InternalMessageInfo

func (m *EventRecord) GetEventID() string {
	if m != nil {
		return m.EventID
	}
	return ""
}

type QueryOracleInfos struct {
	EventID              []string `protobuf:"bytes,1,rep,name=eventID,proto3" json:"eventID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_QueryOracleInfos proto.InternalMessageInfo

func (m *QueryOracleInfos) GetEventID() []string {
	if m != nil {
		return m.EventID
	}
	return nil
}

type ReplyEventIDs struct {
	EventID              []string `protobuf:"bytes,1,rep,name=eventID,proto3" json:"eventID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_ReplyEventIDs proto.InternalMessageInfo

func (m *ReplyEventIDs) GetEventID() []string {
	if m != nil {
		return m.EventID
	}
	return nil
}

type QueryEventID struct {
	Status               int32    `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	Addr                 string   `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
	Type                 string   `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	EventID              string   `protobuf:"bytes,4,opt,name=eventID,proto3" json:"eventID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_QueryEventID proto.InternalMessageInfo

func (m *QueryEventID) GetStatus() int32 {
	if m != nil {
		return m.Status
	}
	return 0
}

func (m *QueryEventID) GetAddr() string {
	if m != nil {
		return m.Addr
	}
	return ""
}

func (m *QueryEventID) GetType() string {
	if m != nil {
		return m.Type
	}
	return ""
}

func (m *QueryEventID) GetEventID() string {
	if m != nil {
		return m.EventID
	}
	return ""
}

type ReceiptOracle struct {
	EventID              string   `protobuf:"bytes,1,opt,name=eventID,proto3" json:"eventID,omitempty"`
	Status               int32    `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	Addr                 string   `protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"`
	Type                 string   `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	PreStatus            int32    `protobuf:"varint,6,opt,name=preStatus,proto3" json:"preStatus,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_ReceiptOracle proto.InternalMessageInfo

func (m *ReceiptOracle) GetEventID() string {
	if m != nil {
		return m.EventID
	}
	return ""
}

func (m *ReceiptOracle) GetStatus() int32 {
	if m != nil {
		return m.Status
	}
	return 0
}

func (m *ReceiptOracle) GetAddr() string {
	if m != nil {
		return m.Addr
	}
	return ""
}

func (m *ReceiptOracle) GetType() string {
	if m != nil {
		return m.Type
	}
	return ""
}

func (m *ReceiptOracle) GetPreStatus() int32 {
	if m != nil {
		return m.PreStatus
	}
	return 0
}

type ReplyOracleStatusList struct {
	Status               []*OracleStatus `protobuf:"bytes,1,rep,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

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

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

var xxx_messageInfo_ReplyOracleStatusList proto.InternalMessageInfo

func (m *ReplyOracleStatusList) GetStatus() []*OracleStatus {
	if m != nil {
		return m.Status
	}
	return nil
}

func init() {
	proto.RegisterType((*OracleStatus)(nil), "types.OracleStatus")
	proto.RegisterType((*OracleAction)(nil), "types.OracleAction")
	proto.RegisterType((*EventStatus)(nil), "types.EventStatus")
	proto.RegisterType((*EventPublish)(nil), "types.EventPublish")
	proto.RegisterType((*EventAbort)(nil), "types.EventAbort")
	proto.RegisterType((*ResultPrePublish)(nil), "types.ResultPrePublish")
	proto.RegisterType((*ResultPublish)(nil), "types.ResultPublish")
	proto.RegisterType((*ResultAbort)(nil), "types.ResultAbort")
	proto.RegisterType((*EventRecord)(nil), "types.EventRecord")
	proto.RegisterType((*QueryOracleInfos)(nil), "types.QueryOracleInfos")
	proto.RegisterType((*ReplyEventIDs)(nil), "types.ReplyEventIDs")
	proto.RegisterType((*QueryEventID)(nil), "types.QueryEventID")
	proto.RegisterType((*ReceiptOracle)(nil), "types.ReceiptOracle")
	proto.RegisterType((*ReplyOracleStatusList)(nil), "types.ReplyOracleStatusList")
}

func init() { proto.RegisterFile("oracle.proto", fileDescriptor_b544994cdab50f02) }

var fileDescriptor_b544994cdab50f02 = []byte{
	// 579 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x4d, 0x8b, 0xdb, 0x3c,
	0x10, 0x8e, 0x3f, 0xf7, 0xdd, 0xb1, 0xf7, 0x25, 0x55, 0xbf, 0x74, 0xe8, 0x21, 0xf8, 0xd0, 0x4d,
	0x3f, 0x08, 0x25, 0x0b, 0x85, 0x42, 0x7b, 0x48, 0xd9, 0x40, 0x16, 0x0a, 0xdd, 0xaa, 0xb9, 0x14,
	0x7a, 0x49, 0x1c, 0x95, 0x35, 0xa4, 0x96, 0x91, 0xe5, 0x85, 0xfc, 0x82, 0xde, 0xfa, 0xc3, 0x7a,
	0xee, 0x0f, 0x2a, 0x1a, 0x29, 0x89, 0x9c, 0x4d, 0x02, 0x85, 0xde, 0x34, 0x33, 0x8f, 0x1e, 0xcf,
	0xc7, 0xa3, 0x31, 0xa4, 0x42, 0xce, 0xf2, 0x25, 0x1f, 0x54, 0x52, 0x28, 0x41, 0x22, 0xb5, 0xaa,
	0x78, 0x9d, 0xfd, 0xf2, 0x21, 0xfd, 0x88, 0xfe, 0xcf, 0x6a, 0xa6, 0x9a, 0x9a, 0x50, 0x38, 0xe1,
	0xb7, 0xbc, 0x54, 0x57, 0x97, 0xd4, 0xeb, 0x79, 0xfd, 0x53, 0xb6, 0x36, 0x09, 0x81, 0x70, 0xb6,
	0x58, 0x48, 0xea, 0xa3, 0x1b, 0xcf, 0xda, 0xa7, 0x79, 0x68, 0x60, 0x7c, 0xfa, 0xac, 0x19, 0xea,
	0x66, 0x3e, 0xd5, 0xee, 0xd0, 0x30, 0x58, 0x13, 0xd1,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