github.com/hyperledger/fabric-protos-go@v0.3.3/orderer/clusterserver.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: orderer/clusterserver.proto 3 4 package orderer 5 6 import ( 7 context "context" 8 fmt "fmt" 9 proto "github.com/golang/protobuf/proto" 10 common "github.com/hyperledger/fabric-protos-go/common" 11 grpc "google.golang.org/grpc" 12 codes "google.golang.org/grpc/codes" 13 status "google.golang.org/grpc/status" 14 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 15 math "math" 16 ) 17 18 // Reference imports to suppress errors if they are not otherwise used. 19 var _ = proto.Marshal 20 var _ = fmt.Errorf 21 var _ = math.Inf 22 23 // This is a compile-time assertion to ensure that this generated file 24 // is compatible with the proto package it is being compiled against. 25 // A compilation error at this line likely means your copy of the 26 // proto package needs to be updated. 27 const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 28 29 // ClusterNodeServiceStepRequest wraps a message that is sent to a cluster member. 30 type ClusterNodeServiceStepRequest struct { 31 // Types that are valid to be assigned to Payload: 32 // 33 // *ClusterNodeServiceStepRequest_NodeConrequest 34 // *ClusterNodeServiceStepRequest_NodeTranrequest 35 // *ClusterNodeServiceStepRequest_NodeAuthrequest 36 Payload isClusterNodeServiceStepRequest_Payload `protobuf_oneof:"payload"` 37 XXX_NoUnkeyedLiteral struct{} `json:"-"` 38 XXX_unrecognized []byte `json:"-"` 39 XXX_sizecache int32 `json:"-"` 40 } 41 42 func (m *ClusterNodeServiceStepRequest) Reset() { *m = ClusterNodeServiceStepRequest{} } 43 func (m *ClusterNodeServiceStepRequest) String() string { return proto.CompactTextString(m) } 44 func (*ClusterNodeServiceStepRequest) ProtoMessage() {} 45 func (*ClusterNodeServiceStepRequest) Descriptor() ([]byte, []int) { 46 return fileDescriptor_ce2573c2284b220f, []int{0} 47 } 48 49 func (m *ClusterNodeServiceStepRequest) XXX_Unmarshal(b []byte) error { 50 return xxx_messageInfo_ClusterNodeServiceStepRequest.Unmarshal(m, b) 51 } 52 func (m *ClusterNodeServiceStepRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 53 return xxx_messageInfo_ClusterNodeServiceStepRequest.Marshal(b, m, deterministic) 54 } 55 func (m *ClusterNodeServiceStepRequest) XXX_Merge(src proto.Message) { 56 xxx_messageInfo_ClusterNodeServiceStepRequest.Merge(m, src) 57 } 58 func (m *ClusterNodeServiceStepRequest) XXX_Size() int { 59 return xxx_messageInfo_ClusterNodeServiceStepRequest.Size(m) 60 } 61 func (m *ClusterNodeServiceStepRequest) XXX_DiscardUnknown() { 62 xxx_messageInfo_ClusterNodeServiceStepRequest.DiscardUnknown(m) 63 } 64 65 var xxx_messageInfo_ClusterNodeServiceStepRequest proto.InternalMessageInfo 66 67 type isClusterNodeServiceStepRequest_Payload interface { 68 isClusterNodeServiceStepRequest_Payload() 69 } 70 71 type ClusterNodeServiceStepRequest_NodeConrequest struct { 72 NodeConrequest *NodeConsensusRequest `protobuf:"bytes,1,opt,name=node_conrequest,json=nodeConrequest,proto3,oneof"` 73 } 74 75 type ClusterNodeServiceStepRequest_NodeTranrequest struct { 76 NodeTranrequest *NodeTransactionOrderRequest `protobuf:"bytes,2,opt,name=node_tranrequest,json=nodeTranrequest,proto3,oneof"` 77 } 78 79 type ClusterNodeServiceStepRequest_NodeAuthrequest struct { 80 NodeAuthrequest *NodeAuthRequest `protobuf:"bytes,3,opt,name=node_authrequest,json=nodeAuthrequest,proto3,oneof"` 81 } 82 83 func (*ClusterNodeServiceStepRequest_NodeConrequest) isClusterNodeServiceStepRequest_Payload() {} 84 85 func (*ClusterNodeServiceStepRequest_NodeTranrequest) isClusterNodeServiceStepRequest_Payload() {} 86 87 func (*ClusterNodeServiceStepRequest_NodeAuthrequest) isClusterNodeServiceStepRequest_Payload() {} 88 89 func (m *ClusterNodeServiceStepRequest) GetPayload() isClusterNodeServiceStepRequest_Payload { 90 if m != nil { 91 return m.Payload 92 } 93 return nil 94 } 95 96 func (m *ClusterNodeServiceStepRequest) GetNodeConrequest() *NodeConsensusRequest { 97 if x, ok := m.GetPayload().(*ClusterNodeServiceStepRequest_NodeConrequest); ok { 98 return x.NodeConrequest 99 } 100 return nil 101 } 102 103 func (m *ClusterNodeServiceStepRequest) GetNodeTranrequest() *NodeTransactionOrderRequest { 104 if x, ok := m.GetPayload().(*ClusterNodeServiceStepRequest_NodeTranrequest); ok { 105 return x.NodeTranrequest 106 } 107 return nil 108 } 109 110 func (m *ClusterNodeServiceStepRequest) GetNodeAuthrequest() *NodeAuthRequest { 111 if x, ok := m.GetPayload().(*ClusterNodeServiceStepRequest_NodeAuthrequest); ok { 112 return x.NodeAuthrequest 113 } 114 return nil 115 } 116 117 // XXX_OneofWrappers is for the internal use of the proto package. 118 func (*ClusterNodeServiceStepRequest) XXX_OneofWrappers() []interface{} { 119 return []interface{}{ 120 (*ClusterNodeServiceStepRequest_NodeConrequest)(nil), 121 (*ClusterNodeServiceStepRequest_NodeTranrequest)(nil), 122 (*ClusterNodeServiceStepRequest_NodeAuthrequest)(nil), 123 } 124 } 125 126 // ClusterNodeServiceStepResponse is a message received from a cluster member. 127 type ClusterNodeServiceStepResponse struct { 128 // Types that are valid to be assigned to Payload: 129 // 130 // *ClusterNodeServiceStepResponse_TranorderRes 131 Payload isClusterNodeServiceStepResponse_Payload `protobuf_oneof:"payload"` 132 XXX_NoUnkeyedLiteral struct{} `json:"-"` 133 XXX_unrecognized []byte `json:"-"` 134 XXX_sizecache int32 `json:"-"` 135 } 136 137 func (m *ClusterNodeServiceStepResponse) Reset() { *m = ClusterNodeServiceStepResponse{} } 138 func (m *ClusterNodeServiceStepResponse) String() string { return proto.CompactTextString(m) } 139 func (*ClusterNodeServiceStepResponse) ProtoMessage() {} 140 func (*ClusterNodeServiceStepResponse) Descriptor() ([]byte, []int) { 141 return fileDescriptor_ce2573c2284b220f, []int{1} 142 } 143 144 func (m *ClusterNodeServiceStepResponse) XXX_Unmarshal(b []byte) error { 145 return xxx_messageInfo_ClusterNodeServiceStepResponse.Unmarshal(m, b) 146 } 147 func (m *ClusterNodeServiceStepResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 148 return xxx_messageInfo_ClusterNodeServiceStepResponse.Marshal(b, m, deterministic) 149 } 150 func (m *ClusterNodeServiceStepResponse) XXX_Merge(src proto.Message) { 151 xxx_messageInfo_ClusterNodeServiceStepResponse.Merge(m, src) 152 } 153 func (m *ClusterNodeServiceStepResponse) XXX_Size() int { 154 return xxx_messageInfo_ClusterNodeServiceStepResponse.Size(m) 155 } 156 func (m *ClusterNodeServiceStepResponse) XXX_DiscardUnknown() { 157 xxx_messageInfo_ClusterNodeServiceStepResponse.DiscardUnknown(m) 158 } 159 160 var xxx_messageInfo_ClusterNodeServiceStepResponse proto.InternalMessageInfo 161 162 type isClusterNodeServiceStepResponse_Payload interface { 163 isClusterNodeServiceStepResponse_Payload() 164 } 165 166 type ClusterNodeServiceStepResponse_TranorderRes struct { 167 TranorderRes *TransactionOrderResponse `protobuf:"bytes,1,opt,name=tranorder_res,json=tranorderRes,proto3,oneof"` 168 } 169 170 func (*ClusterNodeServiceStepResponse_TranorderRes) isClusterNodeServiceStepResponse_Payload() {} 171 172 func (m *ClusterNodeServiceStepResponse) GetPayload() isClusterNodeServiceStepResponse_Payload { 173 if m != nil { 174 return m.Payload 175 } 176 return nil 177 } 178 179 func (m *ClusterNodeServiceStepResponse) GetTranorderRes() *TransactionOrderResponse { 180 if x, ok := m.GetPayload().(*ClusterNodeServiceStepResponse_TranorderRes); ok { 181 return x.TranorderRes 182 } 183 return nil 184 } 185 186 // XXX_OneofWrappers is for the internal use of the proto package. 187 func (*ClusterNodeServiceStepResponse) XXX_OneofWrappers() []interface{} { 188 return []interface{}{ 189 (*ClusterNodeServiceStepResponse_TranorderRes)(nil), 190 } 191 } 192 193 // NodeConsensusRequest is a consensus specific message sent to a cluster member. 194 type NodeConsensusRequest struct { 195 Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` 196 Metadata []byte `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` 197 XXX_NoUnkeyedLiteral struct{} `json:"-"` 198 XXX_unrecognized []byte `json:"-"` 199 XXX_sizecache int32 `json:"-"` 200 } 201 202 func (m *NodeConsensusRequest) Reset() { *m = NodeConsensusRequest{} } 203 func (m *NodeConsensusRequest) String() string { return proto.CompactTextString(m) } 204 func (*NodeConsensusRequest) ProtoMessage() {} 205 func (*NodeConsensusRequest) Descriptor() ([]byte, []int) { 206 return fileDescriptor_ce2573c2284b220f, []int{2} 207 } 208 209 func (m *NodeConsensusRequest) XXX_Unmarshal(b []byte) error { 210 return xxx_messageInfo_NodeConsensusRequest.Unmarshal(m, b) 211 } 212 func (m *NodeConsensusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 213 return xxx_messageInfo_NodeConsensusRequest.Marshal(b, m, deterministic) 214 } 215 func (m *NodeConsensusRequest) XXX_Merge(src proto.Message) { 216 xxx_messageInfo_NodeConsensusRequest.Merge(m, src) 217 } 218 func (m *NodeConsensusRequest) XXX_Size() int { 219 return xxx_messageInfo_NodeConsensusRequest.Size(m) 220 } 221 func (m *NodeConsensusRequest) XXX_DiscardUnknown() { 222 xxx_messageInfo_NodeConsensusRequest.DiscardUnknown(m) 223 } 224 225 var xxx_messageInfo_NodeConsensusRequest proto.InternalMessageInfo 226 227 func (m *NodeConsensusRequest) GetPayload() []byte { 228 if m != nil { 229 return m.Payload 230 } 231 return nil 232 } 233 234 func (m *NodeConsensusRequest) GetMetadata() []byte { 235 if m != nil { 236 return m.Metadata 237 } 238 return nil 239 } 240 241 // NodeTransactionOrderRequest wraps a transaction to be sent for ordering. 242 type NodeTransactionOrderRequest struct { 243 // last_validation_seq denotes the last configuration sequence at which the 244 // sender validated this message. 245 LastValidationSeq uint64 `protobuf:"varint,1,opt,name=last_validation_seq,json=lastValidationSeq,proto3" json:"last_validation_seq,omitempty"` 246 // content is the fabric transaction 247 // that is forwarded to the cluster member. 248 Payload *common.Envelope `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` 249 XXX_NoUnkeyedLiteral struct{} `json:"-"` 250 XXX_unrecognized []byte `json:"-"` 251 XXX_sizecache int32 `json:"-"` 252 } 253 254 func (m *NodeTransactionOrderRequest) Reset() { *m = NodeTransactionOrderRequest{} } 255 func (m *NodeTransactionOrderRequest) String() string { return proto.CompactTextString(m) } 256 func (*NodeTransactionOrderRequest) ProtoMessage() {} 257 func (*NodeTransactionOrderRequest) Descriptor() ([]byte, []int) { 258 return fileDescriptor_ce2573c2284b220f, []int{3} 259 } 260 261 func (m *NodeTransactionOrderRequest) XXX_Unmarshal(b []byte) error { 262 return xxx_messageInfo_NodeTransactionOrderRequest.Unmarshal(m, b) 263 } 264 func (m *NodeTransactionOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 265 return xxx_messageInfo_NodeTransactionOrderRequest.Marshal(b, m, deterministic) 266 } 267 func (m *NodeTransactionOrderRequest) XXX_Merge(src proto.Message) { 268 xxx_messageInfo_NodeTransactionOrderRequest.Merge(m, src) 269 } 270 func (m *NodeTransactionOrderRequest) XXX_Size() int { 271 return xxx_messageInfo_NodeTransactionOrderRequest.Size(m) 272 } 273 func (m *NodeTransactionOrderRequest) XXX_DiscardUnknown() { 274 xxx_messageInfo_NodeTransactionOrderRequest.DiscardUnknown(m) 275 } 276 277 var xxx_messageInfo_NodeTransactionOrderRequest proto.InternalMessageInfo 278 279 func (m *NodeTransactionOrderRequest) GetLastValidationSeq() uint64 { 280 if m != nil { 281 return m.LastValidationSeq 282 } 283 return 0 284 } 285 286 func (m *NodeTransactionOrderRequest) GetPayload() *common.Envelope { 287 if m != nil { 288 return m.Payload 289 } 290 return nil 291 } 292 293 // TransactionOrderResponse returns a success 294 // or failure status to the sender. 295 type TransactionOrderResponse struct { 296 Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` 297 TxId string `protobuf:"bytes,2,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"` 298 // Status code, which may be used to programatically respond to success/failure. 299 Status common.Status `protobuf:"varint,3,opt,name=status,proto3,enum=common.Status" json:"status,omitempty"` 300 // Info string which may contain additional information about the returned status. 301 Info string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"` 302 XXX_NoUnkeyedLiteral struct{} `json:"-"` 303 XXX_unrecognized []byte `json:"-"` 304 XXX_sizecache int32 `json:"-"` 305 } 306 307 func (m *TransactionOrderResponse) Reset() { *m = TransactionOrderResponse{} } 308 func (m *TransactionOrderResponse) String() string { return proto.CompactTextString(m) } 309 func (*TransactionOrderResponse) ProtoMessage() {} 310 func (*TransactionOrderResponse) Descriptor() ([]byte, []int) { 311 return fileDescriptor_ce2573c2284b220f, []int{4} 312 } 313 314 func (m *TransactionOrderResponse) XXX_Unmarshal(b []byte) error { 315 return xxx_messageInfo_TransactionOrderResponse.Unmarshal(m, b) 316 } 317 func (m *TransactionOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 318 return xxx_messageInfo_TransactionOrderResponse.Marshal(b, m, deterministic) 319 } 320 func (m *TransactionOrderResponse) XXX_Merge(src proto.Message) { 321 xxx_messageInfo_TransactionOrderResponse.Merge(m, src) 322 } 323 func (m *TransactionOrderResponse) XXX_Size() int { 324 return xxx_messageInfo_TransactionOrderResponse.Size(m) 325 } 326 func (m *TransactionOrderResponse) XXX_DiscardUnknown() { 327 xxx_messageInfo_TransactionOrderResponse.DiscardUnknown(m) 328 } 329 330 var xxx_messageInfo_TransactionOrderResponse proto.InternalMessageInfo 331 332 func (m *TransactionOrderResponse) GetChannel() string { 333 if m != nil { 334 return m.Channel 335 } 336 return "" 337 } 338 339 func (m *TransactionOrderResponse) GetTxId() string { 340 if m != nil { 341 return m.TxId 342 } 343 return "" 344 } 345 346 func (m *TransactionOrderResponse) GetStatus() common.Status { 347 if m != nil { 348 return m.Status 349 } 350 return common.Status_UNKNOWN 351 } 352 353 func (m *TransactionOrderResponse) GetInfo() string { 354 if m != nil { 355 return m.Info 356 } 357 return "" 358 } 359 360 // NodeAuthRequest for authenticate the stream 361 // between the cluster members 362 type NodeAuthRequest struct { 363 // version represents the fields on which the signature is computed 364 Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` 365 // signature is verifiable using the initiator's public key 366 Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` 367 // timestamp indicates the freshness of the request; expected to be within the margin 368 // of the responsder's local time 369 Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` 370 // from_id is the numerical identifier of the initiator of the connection 371 FromId uint64 `protobuf:"varint,4,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"` 372 // to_id is the numerical identifier of the node that is being connected to 373 ToId uint64 `protobuf:"varint,5,opt,name=to_id,json=toId,proto3" json:"to_id,omitempty"` 374 // session_binding is verifiable using application level protocol 375 SessionBinding []byte `protobuf:"bytes,6,opt,name=session_binding,json=sessionBinding,proto3" json:"session_binding,omitempty"` 376 Channel string `protobuf:"bytes,7,opt,name=channel,proto3" json:"channel,omitempty"` 377 XXX_NoUnkeyedLiteral struct{} `json:"-"` 378 XXX_unrecognized []byte `json:"-"` 379 XXX_sizecache int32 `json:"-"` 380 } 381 382 func (m *NodeAuthRequest) Reset() { *m = NodeAuthRequest{} } 383 func (m *NodeAuthRequest) String() string { return proto.CompactTextString(m) } 384 func (*NodeAuthRequest) ProtoMessage() {} 385 func (*NodeAuthRequest) Descriptor() ([]byte, []int) { 386 return fileDescriptor_ce2573c2284b220f, []int{5} 387 } 388 389 func (m *NodeAuthRequest) XXX_Unmarshal(b []byte) error { 390 return xxx_messageInfo_NodeAuthRequest.Unmarshal(m, b) 391 } 392 func (m *NodeAuthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 393 return xxx_messageInfo_NodeAuthRequest.Marshal(b, m, deterministic) 394 } 395 func (m *NodeAuthRequest) XXX_Merge(src proto.Message) { 396 xxx_messageInfo_NodeAuthRequest.Merge(m, src) 397 } 398 func (m *NodeAuthRequest) XXX_Size() int { 399 return xxx_messageInfo_NodeAuthRequest.Size(m) 400 } 401 func (m *NodeAuthRequest) XXX_DiscardUnknown() { 402 xxx_messageInfo_NodeAuthRequest.DiscardUnknown(m) 403 } 404 405 var xxx_messageInfo_NodeAuthRequest proto.InternalMessageInfo 406 407 func (m *NodeAuthRequest) GetVersion() uint32 { 408 if m != nil { 409 return m.Version 410 } 411 return 0 412 } 413 414 func (m *NodeAuthRequest) GetSignature() []byte { 415 if m != nil { 416 return m.Signature 417 } 418 return nil 419 } 420 421 func (m *NodeAuthRequest) GetTimestamp() *timestamppb.Timestamp { 422 if m != nil { 423 return m.Timestamp 424 } 425 return nil 426 } 427 428 func (m *NodeAuthRequest) GetFromId() uint64 { 429 if m != nil { 430 return m.FromId 431 } 432 return 0 433 } 434 435 func (m *NodeAuthRequest) GetToId() uint64 { 436 if m != nil { 437 return m.ToId 438 } 439 return 0 440 } 441 442 func (m *NodeAuthRequest) GetSessionBinding() []byte { 443 if m != nil { 444 return m.SessionBinding 445 } 446 return nil 447 } 448 449 func (m *NodeAuthRequest) GetChannel() string { 450 if m != nil { 451 return m.Channel 452 } 453 return "" 454 } 455 456 func init() { 457 proto.RegisterType((*ClusterNodeServiceStepRequest)(nil), "orderer.ClusterNodeServiceStepRequest") 458 proto.RegisterType((*ClusterNodeServiceStepResponse)(nil), "orderer.ClusterNodeServiceStepResponse") 459 proto.RegisterType((*NodeConsensusRequest)(nil), "orderer.NodeConsensusRequest") 460 proto.RegisterType((*NodeTransactionOrderRequest)(nil), "orderer.NodeTransactionOrderRequest") 461 proto.RegisterType((*TransactionOrderResponse)(nil), "orderer.TransactionOrderResponse") 462 proto.RegisterType((*NodeAuthRequest)(nil), "orderer.NodeAuthRequest") 463 } 464 465 func init() { proto.RegisterFile("orderer/clusterserver.proto", fileDescriptor_ce2573c2284b220f) } 466 467 var fileDescriptor_ce2573c2284b220f = []byte{ 468 // 619 bytes of a gzipped FileDescriptorProto 469 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x53, 0x5d, 0x6f, 0xd3, 0x3c, 470 0x14, 0x5e, 0xf7, 0x66, 0xed, 0x5b, 0xb3, 0x75, 0xc3, 0x43, 0xa2, 0xea, 0x18, 0x1f, 0x15, 0x6c, 471 0x13, 0xd2, 0x12, 0x34, 0x6e, 0xb8, 0xdd, 0xa6, 0x49, 0x9d, 0x84, 0x40, 0xb8, 0x13, 0x42, 0x70, 472 0x51, 0xb9, 0xc9, 0x69, 0x6a, 0x29, 0xb1, 0x53, 0xdb, 0xa9, 0xb6, 0x1f, 0xc0, 0x2d, 0xbf, 0x96, 473 0x1f, 0x80, 0xfc, 0x91, 0x64, 0x1f, 0x6c, 0x5c, 0x25, 0xe7, 0x39, 0xe7, 0x3c, 0xcf, 0xf1, 0xe3, 474 0x63, 0xb4, 0x23, 0x64, 0x02, 0x12, 0x64, 0x14, 0x67, 0xa5, 0xd2, 0x20, 0x15, 0xc8, 0x25, 0xc8, 475 0xb0, 0x90, 0x42, 0x0b, 0xdc, 0xf1, 0xc9, 0xc1, 0x76, 0x2c, 0xf2, 0x5c, 0xf0, 0xc8, 0x7d, 0x5c, 476 0x76, 0xf0, 0x22, 0x15, 0x22, 0xcd, 0x20, 0xb2, 0xd1, 0xb4, 0x9c, 0x45, 0x9a, 0xe5, 0xa0, 0x34, 477 0xcd, 0x0b, 0x57, 0x30, 0xfc, 0xb5, 0x8a, 0x76, 0x4f, 0x1d, 0xed, 0x27, 0x91, 0xc0, 0x18, 0xe4, 478 0x92, 0xc5, 0x30, 0xd6, 0x50, 0x10, 0x58, 0x94, 0xa0, 0x34, 0x1e, 0xa1, 0x4d, 0x2e, 0x12, 0x98, 479 0xc4, 0x82, 0x4b, 0x07, 0xf5, 0x5b, 0x2f, 0x5b, 0x07, 0x8f, 0x8e, 0x76, 0x43, 0x2f, 0x1d, 0x9a, 480 0xce, 0x53, 0xc1, 0x15, 0x70, 0x55, 0x2a, 0xdf, 0x37, 0x5a, 0x21, 0x3d, 0xee, 0x70, 0xdf, 0x86, 481 0xbf, 0xa0, 0x2d, 0xcb, 0xa4, 0x25, 0xad, 0xa9, 0x56, 0x2d, 0xd5, 0xeb, 0x1b, 0x54, 0x17, 0x92, 482 0x72, 0x45, 0x63, 0xcd, 0x04, 0xff, 0x6c, 0xe0, 0x86, 0xd1, 0x4e, 0x72, 0xd1, 0xb4, 0xe3, 0x33, 483 0x4f, 0x49, 0x4b, 0x3d, 0xaf, 0x28, 0xff, 0xb3, 0x94, 0xfd, 0x1b, 0x94, 0xc7, 0xa5, 0x9e, 0xdf, 484 0xa2, 0x39, 0x6e, 0x5a, 0x4e, 0xba, 0xa8, 0x53, 0xd0, 0xab, 0x4c, 0xd0, 0x64, 0x58, 0xa2, 0xe7, 485 0xf7, 0xf9, 0xa1, 0x0a, 0x73, 0x46, 0x3c, 0x42, 0x1b, 0xe6, 0x04, 0x96, 0x7e, 0x22, 0x41, 0x79, 486 0x3b, 0x5e, 0xd5, 0x82, 0x77, 0xe7, 0x77, 0x9d, 0xa3, 0x15, 0xb2, 0x5e, 0x77, 0x12, 0x50, 0xd7, 487 0x65, 0x3f, 0xa2, 0x27, 0x7f, 0x73, 0x11, 0xf7, 0xeb, 0x12, 0x2b, 0xb3, 0x4e, 0xaa, 0x10, 0x0f, 488 0xd0, 0xff, 0x39, 0x68, 0x9a, 0x50, 0x4d, 0xad, 0x8b, 0xeb, 0xa4, 0x8e, 0x87, 0x57, 0x68, 0xe7, 489 0x01, 0x23, 0x71, 0x88, 0xb6, 0x33, 0xaa, 0xf4, 0x64, 0x49, 0x33, 0x96, 0x50, 0x93, 0x9e, 0x28, 490 0x58, 0x58, 0x81, 0x80, 0x3c, 0x36, 0xa9, 0xaf, 0x75, 0x66, 0x0c, 0x0b, 0xfc, 0xb6, 0x19, 0xc2, 491 0xdd, 0xd7, 0x56, 0xe8, 0xb7, 0xec, 0x8c, 0x2f, 0x21, 0x13, 0x05, 0xd4, 0x63, 0x0d, 0x7f, 0xb6, 492 0x50, 0xff, 0x3e, 0x03, 0xcc, 0x69, 0xe2, 0x39, 0xe5, 0x1c, 0x32, 0x2b, 0xd6, 0x25, 0x55, 0x88, 493 0xb7, 0xd1, 0x9a, 0xbe, 0x9c, 0x30, 0x27, 0xd0, 0x25, 0x81, 0xbe, 0x3c, 0x4f, 0xf0, 0x1e, 0x6a, 494 0x2b, 0x4d, 0x75, 0xa9, 0xec, 0x9d, 0xf6, 0x8e, 0x7a, 0x95, 0xec, 0xd8, 0xa2, 0xc4, 0x67, 0x31, 495 0x46, 0x01, 0xe3, 0x33, 0xd1, 0x0f, 0x5c, 0xaf, 0xf9, 0x1f, 0xfe, 0x6e, 0xa1, 0xcd, 0x5b, 0x37, 496 0x6f, 0xe4, 0x97, 0x20, 0x15, 0x13, 0xdc, 0xca, 0x6f, 0x90, 0x2a, 0xc4, 0xcf, 0x50, 0x57, 0xb1, 497 0x94, 0x53, 0x5d, 0x4a, 0xf0, 0x6e, 0x36, 0x00, 0xfe, 0x80, 0xba, 0xf5, 0xbb, 0xf1, 0xeb, 0x35, 498 0x08, 0xdd, 0xcb, 0x0a, 0xab, 0x97, 0x15, 0x5e, 0x54, 0x15, 0xa4, 0x29, 0xc6, 0x4f, 0x51, 0x67, 499 0x26, 0x45, 0x6e, 0x0e, 0x16, 0x58, 0x77, 0xdb, 0x26, 0x3c, 0x4f, 0xec, 0x79, 0x85, 0x81, 0xd7, 500 0x2c, 0x1c, 0x68, 0x71, 0x9e, 0xe0, 0x7d, 0xb4, 0xa9, 0x40, 0x99, 0x81, 0x26, 0x53, 0xc6, 0x13, 501 0xc6, 0xd3, 0x7e, 0xdb, 0xce, 0xd2, 0xf3, 0xf0, 0x89, 0x43, 0xaf, 0xfb, 0xd8, 0xb9, 0xe1, 0xe3, 502 0xd1, 0x02, 0xe1, 0xbb, 0xeb, 0x8b, 0x7f, 0xa0, 0xc0, 0xac, 0x30, 0xde, 0xab, 0x77, 0xf4, 0xc1, 503 0x37, 0x3f, 0xd8, 0xff, 0x67, 0x9d, 0xbb, 0xd0, 0x83, 0xd6, 0xbb, 0xd6, 0xc9, 0x37, 0xf4, 0x46, 504 0xc8, 0x34, 0x9c, 0x5f, 0x15, 0x20, 0x33, 0x48, 0x52, 0x90, 0xe1, 0x8c, 0x4e, 0x25, 0x8b, 0x9d, 505 0x37, 0xaa, 0xe2, 0xfa, 0x1e, 0xa5, 0x4c, 0xcf, 0xcb, 0xa9, 0xb9, 0xc4, 0xe8, 0x5a, 0x75, 0xe4, 506 0xaa, 0x0f, 0x5d, 0xf5, 0x61, 0x2a, 0x22, 0xdf, 0x30, 0x6d, 0x5b, 0xe8, 0xfd, 0x9f, 0x00, 0x00, 507 0x00, 0xff, 0xff, 0xd4, 0x82, 0x41, 0x47, 0x01, 0x05, 0x00, 0x00, 508 } 509 510 // Reference imports to suppress errors if they are not otherwise used. 511 var _ context.Context 512 var _ grpc.ClientConn 513 514 // This is a compile-time assertion to ensure that this generated file 515 // is compatible with the grpc package it is being compiled against. 516 const _ = grpc.SupportPackageIsVersion4 517 518 // ClusterNodeServiceClient is the client API for ClusterNodeService service. 519 // 520 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 521 type ClusterNodeServiceClient interface { 522 // Step passes an implementation-specific message to another cluster member. 523 Step(ctx context.Context, opts ...grpc.CallOption) (ClusterNodeService_StepClient, error) 524 } 525 526 type clusterNodeServiceClient struct { 527 cc *grpc.ClientConn 528 } 529 530 func NewClusterNodeServiceClient(cc *grpc.ClientConn) ClusterNodeServiceClient { 531 return &clusterNodeServiceClient{cc} 532 } 533 534 func (c *clusterNodeServiceClient) Step(ctx context.Context, opts ...grpc.CallOption) (ClusterNodeService_StepClient, error) { 535 stream, err := c.cc.NewStream(ctx, &_ClusterNodeService_serviceDesc.Streams[0], "/orderer.ClusterNodeService/Step", opts...) 536 if err != nil { 537 return nil, err 538 } 539 x := &clusterNodeServiceStepClient{stream} 540 return x, nil 541 } 542 543 type ClusterNodeService_StepClient interface { 544 Send(*ClusterNodeServiceStepRequest) error 545 Recv() (*ClusterNodeServiceStepResponse, error) 546 grpc.ClientStream 547 } 548 549 type clusterNodeServiceStepClient struct { 550 grpc.ClientStream 551 } 552 553 func (x *clusterNodeServiceStepClient) Send(m *ClusterNodeServiceStepRequest) error { 554 return x.ClientStream.SendMsg(m) 555 } 556 557 func (x *clusterNodeServiceStepClient) Recv() (*ClusterNodeServiceStepResponse, error) { 558 m := new(ClusterNodeServiceStepResponse) 559 if err := x.ClientStream.RecvMsg(m); err != nil { 560 return nil, err 561 } 562 return m, nil 563 } 564 565 // ClusterNodeServiceServer is the server API for ClusterNodeService service. 566 type ClusterNodeServiceServer interface { 567 // Step passes an implementation-specific message to another cluster member. 568 Step(ClusterNodeService_StepServer) error 569 } 570 571 // UnimplementedClusterNodeServiceServer can be embedded to have forward compatible implementations. 572 type UnimplementedClusterNodeServiceServer struct { 573 } 574 575 func (*UnimplementedClusterNodeServiceServer) Step(srv ClusterNodeService_StepServer) error { 576 return status.Errorf(codes.Unimplemented, "method Step not implemented") 577 } 578 579 func RegisterClusterNodeServiceServer(s *grpc.Server, srv ClusterNodeServiceServer) { 580 s.RegisterService(&_ClusterNodeService_serviceDesc, srv) 581 } 582 583 func _ClusterNodeService_Step_Handler(srv interface{}, stream grpc.ServerStream) error { 584 return srv.(ClusterNodeServiceServer).Step(&clusterNodeServiceStepServer{stream}) 585 } 586 587 type ClusterNodeService_StepServer interface { 588 Send(*ClusterNodeServiceStepResponse) error 589 Recv() (*ClusterNodeServiceStepRequest, error) 590 grpc.ServerStream 591 } 592 593 type clusterNodeServiceStepServer struct { 594 grpc.ServerStream 595 } 596 597 func (x *clusterNodeServiceStepServer) Send(m *ClusterNodeServiceStepResponse) error { 598 return x.ServerStream.SendMsg(m) 599 } 600 601 func (x *clusterNodeServiceStepServer) Recv() (*ClusterNodeServiceStepRequest, error) { 602 m := new(ClusterNodeServiceStepRequest) 603 if err := x.ServerStream.RecvMsg(m); err != nil { 604 return nil, err 605 } 606 return m, nil 607 } 608 609 var _ClusterNodeService_serviceDesc = grpc.ServiceDesc{ 610 ServiceName: "orderer.ClusterNodeService", 611 HandlerType: (*ClusterNodeServiceServer)(nil), 612 Methods: []grpc.MethodDesc{}, 613 Streams: []grpc.StreamDesc{ 614 { 615 StreamName: "Step", 616 Handler: _ClusterNodeService_Step_Handler, 617 ServerStreams: true, 618 ClientStreams: true, 619 }, 620 }, 621 Metadata: "orderer/clusterserver.proto", 622 }