gitee.com/sasukebo/go-micro/v4@v4.7.1/server/proto/server.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: server.proto 3 4 package go_micro_server 5 6 import ( 7 fmt "fmt" 8 proto "github.com/golang/protobuf/proto" 9 math "math" 10 ) 11 12 // Reference imports to suppress errors if they are not otherwise used. 13 var _ = proto.Marshal 14 var _ = fmt.Errorf 15 var _ = math.Inf 16 17 // This is a compile-time assertion to ensure that this generated file 18 // is compatible with the proto package it is being compiled against. 19 // A compilation error at this line likely means your copy of the 20 // proto package needs to be updated. 21 const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 22 23 type HandleRequest struct { 24 Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` 25 Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"` 26 Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"` 27 XXX_NoUnkeyedLiteral struct{} `json:"-"` 28 XXX_unrecognized []byte `json:"-"` 29 XXX_sizecache int32 `json:"-"` 30 } 31 32 func (m *HandleRequest) Reset() { *m = HandleRequest{} } 33 func (m *HandleRequest) String() string { return proto.CompactTextString(m) } 34 func (*HandleRequest) ProtoMessage() {} 35 func (*HandleRequest) Descriptor() ([]byte, []int) { 36 return fileDescriptor_ad098daeda4239f7, []int{0} 37 } 38 39 func (m *HandleRequest) XXX_Unmarshal(b []byte) error { 40 return xxx_messageInfo_HandleRequest.Unmarshal(m, b) 41 } 42 func (m *HandleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 43 return xxx_messageInfo_HandleRequest.Marshal(b, m, deterministic) 44 } 45 func (m *HandleRequest) XXX_Merge(src proto.Message) { 46 xxx_messageInfo_HandleRequest.Merge(m, src) 47 } 48 func (m *HandleRequest) XXX_Size() int { 49 return xxx_messageInfo_HandleRequest.Size(m) 50 } 51 func (m *HandleRequest) XXX_DiscardUnknown() { 52 xxx_messageInfo_HandleRequest.DiscardUnknown(m) 53 } 54 55 var xxx_messageInfo_HandleRequest proto.InternalMessageInfo 56 57 func (m *HandleRequest) GetService() string { 58 if m != nil { 59 return m.Service 60 } 61 return "" 62 } 63 64 func (m *HandleRequest) GetEndpoint() string { 65 if m != nil { 66 return m.Endpoint 67 } 68 return "" 69 } 70 71 func (m *HandleRequest) GetProtocol() string { 72 if m != nil { 73 return m.Protocol 74 } 75 return "" 76 } 77 78 type HandleResponse struct { 79 XXX_NoUnkeyedLiteral struct{} `json:"-"` 80 XXX_unrecognized []byte `json:"-"` 81 XXX_sizecache int32 `json:"-"` 82 } 83 84 func (m *HandleResponse) Reset() { *m = HandleResponse{} } 85 func (m *HandleResponse) String() string { return proto.CompactTextString(m) } 86 func (*HandleResponse) ProtoMessage() {} 87 func (*HandleResponse) Descriptor() ([]byte, []int) { 88 return fileDescriptor_ad098daeda4239f7, []int{1} 89 } 90 91 func (m *HandleResponse) XXX_Unmarshal(b []byte) error { 92 return xxx_messageInfo_HandleResponse.Unmarshal(m, b) 93 } 94 func (m *HandleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 95 return xxx_messageInfo_HandleResponse.Marshal(b, m, deterministic) 96 } 97 func (m *HandleResponse) XXX_Merge(src proto.Message) { 98 xxx_messageInfo_HandleResponse.Merge(m, src) 99 } 100 func (m *HandleResponse) XXX_Size() int { 101 return xxx_messageInfo_HandleResponse.Size(m) 102 } 103 func (m *HandleResponse) XXX_DiscardUnknown() { 104 xxx_messageInfo_HandleResponse.DiscardUnknown(m) 105 } 106 107 var xxx_messageInfo_HandleResponse proto.InternalMessageInfo 108 109 type SubscribeRequest struct { 110 Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` 111 XXX_NoUnkeyedLiteral struct{} `json:"-"` 112 XXX_unrecognized []byte `json:"-"` 113 XXX_sizecache int32 `json:"-"` 114 } 115 116 func (m *SubscribeRequest) Reset() { *m = SubscribeRequest{} } 117 func (m *SubscribeRequest) String() string { return proto.CompactTextString(m) } 118 func (*SubscribeRequest) ProtoMessage() {} 119 func (*SubscribeRequest) Descriptor() ([]byte, []int) { 120 return fileDescriptor_ad098daeda4239f7, []int{2} 121 } 122 123 func (m *SubscribeRequest) XXX_Unmarshal(b []byte) error { 124 return xxx_messageInfo_SubscribeRequest.Unmarshal(m, b) 125 } 126 func (m *SubscribeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 127 return xxx_messageInfo_SubscribeRequest.Marshal(b, m, deterministic) 128 } 129 func (m *SubscribeRequest) XXX_Merge(src proto.Message) { 130 xxx_messageInfo_SubscribeRequest.Merge(m, src) 131 } 132 func (m *SubscribeRequest) XXX_Size() int { 133 return xxx_messageInfo_SubscribeRequest.Size(m) 134 } 135 func (m *SubscribeRequest) XXX_DiscardUnknown() { 136 xxx_messageInfo_SubscribeRequest.DiscardUnknown(m) 137 } 138 139 var xxx_messageInfo_SubscribeRequest proto.InternalMessageInfo 140 141 func (m *SubscribeRequest) GetTopic() string { 142 if m != nil { 143 return m.Topic 144 } 145 return "" 146 } 147 148 type SubscribeResponse struct { 149 XXX_NoUnkeyedLiteral struct{} `json:"-"` 150 XXX_unrecognized []byte `json:"-"` 151 XXX_sizecache int32 `json:"-"` 152 } 153 154 func (m *SubscribeResponse) Reset() { *m = SubscribeResponse{} } 155 func (m *SubscribeResponse) String() string { return proto.CompactTextString(m) } 156 func (*SubscribeResponse) ProtoMessage() {} 157 func (*SubscribeResponse) Descriptor() ([]byte, []int) { 158 return fileDescriptor_ad098daeda4239f7, []int{3} 159 } 160 161 func (m *SubscribeResponse) XXX_Unmarshal(b []byte) error { 162 return xxx_messageInfo_SubscribeResponse.Unmarshal(m, b) 163 } 164 func (m *SubscribeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 165 return xxx_messageInfo_SubscribeResponse.Marshal(b, m, deterministic) 166 } 167 func (m *SubscribeResponse) XXX_Merge(src proto.Message) { 168 xxx_messageInfo_SubscribeResponse.Merge(m, src) 169 } 170 func (m *SubscribeResponse) XXX_Size() int { 171 return xxx_messageInfo_SubscribeResponse.Size(m) 172 } 173 func (m *SubscribeResponse) XXX_DiscardUnknown() { 174 xxx_messageInfo_SubscribeResponse.DiscardUnknown(m) 175 } 176 177 var xxx_messageInfo_SubscribeResponse proto.InternalMessageInfo 178 179 func init() { 180 proto.RegisterType((*HandleRequest)(nil), "go.micro.server.HandleRequest") 181 proto.RegisterType((*HandleResponse)(nil), "go.micro.server.HandleResponse") 182 proto.RegisterType((*SubscribeRequest)(nil), "go.micro.server.SubscribeRequest") 183 proto.RegisterType((*SubscribeResponse)(nil), "go.micro.server.SubscribeResponse") 184 } 185 186 func init() { proto.RegisterFile("server.proto", fileDescriptor_ad098daeda4239f7) } 187 188 var fileDescriptor_ad098daeda4239f7 = []byte{ 189 // 217 bytes of a gzipped FileDescriptorProto 190 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x29, 0x4e, 0x2d, 0x2a, 191 0x4b, 0x2d, 0xd2, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x4f, 0xcf, 0xd7, 0xcb, 0xcd, 0x4c, 192 0x2e, 0xca, 0xd7, 0x83, 0x08, 0x2b, 0x25, 0x72, 0xf1, 0x7a, 0x24, 0xe6, 0xa5, 0xe4, 0xa4, 0x06, 193 0xa5, 0x16, 0x96, 0xa6, 0x16, 0x97, 0x08, 0x49, 0x70, 0xb1, 0x83, 0xa4, 0x32, 0x93, 0x53, 0x25, 194 0x18, 0x15, 0x18, 0x35, 0x38, 0x83, 0x60, 0x5c, 0x21, 0x29, 0x2e, 0x8e, 0xd4, 0xbc, 0x94, 0x82, 195 0xfc, 0xcc, 0xbc, 0x12, 0x09, 0x26, 0xb0, 0x14, 0x9c, 0x0f, 0x92, 0x03, 0x5b, 0x90, 0x9c, 0x9f, 196 0x23, 0xc1, 0x0c, 0x91, 0x83, 0xf1, 0x95, 0x04, 0xb8, 0xf8, 0x60, 0x56, 0x14, 0x17, 0xe4, 0xe7, 197 0x15, 0xa7, 0x2a, 0x69, 0x70, 0x09, 0x04, 0x97, 0x26, 0x15, 0x27, 0x17, 0x65, 0x26, 0xc1, 0xed, 198 0x15, 0xe1, 0x62, 0x2d, 0xc9, 0x2f, 0xc8, 0x4c, 0x86, 0xda, 0x0a, 0xe1, 0x28, 0x09, 0x73, 0x09, 199 0x22, 0xa9, 0x84, 0x68, 0x37, 0x5a, 0xcd, 0xc8, 0xc5, 0x16, 0x0c, 0x76, 0xbe, 0x90, 0x37, 0x17, 200 0x1b, 0xc4, 0x6c, 0x21, 0x39, 0x3d, 0x34, 0xaf, 0xe9, 0xa1, 0xf8, 0x4b, 0x4a, 0x1e, 0xa7, 0x3c, 201 0xd4, 0x51, 0x0c, 0x42, 0x21, 0x5c, 0x9c, 0x70, 0xcb, 0x84, 0x14, 0x31, 0xd4, 0xa3, 0x3b, 0x59, 202 0x4a, 0x09, 0x9f, 0x12, 0x98, 0xa9, 0x49, 0x6c, 0xe0, 0x80, 0x30, 0x06, 0x04, 0x00, 0x00, 0xff, 203 0xff, 0xe0, 0x77, 0x9a, 0xe4, 0x89, 0x01, 0x00, 0x00, 204 }