// Code generated by protoc-gen-go. DO NOT EDIT.
|
// source: bhome_msg.proto
|
|
package bhome_msg
|
|
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
|
|
type MsgType int32
|
|
const (
|
MsgType_kMsgTypeInvalid MsgType = 0
|
MsgType_kMsgTypeRawData MsgType = 1
|
MsgType_kMsgTypeCommonReply MsgType = 2
|
MsgType_kMsgTypeProcInit MsgType = 8
|
MsgType_kMsgTypeProcInitReply MsgType = 9
|
MsgType_kMsgTypeRegister MsgType = 10
|
// kMsgTypeRegisterReply= 11;
|
MsgType_kMsgTypeHeartbeat MsgType = 12
|
// kMsgTypeHeartbeatReply = 13;
|
MsgType_kMsgTypeQueryTopic MsgType = 14
|
MsgType_kMsgTypeQueryTopicReply MsgType = 15
|
MsgType_kMsgTypeRequestTopic MsgType = 16
|
MsgType_kMsgTypeRequestTopicReply MsgType = 17
|
MsgType_kMsgTypeRegisterRPC MsgType = 18
|
MsgType_kMsgTypePublish MsgType = 20
|
// kMsgTypePublishReply = 21;
|
MsgType_kMsgTypeSubscribe MsgType = 22
|
// kMsgTypeSubscribeReply = 23;
|
MsgType_kMsgTypeUnsubscribe MsgType = 24
|
// kMsgTypeUnsubscribeReply = 25;
|
MsgType_kMsgTypeUnregister MsgType = 26
|
// kMsgTypeUnregisterReply = 27;
|
MsgType_kMsgTypeQueryProc MsgType = 28
|
MsgType_kMsgTypeQueryProcReply MsgType = 29
|
)
|
|
var MsgType_name = map[int32]string{
|
0: "kMsgTypeInvalid",
|
1: "kMsgTypeRawData",
|
2: "kMsgTypeCommonReply",
|
8: "kMsgTypeProcInit",
|
9: "kMsgTypeProcInitReply",
|
10: "kMsgTypeRegister",
|
12: "kMsgTypeHeartbeat",
|
14: "kMsgTypeQueryTopic",
|
15: "kMsgTypeQueryTopicReply",
|
16: "kMsgTypeRequestTopic",
|
17: "kMsgTypeRequestTopicReply",
|
18: "kMsgTypeRegisterRPC",
|
20: "kMsgTypePublish",
|
22: "kMsgTypeSubscribe",
|
24: "kMsgTypeUnsubscribe",
|
26: "kMsgTypeUnregister",
|
28: "kMsgTypeQueryProc",
|
29: "kMsgTypeQueryProcReply",
|
}
|
|
var MsgType_value = map[string]int32{
|
"kMsgTypeInvalid": 0,
|
"kMsgTypeRawData": 1,
|
"kMsgTypeCommonReply": 2,
|
"kMsgTypeProcInit": 8,
|
"kMsgTypeProcInitReply": 9,
|
"kMsgTypeRegister": 10,
|
"kMsgTypeHeartbeat": 12,
|
"kMsgTypeQueryTopic": 14,
|
"kMsgTypeQueryTopicReply": 15,
|
"kMsgTypeRequestTopic": 16,
|
"kMsgTypeRequestTopicReply": 17,
|
"kMsgTypeRegisterRPC": 18,
|
"kMsgTypePublish": 20,
|
"kMsgTypeSubscribe": 22,
|
"kMsgTypeUnsubscribe": 24,
|
"kMsgTypeUnregister": 26,
|
"kMsgTypeQueryProc": 28,
|
"kMsgTypeQueryProcReply": 29,
|
}
|
|
func (x MsgType) String() string {
|
return proto.EnumName(MsgType_name, int32(x))
|
}
|
|
func (MsgType) EnumDescriptor() ([]byte, []int) {
|
return fileDescriptor_88ce6d52215a3d3f, []int{0}
|
}
|
|
type BHMsgHead struct {
|
MsgId []byte `protobuf:"bytes,1,opt,name=msg_id,json=msgId,proto3" json:"msg_id,omitempty"`
|
Route []*BHAddress `protobuf:"bytes,2,rep,name=route,proto3" json:"route,omitempty"`
|
Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
Type int32 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"`
|
SsnId uint64 `protobuf:"varint,5,opt,name=ssn_id,json=ssnId,proto3" json:"ssn_id,omitempty"`
|
ProcId []byte `protobuf:"bytes,6,opt,name=proc_id,json=procId,proto3" json:"proc_id,omitempty"`
|
Topic []byte `protobuf:"bytes,7,opt,name=topic,proto3" json:"topic,omitempty"`
|
Dest *BHAddress `protobuf:"bytes,8,opt,name=dest,proto3" json:"dest,omitempty"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_unrecognized []byte `json:"-"`
|
XXX_sizecache int32 `json:"-"`
|
}
|
|
func (m *BHMsgHead) Reset() { *m = BHMsgHead{} }
|
func (m *BHMsgHead) String() string { return proto.CompactTextString(m) }
|
func (*BHMsgHead) ProtoMessage() {}
|
func (*BHMsgHead) Descriptor() ([]byte, []int) {
|
return fileDescriptor_88ce6d52215a3d3f, []int{0}
|
}
|
|
func (m *BHMsgHead) XXX_Unmarshal(b []byte) error {
|
return xxx_messageInfo_BHMsgHead.Unmarshal(m, b)
|
}
|
func (m *BHMsgHead) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
return xxx_messageInfo_BHMsgHead.Marshal(b, m, deterministic)
|
}
|
func (m *BHMsgHead) XXX_Merge(src proto.Message) {
|
xxx_messageInfo_BHMsgHead.Merge(m, src)
|
}
|
func (m *BHMsgHead) XXX_Size() int {
|
return xxx_messageInfo_BHMsgHead.Size(m)
|
}
|
func (m *BHMsgHead) XXX_DiscardUnknown() {
|
xxx_messageInfo_BHMsgHead.DiscardUnknown(m)
|
}
|
|
var xxx_messageInfo_BHMsgHead proto.InternalMessageInfo
|
|
func (m *BHMsgHead) GetMsgId() []byte {
|
if m != nil {
|
return m.MsgId
|
}
|
return nil
|
}
|
|
func (m *BHMsgHead) GetRoute() []*BHAddress {
|
if m != nil {
|
return m.Route
|
}
|
return nil
|
}
|
|
func (m *BHMsgHead) GetTimestamp() int64 {
|
if m != nil {
|
return m.Timestamp
|
}
|
return 0
|
}
|
|
func (m *BHMsgHead) GetType() int32 {
|
if m != nil {
|
return m.Type
|
}
|
return 0
|
}
|
|
func (m *BHMsgHead) GetSsnId() uint64 {
|
if m != nil {
|
return m.SsnId
|
}
|
return 0
|
}
|
|
func (m *BHMsgHead) GetProcId() []byte {
|
if m != nil {
|
return m.ProcId
|
}
|
return nil
|
}
|
|
func (m *BHMsgHead) GetTopic() []byte {
|
if m != nil {
|
return m.Topic
|
}
|
return nil
|
}
|
|
func (m *BHMsgHead) GetDest() *BHAddress {
|
if m != nil {
|
return m.Dest
|
}
|
return nil
|
}
|
|
type MsgSubscribe struct {
|
Topics *MsgTopicList `protobuf:"bytes,1,opt,name=topics,proto3" json:"topics,omitempty"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_unrecognized []byte `json:"-"`
|
XXX_sizecache int32 `json:"-"`
|
}
|
|
func (m *MsgSubscribe) Reset() { *m = MsgSubscribe{} }
|
func (m *MsgSubscribe) String() string { return proto.CompactTextString(m) }
|
func (*MsgSubscribe) ProtoMessage() {}
|
func (*MsgSubscribe) Descriptor() ([]byte, []int) {
|
return fileDescriptor_88ce6d52215a3d3f, []int{1}
|
}
|
|
func (m *MsgSubscribe) XXX_Unmarshal(b []byte) error {
|
return xxx_messageInfo_MsgSubscribe.Unmarshal(m, b)
|
}
|
func (m *MsgSubscribe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
return xxx_messageInfo_MsgSubscribe.Marshal(b, m, deterministic)
|
}
|
func (m *MsgSubscribe) XXX_Merge(src proto.Message) {
|
xxx_messageInfo_MsgSubscribe.Merge(m, src)
|
}
|
func (m *MsgSubscribe) XXX_Size() int {
|
return xxx_messageInfo_MsgSubscribe.Size(m)
|
}
|
func (m *MsgSubscribe) XXX_DiscardUnknown() {
|
xxx_messageInfo_MsgSubscribe.DiscardUnknown(m)
|
}
|
|
var xxx_messageInfo_MsgSubscribe proto.InternalMessageInfo
|
|
func (m *MsgSubscribe) GetTopics() *MsgTopicList {
|
if m != nil {
|
return m.Topics
|
}
|
return nil
|
}
|
|
type MsgUnsubscribe struct {
|
Topics *MsgTopicList `protobuf:"bytes,1,opt,name=topics,proto3" json:"topics,omitempty"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_unrecognized []byte `json:"-"`
|
XXX_sizecache int32 `json:"-"`
|
}
|
|
func (m *MsgUnsubscribe) Reset() { *m = MsgUnsubscribe{} }
|
func (m *MsgUnsubscribe) String() string { return proto.CompactTextString(m) }
|
func (*MsgUnsubscribe) ProtoMessage() {}
|
func (*MsgUnsubscribe) Descriptor() ([]byte, []int) {
|
return fileDescriptor_88ce6d52215a3d3f, []int{2}
|
}
|
|
func (m *MsgUnsubscribe) XXX_Unmarshal(b []byte) error {
|
return xxx_messageInfo_MsgUnsubscribe.Unmarshal(m, b)
|
}
|
func (m *MsgUnsubscribe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
return xxx_messageInfo_MsgUnsubscribe.Marshal(b, m, deterministic)
|
}
|
func (m *MsgUnsubscribe) XXX_Merge(src proto.Message) {
|
xxx_messageInfo_MsgUnsubscribe.Merge(m, src)
|
}
|
func (m *MsgUnsubscribe) XXX_Size() int {
|
return xxx_messageInfo_MsgUnsubscribe.Size(m)
|
}
|
func (m *MsgUnsubscribe) XXX_DiscardUnknown() {
|
xxx_messageInfo_MsgUnsubscribe.DiscardUnknown(m)
|
}
|
|
var xxx_messageInfo_MsgUnsubscribe proto.InternalMessageInfo
|
|
func (m *MsgUnsubscribe) GetTopics() *MsgTopicList {
|
if m != nil {
|
return m.Topics
|
}
|
return nil
|
}
|
|
type MsgRegisterRPC struct {
|
Topics *MsgTopicList `protobuf:"bytes,1,opt,name=topics,proto3" json:"topics,omitempty"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_unrecognized []byte `json:"-"`
|
XXX_sizecache int32 `json:"-"`
|
}
|
|
func (m *MsgRegisterRPC) Reset() { *m = MsgRegisterRPC{} }
|
func (m *MsgRegisterRPC) String() string { return proto.CompactTextString(m) }
|
func (*MsgRegisterRPC) ProtoMessage() {}
|
func (*MsgRegisterRPC) Descriptor() ([]byte, []int) {
|
return fileDescriptor_88ce6d52215a3d3f, []int{3}
|
}
|
|
func (m *MsgRegisterRPC) XXX_Unmarshal(b []byte) error {
|
return xxx_messageInfo_MsgRegisterRPC.Unmarshal(m, b)
|
}
|
func (m *MsgRegisterRPC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
return xxx_messageInfo_MsgRegisterRPC.Marshal(b, m, deterministic)
|
}
|
func (m *MsgRegisterRPC) XXX_Merge(src proto.Message) {
|
xxx_messageInfo_MsgRegisterRPC.Merge(m, src)
|
}
|
func (m *MsgRegisterRPC) XXX_Size() int {
|
return xxx_messageInfo_MsgRegisterRPC.Size(m)
|
}
|
func (m *MsgRegisterRPC) XXX_DiscardUnknown() {
|
xxx_messageInfo_MsgRegisterRPC.DiscardUnknown(m)
|
}
|
|
var xxx_messageInfo_MsgRegisterRPC proto.InternalMessageInfo
|
|
func (m *MsgRegisterRPC) GetTopics() *MsgTopicList {
|
if m != nil {
|
return m.Topics
|
}
|
return nil
|
}
|
|
type MsgProcInit struct {
|
ExtraMqNum int32 `protobuf:"varint,1,opt,name=extra_mq_num,json=extraMqNum,proto3" json:"extra_mq_num,omitempty"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_unrecognized []byte `json:"-"`
|
XXX_sizecache int32 `json:"-"`
|
}
|
|
func (m *MsgProcInit) Reset() { *m = MsgProcInit{} }
|
func (m *MsgProcInit) String() string { return proto.CompactTextString(m) }
|
func (*MsgProcInit) ProtoMessage() {}
|
func (*MsgProcInit) Descriptor() ([]byte, []int) {
|
return fileDescriptor_88ce6d52215a3d3f, []int{4}
|
}
|
|
func (m *MsgProcInit) XXX_Unmarshal(b []byte) error {
|
return xxx_messageInfo_MsgProcInit.Unmarshal(m, b)
|
}
|
func (m *MsgProcInit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
return xxx_messageInfo_MsgProcInit.Marshal(b, m, deterministic)
|
}
|
func (m *MsgProcInit) XXX_Merge(src proto.Message) {
|
xxx_messageInfo_MsgProcInit.Merge(m, src)
|
}
|
func (m *MsgProcInit) XXX_Size() int {
|
return xxx_messageInfo_MsgProcInit.Size(m)
|
}
|
func (m *MsgProcInit) XXX_DiscardUnknown() {
|
xxx_messageInfo_MsgProcInit.DiscardUnknown(m)
|
}
|
|
var xxx_messageInfo_MsgProcInit proto.InternalMessageInfo
|
|
func (m *MsgProcInit) GetExtraMqNum() int32 {
|
if m != nil {
|
return m.ExtraMqNum
|
}
|
return 0
|
}
|
|
type MsgProcInitReply struct {
|
Errmsg *ErrorMsg `protobuf:"bytes,1,opt,name=errmsg,proto3" json:"errmsg,omitempty"`
|
ProcIndex int32 `protobuf:"varint,2,opt,name=proc_index,json=procIndex,proto3" json:"proc_index,omitempty"`
|
ExtraMqs []*BHAddress `protobuf:"bytes,3,rep,name=extra_mqs,json=extraMqs,proto3" json:"extra_mqs,omitempty"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_unrecognized []byte `json:"-"`
|
XXX_sizecache int32 `json:"-"`
|
}
|
|
func (m *MsgProcInitReply) Reset() { *m = MsgProcInitReply{} }
|
func (m *MsgProcInitReply) String() string { return proto.CompactTextString(m) }
|
func (*MsgProcInitReply) ProtoMessage() {}
|
func (*MsgProcInitReply) Descriptor() ([]byte, []int) {
|
return fileDescriptor_88ce6d52215a3d3f, []int{5}
|
}
|
|
func (m *MsgProcInitReply) XXX_Unmarshal(b []byte) error {
|
return xxx_messageInfo_MsgProcInitReply.Unmarshal(m, b)
|
}
|
func (m *MsgProcInitReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
return xxx_messageInfo_MsgProcInitReply.Marshal(b, m, deterministic)
|
}
|
func (m *MsgProcInitReply) XXX_Merge(src proto.Message) {
|
xxx_messageInfo_MsgProcInitReply.Merge(m, src)
|
}
|
func (m *MsgProcInitReply) XXX_Size() int {
|
return xxx_messageInfo_MsgProcInitReply.Size(m)
|
}
|
func (m *MsgProcInitReply) XXX_DiscardUnknown() {
|
xxx_messageInfo_MsgProcInitReply.DiscardUnknown(m)
|
}
|
|
var xxx_messageInfo_MsgProcInitReply proto.InternalMessageInfo
|
|
func (m *MsgProcInitReply) GetErrmsg() *ErrorMsg {
|
if m != nil {
|
return m.Errmsg
|
}
|
return nil
|
}
|
|
func (m *MsgProcInitReply) GetProcIndex() int32 {
|
if m != nil {
|
return m.ProcIndex
|
}
|
return 0
|
}
|
|
func (m *MsgProcInitReply) GetExtraMqs() []*BHAddress {
|
if m != nil {
|
return m.ExtraMqs
|
}
|
return nil
|
}
|
|
type MsgRequest struct {
|
// oneof body;
|
//
|
// Types that are valid to be assigned to Request:
|
// *MsgRequest_Register
|
// *MsgRequest_TopicRequest
|
// *MsgRequest_TopicQuery
|
Request isMsgRequest_Request `protobuf_oneof:"request"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_unrecognized []byte `json:"-"`
|
XXX_sizecache int32 `json:"-"`
|
}
|
|
func (m *MsgRequest) Reset() { *m = MsgRequest{} }
|
func (m *MsgRequest) String() string { return proto.CompactTextString(m) }
|
func (*MsgRequest) ProtoMessage() {}
|
func (*MsgRequest) Descriptor() ([]byte, []int) {
|
return fileDescriptor_88ce6d52215a3d3f, []int{6}
|
}
|
|
func (m *MsgRequest) XXX_Unmarshal(b []byte) error {
|
return xxx_messageInfo_MsgRequest.Unmarshal(m, b)
|
}
|
func (m *MsgRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
return xxx_messageInfo_MsgRequest.Marshal(b, m, deterministic)
|
}
|
func (m *MsgRequest) XXX_Merge(src proto.Message) {
|
xxx_messageInfo_MsgRequest.Merge(m, src)
|
}
|
func (m *MsgRequest) XXX_Size() int {
|
return xxx_messageInfo_MsgRequest.Size(m)
|
}
|
func (m *MsgRequest) XXX_DiscardUnknown() {
|
xxx_messageInfo_MsgRequest.DiscardUnknown(m)
|
}
|
|
var xxx_messageInfo_MsgRequest proto.InternalMessageInfo
|
|
type isMsgRequest_Request interface {
|
isMsgRequest_Request()
|
}
|
|
type MsgRequest_Register struct {
|
Register *MsgRegister `protobuf:"bytes,1,opt,name=register,proto3,oneof"`
|
}
|
|
type MsgRequest_TopicRequest struct {
|
TopicRequest *MsgRequestTopic `protobuf:"bytes,2,opt,name=topic_request,json=topicRequest,proto3,oneof"`
|
}
|
|
type MsgRequest_TopicQuery struct {
|
TopicQuery *MsgQueryTopic `protobuf:"bytes,3,opt,name=topic_query,json=topicQuery,proto3,oneof"`
|
}
|
|
func (*MsgRequest_Register) isMsgRequest_Request() {}
|
|
func (*MsgRequest_TopicRequest) isMsgRequest_Request() {}
|
|
func (*MsgRequest_TopicQuery) isMsgRequest_Request() {}
|
|
func (m *MsgRequest) GetRequest() isMsgRequest_Request {
|
if m != nil {
|
return m.Request
|
}
|
return nil
|
}
|
|
func (m *MsgRequest) GetRegister() *MsgRegister {
|
if x, ok := m.GetRequest().(*MsgRequest_Register); ok {
|
return x.Register
|
}
|
return nil
|
}
|
|
func (m *MsgRequest) GetTopicRequest() *MsgRequestTopic {
|
if x, ok := m.GetRequest().(*MsgRequest_TopicRequest); ok {
|
return x.TopicRequest
|
}
|
return nil
|
}
|
|
func (m *MsgRequest) GetTopicQuery() *MsgQueryTopic {
|
if x, ok := m.GetRequest().(*MsgRequest_TopicQuery); ok {
|
return x.TopicQuery
|
}
|
return nil
|
}
|
|
// XXX_OneofWrappers is for the internal use of the proto package.
|
func (*MsgRequest) XXX_OneofWrappers() []interface{} {
|
return []interface{}{
|
(*MsgRequest_Register)(nil),
|
(*MsgRequest_TopicRequest)(nil),
|
(*MsgRequest_TopicQuery)(nil),
|
}
|
}
|
|
type MsgReply struct {
|
ErrMsg *ErrorMsg `protobuf:"bytes,1,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_unrecognized []byte `json:"-"`
|
XXX_sizecache int32 `json:"-"`
|
}
|
|
func (m *MsgReply) Reset() { *m = MsgReply{} }
|
func (m *MsgReply) String() string { return proto.CompactTextString(m) }
|
func (*MsgReply) ProtoMessage() {}
|
func (*MsgReply) Descriptor() ([]byte, []int) {
|
return fileDescriptor_88ce6d52215a3d3f, []int{7}
|
}
|
|
func (m *MsgReply) XXX_Unmarshal(b []byte) error {
|
return xxx_messageInfo_MsgReply.Unmarshal(m, b)
|
}
|
func (m *MsgReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
return xxx_messageInfo_MsgReply.Marshal(b, m, deterministic)
|
}
|
func (m *MsgReply) XXX_Merge(src proto.Message) {
|
xxx_messageInfo_MsgReply.Merge(m, src)
|
}
|
func (m *MsgReply) XXX_Size() int {
|
return xxx_messageInfo_MsgReply.Size(m)
|
}
|
func (m *MsgReply) XXX_DiscardUnknown() {
|
xxx_messageInfo_MsgReply.DiscardUnknown(m)
|
}
|
|
var xxx_messageInfo_MsgReply proto.InternalMessageInfo
|
|
func (m *MsgReply) GetErrMsg() *ErrorMsg {
|
if m != nil {
|
return m.ErrMsg
|
}
|
return nil
|
}
|
|
type BHMsgBody struct {
|
// Types that are valid to be assigned to Reqrep:
|
// *BHMsgBody_Request
|
// *BHMsgBody_Reply
|
Reqrep isBHMsgBody_Reqrep `protobuf_oneof:"reqrep"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_unrecognized []byte `json:"-"`
|
XXX_sizecache int32 `json:"-"`
|
}
|
|
func (m *BHMsgBody) Reset() { *m = BHMsgBody{} }
|
func (m *BHMsgBody) String() string { return proto.CompactTextString(m) }
|
func (*BHMsgBody) ProtoMessage() {}
|
func (*BHMsgBody) Descriptor() ([]byte, []int) {
|
return fileDescriptor_88ce6d52215a3d3f, []int{8}
|
}
|
|
func (m *BHMsgBody) XXX_Unmarshal(b []byte) error {
|
return xxx_messageInfo_BHMsgBody.Unmarshal(m, b)
|
}
|
func (m *BHMsgBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
return xxx_messageInfo_BHMsgBody.Marshal(b, m, deterministic)
|
}
|
func (m *BHMsgBody) XXX_Merge(src proto.Message) {
|
xxx_messageInfo_BHMsgBody.Merge(m, src)
|
}
|
func (m *BHMsgBody) XXX_Size() int {
|
return xxx_messageInfo_BHMsgBody.Size(m)
|
}
|
func (m *BHMsgBody) XXX_DiscardUnknown() {
|
xxx_messageInfo_BHMsgBody.DiscardUnknown(m)
|
}
|
|
var xxx_messageInfo_BHMsgBody proto.InternalMessageInfo
|
|
type isBHMsgBody_Reqrep interface {
|
isBHMsgBody_Reqrep()
|
}
|
|
type BHMsgBody_Request struct {
|
Request *MsgRequest `protobuf:"bytes,1,opt,name=request,proto3,oneof"`
|
}
|
|
type BHMsgBody_Reply struct {
|
Reply *MsgReply `protobuf:"bytes,2,opt,name=reply,proto3,oneof"`
|
}
|
|
func (*BHMsgBody_Request) isBHMsgBody_Reqrep() {}
|
|
func (*BHMsgBody_Reply) isBHMsgBody_Reqrep() {}
|
|
func (m *BHMsgBody) GetReqrep() isBHMsgBody_Reqrep {
|
if m != nil {
|
return m.Reqrep
|
}
|
return nil
|
}
|
|
func (m *BHMsgBody) GetRequest() *MsgRequest {
|
if x, ok := m.GetReqrep().(*BHMsgBody_Request); ok {
|
return x.Request
|
}
|
return nil
|
}
|
|
func (m *BHMsgBody) GetReply() *MsgReply {
|
if x, ok := m.GetReqrep().(*BHMsgBody_Reply); ok {
|
return x.Reply
|
}
|
return nil
|
}
|
|
// XXX_OneofWrappers is for the internal use of the proto package.
|
func (*BHMsgBody) XXX_OneofWrappers() []interface{} {
|
return []interface{}{
|
(*BHMsgBody_Request)(nil),
|
(*BHMsgBody_Reply)(nil),
|
}
|
}
|
|
func init() {
|
proto.RegisterEnum("bhome_msg.MsgType", MsgType_name, MsgType_value)
|
proto.RegisterType((*BHMsgHead)(nil), "bhome_msg.BHMsgHead")
|
proto.RegisterType((*MsgSubscribe)(nil), "bhome_msg.MsgSubscribe")
|
proto.RegisterType((*MsgUnsubscribe)(nil), "bhome_msg.MsgUnsubscribe")
|
proto.RegisterType((*MsgRegisterRPC)(nil), "bhome_msg.MsgRegisterRPC")
|
proto.RegisterType((*MsgProcInit)(nil), "bhome_msg.MsgProcInit")
|
proto.RegisterType((*MsgProcInitReply)(nil), "bhome_msg.MsgProcInitReply")
|
proto.RegisterType((*MsgRequest)(nil), "bhome_msg.MsgRequest")
|
proto.RegisterType((*MsgReply)(nil), "bhome_msg.MsgReply")
|
proto.RegisterType((*BHMsgBody)(nil), "bhome_msg.BHMsgBody")
|
}
|
|
func init() { proto.RegisterFile("bhome_msg.proto", fileDescriptor_88ce6d52215a3d3f) }
|
|
var fileDescriptor_88ce6d52215a3d3f = []byte{
|
// 753 bytes of a gzipped FileDescriptorProto
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xdd, 0x6e, 0xda, 0x4a,
|
0x10, 0xc6, 0x01, 0xf3, 0x33, 0x70, 0xc2, 0x66, 0xf8, 0x73, 0x38, 0x41, 0x42, 0x5c, 0xa1, 0xe4,
|
0x28, 0x51, 0x38, 0xe7, 0xe2, 0x48, 0xbd, 0x68, 0x43, 0x52, 0xc9, 0x48, 0xa5, 0xa2, 0x6e, 0x73,
|
0xd3, 0x1b, 0x64, 0xe2, 0x95, 0x63, 0x15, 0xff, 0xb0, 0x6b, 0xb7, 0xe1, 0x31, 0xda, 0x37, 0xea,
|
0x03, 0xf4, 0x5d, 0xfa, 0x08, 0xd5, 0xae, 0x6d, 0x70, 0xfe, 0x55, 0xf5, 0x6e, 0xf9, 0x66, 0xe6,
|
0xfb, 0x66, 0xbf, 0x9d, 0x31, 0x50, 0x5f, 0x5c, 0xfb, 0x2e, 0x9d, 0xbb, 0xdc, 0x3e, 0x0e, 0x98,
|
0x1f, 0xfa, 0x58, 0xd9, 0x00, 0xdd, 0xc6, 0xe6, 0x38, 0x37, 0x03, 0x27, 0x8e, 0x77, 0xeb, 0x94,
|
0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