Files
EdgeCommon/pkg/rpc/pb/service_authority_node.pb.go

1116 lines
43 KiB
Go
Raw Normal View History

2021-04-13 21:23:31 +08:00
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.31.0
2022-03-04 15:44:39 +08:00
// protoc v3.19.4
2021-04-13 21:23:31 +08:00
// source: service_authority_node.proto
package pb
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 CreateAuthorityNodeRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
IsOn bool `protobuf:"varint,3,opt,name=isOn,proto3" json:"isOn,omitempty"`
}
func (x *CreateAuthorityNodeRequest) Reset() {
*x = CreateAuthorityNodeRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_authority_node_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateAuthorityNodeRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateAuthorityNodeRequest) ProtoMessage() {}
func (x *CreateAuthorityNodeRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_authority_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 CreateAuthorityNodeRequest.ProtoReflect.Descriptor instead.
func (*CreateAuthorityNodeRequest) Descriptor() ([]byte, []int) {
return file_service_authority_node_proto_rawDescGZIP(), []int{0}
}
func (x *CreateAuthorityNodeRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *CreateAuthorityNodeRequest) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *CreateAuthorityNodeRequest) GetIsOn() bool {
if x != nil {
return x.IsOn
}
return false
}
type CreateAuthorityNodeResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2021-11-24 12:01:00 +08:00
AuthorityNodeId int64 `protobuf:"varint,1,opt,name=authorityNodeId,proto3" json:"authorityNodeId,omitempty"`
2021-04-13 21:23:31 +08:00
}
func (x *CreateAuthorityNodeResponse) Reset() {
*x = CreateAuthorityNodeResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_authority_node_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateAuthorityNodeResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateAuthorityNodeResponse) ProtoMessage() {}
func (x *CreateAuthorityNodeResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_authority_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 CreateAuthorityNodeResponse.ProtoReflect.Descriptor instead.
func (*CreateAuthorityNodeResponse) Descriptor() ([]byte, []int) {
return file_service_authority_node_proto_rawDescGZIP(), []int{1}
}
2021-11-24 12:01:00 +08:00
func (x *CreateAuthorityNodeResponse) GetAuthorityNodeId() int64 {
2021-04-13 21:23:31 +08:00
if x != nil {
2021-11-24 12:01:00 +08:00
return x.AuthorityNodeId
2021-04-13 21:23:31 +08:00
}
return 0
}
// 修改认证节点
type UpdateAuthorityNodeRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2021-11-24 12:01:00 +08:00
AuthorityNodeId int64 `protobuf:"varint,1,opt,name=authorityNodeId,proto3" json:"authorityNodeId,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
IsOn bool `protobuf:"varint,4,opt,name=isOn,proto3" json:"isOn,omitempty"`
2021-04-13 21:23:31 +08:00
}
func (x *UpdateAuthorityNodeRequest) Reset() {
*x = UpdateAuthorityNodeRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_authority_node_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateAuthorityNodeRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateAuthorityNodeRequest) ProtoMessage() {}
func (x *UpdateAuthorityNodeRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_authority_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 UpdateAuthorityNodeRequest.ProtoReflect.Descriptor instead.
func (*UpdateAuthorityNodeRequest) Descriptor() ([]byte, []int) {
return file_service_authority_node_proto_rawDescGZIP(), []int{2}
}
2021-11-24 12:01:00 +08:00
func (x *UpdateAuthorityNodeRequest) GetAuthorityNodeId() int64 {
2021-04-13 21:23:31 +08:00
if x != nil {
2021-11-24 12:01:00 +08:00
return x.AuthorityNodeId
2021-04-13 21:23:31 +08:00
}
return 0
}
func (x *UpdateAuthorityNodeRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *UpdateAuthorityNodeRequest) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *UpdateAuthorityNodeRequest) GetIsOn() bool {
if x != nil {
return x.IsOn
}
return false
}
// 删除认证节点
type DeleteAuthorityNodeRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2021-11-24 12:01:00 +08:00
AuthorityNodeId int64 `protobuf:"varint,1,opt,name=authorityNodeId,proto3" json:"authorityNodeId,omitempty"`
2021-04-13 21:23:31 +08:00
}
func (x *DeleteAuthorityNodeRequest) Reset() {
*x = DeleteAuthorityNodeRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_authority_node_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteAuthorityNodeRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteAuthorityNodeRequest) ProtoMessage() {}
func (x *DeleteAuthorityNodeRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_authority_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 DeleteAuthorityNodeRequest.ProtoReflect.Descriptor instead.
func (*DeleteAuthorityNodeRequest) Descriptor() ([]byte, []int) {
return file_service_authority_node_proto_rawDescGZIP(), []int{3}
}
2021-11-24 12:01:00 +08:00
func (x *DeleteAuthorityNodeRequest) GetAuthorityNodeId() int64 {
2021-04-13 21:23:31 +08:00
if x != nil {
2021-11-24 12:01:00 +08:00
return x.AuthorityNodeId
2021-04-13 21:23:31 +08:00
}
return 0
}
// 列出所有可用认证节点
type FindAllEnabledAuthorityNodesRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *FindAllEnabledAuthorityNodesRequest) Reset() {
*x = FindAllEnabledAuthorityNodesRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_authority_node_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindAllEnabledAuthorityNodesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindAllEnabledAuthorityNodesRequest) ProtoMessage() {}
func (x *FindAllEnabledAuthorityNodesRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_authority_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 FindAllEnabledAuthorityNodesRequest.ProtoReflect.Descriptor instead.
func (*FindAllEnabledAuthorityNodesRequest) Descriptor() ([]byte, []int) {
return file_service_authority_node_proto_rawDescGZIP(), []int{4}
}
type FindAllEnabledAuthorityNodesResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2021-11-24 12:01:00 +08:00
AuthorityNodes []*AuthorityNode `protobuf:"bytes,1,rep,name=authorityNodes,proto3" json:"authorityNodes,omitempty"`
2021-04-13 21:23:31 +08:00
}
func (x *FindAllEnabledAuthorityNodesResponse) Reset() {
*x = FindAllEnabledAuthorityNodesResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_authority_node_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindAllEnabledAuthorityNodesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindAllEnabledAuthorityNodesResponse) ProtoMessage() {}
func (x *FindAllEnabledAuthorityNodesResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_authority_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 FindAllEnabledAuthorityNodesResponse.ProtoReflect.Descriptor instead.
func (*FindAllEnabledAuthorityNodesResponse) Descriptor() ([]byte, []int) {
return file_service_authority_node_proto_rawDescGZIP(), []int{5}
}
2021-11-24 12:01:00 +08:00
func (x *FindAllEnabledAuthorityNodesResponse) GetAuthorityNodes() []*AuthorityNode {
2021-04-13 21:23:31 +08:00
if x != nil {
2021-11-24 12:01:00 +08:00
return x.AuthorityNodes
2021-04-13 21:23:31 +08:00
}
return nil
}
// 计算认证节点数量
type CountAllEnabledAuthorityNodesRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *CountAllEnabledAuthorityNodesRequest) Reset() {
*x = CountAllEnabledAuthorityNodesRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_authority_node_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CountAllEnabledAuthorityNodesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CountAllEnabledAuthorityNodesRequest) ProtoMessage() {}
func (x *CountAllEnabledAuthorityNodesRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_authority_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 CountAllEnabledAuthorityNodesRequest.ProtoReflect.Descriptor instead.
func (*CountAllEnabledAuthorityNodesRequest) Descriptor() ([]byte, []int) {
return file_service_authority_node_proto_rawDescGZIP(), []int{6}
}
// 列出单页的认证节点
type ListEnabledAuthorityNodesRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
}
func (x *ListEnabledAuthorityNodesRequest) Reset() {
*x = ListEnabledAuthorityNodesRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_authority_node_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListEnabledAuthorityNodesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListEnabledAuthorityNodesRequest) ProtoMessage() {}
func (x *ListEnabledAuthorityNodesRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_authority_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 ListEnabledAuthorityNodesRequest.ProtoReflect.Descriptor instead.
func (*ListEnabledAuthorityNodesRequest) Descriptor() ([]byte, []int) {
return file_service_authority_node_proto_rawDescGZIP(), []int{7}
}
func (x *ListEnabledAuthorityNodesRequest) GetOffset() int64 {
if x != nil {
return x.Offset
}
return 0
}
func (x *ListEnabledAuthorityNodesRequest) GetSize() int64 {
if x != nil {
return x.Size
}
return 0
}
type ListEnabledAuthorityNodesResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2021-11-24 12:01:00 +08:00
AuthorityNodes []*AuthorityNode `protobuf:"bytes,1,rep,name=authorityNodes,proto3" json:"authorityNodes,omitempty"`
2021-04-13 21:23:31 +08:00
}
func (x *ListEnabledAuthorityNodesResponse) Reset() {
*x = ListEnabledAuthorityNodesResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_authority_node_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListEnabledAuthorityNodesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListEnabledAuthorityNodesResponse) ProtoMessage() {}
func (x *ListEnabledAuthorityNodesResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_authority_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 ListEnabledAuthorityNodesResponse.ProtoReflect.Descriptor instead.
func (*ListEnabledAuthorityNodesResponse) Descriptor() ([]byte, []int) {
return file_service_authority_node_proto_rawDescGZIP(), []int{8}
}
2021-11-24 12:01:00 +08:00
func (x *ListEnabledAuthorityNodesResponse) GetAuthorityNodes() []*AuthorityNode {
2021-04-13 21:23:31 +08:00
if x != nil {
2021-11-24 12:01:00 +08:00
return x.AuthorityNodes
2021-04-13 21:23:31 +08:00
}
return nil
}
// 根据ID查找节点
type FindEnabledAuthorityNodeRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2021-11-24 12:01:00 +08:00
AuthorityNodeId int64 `protobuf:"varint,1,opt,name=authorityNodeId,proto3" json:"authorityNodeId,omitempty"`
2021-04-13 21:23:31 +08:00
}
func (x *FindEnabledAuthorityNodeRequest) Reset() {
*x = FindEnabledAuthorityNodeRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_authority_node_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindEnabledAuthorityNodeRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindEnabledAuthorityNodeRequest) ProtoMessage() {}
func (x *FindEnabledAuthorityNodeRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_authority_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 FindEnabledAuthorityNodeRequest.ProtoReflect.Descriptor instead.
func (*FindEnabledAuthorityNodeRequest) Descriptor() ([]byte, []int) {
return file_service_authority_node_proto_rawDescGZIP(), []int{9}
}
2021-11-24 12:01:00 +08:00
func (x *FindEnabledAuthorityNodeRequest) GetAuthorityNodeId() int64 {
2021-04-13 21:23:31 +08:00
if x != nil {
2021-11-24 12:01:00 +08:00
return x.AuthorityNodeId
2021-04-13 21:23:31 +08:00
}
return 0
}
type FindEnabledAuthorityNodeResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2021-11-24 12:01:00 +08:00
AuthorityNode *AuthorityNode `protobuf:"bytes,1,opt,name=authorityNode,proto3" json:"authorityNode,omitempty"`
2021-04-13 21:23:31 +08:00
}
func (x *FindEnabledAuthorityNodeResponse) Reset() {
*x = FindEnabledAuthorityNodeResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_authority_node_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindEnabledAuthorityNodeResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindEnabledAuthorityNodeResponse) ProtoMessage() {}
func (x *FindEnabledAuthorityNodeResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_authority_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 FindEnabledAuthorityNodeResponse.ProtoReflect.Descriptor instead.
func (*FindEnabledAuthorityNodeResponse) Descriptor() ([]byte, []int) {
return file_service_authority_node_proto_rawDescGZIP(), []int{10}
}
2021-11-24 12:01:00 +08:00
func (x *FindEnabledAuthorityNodeResponse) GetAuthorityNode() *AuthorityNode {
2021-04-13 21:23:31 +08:00
if x != nil {
2021-11-24 12:01:00 +08:00
return x.AuthorityNode
2021-04-13 21:23:31 +08:00
}
return nil
}
// 获取当前认证节点
type FindCurrentAuthorityNodeRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *FindCurrentAuthorityNodeRequest) Reset() {
*x = FindCurrentAuthorityNodeRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_authority_node_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindCurrentAuthorityNodeRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindCurrentAuthorityNodeRequest) ProtoMessage() {}
func (x *FindCurrentAuthorityNodeRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_authority_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 FindCurrentAuthorityNodeRequest.ProtoReflect.Descriptor instead.
func (*FindCurrentAuthorityNodeRequest) Descriptor() ([]byte, []int) {
return file_service_authority_node_proto_rawDescGZIP(), []int{11}
}
type FindCurrentAuthorityNodeResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2021-11-24 12:01:00 +08:00
AuthorityNode *AuthorityNode `protobuf:"bytes,1,opt,name=authorityNode,proto3" json:"authorityNode,omitempty"`
2021-04-13 21:23:31 +08:00
}
func (x *FindCurrentAuthorityNodeResponse) Reset() {
*x = FindCurrentAuthorityNodeResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_authority_node_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindCurrentAuthorityNodeResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindCurrentAuthorityNodeResponse) ProtoMessage() {}
func (x *FindCurrentAuthorityNodeResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_authority_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 FindCurrentAuthorityNodeResponse.ProtoReflect.Descriptor instead.
func (*FindCurrentAuthorityNodeResponse) Descriptor() ([]byte, []int) {
return file_service_authority_node_proto_rawDescGZIP(), []int{12}
}
2021-11-24 12:01:00 +08:00
func (x *FindCurrentAuthorityNodeResponse) GetAuthorityNode() *AuthorityNode {
2021-04-13 21:23:31 +08:00
if x != nil {
2021-11-24 12:01:00 +08:00
return x.AuthorityNode
2021-04-13 21:23:31 +08:00
}
return nil
}
// 更新认证状态
type UpdateAuthorityNodeStatusRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2021-11-24 12:01:00 +08:00
AuthorityNodeId int64 `protobuf:"varint,1,opt,name=authorityNodeId,proto3" json:"authorityNodeId,omitempty"`
StatusJSON []byte `protobuf:"bytes,2,opt,name=statusJSON,proto3" json:"statusJSON,omitempty"`
2021-04-13 21:23:31 +08:00
}
func (x *UpdateAuthorityNodeStatusRequest) Reset() {
*x = UpdateAuthorityNodeStatusRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_authority_node_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateAuthorityNodeStatusRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateAuthorityNodeStatusRequest) ProtoMessage() {}
func (x *UpdateAuthorityNodeStatusRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_authority_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 UpdateAuthorityNodeStatusRequest.ProtoReflect.Descriptor instead.
func (*UpdateAuthorityNodeStatusRequest) Descriptor() ([]byte, []int) {
return file_service_authority_node_proto_rawDescGZIP(), []int{13}
}
2021-11-24 12:01:00 +08:00
func (x *UpdateAuthorityNodeStatusRequest) GetAuthorityNodeId() int64 {
2021-04-13 21:23:31 +08:00
if x != nil {
2021-11-24 12:01:00 +08:00
return x.AuthorityNodeId
2021-04-13 21:23:31 +08:00
}
return 0
}
func (x *UpdateAuthorityNodeStatusRequest) GetStatusJSON() []byte {
if x != nil {
return x.StatusJSON
}
return nil
}
var File_service_authority_node_proto protoreflect.FileDescriptor
var file_service_authority_node_proto_rawDesc = []byte{
0x0a, 0x1c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72,
0x69, 0x74, 0x79, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02,
0x70, 0x62, 0x1a, 0x21, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x72, 0x70,
0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x22, 0x66, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72,
0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12,
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x03, 0x20, 0x01,
2021-11-24 12:01:00 +08:00
0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x22, 0x47, 0x0a, 0x1b, 0x43, 0x72, 0x65, 0x61,
2021-04-13 21:23:31 +08:00
0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x52,
2021-11-24 12:01:00 +08:00
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x61, 0x75, 0x74, 0x68, 0x6f,
0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
0x52, 0x0f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x49,
0x64, 0x22, 0x90, 0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68,
0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x12, 0x28, 0x0a, 0x0f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64,
0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x61, 0x75, 0x74, 0x68, 0x6f,
0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20,
0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20,
0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04,
0x69, 0x73, 0x4f, 0x6e, 0x22, 0x46, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x75,
0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x28, 0x0a, 0x0f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e,
0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x61, 0x75, 0x74,
0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x25, 0x0a, 0x23,
2021-04-13 21:23:31 +08:00
0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x75,
2021-11-24 12:01:00 +08:00
0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x22, 0x61, 0x0a, 0x24, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e,
0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f,
0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x0e, 0x61,
0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20,
2021-04-13 21:23:31 +08:00
0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
2021-11-24 12:01:00 +08:00
0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74,
0x79, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x26, 0x0a, 0x24, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41,
0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4e,
0x0a, 0x20, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x75, 0x74,
0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01,
0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69,
0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x5e,
0x0a, 0x21, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x75, 0x74,
0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79,
0x4e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62,
0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x0e,
0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x4b,
0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x75, 0x74,
0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x12, 0x28, 0x0a, 0x0f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f,
0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x61, 0x75, 0x74, 0x68,
0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x5b, 0x0a, 0x20, 0x46,
0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72,
0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
0x37, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x75, 0x74, 0x68,
0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x6f,
0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x22, 0x21, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64,
0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79,
0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x5b, 0x0a, 0x20, 0x46,
0x69, 0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72,
0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
0x37, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x75, 0x74, 0x68,
0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x6f,
0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x22, 0x6c, 0x0a, 0x20, 0x55, 0x70, 0x64, 0x61,
0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x53,
0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x0f,
0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18,
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79,
0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74,
0x75, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x32, 0xdb, 0x06, 0x0a, 0x14, 0x41, 0x75, 0x74, 0x68, 0x6f,
0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
0x56, 0x0a, 0x13, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61,
0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61,
0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x13, 0x75, 0x70, 0x64, 0x61, 0x74,
0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x1e,
0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72,
0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e,
0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x45,
0x0a, 0x13, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74,
0x79, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74,
0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75,
0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x71, 0x0a, 0x1c, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c,
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79,
0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x27, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41,
0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28,
0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c,
0x65, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x73,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x1d, 0x63, 0x6f, 0x75, 0x6e,
2021-04-13 21:23:31 +08:00
0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f,
2021-11-24 12:01:00 +08:00
0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x70, 0x62, 0x2e, 0x43,
0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x75,
0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e,
0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x19, 0x6c, 0x69, 0x73,
0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74,
0x79, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74,
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79,
0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70,
0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x75, 0x74,
0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x18, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c,
0x65, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x12,
0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e,
2021-04-13 21:23:31 +08:00
0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f,
2021-11-24 12:01:00 +08:00
0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x18, 0x66, 0x69,
2021-04-13 21:23:31 +08:00
0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
2021-11-24 12:01:00 +08:00
0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64,
0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79,
0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x62,
0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x75, 0x74, 0x68,
0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x12, 0x51, 0x0a, 0x19, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f,
0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x24,
0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72,
0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63,
0x63, 0x65, 0x73, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
2021-04-13 21:23:31 +08:00
}
var (
file_service_authority_node_proto_rawDescOnce sync.Once
file_service_authority_node_proto_rawDescData = file_service_authority_node_proto_rawDesc
)
func file_service_authority_node_proto_rawDescGZIP() []byte {
file_service_authority_node_proto_rawDescOnce.Do(func() {
file_service_authority_node_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_authority_node_proto_rawDescData)
})
return file_service_authority_node_proto_rawDescData
}
var file_service_authority_node_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
var file_service_authority_node_proto_goTypes = []interface{}{
(*CreateAuthorityNodeRequest)(nil), // 0: pb.CreateAuthorityNodeRequest
(*CreateAuthorityNodeResponse)(nil), // 1: pb.CreateAuthorityNodeResponse
(*UpdateAuthorityNodeRequest)(nil), // 2: pb.UpdateAuthorityNodeRequest
(*DeleteAuthorityNodeRequest)(nil), // 3: pb.DeleteAuthorityNodeRequest
(*FindAllEnabledAuthorityNodesRequest)(nil), // 4: pb.FindAllEnabledAuthorityNodesRequest
(*FindAllEnabledAuthorityNodesResponse)(nil), // 5: pb.FindAllEnabledAuthorityNodesResponse
(*CountAllEnabledAuthorityNodesRequest)(nil), // 6: pb.CountAllEnabledAuthorityNodesRequest
(*ListEnabledAuthorityNodesRequest)(nil), // 7: pb.ListEnabledAuthorityNodesRequest
(*ListEnabledAuthorityNodesResponse)(nil), // 8: pb.ListEnabledAuthorityNodesResponse
(*FindEnabledAuthorityNodeRequest)(nil), // 9: pb.FindEnabledAuthorityNodeRequest
(*FindEnabledAuthorityNodeResponse)(nil), // 10: pb.FindEnabledAuthorityNodeResponse
(*FindCurrentAuthorityNodeRequest)(nil), // 11: pb.FindCurrentAuthorityNodeRequest
(*FindCurrentAuthorityNodeResponse)(nil), // 12: pb.FindCurrentAuthorityNodeResponse
(*UpdateAuthorityNodeStatusRequest)(nil), // 13: pb.UpdateAuthorityNodeStatusRequest
(*AuthorityNode)(nil), // 14: pb.AuthorityNode
(*RPCSuccess)(nil), // 15: pb.RPCSuccess
(*RPCCountResponse)(nil), // 16: pb.RPCCountResponse
}
var file_service_authority_node_proto_depIdxs = []int32{
2021-11-24 12:01:00 +08:00
14, // 0: pb.FindAllEnabledAuthorityNodesResponse.authorityNodes:type_name -> pb.AuthorityNode
14, // 1: pb.ListEnabledAuthorityNodesResponse.authorityNodes:type_name -> pb.AuthorityNode
14, // 2: pb.FindEnabledAuthorityNodeResponse.authorityNode:type_name -> pb.AuthorityNode
14, // 3: pb.FindCurrentAuthorityNodeResponse.authorityNode:type_name -> pb.AuthorityNode
2021-04-13 21:23:31 +08:00
0, // 4: pb.AuthorityNodeService.createAuthorityNode:input_type -> pb.CreateAuthorityNodeRequest
2, // 5: pb.AuthorityNodeService.updateAuthorityNode:input_type -> pb.UpdateAuthorityNodeRequest
3, // 6: pb.AuthorityNodeService.deleteAuthorityNode:input_type -> pb.DeleteAuthorityNodeRequest
4, // 7: pb.AuthorityNodeService.findAllEnabledAuthorityNodes:input_type -> pb.FindAllEnabledAuthorityNodesRequest
6, // 8: pb.AuthorityNodeService.countAllEnabledAuthorityNodes:input_type -> pb.CountAllEnabledAuthorityNodesRequest
7, // 9: pb.AuthorityNodeService.listEnabledAuthorityNodes:input_type -> pb.ListEnabledAuthorityNodesRequest
9, // 10: pb.AuthorityNodeService.findEnabledAuthorityNode:input_type -> pb.FindEnabledAuthorityNodeRequest
11, // 11: pb.AuthorityNodeService.findCurrentAuthorityNode:input_type -> pb.FindCurrentAuthorityNodeRequest
13, // 12: pb.AuthorityNodeService.updateAuthorityNodeStatus:input_type -> pb.UpdateAuthorityNodeStatusRequest
1, // 13: pb.AuthorityNodeService.createAuthorityNode:output_type -> pb.CreateAuthorityNodeResponse
15, // 14: pb.AuthorityNodeService.updateAuthorityNode:output_type -> pb.RPCSuccess
15, // 15: pb.AuthorityNodeService.deleteAuthorityNode:output_type -> pb.RPCSuccess
5, // 16: pb.AuthorityNodeService.findAllEnabledAuthorityNodes:output_type -> pb.FindAllEnabledAuthorityNodesResponse
16, // 17: pb.AuthorityNodeService.countAllEnabledAuthorityNodes:output_type -> pb.RPCCountResponse
8, // 18: pb.AuthorityNodeService.listEnabledAuthorityNodes:output_type -> pb.ListEnabledAuthorityNodesResponse
10, // 19: pb.AuthorityNodeService.findEnabledAuthorityNode:output_type -> pb.FindEnabledAuthorityNodeResponse
12, // 20: pb.AuthorityNodeService.findCurrentAuthorityNode:output_type -> pb.FindCurrentAuthorityNodeResponse
15, // 21: pb.AuthorityNodeService.updateAuthorityNodeStatus:output_type -> pb.RPCSuccess
13, // [13:22] is the sub-list for method output_type
4, // [4:13] is the sub-list for method input_type
4, // [4:4] is the sub-list for extension type_name
4, // [4:4] is the sub-list for extension extendee
0, // [0:4] is the sub-list for field type_name
}
func init() { file_service_authority_node_proto_init() }
func file_service_authority_node_proto_init() {
if File_service_authority_node_proto != nil {
return
}
file_models_model_authority_node_proto_init()
file_models_rpc_messages_proto_init()
if !protoimpl.UnsafeEnabled {
file_service_authority_node_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateAuthorityNodeRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_authority_node_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateAuthorityNodeResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_authority_node_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateAuthorityNodeRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_authority_node_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteAuthorityNodeRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_authority_node_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindAllEnabledAuthorityNodesRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_authority_node_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindAllEnabledAuthorityNodesResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_authority_node_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CountAllEnabledAuthorityNodesRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_authority_node_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListEnabledAuthorityNodesRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_authority_node_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListEnabledAuthorityNodesResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_authority_node_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindEnabledAuthorityNodeRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_authority_node_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindEnabledAuthorityNodeResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_authority_node_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindCurrentAuthorityNodeRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_authority_node_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindCurrentAuthorityNodeResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_authority_node_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateAuthorityNodeStatusRequest); 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_service_authority_node_proto_rawDesc,
NumEnums: 0,
NumMessages: 14,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_service_authority_node_proto_goTypes,
DependencyIndexes: file_service_authority_node_proto_depIdxs,
MessageInfos: file_service_authority_node_proto_msgTypes,
}.Build()
File_service_authority_node_proto = out.File
file_service_authority_node_proto_rawDesc = nil
file_service_authority_node_proto_goTypes = nil
file_service_authority_node_proto_depIdxs = nil
}