-
Notifications
You must be signed in to change notification settings - Fork 465
/
cluster.pb.go
153 lines (134 loc) · 4.87 KB
/
cluster.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: cluster.proto
package protos
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
// 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
// RPCMsg message to be sent using rpc
type RPCMsg struct {
Msg string `protobuf:"bytes,1,opt,name=Msg,proto3" json:"Msg,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RPCMsg) Reset() { *m = RPCMsg{} }
func (m *RPCMsg) String() string { return proto.CompactTextString(m) }
func (*RPCMsg) ProtoMessage() {}
func (*RPCMsg) Descriptor() ([]byte, []int) {
return fileDescriptor_cluster_0697fcb87f203f0f, []int{0}
}
func (m *RPCMsg) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RPCMsg.Unmarshal(m, b)
}
func (m *RPCMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RPCMsg.Marshal(b, m, deterministic)
}
func (dst *RPCMsg) XXX_Merge(src proto.Message) {
xxx_messageInfo_RPCMsg.Merge(dst, src)
}
func (m *RPCMsg) XXX_Size() int {
return xxx_messageInfo_RPCMsg.Size(m)
}
func (m *RPCMsg) XXX_DiscardUnknown() {
xxx_messageInfo_RPCMsg.DiscardUnknown(m)
}
var xxx_messageInfo_RPCMsg proto.InternalMessageInfo
func (m *RPCMsg) GetMsg() string {
if m != nil {
return m.Msg
}
return ""
}
// RPCRes is the rpc response
type RPCRes struct {
Msg string `protobuf:"bytes,1,opt,name=Msg,proto3" json:"Msg,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RPCRes) Reset() { *m = RPCRes{} }
func (m *RPCRes) String() string { return proto.CompactTextString(m) }
func (*RPCRes) ProtoMessage() {}
func (*RPCRes) Descriptor() ([]byte, []int) {
return fileDescriptor_cluster_0697fcb87f203f0f, []int{1}
}
func (m *RPCRes) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RPCRes.Unmarshal(m, b)
}
func (m *RPCRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RPCRes.Marshal(b, m, deterministic)
}
func (dst *RPCRes) XXX_Merge(src proto.Message) {
xxx_messageInfo_RPCRes.Merge(dst, src)
}
func (m *RPCRes) XXX_Size() int {
return xxx_messageInfo_RPCRes.Size(m)
}
func (m *RPCRes) XXX_DiscardUnknown() {
xxx_messageInfo_RPCRes.DiscardUnknown(m)
}
var xxx_messageInfo_RPCRes proto.InternalMessageInfo
func (m *RPCRes) GetMsg() string {
if m != nil {
return m.Msg
}
return ""
}
type Doc struct {
Doc string `protobuf:"bytes,1,opt,name=doc,proto3" json:"doc,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Doc) Reset() { *m = Doc{} }
func (m *Doc) String() string { return proto.CompactTextString(m) }
func (*Doc) ProtoMessage() {}
func (*Doc) Descriptor() ([]byte, []int) {
return fileDescriptor_cluster_0697fcb87f203f0f, []int{2}
}
func (m *Doc) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Doc.Unmarshal(m, b)
}
func (m *Doc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Doc.Marshal(b, m, deterministic)
}
func (dst *Doc) XXX_Merge(src proto.Message) {
xxx_messageInfo_Doc.Merge(dst, src)
}
func (m *Doc) XXX_Size() int {
return xxx_messageInfo_Doc.Size(m)
}
func (m *Doc) XXX_DiscardUnknown() {
xxx_messageInfo_Doc.DiscardUnknown(m)
}
var xxx_messageInfo_Doc proto.InternalMessageInfo
func (m *Doc) GetDoc() string {
if m != nil {
return m.Doc
}
return ""
}
func init() {
proto.RegisterType((*RPCMsg)(nil), "protos.RPCMsg")
proto.RegisterType((*RPCRes)(nil), "protos.RPCRes")
proto.RegisterType((*Doc)(nil), "protos.Doc")
}
func init() { proto.RegisterFile("cluster.proto", fileDescriptor_cluster_0697fcb87f203f0f) }
var fileDescriptor_cluster_0697fcb87f203f0f = []byte{
// 96 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4d, 0xce, 0x29, 0x2d,
0x2e, 0x49, 0x2d, 0xd2, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x03, 0x53, 0xc5, 0x4a, 0x52,
0x5c, 0x6c, 0x41, 0x01, 0xce, 0xbe, 0xc5, 0xe9, 0x42, 0x02, 0x5c, 0xcc, 0xbe, 0xc5, 0xe9, 0x12,
0x8c, 0x0a, 0x8c, 0x1a, 0x9c, 0x41, 0x20, 0x26, 0x54, 0x2e, 0x28, 0xb5, 0x18, 0x8b, 0x9c, 0x38,
0x17, 0xb3, 0x4b, 0x7e, 0x32, 0x48, 0x22, 0x25, 0x3f, 0x19, 0x26, 0x91, 0x92, 0x9f, 0x9c, 0x04,
0x31, 0xd8, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x52, 0x62, 0xe3, 0xb2, 0x70, 0x00, 0x00, 0x00,
}