2021-03-26 00:17:52 +08:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
2021-05-06 19:41:11 +08:00
|
|
|
// versions:
|
|
|
|
// protoc-gen-go v1.25.0-devel
|
|
|
|
// protoc v3.14.0
|
2021-03-26 00:17:52 +08:00
|
|
|
// source: grpc/node.proto
|
|
|
|
|
|
|
|
package nodepb
|
|
|
|
|
|
|
|
import (
|
2021-05-06 19:41:11 +08:00
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
reflect "reflect"
|
|
|
|
sync "sync"
|
2021-03-26 00:17:52 +08:00
|
|
|
)
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
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)
|
|
|
|
)
|
2021-03-26 00:17:52 +08:00
|
|
|
|
|
|
|
type LoginRequest struct {
|
2021-05-06 19:41:11 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
Macaddress string `protobuf:"bytes,1,opt,name=macaddress,proto3" json:"macaddress,omitempty"`
|
|
|
|
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
|
|
|
Network string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *LoginRequest) Reset() {
|
|
|
|
*x = LoginRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_grpc_node_proto_msgTypes[0]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (x *LoginRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (*LoginRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *LoginRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_grpc_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)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
// Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*LoginRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return file_grpc_node_proto_rawDescGZIP(), []int{0}
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *LoginRequest) GetMacaddress() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Macaddress
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *LoginRequest) GetPassword() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Password
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *LoginRequest) GetNetwork() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Network
|
2021-04-07 21:39:40 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-03-26 00:17:52 +08:00
|
|
|
type LoginResponse struct {
|
2021-05-06 19:41:11 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
Accesstoken string `protobuf:"bytes,1,opt,name=accesstoken,proto3" json:"accesstoken,omitempty"`
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *LoginResponse) Reset() {
|
|
|
|
*x = LoginResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_grpc_node_proto_msgTypes[1]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (x *LoginResponse) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (*LoginResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *LoginResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_grpc_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)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
// Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*LoginResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return file_grpc_node_proto_rawDescGZIP(), []int{1}
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *LoginResponse) GetAccesstoken() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Accesstoken
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type Node struct {
|
2021-05-06 19:41:11 +08:00
|
|
|
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"`
|
|
|
|
Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
|
|
|
|
Address6 string `protobuf:"bytes,26,opt,name=address6,proto3" json:"address6,omitempty"`
|
|
|
|
Listenport int32 `protobuf:"varint,4,opt,name=listenport,proto3" json:"listenport,omitempty"`
|
|
|
|
Publickey string `protobuf:"bytes,5,opt,name=publickey,proto3" json:"publickey,omitempty"`
|
|
|
|
Endpoint string `protobuf:"bytes,6,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
|
|
|
|
Macaddress string `protobuf:"bytes,7,opt,name=macaddress,proto3" json:"macaddress,omitempty"`
|
|
|
|
Password string `protobuf:"bytes,8,opt,name=password,proto3" json:"password,omitempty"`
|
|
|
|
Nodenetwork string `protobuf:"bytes,9,opt,name=nodenetwork,proto3" json:"nodenetwork,omitempty"`
|
|
|
|
Ispending bool `protobuf:"varint,10,opt,name=ispending,proto3" json:"ispending,omitempty"`
|
|
|
|
Postup string `protobuf:"bytes,11,opt,name=postup,proto3" json:"postup,omitempty"`
|
|
|
|
Postdown string `protobuf:"bytes,12,opt,name=postdown,proto3" json:"postdown,omitempty"`
|
|
|
|
Keepalive int32 `protobuf:"varint,13,opt,name=keepalive,proto3" json:"keepalive,omitempty"`
|
|
|
|
Saveconfig bool `protobuf:"varint,14,opt,name=saveconfig,proto3" json:"saveconfig,omitempty"`
|
|
|
|
Accesskey string `protobuf:"bytes,15,opt,name=accesskey,proto3" json:"accesskey,omitempty"`
|
|
|
|
Interface string `protobuf:"bytes,16,opt,name=interface,proto3" json:"interface,omitempty"`
|
|
|
|
Lastcheckin string `protobuf:"bytes,17,opt,name=lastcheckin,proto3" json:"lastcheckin,omitempty"`
|
|
|
|
Lastmodified string `protobuf:"bytes,18,opt,name=lastmodified,proto3" json:"lastmodified,omitempty"`
|
|
|
|
Checkininterval int32 `protobuf:"varint,19,opt,name=checkininterval,proto3" json:"checkininterval,omitempty"`
|
|
|
|
Localaddress string `protobuf:"bytes,20,opt,name=localaddress,proto3" json:"localaddress,omitempty"`
|
|
|
|
Postchanges string `protobuf:"bytes,21,opt,name=postchanges,proto3" json:"postchanges,omitempty"`
|
|
|
|
Allowedips string `protobuf:"bytes,22,opt,name=allowedips,proto3" json:"allowedips,omitempty"`
|
|
|
|
Islocal bool `protobuf:"varint,23,opt,name=islocal,proto3" json:"islocal,omitempty"`
|
|
|
|
Isdualstack bool `protobuf:"varint,27,opt,name=isdualstack,proto3" json:"isdualstack,omitempty"`
|
|
|
|
Dnsoff bool `protobuf:"varint,24,opt,name=dnsoff,proto3" json:"dnsoff,omitempty"`
|
|
|
|
Localrange string `protobuf:"bytes,25,opt,name=localrange,proto3" json:"localrange,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Node) Reset() {
|
|
|
|
*x = Node{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_grpc_node_proto_msgTypes[2]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *Node) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (*Node) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Node) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_grpc_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)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
// Deprecated: Use Node.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Node) Descriptor() ([]byte, []int) {
|
|
|
|
return file_grpc_node_proto_rawDescGZIP(), []int{2}
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *Node) GetId() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Id
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *Node) GetName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Name
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *Node) GetAddress() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Address
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *Node) GetAddress6() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Address6
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *Node) GetListenport() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Listenport
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *Node) GetPublickey() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Publickey
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *Node) GetEndpoint() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Endpoint
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *Node) GetMacaddress() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Macaddress
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *Node) GetPassword() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Password
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *Node) GetNodenetwork() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Nodenetwork
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *Node) GetIspending() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Ispending
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *Node) GetPostup() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Postup
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *Node) GetPostdown() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Postdown
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *Node) GetKeepalive() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Keepalive
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *Node) GetSaveconfig() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Saveconfig
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *Node) GetAccesskey() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Accesskey
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *Node) GetInterface() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Interface
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *Node) GetLastcheckin() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Lastcheckin
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *Node) GetLastmodified() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Lastmodified
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *Node) GetCheckininterval() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Checkininterval
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *Node) GetLocaladdress() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Localaddress
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *Node) GetPostchanges() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Postchanges
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *Node) GetAllowedips() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Allowedips
|
2021-04-13 14:55:49 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *Node) GetIslocal() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Islocal
|
2021-04-18 00:13:26 +08:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *Node) GetIsdualstack() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Isdualstack
|
2021-05-06 09:07:00 +08:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *Node) GetDnsoff() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Dnsoff
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Node) GetLocalrange() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Localrange
|
2021-04-18 00:13:26 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-03-26 00:17:52 +08:00
|
|
|
type CheckInResponse struct {
|
2021-05-06 19:41:11 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
|
|
Needpeerupdate bool `protobuf:"varint,2,opt,name=needpeerupdate,proto3" json:"needpeerupdate,omitempty"`
|
|
|
|
Needconfigupdate bool `protobuf:"varint,3,opt,name=needconfigupdate,proto3" json:"needconfigupdate,omitempty"`
|
|
|
|
Nodemessage string `protobuf:"bytes,4,opt,name=nodemessage,proto3" json:"nodemessage,omitempty"`
|
|
|
|
Ispending bool `protobuf:"varint,5,opt,name=ispending,proto3" json:"ispending,omitempty"`
|
|
|
|
Needkeyupdate bool `protobuf:"varint,6,opt,name=needkeyupdate,proto3" json:"needkeyupdate,omitempty"`
|
|
|
|
Needdelete bool `protobuf:"varint,7,opt,name=needdelete,proto3" json:"needdelete,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *CheckInResponse) Reset() {
|
|
|
|
*x = CheckInResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_grpc_node_proto_msgTypes[3]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *CheckInResponse) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (*CheckInResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *CheckInResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_grpc_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)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
// Deprecated: Use CheckInResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*CheckInResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return file_grpc_node_proto_rawDescGZIP(), []int{3}
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *CheckInResponse) GetSuccess() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Success
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *CheckInResponse) GetNeedpeerupdate() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Needpeerupdate
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *CheckInResponse) GetNeedconfigupdate() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Needconfigupdate
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *CheckInResponse) GetNodemessage() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Nodemessage
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *CheckInResponse) GetIspending() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Ispending
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *CheckInResponse) GetNeedkeyupdate() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Needkeyupdate
|
2021-04-06 06:09:21 +08:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *CheckInResponse) GetNeeddelete() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Needdelete
|
2021-04-06 08:47:19 +08:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2021-03-26 00:17:52 +08:00
|
|
|
type PeersResponse struct {
|
2021-05-06 19:41:11 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Isgateway bool `protobuf:"varint,1,opt,name=isgateway,proto3" json:"isgateway,omitempty"`
|
|
|
|
Gatewayrange string `protobuf:"bytes,2,opt,name=gatewayrange,proto3" json:"gatewayrange,omitempty"`
|
|
|
|
Publickey string `protobuf:"bytes,5,opt,name=publickey,proto3" json:"publickey,omitempty"`
|
|
|
|
Endpoint string `protobuf:"bytes,6,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
|
|
|
|
Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
|
|
|
|
Address6 string `protobuf:"bytes,8,opt,name=address6,proto3" json:"address6,omitempty"`
|
|
|
|
Listenport int32 `protobuf:"varint,4,opt,name=listenport,proto3" json:"listenport,omitempty"`
|
|
|
|
Localaddress string `protobuf:"bytes,7,opt,name=localaddress,proto3" json:"localaddress,omitempty"`
|
|
|
|
Keepalive int32 `protobuf:"varint,13,opt,name=keepalive,proto3" json:"keepalive,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *PeersResponse) Reset() {
|
|
|
|
*x = PeersResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_grpc_node_proto_msgTypes[4]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *PeersResponse) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (*PeersResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *PeersResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_grpc_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)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
// Deprecated: Use PeersResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*PeersResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return file_grpc_node_proto_rawDescGZIP(), []int{4}
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *PeersResponse) GetIsgateway() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Isgateway
|
2021-04-13 14:55:49 +08:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *PeersResponse) GetGatewayrange() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Gatewayrange
|
2021-04-13 14:55:49 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *PeersResponse) GetPublickey() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Publickey
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *PeersResponse) GetEndpoint() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Endpoint
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *PeersResponse) GetAddress() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Address
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *PeersResponse) GetAddress6() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Address6
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *PeersResponse) GetListenport() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Listenport
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *PeersResponse) GetLocaladdress() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Localaddress
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *PeersResponse) GetKeepalive() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Keepalive
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type CreateNodeReq struct {
|
2021-05-06 19:41:11 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` // Node id blank
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *CreateNodeReq) Reset() {
|
|
|
|
*x = CreateNodeReq{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_grpc_node_proto_msgTypes[5]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (x *CreateNodeReq) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (*CreateNodeReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *CreateNodeReq) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_grpc_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)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
// Deprecated: Use CreateNodeReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*CreateNodeReq) Descriptor() ([]byte, []int) {
|
|
|
|
return file_grpc_node_proto_rawDescGZIP(), []int{5}
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *CreateNodeReq) GetNode() *Node {
|
|
|
|
if x != nil {
|
|
|
|
return x.Node
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type CreateNodeRes struct {
|
2021-05-06 19:41:11 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` // Node id filled in
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *CreateNodeRes) Reset() {
|
|
|
|
*x = CreateNodeRes{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_grpc_node_proto_msgTypes[6]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (x *CreateNodeRes) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (*CreateNodeRes) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *CreateNodeRes) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_grpc_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)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
// Deprecated: Use CreateNodeRes.ProtoReflect.Descriptor instead.
|
|
|
|
func (*CreateNodeRes) Descriptor() ([]byte, []int) {
|
|
|
|
return file_grpc_node_proto_rawDescGZIP(), []int{6}
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *CreateNodeRes) GetNode() *Node {
|
|
|
|
if x != nil {
|
|
|
|
return x.Node
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type UpdateNodeReq struct {
|
2021-05-06 19:41:11 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *UpdateNodeReq) Reset() {
|
|
|
|
*x = UpdateNodeReq{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_grpc_node_proto_msgTypes[7]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (x *UpdateNodeReq) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (*UpdateNodeReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *UpdateNodeReq) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_grpc_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)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
// Deprecated: Use UpdateNodeReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*UpdateNodeReq) Descriptor() ([]byte, []int) {
|
|
|
|
return file_grpc_node_proto_rawDescGZIP(), []int{7}
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *UpdateNodeReq) GetNode() *Node {
|
|
|
|
if x != nil {
|
|
|
|
return x.Node
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type UpdateNodeRes struct {
|
2021-05-06 19:41:11 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *UpdateNodeRes) Reset() {
|
|
|
|
*x = UpdateNodeRes{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_grpc_node_proto_msgTypes[8]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (x *UpdateNodeRes) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (*UpdateNodeRes) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *UpdateNodeRes) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_grpc_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)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
// Deprecated: Use UpdateNodeRes.ProtoReflect.Descriptor instead.
|
|
|
|
func (*UpdateNodeRes) Descriptor() ([]byte, []int) {
|
|
|
|
return file_grpc_node_proto_rawDescGZIP(), []int{8}
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *UpdateNodeRes) GetNode() *Node {
|
|
|
|
if x != nil {
|
|
|
|
return x.Node
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type ReadNodeReq struct {
|
2021-05-06 19:41:11 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
Macaddress string `protobuf:"bytes,1,opt,name=macaddress,proto3" json:"macaddress,omitempty"`
|
|
|
|
Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *ReadNodeReq) Reset() {
|
|
|
|
*x = ReadNodeReq{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_grpc_node_proto_msgTypes[9]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (x *ReadNodeReq) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (*ReadNodeReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *ReadNodeReq) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_grpc_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)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
// Deprecated: Use ReadNodeReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ReadNodeReq) Descriptor() ([]byte, []int) {
|
|
|
|
return file_grpc_node_proto_rawDescGZIP(), []int{9}
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *ReadNodeReq) GetMacaddress() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Macaddress
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *ReadNodeReq) GetNetwork() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Network
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type ReadNodeRes struct {
|
2021-05-06 19:41:11 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *ReadNodeRes) Reset() {
|
|
|
|
*x = ReadNodeRes{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_grpc_node_proto_msgTypes[10]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (x *ReadNodeRes) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (*ReadNodeRes) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *ReadNodeRes) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_grpc_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)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
// Deprecated: Use ReadNodeRes.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ReadNodeRes) Descriptor() ([]byte, []int) {
|
|
|
|
return file_grpc_node_proto_rawDescGZIP(), []int{10}
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *ReadNodeRes) GetNode() *Node {
|
|
|
|
if x != nil {
|
|
|
|
return x.Node
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type DeleteNodeReq struct {
|
2021-05-06 19:41:11 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
Macaddress string `protobuf:"bytes,1,opt,name=macaddress,proto3" json:"macaddress,omitempty"`
|
|
|
|
NetworkName string `protobuf:"bytes,2,opt,name=networkName,proto3" json:"networkName,omitempty"`
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *DeleteNodeReq) Reset() {
|
|
|
|
*x = DeleteNodeReq{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_grpc_node_proto_msgTypes[11]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (x *DeleteNodeReq) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (*DeleteNodeReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *DeleteNodeReq) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_grpc_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)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
// Deprecated: Use DeleteNodeReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*DeleteNodeReq) Descriptor() ([]byte, []int) {
|
|
|
|
return file_grpc_node_proto_rawDescGZIP(), []int{11}
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *DeleteNodeReq) GetMacaddress() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Macaddress
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *DeleteNodeReq) GetNetworkName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.NetworkName
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type DeleteNodeRes struct {
|
2021-05-06 19:41:11 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *DeleteNodeRes) Reset() {
|
|
|
|
*x = DeleteNodeRes{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_grpc_node_proto_msgTypes[12]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (x *DeleteNodeRes) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (*DeleteNodeRes) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *DeleteNodeRes) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_grpc_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)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
// Deprecated: Use DeleteNodeRes.ProtoReflect.Descriptor instead.
|
|
|
|
func (*DeleteNodeRes) Descriptor() ([]byte, []int) {
|
|
|
|
return file_grpc_node_proto_rawDescGZIP(), []int{12}
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *DeleteNodeRes) GetSuccess() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Success
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
type GetPeersReq struct {
|
2021-05-06 19:41:11 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
Macaddress string `protobuf:"bytes,1,opt,name=macaddress,proto3" json:"macaddress,omitempty"`
|
|
|
|
Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *GetPeersReq) Reset() {
|
|
|
|
*x = GetPeersReq{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_grpc_node_proto_msgTypes[13]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (x *GetPeersReq) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (*GetPeersReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *GetPeersReq) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_grpc_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)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
// Deprecated: Use GetPeersReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*GetPeersReq) Descriptor() ([]byte, []int) {
|
|
|
|
return file_grpc_node_proto_rawDescGZIP(), []int{13}
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *GetPeersReq) GetMacaddress() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Macaddress
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *GetPeersReq) GetNetwork() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Network
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type GetPeersRes struct {
|
2021-05-06 19:41:11 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
Peers *PeersResponse `protobuf:"bytes,1,opt,name=peers,proto3" json:"peers,omitempty"`
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *GetPeersRes) Reset() {
|
|
|
|
*x = GetPeersRes{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_grpc_node_proto_msgTypes[14]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (x *GetPeersRes) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (*GetPeersRes) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *GetPeersRes) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_grpc_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)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
// Deprecated: Use GetPeersRes.ProtoReflect.Descriptor instead.
|
|
|
|
func (*GetPeersRes) Descriptor() ([]byte, []int) {
|
|
|
|
return file_grpc_node_proto_rawDescGZIP(), []int{14}
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *GetPeersRes) GetPeers() *PeersResponse {
|
|
|
|
if x != nil {
|
|
|
|
return x.Peers
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type CheckInReq struct {
|
2021-05-06 19:41:11 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` // bool postchanges = 2;
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *CheckInReq) Reset() {
|
|
|
|
*x = CheckInReq{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_grpc_node_proto_msgTypes[15]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (x *CheckInReq) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (*CheckInReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *CheckInReq) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_grpc_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)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
// Deprecated: Use CheckInReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*CheckInReq) Descriptor() ([]byte, []int) {
|
|
|
|
return file_grpc_node_proto_rawDescGZIP(), []int{15}
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *CheckInReq) GetNode() *Node {
|
|
|
|
if x != nil {
|
|
|
|
return x.Node
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type CheckInRes struct {
|
2021-05-06 19:41:11 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
Checkinresponse *CheckInResponse `protobuf:"bytes,1,opt,name=checkinresponse,proto3" json:"checkinresponse,omitempty"`
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *CheckInRes) Reset() {
|
|
|
|
*x = CheckInRes{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_grpc_node_proto_msgTypes[16]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (x *CheckInRes) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
2021-05-06 19:41:11 +08:00
|
|
|
|
|
|
|
func (*CheckInRes) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *CheckInRes) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_grpc_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)
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
// Deprecated: Use CheckInRes.ProtoReflect.Descriptor instead.
|
|
|
|
func (*CheckInRes) Descriptor() ([]byte, []int) {
|
|
|
|
return file_grpc_node_proto_rawDescGZIP(), []int{16}
|
|
|
|
}
|
2021-03-26 00:17:52 +08:00
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
func (x *CheckInRes) GetCheckinresponse() *CheckInResponse {
|
|
|
|
if x != nil {
|
|
|
|
return x.Checkinresponse
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-05-06 19:41:11 +08:00
|
|
|
var File_grpc_node_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
var file_grpc_node_proto_rawDesc = []byte{
|
|
|
|
0x0a, 0x0f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
|
|
0x6f, 0x12, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x22, 0x64, 0x0a, 0x0c, 0x4c, 0x6f, 0x67, 0x69, 0x6e,
|
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x61, 0x63, 0x61, 0x64,
|
|
|
|
0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x61, 0x63,
|
|
|
|
0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77,
|
|
|
|
0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77,
|
|
|
|
0x6f, 0x72, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x03,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x31, 0x0a,
|
|
|
|
0x0d, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20,
|
|
|
|
0x0a, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
|
|
|
|
0x22, 0xae, 0x06, 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, 0x18, 0x0a,
|
|
|
|
0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
|
|
|
|
0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x64, 0x64, 0x72, 0x65,
|
|
|
|
0x73, 0x73, 0x36, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x64, 0x64, 0x72, 0x65,
|
|
|
|
0x73, 0x73, 0x36, 0x12, 0x1e, 0x0a, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x70, 0x6f, 0x72,
|
|
|
|
0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x70,
|
|
|
|
0x6f, 0x72, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x6b, 0x65, 0x79,
|
|
|
|
0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x6b, 0x65,
|
|
|
|
0x79, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x06, 0x20,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1e, 0x0a,
|
|
|
|
0x0a, 0x6d, 0x61, 0x63, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28,
|
|
|
|
0x09, 0x52, 0x0a, 0x6d, 0x61, 0x63, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a,
|
|
|
|
0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x6f, 0x64,
|
|
|
|
0x65, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
|
|
|
|
0x6e, 0x6f, 0x64, 0x65, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x69,
|
|
|
|
0x73, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09,
|
|
|
|
0x69, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x6f, 0x73,
|
|
|
|
0x74, 0x75, 0x70, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x6f, 0x73, 0x74, 0x75,
|
|
|
|
0x70, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x18, 0x0c, 0x20,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x12, 0x1c, 0x0a,
|
|
|
|
0x09, 0x6b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05,
|
|
|
|
0x52, 0x09, 0x6b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73,
|
|
|
|
0x61, 0x76, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
|
|
0x0a, 0x73, 0x61, 0x76, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x61,
|
|
|
|
0x63, 0x63, 0x65, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
|
|
|
|
0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6e, 0x74,
|
|
|
|
0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6e,
|
|
|
|
0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x63,
|
|
|
|
0x68, 0x65, 0x63, 0x6b, 0x69, 0x6e, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6c, 0x61,
|
|
|
|
0x73, 0x74, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x69, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x6c, 0x61, 0x73,
|
|
|
|
0x74, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
0x0c, 0x6c, 0x61, 0x73, 0x74, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x28, 0x0a,
|
|
|
|
0x0f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x69, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c,
|
|
|
|
0x18, 0x13, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x69, 0x6e, 0x69,
|
|
|
|
0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x6c,
|
|
|
|
0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c,
|
|
|
|
0x6f, 0x63, 0x61, 0x6c, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x70,
|
|
|
|
0x6f, 0x73, 0x74, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
0x52, 0x0b, 0x70, 0x6f, 0x73, 0x74, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x1e, 0x0a,
|
|
|
|
0x0a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x69, 0x70, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28,
|
|
|
|
0x09, 0x52, 0x0a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x69, 0x70, 0x73, 0x12, 0x18, 0x0a,
|
|
|
|
0x07, 0x69, 0x73, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x18, 0x17, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,
|
|
|
|
0x69, 0x73, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x73, 0x64, 0x75, 0x61,
|
|
|
|
0x6c, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73,
|
|
|
|
0x64, 0x75, 0x61, 0x6c, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6e, 0x73,
|
|
|
|
0x6f, 0x66, 0x66, 0x18, 0x18, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x6e, 0x73, 0x6f, 0x66,
|
|
|
|
0x66, 0x12, 0x1e, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18,
|
|
|
|
0x19, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x72, 0x61, 0x6e, 0x67,
|
|
|
|
0x65, 0x22, 0x85, 0x02, 0x0a, 0x0f, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x6e, 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,
|
|
|
|
0x26, 0x0a, 0x0e, 0x6e, 0x65, 0x65, 0x64, 0x70, 0x65, 0x65, 0x72, 0x75, 0x70, 0x64, 0x61, 0x74,
|
|
|
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x6e, 0x65, 0x65, 0x64, 0x70, 0x65, 0x65,
|
|
|
|
0x72, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x6e, 0x65, 0x65, 0x64, 0x63,
|
|
|
|
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
|
|
0x08, 0x52, 0x10, 0x6e, 0x65, 0x65, 0x64, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x70, 0x64,
|
|
|
|
0x61, 0x74, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x6d, 0x65, 0x73, 0x73, 0x61,
|
|
|
|
0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x6d, 0x65,
|
|
|
|
0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x69,
|
|
|
|
0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x70, 0x65, 0x6e, 0x64,
|
|
|
|
0x69, 0x6e, 0x67, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x65, 0x65, 0x64, 0x6b, 0x65, 0x79, 0x75, 0x70,
|
|
|
|
0x64, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x6e, 0x65, 0x65, 0x64,
|
|
|
|
0x6b, 0x65, 0x79, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x65, 0x65,
|
|
|
|
0x64, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6e,
|
|
|
|
0x65, 0x65, 0x64, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x22, 0xa3, 0x02, 0x0a, 0x0d, 0x50, 0x65,
|
|
|
|
0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x69,
|
|
|
|
0x73, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09,
|
|
|
|
0x69, 0x73, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x67, 0x61, 0x74,
|
|
|
|
0x65, 0x77, 0x61, 0x79, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
0x0c, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x1c, 0x0a,
|
|
|
|
0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x6b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x65,
|
|
|
|
0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65,
|
|
|
|
0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65,
|
|
|
|
0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
|
|
|
|
0x73, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x36, 0x18, 0x08, 0x20,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x36, 0x12, 0x1e, 0x0a,
|
|
|
|
0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
|
|
0x05, 0x52, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x22, 0x0a,
|
|
|
|
0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
|
|
|
|
0x73, 0x12, 0x1c, 0x0a, 0x09, 0x6b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x18, 0x0d,
|
|
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x22,
|
|
|
|
0x2f, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71,
|
|
|
|
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,
|
|
|
|
0x22, 0x2f, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65,
|
|
|
|
0x73, 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, 0x22, 0x2f, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52,
|
|
|
|
0x65, 0x71, 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, 0x22, 0x2f, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65,
|
|
|
|
0x52, 0x65, 0x73, 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, 0x22, 0x47, 0x0a, 0x0b, 0x52, 0x65, 0x61, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x52,
|
|
|
|
0x65, 0x71, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x61, 0x63, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x61, 0x63, 0x61, 0x64, 0x64, 0x72, 0x65,
|
|
|
|
0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x02, 0x20,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x2d, 0x0a, 0x0b,
|
|
|
|
0x52, 0x65, 0x61, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 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, 0x22, 0x51, 0x0a, 0x0d, 0x44,
|
|
|
|
0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1e, 0x0a, 0x0a,
|
|
|
|
0x6d, 0x61, 0x63, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
0x52, 0x0a, 0x6d, 0x61, 0x63, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x20, 0x0a, 0x0b,
|
|
|
|
0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
|
|
0x09, 0x52, 0x0b, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x29,
|
|
|
|
0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 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, 0x47, 0x0a, 0x0b, 0x47, 0x65, 0x74,
|
|
|
|
0x50, 0x65, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x61, 0x63, 0x61,
|
|
|
|
0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x61,
|
|
|
|
0x63, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77,
|
|
|
|
0x6f, 0x72, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f,
|
|
|
|
0x72, 0x6b, 0x22, 0x38, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x50, 0x65, 0x65, 0x72, 0x73, 0x52, 0x65,
|
|
|
|
0x73, 0x12, 0x29, 0x0a, 0x05, 0x70, 0x65, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
|
|
0x32, 0x13, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73,
|
|
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x70, 0x65, 0x65, 0x72, 0x73, 0x22, 0x2c, 0x0a, 0x0a,
|
|
|
|
0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x6e, 0x52, 0x65, 0x71, 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, 0x22, 0x4d, 0x0a, 0x0a, 0x43, 0x68,
|
|
|
|
0x65, 0x63, 0x6b, 0x49, 0x6e, 0x52, 0x65, 0x73, 0x12, 0x3f, 0x0a, 0x0f, 0x63, 0x68, 0x65, 0x63,
|
|
|
|
0x6b, 0x69, 0x6e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
0x0b, 0x32, 0x15, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x6e,
|
|
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x69,
|
|
|
|
0x6e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xfc, 0x02, 0x0a, 0x0b, 0x4e, 0x6f,
|
|
|
|
0x64, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x4c, 0x6f, 0x67,
|
|
|
|
0x69, 0x6e, 0x12, 0x12, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52,
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x4c, 0x6f,
|
|
|
|
0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x0a, 0x43,
|
|
|
|
0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x13, 0x2e, 0x6e, 0x6f, 0x64, 0x65,
|
|
|
|
0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x13,
|
|
|
|
0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65,
|
|
|
|
0x52, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x08, 0x52, 0x65, 0x61, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x12,
|
|
|
|
0x11, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x52,
|
|
|
|
0x65, 0x71, 0x1a, 0x11, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x4e, 0x6f,
|
|
|
|
0x64, 0x65, 0x52, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e,
|
|
|
|
0x6f, 0x64, 0x65, 0x12, 0x13, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
|
|
|
|
0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x13, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e,
|
|
|
|
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x12, 0x36, 0x0a,
|
|
|
|
0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x13, 0x2e, 0x6e, 0x6f,
|
|
|
|
0x64, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71,
|
|
|
|
0x1a, 0x13, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f,
|
|
|
|
0x64, 0x65, 0x52, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x50, 0x65, 0x65, 0x72,
|
|
|
|
0x73, 0x12, 0x11, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x65, 0x72,
|
|
|
|
0x73, 0x52, 0x65, 0x71, 0x1a, 0x11, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x50,
|
|
|
|
0x65, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x30, 0x01, 0x12, 0x2d, 0x0a, 0x07, 0x43, 0x68, 0x65,
|
|
|
|
0x63, 0x6b, 0x49, 0x6e, 0x12, 0x10, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x43, 0x68, 0x65, 0x63,
|
|
|
|
0x6b, 0x49, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x10, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x43, 0x68,
|
|
|
|
0x65, 0x63, 0x6b, 0x49, 0x6e, 0x52, 0x65, 0x73, 0x42, 0x2f, 0x5a, 0x2d, 0x67, 0x6f, 0x6f, 0x67,
|
|
|
|
0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72,
|
|
|
|
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x6b, 0x6e, 0x6f,
|
|
|
|
0x77, 0x6e, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
|
|
0x33,
|
|
|
|
}
|
|
|
|
|
|
|
|
var (
|
|
|
|
file_grpc_node_proto_rawDescOnce sync.Once
|
|
|
|
file_grpc_node_proto_rawDescData = file_grpc_node_proto_rawDesc
|
|
|
|
)
|
|
|
|
|
|
|
|
func file_grpc_node_proto_rawDescGZIP() []byte {
|
|
|
|
file_grpc_node_proto_rawDescOnce.Do(func() {
|
|
|
|
file_grpc_node_proto_rawDescData = protoimpl.X.CompressGZIP(file_grpc_node_proto_rawDescData)
|
|
|
|
})
|
|
|
|
return file_grpc_node_proto_rawDescData
|
|
|
|
}
|
|
|
|
|
|
|
|
var file_grpc_node_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
|
|
|
|
var file_grpc_node_proto_goTypes = []interface{}{
|
|
|
|
(*LoginRequest)(nil), // 0: node.LoginRequest
|
|
|
|
(*LoginResponse)(nil), // 1: node.LoginResponse
|
|
|
|
(*Node)(nil), // 2: node.Node
|
|
|
|
(*CheckInResponse)(nil), // 3: node.CheckInResponse
|
|
|
|
(*PeersResponse)(nil), // 4: node.PeersResponse
|
|
|
|
(*CreateNodeReq)(nil), // 5: node.CreateNodeReq
|
|
|
|
(*CreateNodeRes)(nil), // 6: node.CreateNodeRes
|
|
|
|
(*UpdateNodeReq)(nil), // 7: node.UpdateNodeReq
|
|
|
|
(*UpdateNodeRes)(nil), // 8: node.UpdateNodeRes
|
|
|
|
(*ReadNodeReq)(nil), // 9: node.ReadNodeReq
|
|
|
|
(*ReadNodeRes)(nil), // 10: node.ReadNodeRes
|
|
|
|
(*DeleteNodeReq)(nil), // 11: node.DeleteNodeReq
|
|
|
|
(*DeleteNodeRes)(nil), // 12: node.DeleteNodeRes
|
|
|
|
(*GetPeersReq)(nil), // 13: node.GetPeersReq
|
|
|
|
(*GetPeersRes)(nil), // 14: node.GetPeersRes
|
|
|
|
(*CheckInReq)(nil), // 15: node.CheckInReq
|
|
|
|
(*CheckInRes)(nil), // 16: node.CheckInRes
|
|
|
|
}
|
|
|
|
var file_grpc_node_proto_depIdxs = []int32{
|
|
|
|
2, // 0: node.CreateNodeReq.node:type_name -> node.Node
|
|
|
|
2, // 1: node.CreateNodeRes.node:type_name -> node.Node
|
|
|
|
2, // 2: node.UpdateNodeReq.node:type_name -> node.Node
|
|
|
|
2, // 3: node.UpdateNodeRes.node:type_name -> node.Node
|
|
|
|
2, // 4: node.ReadNodeRes.node:type_name -> node.Node
|
|
|
|
4, // 5: node.GetPeersRes.peers:type_name -> node.PeersResponse
|
|
|
|
2, // 6: node.CheckInReq.node:type_name -> node.Node
|
|
|
|
3, // 7: node.CheckInRes.checkinresponse:type_name -> node.CheckInResponse
|
|
|
|
0, // 8: node.NodeService.Login:input_type -> node.LoginRequest
|
|
|
|
5, // 9: node.NodeService.CreateNode:input_type -> node.CreateNodeReq
|
|
|
|
9, // 10: node.NodeService.ReadNode:input_type -> node.ReadNodeReq
|
|
|
|
7, // 11: node.NodeService.UpdateNode:input_type -> node.UpdateNodeReq
|
|
|
|
11, // 12: node.NodeService.DeleteNode:input_type -> node.DeleteNodeReq
|
|
|
|
13, // 13: node.NodeService.GetPeers:input_type -> node.GetPeersReq
|
|
|
|
15, // 14: node.NodeService.CheckIn:input_type -> node.CheckInReq
|
|
|
|
1, // 15: node.NodeService.Login:output_type -> node.LoginResponse
|
|
|
|
6, // 16: node.NodeService.CreateNode:output_type -> node.CreateNodeRes
|
|
|
|
10, // 17: node.NodeService.ReadNode:output_type -> node.ReadNodeRes
|
|
|
|
8, // 18: node.NodeService.UpdateNode:output_type -> node.UpdateNodeRes
|
|
|
|
12, // 19: node.NodeService.DeleteNode:output_type -> node.DeleteNodeRes
|
|
|
|
14, // 20: node.NodeService.GetPeers:output_type -> node.GetPeersRes
|
|
|
|
16, // 21: node.NodeService.CheckIn:output_type -> node.CheckInRes
|
|
|
|
15, // [15:22] is the sub-list for method output_type
|
|
|
|
8, // [8:15] is the sub-list for method input_type
|
|
|
|
8, // [8:8] is the sub-list for extension type_name
|
|
|
|
8, // [8:8] is the sub-list for extension extendee
|
|
|
|
0, // [0:8] is the sub-list for field type_name
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() { file_grpc_node_proto_init() }
|
|
|
|
func file_grpc_node_proto_init() {
|
|
|
|
if File_grpc_node_proto != nil {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
file_grpc_node_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*LoginRequest); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_grpc_node_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*LoginResponse); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_grpc_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_grpc_node_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*CheckInResponse); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_grpc_node_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*PeersResponse); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_grpc_node_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*CreateNodeReq); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_grpc_node_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*CreateNodeRes); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_grpc_node_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*UpdateNodeReq); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_grpc_node_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*UpdateNodeRes); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_grpc_node_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*ReadNodeReq); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_grpc_node_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*ReadNodeRes); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_grpc_node_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*DeleteNodeReq); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_grpc_node_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*DeleteNodeRes); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_grpc_node_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*GetPeersReq); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_grpc_node_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*GetPeersRes); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_grpc_node_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*CheckInReq); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_grpc_node_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*CheckInRes); 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_grpc_node_proto_rawDesc,
|
|
|
|
NumEnums: 0,
|
|
|
|
NumMessages: 17,
|
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 1,
|
|
|
|
},
|
|
|
|
GoTypes: file_grpc_node_proto_goTypes,
|
|
|
|
DependencyIndexes: file_grpc_node_proto_depIdxs,
|
|
|
|
MessageInfos: file_grpc_node_proto_msgTypes,
|
|
|
|
}.Build()
|
|
|
|
File_grpc_node_proto = out.File
|
|
|
|
file_grpc_node_proto_rawDesc = nil
|
|
|
|
file_grpc_node_proto_goTypes = nil
|
|
|
|
file_grpc_node_proto_depIdxs = nil
|
2021-03-26 00:17:52 +08:00
|
|
|
}
|