Zippytal-Node/node.pb.go
2022-08-28 22:17:30 +02:00

1659 lines
54 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.0
// protoc v3.14.0
// source: node.proto
package localserver
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type NodeAuthType int32
const (
NodeAuthType_token NodeAuthType = 0
NodeAuthType_key NodeAuthType = 1
NodeAuthType_mac NodeAuthType = 2
NodeAuthType_none NodeAuthType = 3
)
// Enum value maps for NodeAuthType.
var (
NodeAuthType_name = map[int32]string{
0: "token",
1: "key",
2: "mac",
3: "none",
}
NodeAuthType_value = map[string]int32{
"token": 0,
"key": 1,
"mac": 2,
"none": 3,
}
)
func (x NodeAuthType) Enum() *NodeAuthType {
p := new(NodeAuthType)
*p = x
return p
}
func (x NodeAuthType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (NodeAuthType) Descriptor() protoreflect.EnumDescriptor {
return file_node_proto_enumTypes[0].Descriptor()
}
func (NodeAuthType) Type() protoreflect.EnumType {
return &file_node_proto_enumTypes[0]
}
func (x NodeAuthType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use NodeAuthType.Descriptor instead.
func (NodeAuthType) EnumDescriptor() ([]byte, []int) {
return file_node_proto_rawDescGZIP(), []int{0}
}
type NodeAuthParams struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
NodeId string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
AuthKey string `protobuf:"bytes,2,opt,name=authKey,proto3" json:"authKey,omitempty"`
AuthType NodeAuthType `protobuf:"varint,3,opt,name=authType,proto3,enum=node.NodeAuthType" json:"authType,omitempty"`
}
func (x *NodeAuthParams) Reset() {
*x = NodeAuthParams{}
if protoimpl.UnsafeEnabled {
mi := &file_node_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *NodeAuthParams) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NodeAuthParams) ProtoMessage() {}
func (x *NodeAuthParams) ProtoReflect() protoreflect.Message {
mi := &file_node_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use NodeAuthParams.ProtoReflect.Descriptor instead.
func (*NodeAuthParams) Descriptor() ([]byte, []int) {
return file_node_proto_rawDescGZIP(), []int{0}
}
func (x *NodeAuthParams) GetNodeId() string {
if x != nil {
return x.NodeId
}
return ""
}
func (x *NodeAuthParams) GetAuthKey() string {
if x != nil {
return x.AuthKey
}
return ""
}
func (x *NodeAuthParams) GetAuthType() NodeAuthType {
if x != nil {
return x.AuthType
}
return NodeAuthType_token
}
type OperatorAuthParams struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
OperatorId string `protobuf:"bytes,1,opt,name=operatorId,proto3" json:"operatorId,omitempty"`
AuthKey string `protobuf:"bytes,2,opt,name=authKey,proto3" json:"authKey,omitempty"`
AuthType NodeAuthType `protobuf:"varint,3,opt,name=authType,proto3,enum=node.NodeAuthType" json:"authType,omitempty"`
}
func (x *OperatorAuthParams) Reset() {
*x = OperatorAuthParams{}
if protoimpl.UnsafeEnabled {
mi := &file_node_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *OperatorAuthParams) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OperatorAuthParams) ProtoMessage() {}
func (x *OperatorAuthParams) ProtoReflect() protoreflect.Message {
mi := &file_node_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use OperatorAuthParams.ProtoReflect.Descriptor instead.
func (*OperatorAuthParams) Descriptor() ([]byte, []int) {
return file_node_proto_rawDescGZIP(), []int{1}
}
func (x *OperatorAuthParams) GetOperatorId() string {
if x != nil {
return x.OperatorId
}
return ""
}
func (x *OperatorAuthParams) GetAuthKey() string {
if x != nil {
return x.AuthKey
}
return ""
}
func (x *OperatorAuthParams) GetAuthType() NodeAuthType {
if x != nil {
return x.AuthType
}
return NodeAuthType_token
}
type Node struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
PubKey string `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty"`
Active bool `protobuf:"varint,4,opt,name=active,proto3" json:"active,omitempty"`
Operators []string `protobuf:"bytes,5,rep,name=operators,proto3" json:"operators,omitempty"`
OperatorRequests []string `protobuf:"bytes,6,rep,name=operatorRequests,proto3" json:"operatorRequests,omitempty"`
}
func (x *Node) Reset() {
*x = Node{}
if protoimpl.UnsafeEnabled {
mi := &file_node_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Node) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Node) ProtoMessage() {}
func (x *Node) ProtoReflect() protoreflect.Message {
mi := &file_node_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Node.ProtoReflect.Descriptor instead.
func (*Node) Descriptor() ([]byte, []int) {
return file_node_proto_rawDescGZIP(), []int{2}
}
func (x *Node) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *Node) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *Node) GetPubKey() string {
if x != nil {
return x.PubKey
}
return ""
}
func (x *Node) GetActive() bool {
if x != nil {
return x.Active
}
return false
}
func (x *Node) GetOperators() []string {
if x != nil {
return x.Operators
}
return nil
}
func (x *Node) GetOperatorRequests() []string {
if x != nil {
return x.OperatorRequests
}
return nil
}
type CreateNodeRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
NodeId string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
NodeKey string `protobuf:"bytes,2,opt,name=nodeKey,proto3" json:"nodeKey,omitempty"`
NodeUsername string `protobuf:"bytes,3,opt,name=nodeUsername,proto3" json:"nodeUsername,omitempty"`
}
func (x *CreateNodeRequest) Reset() {
*x = CreateNodeRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_node_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateNodeRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateNodeRequest) ProtoMessage() {}
func (x *CreateNodeRequest) ProtoReflect() protoreflect.Message {
mi := &file_node_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateNodeRequest.ProtoReflect.Descriptor instead.
func (*CreateNodeRequest) Descriptor() ([]byte, []int) {
return file_node_proto_rawDescGZIP(), []int{3}
}
func (x *CreateNodeRequest) GetNodeId() string {
if x != nil {
return x.NodeId
}
return ""
}
func (x *CreateNodeRequest) GetNodeKey() string {
if x != nil {
return x.NodeKey
}
return ""
}
func (x *CreateNodeRequest) GetNodeUsername() string {
if x != nil {
return x.NodeUsername
}
return ""
}
type CreateNodeResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
NodeId string `protobuf:"bytes,2,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
}
func (x *CreateNodeResponse) Reset() {
*x = CreateNodeResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_node_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateNodeResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateNodeResponse) ProtoMessage() {}
func (x *CreateNodeResponse) ProtoReflect() protoreflect.Message {
mi := &file_node_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateNodeResponse.ProtoReflect.Descriptor instead.
func (*CreateNodeResponse) Descriptor() ([]byte, []int) {
return file_node_proto_rawDescGZIP(), []int{4}
}
func (x *CreateNodeResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
func (x *CreateNodeResponse) GetNodeId() string {
if x != nil {
return x.NodeId
}
return ""
}
type GetNodesRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AuthParams *OperatorAuthParams `protobuf:"bytes,1,opt,name=authParams,proto3" json:"authParams,omitempty"`
LastIndex int64 `protobuf:"varint,2,opt,name=lastIndex,proto3" json:"lastIndex,omitempty"`
Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
}
func (x *GetNodesRequest) Reset() {
*x = GetNodesRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_node_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetNodesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetNodesRequest) ProtoMessage() {}
func (x *GetNodesRequest) ProtoReflect() protoreflect.Message {
mi := &file_node_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetNodesRequest.ProtoReflect.Descriptor instead.
func (*GetNodesRequest) Descriptor() ([]byte, []int) {
return file_node_proto_rawDescGZIP(), []int{5}
}
func (x *GetNodesRequest) GetAuthParams() *OperatorAuthParams {
if x != nil {
return x.AuthParams
}
return nil
}
func (x *GetNodesRequest) GetLastIndex() int64 {
if x != nil {
return x.LastIndex
}
return 0
}
func (x *GetNodesRequest) GetLimit() int64 {
if x != nil {
return x.Limit
}
return 0
}
type GetNodesResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
}
func (x *GetNodesResponse) Reset() {
*x = GetNodesResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_node_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetNodesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetNodesResponse) ProtoMessage() {}
func (x *GetNodesResponse) ProtoReflect() protoreflect.Message {
mi := &file_node_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetNodesResponse.ProtoReflect.Descriptor instead.
func (*GetNodesResponse) Descriptor() ([]byte, []int) {
return file_node_proto_rawDescGZIP(), []int{6}
}
func (x *GetNodesResponse) GetNodes() []*Node {
if x != nil {
return x.Nodes
}
return nil
}
func (x *GetNodesResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
type GetNodeRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
NodeId string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
}
func (x *GetNodeRequest) Reset() {
*x = GetNodeRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_node_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetNodeRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetNodeRequest) ProtoMessage() {}
func (x *GetNodeRequest) ProtoReflect() protoreflect.Message {
mi := &file_node_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetNodeRequest.ProtoReflect.Descriptor instead.
func (*GetNodeRequest) Descriptor() ([]byte, []int) {
return file_node_proto_rawDescGZIP(), []int{7}
}
func (x *GetNodeRequest) GetNodeId() string {
if x != nil {
return x.NodeId
}
return ""
}
type GetNodeResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
}
func (x *GetNodeResponse) Reset() {
*x = GetNodeResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_node_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetNodeResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetNodeResponse) ProtoMessage() {}
func (x *GetNodeResponse) ProtoReflect() protoreflect.Message {
mi := &file_node_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetNodeResponse.ProtoReflect.Descriptor instead.
func (*GetNodeResponse) Descriptor() ([]byte, []int) {
return file_node_proto_rawDescGZIP(), []int{8}
}
func (x *GetNodeResponse) GetNode() *Node {
if x != nil {
return x.Node
}
return nil
}
func (x *GetNodeResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
type DeleteNodeRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AuthParams *NodeAuthParams `protobuf:"bytes,1,opt,name=authParams,proto3" json:"authParams,omitempty"`
NodeId string `protobuf:"bytes,2,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
}
func (x *DeleteNodeRequest) Reset() {
*x = DeleteNodeRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_node_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteNodeRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteNodeRequest) ProtoMessage() {}
func (x *DeleteNodeRequest) ProtoReflect() protoreflect.Message {
mi := &file_node_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteNodeRequest.ProtoReflect.Descriptor instead.
func (*DeleteNodeRequest) Descriptor() ([]byte, []int) {
return file_node_proto_rawDescGZIP(), []int{9}
}
func (x *DeleteNodeRequest) GetAuthParams() *NodeAuthParams {
if x != nil {
return x.AuthParams
}
return nil
}
func (x *DeleteNodeRequest) GetNodeId() string {
if x != nil {
return x.NodeId
}
return ""
}
type DeleteNodeResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
}
func (x *DeleteNodeResponse) Reset() {
*x = DeleteNodeResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_node_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteNodeResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteNodeResponse) ProtoMessage() {}
func (x *DeleteNodeResponse) ProtoReflect() protoreflect.Message {
mi := &file_node_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteNodeResponse.ProtoReflect.Descriptor instead.
func (*DeleteNodeResponse) Descriptor() ([]byte, []int) {
return file_node_proto_rawDescGZIP(), []int{10}
}
func (x *DeleteNodeResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
type AddPeerOperatorRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AuthParams *OperatorAuthParams `protobuf:"bytes,1,opt,name=authParams,proto3" json:"authParams,omitempty"`
NodeId string `protobuf:"bytes,2,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
OperatorId string `protobuf:"bytes,3,opt,name=operatorId,proto3" json:"operatorId,omitempty"`
}
func (x *AddPeerOperatorRequest) Reset() {
*x = AddPeerOperatorRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_node_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AddPeerOperatorRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AddPeerOperatorRequest) ProtoMessage() {}
func (x *AddPeerOperatorRequest) ProtoReflect() protoreflect.Message {
mi := &file_node_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AddPeerOperatorRequest.ProtoReflect.Descriptor instead.
func (*AddPeerOperatorRequest) Descriptor() ([]byte, []int) {
return file_node_proto_rawDescGZIP(), []int{11}
}
func (x *AddPeerOperatorRequest) GetAuthParams() *OperatorAuthParams {
if x != nil {
return x.AuthParams
}
return nil
}
func (x *AddPeerOperatorRequest) GetNodeId() string {
if x != nil {
return x.NodeId
}
return ""
}
func (x *AddPeerOperatorRequest) GetOperatorId() string {
if x != nil {
return x.OperatorId
}
return ""
}
type AddPeerOperatorResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
}
func (x *AddPeerOperatorResponse) Reset() {
*x = AddPeerOperatorResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_node_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AddPeerOperatorResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AddPeerOperatorResponse) ProtoMessage() {}
func (x *AddPeerOperatorResponse) ProtoReflect() protoreflect.Message {
mi := &file_node_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AddPeerOperatorResponse.ProtoReflect.Descriptor instead.
func (*AddPeerOperatorResponse) Descriptor() ([]byte, []int) {
return file_node_proto_rawDescGZIP(), []int{12}
}
func (x *AddPeerOperatorResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
type RejectPeerOperatorRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AuthParams *NodeAuthParams `protobuf:"bytes,1,opt,name=authParams,proto3" json:"authParams,omitempty"`
NodeId string `protobuf:"bytes,2,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
OperatorId string `protobuf:"bytes,3,opt,name=operatorId,proto3" json:"operatorId,omitempty"`
}
func (x *RejectPeerOperatorRequest) Reset() {
*x = RejectPeerOperatorRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_node_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RejectPeerOperatorRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RejectPeerOperatorRequest) ProtoMessage() {}
func (x *RejectPeerOperatorRequest) ProtoReflect() protoreflect.Message {
mi := &file_node_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RejectPeerOperatorRequest.ProtoReflect.Descriptor instead.
func (*RejectPeerOperatorRequest) Descriptor() ([]byte, []int) {
return file_node_proto_rawDescGZIP(), []int{13}
}
func (x *RejectPeerOperatorRequest) GetAuthParams() *NodeAuthParams {
if x != nil {
return x.AuthParams
}
return nil
}
func (x *RejectPeerOperatorRequest) GetNodeId() string {
if x != nil {
return x.NodeId
}
return ""
}
func (x *RejectPeerOperatorRequest) GetOperatorId() string {
if x != nil {
return x.OperatorId
}
return ""
}
type RejectPeerOperatorResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
}
func (x *RejectPeerOperatorResponse) Reset() {
*x = RejectPeerOperatorResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_node_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RejectPeerOperatorResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RejectPeerOperatorResponse) ProtoMessage() {}
func (x *RejectPeerOperatorResponse) ProtoReflect() protoreflect.Message {
mi := &file_node_proto_msgTypes[14]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RejectPeerOperatorResponse.ProtoReflect.Descriptor instead.
func (*RejectPeerOperatorResponse) Descriptor() ([]byte, []int) {
return file_node_proto_rawDescGZIP(), []int{14}
}
func (x *RejectPeerOperatorResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
type AcceptPeerOperatorRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AuthParams *NodeAuthParams `protobuf:"bytes,1,opt,name=authParams,proto3" json:"authParams,omitempty"`
NodeId string `protobuf:"bytes,2,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
OperatorId string `protobuf:"bytes,3,opt,name=operatorId,proto3" json:"operatorId,omitempty"`
}
func (x *AcceptPeerOperatorRequest) Reset() {
*x = AcceptPeerOperatorRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_node_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AcceptPeerOperatorRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AcceptPeerOperatorRequest) ProtoMessage() {}
func (x *AcceptPeerOperatorRequest) ProtoReflect() protoreflect.Message {
mi := &file_node_proto_msgTypes[15]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AcceptPeerOperatorRequest.ProtoReflect.Descriptor instead.
func (*AcceptPeerOperatorRequest) Descriptor() ([]byte, []int) {
return file_node_proto_rawDescGZIP(), []int{15}
}
func (x *AcceptPeerOperatorRequest) GetAuthParams() *NodeAuthParams {
if x != nil {
return x.AuthParams
}
return nil
}
func (x *AcceptPeerOperatorRequest) GetNodeId() string {
if x != nil {
return x.NodeId
}
return ""
}
func (x *AcceptPeerOperatorRequest) GetOperatorId() string {
if x != nil {
return x.OperatorId
}
return ""
}
type AcceptPeerOperatorResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
}
func (x *AcceptPeerOperatorResponse) Reset() {
*x = AcceptPeerOperatorResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_node_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AcceptPeerOperatorResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AcceptPeerOperatorResponse) ProtoMessage() {}
func (x *AcceptPeerOperatorResponse) ProtoReflect() protoreflect.Message {
mi := &file_node_proto_msgTypes[16]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AcceptPeerOperatorResponse.ProtoReflect.Descriptor instead.
func (*AcceptPeerOperatorResponse) Descriptor() ([]byte, []int) {
return file_node_proto_rawDescGZIP(), []int{16}
}
func (x *AcceptPeerOperatorResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
type RemovePeerOperatorRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AuthParams *OperatorAuthParams `protobuf:"bytes,1,opt,name=authParams,proto3" json:"authParams,omitempty"`
NodeId string `protobuf:"bytes,2,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
OperatorId string `protobuf:"bytes,3,opt,name=operatorId,proto3" json:"operatorId,omitempty"`
}
func (x *RemovePeerOperatorRequest) Reset() {
*x = RemovePeerOperatorRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_node_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RemovePeerOperatorRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RemovePeerOperatorRequest) ProtoMessage() {}
func (x *RemovePeerOperatorRequest) ProtoReflect() protoreflect.Message {
mi := &file_node_proto_msgTypes[17]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RemovePeerOperatorRequest.ProtoReflect.Descriptor instead.
func (*RemovePeerOperatorRequest) Descriptor() ([]byte, []int) {
return file_node_proto_rawDescGZIP(), []int{17}
}
func (x *RemovePeerOperatorRequest) GetAuthParams() *OperatorAuthParams {
if x != nil {
return x.AuthParams
}
return nil
}
func (x *RemovePeerOperatorRequest) GetNodeId() string {
if x != nil {
return x.NodeId
}
return ""
}
func (x *RemovePeerOperatorRequest) GetOperatorId() string {
if x != nil {
return x.OperatorId
}
return ""
}
type RemovePeerOperatorResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
}
func (x *RemovePeerOperatorResponse) Reset() {
*x = RemovePeerOperatorResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_node_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RemovePeerOperatorResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RemovePeerOperatorResponse) ProtoMessage() {}
func (x *RemovePeerOperatorResponse) ProtoReflect() protoreflect.Message {
mi := &file_node_proto_msgTypes[18]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RemovePeerOperatorResponse.ProtoReflect.Descriptor instead.
func (*RemovePeerOperatorResponse) Descriptor() ([]byte, []int) {
return file_node_proto_rawDescGZIP(), []int{18}
}
func (x *RemovePeerOperatorResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
var File_node_proto protoreflect.FileDescriptor
var file_node_proto_rawDesc = []byte{
0x0a, 0x0a, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x6e, 0x6f,
0x64, 0x65, 0x22, 0x72, 0x0a, 0x0e, 0x4e, 0x6f, 0x64, 0x65, 0x41, 0x75, 0x74, 0x68, 0x50, 0x61,
0x72, 0x61, 0x6d, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07,
0x61, 0x75, 0x74, 0x68, 0x4b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61,
0x75, 0x74, 0x68, 0x4b, 0x65, 0x79, 0x12, 0x2e, 0x0a, 0x08, 0x61, 0x75, 0x74, 0x68, 0x54, 0x79,
0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e,
0x4e, 0x6f, 0x64, 0x65, 0x41, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x61, 0x75,
0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x22, 0x7e, 0x0a, 0x12, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74,
0x6f, 0x72, 0x41, 0x75, 0x74, 0x68, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1e, 0x0a, 0x0a,
0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07,
0x61, 0x75, 0x74, 0x68, 0x4b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61,
0x75, 0x74, 0x68, 0x4b, 0x65, 0x79, 0x12, 0x2e, 0x0a, 0x08, 0x61, 0x75, 0x74, 0x68, 0x54, 0x79,
0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e,
0x4e, 0x6f, 0x64, 0x65, 0x41, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x61, 0x75,
0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x22, 0xa4, 0x01, 0x0a, 0x04, 0x4e, 0x6f, 0x64, 0x65, 0x12,
0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12,
0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x18, 0x03, 0x20,
0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x61,
0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x61, 0x63, 0x74,
0x69, 0x76, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73,
0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72,
0x73, 0x12, 0x2a, 0x0a, 0x10, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x6f, 0x70, 0x65,
0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x69, 0x0a,
0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x6f,
0x64, 0x65, 0x4b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x6f, 0x64,
0x65, 0x4b, 0x65, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x6e, 0x6f, 0x64, 0x65, 0x55, 0x73, 0x65, 0x72,
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6e, 0x6f, 0x64, 0x65,
0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x46, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61,
0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18,
0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65,
0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64,
0x22, 0x7f, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x50, 0x61, 0x72, 0x61, 0x6d,
0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x4f,
0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x75, 0x74, 0x68, 0x50, 0x61, 0x72, 0x61, 0x6d,
0x73, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1c, 0x0a,
0x09, 0x6c, 0x61, 0x73, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
0x52, 0x09, 0x6c, 0x61, 0x73, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x6c,
0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69,
0x74, 0x22, 0x4e, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65,
0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65,
0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73,
0x73, 0x22, 0x28, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x4b, 0x0a, 0x0f, 0x47,
0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e,
0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x6e,
0x6f, 0x64, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x18,
0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,
0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0x61, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65,
0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a,
0x0a, 0x61, 0x75, 0x74, 0x68, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x14, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x41, 0x75, 0x74,
0x68, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x50, 0x61, 0x72,
0x61, 0x6d, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x2e, 0x0a, 0x12, 0x44,
0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01,
0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0x8a, 0x01, 0x0a, 0x16,
0x41, 0x64, 0x64, 0x50, 0x65, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x50, 0x61,
0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x6f, 0x64,
0x65, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x75, 0x74, 0x68, 0x50, 0x61,
0x72, 0x61, 0x6d, 0x73, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73,
0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x70, 0x65, 0x72,
0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x70,
0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x22, 0x33, 0x0a, 0x17, 0x41, 0x64, 0x64, 0x50,
0x65, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01,
0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0x89, 0x01,
0x0a, 0x19, 0x52, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x65, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72,
0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x0a, 0x61,
0x75, 0x74, 0x68, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x14, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x41, 0x75, 0x74, 0x68, 0x50,
0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x50, 0x61, 0x72, 0x61, 0x6d,
0x73, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x70, 0x65,
0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6f,
0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x22, 0x36, 0x0a, 0x1a, 0x52, 0x65, 0x6a,
0x65, 0x63, 0x74, 0x50, 0x65, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65,
0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73,
0x73, 0x22, 0x89, 0x01, 0x0a, 0x19, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x50, 0x65, 0x65, 0x72,
0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
0x34, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x41,
0x75, 0x74, 0x68, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x50,
0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x1e, 0x0a,
0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x22, 0x36, 0x0a,
0x1a, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x50, 0x65, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61,
0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73,
0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75,
0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0x8d, 0x01, 0x0a, 0x19, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65,
0x50, 0x65, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x50, 0x61, 0x72, 0x61, 0x6d,
0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x4f,
0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x75, 0x74, 0x68, 0x50, 0x61, 0x72, 0x61, 0x6d,
0x73, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x16, 0x0a,
0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e,
0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f,
0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61,
0x74, 0x6f, 0x72, 0x49, 0x64, 0x22, 0x36, 0x0a, 0x1a, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50,
0x65, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01,
0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2a, 0x35, 0x0a,
0x0c, 0x4e, 0x6f, 0x64, 0x65, 0x41, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a,
0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x10,
0x01, 0x12, 0x07, 0x0a, 0x03, 0x6d, 0x61, 0x63, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x6e, 0x6f,
0x6e, 0x65, 0x10, 0x03, 0x32, 0xee, 0x04, 0x0a, 0x0b, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x72,
0x76, 0x69, 0x63, 0x65, 0x12, 0x3f, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f,
0x64, 0x65, 0x12, 0x17, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x6e, 0x6f,
0x64, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65,
0x73, 0x12, 0x15, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65,
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e,
0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x36, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x2e, 0x6e, 0x6f,
0x64, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x1a, 0x15, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65,
0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x17, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x44, 0x65,
0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
0x18, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64,
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x55, 0x0a, 0x16, 0x4e, 0x65, 0x77,
0x50, 0x65, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x12, 0x1c, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x50, 0x65,
0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x1a, 0x1d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x50, 0x65, 0x65, 0x72,
0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x5e, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x65, 0x65, 0x72, 0x4f, 0x70,
0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x2e,
0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x52, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x65, 0x65, 0x72, 0x4f,
0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20,
0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x52, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x65, 0x65, 0x72,
0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x5a, 0x0a, 0x15, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x4e, 0x65, 0x77, 0x50, 0x65, 0x65,
0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1f, 0x2e, 0x6e, 0x6f, 0x64, 0x65,
0x2e, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x50, 0x65, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61,
0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6e, 0x6f, 0x64,
0x65, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x50, 0x65, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72,
0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x12,
0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x65, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74,
0x6f, 0x72, 0x12, 0x1f, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65,
0x50, 0x65, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76,
0x65, 0x50, 0x65, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x0f, 0x5a, 0x0d, 0x2e, 0x3b, 0x6c, 0x6f, 0x63, 0x61, 0x6c,
0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_node_proto_rawDescOnce sync.Once
file_node_proto_rawDescData = file_node_proto_rawDesc
)
func file_node_proto_rawDescGZIP() []byte {
file_node_proto_rawDescOnce.Do(func() {
file_node_proto_rawDescData = protoimpl.X.CompressGZIP(file_node_proto_rawDescData)
})
return file_node_proto_rawDescData
}
var file_node_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_node_proto_msgTypes = make([]protoimpl.MessageInfo, 19)
var file_node_proto_goTypes = []interface{}{
(NodeAuthType)(0), // 0: node.NodeAuthType
(*NodeAuthParams)(nil), // 1: node.NodeAuthParams
(*OperatorAuthParams)(nil), // 2: node.OperatorAuthParams
(*Node)(nil), // 3: node.Node
(*CreateNodeRequest)(nil), // 4: node.CreateNodeRequest
(*CreateNodeResponse)(nil), // 5: node.CreateNodeResponse
(*GetNodesRequest)(nil), // 6: node.GetNodesRequest
(*GetNodesResponse)(nil), // 7: node.GetNodesResponse
(*GetNodeRequest)(nil), // 8: node.GetNodeRequest
(*GetNodeResponse)(nil), // 9: node.GetNodeResponse
(*DeleteNodeRequest)(nil), // 10: node.DeleteNodeRequest
(*DeleteNodeResponse)(nil), // 11: node.DeleteNodeResponse
(*AddPeerOperatorRequest)(nil), // 12: node.AddPeerOperatorRequest
(*AddPeerOperatorResponse)(nil), // 13: node.AddPeerOperatorResponse
(*RejectPeerOperatorRequest)(nil), // 14: node.RejectPeerOperatorRequest
(*RejectPeerOperatorResponse)(nil), // 15: node.RejectPeerOperatorResponse
(*AcceptPeerOperatorRequest)(nil), // 16: node.AcceptPeerOperatorRequest
(*AcceptPeerOperatorResponse)(nil), // 17: node.AcceptPeerOperatorResponse
(*RemovePeerOperatorRequest)(nil), // 18: node.RemovePeerOperatorRequest
(*RemovePeerOperatorResponse)(nil), // 19: node.RemovePeerOperatorResponse
}
var file_node_proto_depIdxs = []int32{
0, // 0: node.NodeAuthParams.authType:type_name -> node.NodeAuthType
0, // 1: node.OperatorAuthParams.authType:type_name -> node.NodeAuthType
2, // 2: node.GetNodesRequest.authParams:type_name -> node.OperatorAuthParams
3, // 3: node.GetNodesResponse.nodes:type_name -> node.Node
3, // 4: node.GetNodeResponse.node:type_name -> node.Node
1, // 5: node.DeleteNodeRequest.authParams:type_name -> node.NodeAuthParams
2, // 6: node.AddPeerOperatorRequest.authParams:type_name -> node.OperatorAuthParams
1, // 7: node.RejectPeerOperatorRequest.authParams:type_name -> node.NodeAuthParams
1, // 8: node.AcceptPeerOperatorRequest.authParams:type_name -> node.NodeAuthParams
2, // 9: node.RemovePeerOperatorRequest.authParams:type_name -> node.OperatorAuthParams
4, // 10: node.NodeService.CreateNode:input_type -> node.CreateNodeRequest
6, // 11: node.NodeService.GetNodes:input_type -> node.GetNodesRequest
8, // 12: node.NodeService.GetNode:input_type -> node.GetNodeRequest
10, // 13: node.NodeService.DeleteNode:input_type -> node.DeleteNodeRequest
12, // 14: node.NodeService.NewPeerOperatorRequest:input_type -> node.AddPeerOperatorRequest
14, // 15: node.NodeService.DeletePeerOperatorRequest:input_type -> node.RejectPeerOperatorRequest
16, // 16: node.NodeService.AcceptNewPeerOperator:input_type -> node.AcceptPeerOperatorRequest
18, // 17: node.NodeService.RemovePeerOperator:input_type -> node.RemovePeerOperatorRequest
5, // 18: node.NodeService.CreateNode:output_type -> node.CreateNodeResponse
7, // 19: node.NodeService.GetNodes:output_type -> node.GetNodesResponse
9, // 20: node.NodeService.GetNode:output_type -> node.GetNodeResponse
11, // 21: node.NodeService.DeleteNode:output_type -> node.DeleteNodeResponse
13, // 22: node.NodeService.NewPeerOperatorRequest:output_type -> node.AddPeerOperatorResponse
15, // 23: node.NodeService.DeletePeerOperatorRequest:output_type -> node.RejectPeerOperatorResponse
17, // 24: node.NodeService.AcceptNewPeerOperator:output_type -> node.AcceptPeerOperatorResponse
19, // 25: node.NodeService.RemovePeerOperator:output_type -> node.RemovePeerOperatorResponse
18, // [18:26] is the sub-list for method output_type
10, // [10:18] is the sub-list for method input_type
10, // [10:10] is the sub-list for extension type_name
10, // [10:10] is the sub-list for extension extendee
0, // [0:10] is the sub-list for field type_name
}
func init() { file_node_proto_init() }
func file_node_proto_init() {
if File_node_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_node_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*NodeAuthParams); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_node_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OperatorAuthParams); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_node_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Node); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_node_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateNodeRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_node_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateNodeResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_node_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetNodesRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_node_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetNodesResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_node_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetNodeRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_node_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetNodeResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_node_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteNodeRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_node_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteNodeResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_node_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AddPeerOperatorRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_node_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AddPeerOperatorResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_node_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RejectPeerOperatorRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_node_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RejectPeerOperatorResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_node_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AcceptPeerOperatorRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_node_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AcceptPeerOperatorResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_node_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RemovePeerOperatorRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_node_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RemovePeerOperatorResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_node_proto_rawDesc,
NumEnums: 1,
NumMessages: 19,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_node_proto_goTypes,
DependencyIndexes: file_node_proto_depIdxs,
EnumInfos: file_node_proto_enumTypes,
MessageInfos: file_node_proto_msgTypes,
}.Build()
File_node_proto = out.File
file_node_proto_rawDesc = nil
file_node_proto_goTypes = nil
file_node_proto_depIdxs = nil
}