github.com/ava-labs/avalanchego@v1.11.11/proto/pb/appsender/appsender.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.33.0 4 // protoc (unknown) 5 // source: appsender/appsender.proto 6 7 package appsender 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 emptypb "google.golang.org/protobuf/types/known/emptypb" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 type SendAppRequestMsg struct { 25 state protoimpl.MessageState 26 sizeCache protoimpl.SizeCache 27 unknownFields protoimpl.UnknownFields 28 29 // The nodes to send this request to 30 NodeIds [][]byte `protobuf:"bytes,1,rep,name=node_ids,json=nodeIds,proto3" json:"node_ids,omitempty"` 31 // The ID of this request 32 RequestId uint32 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` 33 // The request body 34 Request []byte `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"` 35 } 36 37 func (x *SendAppRequestMsg) Reset() { 38 *x = SendAppRequestMsg{} 39 if protoimpl.UnsafeEnabled { 40 mi := &file_appsender_appsender_proto_msgTypes[0] 41 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 42 ms.StoreMessageInfo(mi) 43 } 44 } 45 46 func (x *SendAppRequestMsg) String() string { 47 return protoimpl.X.MessageStringOf(x) 48 } 49 50 func (*SendAppRequestMsg) ProtoMessage() {} 51 52 func (x *SendAppRequestMsg) ProtoReflect() protoreflect.Message { 53 mi := &file_appsender_appsender_proto_msgTypes[0] 54 if protoimpl.UnsafeEnabled && x != nil { 55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 56 if ms.LoadMessageInfo() == nil { 57 ms.StoreMessageInfo(mi) 58 } 59 return ms 60 } 61 return mi.MessageOf(x) 62 } 63 64 // Deprecated: Use SendAppRequestMsg.ProtoReflect.Descriptor instead. 65 func (*SendAppRequestMsg) Descriptor() ([]byte, []int) { 66 return file_appsender_appsender_proto_rawDescGZIP(), []int{0} 67 } 68 69 func (x *SendAppRequestMsg) GetNodeIds() [][]byte { 70 if x != nil { 71 return x.NodeIds 72 } 73 return nil 74 } 75 76 func (x *SendAppRequestMsg) GetRequestId() uint32 { 77 if x != nil { 78 return x.RequestId 79 } 80 return 0 81 } 82 83 func (x *SendAppRequestMsg) GetRequest() []byte { 84 if x != nil { 85 return x.Request 86 } 87 return nil 88 } 89 90 type SendAppResponseMsg struct { 91 state protoimpl.MessageState 92 sizeCache protoimpl.SizeCache 93 unknownFields protoimpl.UnknownFields 94 95 // The node to send a response to 96 NodeId []byte `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` 97 // ID of this request 98 RequestId uint32 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` 99 // The response body 100 Response []byte `protobuf:"bytes,3,opt,name=response,proto3" json:"response,omitempty"` 101 } 102 103 func (x *SendAppResponseMsg) Reset() { 104 *x = SendAppResponseMsg{} 105 if protoimpl.UnsafeEnabled { 106 mi := &file_appsender_appsender_proto_msgTypes[1] 107 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 108 ms.StoreMessageInfo(mi) 109 } 110 } 111 112 func (x *SendAppResponseMsg) String() string { 113 return protoimpl.X.MessageStringOf(x) 114 } 115 116 func (*SendAppResponseMsg) ProtoMessage() {} 117 118 func (x *SendAppResponseMsg) ProtoReflect() protoreflect.Message { 119 mi := &file_appsender_appsender_proto_msgTypes[1] 120 if protoimpl.UnsafeEnabled && x != nil { 121 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 122 if ms.LoadMessageInfo() == nil { 123 ms.StoreMessageInfo(mi) 124 } 125 return ms 126 } 127 return mi.MessageOf(x) 128 } 129 130 // Deprecated: Use SendAppResponseMsg.ProtoReflect.Descriptor instead. 131 func (*SendAppResponseMsg) Descriptor() ([]byte, []int) { 132 return file_appsender_appsender_proto_rawDescGZIP(), []int{1} 133 } 134 135 func (x *SendAppResponseMsg) GetNodeId() []byte { 136 if x != nil { 137 return x.NodeId 138 } 139 return nil 140 } 141 142 func (x *SendAppResponseMsg) GetRequestId() uint32 { 143 if x != nil { 144 return x.RequestId 145 } 146 return 0 147 } 148 149 func (x *SendAppResponseMsg) GetResponse() []byte { 150 if x != nil { 151 return x.Response 152 } 153 return nil 154 } 155 156 type SendAppErrorMsg struct { 157 state protoimpl.MessageState 158 sizeCache protoimpl.SizeCache 159 unknownFields protoimpl.UnknownFields 160 161 // The node to send a response to 162 NodeId []byte `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` 163 // ID of this request 164 RequestId uint32 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` 165 // Application-defined error code 166 ErrorCode int32 `protobuf:"zigzag32,3,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` 167 // Application-defined error message 168 ErrorMessage string `protobuf:"bytes,4,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` 169 } 170 171 func (x *SendAppErrorMsg) Reset() { 172 *x = SendAppErrorMsg{} 173 if protoimpl.UnsafeEnabled { 174 mi := &file_appsender_appsender_proto_msgTypes[2] 175 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 176 ms.StoreMessageInfo(mi) 177 } 178 } 179 180 func (x *SendAppErrorMsg) String() string { 181 return protoimpl.X.MessageStringOf(x) 182 } 183 184 func (*SendAppErrorMsg) ProtoMessage() {} 185 186 func (x *SendAppErrorMsg) ProtoReflect() protoreflect.Message { 187 mi := &file_appsender_appsender_proto_msgTypes[2] 188 if protoimpl.UnsafeEnabled && x != nil { 189 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 190 if ms.LoadMessageInfo() == nil { 191 ms.StoreMessageInfo(mi) 192 } 193 return ms 194 } 195 return mi.MessageOf(x) 196 } 197 198 // Deprecated: Use SendAppErrorMsg.ProtoReflect.Descriptor instead. 199 func (*SendAppErrorMsg) Descriptor() ([]byte, []int) { 200 return file_appsender_appsender_proto_rawDescGZIP(), []int{2} 201 } 202 203 func (x *SendAppErrorMsg) GetNodeId() []byte { 204 if x != nil { 205 return x.NodeId 206 } 207 return nil 208 } 209 210 func (x *SendAppErrorMsg) GetRequestId() uint32 { 211 if x != nil { 212 return x.RequestId 213 } 214 return 0 215 } 216 217 func (x *SendAppErrorMsg) GetErrorCode() int32 { 218 if x != nil { 219 return x.ErrorCode 220 } 221 return 0 222 } 223 224 func (x *SendAppErrorMsg) GetErrorMessage() string { 225 if x != nil { 226 return x.ErrorMessage 227 } 228 return "" 229 } 230 231 type SendAppGossipMsg struct { 232 state protoimpl.MessageState 233 sizeCache protoimpl.SizeCache 234 unknownFields protoimpl.UnknownFields 235 236 // Who to send this message to 237 NodeIds [][]byte `protobuf:"bytes,1,rep,name=node_ids,json=nodeIds,proto3" json:"node_ids,omitempty"` 238 Validators uint64 `protobuf:"varint,2,opt,name=validators,proto3" json:"validators,omitempty"` 239 NonValidators uint64 `protobuf:"varint,3,opt,name=non_validators,json=nonValidators,proto3" json:"non_validators,omitempty"` 240 Peers uint64 `protobuf:"varint,4,opt,name=peers,proto3" json:"peers,omitempty"` 241 // The message body 242 Msg []byte `protobuf:"bytes,5,opt,name=msg,proto3" json:"msg,omitempty"` 243 } 244 245 func (x *SendAppGossipMsg) Reset() { 246 *x = SendAppGossipMsg{} 247 if protoimpl.UnsafeEnabled { 248 mi := &file_appsender_appsender_proto_msgTypes[3] 249 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 250 ms.StoreMessageInfo(mi) 251 } 252 } 253 254 func (x *SendAppGossipMsg) String() string { 255 return protoimpl.X.MessageStringOf(x) 256 } 257 258 func (*SendAppGossipMsg) ProtoMessage() {} 259 260 func (x *SendAppGossipMsg) ProtoReflect() protoreflect.Message { 261 mi := &file_appsender_appsender_proto_msgTypes[3] 262 if protoimpl.UnsafeEnabled && x != nil { 263 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 264 if ms.LoadMessageInfo() == nil { 265 ms.StoreMessageInfo(mi) 266 } 267 return ms 268 } 269 return mi.MessageOf(x) 270 } 271 272 // Deprecated: Use SendAppGossipMsg.ProtoReflect.Descriptor instead. 273 func (*SendAppGossipMsg) Descriptor() ([]byte, []int) { 274 return file_appsender_appsender_proto_rawDescGZIP(), []int{3} 275 } 276 277 func (x *SendAppGossipMsg) GetNodeIds() [][]byte { 278 if x != nil { 279 return x.NodeIds 280 } 281 return nil 282 } 283 284 func (x *SendAppGossipMsg) GetValidators() uint64 { 285 if x != nil { 286 return x.Validators 287 } 288 return 0 289 } 290 291 func (x *SendAppGossipMsg) GetNonValidators() uint64 { 292 if x != nil { 293 return x.NonValidators 294 } 295 return 0 296 } 297 298 func (x *SendAppGossipMsg) GetPeers() uint64 { 299 if x != nil { 300 return x.Peers 301 } 302 return 0 303 } 304 305 func (x *SendAppGossipMsg) GetMsg() []byte { 306 if x != nil { 307 return x.Msg 308 } 309 return nil 310 } 311 312 var File_appsender_appsender_proto protoreflect.FileDescriptor 313 314 var file_appsender_appsender_proto_rawDesc = []byte{ 315 0x0a, 0x19, 0x61, 0x70, 0x70, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x70, 0x73, 316 0x65, 0x6e, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x61, 0x70, 0x70, 317 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 318 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 319 0x6f, 0x74, 0x6f, 0x22, 0x67, 0x0a, 0x11, 0x53, 0x65, 0x6e, 0x64, 0x41, 0x70, 0x70, 0x52, 0x65, 320 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x73, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x6f, 0x64, 0x65, 321 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x07, 0x6e, 0x6f, 0x64, 0x65, 322 0x49, 0x64, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 323 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 324 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x03, 0x20, 325 0x01, 0x28, 0x0c, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x68, 0x0a, 0x12, 326 0x53, 0x65, 0x6e, 0x64, 0x41, 0x70, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 327 0x73, 0x67, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 328 0x01, 0x28, 0x0c, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 329 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 330 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 331 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 332 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8d, 0x01, 0x0a, 0x0f, 0x53, 0x65, 0x6e, 0x64, 0x41, 333 0x70, 0x70, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x6f, 334 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x6e, 0x6f, 0x64, 335 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 336 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 337 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 338 0x18, 0x03, 0x20, 0x01, 0x28, 0x11, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 339 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 340 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 341 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x9c, 0x01, 0x0a, 0x10, 0x53, 0x65, 0x6e, 0x64, 0x41, 342 0x70, 0x70, 0x47, 0x6f, 0x73, 0x73, 0x69, 0x70, 0x4d, 0x73, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x6e, 343 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x07, 0x6e, 344 0x6f, 0x64, 0x65, 0x49, 0x64, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 345 0x74, 0x6f, 0x72, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x76, 0x61, 0x6c, 0x69, 346 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x6e, 0x6f, 0x6e, 0x5f, 0x76, 0x61, 347 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 348 0x6e, 0x6f, 0x6e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x14, 0x0a, 349 0x05, 0x70, 0x65, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x70, 0x65, 350 0x65, 0x72, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 351 0x52, 0x03, 0x6d, 0x73, 0x67, 0x32, 0xa7, 0x02, 0x0a, 0x09, 0x41, 0x70, 0x70, 0x53, 0x65, 0x6e, 352 0x64, 0x65, 0x72, 0x12, 0x46, 0x0a, 0x0e, 0x53, 0x65, 0x6e, 0x64, 0x41, 0x70, 0x70, 0x52, 0x65, 353 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x65, 0x6e, 0x64, 0x65, 354 0x72, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x41, 0x70, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 355 0x4d, 0x73, 0x67, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 356 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x48, 0x0a, 0x0f, 0x53, 357 0x65, 0x6e, 0x64, 0x41, 0x70, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 358 0x2e, 0x61, 0x70, 0x70, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x41, 359 0x70, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x73, 0x67, 0x1a, 0x16, 0x2e, 360 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 361 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x42, 0x0a, 0x0c, 0x53, 0x65, 0x6e, 0x64, 0x41, 0x70, 0x70, 362 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1a, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x65, 0x6e, 0x64, 0x65, 363 0x72, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x41, 0x70, 0x70, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 364 0x67, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 365 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x44, 0x0a, 0x0d, 0x53, 0x65, 0x6e, 366 0x64, 0x41, 0x70, 0x70, 0x47, 0x6f, 0x73, 0x73, 0x69, 0x70, 0x12, 0x1b, 0x2e, 0x61, 0x70, 0x70, 367 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x41, 0x70, 0x70, 0x47, 0x6f, 368 0x73, 0x73, 0x69, 0x70, 0x4d, 0x73, 0x67, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 369 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 370 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x76, 371 0x61, 0x2d, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x61, 0x76, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x68, 0x65, 372 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x70, 0x62, 0x2f, 0x61, 0x70, 0x70, 0x73, 373 0x65, 0x6e, 0x64, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 374 } 375 376 var ( 377 file_appsender_appsender_proto_rawDescOnce sync.Once 378 file_appsender_appsender_proto_rawDescData = file_appsender_appsender_proto_rawDesc 379 ) 380 381 func file_appsender_appsender_proto_rawDescGZIP() []byte { 382 file_appsender_appsender_proto_rawDescOnce.Do(func() { 383 file_appsender_appsender_proto_rawDescData = protoimpl.X.CompressGZIP(file_appsender_appsender_proto_rawDescData) 384 }) 385 return file_appsender_appsender_proto_rawDescData 386 } 387 388 var file_appsender_appsender_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 389 var file_appsender_appsender_proto_goTypes = []interface{}{ 390 (*SendAppRequestMsg)(nil), // 0: appsender.SendAppRequestMsg 391 (*SendAppResponseMsg)(nil), // 1: appsender.SendAppResponseMsg 392 (*SendAppErrorMsg)(nil), // 2: appsender.SendAppErrorMsg 393 (*SendAppGossipMsg)(nil), // 3: appsender.SendAppGossipMsg 394 (*emptypb.Empty)(nil), // 4: google.protobuf.Empty 395 } 396 var file_appsender_appsender_proto_depIdxs = []int32{ 397 0, // 0: appsender.AppSender.SendAppRequest:input_type -> appsender.SendAppRequestMsg 398 1, // 1: appsender.AppSender.SendAppResponse:input_type -> appsender.SendAppResponseMsg 399 2, // 2: appsender.AppSender.SendAppError:input_type -> appsender.SendAppErrorMsg 400 3, // 3: appsender.AppSender.SendAppGossip:input_type -> appsender.SendAppGossipMsg 401 4, // 4: appsender.AppSender.SendAppRequest:output_type -> google.protobuf.Empty 402 4, // 5: appsender.AppSender.SendAppResponse:output_type -> google.protobuf.Empty 403 4, // 6: appsender.AppSender.SendAppError:output_type -> google.protobuf.Empty 404 4, // 7: appsender.AppSender.SendAppGossip:output_type -> google.protobuf.Empty 405 4, // [4:8] is the sub-list for method output_type 406 0, // [0:4] is the sub-list for method input_type 407 0, // [0:0] is the sub-list for extension type_name 408 0, // [0:0] is the sub-list for extension extendee 409 0, // [0:0] is the sub-list for field type_name 410 } 411 412 func init() { file_appsender_appsender_proto_init() } 413 func file_appsender_appsender_proto_init() { 414 if File_appsender_appsender_proto != nil { 415 return 416 } 417 if !protoimpl.UnsafeEnabled { 418 file_appsender_appsender_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 419 switch v := v.(*SendAppRequestMsg); i { 420 case 0: 421 return &v.state 422 case 1: 423 return &v.sizeCache 424 case 2: 425 return &v.unknownFields 426 default: 427 return nil 428 } 429 } 430 file_appsender_appsender_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 431 switch v := v.(*SendAppResponseMsg); i { 432 case 0: 433 return &v.state 434 case 1: 435 return &v.sizeCache 436 case 2: 437 return &v.unknownFields 438 default: 439 return nil 440 } 441 } 442 file_appsender_appsender_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 443 switch v := v.(*SendAppErrorMsg); i { 444 case 0: 445 return &v.state 446 case 1: 447 return &v.sizeCache 448 case 2: 449 return &v.unknownFields 450 default: 451 return nil 452 } 453 } 454 file_appsender_appsender_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 455 switch v := v.(*SendAppGossipMsg); i { 456 case 0: 457 return &v.state 458 case 1: 459 return &v.sizeCache 460 case 2: 461 return &v.unknownFields 462 default: 463 return nil 464 } 465 } 466 } 467 type x struct{} 468 out := protoimpl.TypeBuilder{ 469 File: protoimpl.DescBuilder{ 470 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 471 RawDescriptor: file_appsender_appsender_proto_rawDesc, 472 NumEnums: 0, 473 NumMessages: 4, 474 NumExtensions: 0, 475 NumServices: 1, 476 }, 477 GoTypes: file_appsender_appsender_proto_goTypes, 478 DependencyIndexes: file_appsender_appsender_proto_depIdxs, 479 MessageInfos: file_appsender_appsender_proto_msgTypes, 480 }.Build() 481 File_appsender_appsender_proto = out.File 482 file_appsender_appsender_proto_rawDesc = nil 483 file_appsender_appsender_proto_goTypes = nil 484 file_appsender_appsender_proto_depIdxs = nil 485 }