mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-13 20:20:24 +08:00
增加DNS域名管理
This commit is contained in:
175
pkg/rpc/pb/model_dns_domain.pb.go
Normal file
175
pkg/rpc/pb/model_dns_domain.pb.go
Normal file
@@ -0,0 +1,175 @@
|
|||||||
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
|
// versions:
|
||||||
|
// protoc-gen-go v1.25.0
|
||||||
|
// protoc v3.12.3
|
||||||
|
// source: model_dns_domain.proto
|
||||||
|
|
||||||
|
package pb
|
||||||
|
|
||||||
|
import (
|
||||||
|
proto "github.com/golang/protobuf/proto"
|
||||||
|
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)
|
||||||
|
)
|
||||||
|
|
||||||
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
||||||
|
// of the legacy proto package is being used.
|
||||||
|
const _ = proto.ProtoPackageIsVersion4
|
||||||
|
|
||||||
|
type DNSDomain struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||||
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||||||
|
IsOn bool `protobuf:"varint,3,opt,name=isOn,proto3" json:"isOn,omitempty"`
|
||||||
|
DataUpdatedAt int64 `protobuf:"varint,4,opt,name=dataUpdatedAt,proto3" json:"dataUpdatedAt,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DNSDomain) Reset() {
|
||||||
|
*x = DNSDomain{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_model_dns_domain_proto_msgTypes[0]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DNSDomain) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*DNSDomain) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *DNSDomain) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_model_dns_domain_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 DNSDomain.ProtoReflect.Descriptor instead.
|
||||||
|
func (*DNSDomain) Descriptor() ([]byte, []int) {
|
||||||
|
return file_model_dns_domain_proto_rawDescGZIP(), []int{0}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DNSDomain) GetId() int64 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Id
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DNSDomain) GetName() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Name
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DNSDomain) GetIsOn() bool {
|
||||||
|
if x != nil {
|
||||||
|
return x.IsOn
|
||||||
|
}
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DNSDomain) GetDataUpdatedAt() int64 {
|
||||||
|
if x != nil {
|
||||||
|
return x.DataUpdatedAt
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
var File_model_dns_domain_proto protoreflect.FileDescriptor
|
||||||
|
|
||||||
|
var file_model_dns_domain_proto_rawDesc = []byte{
|
||||||
|
0x0a, 0x16, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, 0x6e, 0x73, 0x5f, 0x64, 0x6f, 0x6d, 0x61,
|
||||||
|
0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x69, 0x0a, 0x09,
|
||||||
|
0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
|
||||||
|
0x01, 0x20, 0x01, 0x28, 0x03, 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, 0x12, 0x0a,
|
||||||
|
0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f,
|
||||||
|
0x6e, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x61, 0x74, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64,
|
||||||
|
0x41, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, 0x61, 0x74, 0x61, 0x55, 0x70,
|
||||||
|
0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62,
|
||||||
|
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
|
}
|
||||||
|
|
||||||
|
var (
|
||||||
|
file_model_dns_domain_proto_rawDescOnce sync.Once
|
||||||
|
file_model_dns_domain_proto_rawDescData = file_model_dns_domain_proto_rawDesc
|
||||||
|
)
|
||||||
|
|
||||||
|
func file_model_dns_domain_proto_rawDescGZIP() []byte {
|
||||||
|
file_model_dns_domain_proto_rawDescOnce.Do(func() {
|
||||||
|
file_model_dns_domain_proto_rawDescData = protoimpl.X.CompressGZIP(file_model_dns_domain_proto_rawDescData)
|
||||||
|
})
|
||||||
|
return file_model_dns_domain_proto_rawDescData
|
||||||
|
}
|
||||||
|
|
||||||
|
var file_model_dns_domain_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
||||||
|
var file_model_dns_domain_proto_goTypes = []interface{}{
|
||||||
|
(*DNSDomain)(nil), // 0: pb.DNSDomain
|
||||||
|
}
|
||||||
|
var file_model_dns_domain_proto_depIdxs = []int32{
|
||||||
|
0, // [0:0] is the sub-list for method output_type
|
||||||
|
0, // [0:0] is the sub-list for method input_type
|
||||||
|
0, // [0:0] is the sub-list for extension type_name
|
||||||
|
0, // [0:0] is the sub-list for extension extendee
|
||||||
|
0, // [0:0] is the sub-list for field type_name
|
||||||
|
}
|
||||||
|
|
||||||
|
func init() { file_model_dns_domain_proto_init() }
|
||||||
|
func file_model_dns_domain_proto_init() {
|
||||||
|
if File_model_dns_domain_proto != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if !protoimpl.UnsafeEnabled {
|
||||||
|
file_model_dns_domain_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*DNSDomain); 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_model_dns_domain_proto_rawDesc,
|
||||||
|
NumEnums: 0,
|
||||||
|
NumMessages: 1,
|
||||||
|
NumExtensions: 0,
|
||||||
|
NumServices: 0,
|
||||||
|
},
|
||||||
|
GoTypes: file_model_dns_domain_proto_goTypes,
|
||||||
|
DependencyIndexes: file_model_dns_domain_proto_depIdxs,
|
||||||
|
MessageInfos: file_model_dns_domain_proto_msgTypes,
|
||||||
|
}.Build()
|
||||||
|
File_model_dns_domain_proto = out.File
|
||||||
|
file_model_dns_domain_proto_rawDesc = nil
|
||||||
|
file_model_dns_domain_proto_goTypes = nil
|
||||||
|
file_model_dns_domain_proto_depIdxs = nil
|
||||||
|
}
|
||||||
@@ -35,8 +35,7 @@ type DNSProvider struct {
|
|||||||
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
|
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
|
||||||
TypeName string `protobuf:"bytes,4,opt,name=typeName,proto3" json:"typeName,omitempty"`
|
TypeName string `protobuf:"bytes,4,opt,name=typeName,proto3" json:"typeName,omitempty"`
|
||||||
ApiParamsJSON []byte `protobuf:"bytes,5,opt,name=apiParamsJSON,proto3" json:"apiParamsJSON,omitempty"`
|
ApiParamsJSON []byte `protobuf:"bytes,5,opt,name=apiParamsJSON,proto3" json:"apiParamsJSON,omitempty"`
|
||||||
RoutesJSON []byte `protobuf:"bytes,6,opt,name=routesJSON,proto3" json:"routesJSON,omitempty"`
|
DataUpdatedAt int64 `protobuf:"varint,6,opt,name=dataUpdatedAt,proto3" json:"dataUpdatedAt,omitempty"`
|
||||||
DataUpdatedAt int64 `protobuf:"varint,7,opt,name=dataUpdatedAt,proto3" json:"dataUpdatedAt,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DNSProvider) Reset() {
|
func (x *DNSProvider) Reset() {
|
||||||
@@ -106,13 +105,6 @@ func (x *DNSProvider) GetApiParamsJSON() []byte {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DNSProvider) GetRoutesJSON() []byte {
|
|
||||||
if x != nil {
|
|
||||||
return x.RoutesJSON
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DNSProvider) GetDataUpdatedAt() int64 {
|
func (x *DNSProvider) GetDataUpdatedAt() int64 {
|
||||||
if x != nil {
|
if x != nil {
|
||||||
return x.DataUpdatedAt
|
return x.DataUpdatedAt
|
||||||
@@ -124,7 +116,7 @@ var File_model_dns_provider_proto protoreflect.FileDescriptor
|
|||||||
|
|
||||||
var file_model_dns_provider_proto_rawDesc = []byte{
|
var file_model_dns_provider_proto_rawDesc = []byte{
|
||||||
0x0a, 0x18, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, 0x6e, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76,
|
0x0a, 0x18, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, 0x6e, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76,
|
||||||
0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xcd,
|
0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xad,
|
||||||
0x01, 0x0a, 0x0b, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x0e,
|
0x01, 0x0a, 0x0b, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x0e,
|
||||||
0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12,
|
0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12,
|
||||||
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
|
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
|
||||||
@@ -133,10 +125,8 @@ var file_model_dns_provider_proto_rawDesc = []byte{
|
|||||||
0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61,
|
0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61,
|
||||||
0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x70, 0x69, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a,
|
0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x70, 0x69, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a,
|
||||||
0x53, 0x4f, 0x4e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x61, 0x70, 0x69, 0x50, 0x61,
|
0x53, 0x4f, 0x4e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x61, 0x70, 0x69, 0x50, 0x61,
|
||||||
0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x6f, 0x75, 0x74,
|
0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x61, 0x74, 0x61,
|
||||||
0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x72, 0x6f,
|
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||||
0x75, 0x74, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x61, 0x74, 0x61,
|
|
||||||
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
||||||
0x0d, 0x64, 0x61, 0x74, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x42, 0x06,
|
0x0d, 0x64, 0x61, 0x74, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x42, 0x06,
|
||||||
0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -101,6 +101,53 @@ func (*RPCDeleteSuccess) Descriptor() ([]byte, []int) {
|
|||||||
return file_rpc_messages_proto_rawDescGZIP(), []int{1}
|
return file_rpc_messages_proto_rawDescGZIP(), []int{1}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type RPCCountResponse struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *RPCCountResponse) Reset() {
|
||||||
|
*x = RPCCountResponse{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_rpc_messages_proto_msgTypes[2]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *RPCCountResponse) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*RPCCountResponse) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *RPCCountResponse) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_rpc_messages_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 RPCCountResponse.ProtoReflect.Descriptor instead.
|
||||||
|
func (*RPCCountResponse) Descriptor() ([]byte, []int) {
|
||||||
|
return file_rpc_messages_proto_rawDescGZIP(), []int{2}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *RPCCountResponse) GetCount() int64 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Count
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
var File_rpc_messages_proto protoreflect.FileDescriptor
|
var File_rpc_messages_proto protoreflect.FileDescriptor
|
||||||
|
|
||||||
var file_rpc_messages_proto_rawDesc = []byte{
|
var file_rpc_messages_proto_rawDesc = []byte{
|
||||||
@@ -108,7 +155,10 @@ var file_rpc_messages_proto_rawDesc = []byte{
|
|||||||
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x12, 0x0a, 0x10, 0x52, 0x50, 0x43, 0x55,
|
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x12, 0x0a, 0x10, 0x52, 0x50, 0x43, 0x55,
|
||||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0x12, 0x0a, 0x10,
|
0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0x12, 0x0a, 0x10,
|
||||||
0x52, 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
|
0x52, 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
|
||||||
0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
0x22, 0x28, 0x0a, 0x10, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70,
|
||||||
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20,
|
||||||
|
0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f,
|
||||||
|
0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@@ -123,10 +173,11 @@ func file_rpc_messages_proto_rawDescGZIP() []byte {
|
|||||||
return file_rpc_messages_proto_rawDescData
|
return file_rpc_messages_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_rpc_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
var file_rpc_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
||||||
var file_rpc_messages_proto_goTypes = []interface{}{
|
var file_rpc_messages_proto_goTypes = []interface{}{
|
||||||
(*RPCUpdateSuccess)(nil), // 0: pb.RPCUpdateSuccess
|
(*RPCUpdateSuccess)(nil), // 0: pb.RPCUpdateSuccess
|
||||||
(*RPCDeleteSuccess)(nil), // 1: pb.RPCDeleteSuccess
|
(*RPCDeleteSuccess)(nil), // 1: pb.RPCDeleteSuccess
|
||||||
|
(*RPCCountResponse)(nil), // 2: pb.RPCCountResponse
|
||||||
}
|
}
|
||||||
var file_rpc_messages_proto_depIdxs = []int32{
|
var file_rpc_messages_proto_depIdxs = []int32{
|
||||||
0, // [0:0] is the sub-list for method output_type
|
0, // [0:0] is the sub-list for method output_type
|
||||||
@@ -166,6 +217,18 @@ func file_rpc_messages_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
file_rpc_messages_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*RPCCountResponse); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
type x struct{}
|
type x struct{}
|
||||||
out := protoimpl.TypeBuilder{
|
out := protoimpl.TypeBuilder{
|
||||||
@@ -173,7 +236,7 @@ func file_rpc_messages_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_rpc_messages_proto_rawDesc,
|
RawDescriptor: file_rpc_messages_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 0,
|
||||||
NumMessages: 2,
|
NumMessages: 3,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 0,
|
NumServices: 0,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -433,53 +433,6 @@ func (*CountAllEnabledAPINodesRequest) Descriptor() ([]byte, []int) {
|
|||||||
return file_service_api_node_proto_rawDescGZIP(), []int{6}
|
return file_service_api_node_proto_rawDescGZIP(), []int{6}
|
||||||
}
|
}
|
||||||
|
|
||||||
type CountAllEnabledAPINodesResponse struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountAllEnabledAPINodesResponse) Reset() {
|
|
||||||
*x = CountAllEnabledAPINodesResponse{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_service_api_node_proto_msgTypes[7]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountAllEnabledAPINodesResponse) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*CountAllEnabledAPINodesResponse) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *CountAllEnabledAPINodesResponse) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_service_api_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 CountAllEnabledAPINodesResponse.ProtoReflect.Descriptor instead.
|
|
||||||
func (*CountAllEnabledAPINodesResponse) Descriptor() ([]byte, []int) {
|
|
||||||
return file_service_api_node_proto_rawDescGZIP(), []int{7}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountAllEnabledAPINodesResponse) GetCount() int64 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Count
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
// 列出单页的API节点
|
// 列出单页的API节点
|
||||||
type ListEnabledAPINodesRequest struct {
|
type ListEnabledAPINodesRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
@@ -493,7 +446,7 @@ type ListEnabledAPINodesRequest struct {
|
|||||||
func (x *ListEnabledAPINodesRequest) Reset() {
|
func (x *ListEnabledAPINodesRequest) Reset() {
|
||||||
*x = ListEnabledAPINodesRequest{}
|
*x = ListEnabledAPINodesRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_api_node_proto_msgTypes[8]
|
mi := &file_service_api_node_proto_msgTypes[7]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -506,7 +459,7 @@ func (x *ListEnabledAPINodesRequest) String() string {
|
|||||||
func (*ListEnabledAPINodesRequest) ProtoMessage() {}
|
func (*ListEnabledAPINodesRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ListEnabledAPINodesRequest) ProtoReflect() protoreflect.Message {
|
func (x *ListEnabledAPINodesRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_api_node_proto_msgTypes[8]
|
mi := &file_service_api_node_proto_msgTypes[7]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -519,7 +472,7 @@ func (x *ListEnabledAPINodesRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use ListEnabledAPINodesRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ListEnabledAPINodesRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*ListEnabledAPINodesRequest) Descriptor() ([]byte, []int) {
|
func (*ListEnabledAPINodesRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_api_node_proto_rawDescGZIP(), []int{8}
|
return file_service_api_node_proto_rawDescGZIP(), []int{7}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListEnabledAPINodesRequest) GetOffset() int64 {
|
func (x *ListEnabledAPINodesRequest) GetOffset() int64 {
|
||||||
@@ -547,7 +500,7 @@ type ListEnabledAPINodesResponse struct {
|
|||||||
func (x *ListEnabledAPINodesResponse) Reset() {
|
func (x *ListEnabledAPINodesResponse) Reset() {
|
||||||
*x = ListEnabledAPINodesResponse{}
|
*x = ListEnabledAPINodesResponse{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_api_node_proto_msgTypes[9]
|
mi := &file_service_api_node_proto_msgTypes[8]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -560,7 +513,7 @@ func (x *ListEnabledAPINodesResponse) String() string {
|
|||||||
func (*ListEnabledAPINodesResponse) ProtoMessage() {}
|
func (*ListEnabledAPINodesResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ListEnabledAPINodesResponse) ProtoReflect() protoreflect.Message {
|
func (x *ListEnabledAPINodesResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_api_node_proto_msgTypes[9]
|
mi := &file_service_api_node_proto_msgTypes[8]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -573,7 +526,7 @@ func (x *ListEnabledAPINodesResponse) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use ListEnabledAPINodesResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ListEnabledAPINodesResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*ListEnabledAPINodesResponse) Descriptor() ([]byte, []int) {
|
func (*ListEnabledAPINodesResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_service_api_node_proto_rawDescGZIP(), []int{9}
|
return file_service_api_node_proto_rawDescGZIP(), []int{8}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListEnabledAPINodesResponse) GetNodes() []*APINode {
|
func (x *ListEnabledAPINodesResponse) GetNodes() []*APINode {
|
||||||
@@ -595,7 +548,7 @@ type FindEnabledAPINodeRequest struct {
|
|||||||
func (x *FindEnabledAPINodeRequest) Reset() {
|
func (x *FindEnabledAPINodeRequest) Reset() {
|
||||||
*x = FindEnabledAPINodeRequest{}
|
*x = FindEnabledAPINodeRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_api_node_proto_msgTypes[10]
|
mi := &file_service_api_node_proto_msgTypes[9]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -608,7 +561,7 @@ func (x *FindEnabledAPINodeRequest) String() string {
|
|||||||
func (*FindEnabledAPINodeRequest) ProtoMessage() {}
|
func (*FindEnabledAPINodeRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *FindEnabledAPINodeRequest) ProtoReflect() protoreflect.Message {
|
func (x *FindEnabledAPINodeRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_api_node_proto_msgTypes[10]
|
mi := &file_service_api_node_proto_msgTypes[9]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -621,7 +574,7 @@ func (x *FindEnabledAPINodeRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use FindEnabledAPINodeRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use FindEnabledAPINodeRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*FindEnabledAPINodeRequest) Descriptor() ([]byte, []int) {
|
func (*FindEnabledAPINodeRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_api_node_proto_rawDescGZIP(), []int{10}
|
return file_service_api_node_proto_rawDescGZIP(), []int{9}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FindEnabledAPINodeRequest) GetNodeId() int64 {
|
func (x *FindEnabledAPINodeRequest) GetNodeId() int64 {
|
||||||
@@ -642,7 +595,7 @@ type FindEnabledAPINodeResponse struct {
|
|||||||
func (x *FindEnabledAPINodeResponse) Reset() {
|
func (x *FindEnabledAPINodeResponse) Reset() {
|
||||||
*x = FindEnabledAPINodeResponse{}
|
*x = FindEnabledAPINodeResponse{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_api_node_proto_msgTypes[11]
|
mi := &file_service_api_node_proto_msgTypes[10]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -655,7 +608,7 @@ func (x *FindEnabledAPINodeResponse) String() string {
|
|||||||
func (*FindEnabledAPINodeResponse) ProtoMessage() {}
|
func (*FindEnabledAPINodeResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *FindEnabledAPINodeResponse) ProtoReflect() protoreflect.Message {
|
func (x *FindEnabledAPINodeResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_api_node_proto_msgTypes[11]
|
mi := &file_service_api_node_proto_msgTypes[10]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -668,7 +621,7 @@ func (x *FindEnabledAPINodeResponse) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use FindEnabledAPINodeResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use FindEnabledAPINodeResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*FindEnabledAPINodeResponse) Descriptor() ([]byte, []int) {
|
func (*FindEnabledAPINodeResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_service_api_node_proto_rawDescGZIP(), []int{11}
|
return file_service_api_node_proto_rawDescGZIP(), []int{10}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FindEnabledAPINodeResponse) GetNode() *APINode {
|
func (x *FindEnabledAPINodeResponse) GetNode() *APINode {
|
||||||
@@ -688,7 +641,7 @@ type FindCurrentAPINodeVersionRequest struct {
|
|||||||
func (x *FindCurrentAPINodeVersionRequest) Reset() {
|
func (x *FindCurrentAPINodeVersionRequest) Reset() {
|
||||||
*x = FindCurrentAPINodeVersionRequest{}
|
*x = FindCurrentAPINodeVersionRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_api_node_proto_msgTypes[12]
|
mi := &file_service_api_node_proto_msgTypes[11]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -701,7 +654,7 @@ func (x *FindCurrentAPINodeVersionRequest) String() string {
|
|||||||
func (*FindCurrentAPINodeVersionRequest) ProtoMessage() {}
|
func (*FindCurrentAPINodeVersionRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *FindCurrentAPINodeVersionRequest) ProtoReflect() protoreflect.Message {
|
func (x *FindCurrentAPINodeVersionRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_api_node_proto_msgTypes[12]
|
mi := &file_service_api_node_proto_msgTypes[11]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -714,7 +667,7 @@ func (x *FindCurrentAPINodeVersionRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use FindCurrentAPINodeVersionRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use FindCurrentAPINodeVersionRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*FindCurrentAPINodeVersionRequest) Descriptor() ([]byte, []int) {
|
func (*FindCurrentAPINodeVersionRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_api_node_proto_rawDescGZIP(), []int{12}
|
return file_service_api_node_proto_rawDescGZIP(), []int{11}
|
||||||
}
|
}
|
||||||
|
|
||||||
type FindCurrentAPINodeVersionResponse struct {
|
type FindCurrentAPINodeVersionResponse struct {
|
||||||
@@ -728,7 +681,7 @@ type FindCurrentAPINodeVersionResponse struct {
|
|||||||
func (x *FindCurrentAPINodeVersionResponse) Reset() {
|
func (x *FindCurrentAPINodeVersionResponse) Reset() {
|
||||||
*x = FindCurrentAPINodeVersionResponse{}
|
*x = FindCurrentAPINodeVersionResponse{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_api_node_proto_msgTypes[13]
|
mi := &file_service_api_node_proto_msgTypes[12]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -741,7 +694,7 @@ func (x *FindCurrentAPINodeVersionResponse) String() string {
|
|||||||
func (*FindCurrentAPINodeVersionResponse) ProtoMessage() {}
|
func (*FindCurrentAPINodeVersionResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *FindCurrentAPINodeVersionResponse) ProtoReflect() protoreflect.Message {
|
func (x *FindCurrentAPINodeVersionResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_api_node_proto_msgTypes[13]
|
mi := &file_service_api_node_proto_msgTypes[12]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -754,7 +707,7 @@ func (x *FindCurrentAPINodeVersionResponse) ProtoReflect() protoreflect.Message
|
|||||||
|
|
||||||
// Deprecated: Use FindCurrentAPINodeVersionResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use FindCurrentAPINodeVersionResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*FindCurrentAPINodeVersionResponse) Descriptor() ([]byte, []int) {
|
func (*FindCurrentAPINodeVersionResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_service_api_node_proto_rawDescGZIP(), []int{13}
|
return file_service_api_node_proto_rawDescGZIP(), []int{12}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FindCurrentAPINodeVersionResponse) GetVersion() string {
|
func (x *FindCurrentAPINodeVersionResponse) GetVersion() string {
|
||||||
@@ -812,77 +765,72 @@ var file_service_api_node_proto_rawDesc = []byte{
|
|||||||
0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f,
|
0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f,
|
||||||
0x64, 0x65, 0x73, 0x22, 0x20, 0x0a, 0x1e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45,
|
0x64, 0x65, 0x73, 0x22, 0x20, 0x0a, 0x1e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45,
|
||||||
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65,
|
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65,
|
||||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x37, 0x0a, 0x1f, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c,
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x48, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61,
|
||||||
0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73,
|
0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
|
||||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e,
|
0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20,
|
||||||
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x48,
|
0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73,
|
||||||
0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49,
|
0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22,
|
||||||
0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06,
|
0x40, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50,
|
||||||
0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66,
|
0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21,
|
||||||
0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01,
|
0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
|
||||||
0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x40, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74,
|
0x70, 0x62, 0x2e, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65,
|
||||||
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52,
|
0x73, 0x22, 0x33, 0x0a, 0x19, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
||||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73,
|
0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16,
|
||||||
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x50, 0x49, 0x4e,
|
0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
|
||||||
0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x33, 0x0a, 0x19, 0x46, 0x69,
|
0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x3d, 0x0a, 0x1a, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e,
|
||||||
0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65,
|
0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70,
|
||||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49,
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
|
||||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22,
|
0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52,
|
||||||
0x3d, 0x0a, 0x1a, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50,
|
0x04, 0x6e, 0x6f, 0x64, 0x65, 0x22, 0x22, 0x0a, 0x20, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x75, 0x72,
|
||||||
0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a,
|
0x72, 0x65, 0x6e, 0x74, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69,
|
||||||
0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62,
|
0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3d, 0x0a, 0x21, 0x46, 0x69, 0x6e,
|
||||||
0x2e, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x22, 0x22,
|
0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x56,
|
||||||
0x0a, 0x20, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x50, 0x49,
|
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18,
|
||||||
0x4e, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
|
0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||||
0x73, 0x74, 0x22, 0x3d, 0x0a, 0x21, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e,
|
0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0xa5, 0x05, 0x0a, 0x0e, 0x41, 0x50, 0x49,
|
||||||
0x74, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52,
|
0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x63,
|
||||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69,
|
0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x2e, 0x70,
|
||||||
0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
|
0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52,
|
||||||
0x6e, 0x32, 0xb4, 0x05, 0x0a, 0x0e, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x72,
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61,
|
||||||
0x76, 0x69, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x50,
|
0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||||
0x49, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74,
|
0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f,
|
||||||
0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
0x64, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x50,
|
||||||
0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f,
|
0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70,
|
||||||
0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x75, 0x70,
|
0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65,
|
||||||
0x64, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x62,
|
0x73, 0x73, 0x12, 0x3f, 0x0a, 0x0d, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e,
|
||||||
0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65,
|
0x6f, 0x64, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41,
|
||||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70,
|
0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e,
|
||||||
0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3f, 0x0a, 0x0d, 0x64,
|
0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63,
|
||||||
0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x2e, 0x70,
|
0x65, 0x73, 0x73, 0x12, 0x5f, 0x0a, 0x16, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e,
|
||||||
0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52,
|
0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x21, 0x2e,
|
||||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x44,
|
0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
||||||
0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x5f, 0x0a, 0x16,
|
0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||||
0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50,
|
0x1a, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61,
|
||||||
0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64,
|
0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70,
|
||||||
0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64,
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x17, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c,
|
||||||
0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46,
|
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12,
|
||||||
0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49,
|
0x22, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61,
|
||||||
0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a,
|
0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
|
||||||
0x17, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e,
|
||||||
0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f,
|
0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x13, 0x6c, 0x69, 0x73,
|
||||||
0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49,
|
0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73,
|
||||||
0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70,
|
0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
||||||
0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||||
|
0x1a, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
||||||
0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||||
0x65, 0x12, 0x56, 0x0a, 0x13, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
0x65, 0x12, 0x53, 0x0a, 0x12, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
||||||
0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69,
|
0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e,
|
||||||
0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65,
|
0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52,
|
||||||
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69,
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64,
|
||||||
0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65,
|
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65,
|
||||||
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x12, 0x66, 0x69, 0x6e,
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x19, 0x66, 0x69, 0x6e, 0x64, 0x43, 0x75,
|
||||||
0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x12,
|
0x72, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73,
|
||||||
0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x75, 0x72,
|
||||||
0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e,
|
0x72, 0x65, 0x6e, 0x74, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69,
|
||||||
0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41,
|
0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x46,
|
||||||
0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68,
|
0x69, 0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64,
|
||||||
0x0a, 0x19, 0x66, 0x69, 0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x50, 0x49,
|
0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||||
0x4e, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x70, 0x62,
|
0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x50, 0x49, 0x4e,
|
|
||||||
0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
||||||
0x74, 0x1a, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65,
|
|
||||||
0x6e, 0x74, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
|
|
||||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62,
|
|
||||||
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@@ -897,7 +845,7 @@ func file_service_api_node_proto_rawDescGZIP() []byte {
|
|||||||
return file_service_api_node_proto_rawDescData
|
return file_service_api_node_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_service_api_node_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
var file_service_api_node_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
||||||
var file_service_api_node_proto_goTypes = []interface{}{
|
var file_service_api_node_proto_goTypes = []interface{}{
|
||||||
(*CreateAPINodeRequest)(nil), // 0: pb.CreateAPINodeRequest
|
(*CreateAPINodeRequest)(nil), // 0: pb.CreateAPINodeRequest
|
||||||
(*CreateAPINodeResponse)(nil), // 1: pb.CreateAPINodeResponse
|
(*CreateAPINodeResponse)(nil), // 1: pb.CreateAPINodeResponse
|
||||||
@@ -906,37 +854,37 @@ var file_service_api_node_proto_goTypes = []interface{}{
|
|||||||
(*FindAllEnabledAPINodesRequest)(nil), // 4: pb.FindAllEnabledAPINodesRequest
|
(*FindAllEnabledAPINodesRequest)(nil), // 4: pb.FindAllEnabledAPINodesRequest
|
||||||
(*FindAllEnabledAPINodesResponse)(nil), // 5: pb.FindAllEnabledAPINodesResponse
|
(*FindAllEnabledAPINodesResponse)(nil), // 5: pb.FindAllEnabledAPINodesResponse
|
||||||
(*CountAllEnabledAPINodesRequest)(nil), // 6: pb.CountAllEnabledAPINodesRequest
|
(*CountAllEnabledAPINodesRequest)(nil), // 6: pb.CountAllEnabledAPINodesRequest
|
||||||
(*CountAllEnabledAPINodesResponse)(nil), // 7: pb.CountAllEnabledAPINodesResponse
|
(*ListEnabledAPINodesRequest)(nil), // 7: pb.ListEnabledAPINodesRequest
|
||||||
(*ListEnabledAPINodesRequest)(nil), // 8: pb.ListEnabledAPINodesRequest
|
(*ListEnabledAPINodesResponse)(nil), // 8: pb.ListEnabledAPINodesResponse
|
||||||
(*ListEnabledAPINodesResponse)(nil), // 9: pb.ListEnabledAPINodesResponse
|
(*FindEnabledAPINodeRequest)(nil), // 9: pb.FindEnabledAPINodeRequest
|
||||||
(*FindEnabledAPINodeRequest)(nil), // 10: pb.FindEnabledAPINodeRequest
|
(*FindEnabledAPINodeResponse)(nil), // 10: pb.FindEnabledAPINodeResponse
|
||||||
(*FindEnabledAPINodeResponse)(nil), // 11: pb.FindEnabledAPINodeResponse
|
(*FindCurrentAPINodeVersionRequest)(nil), // 11: pb.FindCurrentAPINodeVersionRequest
|
||||||
(*FindCurrentAPINodeVersionRequest)(nil), // 12: pb.FindCurrentAPINodeVersionRequest
|
(*FindCurrentAPINodeVersionResponse)(nil), // 12: pb.FindCurrentAPINodeVersionResponse
|
||||||
(*FindCurrentAPINodeVersionResponse)(nil), // 13: pb.FindCurrentAPINodeVersionResponse
|
(*APINode)(nil), // 13: pb.APINode
|
||||||
(*APINode)(nil), // 14: pb.APINode
|
(*RPCUpdateSuccess)(nil), // 14: pb.RPCUpdateSuccess
|
||||||
(*RPCUpdateSuccess)(nil), // 15: pb.RPCUpdateSuccess
|
(*RPCDeleteSuccess)(nil), // 15: pb.RPCDeleteSuccess
|
||||||
(*RPCDeleteSuccess)(nil), // 16: pb.RPCDeleteSuccess
|
(*RPCCountResponse)(nil), // 16: pb.RPCCountResponse
|
||||||
}
|
}
|
||||||
var file_service_api_node_proto_depIdxs = []int32{
|
var file_service_api_node_proto_depIdxs = []int32{
|
||||||
14, // 0: pb.FindAllEnabledAPINodesResponse.nodes:type_name -> pb.APINode
|
13, // 0: pb.FindAllEnabledAPINodesResponse.nodes:type_name -> pb.APINode
|
||||||
14, // 1: pb.ListEnabledAPINodesResponse.nodes:type_name -> pb.APINode
|
13, // 1: pb.ListEnabledAPINodesResponse.nodes:type_name -> pb.APINode
|
||||||
14, // 2: pb.FindEnabledAPINodeResponse.node:type_name -> pb.APINode
|
13, // 2: pb.FindEnabledAPINodeResponse.node:type_name -> pb.APINode
|
||||||
0, // 3: pb.APINodeService.createAPINode:input_type -> pb.CreateAPINodeRequest
|
0, // 3: pb.APINodeService.createAPINode:input_type -> pb.CreateAPINodeRequest
|
||||||
2, // 4: pb.APINodeService.updateAPINode:input_type -> pb.UpdateAPINodeRequest
|
2, // 4: pb.APINodeService.updateAPINode:input_type -> pb.UpdateAPINodeRequest
|
||||||
3, // 5: pb.APINodeService.deleteAPINode:input_type -> pb.DeleteAPINodeRequest
|
3, // 5: pb.APINodeService.deleteAPINode:input_type -> pb.DeleteAPINodeRequest
|
||||||
4, // 6: pb.APINodeService.findAllEnabledAPINodes:input_type -> pb.FindAllEnabledAPINodesRequest
|
4, // 6: pb.APINodeService.findAllEnabledAPINodes:input_type -> pb.FindAllEnabledAPINodesRequest
|
||||||
6, // 7: pb.APINodeService.countAllEnabledAPINodes:input_type -> pb.CountAllEnabledAPINodesRequest
|
6, // 7: pb.APINodeService.countAllEnabledAPINodes:input_type -> pb.CountAllEnabledAPINodesRequest
|
||||||
8, // 8: pb.APINodeService.listEnabledAPINodes:input_type -> pb.ListEnabledAPINodesRequest
|
7, // 8: pb.APINodeService.listEnabledAPINodes:input_type -> pb.ListEnabledAPINodesRequest
|
||||||
10, // 9: pb.APINodeService.findEnabledAPINode:input_type -> pb.FindEnabledAPINodeRequest
|
9, // 9: pb.APINodeService.findEnabledAPINode:input_type -> pb.FindEnabledAPINodeRequest
|
||||||
12, // 10: pb.APINodeService.findCurrentAPINodeVersion:input_type -> pb.FindCurrentAPINodeVersionRequest
|
11, // 10: pb.APINodeService.findCurrentAPINodeVersion:input_type -> pb.FindCurrentAPINodeVersionRequest
|
||||||
1, // 11: pb.APINodeService.createAPINode:output_type -> pb.CreateAPINodeResponse
|
1, // 11: pb.APINodeService.createAPINode:output_type -> pb.CreateAPINodeResponse
|
||||||
15, // 12: pb.APINodeService.updateAPINode:output_type -> pb.RPCUpdateSuccess
|
14, // 12: pb.APINodeService.updateAPINode:output_type -> pb.RPCUpdateSuccess
|
||||||
16, // 13: pb.APINodeService.deleteAPINode:output_type -> pb.RPCDeleteSuccess
|
15, // 13: pb.APINodeService.deleteAPINode:output_type -> pb.RPCDeleteSuccess
|
||||||
5, // 14: pb.APINodeService.findAllEnabledAPINodes:output_type -> pb.FindAllEnabledAPINodesResponse
|
5, // 14: pb.APINodeService.findAllEnabledAPINodes:output_type -> pb.FindAllEnabledAPINodesResponse
|
||||||
7, // 15: pb.APINodeService.countAllEnabledAPINodes:output_type -> pb.CountAllEnabledAPINodesResponse
|
16, // 15: pb.APINodeService.countAllEnabledAPINodes:output_type -> pb.RPCCountResponse
|
||||||
9, // 16: pb.APINodeService.listEnabledAPINodes:output_type -> pb.ListEnabledAPINodesResponse
|
8, // 16: pb.APINodeService.listEnabledAPINodes:output_type -> pb.ListEnabledAPINodesResponse
|
||||||
11, // 17: pb.APINodeService.findEnabledAPINode:output_type -> pb.FindEnabledAPINodeResponse
|
10, // 17: pb.APINodeService.findEnabledAPINode:output_type -> pb.FindEnabledAPINodeResponse
|
||||||
13, // 18: pb.APINodeService.findCurrentAPINodeVersion:output_type -> pb.FindCurrentAPINodeVersionResponse
|
12, // 18: pb.APINodeService.findCurrentAPINodeVersion:output_type -> pb.FindCurrentAPINodeVersionResponse
|
||||||
11, // [11:19] is the sub-list for method output_type
|
11, // [11:19] is the sub-list for method output_type
|
||||||
3, // [3:11] is the sub-list for method input_type
|
3, // [3:11] is the sub-list for method input_type
|
||||||
3, // [3:3] is the sub-list for extension type_name
|
3, // [3:3] is the sub-list for extension type_name
|
||||||
@@ -1037,18 +985,6 @@ func file_service_api_node_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_api_node_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
file_service_api_node_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*CountAllEnabledAPINodesResponse); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_service_api_node_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*ListEnabledAPINodesRequest); i {
|
switch v := v.(*ListEnabledAPINodesRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1060,7 +996,7 @@ func file_service_api_node_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_api_node_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
file_service_api_node_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ListEnabledAPINodesResponse); i {
|
switch v := v.(*ListEnabledAPINodesResponse); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1072,7 +1008,7 @@ func file_service_api_node_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_api_node_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
file_service_api_node_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*FindEnabledAPINodeRequest); i {
|
switch v := v.(*FindEnabledAPINodeRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1084,7 +1020,7 @@ func file_service_api_node_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_api_node_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
file_service_api_node_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*FindEnabledAPINodeResponse); i {
|
switch v := v.(*FindEnabledAPINodeResponse); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1096,7 +1032,7 @@ func file_service_api_node_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_api_node_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
file_service_api_node_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*FindCurrentAPINodeVersionRequest); i {
|
switch v := v.(*FindCurrentAPINodeVersionRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1108,7 +1044,7 @@ func file_service_api_node_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_api_node_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
file_service_api_node_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*FindCurrentAPINodeVersionResponse); i {
|
switch v := v.(*FindCurrentAPINodeVersionResponse); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1127,7 +1063,7 @@ func file_service_api_node_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_service_api_node_proto_rawDesc,
|
RawDescriptor: file_service_api_node_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 0,
|
||||||
NumMessages: 14,
|
NumMessages: 13,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 1,
|
NumServices: 1,
|
||||||
},
|
},
|
||||||
@@ -1162,7 +1098,7 @@ type APINodeServiceClient interface {
|
|||||||
// 列出所有可用API节点
|
// 列出所有可用API节点
|
||||||
FindAllEnabledAPINodes(ctx context.Context, in *FindAllEnabledAPINodesRequest, opts ...grpc.CallOption) (*FindAllEnabledAPINodesResponse, error)
|
FindAllEnabledAPINodes(ctx context.Context, in *FindAllEnabledAPINodesRequest, opts ...grpc.CallOption) (*FindAllEnabledAPINodesResponse, error)
|
||||||
// 计算API节点数量
|
// 计算API节点数量
|
||||||
CountAllEnabledAPINodes(ctx context.Context, in *CountAllEnabledAPINodesRequest, opts ...grpc.CallOption) (*CountAllEnabledAPINodesResponse, error)
|
CountAllEnabledAPINodes(ctx context.Context, in *CountAllEnabledAPINodesRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
|
||||||
// 列出单页的API节点
|
// 列出单页的API节点
|
||||||
ListEnabledAPINodes(ctx context.Context, in *ListEnabledAPINodesRequest, opts ...grpc.CallOption) (*ListEnabledAPINodesResponse, error)
|
ListEnabledAPINodes(ctx context.Context, in *ListEnabledAPINodesRequest, opts ...grpc.CallOption) (*ListEnabledAPINodesResponse, error)
|
||||||
// 根据ID查找节点
|
// 根据ID查找节点
|
||||||
@@ -1215,8 +1151,8 @@ func (c *aPINodeServiceClient) FindAllEnabledAPINodes(ctx context.Context, in *F
|
|||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *aPINodeServiceClient) CountAllEnabledAPINodes(ctx context.Context, in *CountAllEnabledAPINodesRequest, opts ...grpc.CallOption) (*CountAllEnabledAPINodesResponse, error) {
|
func (c *aPINodeServiceClient) CountAllEnabledAPINodes(ctx context.Context, in *CountAllEnabledAPINodesRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
|
||||||
out := new(CountAllEnabledAPINodesResponse)
|
out := new(RPCCountResponse)
|
||||||
err := c.cc.Invoke(ctx, "/pb.APINodeService/countAllEnabledAPINodes", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/pb.APINodeService/countAllEnabledAPINodes", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
@@ -1262,7 +1198,7 @@ type APINodeServiceServer interface {
|
|||||||
// 列出所有可用API节点
|
// 列出所有可用API节点
|
||||||
FindAllEnabledAPINodes(context.Context, *FindAllEnabledAPINodesRequest) (*FindAllEnabledAPINodesResponse, error)
|
FindAllEnabledAPINodes(context.Context, *FindAllEnabledAPINodesRequest) (*FindAllEnabledAPINodesResponse, error)
|
||||||
// 计算API节点数量
|
// 计算API节点数量
|
||||||
CountAllEnabledAPINodes(context.Context, *CountAllEnabledAPINodesRequest) (*CountAllEnabledAPINodesResponse, error)
|
CountAllEnabledAPINodes(context.Context, *CountAllEnabledAPINodesRequest) (*RPCCountResponse, error)
|
||||||
// 列出单页的API节点
|
// 列出单页的API节点
|
||||||
ListEnabledAPINodes(context.Context, *ListEnabledAPINodesRequest) (*ListEnabledAPINodesResponse, error)
|
ListEnabledAPINodes(context.Context, *ListEnabledAPINodesRequest) (*ListEnabledAPINodesResponse, error)
|
||||||
// 根据ID查找节点
|
// 根据ID查找节点
|
||||||
@@ -1287,7 +1223,7 @@ func (*UnimplementedAPINodeServiceServer) DeleteAPINode(context.Context, *Delete
|
|||||||
func (*UnimplementedAPINodeServiceServer) FindAllEnabledAPINodes(context.Context, *FindAllEnabledAPINodesRequest) (*FindAllEnabledAPINodesResponse, error) {
|
func (*UnimplementedAPINodeServiceServer) FindAllEnabledAPINodes(context.Context, *FindAllEnabledAPINodesRequest) (*FindAllEnabledAPINodesResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method FindAllEnabledAPINodes not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method FindAllEnabledAPINodes not implemented")
|
||||||
}
|
}
|
||||||
func (*UnimplementedAPINodeServiceServer) CountAllEnabledAPINodes(context.Context, *CountAllEnabledAPINodesRequest) (*CountAllEnabledAPINodesResponse, error) {
|
func (*UnimplementedAPINodeServiceServer) CountAllEnabledAPINodes(context.Context, *CountAllEnabledAPINodesRequest) (*RPCCountResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledAPINodes not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledAPINodes not implemented")
|
||||||
}
|
}
|
||||||
func (*UnimplementedAPINodeServiceServer) ListEnabledAPINodes(context.Context, *ListEnabledAPINodesRequest) (*ListEnabledAPINodesResponse, error) {
|
func (*UnimplementedAPINodeServiceServer) ListEnabledAPINodes(context.Context, *ListEnabledAPINodesRequest) (*ListEnabledAPINodesResponse, error) {
|
||||||
|
|||||||
@@ -395,53 +395,6 @@ func (*CountAllEnabledDBNodesRequest) Descriptor() ([]byte, []int) {
|
|||||||
return file_service_db_node_proto_rawDescGZIP(), []int{4}
|
return file_service_db_node_proto_rawDescGZIP(), []int{4}
|
||||||
}
|
}
|
||||||
|
|
||||||
type CountAllEnabledDBNodesResponse struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountAllEnabledDBNodesResponse) Reset() {
|
|
||||||
*x = CountAllEnabledDBNodesResponse{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_service_db_node_proto_msgTypes[5]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountAllEnabledDBNodesResponse) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*CountAllEnabledDBNodesResponse) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *CountAllEnabledDBNodesResponse) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_service_db_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 CountAllEnabledDBNodesResponse.ProtoReflect.Descriptor instead.
|
|
||||||
func (*CountAllEnabledDBNodesResponse) Descriptor() ([]byte, []int) {
|
|
||||||
return file_service_db_node_proto_rawDescGZIP(), []int{5}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountAllEnabledDBNodesResponse) GetCount() int64 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Count
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
// 列出单页的数据库节点
|
// 列出单页的数据库节点
|
||||||
type ListEnabledDBNodesRequest struct {
|
type ListEnabledDBNodesRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
@@ -455,7 +408,7 @@ type ListEnabledDBNodesRequest struct {
|
|||||||
func (x *ListEnabledDBNodesRequest) Reset() {
|
func (x *ListEnabledDBNodesRequest) Reset() {
|
||||||
*x = ListEnabledDBNodesRequest{}
|
*x = ListEnabledDBNodesRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_db_node_proto_msgTypes[6]
|
mi := &file_service_db_node_proto_msgTypes[5]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -468,7 +421,7 @@ func (x *ListEnabledDBNodesRequest) String() string {
|
|||||||
func (*ListEnabledDBNodesRequest) ProtoMessage() {}
|
func (*ListEnabledDBNodesRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ListEnabledDBNodesRequest) ProtoReflect() protoreflect.Message {
|
func (x *ListEnabledDBNodesRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_db_node_proto_msgTypes[6]
|
mi := &file_service_db_node_proto_msgTypes[5]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -481,7 +434,7 @@ func (x *ListEnabledDBNodesRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use ListEnabledDBNodesRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ListEnabledDBNodesRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*ListEnabledDBNodesRequest) Descriptor() ([]byte, []int) {
|
func (*ListEnabledDBNodesRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_db_node_proto_rawDescGZIP(), []int{6}
|
return file_service_db_node_proto_rawDescGZIP(), []int{5}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListEnabledDBNodesRequest) GetOffset() int64 {
|
func (x *ListEnabledDBNodesRequest) GetOffset() int64 {
|
||||||
@@ -509,7 +462,7 @@ type ListEnabledDBNodesResponse struct {
|
|||||||
func (x *ListEnabledDBNodesResponse) Reset() {
|
func (x *ListEnabledDBNodesResponse) Reset() {
|
||||||
*x = ListEnabledDBNodesResponse{}
|
*x = ListEnabledDBNodesResponse{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_db_node_proto_msgTypes[7]
|
mi := &file_service_db_node_proto_msgTypes[6]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -522,7 +475,7 @@ func (x *ListEnabledDBNodesResponse) String() string {
|
|||||||
func (*ListEnabledDBNodesResponse) ProtoMessage() {}
|
func (*ListEnabledDBNodesResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ListEnabledDBNodesResponse) ProtoReflect() protoreflect.Message {
|
func (x *ListEnabledDBNodesResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_db_node_proto_msgTypes[7]
|
mi := &file_service_db_node_proto_msgTypes[6]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -535,7 +488,7 @@ func (x *ListEnabledDBNodesResponse) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use ListEnabledDBNodesResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ListEnabledDBNodesResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*ListEnabledDBNodesResponse) Descriptor() ([]byte, []int) {
|
func (*ListEnabledDBNodesResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_service_db_node_proto_rawDescGZIP(), []int{7}
|
return file_service_db_node_proto_rawDescGZIP(), []int{6}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListEnabledDBNodesResponse) GetNodes() []*DBNode {
|
func (x *ListEnabledDBNodesResponse) GetNodes() []*DBNode {
|
||||||
@@ -557,7 +510,7 @@ type FindEnabledDBNodeRequest struct {
|
|||||||
func (x *FindEnabledDBNodeRequest) Reset() {
|
func (x *FindEnabledDBNodeRequest) Reset() {
|
||||||
*x = FindEnabledDBNodeRequest{}
|
*x = FindEnabledDBNodeRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_db_node_proto_msgTypes[8]
|
mi := &file_service_db_node_proto_msgTypes[7]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -570,7 +523,7 @@ func (x *FindEnabledDBNodeRequest) String() string {
|
|||||||
func (*FindEnabledDBNodeRequest) ProtoMessage() {}
|
func (*FindEnabledDBNodeRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *FindEnabledDBNodeRequest) ProtoReflect() protoreflect.Message {
|
func (x *FindEnabledDBNodeRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_db_node_proto_msgTypes[8]
|
mi := &file_service_db_node_proto_msgTypes[7]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -583,7 +536,7 @@ func (x *FindEnabledDBNodeRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use FindEnabledDBNodeRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use FindEnabledDBNodeRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*FindEnabledDBNodeRequest) Descriptor() ([]byte, []int) {
|
func (*FindEnabledDBNodeRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_db_node_proto_rawDescGZIP(), []int{8}
|
return file_service_db_node_proto_rawDescGZIP(), []int{7}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FindEnabledDBNodeRequest) GetNodeId() int64 {
|
func (x *FindEnabledDBNodeRequest) GetNodeId() int64 {
|
||||||
@@ -604,7 +557,7 @@ type FindEnabledDBNodeResponse struct {
|
|||||||
func (x *FindEnabledDBNodeResponse) Reset() {
|
func (x *FindEnabledDBNodeResponse) Reset() {
|
||||||
*x = FindEnabledDBNodeResponse{}
|
*x = FindEnabledDBNodeResponse{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_db_node_proto_msgTypes[9]
|
mi := &file_service_db_node_proto_msgTypes[8]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -617,7 +570,7 @@ func (x *FindEnabledDBNodeResponse) String() string {
|
|||||||
func (*FindEnabledDBNodeResponse) ProtoMessage() {}
|
func (*FindEnabledDBNodeResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *FindEnabledDBNodeResponse) ProtoReflect() protoreflect.Message {
|
func (x *FindEnabledDBNodeResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_db_node_proto_msgTypes[9]
|
mi := &file_service_db_node_proto_msgTypes[8]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -630,7 +583,7 @@ func (x *FindEnabledDBNodeResponse) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use FindEnabledDBNodeResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use FindEnabledDBNodeResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*FindEnabledDBNodeResponse) Descriptor() ([]byte, []int) {
|
func (*FindEnabledDBNodeResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_service_db_node_proto_rawDescGZIP(), []int{9}
|
return file_service_db_node_proto_rawDescGZIP(), []int{8}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FindEnabledDBNodeResponse) GetNode() *DBNode {
|
func (x *FindEnabledDBNodeResponse) GetNode() *DBNode {
|
||||||
@@ -687,57 +640,53 @@ var file_service_db_node_proto_rawDesc = []byte{
|
|||||||
0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20,
|
0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20,
|
||||||
0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x1f, 0x0a, 0x1d, 0x43,
|
0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x1f, 0x0a, 0x1d, 0x43,
|
||||||
0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42,
|
0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42,
|
||||||
0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x36, 0x0a, 0x1e,
|
0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x47, 0x0a, 0x19,
|
||||||
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44,
|
0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64,
|
||||||
0x42, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14,
|
0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66,
|
||||||
0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63,
|
0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65,
|
||||||
0x6f, 0x75, 0x6e, 0x74, 0x22, 0x47, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62,
|
0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||||
|
0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x3e, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61,
|
||||||
|
0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||||
|
0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03,
|
||||||
|
0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05,
|
||||||
|
0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x32, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61,
|
||||||
|
0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||||
|
0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||||
|
0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x3b, 0x0a, 0x19, 0x46, 0x69, 0x6e,
|
||||||
|
0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65,
|
||||||
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01,
|
||||||
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65,
|
||||||
|
0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x32, 0xca, 0x03, 0x0a, 0x0d, 0x44, 0x42, 0x4e, 0x6f, 0x64,
|
||||||
|
0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61,
|
||||||
|
0x74, 0x65, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72,
|
||||||
|
0x65, 0x61, 0x74, 0x65, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||||
|
0x74, 0x1a, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x42, 0x4e,
|
||||||
|
0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0c, 0x75,
|
||||||
|
0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x17, 0x2e, 0x70, 0x62,
|
||||||
|
0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71,
|
||||||
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64,
|
||||||
|
0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x64, 0x65,
|
||||||
|
0x6c, 0x65, 0x74, 0x65, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e,
|
||||||
|
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75,
|
||||||
|
0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65,
|
||||||
|
0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x51, 0x0a, 0x16, 0x63, 0x6f, 0x75,
|
||||||
|
0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f,
|
||||||
|
0x64, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c,
|
||||||
|
0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 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, 0x53, 0x0a, 0x12,
|
||||||
|
0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64,
|
||||||
|
0x65, 0x73, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62,
|
||||||
0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
0x6c, 0x65, 0x64, 0x44, 0x42, 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,
|
0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
||||||
0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a,
|
0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||||
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x3e, 0x0a,
|
0x65, 0x12, 0x50, 0x0a, 0x11, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
||||||
0x1a, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f,
|
0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64,
|
||||||
0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x05, 0x6e,
|
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71,
|
||||||
0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e,
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e,
|
||||||
0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x32, 0x0a,
|
0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||||
0x18, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f,
|
0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
||||||
0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64,
|
0x74, 0x6f, 0x33,
|
||||||
0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49,
|
|
||||||
0x64, 0x22, 0x3b, 0x0a, 0x19, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
|
||||||
0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e,
|
|
||||||
0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70,
|
|
||||||
0x62, 0x2e, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x32, 0xd8,
|
|
||||||
0x03, 0x0a, 0x0d, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
|
|
||||||
0x12, 0x41, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65,
|
|
||||||
0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x42, 0x4e, 0x6f,
|
|
||||||
0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43,
|
|
||||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
||||||
0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x42, 0x4e,
|
|
||||||
0x6f, 0x64, 0x65, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44,
|
|
||||||
0x42, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70,
|
|
||||||
0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65,
|
|
||||||
0x73, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x42, 0x4e, 0x6f,
|
|
||||||
0x64, 0x65, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x42,
|
|
||||||
0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62,
|
|
||||||
0x2e, 0x52, 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73,
|
|
||||||
0x73, 0x12, 0x5f, 0x0a, 0x16, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61,
|
|
||||||
0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x70, 0x62,
|
|
||||||
0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
|
||||||
0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22,
|
|
||||||
0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62,
|
|
||||||
0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
||||||
0x73, 0x65, 0x12, 0x53, 0x0a, 0x12, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
|
||||||
0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69,
|
|
||||||
0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x73,
|
|
||||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73,
|
|
||||||
0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52,
|
|
||||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x66, 0x69, 0x6e, 0x64, 0x45,
|
|
||||||
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x1c, 0x2e, 0x70,
|
|
||||||
0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e,
|
|
||||||
0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e,
|
|
||||||
0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64,
|
|
||||||
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70,
|
|
||||||
0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@@ -752,37 +701,37 @@ func file_service_db_node_proto_rawDescGZIP() []byte {
|
|||||||
return file_service_db_node_proto_rawDescData
|
return file_service_db_node_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_service_db_node_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
var file_service_db_node_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
||||||
var file_service_db_node_proto_goTypes = []interface{}{
|
var file_service_db_node_proto_goTypes = []interface{}{
|
||||||
(*CreateDBNodeRequest)(nil), // 0: pb.CreateDBNodeRequest
|
(*CreateDBNodeRequest)(nil), // 0: pb.CreateDBNodeRequest
|
||||||
(*CreateDBNodeResponse)(nil), // 1: pb.CreateDBNodeResponse
|
(*CreateDBNodeResponse)(nil), // 1: pb.CreateDBNodeResponse
|
||||||
(*UpdateDBNodeRequest)(nil), // 2: pb.UpdateDBNodeRequest
|
(*UpdateDBNodeRequest)(nil), // 2: pb.UpdateDBNodeRequest
|
||||||
(*DeleteDBNodeRequest)(nil), // 3: pb.DeleteDBNodeRequest
|
(*DeleteDBNodeRequest)(nil), // 3: pb.DeleteDBNodeRequest
|
||||||
(*CountAllEnabledDBNodesRequest)(nil), // 4: pb.CountAllEnabledDBNodesRequest
|
(*CountAllEnabledDBNodesRequest)(nil), // 4: pb.CountAllEnabledDBNodesRequest
|
||||||
(*CountAllEnabledDBNodesResponse)(nil), // 5: pb.CountAllEnabledDBNodesResponse
|
(*ListEnabledDBNodesRequest)(nil), // 5: pb.ListEnabledDBNodesRequest
|
||||||
(*ListEnabledDBNodesRequest)(nil), // 6: pb.ListEnabledDBNodesRequest
|
(*ListEnabledDBNodesResponse)(nil), // 6: pb.ListEnabledDBNodesResponse
|
||||||
(*ListEnabledDBNodesResponse)(nil), // 7: pb.ListEnabledDBNodesResponse
|
(*FindEnabledDBNodeRequest)(nil), // 7: pb.FindEnabledDBNodeRequest
|
||||||
(*FindEnabledDBNodeRequest)(nil), // 8: pb.FindEnabledDBNodeRequest
|
(*FindEnabledDBNodeResponse)(nil), // 8: pb.FindEnabledDBNodeResponse
|
||||||
(*FindEnabledDBNodeResponse)(nil), // 9: pb.FindEnabledDBNodeResponse
|
(*DBNode)(nil), // 9: pb.DBNode
|
||||||
(*DBNode)(nil), // 10: pb.DBNode
|
(*RPCUpdateSuccess)(nil), // 10: pb.RPCUpdateSuccess
|
||||||
(*RPCUpdateSuccess)(nil), // 11: pb.RPCUpdateSuccess
|
(*RPCDeleteSuccess)(nil), // 11: pb.RPCDeleteSuccess
|
||||||
(*RPCDeleteSuccess)(nil), // 12: pb.RPCDeleteSuccess
|
(*RPCCountResponse)(nil), // 12: pb.RPCCountResponse
|
||||||
}
|
}
|
||||||
var file_service_db_node_proto_depIdxs = []int32{
|
var file_service_db_node_proto_depIdxs = []int32{
|
||||||
10, // 0: pb.ListEnabledDBNodesResponse.nodes:type_name -> pb.DBNode
|
9, // 0: pb.ListEnabledDBNodesResponse.nodes:type_name -> pb.DBNode
|
||||||
10, // 1: pb.FindEnabledDBNodeResponse.node:type_name -> pb.DBNode
|
9, // 1: pb.FindEnabledDBNodeResponse.node:type_name -> pb.DBNode
|
||||||
0, // 2: pb.DBNodeService.createDBNode:input_type -> pb.CreateDBNodeRequest
|
0, // 2: pb.DBNodeService.createDBNode:input_type -> pb.CreateDBNodeRequest
|
||||||
2, // 3: pb.DBNodeService.updateDBNode:input_type -> pb.UpdateDBNodeRequest
|
2, // 3: pb.DBNodeService.updateDBNode:input_type -> pb.UpdateDBNodeRequest
|
||||||
3, // 4: pb.DBNodeService.deleteDBNode:input_type -> pb.DeleteDBNodeRequest
|
3, // 4: pb.DBNodeService.deleteDBNode:input_type -> pb.DeleteDBNodeRequest
|
||||||
4, // 5: pb.DBNodeService.countAllEnabledDBNodes:input_type -> pb.CountAllEnabledDBNodesRequest
|
4, // 5: pb.DBNodeService.countAllEnabledDBNodes:input_type -> pb.CountAllEnabledDBNodesRequest
|
||||||
6, // 6: pb.DBNodeService.listEnabledDBNodes:input_type -> pb.ListEnabledDBNodesRequest
|
5, // 6: pb.DBNodeService.listEnabledDBNodes:input_type -> pb.ListEnabledDBNodesRequest
|
||||||
8, // 7: pb.DBNodeService.findEnabledDBNode:input_type -> pb.FindEnabledDBNodeRequest
|
7, // 7: pb.DBNodeService.findEnabledDBNode:input_type -> pb.FindEnabledDBNodeRequest
|
||||||
1, // 8: pb.DBNodeService.createDBNode:output_type -> pb.CreateDBNodeResponse
|
1, // 8: pb.DBNodeService.createDBNode:output_type -> pb.CreateDBNodeResponse
|
||||||
11, // 9: pb.DBNodeService.updateDBNode:output_type -> pb.RPCUpdateSuccess
|
10, // 9: pb.DBNodeService.updateDBNode:output_type -> pb.RPCUpdateSuccess
|
||||||
12, // 10: pb.DBNodeService.deleteDBNode:output_type -> pb.RPCDeleteSuccess
|
11, // 10: pb.DBNodeService.deleteDBNode:output_type -> pb.RPCDeleteSuccess
|
||||||
5, // 11: pb.DBNodeService.countAllEnabledDBNodes:output_type -> pb.CountAllEnabledDBNodesResponse
|
12, // 11: pb.DBNodeService.countAllEnabledDBNodes:output_type -> pb.RPCCountResponse
|
||||||
7, // 12: pb.DBNodeService.listEnabledDBNodes:output_type -> pb.ListEnabledDBNodesResponse
|
6, // 12: pb.DBNodeService.listEnabledDBNodes:output_type -> pb.ListEnabledDBNodesResponse
|
||||||
9, // 13: pb.DBNodeService.findEnabledDBNode:output_type -> pb.FindEnabledDBNodeResponse
|
8, // 13: pb.DBNodeService.findEnabledDBNode:output_type -> pb.FindEnabledDBNodeResponse
|
||||||
8, // [8:14] is the sub-list for method output_type
|
8, // [8:14] is the sub-list for method output_type
|
||||||
2, // [2:8] is the sub-list for method input_type
|
2, // [2:8] is the sub-list for method input_type
|
||||||
2, // [2:2] is the sub-list for extension type_name
|
2, // [2:2] is the sub-list for extension type_name
|
||||||
@@ -859,18 +808,6 @@ func file_service_db_node_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_db_node_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
file_service_db_node_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*CountAllEnabledDBNodesResponse); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_service_db_node_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*ListEnabledDBNodesRequest); i {
|
switch v := v.(*ListEnabledDBNodesRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -882,7 +819,7 @@ func file_service_db_node_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_db_node_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
file_service_db_node_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ListEnabledDBNodesResponse); i {
|
switch v := v.(*ListEnabledDBNodesResponse); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -894,7 +831,7 @@ func file_service_db_node_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_db_node_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
file_service_db_node_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*FindEnabledDBNodeRequest); i {
|
switch v := v.(*FindEnabledDBNodeRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -906,7 +843,7 @@ func file_service_db_node_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_db_node_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
file_service_db_node_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*FindEnabledDBNodeResponse); i {
|
switch v := v.(*FindEnabledDBNodeResponse); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -925,7 +862,7 @@ func file_service_db_node_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_service_db_node_proto_rawDesc,
|
RawDescriptor: file_service_db_node_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 0,
|
||||||
NumMessages: 10,
|
NumMessages: 9,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 1,
|
NumServices: 1,
|
||||||
},
|
},
|
||||||
@@ -958,7 +895,7 @@ type DBNodeServiceClient interface {
|
|||||||
// 删除节点
|
// 删除节点
|
||||||
DeleteDBNode(ctx context.Context, in *DeleteDBNodeRequest, opts ...grpc.CallOption) (*RPCDeleteSuccess, error)
|
DeleteDBNode(ctx context.Context, in *DeleteDBNodeRequest, opts ...grpc.CallOption) (*RPCDeleteSuccess, error)
|
||||||
// 计算可用的数据库节点数量
|
// 计算可用的数据库节点数量
|
||||||
CountAllEnabledDBNodes(ctx context.Context, in *CountAllEnabledDBNodesRequest, opts ...grpc.CallOption) (*CountAllEnabledDBNodesResponse, error)
|
CountAllEnabledDBNodes(ctx context.Context, in *CountAllEnabledDBNodesRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
|
||||||
// 列出单页的数据库节点
|
// 列出单页的数据库节点
|
||||||
ListEnabledDBNodes(ctx context.Context, in *ListEnabledDBNodesRequest, opts ...grpc.CallOption) (*ListEnabledDBNodesResponse, error)
|
ListEnabledDBNodes(ctx context.Context, in *ListEnabledDBNodesRequest, opts ...grpc.CallOption) (*ListEnabledDBNodesResponse, error)
|
||||||
// 根据ID查找可用的数据库节点
|
// 根据ID查找可用的数据库节点
|
||||||
@@ -1000,8 +937,8 @@ func (c *dBNodeServiceClient) DeleteDBNode(ctx context.Context, in *DeleteDBNode
|
|||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *dBNodeServiceClient) CountAllEnabledDBNodes(ctx context.Context, in *CountAllEnabledDBNodesRequest, opts ...grpc.CallOption) (*CountAllEnabledDBNodesResponse, error) {
|
func (c *dBNodeServiceClient) CountAllEnabledDBNodes(ctx context.Context, in *CountAllEnabledDBNodesRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
|
||||||
out := new(CountAllEnabledDBNodesResponse)
|
out := new(RPCCountResponse)
|
||||||
err := c.cc.Invoke(ctx, "/pb.DBNodeService/countAllEnabledDBNodes", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/pb.DBNodeService/countAllEnabledDBNodes", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
@@ -1036,7 +973,7 @@ type DBNodeServiceServer interface {
|
|||||||
// 删除节点
|
// 删除节点
|
||||||
DeleteDBNode(context.Context, *DeleteDBNodeRequest) (*RPCDeleteSuccess, error)
|
DeleteDBNode(context.Context, *DeleteDBNodeRequest) (*RPCDeleteSuccess, error)
|
||||||
// 计算可用的数据库节点数量
|
// 计算可用的数据库节点数量
|
||||||
CountAllEnabledDBNodes(context.Context, *CountAllEnabledDBNodesRequest) (*CountAllEnabledDBNodesResponse, error)
|
CountAllEnabledDBNodes(context.Context, *CountAllEnabledDBNodesRequest) (*RPCCountResponse, error)
|
||||||
// 列出单页的数据库节点
|
// 列出单页的数据库节点
|
||||||
ListEnabledDBNodes(context.Context, *ListEnabledDBNodesRequest) (*ListEnabledDBNodesResponse, error)
|
ListEnabledDBNodes(context.Context, *ListEnabledDBNodesRequest) (*ListEnabledDBNodesResponse, error)
|
||||||
// 根据ID查找可用的数据库节点
|
// 根据ID查找可用的数据库节点
|
||||||
@@ -1056,7 +993,7 @@ func (*UnimplementedDBNodeServiceServer) UpdateDBNode(context.Context, *UpdateDB
|
|||||||
func (*UnimplementedDBNodeServiceServer) DeleteDBNode(context.Context, *DeleteDBNodeRequest) (*RPCDeleteSuccess, error) {
|
func (*UnimplementedDBNodeServiceServer) DeleteDBNode(context.Context, *DeleteDBNodeRequest) (*RPCDeleteSuccess, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method DeleteDBNode not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteDBNode not implemented")
|
||||||
}
|
}
|
||||||
func (*UnimplementedDBNodeServiceServer) CountAllEnabledDBNodes(context.Context, *CountAllEnabledDBNodesRequest) (*CountAllEnabledDBNodesResponse, error) {
|
func (*UnimplementedDBNodeServiceServer) CountAllEnabledDBNodes(context.Context, *CountAllEnabledDBNodesRequest) (*RPCCountResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledDBNodes not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledDBNodes not implemented")
|
||||||
}
|
}
|
||||||
func (*UnimplementedDBNodeServiceServer) ListEnabledDBNodes(context.Context, *ListEnabledDBNodesRequest) (*ListEnabledDBNodesResponse, error) {
|
func (*UnimplementedDBNodeServiceServer) ListEnabledDBNodes(context.Context, *ListEnabledDBNodesRequest) (*ListEnabledDBNodesResponse, error) {
|
||||||
|
|||||||
860
pkg/rpc/pb/service_dns_domain.pb.go
Normal file
860
pkg/rpc/pb/service_dns_domain.pb.go
Normal file
@@ -0,0 +1,860 @@
|
|||||||
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
|
// versions:
|
||||||
|
// protoc-gen-go v1.25.0
|
||||||
|
// protoc v3.12.3
|
||||||
|
// source: service_dns_domain.proto
|
||||||
|
|
||||||
|
package pb
|
||||||
|
|
||||||
|
import (
|
||||||
|
context "context"
|
||||||
|
proto "github.com/golang/protobuf/proto"
|
||||||
|
grpc "google.golang.org/grpc"
|
||||||
|
codes "google.golang.org/grpc/codes"
|
||||||
|
status "google.golang.org/grpc/status"
|
||||||
|
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)
|
||||||
|
)
|
||||||
|
|
||||||
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
||||||
|
// of the legacy proto package is being used.
|
||||||
|
const _ = proto.ProtoPackageIsVersion4
|
||||||
|
|
||||||
|
// 创建域名
|
||||||
|
type CreateDNSDomainRequest struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
DnsProviderId int64 `protobuf:"varint,1,opt,name=dnsProviderId,proto3" json:"dnsProviderId,omitempty"`
|
||||||
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *CreateDNSDomainRequest) Reset() {
|
||||||
|
*x = CreateDNSDomainRequest{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_service_dns_domain_proto_msgTypes[0]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *CreateDNSDomainRequest) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*CreateDNSDomainRequest) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *CreateDNSDomainRequest) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_service_dns_domain_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 CreateDNSDomainRequest.ProtoReflect.Descriptor instead.
|
||||||
|
func (*CreateDNSDomainRequest) Descriptor() ([]byte, []int) {
|
||||||
|
return file_service_dns_domain_proto_rawDescGZIP(), []int{0}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *CreateDNSDomainRequest) GetDnsProviderId() int64 {
|
||||||
|
if x != nil {
|
||||||
|
return x.DnsProviderId
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *CreateDNSDomainRequest) GetName() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Name
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
type CreateDNSDomainResponse struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
DnsDomainId int64 `protobuf:"varint,1,opt,name=dnsDomainId,proto3" json:"dnsDomainId,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *CreateDNSDomainResponse) Reset() {
|
||||||
|
*x = CreateDNSDomainResponse{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_service_dns_domain_proto_msgTypes[1]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *CreateDNSDomainResponse) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*CreateDNSDomainResponse) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *CreateDNSDomainResponse) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_service_dns_domain_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 CreateDNSDomainResponse.ProtoReflect.Descriptor instead.
|
||||||
|
func (*CreateDNSDomainResponse) Descriptor() ([]byte, []int) {
|
||||||
|
return file_service_dns_domain_proto_rawDescGZIP(), []int{1}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *CreateDNSDomainResponse) GetDnsDomainId() int64 {
|
||||||
|
if x != nil {
|
||||||
|
return x.DnsDomainId
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改域名
|
||||||
|
type UpdateDNSDomainRequest struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
DnsDomainId int64 `protobuf:"varint,1,opt,name=dnsDomainId,proto3" json:"dnsDomainId,omitempty"`
|
||||||
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||||||
|
IsOn bool `protobuf:"varint,3,opt,name=isOn,proto3" json:"isOn,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UpdateDNSDomainRequest) Reset() {
|
||||||
|
*x = UpdateDNSDomainRequest{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_service_dns_domain_proto_msgTypes[2]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UpdateDNSDomainRequest) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*UpdateDNSDomainRequest) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *UpdateDNSDomainRequest) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_service_dns_domain_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 UpdateDNSDomainRequest.ProtoReflect.Descriptor instead.
|
||||||
|
func (*UpdateDNSDomainRequest) Descriptor() ([]byte, []int) {
|
||||||
|
return file_service_dns_domain_proto_rawDescGZIP(), []int{2}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UpdateDNSDomainRequest) GetDnsDomainId() int64 {
|
||||||
|
if x != nil {
|
||||||
|
return x.DnsDomainId
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UpdateDNSDomainRequest) GetName() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Name
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UpdateDNSDomainRequest) GetIsOn() bool {
|
||||||
|
if x != nil {
|
||||||
|
return x.IsOn
|
||||||
|
}
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
// 删除域名
|
||||||
|
type DeleteDNSDomainRequest struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
DnsDomainId int64 `protobuf:"varint,1,opt,name=dnsDomainId,proto3" json:"dnsDomainId,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DeleteDNSDomainRequest) Reset() {
|
||||||
|
*x = DeleteDNSDomainRequest{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_service_dns_domain_proto_msgTypes[3]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DeleteDNSDomainRequest) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*DeleteDNSDomainRequest) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *DeleteDNSDomainRequest) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_service_dns_domain_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 DeleteDNSDomainRequest.ProtoReflect.Descriptor instead.
|
||||||
|
func (*DeleteDNSDomainRequest) Descriptor() ([]byte, []int) {
|
||||||
|
return file_service_dns_domain_proto_rawDescGZIP(), []int{3}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DeleteDNSDomainRequest) GetDnsDomainId() int64 {
|
||||||
|
if x != nil {
|
||||||
|
return x.DnsDomainId
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
// 计算服务商下的域名数量
|
||||||
|
type CountAllEnabledDNSDomainsWithDNSProviderIdRequest struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
DnsProviderId int64 `protobuf:"varint,1,opt,name=dnsProviderId,proto3" json:"dnsProviderId,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *CountAllEnabledDNSDomainsWithDNSProviderIdRequest) Reset() {
|
||||||
|
*x = CountAllEnabledDNSDomainsWithDNSProviderIdRequest{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_service_dns_domain_proto_msgTypes[4]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *CountAllEnabledDNSDomainsWithDNSProviderIdRequest) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*CountAllEnabledDNSDomainsWithDNSProviderIdRequest) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *CountAllEnabledDNSDomainsWithDNSProviderIdRequest) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_service_dns_domain_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 CountAllEnabledDNSDomainsWithDNSProviderIdRequest.ProtoReflect.Descriptor instead.
|
||||||
|
func (*CountAllEnabledDNSDomainsWithDNSProviderIdRequest) Descriptor() ([]byte, []int) {
|
||||||
|
return file_service_dns_domain_proto_rawDescGZIP(), []int{4}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *CountAllEnabledDNSDomainsWithDNSProviderIdRequest) GetDnsProviderId() int64 {
|
||||||
|
if x != nil {
|
||||||
|
return x.DnsProviderId
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
// 列出服务商下的所有域名
|
||||||
|
type FindAllEnabledDNSDomainsWithDNSProviderIdRequest struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
DnsProviderId int64 `protobuf:"varint,1,opt,name=dnsProviderId,proto3" json:"dnsProviderId,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *FindAllEnabledDNSDomainsWithDNSProviderIdRequest) Reset() {
|
||||||
|
*x = FindAllEnabledDNSDomainsWithDNSProviderIdRequest{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_service_dns_domain_proto_msgTypes[5]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *FindAllEnabledDNSDomainsWithDNSProviderIdRequest) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*FindAllEnabledDNSDomainsWithDNSProviderIdRequest) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *FindAllEnabledDNSDomainsWithDNSProviderIdRequest) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_service_dns_domain_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 FindAllEnabledDNSDomainsWithDNSProviderIdRequest.ProtoReflect.Descriptor instead.
|
||||||
|
func (*FindAllEnabledDNSDomainsWithDNSProviderIdRequest) Descriptor() ([]byte, []int) {
|
||||||
|
return file_service_dns_domain_proto_rawDescGZIP(), []int{5}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *FindAllEnabledDNSDomainsWithDNSProviderIdRequest) GetDnsProviderId() int64 {
|
||||||
|
if x != nil {
|
||||||
|
return x.DnsProviderId
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
type FindAllEnabledDNSDomainsWithDNSProviderIdResponse struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
DnsDomains []*DNSDomain `protobuf:"bytes,1,rep,name=dnsDomains,proto3" json:"dnsDomains,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *FindAllEnabledDNSDomainsWithDNSProviderIdResponse) Reset() {
|
||||||
|
*x = FindAllEnabledDNSDomainsWithDNSProviderIdResponse{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_service_dns_domain_proto_msgTypes[6]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *FindAllEnabledDNSDomainsWithDNSProviderIdResponse) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*FindAllEnabledDNSDomainsWithDNSProviderIdResponse) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *FindAllEnabledDNSDomainsWithDNSProviderIdResponse) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_service_dns_domain_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 FindAllEnabledDNSDomainsWithDNSProviderIdResponse.ProtoReflect.Descriptor instead.
|
||||||
|
func (*FindAllEnabledDNSDomainsWithDNSProviderIdResponse) Descriptor() ([]byte, []int) {
|
||||||
|
return file_service_dns_domain_proto_rawDescGZIP(), []int{6}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *FindAllEnabledDNSDomainsWithDNSProviderIdResponse) GetDnsDomains() []*DNSDomain {
|
||||||
|
if x != nil {
|
||||||
|
return x.DnsDomains
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
var File_service_dns_domain_proto protoreflect.FileDescriptor
|
||||||
|
|
||||||
|
var file_service_dns_domain_proto_rawDesc = []byte{
|
||||||
|
0x0a, 0x18, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x64, 0x6e, 0x73, 0x5f, 0x64, 0x6f,
|
||||||
|
0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x12,
|
||||||
|
0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f,
|
||||||
|
0x74, 0x6f, 0x1a, 0x16, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, 0x6e, 0x73, 0x5f, 0x64, 0x6f,
|
||||||
|
0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x16, 0x43, 0x72,
|
||||||
|
0x65, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71,
|
||||||
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69,
|
||||||
|
0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, 0x6e, 0x73,
|
||||||
|
0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
|
||||||
|
0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3b,
|
||||||
|
0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69,
|
||||||
|
0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x6e, 0x73,
|
||||||
|
0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b,
|
||||||
|
0x64, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x22, 0x62, 0x0a, 0x16, 0x55,
|
||||||
|
0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65,
|
||||||
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61,
|
||||||
|
0x69, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x64, 0x6e, 0x73, 0x44,
|
||||||
|
0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
||||||
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69,
|
||||||
|
0x73, 0x4f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x22,
|
||||||
|
0x3a, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61,
|
||||||
|
0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x6e, 0x73,
|
||||||
|
0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b,
|
||||||
|
0x64, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x22, 0x59, 0x0a, 0x31, 0x43,
|
||||||
|
0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e,
|
||||||
|
0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x4e, 0x53, 0x50,
|
||||||
|
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||||
|
0x12, 0x24, 0x0a, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49,
|
||||||
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76,
|
||||||
|
0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x58, 0x0a, 0x30, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c,
|
||||||
|
0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69,
|
||||||
|
0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,
|
||||||
|
0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x6e,
|
||||||
|
0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||||
|
0x03, 0x52, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64,
|
||||||
|
0x22, 0x62, 0x0a, 0x31, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
||||||
|
0x65, 0x64, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68,
|
||||||
|
0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73,
|
||||||
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x0a, 0x64, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61,
|
||||||
|
0x69, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x44,
|
||||||
|
0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x0a, 0x64, 0x6e, 0x73, 0x44, 0x6f, 0x6d,
|
||||||
|
0x61, 0x69, 0x6e, 0x73, 0x32, 0xfe, 0x03, 0x0a, 0x10, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61,
|
||||||
|
0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4a, 0x0a, 0x0f, 0x63, 0x72, 0x65,
|
||||||
|
0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x1a, 0x2e, 0x70,
|
||||||
|
0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69,
|
||||||
|
0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72,
|
||||||
|
0x65, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73,
|
||||||
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44,
|
||||||
|
0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70,
|
||||||
|
0x64, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71,
|
||||||
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64,
|
||||||
|
0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x43, 0x0a, 0x0f, 0x64, 0x65,
|
||||||
|
0x6c, 0x65, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x1a, 0x2e,
|
||||||
|
0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61,
|
||||||
|
0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52,
|
||||||
|
0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12,
|
||||||
|
0x79, 0x0a, 0x2a, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
||||||
|
0x65, 0x64, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68,
|
||||||
|
0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x35, 0x2e,
|
||||||
|
0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
||||||
|
0x65, 0x64, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68,
|
||||||
|
0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 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, 0x98, 0x01, 0x0a, 0x29, 0x66,
|
||||||
|
0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53,
|
||||||
|
0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x4e, 0x53, 0x50, 0x72,
|
||||||
|
0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x34, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69,
|
||||||
|
0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x44,
|
||||||
|
0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f,
|
||||||
|
0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35,
|
||||||
|
0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
||||||
|
0x65, 0x64, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68,
|
||||||
|
0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73,
|
||||||
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70,
|
||||||
|
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
|
}
|
||||||
|
|
||||||
|
var (
|
||||||
|
file_service_dns_domain_proto_rawDescOnce sync.Once
|
||||||
|
file_service_dns_domain_proto_rawDescData = file_service_dns_domain_proto_rawDesc
|
||||||
|
)
|
||||||
|
|
||||||
|
func file_service_dns_domain_proto_rawDescGZIP() []byte {
|
||||||
|
file_service_dns_domain_proto_rawDescOnce.Do(func() {
|
||||||
|
file_service_dns_domain_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_dns_domain_proto_rawDescData)
|
||||||
|
})
|
||||||
|
return file_service_dns_domain_proto_rawDescData
|
||||||
|
}
|
||||||
|
|
||||||
|
var file_service_dns_domain_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
|
||||||
|
var file_service_dns_domain_proto_goTypes = []interface{}{
|
||||||
|
(*CreateDNSDomainRequest)(nil), // 0: pb.CreateDNSDomainRequest
|
||||||
|
(*CreateDNSDomainResponse)(nil), // 1: pb.CreateDNSDomainResponse
|
||||||
|
(*UpdateDNSDomainRequest)(nil), // 2: pb.UpdateDNSDomainRequest
|
||||||
|
(*DeleteDNSDomainRequest)(nil), // 3: pb.DeleteDNSDomainRequest
|
||||||
|
(*CountAllEnabledDNSDomainsWithDNSProviderIdRequest)(nil), // 4: pb.CountAllEnabledDNSDomainsWithDNSProviderIdRequest
|
||||||
|
(*FindAllEnabledDNSDomainsWithDNSProviderIdRequest)(nil), // 5: pb.FindAllEnabledDNSDomainsWithDNSProviderIdRequest
|
||||||
|
(*FindAllEnabledDNSDomainsWithDNSProviderIdResponse)(nil), // 6: pb.FindAllEnabledDNSDomainsWithDNSProviderIdResponse
|
||||||
|
(*DNSDomain)(nil), // 7: pb.DNSDomain
|
||||||
|
(*RPCUpdateSuccess)(nil), // 8: pb.RPCUpdateSuccess
|
||||||
|
(*RPCDeleteSuccess)(nil), // 9: pb.RPCDeleteSuccess
|
||||||
|
(*RPCCountResponse)(nil), // 10: pb.RPCCountResponse
|
||||||
|
}
|
||||||
|
var file_service_dns_domain_proto_depIdxs = []int32{
|
||||||
|
7, // 0: pb.FindAllEnabledDNSDomainsWithDNSProviderIdResponse.dnsDomains:type_name -> pb.DNSDomain
|
||||||
|
0, // 1: pb.DNSDomainService.createDNSDomain:input_type -> pb.CreateDNSDomainRequest
|
||||||
|
2, // 2: pb.DNSDomainService.updateDNSDomain:input_type -> pb.UpdateDNSDomainRequest
|
||||||
|
3, // 3: pb.DNSDomainService.deleteDNSDomain:input_type -> pb.DeleteDNSDomainRequest
|
||||||
|
4, // 4: pb.DNSDomainService.countAllEnabledDNSDomainsWithDNSProviderId:input_type -> pb.CountAllEnabledDNSDomainsWithDNSProviderIdRequest
|
||||||
|
5, // 5: pb.DNSDomainService.findAllEnabledDNSDomainsWithDNSProviderId:input_type -> pb.FindAllEnabledDNSDomainsWithDNSProviderIdRequest
|
||||||
|
1, // 6: pb.DNSDomainService.createDNSDomain:output_type -> pb.CreateDNSDomainResponse
|
||||||
|
8, // 7: pb.DNSDomainService.updateDNSDomain:output_type -> pb.RPCUpdateSuccess
|
||||||
|
9, // 8: pb.DNSDomainService.deleteDNSDomain:output_type -> pb.RPCDeleteSuccess
|
||||||
|
10, // 9: pb.DNSDomainService.countAllEnabledDNSDomainsWithDNSProviderId:output_type -> pb.RPCCountResponse
|
||||||
|
6, // 10: pb.DNSDomainService.findAllEnabledDNSDomainsWithDNSProviderId:output_type -> pb.FindAllEnabledDNSDomainsWithDNSProviderIdResponse
|
||||||
|
6, // [6:11] is the sub-list for method output_type
|
||||||
|
1, // [1:6] is the sub-list for method input_type
|
||||||
|
1, // [1:1] is the sub-list for extension type_name
|
||||||
|
1, // [1:1] is the sub-list for extension extendee
|
||||||
|
0, // [0:1] is the sub-list for field type_name
|
||||||
|
}
|
||||||
|
|
||||||
|
func init() { file_service_dns_domain_proto_init() }
|
||||||
|
func file_service_dns_domain_proto_init() {
|
||||||
|
if File_service_dns_domain_proto != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
file_rpc_messages_proto_init()
|
||||||
|
file_model_dns_domain_proto_init()
|
||||||
|
if !protoimpl.UnsafeEnabled {
|
||||||
|
file_service_dns_domain_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*CreateDNSDomainRequest); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_service_dns_domain_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*CreateDNSDomainResponse); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_service_dns_domain_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*UpdateDNSDomainRequest); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_service_dns_domain_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*DeleteDNSDomainRequest); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_service_dns_domain_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*CountAllEnabledDNSDomainsWithDNSProviderIdRequest); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_service_dns_domain_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*FindAllEnabledDNSDomainsWithDNSProviderIdRequest); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_service_dns_domain_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*FindAllEnabledDNSDomainsWithDNSProviderIdResponse); 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_dns_domain_proto_rawDesc,
|
||||||
|
NumEnums: 0,
|
||||||
|
NumMessages: 7,
|
||||||
|
NumExtensions: 0,
|
||||||
|
NumServices: 1,
|
||||||
|
},
|
||||||
|
GoTypes: file_service_dns_domain_proto_goTypes,
|
||||||
|
DependencyIndexes: file_service_dns_domain_proto_depIdxs,
|
||||||
|
MessageInfos: file_service_dns_domain_proto_msgTypes,
|
||||||
|
}.Build()
|
||||||
|
File_service_dns_domain_proto = out.File
|
||||||
|
file_service_dns_domain_proto_rawDesc = nil
|
||||||
|
file_service_dns_domain_proto_goTypes = nil
|
||||||
|
file_service_dns_domain_proto_depIdxs = nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
|
var _ context.Context
|
||||||
|
var _ grpc.ClientConnInterface
|
||||||
|
|
||||||
|
// This is a compile-time assertion to ensure that this generated file
|
||||||
|
// is compatible with the grpc package it is being compiled against.
|
||||||
|
const _ = grpc.SupportPackageIsVersion6
|
||||||
|
|
||||||
|
// DNSDomainServiceClient is the client API for DNSDomainService service.
|
||||||
|
//
|
||||||
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||||
|
type DNSDomainServiceClient interface {
|
||||||
|
// 创建域名
|
||||||
|
CreateDNSDomain(ctx context.Context, in *CreateDNSDomainRequest, opts ...grpc.CallOption) (*CreateDNSDomainResponse, error)
|
||||||
|
// 修改域名
|
||||||
|
UpdateDNSDomain(ctx context.Context, in *UpdateDNSDomainRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||||
|
// 删除域名
|
||||||
|
DeleteDNSDomain(ctx context.Context, in *DeleteDNSDomainRequest, opts ...grpc.CallOption) (*RPCDeleteSuccess, error)
|
||||||
|
// 计算服务商下的域名数量
|
||||||
|
CountAllEnabledDNSDomainsWithDNSProviderId(ctx context.Context, in *CountAllEnabledDNSDomainsWithDNSProviderIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
|
||||||
|
// 列出服务商下的所有域名
|
||||||
|
FindAllEnabledDNSDomainsWithDNSProviderId(ctx context.Context, in *FindAllEnabledDNSDomainsWithDNSProviderIdRequest, opts ...grpc.CallOption) (*FindAllEnabledDNSDomainsWithDNSProviderIdResponse, error)
|
||||||
|
}
|
||||||
|
|
||||||
|
type dNSDomainServiceClient struct {
|
||||||
|
cc grpc.ClientConnInterface
|
||||||
|
}
|
||||||
|
|
||||||
|
func NewDNSDomainServiceClient(cc grpc.ClientConnInterface) DNSDomainServiceClient {
|
||||||
|
return &dNSDomainServiceClient{cc}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (c *dNSDomainServiceClient) CreateDNSDomain(ctx context.Context, in *CreateDNSDomainRequest, opts ...grpc.CallOption) (*CreateDNSDomainResponse, error) {
|
||||||
|
out := new(CreateDNSDomainResponse)
|
||||||
|
err := c.cc.Invoke(ctx, "/pb.DNSDomainService/createDNSDomain", in, out, opts...)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
return out, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (c *dNSDomainServiceClient) UpdateDNSDomain(ctx context.Context, in *UpdateDNSDomainRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
||||||
|
out := new(RPCUpdateSuccess)
|
||||||
|
err := c.cc.Invoke(ctx, "/pb.DNSDomainService/updateDNSDomain", in, out, opts...)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
return out, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (c *dNSDomainServiceClient) DeleteDNSDomain(ctx context.Context, in *DeleteDNSDomainRequest, opts ...grpc.CallOption) (*RPCDeleteSuccess, error) {
|
||||||
|
out := new(RPCDeleteSuccess)
|
||||||
|
err := c.cc.Invoke(ctx, "/pb.DNSDomainService/deleteDNSDomain", in, out, opts...)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
return out, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (c *dNSDomainServiceClient) CountAllEnabledDNSDomainsWithDNSProviderId(ctx context.Context, in *CountAllEnabledDNSDomainsWithDNSProviderIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
|
||||||
|
out := new(RPCCountResponse)
|
||||||
|
err := c.cc.Invoke(ctx, "/pb.DNSDomainService/countAllEnabledDNSDomainsWithDNSProviderId", in, out, opts...)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
return out, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (c *dNSDomainServiceClient) FindAllEnabledDNSDomainsWithDNSProviderId(ctx context.Context, in *FindAllEnabledDNSDomainsWithDNSProviderIdRequest, opts ...grpc.CallOption) (*FindAllEnabledDNSDomainsWithDNSProviderIdResponse, error) {
|
||||||
|
out := new(FindAllEnabledDNSDomainsWithDNSProviderIdResponse)
|
||||||
|
err := c.cc.Invoke(ctx, "/pb.DNSDomainService/findAllEnabledDNSDomainsWithDNSProviderId", in, out, opts...)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
return out, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// DNSDomainServiceServer is the server API for DNSDomainService service.
|
||||||
|
type DNSDomainServiceServer interface {
|
||||||
|
// 创建域名
|
||||||
|
CreateDNSDomain(context.Context, *CreateDNSDomainRequest) (*CreateDNSDomainResponse, error)
|
||||||
|
// 修改域名
|
||||||
|
UpdateDNSDomain(context.Context, *UpdateDNSDomainRequest) (*RPCUpdateSuccess, error)
|
||||||
|
// 删除域名
|
||||||
|
DeleteDNSDomain(context.Context, *DeleteDNSDomainRequest) (*RPCDeleteSuccess, error)
|
||||||
|
// 计算服务商下的域名数量
|
||||||
|
CountAllEnabledDNSDomainsWithDNSProviderId(context.Context, *CountAllEnabledDNSDomainsWithDNSProviderIdRequest) (*RPCCountResponse, error)
|
||||||
|
// 列出服务商下的所有域名
|
||||||
|
FindAllEnabledDNSDomainsWithDNSProviderId(context.Context, *FindAllEnabledDNSDomainsWithDNSProviderIdRequest) (*FindAllEnabledDNSDomainsWithDNSProviderIdResponse, error)
|
||||||
|
}
|
||||||
|
|
||||||
|
// UnimplementedDNSDomainServiceServer can be embedded to have forward compatible implementations.
|
||||||
|
type UnimplementedDNSDomainServiceServer struct {
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*UnimplementedDNSDomainServiceServer) CreateDNSDomain(context.Context, *CreateDNSDomainRequest) (*CreateDNSDomainResponse, error) {
|
||||||
|
return nil, status.Errorf(codes.Unimplemented, "method CreateDNSDomain not implemented")
|
||||||
|
}
|
||||||
|
func (*UnimplementedDNSDomainServiceServer) UpdateDNSDomain(context.Context, *UpdateDNSDomainRequest) (*RPCUpdateSuccess, error) {
|
||||||
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateDNSDomain not implemented")
|
||||||
|
}
|
||||||
|
func (*UnimplementedDNSDomainServiceServer) DeleteDNSDomain(context.Context, *DeleteDNSDomainRequest) (*RPCDeleteSuccess, error) {
|
||||||
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteDNSDomain not implemented")
|
||||||
|
}
|
||||||
|
func (*UnimplementedDNSDomainServiceServer) CountAllEnabledDNSDomainsWithDNSProviderId(context.Context, *CountAllEnabledDNSDomainsWithDNSProviderIdRequest) (*RPCCountResponse, error) {
|
||||||
|
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledDNSDomainsWithDNSProviderId not implemented")
|
||||||
|
}
|
||||||
|
func (*UnimplementedDNSDomainServiceServer) FindAllEnabledDNSDomainsWithDNSProviderId(context.Context, *FindAllEnabledDNSDomainsWithDNSProviderIdRequest) (*FindAllEnabledDNSDomainsWithDNSProviderIdResponse, error) {
|
||||||
|
return nil, status.Errorf(codes.Unimplemented, "method FindAllEnabledDNSDomainsWithDNSProviderId not implemented")
|
||||||
|
}
|
||||||
|
|
||||||
|
func RegisterDNSDomainServiceServer(s *grpc.Server, srv DNSDomainServiceServer) {
|
||||||
|
s.RegisterService(&_DNSDomainService_serviceDesc, srv)
|
||||||
|
}
|
||||||
|
|
||||||
|
func _DNSDomainService_CreateDNSDomain_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||||
|
in := new(CreateDNSDomainRequest)
|
||||||
|
if err := dec(in); err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
if interceptor == nil {
|
||||||
|
return srv.(DNSDomainServiceServer).CreateDNSDomain(ctx, in)
|
||||||
|
}
|
||||||
|
info := &grpc.UnaryServerInfo{
|
||||||
|
Server: srv,
|
||||||
|
FullMethod: "/pb.DNSDomainService/CreateDNSDomain",
|
||||||
|
}
|
||||||
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||||
|
return srv.(DNSDomainServiceServer).CreateDNSDomain(ctx, req.(*CreateDNSDomainRequest))
|
||||||
|
}
|
||||||
|
return interceptor(ctx, in, info, handler)
|
||||||
|
}
|
||||||
|
|
||||||
|
func _DNSDomainService_UpdateDNSDomain_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||||
|
in := new(UpdateDNSDomainRequest)
|
||||||
|
if err := dec(in); err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
if interceptor == nil {
|
||||||
|
return srv.(DNSDomainServiceServer).UpdateDNSDomain(ctx, in)
|
||||||
|
}
|
||||||
|
info := &grpc.UnaryServerInfo{
|
||||||
|
Server: srv,
|
||||||
|
FullMethod: "/pb.DNSDomainService/UpdateDNSDomain",
|
||||||
|
}
|
||||||
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||||
|
return srv.(DNSDomainServiceServer).UpdateDNSDomain(ctx, req.(*UpdateDNSDomainRequest))
|
||||||
|
}
|
||||||
|
return interceptor(ctx, in, info, handler)
|
||||||
|
}
|
||||||
|
|
||||||
|
func _DNSDomainService_DeleteDNSDomain_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||||
|
in := new(DeleteDNSDomainRequest)
|
||||||
|
if err := dec(in); err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
if interceptor == nil {
|
||||||
|
return srv.(DNSDomainServiceServer).DeleteDNSDomain(ctx, in)
|
||||||
|
}
|
||||||
|
info := &grpc.UnaryServerInfo{
|
||||||
|
Server: srv,
|
||||||
|
FullMethod: "/pb.DNSDomainService/DeleteDNSDomain",
|
||||||
|
}
|
||||||
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||||
|
return srv.(DNSDomainServiceServer).DeleteDNSDomain(ctx, req.(*DeleteDNSDomainRequest))
|
||||||
|
}
|
||||||
|
return interceptor(ctx, in, info, handler)
|
||||||
|
}
|
||||||
|
|
||||||
|
func _DNSDomainService_CountAllEnabledDNSDomainsWithDNSProviderId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||||
|
in := new(CountAllEnabledDNSDomainsWithDNSProviderIdRequest)
|
||||||
|
if err := dec(in); err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
if interceptor == nil {
|
||||||
|
return srv.(DNSDomainServiceServer).CountAllEnabledDNSDomainsWithDNSProviderId(ctx, in)
|
||||||
|
}
|
||||||
|
info := &grpc.UnaryServerInfo{
|
||||||
|
Server: srv,
|
||||||
|
FullMethod: "/pb.DNSDomainService/CountAllEnabledDNSDomainsWithDNSProviderId",
|
||||||
|
}
|
||||||
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||||
|
return srv.(DNSDomainServiceServer).CountAllEnabledDNSDomainsWithDNSProviderId(ctx, req.(*CountAllEnabledDNSDomainsWithDNSProviderIdRequest))
|
||||||
|
}
|
||||||
|
return interceptor(ctx, in, info, handler)
|
||||||
|
}
|
||||||
|
|
||||||
|
func _DNSDomainService_FindAllEnabledDNSDomainsWithDNSProviderId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||||
|
in := new(FindAllEnabledDNSDomainsWithDNSProviderIdRequest)
|
||||||
|
if err := dec(in); err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
if interceptor == nil {
|
||||||
|
return srv.(DNSDomainServiceServer).FindAllEnabledDNSDomainsWithDNSProviderId(ctx, in)
|
||||||
|
}
|
||||||
|
info := &grpc.UnaryServerInfo{
|
||||||
|
Server: srv,
|
||||||
|
FullMethod: "/pb.DNSDomainService/FindAllEnabledDNSDomainsWithDNSProviderId",
|
||||||
|
}
|
||||||
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||||
|
return srv.(DNSDomainServiceServer).FindAllEnabledDNSDomainsWithDNSProviderId(ctx, req.(*FindAllEnabledDNSDomainsWithDNSProviderIdRequest))
|
||||||
|
}
|
||||||
|
return interceptor(ctx, in, info, handler)
|
||||||
|
}
|
||||||
|
|
||||||
|
var _DNSDomainService_serviceDesc = grpc.ServiceDesc{
|
||||||
|
ServiceName: "pb.DNSDomainService",
|
||||||
|
HandlerType: (*DNSDomainServiceServer)(nil),
|
||||||
|
Methods: []grpc.MethodDesc{
|
||||||
|
{
|
||||||
|
MethodName: "createDNSDomain",
|
||||||
|
Handler: _DNSDomainService_CreateDNSDomain_Handler,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
MethodName: "updateDNSDomain",
|
||||||
|
Handler: _DNSDomainService_UpdateDNSDomain_Handler,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
MethodName: "deleteDNSDomain",
|
||||||
|
Handler: _DNSDomainService_DeleteDNSDomain_Handler,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
MethodName: "countAllEnabledDNSDomainsWithDNSProviderId",
|
||||||
|
Handler: _DNSDomainService_CountAllEnabledDNSDomainsWithDNSProviderId_Handler,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
MethodName: "findAllEnabledDNSDomainsWithDNSProviderId",
|
||||||
|
Handler: _DNSDomainService_FindAllEnabledDNSDomainsWithDNSProviderId_Handler,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
Streams: []grpc.StreamDesc{},
|
||||||
|
Metadata: "service_dns_domain.proto",
|
||||||
|
}
|
||||||
@@ -38,7 +38,6 @@ type CreateDNSProviderRequest struct {
|
|||||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||||
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
|
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
|
||||||
ApiParamsJSON []byte `protobuf:"bytes,3,opt,name=apiParamsJSON,proto3" json:"apiParamsJSON,omitempty"`
|
ApiParamsJSON []byte `protobuf:"bytes,3,opt,name=apiParamsJSON,proto3" json:"apiParamsJSON,omitempty"`
|
||||||
RoutesJSON []byte `protobuf:"bytes,4,opt,name=routesJSON,proto3" json:"routesJSON,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CreateDNSProviderRequest) Reset() {
|
func (x *CreateDNSProviderRequest) Reset() {
|
||||||
@@ -94,13 +93,6 @@ func (x *CreateDNSProviderRequest) GetApiParamsJSON() []byte {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CreateDNSProviderRequest) GetRoutesJSON() []byte {
|
|
||||||
if x != nil {
|
|
||||||
return x.RoutesJSON
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
type CreateDNSProviderResponse struct {
|
type CreateDNSProviderResponse struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@@ -157,7 +149,6 @@ type UpdateDNSProviderRequest struct {
|
|||||||
DnsProviderId int64 `protobuf:"varint,1,opt,name=dnsProviderId,proto3" json:"dnsProviderId,omitempty"`
|
DnsProviderId int64 `protobuf:"varint,1,opt,name=dnsProviderId,proto3" json:"dnsProviderId,omitempty"`
|
||||||
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||||||
ApiParamsJSON []byte `protobuf:"bytes,3,opt,name=apiParamsJSON,proto3" json:"apiParamsJSON,omitempty"`
|
ApiParamsJSON []byte `protobuf:"bytes,3,opt,name=apiParamsJSON,proto3" json:"apiParamsJSON,omitempty"`
|
||||||
RoutesJSON []byte `protobuf:"bytes,4,opt,name=routesJSON,proto3" json:"routesJSON,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UpdateDNSProviderRequest) Reset() {
|
func (x *UpdateDNSProviderRequest) Reset() {
|
||||||
@@ -213,13 +204,6 @@ func (x *UpdateDNSProviderRequest) GetApiParamsJSON() []byte {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UpdateDNSProviderRequest) GetRoutesJSON() []byte {
|
|
||||||
if x != nil {
|
|
||||||
return x.RoutesJSON
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
// 计算服务商数量
|
// 计算服务商数量
|
||||||
type CountAllEnabledDNSProvidersRequest struct {
|
type CountAllEnabledDNSProvidersRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
@@ -259,53 +243,6 @@ func (*CountAllEnabledDNSProvidersRequest) Descriptor() ([]byte, []int) {
|
|||||||
return file_service_dns_provider_proto_rawDescGZIP(), []int{3}
|
return file_service_dns_provider_proto_rawDescGZIP(), []int{3}
|
||||||
}
|
}
|
||||||
|
|
||||||
type CountAllEnabledDNSProvidersResponse struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountAllEnabledDNSProvidersResponse) Reset() {
|
|
||||||
*x = CountAllEnabledDNSProvidersResponse{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_service_dns_provider_proto_msgTypes[4]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountAllEnabledDNSProvidersResponse) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*CountAllEnabledDNSProvidersResponse) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *CountAllEnabledDNSProvidersResponse) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_service_dns_provider_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 CountAllEnabledDNSProvidersResponse.ProtoReflect.Descriptor instead.
|
|
||||||
func (*CountAllEnabledDNSProvidersResponse) Descriptor() ([]byte, []int) {
|
|
||||||
return file_service_dns_provider_proto_rawDescGZIP(), []int{4}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountAllEnabledDNSProvidersResponse) GetCount() int64 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Count
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
// 列出单页的服务商信息
|
// 列出单页的服务商信息
|
||||||
type ListEnabledDNSProvidersRequest struct {
|
type ListEnabledDNSProvidersRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
@@ -319,7 +256,7 @@ type ListEnabledDNSProvidersRequest struct {
|
|||||||
func (x *ListEnabledDNSProvidersRequest) Reset() {
|
func (x *ListEnabledDNSProvidersRequest) Reset() {
|
||||||
*x = ListEnabledDNSProvidersRequest{}
|
*x = ListEnabledDNSProvidersRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_dns_provider_proto_msgTypes[5]
|
mi := &file_service_dns_provider_proto_msgTypes[4]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -332,7 +269,7 @@ func (x *ListEnabledDNSProvidersRequest) String() string {
|
|||||||
func (*ListEnabledDNSProvidersRequest) ProtoMessage() {}
|
func (*ListEnabledDNSProvidersRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ListEnabledDNSProvidersRequest) ProtoReflect() protoreflect.Message {
|
func (x *ListEnabledDNSProvidersRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_dns_provider_proto_msgTypes[5]
|
mi := &file_service_dns_provider_proto_msgTypes[4]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -345,7 +282,7 @@ func (x *ListEnabledDNSProvidersRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use ListEnabledDNSProvidersRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ListEnabledDNSProvidersRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*ListEnabledDNSProvidersRequest) Descriptor() ([]byte, []int) {
|
func (*ListEnabledDNSProvidersRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_dns_provider_proto_rawDescGZIP(), []int{5}
|
return file_service_dns_provider_proto_rawDescGZIP(), []int{4}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListEnabledDNSProvidersRequest) GetOffset() int64 {
|
func (x *ListEnabledDNSProvidersRequest) GetOffset() int64 {
|
||||||
@@ -373,7 +310,7 @@ type ListEnabledDNSProvidersResponse struct {
|
|||||||
func (x *ListEnabledDNSProvidersResponse) Reset() {
|
func (x *ListEnabledDNSProvidersResponse) Reset() {
|
||||||
*x = ListEnabledDNSProvidersResponse{}
|
*x = ListEnabledDNSProvidersResponse{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_dns_provider_proto_msgTypes[6]
|
mi := &file_service_dns_provider_proto_msgTypes[5]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -386,7 +323,7 @@ func (x *ListEnabledDNSProvidersResponse) String() string {
|
|||||||
func (*ListEnabledDNSProvidersResponse) ProtoMessage() {}
|
func (*ListEnabledDNSProvidersResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ListEnabledDNSProvidersResponse) ProtoReflect() protoreflect.Message {
|
func (x *ListEnabledDNSProvidersResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_dns_provider_proto_msgTypes[6]
|
mi := &file_service_dns_provider_proto_msgTypes[5]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -399,7 +336,7 @@ func (x *ListEnabledDNSProvidersResponse) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use ListEnabledDNSProvidersResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ListEnabledDNSProvidersResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*ListEnabledDNSProvidersResponse) Descriptor() ([]byte, []int) {
|
func (*ListEnabledDNSProvidersResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_service_dns_provider_proto_rawDescGZIP(), []int{6}
|
return file_service_dns_provider_proto_rawDescGZIP(), []int{5}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListEnabledDNSProvidersResponse) GetDnsProviders() []*DNSProvider {
|
func (x *ListEnabledDNSProvidersResponse) GetDnsProviders() []*DNSProvider {
|
||||||
@@ -421,7 +358,7 @@ type DeleteDNSProviderRequest struct {
|
|||||||
func (x *DeleteDNSProviderRequest) Reset() {
|
func (x *DeleteDNSProviderRequest) Reset() {
|
||||||
*x = DeleteDNSProviderRequest{}
|
*x = DeleteDNSProviderRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_dns_provider_proto_msgTypes[7]
|
mi := &file_service_dns_provider_proto_msgTypes[6]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -434,7 +371,7 @@ func (x *DeleteDNSProviderRequest) String() string {
|
|||||||
func (*DeleteDNSProviderRequest) ProtoMessage() {}
|
func (*DeleteDNSProviderRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *DeleteDNSProviderRequest) ProtoReflect() protoreflect.Message {
|
func (x *DeleteDNSProviderRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_dns_provider_proto_msgTypes[7]
|
mi := &file_service_dns_provider_proto_msgTypes[6]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -447,7 +384,7 @@ func (x *DeleteDNSProviderRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use DeleteDNSProviderRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use DeleteDNSProviderRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*DeleteDNSProviderRequest) Descriptor() ([]byte, []int) {
|
func (*DeleteDNSProviderRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_dns_provider_proto_rawDescGZIP(), []int{7}
|
return file_service_dns_provider_proto_rawDescGZIP(), []int{6}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DeleteDNSProviderRequest) GetDnsProviderId() int64 {
|
func (x *DeleteDNSProviderRequest) GetDnsProviderId() int64 {
|
||||||
@@ -469,7 +406,7 @@ type FindEnabledDNSProviderRequest struct {
|
|||||||
func (x *FindEnabledDNSProviderRequest) Reset() {
|
func (x *FindEnabledDNSProviderRequest) Reset() {
|
||||||
*x = FindEnabledDNSProviderRequest{}
|
*x = FindEnabledDNSProviderRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_dns_provider_proto_msgTypes[8]
|
mi := &file_service_dns_provider_proto_msgTypes[7]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -482,7 +419,7 @@ func (x *FindEnabledDNSProviderRequest) String() string {
|
|||||||
func (*FindEnabledDNSProviderRequest) ProtoMessage() {}
|
func (*FindEnabledDNSProviderRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *FindEnabledDNSProviderRequest) ProtoReflect() protoreflect.Message {
|
func (x *FindEnabledDNSProviderRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_dns_provider_proto_msgTypes[8]
|
mi := &file_service_dns_provider_proto_msgTypes[7]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -495,7 +432,7 @@ func (x *FindEnabledDNSProviderRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use FindEnabledDNSProviderRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use FindEnabledDNSProviderRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*FindEnabledDNSProviderRequest) Descriptor() ([]byte, []int) {
|
func (*FindEnabledDNSProviderRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_dns_provider_proto_rawDescGZIP(), []int{8}
|
return file_service_dns_provider_proto_rawDescGZIP(), []int{7}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FindEnabledDNSProviderRequest) GetDnsProviderId() int64 {
|
func (x *FindEnabledDNSProviderRequest) GetDnsProviderId() int64 {
|
||||||
@@ -516,7 +453,7 @@ type FindEnabledDNSProviderResponse struct {
|
|||||||
func (x *FindEnabledDNSProviderResponse) Reset() {
|
func (x *FindEnabledDNSProviderResponse) Reset() {
|
||||||
*x = FindEnabledDNSProviderResponse{}
|
*x = FindEnabledDNSProviderResponse{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_dns_provider_proto_msgTypes[9]
|
mi := &file_service_dns_provider_proto_msgTypes[8]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -529,7 +466,7 @@ func (x *FindEnabledDNSProviderResponse) String() string {
|
|||||||
func (*FindEnabledDNSProviderResponse) ProtoMessage() {}
|
func (*FindEnabledDNSProviderResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *FindEnabledDNSProviderResponse) ProtoReflect() protoreflect.Message {
|
func (x *FindEnabledDNSProviderResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_dns_provider_proto_msgTypes[9]
|
mi := &file_service_dns_provider_proto_msgTypes[8]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -542,7 +479,7 @@ func (x *FindEnabledDNSProviderResponse) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use FindEnabledDNSProviderResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use FindEnabledDNSProviderResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*FindEnabledDNSProviderResponse) Descriptor() ([]byte, []int) {
|
func (*FindEnabledDNSProviderResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_service_dns_provider_proto_rawDescGZIP(), []int{9}
|
return file_service_dns_provider_proto_rawDescGZIP(), []int{8}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FindEnabledDNSProviderResponse) GetDnsProvider() *DNSProvider {
|
func (x *FindEnabledDNSProviderResponse) GetDnsProvider() *DNSProvider {
|
||||||
@@ -562,7 +499,7 @@ type FindAllDNSProviderTypesRequest struct {
|
|||||||
func (x *FindAllDNSProviderTypesRequest) Reset() {
|
func (x *FindAllDNSProviderTypesRequest) Reset() {
|
||||||
*x = FindAllDNSProviderTypesRequest{}
|
*x = FindAllDNSProviderTypesRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_dns_provider_proto_msgTypes[10]
|
mi := &file_service_dns_provider_proto_msgTypes[9]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -575,7 +512,7 @@ func (x *FindAllDNSProviderTypesRequest) String() string {
|
|||||||
func (*FindAllDNSProviderTypesRequest) ProtoMessage() {}
|
func (*FindAllDNSProviderTypesRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *FindAllDNSProviderTypesRequest) ProtoReflect() protoreflect.Message {
|
func (x *FindAllDNSProviderTypesRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_dns_provider_proto_msgTypes[10]
|
mi := &file_service_dns_provider_proto_msgTypes[9]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -588,7 +525,7 @@ func (x *FindAllDNSProviderTypesRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use FindAllDNSProviderTypesRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use FindAllDNSProviderTypesRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*FindAllDNSProviderTypesRequest) Descriptor() ([]byte, []int) {
|
func (*FindAllDNSProviderTypesRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_dns_provider_proto_rawDescGZIP(), []int{10}
|
return file_service_dns_provider_proto_rawDescGZIP(), []int{9}
|
||||||
}
|
}
|
||||||
|
|
||||||
type FindAllDNSProviderTypesResponse struct {
|
type FindAllDNSProviderTypesResponse struct {
|
||||||
@@ -602,7 +539,7 @@ type FindAllDNSProviderTypesResponse struct {
|
|||||||
func (x *FindAllDNSProviderTypesResponse) Reset() {
|
func (x *FindAllDNSProviderTypesResponse) Reset() {
|
||||||
*x = FindAllDNSProviderTypesResponse{}
|
*x = FindAllDNSProviderTypesResponse{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_dns_provider_proto_msgTypes[11]
|
mi := &file_service_dns_provider_proto_msgTypes[10]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -615,7 +552,7 @@ func (x *FindAllDNSProviderTypesResponse) String() string {
|
|||||||
func (*FindAllDNSProviderTypesResponse) ProtoMessage() {}
|
func (*FindAllDNSProviderTypesResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *FindAllDNSProviderTypesResponse) ProtoReflect() protoreflect.Message {
|
func (x *FindAllDNSProviderTypesResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_dns_provider_proto_msgTypes[11]
|
mi := &file_service_dns_provider_proto_msgTypes[10]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -628,7 +565,7 @@ func (x *FindAllDNSProviderTypesResponse) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use FindAllDNSProviderTypesResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use FindAllDNSProviderTypesResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*FindAllDNSProviderTypesResponse) Descriptor() ([]byte, []int) {
|
func (*FindAllDNSProviderTypesResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_service_dns_provider_proto_rawDescGZIP(), []int{11}
|
return file_service_dns_provider_proto_rawDescGZIP(), []int{10}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FindAllDNSProviderTypesResponse) GetProviderTypes() []*DNSProviderType {
|
func (x *FindAllDNSProviderTypesResponse) GetProviderTypes() []*DNSProviderType {
|
||||||
@@ -650,7 +587,7 @@ type DNSProviderType struct {
|
|||||||
func (x *DNSProviderType) Reset() {
|
func (x *DNSProviderType) Reset() {
|
||||||
*x = DNSProviderType{}
|
*x = DNSProviderType{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_dns_provider_proto_msgTypes[12]
|
mi := &file_service_dns_provider_proto_msgTypes[11]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -663,7 +600,7 @@ func (x *DNSProviderType) String() string {
|
|||||||
func (*DNSProviderType) ProtoMessage() {}
|
func (*DNSProviderType) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *DNSProviderType) ProtoReflect() protoreflect.Message {
|
func (x *DNSProviderType) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_dns_provider_proto_msgTypes[12]
|
mi := &file_service_dns_provider_proto_msgTypes[11]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -676,7 +613,7 @@ func (x *DNSProviderType) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use DNSProviderType.ProtoReflect.Descriptor instead.
|
// Deprecated: Use DNSProviderType.ProtoReflect.Descriptor instead.
|
||||||
func (*DNSProviderType) Descriptor() ([]byte, []int) {
|
func (*DNSProviderType) Descriptor() ([]byte, []int) {
|
||||||
return file_service_dns_provider_proto_rawDescGZIP(), []int{12}
|
return file_service_dns_provider_proto_rawDescGZIP(), []int{11}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DNSProviderType) GetName() string {
|
func (x *DNSProviderType) GetName() string {
|
||||||
@@ -693,6 +630,109 @@ func (x *DNSProviderType) GetCode() string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 更新数据
|
||||||
|
type UpdateDNSProviderDataRequest struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
DnsProviderId int64 `protobuf:"varint,1,opt,name=dnsProviderId,proto3" json:"dnsProviderId,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UpdateDNSProviderDataRequest) Reset() {
|
||||||
|
*x = UpdateDNSProviderDataRequest{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_service_dns_provider_proto_msgTypes[12]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UpdateDNSProviderDataRequest) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*UpdateDNSProviderDataRequest) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *UpdateDNSProviderDataRequest) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_service_dns_provider_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 UpdateDNSProviderDataRequest.ProtoReflect.Descriptor instead.
|
||||||
|
func (*UpdateDNSProviderDataRequest) Descriptor() ([]byte, []int) {
|
||||||
|
return file_service_dns_provider_proto_rawDescGZIP(), []int{12}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UpdateDNSProviderDataRequest) GetDnsProviderId() int64 {
|
||||||
|
if x != nil {
|
||||||
|
return x.DnsProviderId
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
type UpdateDNSProviderDataResponse struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
IsOk bool `protobuf:"varint,1,opt,name=isOk,proto3" json:"isOk,omitempty"`
|
||||||
|
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UpdateDNSProviderDataResponse) Reset() {
|
||||||
|
*x = UpdateDNSProviderDataResponse{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_service_dns_provider_proto_msgTypes[13]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UpdateDNSProviderDataResponse) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*UpdateDNSProviderDataResponse) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *UpdateDNSProviderDataResponse) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_service_dns_provider_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 UpdateDNSProviderDataResponse.ProtoReflect.Descriptor instead.
|
||||||
|
func (*UpdateDNSProviderDataResponse) Descriptor() ([]byte, []int) {
|
||||||
|
return file_service_dns_provider_proto_rawDescGZIP(), []int{13}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UpdateDNSProviderDataResponse) GetIsOk() bool {
|
||||||
|
if x != nil {
|
||||||
|
return x.IsOk
|
||||||
|
}
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UpdateDNSProviderDataResponse) GetError() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Error
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
var File_service_dns_provider_proto protoreflect.FileDescriptor
|
var File_service_dns_provider_proto protoreflect.FileDescriptor
|
||||||
|
|
||||||
var file_service_dns_provider_proto_rawDesc = []byte{
|
var file_service_dns_provider_proto_rawDesc = []byte{
|
||||||
@@ -700,114 +740,120 @@ var file_service_dns_provider_proto_rawDesc = []byte{
|
|||||||
0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62,
|
0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62,
|
||||||
0x1a, 0x12, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70,
|
0x1a, 0x12, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70,
|
||||||
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, 0x6e, 0x73, 0x5f,
|
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, 0x6e, 0x73, 0x5f,
|
||||||
0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x88,
|
0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x68,
|
||||||
0x01, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76,
|
0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69,
|
||||||
0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e,
|
0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
|
||||||
0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
|
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12,
|
||||||
0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74,
|
0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79,
|
||||||
0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x70, 0x69, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73,
|
0x70, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x70, 0x69, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a,
|
||||||
0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x61, 0x70, 0x69, 0x50,
|
0x53, 0x4f, 0x4e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x61, 0x70, 0x69, 0x50, 0x61,
|
||||||
0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x6f, 0x75,
|
0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x41, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61,
|
||||||
0x74, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x72,
|
0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73,
|
||||||
0x6f, 0x75, 0x74, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x41, 0x0a, 0x19, 0x43, 0x72, 0x65,
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76,
|
||||||
0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65,
|
|
||||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f,
|
|
||||||
0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64,
|
|
||||||
0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x9a, 0x01, 0x0a,
|
|
||||||
0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64,
|
|
||||||
0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x6e, 0x73,
|
|
||||||
0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
|
||||||
0x52, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12,
|
|
||||||
0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
|
|
||||||
0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x70, 0x69, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73,
|
|
||||||
0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x61, 0x70, 0x69, 0x50,
|
|
||||||
0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x6f, 0x75,
|
|
||||||
0x74, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x72,
|
|
||||||
0x6f, 0x75, 0x74, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x24, 0x0a, 0x22, 0x43, 0x6f, 0x75,
|
|
||||||
0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50,
|
|
||||||
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22,
|
|
||||||
0x3b, 0x0a, 0x23, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
|
||||||
0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65,
|
|
||||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18,
|
|
||||||
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x4c, 0x0a, 0x1e,
|
|
||||||
0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72,
|
|
||||||
0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 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, 0x56, 0x0a, 0x1f, 0x4c, 0x69,
|
|
||||||
0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76,
|
|
||||||
0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a,
|
|
||||||
0x0c, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20,
|
|
||||||
0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76,
|
|
||||||
0x69, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,
|
|
||||||
0x72, 0x73, 0x22, 0x40, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50,
|
|
||||||
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24,
|
|
||||||
0x0a, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18,
|
|
||||||
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64,
|
|
||||||
0x65, 0x72, 0x49, 0x64, 0x22, 0x45, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62,
|
|
||||||
0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65,
|
|
||||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76,
|
|
||||||
0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, 0x6e,
|
0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, 0x6e,
|
||||||
0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x53, 0x0a, 0x1e, 0x46,
|
0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x7a, 0x0a, 0x18, 0x55,
|
||||||
0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f,
|
|
||||||
0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a,
|
|
||||||
0x0b, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
|
|
||||||
0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69,
|
|
||||||
0x64, 0x65, 0x72, 0x52, 0x0b, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,
|
|
||||||
0x22, 0x20, 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x4e, 0x53, 0x50, 0x72,
|
|
||||||
0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
||||||
0x73, 0x74, 0x22, 0x5c, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x4e, 0x53,
|
|
||||||
0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73,
|
|
||||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,
|
|
||||||
0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70,
|
|
||||||
0x62, 0x2e, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70,
|
|
||||||
0x65, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73,
|
|
||||||
0x22, 0x39, 0x0a, 0x0f, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54,
|
|
||||||
0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
||||||
0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18,
|
|
||||||
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x32, 0x91, 0x05, 0x0a, 0x12,
|
|
||||||
0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69,
|
|
||||||
0x63, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50,
|
|
||||||
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65,
|
|
||||||
0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65,
|
|
||||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74,
|
|
||||||
0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
|
|
||||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x11, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x4e,
|
|
||||||
0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x55,
|
|
||||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,
|
0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,
|
||||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43,
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72,
|
||||||
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x6e, 0x0a,
|
0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d,
|
||||||
0x1b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a,
|
||||||
0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, 0x26, 0x2e, 0x70,
|
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
|
||||||
0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
0x65, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x70, 0x69, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53,
|
||||||
0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71,
|
0x4f, 0x4e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x61, 0x70, 0x69, 0x50, 0x61, 0x72,
|
||||||
0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41,
|
0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x24, 0x0a, 0x22, 0x43, 0x6f, 0x75, 0x6e, 0x74,
|
||||||
0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76,
|
0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f,
|
||||||
0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a,
|
0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4c, 0x0a,
|
||||||
0x17, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50,
|
0x1e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50,
|
||||||
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69,
|
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||||
0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76,
|
0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||||
0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70,
|
0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18,
|
||||||
0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53,
|
0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x56, 0x0a, 0x1f, 0x4c,
|
||||||
0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f,
|
||||||
0x65, 0x12, 0x47, 0x0a, 0x11, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72,
|
0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33,
|
||||||
0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65,
|
0x0a, 0x0c, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01,
|
||||||
0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71,
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f,
|
||||||
0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x44, 0x65, 0x6c,
|
0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64,
|
||||||
0x65, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x5f, 0x0a, 0x16, 0x66, 0x69,
|
0x65, 0x72, 0x73, 0x22, 0x40, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x4e, 0x53,
|
||||||
0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76,
|
0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||||
0x69, 0x64, 0x65, 0x72, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e,
|
0x24, 0x0a, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64,
|
||||||
0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69,
|
||||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e,
|
0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x45, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61,
|
||||||
|
0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52,
|
||||||
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f,
|
||||||
|
0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64,
|
||||||
|
0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x53, 0x0a, 0x1e,
|
||||||
|
0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72,
|
||||||
|
0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31,
|
||||||
|
0x0a, 0x0b, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20,
|
||||||
|
0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76,
|
||||||
|
0x69, 0x64, 0x65, 0x72, 0x52, 0x0b, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,
|
||||||
|
0x72, 0x22, 0x20, 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x4e, 0x53, 0x50,
|
||||||
|
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
|
||||||
|
0x65, 0x73, 0x74, 0x22, 0x5c, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x4e,
|
||||||
|
0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65,
|
||||||
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64,
|
||||||
|
0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e,
|
||||||
|
0x70, 0x62, 0x2e, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79,
|
||||||
|
0x70, 0x65, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65,
|
||||||
|
0x73, 0x22, 0x39, 0x0a, 0x0f, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,
|
||||||
|
0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
|
||||||
|
0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65,
|
||||||
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x44, 0x0a, 0x1c,
|
||||||
|
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,
|
||||||
|
0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d,
|
||||||
|
0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20,
|
||||||
|
0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,
|
||||||
|
0x49, 0x64, 0x22, 0x49, 0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50,
|
||||||
|
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||||
|
0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||||
|
0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,
|
||||||
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x32, 0xdc, 0x05,
|
||||||
|
0x0a, 0x12, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x53, 0x65, 0x72,
|
||||||
|
0x76, 0x69, 0x63, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x4e,
|
||||||
|
0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x43,
|
||||||
|
0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,
|
||||||
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65,
|
||||||
|
0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65,
|
||||||
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x11, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
|
||||||
|
0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, 0x62,
|
||||||
|
0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64,
|
||||||
|
0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52,
|
||||||
|
0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12,
|
||||||
|
0x5b, 0x0a, 0x1b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
||||||
|
0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, 0x26,
|
||||||
|
0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62,
|
||||||
|
0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 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, 0x62, 0x0a, 0x17,
|
||||||
|
0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72,
|
||||||
|
0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73,
|
||||||
|
0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69,
|
||||||
|
0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62,
|
||||||
|
0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50,
|
||||||
|
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||||
|
0x12, 0x47, 0x0a, 0x11, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f,
|
||||||
|
0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74,
|
||||||
|
0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
|
||||||
|
0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65,
|
||||||
|
0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x5f, 0x0a, 0x16, 0x66, 0x69, 0x6e,
|
||||||
0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69,
|
0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69,
|
||||||
0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x66,
|
0x64, 0x65, 0x72, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61,
|
||||||
|
0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52,
|
||||||
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64,
|
||||||
|
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64,
|
||||||
|
0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x66, 0x69,
|
||||||
|
0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,
|
||||||
|
0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41,
|
||||||
|
0x6c, 0x6c, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70,
|
||||||
|
0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46,
|
||||||
0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,
|
0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,
|
||||||
0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64,
|
0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c,
|
||||||
0x41, 0x6c, 0x6c, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79,
|
0x0a, 0x15, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69,
|
||||||
0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e,
|
0x64, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64,
|
||||||
0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64,
|
0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x44, 0x61,
|
||||||
0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42,
|
0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x55,
|
||||||
0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,
|
||||||
|
0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04,
|
||||||
|
0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@@ -822,45 +868,49 @@ func file_service_dns_provider_proto_rawDescGZIP() []byte {
|
|||||||
return file_service_dns_provider_proto_rawDescData
|
return file_service_dns_provider_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_service_dns_provider_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
var file_service_dns_provider_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
||||||
var file_service_dns_provider_proto_goTypes = []interface{}{
|
var file_service_dns_provider_proto_goTypes = []interface{}{
|
||||||
(*CreateDNSProviderRequest)(nil), // 0: pb.CreateDNSProviderRequest
|
(*CreateDNSProviderRequest)(nil), // 0: pb.CreateDNSProviderRequest
|
||||||
(*CreateDNSProviderResponse)(nil), // 1: pb.CreateDNSProviderResponse
|
(*CreateDNSProviderResponse)(nil), // 1: pb.CreateDNSProviderResponse
|
||||||
(*UpdateDNSProviderRequest)(nil), // 2: pb.UpdateDNSProviderRequest
|
(*UpdateDNSProviderRequest)(nil), // 2: pb.UpdateDNSProviderRequest
|
||||||
(*CountAllEnabledDNSProvidersRequest)(nil), // 3: pb.CountAllEnabledDNSProvidersRequest
|
(*CountAllEnabledDNSProvidersRequest)(nil), // 3: pb.CountAllEnabledDNSProvidersRequest
|
||||||
(*CountAllEnabledDNSProvidersResponse)(nil), // 4: pb.CountAllEnabledDNSProvidersResponse
|
(*ListEnabledDNSProvidersRequest)(nil), // 4: pb.ListEnabledDNSProvidersRequest
|
||||||
(*ListEnabledDNSProvidersRequest)(nil), // 5: pb.ListEnabledDNSProvidersRequest
|
(*ListEnabledDNSProvidersResponse)(nil), // 5: pb.ListEnabledDNSProvidersResponse
|
||||||
(*ListEnabledDNSProvidersResponse)(nil), // 6: pb.ListEnabledDNSProvidersResponse
|
(*DeleteDNSProviderRequest)(nil), // 6: pb.DeleteDNSProviderRequest
|
||||||
(*DeleteDNSProviderRequest)(nil), // 7: pb.DeleteDNSProviderRequest
|
(*FindEnabledDNSProviderRequest)(nil), // 7: pb.FindEnabledDNSProviderRequest
|
||||||
(*FindEnabledDNSProviderRequest)(nil), // 8: pb.FindEnabledDNSProviderRequest
|
(*FindEnabledDNSProviderResponse)(nil), // 8: pb.FindEnabledDNSProviderResponse
|
||||||
(*FindEnabledDNSProviderResponse)(nil), // 9: pb.FindEnabledDNSProviderResponse
|
(*FindAllDNSProviderTypesRequest)(nil), // 9: pb.FindAllDNSProviderTypesRequest
|
||||||
(*FindAllDNSProviderTypesRequest)(nil), // 10: pb.FindAllDNSProviderTypesRequest
|
(*FindAllDNSProviderTypesResponse)(nil), // 10: pb.FindAllDNSProviderTypesResponse
|
||||||
(*FindAllDNSProviderTypesResponse)(nil), // 11: pb.FindAllDNSProviderTypesResponse
|
(*DNSProviderType)(nil), // 11: pb.DNSProviderType
|
||||||
(*DNSProviderType)(nil), // 12: pb.DNSProviderType
|
(*UpdateDNSProviderDataRequest)(nil), // 12: pb.UpdateDNSProviderDataRequest
|
||||||
(*DNSProvider)(nil), // 13: pb.DNSProvider
|
(*UpdateDNSProviderDataResponse)(nil), // 13: pb.UpdateDNSProviderDataResponse
|
||||||
(*RPCUpdateSuccess)(nil), // 14: pb.RPCUpdateSuccess
|
(*DNSProvider)(nil), // 14: pb.DNSProvider
|
||||||
(*RPCDeleteSuccess)(nil), // 15: pb.RPCDeleteSuccess
|
(*RPCUpdateSuccess)(nil), // 15: pb.RPCUpdateSuccess
|
||||||
|
(*RPCCountResponse)(nil), // 16: pb.RPCCountResponse
|
||||||
|
(*RPCDeleteSuccess)(nil), // 17: pb.RPCDeleteSuccess
|
||||||
}
|
}
|
||||||
var file_service_dns_provider_proto_depIdxs = []int32{
|
var file_service_dns_provider_proto_depIdxs = []int32{
|
||||||
13, // 0: pb.ListEnabledDNSProvidersResponse.dnsProviders:type_name -> pb.DNSProvider
|
14, // 0: pb.ListEnabledDNSProvidersResponse.dnsProviders:type_name -> pb.DNSProvider
|
||||||
13, // 1: pb.FindEnabledDNSProviderResponse.dnsProvider:type_name -> pb.DNSProvider
|
14, // 1: pb.FindEnabledDNSProviderResponse.dnsProvider:type_name -> pb.DNSProvider
|
||||||
12, // 2: pb.FindAllDNSProviderTypesResponse.providerTypes:type_name -> pb.DNSProviderType
|
11, // 2: pb.FindAllDNSProviderTypesResponse.providerTypes:type_name -> pb.DNSProviderType
|
||||||
0, // 3: pb.DNSProviderService.createDNSProvider:input_type -> pb.CreateDNSProviderRequest
|
0, // 3: pb.DNSProviderService.createDNSProvider:input_type -> pb.CreateDNSProviderRequest
|
||||||
2, // 4: pb.DNSProviderService.updateDNSProvider:input_type -> pb.UpdateDNSProviderRequest
|
2, // 4: pb.DNSProviderService.updateDNSProvider:input_type -> pb.UpdateDNSProviderRequest
|
||||||
3, // 5: pb.DNSProviderService.countAllEnabledDNSProviders:input_type -> pb.CountAllEnabledDNSProvidersRequest
|
3, // 5: pb.DNSProviderService.countAllEnabledDNSProviders:input_type -> pb.CountAllEnabledDNSProvidersRequest
|
||||||
5, // 6: pb.DNSProviderService.listEnabledDNSProviders:input_type -> pb.ListEnabledDNSProvidersRequest
|
4, // 6: pb.DNSProviderService.listEnabledDNSProviders:input_type -> pb.ListEnabledDNSProvidersRequest
|
||||||
7, // 7: pb.DNSProviderService.deleteDNSProvider:input_type -> pb.DeleteDNSProviderRequest
|
6, // 7: pb.DNSProviderService.deleteDNSProvider:input_type -> pb.DeleteDNSProviderRequest
|
||||||
8, // 8: pb.DNSProviderService.findEnabledDNSProvider:input_type -> pb.FindEnabledDNSProviderRequest
|
7, // 8: pb.DNSProviderService.findEnabledDNSProvider:input_type -> pb.FindEnabledDNSProviderRequest
|
||||||
10, // 9: pb.DNSProviderService.findAllDNSProviderTypes:input_type -> pb.FindAllDNSProviderTypesRequest
|
9, // 9: pb.DNSProviderService.findAllDNSProviderTypes:input_type -> pb.FindAllDNSProviderTypesRequest
|
||||||
1, // 10: pb.DNSProviderService.createDNSProvider:output_type -> pb.CreateDNSProviderResponse
|
12, // 10: pb.DNSProviderService.updateDNSProviderData:input_type -> pb.UpdateDNSProviderDataRequest
|
||||||
14, // 11: pb.DNSProviderService.updateDNSProvider:output_type -> pb.RPCUpdateSuccess
|
1, // 11: pb.DNSProviderService.createDNSProvider:output_type -> pb.CreateDNSProviderResponse
|
||||||
4, // 12: pb.DNSProviderService.countAllEnabledDNSProviders:output_type -> pb.CountAllEnabledDNSProvidersResponse
|
15, // 12: pb.DNSProviderService.updateDNSProvider:output_type -> pb.RPCUpdateSuccess
|
||||||
6, // 13: pb.DNSProviderService.listEnabledDNSProviders:output_type -> pb.ListEnabledDNSProvidersResponse
|
16, // 13: pb.DNSProviderService.countAllEnabledDNSProviders:output_type -> pb.RPCCountResponse
|
||||||
15, // 14: pb.DNSProviderService.deleteDNSProvider:output_type -> pb.RPCDeleteSuccess
|
5, // 14: pb.DNSProviderService.listEnabledDNSProviders:output_type -> pb.ListEnabledDNSProvidersResponse
|
||||||
9, // 15: pb.DNSProviderService.findEnabledDNSProvider:output_type -> pb.FindEnabledDNSProviderResponse
|
17, // 15: pb.DNSProviderService.deleteDNSProvider:output_type -> pb.RPCDeleteSuccess
|
||||||
11, // 16: pb.DNSProviderService.findAllDNSProviderTypes:output_type -> pb.FindAllDNSProviderTypesResponse
|
8, // 16: pb.DNSProviderService.findEnabledDNSProvider:output_type -> pb.FindEnabledDNSProviderResponse
|
||||||
10, // [10:17] is the sub-list for method output_type
|
10, // 17: pb.DNSProviderService.findAllDNSProviderTypes:output_type -> pb.FindAllDNSProviderTypesResponse
|
||||||
3, // [3:10] is the sub-list for method input_type
|
13, // 18: pb.DNSProviderService.updateDNSProviderData:output_type -> pb.UpdateDNSProviderDataResponse
|
||||||
|
11, // [11:19] is the sub-list for method output_type
|
||||||
|
3, // [3:11] is the sub-list for method input_type
|
||||||
3, // [3:3] is the sub-list for extension type_name
|
3, // [3:3] is the sub-list for extension type_name
|
||||||
3, // [3:3] is the sub-list for extension extendee
|
3, // [3:3] is the sub-list for extension extendee
|
||||||
0, // [0:3] is the sub-list for field type_name
|
0, // [0:3] is the sub-list for field type_name
|
||||||
@@ -923,18 +973,6 @@ func file_service_dns_provider_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_dns_provider_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
file_service_dns_provider_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*CountAllEnabledDNSProvidersResponse); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_service_dns_provider_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*ListEnabledDNSProvidersRequest); i {
|
switch v := v.(*ListEnabledDNSProvidersRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -946,7 +984,7 @@ func file_service_dns_provider_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_dns_provider_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
file_service_dns_provider_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ListEnabledDNSProvidersResponse); i {
|
switch v := v.(*ListEnabledDNSProvidersResponse); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -958,7 +996,7 @@ func file_service_dns_provider_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_dns_provider_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
file_service_dns_provider_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*DeleteDNSProviderRequest); i {
|
switch v := v.(*DeleteDNSProviderRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -970,7 +1008,7 @@ func file_service_dns_provider_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_dns_provider_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
file_service_dns_provider_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*FindEnabledDNSProviderRequest); i {
|
switch v := v.(*FindEnabledDNSProviderRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -982,7 +1020,7 @@ func file_service_dns_provider_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_dns_provider_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
file_service_dns_provider_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*FindEnabledDNSProviderResponse); i {
|
switch v := v.(*FindEnabledDNSProviderResponse); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -994,7 +1032,7 @@ func file_service_dns_provider_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_dns_provider_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
file_service_dns_provider_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*FindAllDNSProviderTypesRequest); i {
|
switch v := v.(*FindAllDNSProviderTypesRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1006,7 +1044,7 @@ func file_service_dns_provider_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_dns_provider_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
file_service_dns_provider_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*FindAllDNSProviderTypesResponse); i {
|
switch v := v.(*FindAllDNSProviderTypesResponse); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1018,7 +1056,7 @@ func file_service_dns_provider_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_dns_provider_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
file_service_dns_provider_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*DNSProviderType); i {
|
switch v := v.(*DNSProviderType); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1030,6 +1068,30 @@ func file_service_dns_provider_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
file_service_dns_provider_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*UpdateDNSProviderDataRequest); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_service_dns_provider_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*UpdateDNSProviderDataResponse); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
type x struct{}
|
type x struct{}
|
||||||
out := protoimpl.TypeBuilder{
|
out := protoimpl.TypeBuilder{
|
||||||
@@ -1037,7 +1099,7 @@ func file_service_dns_provider_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_service_dns_provider_proto_rawDesc,
|
RawDescriptor: file_service_dns_provider_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 0,
|
||||||
NumMessages: 13,
|
NumMessages: 14,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 1,
|
NumServices: 1,
|
||||||
},
|
},
|
||||||
@@ -1068,7 +1130,7 @@ type DNSProviderServiceClient interface {
|
|||||||
// 修改服务商
|
// 修改服务商
|
||||||
UpdateDNSProvider(ctx context.Context, in *UpdateDNSProviderRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
UpdateDNSProvider(ctx context.Context, in *UpdateDNSProviderRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||||
// 计算服务商数量
|
// 计算服务商数量
|
||||||
CountAllEnabledDNSProviders(ctx context.Context, in *CountAllEnabledDNSProvidersRequest, opts ...grpc.CallOption) (*CountAllEnabledDNSProvidersResponse, error)
|
CountAllEnabledDNSProviders(ctx context.Context, in *CountAllEnabledDNSProvidersRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
|
||||||
// 列出单页服务商信息
|
// 列出单页服务商信息
|
||||||
ListEnabledDNSProviders(ctx context.Context, in *ListEnabledDNSProvidersRequest, opts ...grpc.CallOption) (*ListEnabledDNSProvidersResponse, error)
|
ListEnabledDNSProviders(ctx context.Context, in *ListEnabledDNSProvidersRequest, opts ...grpc.CallOption) (*ListEnabledDNSProvidersResponse, error)
|
||||||
// 删除服务商
|
// 删除服务商
|
||||||
@@ -1077,6 +1139,8 @@ type DNSProviderServiceClient interface {
|
|||||||
FindEnabledDNSProvider(ctx context.Context, in *FindEnabledDNSProviderRequest, opts ...grpc.CallOption) (*FindEnabledDNSProviderResponse, error)
|
FindEnabledDNSProvider(ctx context.Context, in *FindEnabledDNSProviderRequest, opts ...grpc.CallOption) (*FindEnabledDNSProviderResponse, error)
|
||||||
// 取得所有服务商类型
|
// 取得所有服务商类型
|
||||||
FindAllDNSProviderTypes(ctx context.Context, in *FindAllDNSProviderTypesRequest, opts ...grpc.CallOption) (*FindAllDNSProviderTypesResponse, error)
|
FindAllDNSProviderTypes(ctx context.Context, in *FindAllDNSProviderTypesRequest, opts ...grpc.CallOption) (*FindAllDNSProviderTypesResponse, error)
|
||||||
|
// 更新数据
|
||||||
|
UpdateDNSProviderData(ctx context.Context, in *UpdateDNSProviderDataRequest, opts ...grpc.CallOption) (*UpdateDNSProviderDataResponse, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
type dNSProviderServiceClient struct {
|
type dNSProviderServiceClient struct {
|
||||||
@@ -1105,8 +1169,8 @@ func (c *dNSProviderServiceClient) UpdateDNSProvider(ctx context.Context, in *Up
|
|||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *dNSProviderServiceClient) CountAllEnabledDNSProviders(ctx context.Context, in *CountAllEnabledDNSProvidersRequest, opts ...grpc.CallOption) (*CountAllEnabledDNSProvidersResponse, error) {
|
func (c *dNSProviderServiceClient) CountAllEnabledDNSProviders(ctx context.Context, in *CountAllEnabledDNSProvidersRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
|
||||||
out := new(CountAllEnabledDNSProvidersResponse)
|
out := new(RPCCountResponse)
|
||||||
err := c.cc.Invoke(ctx, "/pb.DNSProviderService/countAllEnabledDNSProviders", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/pb.DNSProviderService/countAllEnabledDNSProviders", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
@@ -1150,6 +1214,15 @@ func (c *dNSProviderServiceClient) FindAllDNSProviderTypes(ctx context.Context,
|
|||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (c *dNSProviderServiceClient) UpdateDNSProviderData(ctx context.Context, in *UpdateDNSProviderDataRequest, opts ...grpc.CallOption) (*UpdateDNSProviderDataResponse, error) {
|
||||||
|
out := new(UpdateDNSProviderDataResponse)
|
||||||
|
err := c.cc.Invoke(ctx, "/pb.DNSProviderService/updateDNSProviderData", in, out, opts...)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
return out, nil
|
||||||
|
}
|
||||||
|
|
||||||
// DNSProviderServiceServer is the server API for DNSProviderService service.
|
// DNSProviderServiceServer is the server API for DNSProviderService service.
|
||||||
type DNSProviderServiceServer interface {
|
type DNSProviderServiceServer interface {
|
||||||
// 创建服务商
|
// 创建服务商
|
||||||
@@ -1157,7 +1230,7 @@ type DNSProviderServiceServer interface {
|
|||||||
// 修改服务商
|
// 修改服务商
|
||||||
UpdateDNSProvider(context.Context, *UpdateDNSProviderRequest) (*RPCUpdateSuccess, error)
|
UpdateDNSProvider(context.Context, *UpdateDNSProviderRequest) (*RPCUpdateSuccess, error)
|
||||||
// 计算服务商数量
|
// 计算服务商数量
|
||||||
CountAllEnabledDNSProviders(context.Context, *CountAllEnabledDNSProvidersRequest) (*CountAllEnabledDNSProvidersResponse, error)
|
CountAllEnabledDNSProviders(context.Context, *CountAllEnabledDNSProvidersRequest) (*RPCCountResponse, error)
|
||||||
// 列出单页服务商信息
|
// 列出单页服务商信息
|
||||||
ListEnabledDNSProviders(context.Context, *ListEnabledDNSProvidersRequest) (*ListEnabledDNSProvidersResponse, error)
|
ListEnabledDNSProviders(context.Context, *ListEnabledDNSProvidersRequest) (*ListEnabledDNSProvidersResponse, error)
|
||||||
// 删除服务商
|
// 删除服务商
|
||||||
@@ -1166,6 +1239,8 @@ type DNSProviderServiceServer interface {
|
|||||||
FindEnabledDNSProvider(context.Context, *FindEnabledDNSProviderRequest) (*FindEnabledDNSProviderResponse, error)
|
FindEnabledDNSProvider(context.Context, *FindEnabledDNSProviderRequest) (*FindEnabledDNSProviderResponse, error)
|
||||||
// 取得所有服务商类型
|
// 取得所有服务商类型
|
||||||
FindAllDNSProviderTypes(context.Context, *FindAllDNSProviderTypesRequest) (*FindAllDNSProviderTypesResponse, error)
|
FindAllDNSProviderTypes(context.Context, *FindAllDNSProviderTypesRequest) (*FindAllDNSProviderTypesResponse, error)
|
||||||
|
// 更新数据
|
||||||
|
UpdateDNSProviderData(context.Context, *UpdateDNSProviderDataRequest) (*UpdateDNSProviderDataResponse, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
// UnimplementedDNSProviderServiceServer can be embedded to have forward compatible implementations.
|
// UnimplementedDNSProviderServiceServer can be embedded to have forward compatible implementations.
|
||||||
@@ -1178,7 +1253,7 @@ func (*UnimplementedDNSProviderServiceServer) CreateDNSProvider(context.Context,
|
|||||||
func (*UnimplementedDNSProviderServiceServer) UpdateDNSProvider(context.Context, *UpdateDNSProviderRequest) (*RPCUpdateSuccess, error) {
|
func (*UnimplementedDNSProviderServiceServer) UpdateDNSProvider(context.Context, *UpdateDNSProviderRequest) (*RPCUpdateSuccess, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateDNSProvider not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateDNSProvider not implemented")
|
||||||
}
|
}
|
||||||
func (*UnimplementedDNSProviderServiceServer) CountAllEnabledDNSProviders(context.Context, *CountAllEnabledDNSProvidersRequest) (*CountAllEnabledDNSProvidersResponse, error) {
|
func (*UnimplementedDNSProviderServiceServer) CountAllEnabledDNSProviders(context.Context, *CountAllEnabledDNSProvidersRequest) (*RPCCountResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledDNSProviders not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledDNSProviders not implemented")
|
||||||
}
|
}
|
||||||
func (*UnimplementedDNSProviderServiceServer) ListEnabledDNSProviders(context.Context, *ListEnabledDNSProvidersRequest) (*ListEnabledDNSProvidersResponse, error) {
|
func (*UnimplementedDNSProviderServiceServer) ListEnabledDNSProviders(context.Context, *ListEnabledDNSProvidersRequest) (*ListEnabledDNSProvidersResponse, error) {
|
||||||
@@ -1193,6 +1268,9 @@ func (*UnimplementedDNSProviderServiceServer) FindEnabledDNSProvider(context.Con
|
|||||||
func (*UnimplementedDNSProviderServiceServer) FindAllDNSProviderTypes(context.Context, *FindAllDNSProviderTypesRequest) (*FindAllDNSProviderTypesResponse, error) {
|
func (*UnimplementedDNSProviderServiceServer) FindAllDNSProviderTypes(context.Context, *FindAllDNSProviderTypesRequest) (*FindAllDNSProviderTypesResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method FindAllDNSProviderTypes not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method FindAllDNSProviderTypes not implemented")
|
||||||
}
|
}
|
||||||
|
func (*UnimplementedDNSProviderServiceServer) UpdateDNSProviderData(context.Context, *UpdateDNSProviderDataRequest) (*UpdateDNSProviderDataResponse, error) {
|
||||||
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateDNSProviderData not implemented")
|
||||||
|
}
|
||||||
|
|
||||||
func RegisterDNSProviderServiceServer(s *grpc.Server, srv DNSProviderServiceServer) {
|
func RegisterDNSProviderServiceServer(s *grpc.Server, srv DNSProviderServiceServer) {
|
||||||
s.RegisterService(&_DNSProviderService_serviceDesc, srv)
|
s.RegisterService(&_DNSProviderService_serviceDesc, srv)
|
||||||
@@ -1324,6 +1402,24 @@ func _DNSProviderService_FindAllDNSProviderTypes_Handler(srv interface{}, ctx co
|
|||||||
return interceptor(ctx, in, info, handler)
|
return interceptor(ctx, in, info, handler)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func _DNSProviderService_UpdateDNSProviderData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||||
|
in := new(UpdateDNSProviderDataRequest)
|
||||||
|
if err := dec(in); err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
if interceptor == nil {
|
||||||
|
return srv.(DNSProviderServiceServer).UpdateDNSProviderData(ctx, in)
|
||||||
|
}
|
||||||
|
info := &grpc.UnaryServerInfo{
|
||||||
|
Server: srv,
|
||||||
|
FullMethod: "/pb.DNSProviderService/UpdateDNSProviderData",
|
||||||
|
}
|
||||||
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||||
|
return srv.(DNSProviderServiceServer).UpdateDNSProviderData(ctx, req.(*UpdateDNSProviderDataRequest))
|
||||||
|
}
|
||||||
|
return interceptor(ctx, in, info, handler)
|
||||||
|
}
|
||||||
|
|
||||||
var _DNSProviderService_serviceDesc = grpc.ServiceDesc{
|
var _DNSProviderService_serviceDesc = grpc.ServiceDesc{
|
||||||
ServiceName: "pb.DNSProviderService",
|
ServiceName: "pb.DNSProviderService",
|
||||||
HandlerType: (*DNSProviderServiceServer)(nil),
|
HandlerType: (*DNSProviderServiceServer)(nil),
|
||||||
@@ -1356,6 +1452,10 @@ var _DNSProviderService_serviceDesc = grpc.ServiceDesc{
|
|||||||
MethodName: "findAllDNSProviderTypes",
|
MethodName: "findAllDNSProviderTypes",
|
||||||
Handler: _DNSProviderService_FindAllDNSProviderTypes_Handler,
|
Handler: _DNSProviderService_FindAllDNSProviderTypes_Handler,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
MethodName: "updateDNSProviderData",
|
||||||
|
Handler: _DNSProviderService_UpdateDNSProviderData_Handler,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
Streams: []grpc.StreamDesc{},
|
Streams: []grpc.StreamDesc{},
|
||||||
Metadata: "service_dns_provider.proto",
|
Metadata: "service_dns_provider.proto",
|
||||||
|
|||||||
@@ -465,53 +465,6 @@ func (*CountAllEnabledHTTPCachePoliciesRequest) Descriptor() ([]byte, []int) {
|
|||||||
return file_service_http_cache_policy_proto_rawDescGZIP(), []int{6}
|
return file_service_http_cache_policy_proto_rawDescGZIP(), []int{6}
|
||||||
}
|
}
|
||||||
|
|
||||||
type CountAllEnabledHTTPCachePoliciesResponse struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountAllEnabledHTTPCachePoliciesResponse) Reset() {
|
|
||||||
*x = CountAllEnabledHTTPCachePoliciesResponse{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_service_http_cache_policy_proto_msgTypes[7]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountAllEnabledHTTPCachePoliciesResponse) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*CountAllEnabledHTTPCachePoliciesResponse) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *CountAllEnabledHTTPCachePoliciesResponse) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_service_http_cache_policy_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 CountAllEnabledHTTPCachePoliciesResponse.ProtoReflect.Descriptor instead.
|
|
||||||
func (*CountAllEnabledHTTPCachePoliciesResponse) Descriptor() ([]byte, []int) {
|
|
||||||
return file_service_http_cache_policy_proto_rawDescGZIP(), []int{7}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountAllEnabledHTTPCachePoliciesResponse) GetCount() int64 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Count
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
// 列出单页的缓存策略
|
// 列出单页的缓存策略
|
||||||
type ListEnabledHTTPCachePoliciesRequest struct {
|
type ListEnabledHTTPCachePoliciesRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
@@ -525,7 +478,7 @@ type ListEnabledHTTPCachePoliciesRequest struct {
|
|||||||
func (x *ListEnabledHTTPCachePoliciesRequest) Reset() {
|
func (x *ListEnabledHTTPCachePoliciesRequest) Reset() {
|
||||||
*x = ListEnabledHTTPCachePoliciesRequest{}
|
*x = ListEnabledHTTPCachePoliciesRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_http_cache_policy_proto_msgTypes[8]
|
mi := &file_service_http_cache_policy_proto_msgTypes[7]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -538,7 +491,7 @@ func (x *ListEnabledHTTPCachePoliciesRequest) String() string {
|
|||||||
func (*ListEnabledHTTPCachePoliciesRequest) ProtoMessage() {}
|
func (*ListEnabledHTTPCachePoliciesRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ListEnabledHTTPCachePoliciesRequest) ProtoReflect() protoreflect.Message {
|
func (x *ListEnabledHTTPCachePoliciesRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_http_cache_policy_proto_msgTypes[8]
|
mi := &file_service_http_cache_policy_proto_msgTypes[7]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -551,7 +504,7 @@ func (x *ListEnabledHTTPCachePoliciesRequest) ProtoReflect() protoreflect.Messag
|
|||||||
|
|
||||||
// Deprecated: Use ListEnabledHTTPCachePoliciesRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ListEnabledHTTPCachePoliciesRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*ListEnabledHTTPCachePoliciesRequest) Descriptor() ([]byte, []int) {
|
func (*ListEnabledHTTPCachePoliciesRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_http_cache_policy_proto_rawDescGZIP(), []int{8}
|
return file_service_http_cache_policy_proto_rawDescGZIP(), []int{7}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListEnabledHTTPCachePoliciesRequest) GetOffset() int64 {
|
func (x *ListEnabledHTTPCachePoliciesRequest) GetOffset() int64 {
|
||||||
@@ -579,7 +532,7 @@ type ListEnabledHTTPCachePoliciesResponse struct {
|
|||||||
func (x *ListEnabledHTTPCachePoliciesResponse) Reset() {
|
func (x *ListEnabledHTTPCachePoliciesResponse) Reset() {
|
||||||
*x = ListEnabledHTTPCachePoliciesResponse{}
|
*x = ListEnabledHTTPCachePoliciesResponse{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_http_cache_policy_proto_msgTypes[9]
|
mi := &file_service_http_cache_policy_proto_msgTypes[8]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -592,7 +545,7 @@ func (x *ListEnabledHTTPCachePoliciesResponse) String() string {
|
|||||||
func (*ListEnabledHTTPCachePoliciesResponse) ProtoMessage() {}
|
func (*ListEnabledHTTPCachePoliciesResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ListEnabledHTTPCachePoliciesResponse) ProtoReflect() protoreflect.Message {
|
func (x *ListEnabledHTTPCachePoliciesResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_http_cache_policy_proto_msgTypes[9]
|
mi := &file_service_http_cache_policy_proto_msgTypes[8]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -605,7 +558,7 @@ func (x *ListEnabledHTTPCachePoliciesResponse) ProtoReflect() protoreflect.Messa
|
|||||||
|
|
||||||
// Deprecated: Use ListEnabledHTTPCachePoliciesResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ListEnabledHTTPCachePoliciesResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*ListEnabledHTTPCachePoliciesResponse) Descriptor() ([]byte, []int) {
|
func (*ListEnabledHTTPCachePoliciesResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_service_http_cache_policy_proto_rawDescGZIP(), []int{9}
|
return file_service_http_cache_policy_proto_rawDescGZIP(), []int{8}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListEnabledHTTPCachePoliciesResponse) GetCachePoliciesJSON() []byte {
|
func (x *ListEnabledHTTPCachePoliciesResponse) GetCachePoliciesJSON() []byte {
|
||||||
@@ -627,7 +580,7 @@ type FindEnabledHTTPCachePolicyConfigRequest struct {
|
|||||||
func (x *FindEnabledHTTPCachePolicyConfigRequest) Reset() {
|
func (x *FindEnabledHTTPCachePolicyConfigRequest) Reset() {
|
||||||
*x = FindEnabledHTTPCachePolicyConfigRequest{}
|
*x = FindEnabledHTTPCachePolicyConfigRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_http_cache_policy_proto_msgTypes[10]
|
mi := &file_service_http_cache_policy_proto_msgTypes[9]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -640,7 +593,7 @@ func (x *FindEnabledHTTPCachePolicyConfigRequest) String() string {
|
|||||||
func (*FindEnabledHTTPCachePolicyConfigRequest) ProtoMessage() {}
|
func (*FindEnabledHTTPCachePolicyConfigRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *FindEnabledHTTPCachePolicyConfigRequest) ProtoReflect() protoreflect.Message {
|
func (x *FindEnabledHTTPCachePolicyConfigRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_http_cache_policy_proto_msgTypes[10]
|
mi := &file_service_http_cache_policy_proto_msgTypes[9]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -653,7 +606,7 @@ func (x *FindEnabledHTTPCachePolicyConfigRequest) ProtoReflect() protoreflect.Me
|
|||||||
|
|
||||||
// Deprecated: Use FindEnabledHTTPCachePolicyConfigRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use FindEnabledHTTPCachePolicyConfigRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*FindEnabledHTTPCachePolicyConfigRequest) Descriptor() ([]byte, []int) {
|
func (*FindEnabledHTTPCachePolicyConfigRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_http_cache_policy_proto_rawDescGZIP(), []int{10}
|
return file_service_http_cache_policy_proto_rawDescGZIP(), []int{9}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FindEnabledHTTPCachePolicyConfigRequest) GetCachePolicyId() int64 {
|
func (x *FindEnabledHTTPCachePolicyConfigRequest) GetCachePolicyId() int64 {
|
||||||
@@ -674,7 +627,7 @@ type FindEnabledHTTPCachePolicyConfigResponse struct {
|
|||||||
func (x *FindEnabledHTTPCachePolicyConfigResponse) Reset() {
|
func (x *FindEnabledHTTPCachePolicyConfigResponse) Reset() {
|
||||||
*x = FindEnabledHTTPCachePolicyConfigResponse{}
|
*x = FindEnabledHTTPCachePolicyConfigResponse{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_http_cache_policy_proto_msgTypes[11]
|
mi := &file_service_http_cache_policy_proto_msgTypes[10]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -687,7 +640,7 @@ func (x *FindEnabledHTTPCachePolicyConfigResponse) String() string {
|
|||||||
func (*FindEnabledHTTPCachePolicyConfigResponse) ProtoMessage() {}
|
func (*FindEnabledHTTPCachePolicyConfigResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *FindEnabledHTTPCachePolicyConfigResponse) ProtoReflect() protoreflect.Message {
|
func (x *FindEnabledHTTPCachePolicyConfigResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_http_cache_policy_proto_msgTypes[11]
|
mi := &file_service_http_cache_policy_proto_msgTypes[10]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -700,7 +653,7 @@ func (x *FindEnabledHTTPCachePolicyConfigResponse) ProtoReflect() protoreflect.M
|
|||||||
|
|
||||||
// Deprecated: Use FindEnabledHTTPCachePolicyConfigResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use FindEnabledHTTPCachePolicyConfigResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*FindEnabledHTTPCachePolicyConfigResponse) Descriptor() ([]byte, []int) {
|
func (*FindEnabledHTTPCachePolicyConfigResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_service_http_cache_policy_proto_rawDescGZIP(), []int{11}
|
return file_service_http_cache_policy_proto_rawDescGZIP(), []int{10}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FindEnabledHTTPCachePolicyConfigResponse) GetCachePolicyJSON() []byte {
|
func (x *FindEnabledHTTPCachePolicyConfigResponse) GetCachePolicyJSON() []byte {
|
||||||
@@ -773,82 +726,76 @@ var file_service_http_cache_policy_proto_rawDesc = []byte{
|
|||||||
0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x29, 0x0a,
|
0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x29, 0x0a,
|
||||||
0x27, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
0x27, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
||||||
0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65,
|
0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65,
|
||||||
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x40, 0x0a, 0x28, 0x43, 0x6f, 0x75, 0x6e,
|
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x51, 0x0a, 0x23, 0x4c, 0x69, 0x73, 0x74,
|
||||||
0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43,
|
|
||||||
0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70,
|
|
||||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20,
|
|
||||||
0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x51, 0x0a, 0x23, 0x4c, 0x69,
|
|
||||||
0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63,
|
|
||||||
0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 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, 0x54, 0x0a,
|
|
||||||
0x24, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50,
|
|
||||||
0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73,
|
|
||||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f,
|
|
||||||
0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c,
|
|
||||||
0x52, 0x11, 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x4a,
|
|
||||||
0x53, 0x4f, 0x4e, 0x22, 0x4f, 0x0a, 0x27, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
|
||||||
0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63,
|
|
||||||
0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24,
|
|
||||||
0x0a, 0x0d, 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18,
|
|
||||||
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69,
|
|
||||||
0x63, 0x79, 0x49, 0x64, 0x22, 0x54, 0x0a, 0x28, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62,
|
|
||||||
0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69,
|
|
||||||
0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
||||||
0x12, 0x28, 0x0a, 0x0f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4a,
|
|
||||||
0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x61, 0x63, 0x68, 0x65,
|
|
||||||
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x32, 0x85, 0x06, 0x0a, 0x16, 0x48,
|
|
||||||
0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65,
|
|
||||||
0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7a, 0x0a, 0x1f, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c,
|
|
||||||
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65,
|
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65,
|
||||||
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x2a, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69,
|
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||||
0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50,
|
0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||||
0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71,
|
0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18,
|
||||||
0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c,
|
0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x54, 0x0a, 0x24, 0x4c,
|
||||||
0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68,
|
|
||||||
0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
||||||
0x65, 0x12, 0x5c, 0x0a, 0x15, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x43,
|
|
||||||
0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e,
|
|
||||||
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50,
|
|
||||||
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70,
|
|
||||||
0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68,
|
|
||||||
0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
||||||
0x4f, 0x0a, 0x15, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63,
|
|
||||||
0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70,
|
|
||||||
0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c,
|
|
||||||
0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e,
|
|
||||||
0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
|
|
||||||
0x12, 0x4f, 0x0a, 0x15, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61,
|
|
||||||
0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x44,
|
|
||||||
0x65, 0x6c, 0x65, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f,
|
|
||||||
0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62,
|
|
||||||
0x2e, 0x52, 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73,
|
|
||||||
0x73, 0x12, 0x7d, 0x0a, 0x20, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61,
|
|
||||||
0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c,
|
|
||||||
0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x2b, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74,
|
|
||||||
0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61,
|
|
||||||
0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
||||||
0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c,
|
|
||||||
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65,
|
|
||||||
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
||||||
0x12, 0x71, 0x0a, 0x1c, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48,
|
|
||||||
0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73,
|
|
||||||
0x12, 0x27, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
|
||||||
0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69,
|
|
||||||
0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x70, 0x62, 0x2e, 0x4c,
|
|
||||||
0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61,
|
0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61,
|
||||||
0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||||
0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x20, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69,
|
||||||
0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63,
|
0x63, 0x69, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11,
|
||||||
0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e,
|
0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x4a, 0x53, 0x4f,
|
||||||
0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68,
|
0x4e, 0x22, 0x4f, 0x0a, 0x27, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
||||||
0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71,
|
0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43,
|
||||||
0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e,
|
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d,
|
||||||
|
0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20,
|
||||||
|
0x01, 0x28, 0x03, 0x52, 0x0d, 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
|
||||||
|
0x49, 0x64, 0x22, 0x54, 0x0a, 0x28, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
||||||
|
0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
|
||||||
|
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28,
|
||||||
|
0x0a, 0x0f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4a, 0x53, 0x4f,
|
||||||
|
0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f,
|
||||||
|
0x6c, 0x69, 0x63, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x32, 0xed, 0x05, 0x0a, 0x16, 0x48, 0x54, 0x54,
|
||||||
|
0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x72, 0x76,
|
||||||
|
0x69, 0x63, 0x65, 0x12, 0x7a, 0x0a, 0x1f, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e,
|
||||||
0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f,
|
0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f,
|
||||||
0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x2a, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64,
|
||||||
0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61,
|
||||||
0x6f, 0x33,
|
0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||||
|
0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45,
|
||||||
|
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50,
|
||||||
|
0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||||
|
0x5c, 0x0a, 0x15, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63,
|
||||||
|
0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72,
|
||||||
|
0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c,
|
||||||
|
0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x62, 0x2e,
|
||||||
|
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50,
|
||||||
|
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a,
|
||||||
|
0x15, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65,
|
||||||
|
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61,
|
||||||
|
0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63,
|
||||||
|
0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50,
|
||||||
|
0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x4f,
|
||||||
|
0x0a, 0x15, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68,
|
||||||
|
0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c,
|
||||||
|
0x65, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69,
|
||||||
|
0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52,
|
||||||
|
0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12,
|
||||||
|
0x65, 0x0a, 0x20, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
||||||
|
0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63,
|
||||||
|
0x69, 0x65, 0x73, 0x12, 0x2b, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c,
|
||||||
|
0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68,
|
||||||
|
0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 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, 0x71, 0x0a, 0x1c, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e,
|
||||||
|
0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f,
|
||||||
|
0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x27, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74,
|
||||||
|
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65,
|
||||||
|
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||||
|
0x28, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
||||||
|
0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65,
|
||||||
|
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x20, 0x66, 0x69, 0x6e,
|
||||||
|
0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68,
|
||||||
|
0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2b, 0x2e,
|
||||||
|
0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54,
|
||||||
|
0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e,
|
||||||
|
0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x70, 0x62, 0x2e,
|
||||||
|
0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43,
|
||||||
|
0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
||||||
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62,
|
||||||
|
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@@ -863,7 +810,7 @@ func file_service_http_cache_policy_proto_rawDescGZIP() []byte {
|
|||||||
return file_service_http_cache_policy_proto_rawDescData
|
return file_service_http_cache_policy_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_service_http_cache_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
var file_service_http_cache_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
||||||
var file_service_http_cache_policy_proto_goTypes = []interface{}{
|
var file_service_http_cache_policy_proto_goTypes = []interface{}{
|
||||||
(*FindAllEnabledHTTPCachePoliciesRequest)(nil), // 0: pb.FindAllEnabledHTTPCachePoliciesRequest
|
(*FindAllEnabledHTTPCachePoliciesRequest)(nil), // 0: pb.FindAllEnabledHTTPCachePoliciesRequest
|
||||||
(*FindAllEnabledHTTPCachePoliciesResponse)(nil), // 1: pb.FindAllEnabledHTTPCachePoliciesResponse
|
(*FindAllEnabledHTTPCachePoliciesResponse)(nil), // 1: pb.FindAllEnabledHTTPCachePoliciesResponse
|
||||||
@@ -872,31 +819,31 @@ var file_service_http_cache_policy_proto_goTypes = []interface{}{
|
|||||||
(*UpdateHTTPCachePolicyRequest)(nil), // 4: pb.UpdateHTTPCachePolicyRequest
|
(*UpdateHTTPCachePolicyRequest)(nil), // 4: pb.UpdateHTTPCachePolicyRequest
|
||||||
(*DeleteHTTPCachePolicyRequest)(nil), // 5: pb.DeleteHTTPCachePolicyRequest
|
(*DeleteHTTPCachePolicyRequest)(nil), // 5: pb.DeleteHTTPCachePolicyRequest
|
||||||
(*CountAllEnabledHTTPCachePoliciesRequest)(nil), // 6: pb.CountAllEnabledHTTPCachePoliciesRequest
|
(*CountAllEnabledHTTPCachePoliciesRequest)(nil), // 6: pb.CountAllEnabledHTTPCachePoliciesRequest
|
||||||
(*CountAllEnabledHTTPCachePoliciesResponse)(nil), // 7: pb.CountAllEnabledHTTPCachePoliciesResponse
|
(*ListEnabledHTTPCachePoliciesRequest)(nil), // 7: pb.ListEnabledHTTPCachePoliciesRequest
|
||||||
(*ListEnabledHTTPCachePoliciesRequest)(nil), // 8: pb.ListEnabledHTTPCachePoliciesRequest
|
(*ListEnabledHTTPCachePoliciesResponse)(nil), // 8: pb.ListEnabledHTTPCachePoliciesResponse
|
||||||
(*ListEnabledHTTPCachePoliciesResponse)(nil), // 9: pb.ListEnabledHTTPCachePoliciesResponse
|
(*FindEnabledHTTPCachePolicyConfigRequest)(nil), // 9: pb.FindEnabledHTTPCachePolicyConfigRequest
|
||||||
(*FindEnabledHTTPCachePolicyConfigRequest)(nil), // 10: pb.FindEnabledHTTPCachePolicyConfigRequest
|
(*FindEnabledHTTPCachePolicyConfigResponse)(nil), // 10: pb.FindEnabledHTTPCachePolicyConfigResponse
|
||||||
(*FindEnabledHTTPCachePolicyConfigResponse)(nil), // 11: pb.FindEnabledHTTPCachePolicyConfigResponse
|
(*HTTPCachePolicy)(nil), // 11: pb.HTTPCachePolicy
|
||||||
(*HTTPCachePolicy)(nil), // 12: pb.HTTPCachePolicy
|
(*RPCUpdateSuccess)(nil), // 12: pb.RPCUpdateSuccess
|
||||||
(*RPCUpdateSuccess)(nil), // 13: pb.RPCUpdateSuccess
|
(*RPCDeleteSuccess)(nil), // 13: pb.RPCDeleteSuccess
|
||||||
(*RPCDeleteSuccess)(nil), // 14: pb.RPCDeleteSuccess
|
(*RPCCountResponse)(nil), // 14: pb.RPCCountResponse
|
||||||
}
|
}
|
||||||
var file_service_http_cache_policy_proto_depIdxs = []int32{
|
var file_service_http_cache_policy_proto_depIdxs = []int32{
|
||||||
12, // 0: pb.FindAllEnabledHTTPCachePoliciesResponse.cachePolicies:type_name -> pb.HTTPCachePolicy
|
11, // 0: pb.FindAllEnabledHTTPCachePoliciesResponse.cachePolicies:type_name -> pb.HTTPCachePolicy
|
||||||
0, // 1: pb.HTTPCachePolicyService.findAllEnabledHTTPCachePolicies:input_type -> pb.FindAllEnabledHTTPCachePoliciesRequest
|
0, // 1: pb.HTTPCachePolicyService.findAllEnabledHTTPCachePolicies:input_type -> pb.FindAllEnabledHTTPCachePoliciesRequest
|
||||||
2, // 2: pb.HTTPCachePolicyService.createHTTPCachePolicy:input_type -> pb.CreateHTTPCachePolicyRequest
|
2, // 2: pb.HTTPCachePolicyService.createHTTPCachePolicy:input_type -> pb.CreateHTTPCachePolicyRequest
|
||||||
4, // 3: pb.HTTPCachePolicyService.updateHTTPCachePolicy:input_type -> pb.UpdateHTTPCachePolicyRequest
|
4, // 3: pb.HTTPCachePolicyService.updateHTTPCachePolicy:input_type -> pb.UpdateHTTPCachePolicyRequest
|
||||||
5, // 4: pb.HTTPCachePolicyService.deleteHTTPCachePolicy:input_type -> pb.DeleteHTTPCachePolicyRequest
|
5, // 4: pb.HTTPCachePolicyService.deleteHTTPCachePolicy:input_type -> pb.DeleteHTTPCachePolicyRequest
|
||||||
6, // 5: pb.HTTPCachePolicyService.countAllEnabledHTTPCachePolicies:input_type -> pb.CountAllEnabledHTTPCachePoliciesRequest
|
6, // 5: pb.HTTPCachePolicyService.countAllEnabledHTTPCachePolicies:input_type -> pb.CountAllEnabledHTTPCachePoliciesRequest
|
||||||
8, // 6: pb.HTTPCachePolicyService.listEnabledHTTPCachePolicies:input_type -> pb.ListEnabledHTTPCachePoliciesRequest
|
7, // 6: pb.HTTPCachePolicyService.listEnabledHTTPCachePolicies:input_type -> pb.ListEnabledHTTPCachePoliciesRequest
|
||||||
10, // 7: pb.HTTPCachePolicyService.findEnabledHTTPCachePolicyConfig:input_type -> pb.FindEnabledHTTPCachePolicyConfigRequest
|
9, // 7: pb.HTTPCachePolicyService.findEnabledHTTPCachePolicyConfig:input_type -> pb.FindEnabledHTTPCachePolicyConfigRequest
|
||||||
1, // 8: pb.HTTPCachePolicyService.findAllEnabledHTTPCachePolicies:output_type -> pb.FindAllEnabledHTTPCachePoliciesResponse
|
1, // 8: pb.HTTPCachePolicyService.findAllEnabledHTTPCachePolicies:output_type -> pb.FindAllEnabledHTTPCachePoliciesResponse
|
||||||
3, // 9: pb.HTTPCachePolicyService.createHTTPCachePolicy:output_type -> pb.CreateHTTPCachePolicyResponse
|
3, // 9: pb.HTTPCachePolicyService.createHTTPCachePolicy:output_type -> pb.CreateHTTPCachePolicyResponse
|
||||||
13, // 10: pb.HTTPCachePolicyService.updateHTTPCachePolicy:output_type -> pb.RPCUpdateSuccess
|
12, // 10: pb.HTTPCachePolicyService.updateHTTPCachePolicy:output_type -> pb.RPCUpdateSuccess
|
||||||
14, // 11: pb.HTTPCachePolicyService.deleteHTTPCachePolicy:output_type -> pb.RPCDeleteSuccess
|
13, // 11: pb.HTTPCachePolicyService.deleteHTTPCachePolicy:output_type -> pb.RPCDeleteSuccess
|
||||||
7, // 12: pb.HTTPCachePolicyService.countAllEnabledHTTPCachePolicies:output_type -> pb.CountAllEnabledHTTPCachePoliciesResponse
|
14, // 12: pb.HTTPCachePolicyService.countAllEnabledHTTPCachePolicies:output_type -> pb.RPCCountResponse
|
||||||
9, // 13: pb.HTTPCachePolicyService.listEnabledHTTPCachePolicies:output_type -> pb.ListEnabledHTTPCachePoliciesResponse
|
8, // 13: pb.HTTPCachePolicyService.listEnabledHTTPCachePolicies:output_type -> pb.ListEnabledHTTPCachePoliciesResponse
|
||||||
11, // 14: pb.HTTPCachePolicyService.findEnabledHTTPCachePolicyConfig:output_type -> pb.FindEnabledHTTPCachePolicyConfigResponse
|
10, // 14: pb.HTTPCachePolicyService.findEnabledHTTPCachePolicyConfig:output_type -> pb.FindEnabledHTTPCachePolicyConfigResponse
|
||||||
8, // [8:15] is the sub-list for method output_type
|
8, // [8:15] is the sub-list for method output_type
|
||||||
1, // [1:8] is the sub-list for method input_type
|
1, // [1:8] is the sub-list for method input_type
|
||||||
1, // [1:1] is the sub-list for extension type_name
|
1, // [1:1] is the sub-list for extension type_name
|
||||||
@@ -997,18 +944,6 @@ func file_service_http_cache_policy_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_http_cache_policy_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
file_service_http_cache_policy_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*CountAllEnabledHTTPCachePoliciesResponse); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_service_http_cache_policy_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*ListEnabledHTTPCachePoliciesRequest); i {
|
switch v := v.(*ListEnabledHTTPCachePoliciesRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1020,7 +955,7 @@ func file_service_http_cache_policy_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_http_cache_policy_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
file_service_http_cache_policy_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ListEnabledHTTPCachePoliciesResponse); i {
|
switch v := v.(*ListEnabledHTTPCachePoliciesResponse); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1032,7 +967,7 @@ func file_service_http_cache_policy_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_http_cache_policy_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
file_service_http_cache_policy_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*FindEnabledHTTPCachePolicyConfigRequest); i {
|
switch v := v.(*FindEnabledHTTPCachePolicyConfigRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1044,7 +979,7 @@ func file_service_http_cache_policy_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_http_cache_policy_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
file_service_http_cache_policy_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*FindEnabledHTTPCachePolicyConfigResponse); i {
|
switch v := v.(*FindEnabledHTTPCachePolicyConfigResponse); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1063,7 +998,7 @@ func file_service_http_cache_policy_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_service_http_cache_policy_proto_rawDesc,
|
RawDescriptor: file_service_http_cache_policy_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 0,
|
||||||
NumMessages: 12,
|
NumMessages: 11,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 1,
|
NumServices: 1,
|
||||||
},
|
},
|
||||||
@@ -1098,7 +1033,7 @@ type HTTPCachePolicyServiceClient interface {
|
|||||||
// 删除缓存策略
|
// 删除缓存策略
|
||||||
DeleteHTTPCachePolicy(ctx context.Context, in *DeleteHTTPCachePolicyRequest, opts ...grpc.CallOption) (*RPCDeleteSuccess, error)
|
DeleteHTTPCachePolicy(ctx context.Context, in *DeleteHTTPCachePolicyRequest, opts ...grpc.CallOption) (*RPCDeleteSuccess, error)
|
||||||
// 计算缓存策略数量
|
// 计算缓存策略数量
|
||||||
CountAllEnabledHTTPCachePolicies(ctx context.Context, in *CountAllEnabledHTTPCachePoliciesRequest, opts ...grpc.CallOption) (*CountAllEnabledHTTPCachePoliciesResponse, error)
|
CountAllEnabledHTTPCachePolicies(ctx context.Context, in *CountAllEnabledHTTPCachePoliciesRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
|
||||||
// 列出单页的缓存策略
|
// 列出单页的缓存策略
|
||||||
ListEnabledHTTPCachePolicies(ctx context.Context, in *ListEnabledHTTPCachePoliciesRequest, opts ...grpc.CallOption) (*ListEnabledHTTPCachePoliciesResponse, error)
|
ListEnabledHTTPCachePolicies(ctx context.Context, in *ListEnabledHTTPCachePoliciesRequest, opts ...grpc.CallOption) (*ListEnabledHTTPCachePoliciesResponse, error)
|
||||||
// 查找单个缓存策略配置
|
// 查找单个缓存策略配置
|
||||||
@@ -1149,8 +1084,8 @@ func (c *hTTPCachePolicyServiceClient) DeleteHTTPCachePolicy(ctx context.Context
|
|||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *hTTPCachePolicyServiceClient) CountAllEnabledHTTPCachePolicies(ctx context.Context, in *CountAllEnabledHTTPCachePoliciesRequest, opts ...grpc.CallOption) (*CountAllEnabledHTTPCachePoliciesResponse, error) {
|
func (c *hTTPCachePolicyServiceClient) CountAllEnabledHTTPCachePolicies(ctx context.Context, in *CountAllEnabledHTTPCachePoliciesRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
|
||||||
out := new(CountAllEnabledHTTPCachePoliciesResponse)
|
out := new(RPCCountResponse)
|
||||||
err := c.cc.Invoke(ctx, "/pb.HTTPCachePolicyService/countAllEnabledHTTPCachePolicies", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/pb.HTTPCachePolicyService/countAllEnabledHTTPCachePolicies", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
@@ -1187,7 +1122,7 @@ type HTTPCachePolicyServiceServer interface {
|
|||||||
// 删除缓存策略
|
// 删除缓存策略
|
||||||
DeleteHTTPCachePolicy(context.Context, *DeleteHTTPCachePolicyRequest) (*RPCDeleteSuccess, error)
|
DeleteHTTPCachePolicy(context.Context, *DeleteHTTPCachePolicyRequest) (*RPCDeleteSuccess, error)
|
||||||
// 计算缓存策略数量
|
// 计算缓存策略数量
|
||||||
CountAllEnabledHTTPCachePolicies(context.Context, *CountAllEnabledHTTPCachePoliciesRequest) (*CountAllEnabledHTTPCachePoliciesResponse, error)
|
CountAllEnabledHTTPCachePolicies(context.Context, *CountAllEnabledHTTPCachePoliciesRequest) (*RPCCountResponse, error)
|
||||||
// 列出单页的缓存策略
|
// 列出单页的缓存策略
|
||||||
ListEnabledHTTPCachePolicies(context.Context, *ListEnabledHTTPCachePoliciesRequest) (*ListEnabledHTTPCachePoliciesResponse, error)
|
ListEnabledHTTPCachePolicies(context.Context, *ListEnabledHTTPCachePoliciesRequest) (*ListEnabledHTTPCachePoliciesResponse, error)
|
||||||
// 查找单个缓存策略配置
|
// 查找单个缓存策略配置
|
||||||
@@ -1210,7 +1145,7 @@ func (*UnimplementedHTTPCachePolicyServiceServer) UpdateHTTPCachePolicy(context.
|
|||||||
func (*UnimplementedHTTPCachePolicyServiceServer) DeleteHTTPCachePolicy(context.Context, *DeleteHTTPCachePolicyRequest) (*RPCDeleteSuccess, error) {
|
func (*UnimplementedHTTPCachePolicyServiceServer) DeleteHTTPCachePolicy(context.Context, *DeleteHTTPCachePolicyRequest) (*RPCDeleteSuccess, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method DeleteHTTPCachePolicy not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteHTTPCachePolicy not implemented")
|
||||||
}
|
}
|
||||||
func (*UnimplementedHTTPCachePolicyServiceServer) CountAllEnabledHTTPCachePolicies(context.Context, *CountAllEnabledHTTPCachePoliciesRequest) (*CountAllEnabledHTTPCachePoliciesResponse, error) {
|
func (*UnimplementedHTTPCachePolicyServiceServer) CountAllEnabledHTTPCachePolicies(context.Context, *CountAllEnabledHTTPCachePoliciesRequest) (*RPCCountResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledHTTPCachePolicies not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledHTTPCachePolicies not implemented")
|
||||||
}
|
}
|
||||||
func (*UnimplementedHTTPCachePolicyServiceServer) ListEnabledHTTPCachePolicies(context.Context, *ListEnabledHTTPCachePoliciesRequest) (*ListEnabledHTTPCachePoliciesResponse, error) {
|
func (*UnimplementedHTTPCachePolicyServiceServer) ListEnabledHTTPCachePolicies(context.Context, *ListEnabledHTTPCachePoliciesRequest) (*ListEnabledHTTPCachePoliciesResponse, error) {
|
||||||
|
|||||||
@@ -473,53 +473,6 @@ func (*CountAllEnabledFirewallPoliciesRequest) Descriptor() ([]byte, []int) {
|
|||||||
return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{7}
|
return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{7}
|
||||||
}
|
}
|
||||||
|
|
||||||
type CountAllEnabledFirewallPoliciesResponse struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountAllEnabledFirewallPoliciesResponse) Reset() {
|
|
||||||
*x = CountAllEnabledFirewallPoliciesResponse{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_service_http_firewall_policy_proto_msgTypes[8]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountAllEnabledFirewallPoliciesResponse) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*CountAllEnabledFirewallPoliciesResponse) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *CountAllEnabledFirewallPoliciesResponse) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_service_http_firewall_policy_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 CountAllEnabledFirewallPoliciesResponse.ProtoReflect.Descriptor instead.
|
|
||||||
func (*CountAllEnabledFirewallPoliciesResponse) Descriptor() ([]byte, []int) {
|
|
||||||
return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{8}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountAllEnabledFirewallPoliciesResponse) GetCount() int64 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Count
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
// 列出单页的防火墙策略
|
// 列出单页的防火墙策略
|
||||||
type ListEnabledFirewallPoliciesRequest struct {
|
type ListEnabledFirewallPoliciesRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
@@ -533,7 +486,7 @@ type ListEnabledFirewallPoliciesRequest struct {
|
|||||||
func (x *ListEnabledFirewallPoliciesRequest) Reset() {
|
func (x *ListEnabledFirewallPoliciesRequest) Reset() {
|
||||||
*x = ListEnabledFirewallPoliciesRequest{}
|
*x = ListEnabledFirewallPoliciesRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_http_firewall_policy_proto_msgTypes[9]
|
mi := &file_service_http_firewall_policy_proto_msgTypes[8]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -546,7 +499,7 @@ func (x *ListEnabledFirewallPoliciesRequest) String() string {
|
|||||||
func (*ListEnabledFirewallPoliciesRequest) ProtoMessage() {}
|
func (*ListEnabledFirewallPoliciesRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ListEnabledFirewallPoliciesRequest) ProtoReflect() protoreflect.Message {
|
func (x *ListEnabledFirewallPoliciesRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_http_firewall_policy_proto_msgTypes[9]
|
mi := &file_service_http_firewall_policy_proto_msgTypes[8]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -559,7 +512,7 @@ func (x *ListEnabledFirewallPoliciesRequest) ProtoReflect() protoreflect.Message
|
|||||||
|
|
||||||
// Deprecated: Use ListEnabledFirewallPoliciesRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ListEnabledFirewallPoliciesRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*ListEnabledFirewallPoliciesRequest) Descriptor() ([]byte, []int) {
|
func (*ListEnabledFirewallPoliciesRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{9}
|
return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{8}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListEnabledFirewallPoliciesRequest) GetOffset() int64 {
|
func (x *ListEnabledFirewallPoliciesRequest) GetOffset() int64 {
|
||||||
@@ -587,7 +540,7 @@ type ListEnabledFirewallPoliciesResponse struct {
|
|||||||
func (x *ListEnabledFirewallPoliciesResponse) Reset() {
|
func (x *ListEnabledFirewallPoliciesResponse) Reset() {
|
||||||
*x = ListEnabledFirewallPoliciesResponse{}
|
*x = ListEnabledFirewallPoliciesResponse{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_http_firewall_policy_proto_msgTypes[10]
|
mi := &file_service_http_firewall_policy_proto_msgTypes[9]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -600,7 +553,7 @@ func (x *ListEnabledFirewallPoliciesResponse) String() string {
|
|||||||
func (*ListEnabledFirewallPoliciesResponse) ProtoMessage() {}
|
func (*ListEnabledFirewallPoliciesResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ListEnabledFirewallPoliciesResponse) ProtoReflect() protoreflect.Message {
|
func (x *ListEnabledFirewallPoliciesResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_http_firewall_policy_proto_msgTypes[10]
|
mi := &file_service_http_firewall_policy_proto_msgTypes[9]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -613,7 +566,7 @@ func (x *ListEnabledFirewallPoliciesResponse) ProtoReflect() protoreflect.Messag
|
|||||||
|
|
||||||
// Deprecated: Use ListEnabledFirewallPoliciesResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ListEnabledFirewallPoliciesResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*ListEnabledFirewallPoliciesResponse) Descriptor() ([]byte, []int) {
|
func (*ListEnabledFirewallPoliciesResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{10}
|
return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{9}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListEnabledFirewallPoliciesResponse) GetFirewallPolicies() []*HTTPFirewallPolicy {
|
func (x *ListEnabledFirewallPoliciesResponse) GetFirewallPolicies() []*HTTPFirewallPolicy {
|
||||||
@@ -635,7 +588,7 @@ type DeleteFirewallPolicyRequest struct {
|
|||||||
func (x *DeleteFirewallPolicyRequest) Reset() {
|
func (x *DeleteFirewallPolicyRequest) Reset() {
|
||||||
*x = DeleteFirewallPolicyRequest{}
|
*x = DeleteFirewallPolicyRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_http_firewall_policy_proto_msgTypes[11]
|
mi := &file_service_http_firewall_policy_proto_msgTypes[10]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -648,7 +601,7 @@ func (x *DeleteFirewallPolicyRequest) String() string {
|
|||||||
func (*DeleteFirewallPolicyRequest) ProtoMessage() {}
|
func (*DeleteFirewallPolicyRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *DeleteFirewallPolicyRequest) ProtoReflect() protoreflect.Message {
|
func (x *DeleteFirewallPolicyRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_http_firewall_policy_proto_msgTypes[11]
|
mi := &file_service_http_firewall_policy_proto_msgTypes[10]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -661,7 +614,7 @@ func (x *DeleteFirewallPolicyRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use DeleteFirewallPolicyRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use DeleteFirewallPolicyRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*DeleteFirewallPolicyRequest) Descriptor() ([]byte, []int) {
|
func (*DeleteFirewallPolicyRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{11}
|
return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{10}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DeleteFirewallPolicyRequest) GetFirewallPolicyId() int64 {
|
func (x *DeleteFirewallPolicyRequest) GetFirewallPolicyId() int64 {
|
||||||
@@ -683,7 +636,7 @@ type FindEnabledFirewallPolicyConfigRequest struct {
|
|||||||
func (x *FindEnabledFirewallPolicyConfigRequest) Reset() {
|
func (x *FindEnabledFirewallPolicyConfigRequest) Reset() {
|
||||||
*x = FindEnabledFirewallPolicyConfigRequest{}
|
*x = FindEnabledFirewallPolicyConfigRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_http_firewall_policy_proto_msgTypes[12]
|
mi := &file_service_http_firewall_policy_proto_msgTypes[11]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -696,7 +649,7 @@ func (x *FindEnabledFirewallPolicyConfigRequest) String() string {
|
|||||||
func (*FindEnabledFirewallPolicyConfigRequest) ProtoMessage() {}
|
func (*FindEnabledFirewallPolicyConfigRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *FindEnabledFirewallPolicyConfigRequest) ProtoReflect() protoreflect.Message {
|
func (x *FindEnabledFirewallPolicyConfigRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_http_firewall_policy_proto_msgTypes[12]
|
mi := &file_service_http_firewall_policy_proto_msgTypes[11]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -709,7 +662,7 @@ func (x *FindEnabledFirewallPolicyConfigRequest) ProtoReflect() protoreflect.Mes
|
|||||||
|
|
||||||
// Deprecated: Use FindEnabledFirewallPolicyConfigRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use FindEnabledFirewallPolicyConfigRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*FindEnabledFirewallPolicyConfigRequest) Descriptor() ([]byte, []int) {
|
func (*FindEnabledFirewallPolicyConfigRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{12}
|
return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{11}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FindEnabledFirewallPolicyConfigRequest) GetFirewallPolicyId() int64 {
|
func (x *FindEnabledFirewallPolicyConfigRequest) GetFirewallPolicyId() int64 {
|
||||||
@@ -730,7 +683,7 @@ type FindEnabledFirewallPolicyConfigResponse struct {
|
|||||||
func (x *FindEnabledFirewallPolicyConfigResponse) Reset() {
|
func (x *FindEnabledFirewallPolicyConfigResponse) Reset() {
|
||||||
*x = FindEnabledFirewallPolicyConfigResponse{}
|
*x = FindEnabledFirewallPolicyConfigResponse{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_http_firewall_policy_proto_msgTypes[13]
|
mi := &file_service_http_firewall_policy_proto_msgTypes[12]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -743,7 +696,7 @@ func (x *FindEnabledFirewallPolicyConfigResponse) String() string {
|
|||||||
func (*FindEnabledFirewallPolicyConfigResponse) ProtoMessage() {}
|
func (*FindEnabledFirewallPolicyConfigResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *FindEnabledFirewallPolicyConfigResponse) ProtoReflect() protoreflect.Message {
|
func (x *FindEnabledFirewallPolicyConfigResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_http_firewall_policy_proto_msgTypes[13]
|
mi := &file_service_http_firewall_policy_proto_msgTypes[12]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -756,7 +709,7 @@ func (x *FindEnabledFirewallPolicyConfigResponse) ProtoReflect() protoreflect.Me
|
|||||||
|
|
||||||
// Deprecated: Use FindEnabledFirewallPolicyConfigResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use FindEnabledFirewallPolicyConfigResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*FindEnabledFirewallPolicyConfigResponse) Descriptor() ([]byte, []int) {
|
func (*FindEnabledFirewallPolicyConfigResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{13}
|
return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{12}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FindEnabledFirewallPolicyConfigResponse) GetFirewallPolicyJSON() []byte {
|
func (x *FindEnabledFirewallPolicyConfigResponse) GetFirewallPolicyJSON() []byte {
|
||||||
@@ -778,7 +731,7 @@ type FindEnabledFirewallPolicyRequest struct {
|
|||||||
func (x *FindEnabledFirewallPolicyRequest) Reset() {
|
func (x *FindEnabledFirewallPolicyRequest) Reset() {
|
||||||
*x = FindEnabledFirewallPolicyRequest{}
|
*x = FindEnabledFirewallPolicyRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_http_firewall_policy_proto_msgTypes[14]
|
mi := &file_service_http_firewall_policy_proto_msgTypes[13]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -791,7 +744,7 @@ func (x *FindEnabledFirewallPolicyRequest) String() string {
|
|||||||
func (*FindEnabledFirewallPolicyRequest) ProtoMessage() {}
|
func (*FindEnabledFirewallPolicyRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *FindEnabledFirewallPolicyRequest) ProtoReflect() protoreflect.Message {
|
func (x *FindEnabledFirewallPolicyRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_http_firewall_policy_proto_msgTypes[14]
|
mi := &file_service_http_firewall_policy_proto_msgTypes[13]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -804,7 +757,7 @@ func (x *FindEnabledFirewallPolicyRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use FindEnabledFirewallPolicyRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use FindEnabledFirewallPolicyRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*FindEnabledFirewallPolicyRequest) Descriptor() ([]byte, []int) {
|
func (*FindEnabledFirewallPolicyRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{14}
|
return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{13}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FindEnabledFirewallPolicyRequest) GetFirewallPolicyId() int64 {
|
func (x *FindEnabledFirewallPolicyRequest) GetFirewallPolicyId() int64 {
|
||||||
@@ -825,7 +778,7 @@ type FindEnabledFirewallPolicyResponse struct {
|
|||||||
func (x *FindEnabledFirewallPolicyResponse) Reset() {
|
func (x *FindEnabledFirewallPolicyResponse) Reset() {
|
||||||
*x = FindEnabledFirewallPolicyResponse{}
|
*x = FindEnabledFirewallPolicyResponse{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_http_firewall_policy_proto_msgTypes[15]
|
mi := &file_service_http_firewall_policy_proto_msgTypes[14]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -838,7 +791,7 @@ func (x *FindEnabledFirewallPolicyResponse) String() string {
|
|||||||
func (*FindEnabledFirewallPolicyResponse) ProtoMessage() {}
|
func (*FindEnabledFirewallPolicyResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *FindEnabledFirewallPolicyResponse) ProtoReflect() protoreflect.Message {
|
func (x *FindEnabledFirewallPolicyResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_http_firewall_policy_proto_msgTypes[15]
|
mi := &file_service_http_firewall_policy_proto_msgTypes[14]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -851,7 +804,7 @@ func (x *FindEnabledFirewallPolicyResponse) ProtoReflect() protoreflect.Message
|
|||||||
|
|
||||||
// Deprecated: Use FindEnabledFirewallPolicyResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use FindEnabledFirewallPolicyResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*FindEnabledFirewallPolicyResponse) Descriptor() ([]byte, []int) {
|
func (*FindEnabledFirewallPolicyResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{15}
|
return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{14}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FindEnabledFirewallPolicyResponse) GetFirewallPolicy() *HTTPFirewallPolicy {
|
func (x *FindEnabledFirewallPolicyResponse) GetFirewallPolicy() *HTTPFirewallPolicy {
|
||||||
@@ -927,119 +880,114 @@ var file_service_http_firewall_policy_proto_rawDesc = []byte{
|
|||||||
0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x28, 0x0a, 0x26, 0x43, 0x6f, 0x75,
|
0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x28, 0x0a, 0x26, 0x43, 0x6f, 0x75,
|
||||||
0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65,
|
0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65,
|
||||||
0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
|
0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
|
||||||
0x65, 0x73, 0x74, 0x22, 0x3f, 0x0a, 0x27, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45,
|
0x65, 0x73, 0x74, 0x22, 0x50, 0x0a, 0x22, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
||||||
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f,
|
0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69,
|
||||||
0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14,
|
0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66,
|
||||||
0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63,
|
0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65,
|
||||||
0x6f, 0x75, 0x6e, 0x74, 0x22, 0x50, 0x0a, 0x22, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62,
|
0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||||
0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63,
|
0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x69, 0x0a, 0x23, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61,
|
||||||
0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66,
|
0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69,
|
||||||
0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73,
|
0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x10,
|
||||||
0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
|
0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73,
|
||||||
0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x69, 0x0a, 0x23, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e,
|
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x48, 0x54, 0x54, 0x50,
|
||||||
0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c,
|
0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x10,
|
||||||
0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a,
|
0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73,
|
||||||
0x10, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65,
|
0x22, 0x49, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61,
|
||||||
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x48, 0x54, 0x54,
|
0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||||
0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52,
|
0x2a, 0x0a, 0x10, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63,
|
||||||
0x10, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65,
|
0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x66, 0x69, 0x72, 0x65, 0x77,
|
||||||
0x73, 0x22, 0x49, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x69, 0x72, 0x65, 0x77,
|
0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x54, 0x0a, 0x26, 0x46,
|
||||||
|
0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61,
|
||||||
|
0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65,
|
||||||
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c,
|
||||||
|
0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||||
|
0x10, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49,
|
||||||
|
0x64, 0x22, 0x59, 0x0a, 0x27, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
||||||
|
0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f,
|
||||||
|
0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x12,
|
||||||
|
0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4a, 0x53,
|
||||||
|
0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x12, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61,
|
||||||
|
0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x4e, 0x0a, 0x20,
|
||||||
|
0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77,
|
||||||
0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||||
0x12, 0x2a, 0x0a, 0x10, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69,
|
0x12, 0x2a, 0x0a, 0x10, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69,
|
||||||
0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x66, 0x69, 0x72, 0x65,
|
0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x66, 0x69, 0x72, 0x65,
|
||||||
0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x54, 0x0a, 0x26,
|
0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x63, 0x0a, 0x21,
|
||||||
0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77,
|
0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77,
|
||||||
0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,
|
0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61,
|
0x65, 0x12, 0x3e, 0x0a, 0x0e, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c,
|
||||||
0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x48,
|
||||||
0x52, 0x10, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
|
0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63,
|
||||||
0x49, 0x64, 0x22, 0x59, 0x0a, 0x27, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
0x79, 0x52, 0x0e, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63,
|
||||||
0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43,
|
0x79, 0x32, 0xb1, 0x08, 0x0a, 0x19, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61,
|
||||||
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a,
|
0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
|
||||||
0x12, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4a,
|
0x83, 0x01, 0x0a, 0x22, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
||||||
0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x12, 0x66, 0x69, 0x72, 0x65, 0x77,
|
0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f,
|
||||||
0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x4e, 0x0a,
|
0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x2d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64,
|
||||||
0x20, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65,
|
|
||||||
0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
||||||
0x74, 0x12, 0x2a, 0x0a, 0x10, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c,
|
|
||||||
0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x66, 0x69, 0x72,
|
|
||||||
0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x63, 0x0a,
|
|
||||||
0x21, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65,
|
|
||||||
0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
||||||
0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0e, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f,
|
|
||||||
0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x62, 0x2e,
|
|
||||||
0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69,
|
|
||||||
0x63, 0x79, 0x52, 0x0e, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69,
|
|
||||||
0x63, 0x79, 0x32, 0xc8, 0x08, 0x0a, 0x19, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77,
|
|
||||||
0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
|
|
||||||
0x12, 0x83, 0x01, 0x0a, 0x22, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62,
|
|
||||||
0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50,
|
|
||||||
0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x2d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e,
|
|
||||||
0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x46,
|
|
||||||
0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52,
|
|
||||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64,
|
|
||||||
0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69,
|
0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69,
|
||||||
0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65,
|
0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65,
|
||||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x18, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41,
|
||||||
0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69,
|
0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72,
|
||||||
0x63, 0x79, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54,
|
0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73,
|
||||||
0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x18, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48,
|
||||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65,
|
0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63,
|
||||||
0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50,
|
0x79, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54,
|
||||||
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x55, 0x0a,
|
0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52,
|
||||||
0x18, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77,
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61,
|
||||||
0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x55,
|
|
||||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c,
|
|
||||||
0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14,
|
|
||||||
0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63,
|
|
||||||
0x63, 0x65, 0x73, 0x73, 0x12, 0x61, 0x0a, 0x1e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54,
|
|
||||||
0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
|
|
||||||
0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x29, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61,
|
|
||||||
0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f,
|
0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f,
|
||||||
0x6c, 0x69, 0x63, 0x79, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x55, 0x0a, 0x18,
|
||||||
0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61,
|
||||||
0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x63, 0x0a, 0x1f, 0x75, 0x70, 0x64, 0x61, 0x74,
|
0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70,
|
||||||
0x65, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x49, 0x6e, 0x62,
|
0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c,
|
||||||
0x6f, 0x75, 0x6e, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2a, 0x2e, 0x70, 0x62, 0x2e,
|
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e,
|
||||||
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61,
|
0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63,
|
||||||
0x6c, 0x6c, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,
|
0x65, 0x73, 0x73, 0x12, 0x61, 0x0a, 0x1e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54,
|
||||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55,
|
0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x47,
|
||||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x7a, 0x0a, 0x1f,
|
0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x29, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
|
||||||
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46,
|
0x65, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c,
|
||||||
|
0x69, 0x63, 0x79, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||||
|
0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53,
|
||||||
|
0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x63, 0x0a, 0x1f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
|
||||||
|
0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x49, 0x6e, 0x62, 0x6f,
|
||||||
|
0x75, 0x6e, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2a, 0x2e, 0x70, 0x62, 0x2e, 0x55,
|
||||||
|
0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c,
|
||||||
|
0x6c, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65,
|
||||||
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70,
|
||||||
|
0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x63, 0x0a, 0x1f, 0x63,
|
||||||
|
0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69,
|
||||||
|
0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x2a,
|
||||||
|
0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62,
|
||||||
|
0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63,
|
||||||
|
0x69, 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, 0x6e, 0x0a, 0x1b, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46,
|
||||||
0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12,
|
0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12,
|
||||||
0x2a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61,
|
0x26, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
||||||
0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69,
|
|
||||||
0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x70, 0x62,
|
|
||||||
0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
|
||||||
0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73,
|
0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73,
|
||||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x1b, 0x6c, 0x69, 0x73, 0x74,
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73,
|
||||||
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50,
|
|
||||||
0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73,
|
|
||||||
0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c,
|
0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c,
|
||||||
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||||
0x27, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
0x12, 0x4d, 0x0a, 0x14, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61,
|
||||||
0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73,
|
0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65,
|
||||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x14, 0x64, 0x65, 0x6c, 0x65,
|
0x6c, 0x65, 0x74, 0x65, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69,
|
||||||
0x74, 0x65, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
|
0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52,
|
||||||
0x12, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x69, 0x72, 0x65,
|
0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12,
|
||||||
0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
0x7a, 0x0a, 0x1f, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69,
|
||||||
0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
|
0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66,
|
||||||
0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x7a, 0x0a, 0x1f, 0x66, 0x69, 0x6e, 0x64, 0x45,
|
0x69, 0x67, 0x12, 0x2a, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62,
|
||||||
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f,
|
0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63,
|
||||||
0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2a, 0x2e, 0x70, 0x62, 0x2e,
|
0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b,
|
||||||
0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77,
|
0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46,
|
||||||
0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,
|
0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e,
|
||||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64,
|
0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x19, 0x66,
|
||||||
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50,
|
0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61,
|
||||||
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69,
|
||||||
0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x19, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c,
|
||||||
0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
|
0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25,
|
||||||
0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46,
|
||||||
0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52,
|
0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73,
|
||||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64,
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70,
|
||||||
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50,
|
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a,
|
|
||||||
0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@@ -1054,7 +1002,7 @@ func file_service_http_firewall_policy_proto_rawDescGZIP() []byte {
|
|||||||
return file_service_http_firewall_policy_proto_rawDescData
|
return file_service_http_firewall_policy_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_service_http_firewall_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
|
var file_service_http_firewall_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
|
||||||
var file_service_http_firewall_policy_proto_goTypes = []interface{}{
|
var file_service_http_firewall_policy_proto_goTypes = []interface{}{
|
||||||
(*FindAllEnabledHTTPFirewallPoliciesRequest)(nil), // 0: pb.FindAllEnabledHTTPFirewallPoliciesRequest
|
(*FindAllEnabledHTTPFirewallPoliciesRequest)(nil), // 0: pb.FindAllEnabledHTTPFirewallPoliciesRequest
|
||||||
(*FindAllEnabledHTTPFirewallPoliciesResponse)(nil), // 1: pb.FindAllEnabledHTTPFirewallPoliciesResponse
|
(*FindAllEnabledHTTPFirewallPoliciesResponse)(nil), // 1: pb.FindAllEnabledHTTPFirewallPoliciesResponse
|
||||||
@@ -1064,42 +1012,42 @@ var file_service_http_firewall_policy_proto_goTypes = []interface{}{
|
|||||||
(*UpdateHTTPFirewallPolicyGroupsRequest)(nil), // 5: pb.UpdateHTTPFirewallPolicyGroupsRequest
|
(*UpdateHTTPFirewallPolicyGroupsRequest)(nil), // 5: pb.UpdateHTTPFirewallPolicyGroupsRequest
|
||||||
(*UpdateHTTPFirewallInboundConfigRequest)(nil), // 6: pb.UpdateHTTPFirewallInboundConfigRequest
|
(*UpdateHTTPFirewallInboundConfigRequest)(nil), // 6: pb.UpdateHTTPFirewallInboundConfigRequest
|
||||||
(*CountAllEnabledFirewallPoliciesRequest)(nil), // 7: pb.CountAllEnabledFirewallPoliciesRequest
|
(*CountAllEnabledFirewallPoliciesRequest)(nil), // 7: pb.CountAllEnabledFirewallPoliciesRequest
|
||||||
(*CountAllEnabledFirewallPoliciesResponse)(nil), // 8: pb.CountAllEnabledFirewallPoliciesResponse
|
(*ListEnabledFirewallPoliciesRequest)(nil), // 8: pb.ListEnabledFirewallPoliciesRequest
|
||||||
(*ListEnabledFirewallPoliciesRequest)(nil), // 9: pb.ListEnabledFirewallPoliciesRequest
|
(*ListEnabledFirewallPoliciesResponse)(nil), // 9: pb.ListEnabledFirewallPoliciesResponse
|
||||||
(*ListEnabledFirewallPoliciesResponse)(nil), // 10: pb.ListEnabledFirewallPoliciesResponse
|
(*DeleteFirewallPolicyRequest)(nil), // 10: pb.DeleteFirewallPolicyRequest
|
||||||
(*DeleteFirewallPolicyRequest)(nil), // 11: pb.DeleteFirewallPolicyRequest
|
(*FindEnabledFirewallPolicyConfigRequest)(nil), // 11: pb.FindEnabledFirewallPolicyConfigRequest
|
||||||
(*FindEnabledFirewallPolicyConfigRequest)(nil), // 12: pb.FindEnabledFirewallPolicyConfigRequest
|
(*FindEnabledFirewallPolicyConfigResponse)(nil), // 12: pb.FindEnabledFirewallPolicyConfigResponse
|
||||||
(*FindEnabledFirewallPolicyConfigResponse)(nil), // 13: pb.FindEnabledFirewallPolicyConfigResponse
|
(*FindEnabledFirewallPolicyRequest)(nil), // 13: pb.FindEnabledFirewallPolicyRequest
|
||||||
(*FindEnabledFirewallPolicyRequest)(nil), // 14: pb.FindEnabledFirewallPolicyRequest
|
(*FindEnabledFirewallPolicyResponse)(nil), // 14: pb.FindEnabledFirewallPolicyResponse
|
||||||
(*FindEnabledFirewallPolicyResponse)(nil), // 15: pb.FindEnabledFirewallPolicyResponse
|
(*HTTPFirewallPolicy)(nil), // 15: pb.HTTPFirewallPolicy
|
||||||
(*HTTPFirewallPolicy)(nil), // 16: pb.HTTPFirewallPolicy
|
(*RPCUpdateSuccess)(nil), // 16: pb.RPCUpdateSuccess
|
||||||
(*RPCUpdateSuccess)(nil), // 17: pb.RPCUpdateSuccess
|
(*RPCCountResponse)(nil), // 17: pb.RPCCountResponse
|
||||||
(*RPCDeleteSuccess)(nil), // 18: pb.RPCDeleteSuccess
|
(*RPCDeleteSuccess)(nil), // 18: pb.RPCDeleteSuccess
|
||||||
}
|
}
|
||||||
var file_service_http_firewall_policy_proto_depIdxs = []int32{
|
var file_service_http_firewall_policy_proto_depIdxs = []int32{
|
||||||
16, // 0: pb.FindAllEnabledHTTPFirewallPoliciesResponse.firewallPolicies:type_name -> pb.HTTPFirewallPolicy
|
15, // 0: pb.FindAllEnabledHTTPFirewallPoliciesResponse.firewallPolicies:type_name -> pb.HTTPFirewallPolicy
|
||||||
16, // 1: pb.ListEnabledFirewallPoliciesResponse.firewallPolicies:type_name -> pb.HTTPFirewallPolicy
|
15, // 1: pb.ListEnabledFirewallPoliciesResponse.firewallPolicies:type_name -> pb.HTTPFirewallPolicy
|
||||||
16, // 2: pb.FindEnabledFirewallPolicyResponse.firewallPolicy:type_name -> pb.HTTPFirewallPolicy
|
15, // 2: pb.FindEnabledFirewallPolicyResponse.firewallPolicy:type_name -> pb.HTTPFirewallPolicy
|
||||||
0, // 3: pb.HTTPFirewallPolicyService.findAllEnabledHTTPFirewallPolicies:input_type -> pb.FindAllEnabledHTTPFirewallPoliciesRequest
|
0, // 3: pb.HTTPFirewallPolicyService.findAllEnabledHTTPFirewallPolicies:input_type -> pb.FindAllEnabledHTTPFirewallPoliciesRequest
|
||||||
2, // 4: pb.HTTPFirewallPolicyService.createHTTPFirewallPolicy:input_type -> pb.CreateHTTPFirewallPolicyRequest
|
2, // 4: pb.HTTPFirewallPolicyService.createHTTPFirewallPolicy:input_type -> pb.CreateHTTPFirewallPolicyRequest
|
||||||
4, // 5: pb.HTTPFirewallPolicyService.updateHTTPFirewallPolicy:input_type -> pb.UpdateHTTPFirewallPolicyRequest
|
4, // 5: pb.HTTPFirewallPolicyService.updateHTTPFirewallPolicy:input_type -> pb.UpdateHTTPFirewallPolicyRequest
|
||||||
5, // 6: pb.HTTPFirewallPolicyService.updateHTTPFirewallPolicyGroups:input_type -> pb.UpdateHTTPFirewallPolicyGroupsRequest
|
5, // 6: pb.HTTPFirewallPolicyService.updateHTTPFirewallPolicyGroups:input_type -> pb.UpdateHTTPFirewallPolicyGroupsRequest
|
||||||
6, // 7: pb.HTTPFirewallPolicyService.updateHTTPFirewallInboundConfig:input_type -> pb.UpdateHTTPFirewallInboundConfigRequest
|
6, // 7: pb.HTTPFirewallPolicyService.updateHTTPFirewallInboundConfig:input_type -> pb.UpdateHTTPFirewallInboundConfigRequest
|
||||||
7, // 8: pb.HTTPFirewallPolicyService.countAllEnabledFirewallPolicies:input_type -> pb.CountAllEnabledFirewallPoliciesRequest
|
7, // 8: pb.HTTPFirewallPolicyService.countAllEnabledFirewallPolicies:input_type -> pb.CountAllEnabledFirewallPoliciesRequest
|
||||||
9, // 9: pb.HTTPFirewallPolicyService.listEnabledFirewallPolicies:input_type -> pb.ListEnabledFirewallPoliciesRequest
|
8, // 9: pb.HTTPFirewallPolicyService.listEnabledFirewallPolicies:input_type -> pb.ListEnabledFirewallPoliciesRequest
|
||||||
11, // 10: pb.HTTPFirewallPolicyService.deleteFirewallPolicy:input_type -> pb.DeleteFirewallPolicyRequest
|
10, // 10: pb.HTTPFirewallPolicyService.deleteFirewallPolicy:input_type -> pb.DeleteFirewallPolicyRequest
|
||||||
12, // 11: pb.HTTPFirewallPolicyService.findEnabledFirewallPolicyConfig:input_type -> pb.FindEnabledFirewallPolicyConfigRequest
|
11, // 11: pb.HTTPFirewallPolicyService.findEnabledFirewallPolicyConfig:input_type -> pb.FindEnabledFirewallPolicyConfigRequest
|
||||||
14, // 12: pb.HTTPFirewallPolicyService.findEnabledFirewallPolicy:input_type -> pb.FindEnabledFirewallPolicyRequest
|
13, // 12: pb.HTTPFirewallPolicyService.findEnabledFirewallPolicy:input_type -> pb.FindEnabledFirewallPolicyRequest
|
||||||
1, // 13: pb.HTTPFirewallPolicyService.findAllEnabledHTTPFirewallPolicies:output_type -> pb.FindAllEnabledHTTPFirewallPoliciesResponse
|
1, // 13: pb.HTTPFirewallPolicyService.findAllEnabledHTTPFirewallPolicies:output_type -> pb.FindAllEnabledHTTPFirewallPoliciesResponse
|
||||||
3, // 14: pb.HTTPFirewallPolicyService.createHTTPFirewallPolicy:output_type -> pb.CreateHTTPFirewallPolicyResponse
|
3, // 14: pb.HTTPFirewallPolicyService.createHTTPFirewallPolicy:output_type -> pb.CreateHTTPFirewallPolicyResponse
|
||||||
17, // 15: pb.HTTPFirewallPolicyService.updateHTTPFirewallPolicy:output_type -> pb.RPCUpdateSuccess
|
16, // 15: pb.HTTPFirewallPolicyService.updateHTTPFirewallPolicy:output_type -> pb.RPCUpdateSuccess
|
||||||
17, // 16: pb.HTTPFirewallPolicyService.updateHTTPFirewallPolicyGroups:output_type -> pb.RPCUpdateSuccess
|
16, // 16: pb.HTTPFirewallPolicyService.updateHTTPFirewallPolicyGroups:output_type -> pb.RPCUpdateSuccess
|
||||||
17, // 17: pb.HTTPFirewallPolicyService.updateHTTPFirewallInboundConfig:output_type -> pb.RPCUpdateSuccess
|
16, // 17: pb.HTTPFirewallPolicyService.updateHTTPFirewallInboundConfig:output_type -> pb.RPCUpdateSuccess
|
||||||
8, // 18: pb.HTTPFirewallPolicyService.countAllEnabledFirewallPolicies:output_type -> pb.CountAllEnabledFirewallPoliciesResponse
|
17, // 18: pb.HTTPFirewallPolicyService.countAllEnabledFirewallPolicies:output_type -> pb.RPCCountResponse
|
||||||
10, // 19: pb.HTTPFirewallPolicyService.listEnabledFirewallPolicies:output_type -> pb.ListEnabledFirewallPoliciesResponse
|
9, // 19: pb.HTTPFirewallPolicyService.listEnabledFirewallPolicies:output_type -> pb.ListEnabledFirewallPoliciesResponse
|
||||||
18, // 20: pb.HTTPFirewallPolicyService.deleteFirewallPolicy:output_type -> pb.RPCDeleteSuccess
|
18, // 20: pb.HTTPFirewallPolicyService.deleteFirewallPolicy:output_type -> pb.RPCDeleteSuccess
|
||||||
13, // 21: pb.HTTPFirewallPolicyService.findEnabledFirewallPolicyConfig:output_type -> pb.FindEnabledFirewallPolicyConfigResponse
|
12, // 21: pb.HTTPFirewallPolicyService.findEnabledFirewallPolicyConfig:output_type -> pb.FindEnabledFirewallPolicyConfigResponse
|
||||||
15, // 22: pb.HTTPFirewallPolicyService.findEnabledFirewallPolicy:output_type -> pb.FindEnabledFirewallPolicyResponse
|
14, // 22: pb.HTTPFirewallPolicyService.findEnabledFirewallPolicy:output_type -> pb.FindEnabledFirewallPolicyResponse
|
||||||
13, // [13:23] is the sub-list for method output_type
|
13, // [13:23] is the sub-list for method output_type
|
||||||
3, // [3:13] is the sub-list for method input_type
|
3, // [3:13] is the sub-list for method input_type
|
||||||
3, // [3:3] is the sub-list for extension type_name
|
3, // [3:3] is the sub-list for extension type_name
|
||||||
@@ -1212,18 +1160,6 @@ func file_service_http_firewall_policy_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_http_firewall_policy_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
file_service_http_firewall_policy_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*CountAllEnabledFirewallPoliciesResponse); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_service_http_firewall_policy_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*ListEnabledFirewallPoliciesRequest); i {
|
switch v := v.(*ListEnabledFirewallPoliciesRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1235,7 +1171,7 @@ func file_service_http_firewall_policy_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_http_firewall_policy_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
file_service_http_firewall_policy_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ListEnabledFirewallPoliciesResponse); i {
|
switch v := v.(*ListEnabledFirewallPoliciesResponse); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1247,7 +1183,7 @@ func file_service_http_firewall_policy_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_http_firewall_policy_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
file_service_http_firewall_policy_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*DeleteFirewallPolicyRequest); i {
|
switch v := v.(*DeleteFirewallPolicyRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1259,7 +1195,7 @@ func file_service_http_firewall_policy_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_http_firewall_policy_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
file_service_http_firewall_policy_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*FindEnabledFirewallPolicyConfigRequest); i {
|
switch v := v.(*FindEnabledFirewallPolicyConfigRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1271,7 +1207,7 @@ func file_service_http_firewall_policy_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_http_firewall_policy_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
file_service_http_firewall_policy_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*FindEnabledFirewallPolicyConfigResponse); i {
|
switch v := v.(*FindEnabledFirewallPolicyConfigResponse); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1283,7 +1219,7 @@ func file_service_http_firewall_policy_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_http_firewall_policy_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
file_service_http_firewall_policy_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*FindEnabledFirewallPolicyRequest); i {
|
switch v := v.(*FindEnabledFirewallPolicyRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1295,7 +1231,7 @@ func file_service_http_firewall_policy_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_http_firewall_policy_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
file_service_http_firewall_policy_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*FindEnabledFirewallPolicyResponse); i {
|
switch v := v.(*FindEnabledFirewallPolicyResponse); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1314,7 +1250,7 @@ func file_service_http_firewall_policy_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_service_http_firewall_policy_proto_rawDesc,
|
RawDescriptor: file_service_http_firewall_policy_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 0,
|
||||||
NumMessages: 16,
|
NumMessages: 15,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 1,
|
NumServices: 1,
|
||||||
},
|
},
|
||||||
@@ -1351,7 +1287,7 @@ type HTTPFirewallPolicyServiceClient interface {
|
|||||||
// 修改inbound信息
|
// 修改inbound信息
|
||||||
UpdateHTTPFirewallInboundConfig(ctx context.Context, in *UpdateHTTPFirewallInboundConfigRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
UpdateHTTPFirewallInboundConfig(ctx context.Context, in *UpdateHTTPFirewallInboundConfigRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||||
// 计算可用的防火墙策略数量
|
// 计算可用的防火墙策略数量
|
||||||
CountAllEnabledFirewallPolicies(ctx context.Context, in *CountAllEnabledFirewallPoliciesRequest, opts ...grpc.CallOption) (*CountAllEnabledFirewallPoliciesResponse, error)
|
CountAllEnabledFirewallPolicies(ctx context.Context, in *CountAllEnabledFirewallPoliciesRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
|
||||||
// 列出单页的防火墙策略
|
// 列出单页的防火墙策略
|
||||||
ListEnabledFirewallPolicies(ctx context.Context, in *ListEnabledFirewallPoliciesRequest, opts ...grpc.CallOption) (*ListEnabledFirewallPoliciesResponse, error)
|
ListEnabledFirewallPolicies(ctx context.Context, in *ListEnabledFirewallPoliciesRequest, opts ...grpc.CallOption) (*ListEnabledFirewallPoliciesResponse, error)
|
||||||
// 删除某个防火墙策略
|
// 删除某个防火墙策略
|
||||||
@@ -1415,8 +1351,8 @@ func (c *hTTPFirewallPolicyServiceClient) UpdateHTTPFirewallInboundConfig(ctx co
|
|||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *hTTPFirewallPolicyServiceClient) CountAllEnabledFirewallPolicies(ctx context.Context, in *CountAllEnabledFirewallPoliciesRequest, opts ...grpc.CallOption) (*CountAllEnabledFirewallPoliciesResponse, error) {
|
func (c *hTTPFirewallPolicyServiceClient) CountAllEnabledFirewallPolicies(ctx context.Context, in *CountAllEnabledFirewallPoliciesRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
|
||||||
out := new(CountAllEnabledFirewallPoliciesResponse)
|
out := new(RPCCountResponse)
|
||||||
err := c.cc.Invoke(ctx, "/pb.HTTPFirewallPolicyService/countAllEnabledFirewallPolicies", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/pb.HTTPFirewallPolicyService/countAllEnabledFirewallPolicies", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
@@ -1473,7 +1409,7 @@ type HTTPFirewallPolicyServiceServer interface {
|
|||||||
// 修改inbound信息
|
// 修改inbound信息
|
||||||
UpdateHTTPFirewallInboundConfig(context.Context, *UpdateHTTPFirewallInboundConfigRequest) (*RPCUpdateSuccess, error)
|
UpdateHTTPFirewallInboundConfig(context.Context, *UpdateHTTPFirewallInboundConfigRequest) (*RPCUpdateSuccess, error)
|
||||||
// 计算可用的防火墙策略数量
|
// 计算可用的防火墙策略数量
|
||||||
CountAllEnabledFirewallPolicies(context.Context, *CountAllEnabledFirewallPoliciesRequest) (*CountAllEnabledFirewallPoliciesResponse, error)
|
CountAllEnabledFirewallPolicies(context.Context, *CountAllEnabledFirewallPoliciesRequest) (*RPCCountResponse, error)
|
||||||
// 列出单页的防火墙策略
|
// 列出单页的防火墙策略
|
||||||
ListEnabledFirewallPolicies(context.Context, *ListEnabledFirewallPoliciesRequest) (*ListEnabledFirewallPoliciesResponse, error)
|
ListEnabledFirewallPolicies(context.Context, *ListEnabledFirewallPoliciesRequest) (*ListEnabledFirewallPoliciesResponse, error)
|
||||||
// 删除某个防火墙策略
|
// 删除某个防火墙策略
|
||||||
@@ -1503,7 +1439,7 @@ func (*UnimplementedHTTPFirewallPolicyServiceServer) UpdateHTTPFirewallPolicyGro
|
|||||||
func (*UnimplementedHTTPFirewallPolicyServiceServer) UpdateHTTPFirewallInboundConfig(context.Context, *UpdateHTTPFirewallInboundConfigRequest) (*RPCUpdateSuccess, error) {
|
func (*UnimplementedHTTPFirewallPolicyServiceServer) UpdateHTTPFirewallInboundConfig(context.Context, *UpdateHTTPFirewallInboundConfigRequest) (*RPCUpdateSuccess, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateHTTPFirewallInboundConfig not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateHTTPFirewallInboundConfig not implemented")
|
||||||
}
|
}
|
||||||
func (*UnimplementedHTTPFirewallPolicyServiceServer) CountAllEnabledFirewallPolicies(context.Context, *CountAllEnabledFirewallPoliciesRequest) (*CountAllEnabledFirewallPoliciesResponse, error) {
|
func (*UnimplementedHTTPFirewallPolicyServiceServer) CountAllEnabledFirewallPolicies(context.Context, *CountAllEnabledFirewallPoliciesRequest) (*RPCCountResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledFirewallPolicies not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledFirewallPolicies not implemented")
|
||||||
}
|
}
|
||||||
func (*UnimplementedHTTPFirewallPolicyServiceServer) ListEnabledFirewallPolicies(context.Context, *ListEnabledFirewallPoliciesRequest) (*ListEnabledFirewallPoliciesResponse, error) {
|
func (*UnimplementedHTTPFirewallPolicyServiceServer) ListEnabledFirewallPolicies(context.Context, *ListEnabledFirewallPoliciesRequest) (*ListEnabledFirewallPoliciesResponse, error) {
|
||||||
|
|||||||
@@ -332,53 +332,6 @@ func (x *CountIPItemsWithListIdRequest) GetIpListId() int64 {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
type CountIPItemsWithListIdResponse struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountIPItemsWithListIdResponse) Reset() {
|
|
||||||
*x = CountIPItemsWithListIdResponse{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_service_ip_item_proto_msgTypes[5]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountIPItemsWithListIdResponse) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*CountIPItemsWithListIdResponse) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *CountIPItemsWithListIdResponse) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_service_ip_item_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 CountIPItemsWithListIdResponse.ProtoReflect.Descriptor instead.
|
|
||||||
func (*CountIPItemsWithListIdResponse) Descriptor() ([]byte, []int) {
|
|
||||||
return file_service_ip_item_proto_rawDescGZIP(), []int{5}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountIPItemsWithListIdResponse) GetCount() int64 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Count
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
// 列出单页的IP
|
// 列出单页的IP
|
||||||
type ListIPItemsWithListIdRequest struct {
|
type ListIPItemsWithListIdRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
@@ -393,7 +346,7 @@ type ListIPItemsWithListIdRequest struct {
|
|||||||
func (x *ListIPItemsWithListIdRequest) Reset() {
|
func (x *ListIPItemsWithListIdRequest) Reset() {
|
||||||
*x = ListIPItemsWithListIdRequest{}
|
*x = ListIPItemsWithListIdRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_ip_item_proto_msgTypes[6]
|
mi := &file_service_ip_item_proto_msgTypes[5]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -406,7 +359,7 @@ func (x *ListIPItemsWithListIdRequest) String() string {
|
|||||||
func (*ListIPItemsWithListIdRequest) ProtoMessage() {}
|
func (*ListIPItemsWithListIdRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ListIPItemsWithListIdRequest) ProtoReflect() protoreflect.Message {
|
func (x *ListIPItemsWithListIdRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_ip_item_proto_msgTypes[6]
|
mi := &file_service_ip_item_proto_msgTypes[5]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -419,7 +372,7 @@ func (x *ListIPItemsWithListIdRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use ListIPItemsWithListIdRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ListIPItemsWithListIdRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*ListIPItemsWithListIdRequest) Descriptor() ([]byte, []int) {
|
func (*ListIPItemsWithListIdRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_ip_item_proto_rawDescGZIP(), []int{6}
|
return file_service_ip_item_proto_rawDescGZIP(), []int{5}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListIPItemsWithListIdRequest) GetIpListId() int64 {
|
func (x *ListIPItemsWithListIdRequest) GetIpListId() int64 {
|
||||||
@@ -454,7 +407,7 @@ type ListIPItemsWithListIdResponse struct {
|
|||||||
func (x *ListIPItemsWithListIdResponse) Reset() {
|
func (x *ListIPItemsWithListIdResponse) Reset() {
|
||||||
*x = ListIPItemsWithListIdResponse{}
|
*x = ListIPItemsWithListIdResponse{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_ip_item_proto_msgTypes[7]
|
mi := &file_service_ip_item_proto_msgTypes[6]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -467,7 +420,7 @@ func (x *ListIPItemsWithListIdResponse) String() string {
|
|||||||
func (*ListIPItemsWithListIdResponse) ProtoMessage() {}
|
func (*ListIPItemsWithListIdResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ListIPItemsWithListIdResponse) ProtoReflect() protoreflect.Message {
|
func (x *ListIPItemsWithListIdResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_ip_item_proto_msgTypes[7]
|
mi := &file_service_ip_item_proto_msgTypes[6]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -480,7 +433,7 @@ func (x *ListIPItemsWithListIdResponse) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use ListIPItemsWithListIdResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ListIPItemsWithListIdResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*ListIPItemsWithListIdResponse) Descriptor() ([]byte, []int) {
|
func (*ListIPItemsWithListIdResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_service_ip_item_proto_rawDescGZIP(), []int{7}
|
return file_service_ip_item_proto_rawDescGZIP(), []int{6}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListIPItemsWithListIdResponse) GetIpItems() []*IPItem {
|
func (x *ListIPItemsWithListIdResponse) GetIpItems() []*IPItem {
|
||||||
@@ -502,7 +455,7 @@ type FindEnabledIPItemRequest struct {
|
|||||||
func (x *FindEnabledIPItemRequest) Reset() {
|
func (x *FindEnabledIPItemRequest) Reset() {
|
||||||
*x = FindEnabledIPItemRequest{}
|
*x = FindEnabledIPItemRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_ip_item_proto_msgTypes[8]
|
mi := &file_service_ip_item_proto_msgTypes[7]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -515,7 +468,7 @@ func (x *FindEnabledIPItemRequest) String() string {
|
|||||||
func (*FindEnabledIPItemRequest) ProtoMessage() {}
|
func (*FindEnabledIPItemRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *FindEnabledIPItemRequest) ProtoReflect() protoreflect.Message {
|
func (x *FindEnabledIPItemRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_ip_item_proto_msgTypes[8]
|
mi := &file_service_ip_item_proto_msgTypes[7]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -528,7 +481,7 @@ func (x *FindEnabledIPItemRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use FindEnabledIPItemRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use FindEnabledIPItemRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*FindEnabledIPItemRequest) Descriptor() ([]byte, []int) {
|
func (*FindEnabledIPItemRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_ip_item_proto_rawDescGZIP(), []int{8}
|
return file_service_ip_item_proto_rawDescGZIP(), []int{7}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FindEnabledIPItemRequest) GetIpItemId() int64 {
|
func (x *FindEnabledIPItemRequest) GetIpItemId() int64 {
|
||||||
@@ -549,7 +502,7 @@ type FindEnabledIPItemResponse struct {
|
|||||||
func (x *FindEnabledIPItemResponse) Reset() {
|
func (x *FindEnabledIPItemResponse) Reset() {
|
||||||
*x = FindEnabledIPItemResponse{}
|
*x = FindEnabledIPItemResponse{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_ip_item_proto_msgTypes[9]
|
mi := &file_service_ip_item_proto_msgTypes[8]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -562,7 +515,7 @@ func (x *FindEnabledIPItemResponse) String() string {
|
|||||||
func (*FindEnabledIPItemResponse) ProtoMessage() {}
|
func (*FindEnabledIPItemResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *FindEnabledIPItemResponse) ProtoReflect() protoreflect.Message {
|
func (x *FindEnabledIPItemResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_ip_item_proto_msgTypes[9]
|
mi := &file_service_ip_item_proto_msgTypes[8]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -575,7 +528,7 @@ func (x *FindEnabledIPItemResponse) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use FindEnabledIPItemResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use FindEnabledIPItemResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*FindEnabledIPItemResponse) Descriptor() ([]byte, []int) {
|
func (*FindEnabledIPItemResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_service_ip_item_proto_rawDescGZIP(), []int{9}
|
return file_service_ip_item_proto_rawDescGZIP(), []int{8}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FindEnabledIPItemResponse) GetIpItem() *IPItem {
|
func (x *FindEnabledIPItemResponse) GetIpItem() *IPItem {
|
||||||
@@ -598,7 +551,7 @@ type ListIPItemsAfterVersionRequest struct {
|
|||||||
func (x *ListIPItemsAfterVersionRequest) Reset() {
|
func (x *ListIPItemsAfterVersionRequest) Reset() {
|
||||||
*x = ListIPItemsAfterVersionRequest{}
|
*x = ListIPItemsAfterVersionRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_ip_item_proto_msgTypes[10]
|
mi := &file_service_ip_item_proto_msgTypes[9]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -611,7 +564,7 @@ func (x *ListIPItemsAfterVersionRequest) String() string {
|
|||||||
func (*ListIPItemsAfterVersionRequest) ProtoMessage() {}
|
func (*ListIPItemsAfterVersionRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ListIPItemsAfterVersionRequest) ProtoReflect() protoreflect.Message {
|
func (x *ListIPItemsAfterVersionRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_ip_item_proto_msgTypes[10]
|
mi := &file_service_ip_item_proto_msgTypes[9]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -624,7 +577,7 @@ func (x *ListIPItemsAfterVersionRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use ListIPItemsAfterVersionRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ListIPItemsAfterVersionRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*ListIPItemsAfterVersionRequest) Descriptor() ([]byte, []int) {
|
func (*ListIPItemsAfterVersionRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_ip_item_proto_rawDescGZIP(), []int{10}
|
return file_service_ip_item_proto_rawDescGZIP(), []int{9}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListIPItemsAfterVersionRequest) GetVersion() int64 {
|
func (x *ListIPItemsAfterVersionRequest) GetVersion() int64 {
|
||||||
@@ -652,7 +605,7 @@ type ListIPItemsAfterVersionResponse struct {
|
|||||||
func (x *ListIPItemsAfterVersionResponse) Reset() {
|
func (x *ListIPItemsAfterVersionResponse) Reset() {
|
||||||
*x = ListIPItemsAfterVersionResponse{}
|
*x = ListIPItemsAfterVersionResponse{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_ip_item_proto_msgTypes[11]
|
mi := &file_service_ip_item_proto_msgTypes[10]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -665,7 +618,7 @@ func (x *ListIPItemsAfterVersionResponse) String() string {
|
|||||||
func (*ListIPItemsAfterVersionResponse) ProtoMessage() {}
|
func (*ListIPItemsAfterVersionResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ListIPItemsAfterVersionResponse) ProtoReflect() protoreflect.Message {
|
func (x *ListIPItemsAfterVersionResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_ip_item_proto_msgTypes[11]
|
mi := &file_service_ip_item_proto_msgTypes[10]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -678,7 +631,7 @@ func (x *ListIPItemsAfterVersionResponse) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use ListIPItemsAfterVersionResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ListIPItemsAfterVersionResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*ListIPItemsAfterVersionResponse) Descriptor() ([]byte, []int) {
|
func (*ListIPItemsAfterVersionResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_service_ip_item_proto_rawDescGZIP(), []int{11}
|
return file_service_ip_item_proto_rawDescGZIP(), []int{10}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListIPItemsAfterVersionResponse) GetIpItems() []*IPItem {
|
func (x *ListIPItemsAfterVersionResponse) GetIpItems() []*IPItem {
|
||||||
@@ -724,76 +677,71 @@ var file_service_ip_item_proto_rawDesc = []byte{
|
|||||||
0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49,
|
0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49,
|
||||||
0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x70, 0x4c, 0x69,
|
0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x70, 0x4c, 0x69,
|
||||||
0x73, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x70, 0x4c, 0x69,
|
0x73, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x70, 0x4c, 0x69,
|
||||||
0x73, 0x74, 0x49, 0x64, 0x22, 0x36, 0x0a, 0x1e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x50, 0x49,
|
0x73, 0x74, 0x49, 0x64, 0x22, 0x66, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74,
|
||||||
0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65,
|
0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71,
|
||||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18,
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64,
|
||||||
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x66, 0x0a, 0x1c,
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64,
|
||||||
|
0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
|
||||||
|
0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65,
|
||||||
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x45, 0x0a, 0x1d,
|
||||||
0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c,
|
0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c,
|
||||||
0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08,
|
0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a,
|
||||||
0x69, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08,
|
0x07, 0x69, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a,
|
||||||
0x69, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73,
|
0x2e, 0x70, 0x62, 0x2e, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x07, 0x69, 0x70, 0x49, 0x74,
|
||||||
0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74,
|
0x65, 0x6d, 0x73, 0x22, 0x36, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
||||||
0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04,
|
0x65, 0x64, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||||
0x73, 0x69, 0x7a, 0x65, 0x22, 0x45, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74,
|
0x1a, 0x0a, 0x08, 0x69, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||||
0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73,
|
0x03, 0x52, 0x08, 0x69, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x22, 0x3f, 0x0a, 0x19, 0x46,
|
||||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x07, 0x69, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x73,
|
|
||||||
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x50, 0x49, 0x74,
|
|
||||||
0x65, 0x6d, 0x52, 0x07, 0x69, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x36, 0x0a, 0x18, 0x46,
|
|
||||||
0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d,
|
0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d,
|
||||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x70, 0x49, 0x74, 0x65,
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x06, 0x69, 0x70, 0x49, 0x74,
|
||||||
0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x70, 0x49, 0x74, 0x65,
|
0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x50,
|
||||||
0x6d, 0x49, 0x64, 0x22, 0x3f, 0x0a, 0x19, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
0x49, 0x74, 0x65, 0x6d, 0x52, 0x06, 0x69, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x22, 0x4e, 0x0a, 0x1e,
|
||||||
0x65, 0x64, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72,
|
||||||
0x12, 0x22, 0x0a, 0x06, 0x69, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18,
|
||||||
0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x06, 0x69, 0x70,
|
0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||||
0x49, 0x74, 0x65, 0x6d, 0x22, 0x4e, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74,
|
0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65,
|
||||||
0x65, 0x6d, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52,
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x47, 0x0a, 0x1f,
|
||||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
|
0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72,
|
||||||
0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
|
0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||||
0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04,
|
0x24, 0x0a, 0x07, 0x69, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
|
||||||
0x73, 0x69, 0x7a, 0x65, 0x22, 0x47, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74,
|
0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x07, 0x69, 0x70,
|
||||||
0x65, 0x6d, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52,
|
0x49, 0x74, 0x65, 0x6d, 0x73, 0x32, 0xb7, 0x04, 0x0a, 0x0d, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d,
|
||||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x07, 0x69, 0x70, 0x49, 0x74, 0x65,
|
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74,
|
||||||
0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x50,
|
0x65, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65,
|
||||||
0x49, 0x74, 0x65, 0x6d, 0x52, 0x07, 0x69, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x32, 0xc5, 0x04,
|
0x61, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||||
0x0a, 0x0d, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
|
0x1a, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74,
|
||||||
0x41, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x12,
|
0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0c, 0x75, 0x70,
|
||||||
0x17, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, 0x65,
|
0x64, 0x61, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e,
|
||||||
0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72,
|
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75,
|
||||||
0x65, 0x61, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61,
|
||||||
0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74,
|
0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x64, 0x65, 0x6c,
|
||||||
0x65, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x50,
|
0x65, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x44,
|
||||||
0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62,
|
0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||||
0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73,
|
0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, 0x74,
|
||||||
0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, 0x65,
|
0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x51, 0x0a, 0x16, 0x63, 0x6f, 0x75, 0x6e,
|
||||||
0x6d, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x50, 0x49,
|
0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74,
|
||||||
0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e,
|
0x49, 0x64, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x50, 0x49,
|
||||||
0x52, 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
|
0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65,
|
||||||
0x12, 0x5f, 0x0a, 0x16, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73,
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f,
|
||||||
0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e,
|
0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x15, 0x6c,
|
||||||
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68,
|
0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69,
|
||||||
0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e,
|
0x73, 0x74, 0x49, 0x64, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50,
|
||||||
0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57,
|
0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x52,
|
||||||
0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74,
|
||||||
0x65, 0x12, 0x5c, 0x0a, 0x15, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73,
|
0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49,
|
||||||
0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e,
|
0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x66, 0x69, 0x6e,
|
||||||
0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c,
|
0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1c,
|
||||||
0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70,
|
0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x49,
|
||||||
0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74,
|
0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70,
|
||||||
0x68, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x49, 0x50, 0x49,
|
||||||
0x50, 0x0a, 0x11, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x49, 0x50,
|
0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x6c,
|
||||||
0x49, 0x74, 0x65, 0x6d, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e,
|
0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56,
|
||||||
0x61, 0x62, 0x6c, 0x65, 0x64, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65,
|
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74,
|
||||||
0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62,
|
0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73,
|
||||||
0x6c, 0x65, 0x64, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e,
|
||||||
0x65, 0x12, 0x62, 0x0a, 0x17, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73,
|
0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72,
|
||||||
0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x70,
|
0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42,
|
||||||
0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x41, 0x66, 0x74,
|
0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
||||||
0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d,
|
|
||||||
0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73,
|
|
||||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70,
|
|
||||||
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@@ -808,42 +756,42 @@ func file_service_ip_item_proto_rawDescGZIP() []byte {
|
|||||||
return file_service_ip_item_proto_rawDescData
|
return file_service_ip_item_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_service_ip_item_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
var file_service_ip_item_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
||||||
var file_service_ip_item_proto_goTypes = []interface{}{
|
var file_service_ip_item_proto_goTypes = []interface{}{
|
||||||
(*CreateIPItemRequest)(nil), // 0: pb.CreateIPItemRequest
|
(*CreateIPItemRequest)(nil), // 0: pb.CreateIPItemRequest
|
||||||
(*CreateIPItemResponse)(nil), // 1: pb.CreateIPItemResponse
|
(*CreateIPItemResponse)(nil), // 1: pb.CreateIPItemResponse
|
||||||
(*UpdateIPItemRequest)(nil), // 2: pb.UpdateIPItemRequest
|
(*UpdateIPItemRequest)(nil), // 2: pb.UpdateIPItemRequest
|
||||||
(*DeleteIPItemRequest)(nil), // 3: pb.DeleteIPItemRequest
|
(*DeleteIPItemRequest)(nil), // 3: pb.DeleteIPItemRequest
|
||||||
(*CountIPItemsWithListIdRequest)(nil), // 4: pb.CountIPItemsWithListIdRequest
|
(*CountIPItemsWithListIdRequest)(nil), // 4: pb.CountIPItemsWithListIdRequest
|
||||||
(*CountIPItemsWithListIdResponse)(nil), // 5: pb.CountIPItemsWithListIdResponse
|
(*ListIPItemsWithListIdRequest)(nil), // 5: pb.ListIPItemsWithListIdRequest
|
||||||
(*ListIPItemsWithListIdRequest)(nil), // 6: pb.ListIPItemsWithListIdRequest
|
(*ListIPItemsWithListIdResponse)(nil), // 6: pb.ListIPItemsWithListIdResponse
|
||||||
(*ListIPItemsWithListIdResponse)(nil), // 7: pb.ListIPItemsWithListIdResponse
|
(*FindEnabledIPItemRequest)(nil), // 7: pb.FindEnabledIPItemRequest
|
||||||
(*FindEnabledIPItemRequest)(nil), // 8: pb.FindEnabledIPItemRequest
|
(*FindEnabledIPItemResponse)(nil), // 8: pb.FindEnabledIPItemResponse
|
||||||
(*FindEnabledIPItemResponse)(nil), // 9: pb.FindEnabledIPItemResponse
|
(*ListIPItemsAfterVersionRequest)(nil), // 9: pb.ListIPItemsAfterVersionRequest
|
||||||
(*ListIPItemsAfterVersionRequest)(nil), // 10: pb.ListIPItemsAfterVersionRequest
|
(*ListIPItemsAfterVersionResponse)(nil), // 10: pb.ListIPItemsAfterVersionResponse
|
||||||
(*ListIPItemsAfterVersionResponse)(nil), // 11: pb.ListIPItemsAfterVersionResponse
|
(*IPItem)(nil), // 11: pb.IPItem
|
||||||
(*IPItem)(nil), // 12: pb.IPItem
|
(*RPCUpdateSuccess)(nil), // 12: pb.RPCUpdateSuccess
|
||||||
(*RPCUpdateSuccess)(nil), // 13: pb.RPCUpdateSuccess
|
(*RPCDeleteSuccess)(nil), // 13: pb.RPCDeleteSuccess
|
||||||
(*RPCDeleteSuccess)(nil), // 14: pb.RPCDeleteSuccess
|
(*RPCCountResponse)(nil), // 14: pb.RPCCountResponse
|
||||||
}
|
}
|
||||||
var file_service_ip_item_proto_depIdxs = []int32{
|
var file_service_ip_item_proto_depIdxs = []int32{
|
||||||
12, // 0: pb.ListIPItemsWithListIdResponse.ipItems:type_name -> pb.IPItem
|
11, // 0: pb.ListIPItemsWithListIdResponse.ipItems:type_name -> pb.IPItem
|
||||||
12, // 1: pb.FindEnabledIPItemResponse.ipItem:type_name -> pb.IPItem
|
11, // 1: pb.FindEnabledIPItemResponse.ipItem:type_name -> pb.IPItem
|
||||||
12, // 2: pb.ListIPItemsAfterVersionResponse.ipItems:type_name -> pb.IPItem
|
11, // 2: pb.ListIPItemsAfterVersionResponse.ipItems:type_name -> pb.IPItem
|
||||||
0, // 3: pb.IPItemService.createIPItem:input_type -> pb.CreateIPItemRequest
|
0, // 3: pb.IPItemService.createIPItem:input_type -> pb.CreateIPItemRequest
|
||||||
2, // 4: pb.IPItemService.updateIPItem:input_type -> pb.UpdateIPItemRequest
|
2, // 4: pb.IPItemService.updateIPItem:input_type -> pb.UpdateIPItemRequest
|
||||||
3, // 5: pb.IPItemService.deleteIPItem:input_type -> pb.DeleteIPItemRequest
|
3, // 5: pb.IPItemService.deleteIPItem:input_type -> pb.DeleteIPItemRequest
|
||||||
4, // 6: pb.IPItemService.countIPItemsWithListId:input_type -> pb.CountIPItemsWithListIdRequest
|
4, // 6: pb.IPItemService.countIPItemsWithListId:input_type -> pb.CountIPItemsWithListIdRequest
|
||||||
6, // 7: pb.IPItemService.listIPItemsWithListId:input_type -> pb.ListIPItemsWithListIdRequest
|
5, // 7: pb.IPItemService.listIPItemsWithListId:input_type -> pb.ListIPItemsWithListIdRequest
|
||||||
8, // 8: pb.IPItemService.findEnabledIPItem:input_type -> pb.FindEnabledIPItemRequest
|
7, // 8: pb.IPItemService.findEnabledIPItem:input_type -> pb.FindEnabledIPItemRequest
|
||||||
10, // 9: pb.IPItemService.listIPItemsAfterVersion:input_type -> pb.ListIPItemsAfterVersionRequest
|
9, // 9: pb.IPItemService.listIPItemsAfterVersion:input_type -> pb.ListIPItemsAfterVersionRequest
|
||||||
1, // 10: pb.IPItemService.createIPItem:output_type -> pb.CreateIPItemResponse
|
1, // 10: pb.IPItemService.createIPItem:output_type -> pb.CreateIPItemResponse
|
||||||
13, // 11: pb.IPItemService.updateIPItem:output_type -> pb.RPCUpdateSuccess
|
12, // 11: pb.IPItemService.updateIPItem:output_type -> pb.RPCUpdateSuccess
|
||||||
14, // 12: pb.IPItemService.deleteIPItem:output_type -> pb.RPCDeleteSuccess
|
13, // 12: pb.IPItemService.deleteIPItem:output_type -> pb.RPCDeleteSuccess
|
||||||
5, // 13: pb.IPItemService.countIPItemsWithListId:output_type -> pb.CountIPItemsWithListIdResponse
|
14, // 13: pb.IPItemService.countIPItemsWithListId:output_type -> pb.RPCCountResponse
|
||||||
7, // 14: pb.IPItemService.listIPItemsWithListId:output_type -> pb.ListIPItemsWithListIdResponse
|
6, // 14: pb.IPItemService.listIPItemsWithListId:output_type -> pb.ListIPItemsWithListIdResponse
|
||||||
9, // 15: pb.IPItemService.findEnabledIPItem:output_type -> pb.FindEnabledIPItemResponse
|
8, // 15: pb.IPItemService.findEnabledIPItem:output_type -> pb.FindEnabledIPItemResponse
|
||||||
11, // 16: pb.IPItemService.listIPItemsAfterVersion:output_type -> pb.ListIPItemsAfterVersionResponse
|
10, // 16: pb.IPItemService.listIPItemsAfterVersion:output_type -> pb.ListIPItemsAfterVersionResponse
|
||||||
10, // [10:17] is the sub-list for method output_type
|
10, // [10:17] is the sub-list for method output_type
|
||||||
3, // [3:10] is the sub-list for method input_type
|
3, // [3:10] is the sub-list for method input_type
|
||||||
3, // [3:3] is the sub-list for extension type_name
|
3, // [3:3] is the sub-list for extension type_name
|
||||||
@@ -920,18 +868,6 @@ func file_service_ip_item_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_ip_item_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
file_service_ip_item_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*CountIPItemsWithListIdResponse); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_service_ip_item_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*ListIPItemsWithListIdRequest); i {
|
switch v := v.(*ListIPItemsWithListIdRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -943,7 +879,7 @@ func file_service_ip_item_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_ip_item_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
file_service_ip_item_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ListIPItemsWithListIdResponse); i {
|
switch v := v.(*ListIPItemsWithListIdResponse); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -955,7 +891,7 @@ func file_service_ip_item_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_ip_item_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
file_service_ip_item_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*FindEnabledIPItemRequest); i {
|
switch v := v.(*FindEnabledIPItemRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -967,7 +903,7 @@ func file_service_ip_item_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_ip_item_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
file_service_ip_item_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*FindEnabledIPItemResponse); i {
|
switch v := v.(*FindEnabledIPItemResponse); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -979,7 +915,7 @@ func file_service_ip_item_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_ip_item_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
file_service_ip_item_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ListIPItemsAfterVersionRequest); i {
|
switch v := v.(*ListIPItemsAfterVersionRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -991,7 +927,7 @@ func file_service_ip_item_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_ip_item_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
file_service_ip_item_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ListIPItemsAfterVersionResponse); i {
|
switch v := v.(*ListIPItemsAfterVersionResponse); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1010,7 +946,7 @@ func file_service_ip_item_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_service_ip_item_proto_rawDesc,
|
RawDescriptor: file_service_ip_item_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 0,
|
||||||
NumMessages: 12,
|
NumMessages: 11,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 1,
|
NumServices: 1,
|
||||||
},
|
},
|
||||||
@@ -1043,7 +979,7 @@ type IPItemServiceClient interface {
|
|||||||
// 删除IP
|
// 删除IP
|
||||||
DeleteIPItem(ctx context.Context, in *DeleteIPItemRequest, opts ...grpc.CallOption) (*RPCDeleteSuccess, error)
|
DeleteIPItem(ctx context.Context, in *DeleteIPItemRequest, opts ...grpc.CallOption) (*RPCDeleteSuccess, error)
|
||||||
// 计算IP数量
|
// 计算IP数量
|
||||||
CountIPItemsWithListId(ctx context.Context, in *CountIPItemsWithListIdRequest, opts ...grpc.CallOption) (*CountIPItemsWithListIdResponse, error)
|
CountIPItemsWithListId(ctx context.Context, in *CountIPItemsWithListIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
|
||||||
// 列出单页的IP
|
// 列出单页的IP
|
||||||
ListIPItemsWithListId(ctx context.Context, in *ListIPItemsWithListIdRequest, opts ...grpc.CallOption) (*ListIPItemsWithListIdResponse, error)
|
ListIPItemsWithListId(ctx context.Context, in *ListIPItemsWithListIdRequest, opts ...grpc.CallOption) (*ListIPItemsWithListIdResponse, error)
|
||||||
// 查找单个IP
|
// 查找单个IP
|
||||||
@@ -1087,8 +1023,8 @@ func (c *iPItemServiceClient) DeleteIPItem(ctx context.Context, in *DeleteIPItem
|
|||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *iPItemServiceClient) CountIPItemsWithListId(ctx context.Context, in *CountIPItemsWithListIdRequest, opts ...grpc.CallOption) (*CountIPItemsWithListIdResponse, error) {
|
func (c *iPItemServiceClient) CountIPItemsWithListId(ctx context.Context, in *CountIPItemsWithListIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
|
||||||
out := new(CountIPItemsWithListIdResponse)
|
out := new(RPCCountResponse)
|
||||||
err := c.cc.Invoke(ctx, "/pb.IPItemService/countIPItemsWithListId", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/pb.IPItemService/countIPItemsWithListId", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
@@ -1132,7 +1068,7 @@ type IPItemServiceServer interface {
|
|||||||
// 删除IP
|
// 删除IP
|
||||||
DeleteIPItem(context.Context, *DeleteIPItemRequest) (*RPCDeleteSuccess, error)
|
DeleteIPItem(context.Context, *DeleteIPItemRequest) (*RPCDeleteSuccess, error)
|
||||||
// 计算IP数量
|
// 计算IP数量
|
||||||
CountIPItemsWithListId(context.Context, *CountIPItemsWithListIdRequest) (*CountIPItemsWithListIdResponse, error)
|
CountIPItemsWithListId(context.Context, *CountIPItemsWithListIdRequest) (*RPCCountResponse, error)
|
||||||
// 列出单页的IP
|
// 列出单页的IP
|
||||||
ListIPItemsWithListId(context.Context, *ListIPItemsWithListIdRequest) (*ListIPItemsWithListIdResponse, error)
|
ListIPItemsWithListId(context.Context, *ListIPItemsWithListIdRequest) (*ListIPItemsWithListIdResponse, error)
|
||||||
// 查找单个IP
|
// 查找单个IP
|
||||||
@@ -1154,7 +1090,7 @@ func (*UnimplementedIPItemServiceServer) UpdateIPItem(context.Context, *UpdateIP
|
|||||||
func (*UnimplementedIPItemServiceServer) DeleteIPItem(context.Context, *DeleteIPItemRequest) (*RPCDeleteSuccess, error) {
|
func (*UnimplementedIPItemServiceServer) DeleteIPItem(context.Context, *DeleteIPItemRequest) (*RPCDeleteSuccess, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method DeleteIPItem not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteIPItem not implemented")
|
||||||
}
|
}
|
||||||
func (*UnimplementedIPItemServiceServer) CountIPItemsWithListId(context.Context, *CountIPItemsWithListIdRequest) (*CountIPItemsWithListIdResponse, error) {
|
func (*UnimplementedIPItemServiceServer) CountIPItemsWithListId(context.Context, *CountIPItemsWithListIdRequest) (*RPCCountResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method CountIPItemsWithListId not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method CountIPItemsWithListId not implemented")
|
||||||
}
|
}
|
||||||
func (*UnimplementedIPItemServiceServer) ListIPItemsWithListId(context.Context, *ListIPItemsWithListIdRequest) (*ListIPItemsWithListIdResponse, error) {
|
func (*UnimplementedIPItemServiceServer) ListIPItemsWithListId(context.Context, *ListIPItemsWithListIdRequest) (*ListIPItemsWithListIdResponse, error) {
|
||||||
|
|||||||
@@ -178,53 +178,6 @@ func (*CountLogRequest) Descriptor() ([]byte, []int) {
|
|||||||
return file_service_log_proto_rawDescGZIP(), []int{2}
|
return file_service_log_proto_rawDescGZIP(), []int{2}
|
||||||
}
|
}
|
||||||
|
|
||||||
type CountLogResponse struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountLogResponse) Reset() {
|
|
||||||
*x = CountLogResponse{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_service_log_proto_msgTypes[3]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountLogResponse) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*CountLogResponse) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *CountLogResponse) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_service_log_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 CountLogResponse.ProtoReflect.Descriptor instead.
|
|
||||||
func (*CountLogResponse) Descriptor() ([]byte, []int) {
|
|
||||||
return file_service_log_proto_rawDescGZIP(), []int{3}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountLogResponse) GetCount() int64 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Count
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
// 列出单页日志
|
// 列出单页日志
|
||||||
type ListLogsRequest struct {
|
type ListLogsRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
@@ -238,7 +191,7 @@ type ListLogsRequest struct {
|
|||||||
func (x *ListLogsRequest) Reset() {
|
func (x *ListLogsRequest) Reset() {
|
||||||
*x = ListLogsRequest{}
|
*x = ListLogsRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_log_proto_msgTypes[4]
|
mi := &file_service_log_proto_msgTypes[3]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -251,7 +204,7 @@ func (x *ListLogsRequest) String() string {
|
|||||||
func (*ListLogsRequest) ProtoMessage() {}
|
func (*ListLogsRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ListLogsRequest) ProtoReflect() protoreflect.Message {
|
func (x *ListLogsRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_log_proto_msgTypes[4]
|
mi := &file_service_log_proto_msgTypes[3]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -264,7 +217,7 @@ func (x *ListLogsRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use ListLogsRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ListLogsRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*ListLogsRequest) Descriptor() ([]byte, []int) {
|
func (*ListLogsRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_log_proto_rawDescGZIP(), []int{4}
|
return file_service_log_proto_rawDescGZIP(), []int{3}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListLogsRequest) GetOffset() int64 {
|
func (x *ListLogsRequest) GetOffset() int64 {
|
||||||
@@ -292,7 +245,7 @@ type ListLogsResponse struct {
|
|||||||
func (x *ListLogsResponse) Reset() {
|
func (x *ListLogsResponse) Reset() {
|
||||||
*x = ListLogsResponse{}
|
*x = ListLogsResponse{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_log_proto_msgTypes[5]
|
mi := &file_service_log_proto_msgTypes[4]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -305,7 +258,7 @@ func (x *ListLogsResponse) String() string {
|
|||||||
func (*ListLogsResponse) ProtoMessage() {}
|
func (*ListLogsResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ListLogsResponse) ProtoReflect() protoreflect.Message {
|
func (x *ListLogsResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_log_proto_msgTypes[5]
|
mi := &file_service_log_proto_msgTypes[4]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -318,7 +271,7 @@ func (x *ListLogsResponse) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use ListLogsResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ListLogsResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*ListLogsResponse) Descriptor() ([]byte, []int) {
|
func (*ListLogsResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_service_log_proto_rawDescGZIP(), []int{5}
|
return file_service_log_proto_rawDescGZIP(), []int{4}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListLogsResponse) GetLogs() []*Log {
|
func (x *ListLogsResponse) GetLogs() []*Log {
|
||||||
@@ -332,40 +285,38 @@ var File_service_log_proto protoreflect.FileDescriptor
|
|||||||
|
|
||||||
var file_service_log_proto_rawDesc = []byte{
|
var file_service_log_proto_rawDesc = []byte{
|
||||||
0x0a, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72,
|
0x0a, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72,
|
||||||
0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x0f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6c,
|
0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x12, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73,
|
||||||
0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x72, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61,
|
0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x6d, 0x6f, 0x64,
|
||||||
0x74, 0x65, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05,
|
0x65, 0x6c, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x72, 0x0a, 0x10,
|
||||||
0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x65, 0x76,
|
|
||||||
0x65, 0x6c, 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, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03,
|
|
||||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02,
|
|
||||||
0x69, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x22, 0x13, 0x0a, 0x11,
|
|
||||||
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
||||||
0x65, 0x22, 0x11, 0x0a, 0x0f, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71,
|
|
||||||
0x75, 0x65, 0x73, 0x74, 0x22, 0x28, 0x0a, 0x10, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x6f, 0x67,
|
|
||||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e,
|
|
||||||
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x3d,
|
|
||||||
0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x67, 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, 0x2f, 0x0a,
|
|
||||||
0x10, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
||||||
0x65, 0x12, 0x1b, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
||||||
0x07, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0xb5,
|
|
||||||
0x01, 0x0a, 0x0a, 0x4c, 0x6f, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x38, 0x0a,
|
|
||||||
0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x12, 0x14, 0x2e, 0x70, 0x62, 0x2e,
|
|
||||||
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||||
0x1a, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x52,
|
0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x09, 0x63, 0x6f, 0x75, 0x6e, 0x74,
|
0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
|
||||||
0x4c, 0x6f, 0x67, 0x73, 0x12, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4c,
|
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73,
|
||||||
0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x43,
|
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69,
|
||||||
0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
||||||
0x35, 0x0a, 0x08, 0x6c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x13, 0x2e, 0x70, 0x62,
|
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70,
|
||||||
0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
0x22, 0x13, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x73,
|
||||||
0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65,
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x11, 0x0a, 0x0f, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x6f,
|
||||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06,
|
0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3d, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74,
|
||||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
0x4c, 0x6f, 0x67, 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, 0x2f, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x4c,
|
||||||
|
0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x04, 0x6c,
|
||||||
|
0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x70, 0x62, 0x2e, 0x4c,
|
||||||
|
0x6f, 0x67, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0xb5, 0x01, 0x0a, 0x0a, 0x4c, 0x6f, 0x67,
|
||||||
|
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74,
|
||||||
|
0x65, 0x4c, 0x6f, 0x67, 0x12, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
|
||||||
|
0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x62, 0x2e,
|
||||||
|
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||||
|
0x65, 0x12, 0x36, 0x0a, 0x09, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x13,
|
||||||
|
0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x6f, 0x67, 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, 0x35, 0x0a, 0x08, 0x6c, 0x69, 0x73,
|
||||||
|
0x74, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c,
|
||||||
|
0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e,
|
||||||
|
0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||||
|
0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@@ -380,24 +331,24 @@ func file_service_log_proto_rawDescGZIP() []byte {
|
|||||||
return file_service_log_proto_rawDescData
|
return file_service_log_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_service_log_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
var file_service_log_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
||||||
var file_service_log_proto_goTypes = []interface{}{
|
var file_service_log_proto_goTypes = []interface{}{
|
||||||
(*CreateLogRequest)(nil), // 0: pb.CreateLogRequest
|
(*CreateLogRequest)(nil), // 0: pb.CreateLogRequest
|
||||||
(*CreateLogResponse)(nil), // 1: pb.CreateLogResponse
|
(*CreateLogResponse)(nil), // 1: pb.CreateLogResponse
|
||||||
(*CountLogRequest)(nil), // 2: pb.CountLogRequest
|
(*CountLogRequest)(nil), // 2: pb.CountLogRequest
|
||||||
(*CountLogResponse)(nil), // 3: pb.CountLogResponse
|
(*ListLogsRequest)(nil), // 3: pb.ListLogsRequest
|
||||||
(*ListLogsRequest)(nil), // 4: pb.ListLogsRequest
|
(*ListLogsResponse)(nil), // 4: pb.ListLogsResponse
|
||||||
(*ListLogsResponse)(nil), // 5: pb.ListLogsResponse
|
(*Log)(nil), // 5: pb.Log
|
||||||
(*Log)(nil), // 6: pb.Log
|
(*RPCCountResponse)(nil), // 6: pb.RPCCountResponse
|
||||||
}
|
}
|
||||||
var file_service_log_proto_depIdxs = []int32{
|
var file_service_log_proto_depIdxs = []int32{
|
||||||
6, // 0: pb.ListLogsResponse.logs:type_name -> pb.Log
|
5, // 0: pb.ListLogsResponse.logs:type_name -> pb.Log
|
||||||
0, // 1: pb.LogService.createLog:input_type -> pb.CreateLogRequest
|
0, // 1: pb.LogService.createLog:input_type -> pb.CreateLogRequest
|
||||||
2, // 2: pb.LogService.countLogs:input_type -> pb.CountLogRequest
|
2, // 2: pb.LogService.countLogs:input_type -> pb.CountLogRequest
|
||||||
4, // 3: pb.LogService.listLogs:input_type -> pb.ListLogsRequest
|
3, // 3: pb.LogService.listLogs:input_type -> pb.ListLogsRequest
|
||||||
1, // 4: pb.LogService.createLog:output_type -> pb.CreateLogResponse
|
1, // 4: pb.LogService.createLog:output_type -> pb.CreateLogResponse
|
||||||
3, // 5: pb.LogService.countLogs:output_type -> pb.CountLogResponse
|
6, // 5: pb.LogService.countLogs:output_type -> pb.RPCCountResponse
|
||||||
5, // 6: pb.LogService.listLogs:output_type -> pb.ListLogsResponse
|
4, // 6: pb.LogService.listLogs:output_type -> pb.ListLogsResponse
|
||||||
4, // [4:7] is the sub-list for method output_type
|
4, // [4:7] is the sub-list for method output_type
|
||||||
1, // [1:4] is the sub-list for method input_type
|
1, // [1:4] is the sub-list for method input_type
|
||||||
1, // [1:1] is the sub-list for extension type_name
|
1, // [1:1] is the sub-list for extension type_name
|
||||||
@@ -410,6 +361,7 @@ func file_service_log_proto_init() {
|
|||||||
if File_service_log_proto != nil {
|
if File_service_log_proto != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
file_rpc_messages_proto_init()
|
||||||
file_model_log_proto_init()
|
file_model_log_proto_init()
|
||||||
if !protoimpl.UnsafeEnabled {
|
if !protoimpl.UnsafeEnabled {
|
||||||
file_service_log_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
file_service_log_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||||
@@ -449,18 +401,6 @@ func file_service_log_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_log_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
file_service_log_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*CountLogResponse); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_service_log_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*ListLogsRequest); i {
|
switch v := v.(*ListLogsRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -472,7 +412,7 @@ func file_service_log_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_log_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
file_service_log_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ListLogsResponse); i {
|
switch v := v.(*ListLogsResponse); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -491,7 +431,7 @@ func file_service_log_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_service_log_proto_rawDesc,
|
RawDescriptor: file_service_log_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 0,
|
||||||
NumMessages: 6,
|
NumMessages: 5,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 1,
|
NumServices: 1,
|
||||||
},
|
},
|
||||||
@@ -520,7 +460,7 @@ type LogServiceClient interface {
|
|||||||
// 创建日志
|
// 创建日志
|
||||||
CreateLog(ctx context.Context, in *CreateLogRequest, opts ...grpc.CallOption) (*CreateLogResponse, error)
|
CreateLog(ctx context.Context, in *CreateLogRequest, opts ...grpc.CallOption) (*CreateLogResponse, error)
|
||||||
// 计算日志数量
|
// 计算日志数量
|
||||||
CountLogs(ctx context.Context, in *CountLogRequest, opts ...grpc.CallOption) (*CountLogResponse, error)
|
CountLogs(ctx context.Context, in *CountLogRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
|
||||||
// 列出单页日志
|
// 列出单页日志
|
||||||
ListLogs(ctx context.Context, in *ListLogsRequest, opts ...grpc.CallOption) (*ListLogsResponse, error)
|
ListLogs(ctx context.Context, in *ListLogsRequest, opts ...grpc.CallOption) (*ListLogsResponse, error)
|
||||||
}
|
}
|
||||||
@@ -542,8 +482,8 @@ func (c *logServiceClient) CreateLog(ctx context.Context, in *CreateLogRequest,
|
|||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *logServiceClient) CountLogs(ctx context.Context, in *CountLogRequest, opts ...grpc.CallOption) (*CountLogResponse, error) {
|
func (c *logServiceClient) CountLogs(ctx context.Context, in *CountLogRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
|
||||||
out := new(CountLogResponse)
|
out := new(RPCCountResponse)
|
||||||
err := c.cc.Invoke(ctx, "/pb.LogService/countLogs", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/pb.LogService/countLogs", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
@@ -565,7 +505,7 @@ type LogServiceServer interface {
|
|||||||
// 创建日志
|
// 创建日志
|
||||||
CreateLog(context.Context, *CreateLogRequest) (*CreateLogResponse, error)
|
CreateLog(context.Context, *CreateLogRequest) (*CreateLogResponse, error)
|
||||||
// 计算日志数量
|
// 计算日志数量
|
||||||
CountLogs(context.Context, *CountLogRequest) (*CountLogResponse, error)
|
CountLogs(context.Context, *CountLogRequest) (*RPCCountResponse, error)
|
||||||
// 列出单页日志
|
// 列出单页日志
|
||||||
ListLogs(context.Context, *ListLogsRequest) (*ListLogsResponse, error)
|
ListLogs(context.Context, *ListLogsRequest) (*ListLogsResponse, error)
|
||||||
}
|
}
|
||||||
@@ -577,7 +517,7 @@ type UnimplementedLogServiceServer struct {
|
|||||||
func (*UnimplementedLogServiceServer) CreateLog(context.Context, *CreateLogRequest) (*CreateLogResponse, error) {
|
func (*UnimplementedLogServiceServer) CreateLog(context.Context, *CreateLogRequest) (*CreateLogResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method CreateLog not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method CreateLog not implemented")
|
||||||
}
|
}
|
||||||
func (*UnimplementedLogServiceServer) CountLogs(context.Context, *CountLogRequest) (*CountLogResponse, error) {
|
func (*UnimplementedLogServiceServer) CountLogs(context.Context, *CountLogRequest) (*RPCCountResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method CountLogs not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method CountLogs not implemented")
|
||||||
}
|
}
|
||||||
func (*UnimplementedLogServiceServer) ListLogs(context.Context, *ListLogsRequest) (*ListLogsResponse, error) {
|
func (*UnimplementedLogServiceServer) ListLogs(context.Context, *ListLogsRequest) (*ListLogsResponse, error) {
|
||||||
|
|||||||
@@ -68,53 +68,6 @@ func (*CountUnreadMessagesRequest) Descriptor() ([]byte, []int) {
|
|||||||
return file_service_message_proto_rawDescGZIP(), []int{0}
|
return file_service_message_proto_rawDescGZIP(), []int{0}
|
||||||
}
|
}
|
||||||
|
|
||||||
type CountUnreadMessagesResponse struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountUnreadMessagesResponse) Reset() {
|
|
||||||
*x = CountUnreadMessagesResponse{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_service_message_proto_msgTypes[1]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountUnreadMessagesResponse) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*CountUnreadMessagesResponse) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *CountUnreadMessagesResponse) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_service_message_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 CountUnreadMessagesResponse.ProtoReflect.Descriptor instead.
|
|
||||||
func (*CountUnreadMessagesResponse) Descriptor() ([]byte, []int) {
|
|
||||||
return file_service_message_proto_rawDescGZIP(), []int{1}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountUnreadMessagesResponse) GetCount() int64 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Count
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
// 列出单页未读消息
|
// 列出单页未读消息
|
||||||
type ListUnreadMessagesRequest struct {
|
type ListUnreadMessagesRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
@@ -128,7 +81,7 @@ type ListUnreadMessagesRequest struct {
|
|||||||
func (x *ListUnreadMessagesRequest) Reset() {
|
func (x *ListUnreadMessagesRequest) Reset() {
|
||||||
*x = ListUnreadMessagesRequest{}
|
*x = ListUnreadMessagesRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_message_proto_msgTypes[2]
|
mi := &file_service_message_proto_msgTypes[1]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -141,7 +94,7 @@ func (x *ListUnreadMessagesRequest) String() string {
|
|||||||
func (*ListUnreadMessagesRequest) ProtoMessage() {}
|
func (*ListUnreadMessagesRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ListUnreadMessagesRequest) ProtoReflect() protoreflect.Message {
|
func (x *ListUnreadMessagesRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_message_proto_msgTypes[2]
|
mi := &file_service_message_proto_msgTypes[1]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -154,7 +107,7 @@ func (x *ListUnreadMessagesRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use ListUnreadMessagesRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ListUnreadMessagesRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*ListUnreadMessagesRequest) Descriptor() ([]byte, []int) {
|
func (*ListUnreadMessagesRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_message_proto_rawDescGZIP(), []int{2}
|
return file_service_message_proto_rawDescGZIP(), []int{1}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListUnreadMessagesRequest) GetOffset() int64 {
|
func (x *ListUnreadMessagesRequest) GetOffset() int64 {
|
||||||
@@ -182,7 +135,7 @@ type ListUnreadMessagesResponse struct {
|
|||||||
func (x *ListUnreadMessagesResponse) Reset() {
|
func (x *ListUnreadMessagesResponse) Reset() {
|
||||||
*x = ListUnreadMessagesResponse{}
|
*x = ListUnreadMessagesResponse{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_message_proto_msgTypes[3]
|
mi := &file_service_message_proto_msgTypes[2]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -195,7 +148,7 @@ func (x *ListUnreadMessagesResponse) String() string {
|
|||||||
func (*ListUnreadMessagesResponse) ProtoMessage() {}
|
func (*ListUnreadMessagesResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ListUnreadMessagesResponse) ProtoReflect() protoreflect.Message {
|
func (x *ListUnreadMessagesResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_message_proto_msgTypes[3]
|
mi := &file_service_message_proto_msgTypes[2]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -208,7 +161,7 @@ func (x *ListUnreadMessagesResponse) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use ListUnreadMessagesResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ListUnreadMessagesResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*ListUnreadMessagesResponse) Descriptor() ([]byte, []int) {
|
func (*ListUnreadMessagesResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_service_message_proto_rawDescGZIP(), []int{3}
|
return file_service_message_proto_rawDescGZIP(), []int{2}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListUnreadMessagesResponse) GetMessages() []*Message {
|
func (x *ListUnreadMessagesResponse) GetMessages() []*Message {
|
||||||
@@ -231,7 +184,7 @@ type UpdateMessageReadRequest struct {
|
|||||||
func (x *UpdateMessageReadRequest) Reset() {
|
func (x *UpdateMessageReadRequest) Reset() {
|
||||||
*x = UpdateMessageReadRequest{}
|
*x = UpdateMessageReadRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_message_proto_msgTypes[4]
|
mi := &file_service_message_proto_msgTypes[3]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -244,7 +197,7 @@ func (x *UpdateMessageReadRequest) String() string {
|
|||||||
func (*UpdateMessageReadRequest) ProtoMessage() {}
|
func (*UpdateMessageReadRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *UpdateMessageReadRequest) ProtoReflect() protoreflect.Message {
|
func (x *UpdateMessageReadRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_message_proto_msgTypes[4]
|
mi := &file_service_message_proto_msgTypes[3]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -257,7 +210,7 @@ func (x *UpdateMessageReadRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use UpdateMessageReadRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use UpdateMessageReadRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*UpdateMessageReadRequest) Descriptor() ([]byte, []int) {
|
func (*UpdateMessageReadRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_message_proto_rawDescGZIP(), []int{4}
|
return file_service_message_proto_rawDescGZIP(), []int{3}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UpdateMessageReadRequest) GetMessageId() int64 {
|
func (x *UpdateMessageReadRequest) GetMessageId() int64 {
|
||||||
@@ -287,7 +240,7 @@ type UpdateMessagesReadRequest struct {
|
|||||||
func (x *UpdateMessagesReadRequest) Reset() {
|
func (x *UpdateMessagesReadRequest) Reset() {
|
||||||
*x = UpdateMessagesReadRequest{}
|
*x = UpdateMessagesReadRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_message_proto_msgTypes[5]
|
mi := &file_service_message_proto_msgTypes[4]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -300,7 +253,7 @@ func (x *UpdateMessagesReadRequest) String() string {
|
|||||||
func (*UpdateMessagesReadRequest) ProtoMessage() {}
|
func (*UpdateMessagesReadRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *UpdateMessagesReadRequest) ProtoReflect() protoreflect.Message {
|
func (x *UpdateMessagesReadRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_message_proto_msgTypes[5]
|
mi := &file_service_message_proto_msgTypes[4]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -313,7 +266,7 @@ func (x *UpdateMessagesReadRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use UpdateMessagesReadRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use UpdateMessagesReadRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*UpdateMessagesReadRequest) Descriptor() ([]byte, []int) {
|
func (*UpdateMessagesReadRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_message_proto_rawDescGZIP(), []int{5}
|
return file_service_message_proto_rawDescGZIP(), []int{4}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UpdateMessagesReadRequest) GetMessageIds() []int64 {
|
func (x *UpdateMessagesReadRequest) GetMessageIds() []int64 {
|
||||||
@@ -340,7 +293,7 @@ type UpdateAllMessagesReadRequest struct {
|
|||||||
func (x *UpdateAllMessagesReadRequest) Reset() {
|
func (x *UpdateAllMessagesReadRequest) Reset() {
|
||||||
*x = UpdateAllMessagesReadRequest{}
|
*x = UpdateAllMessagesReadRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_message_proto_msgTypes[6]
|
mi := &file_service_message_proto_msgTypes[5]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -353,7 +306,7 @@ func (x *UpdateAllMessagesReadRequest) String() string {
|
|||||||
func (*UpdateAllMessagesReadRequest) ProtoMessage() {}
|
func (*UpdateAllMessagesReadRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *UpdateAllMessagesReadRequest) ProtoReflect() protoreflect.Message {
|
func (x *UpdateAllMessagesReadRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_message_proto_msgTypes[6]
|
mi := &file_service_message_proto_msgTypes[5]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -366,7 +319,7 @@ func (x *UpdateAllMessagesReadRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use UpdateAllMessagesReadRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use UpdateAllMessagesReadRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*UpdateAllMessagesReadRequest) Descriptor() ([]byte, []int) {
|
func (*UpdateAllMessagesReadRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_message_proto_rawDescGZIP(), []int{6}
|
return file_service_message_proto_rawDescGZIP(), []int{5}
|
||||||
}
|
}
|
||||||
|
|
||||||
var File_service_message_proto protoreflect.FileDescriptor
|
var File_service_message_proto protoreflect.FileDescriptor
|
||||||
@@ -378,38 +331,34 @@ var file_service_message_proto_rawDesc = []byte{
|
|||||||
0x1a, 0x12, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70,
|
0x1a, 0x12, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70,
|
||||||
0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1c, 0x0a, 0x1a, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x6e, 0x72,
|
0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1c, 0x0a, 0x1a, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x6e, 0x72,
|
||||||
0x65, 0x61, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
0x65, 0x61, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||||
0x73, 0x74, 0x22, 0x33, 0x0a, 0x1b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61,
|
0x73, 0x74, 0x22, 0x47, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64,
|
||||||
0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||||
0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||||
0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x47, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x55,
|
0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18,
|
||||||
0x6e, 0x72, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71,
|
0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x45, 0x0a, 0x1a, 0x4c,
|
||||||
0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01,
|
0x69, 0x73, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
||||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04,
|
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x08, 0x6d, 0x65, 0x73,
|
||||||
0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65,
|
0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62,
|
||||||
0x22, 0x45, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x4d, 0x65,
|
0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
||||||
0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27,
|
0x65, 0x73, 0x22, 0x50, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73,
|
||||||
0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
|
0x61, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c,
|
||||||
0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x08, 0x6d,
|
0x0a, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||||
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, 0x50, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74,
|
0x03, 0x52, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06,
|
||||||
0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75,
|
0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73,
|
||||||
0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64,
|
0x52, 0x65, 0x61, 0x64, 0x22, 0x53, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65,
|
||||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49,
|
0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||||
0x64, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
|
0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x73, 0x18,
|
||||||
0x08, 0x52, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x22, 0x53, 0x0a, 0x19, 0x55, 0x70, 0x64,
|
0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64,
|
||||||
0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x61, 0x64, 0x52,
|
0x73, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
0x08, 0x52, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x22, 0x1e, 0x0a, 0x1c, 0x55, 0x70, 0x64,
|
||||||
0x65, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0a, 0x6d, 0x65, 0x73, 0x73,
|
0x61, 0x74, 0x65, 0x41, 0x6c, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65,
|
||||||
0x61, 0x67, 0x65, 0x49, 0x64, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64,
|
0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x32, 0x97, 0x03, 0x0a, 0x0e, 0x4d, 0x65,
|
||||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x22, 0x1e,
|
0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4b, 0x0a, 0x13,
|
||||||
0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61,
|
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61,
|
||||||
0x67, 0x65, 0x73, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x32, 0xa2,
|
0x67, 0x65, 0x73, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x6e,
|
||||||
0x03, 0x0a, 0x0e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
|
0x72, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
|
||||||
0x65, 0x12, 0x56, 0x0a, 0x13, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64,
|
0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e,
|
||||||
0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f,
|
0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x12, 0x6c, 0x69, 0x73,
|
||||||
0x75, 0x6e, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
||||||
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f,
|
|
||||||
0x75, 0x6e, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
||||||
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x12, 0x6c, 0x69, 0x73,
|
|
||||||
0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12,
|
0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12,
|
||||||
0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x4d,
|
0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x4d,
|
||||||
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e,
|
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e,
|
||||||
@@ -445,27 +394,27 @@ func file_service_message_proto_rawDescGZIP() []byte {
|
|||||||
return file_service_message_proto_rawDescData
|
return file_service_message_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_service_message_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
|
var file_service_message_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
||||||
var file_service_message_proto_goTypes = []interface{}{
|
var file_service_message_proto_goTypes = []interface{}{
|
||||||
(*CountUnreadMessagesRequest)(nil), // 0: pb.CountUnreadMessagesRequest
|
(*CountUnreadMessagesRequest)(nil), // 0: pb.CountUnreadMessagesRequest
|
||||||
(*CountUnreadMessagesResponse)(nil), // 1: pb.CountUnreadMessagesResponse
|
(*ListUnreadMessagesRequest)(nil), // 1: pb.ListUnreadMessagesRequest
|
||||||
(*ListUnreadMessagesRequest)(nil), // 2: pb.ListUnreadMessagesRequest
|
(*ListUnreadMessagesResponse)(nil), // 2: pb.ListUnreadMessagesResponse
|
||||||
(*ListUnreadMessagesResponse)(nil), // 3: pb.ListUnreadMessagesResponse
|
(*UpdateMessageReadRequest)(nil), // 3: pb.UpdateMessageReadRequest
|
||||||
(*UpdateMessageReadRequest)(nil), // 4: pb.UpdateMessageReadRequest
|
(*UpdateMessagesReadRequest)(nil), // 4: pb.UpdateMessagesReadRequest
|
||||||
(*UpdateMessagesReadRequest)(nil), // 5: pb.UpdateMessagesReadRequest
|
(*UpdateAllMessagesReadRequest)(nil), // 5: pb.UpdateAllMessagesReadRequest
|
||||||
(*UpdateAllMessagesReadRequest)(nil), // 6: pb.UpdateAllMessagesReadRequest
|
(*Message)(nil), // 6: pb.Message
|
||||||
(*Message)(nil), // 7: pb.Message
|
(*RPCCountResponse)(nil), // 7: pb.RPCCountResponse
|
||||||
(*RPCUpdateSuccess)(nil), // 8: pb.RPCUpdateSuccess
|
(*RPCUpdateSuccess)(nil), // 8: pb.RPCUpdateSuccess
|
||||||
}
|
}
|
||||||
var file_service_message_proto_depIdxs = []int32{
|
var file_service_message_proto_depIdxs = []int32{
|
||||||
7, // 0: pb.ListUnreadMessagesResponse.messages:type_name -> pb.Message
|
6, // 0: pb.ListUnreadMessagesResponse.messages:type_name -> pb.Message
|
||||||
0, // 1: pb.MessageService.countUnreadMessages:input_type -> pb.CountUnreadMessagesRequest
|
0, // 1: pb.MessageService.countUnreadMessages:input_type -> pb.CountUnreadMessagesRequest
|
||||||
2, // 2: pb.MessageService.listUnreadMessages:input_type -> pb.ListUnreadMessagesRequest
|
1, // 2: pb.MessageService.listUnreadMessages:input_type -> pb.ListUnreadMessagesRequest
|
||||||
4, // 3: pb.MessageService.updateMessageRead:input_type -> pb.UpdateMessageReadRequest
|
3, // 3: pb.MessageService.updateMessageRead:input_type -> pb.UpdateMessageReadRequest
|
||||||
5, // 4: pb.MessageService.updateMessagesRead:input_type -> pb.UpdateMessagesReadRequest
|
4, // 4: pb.MessageService.updateMessagesRead:input_type -> pb.UpdateMessagesReadRequest
|
||||||
6, // 5: pb.MessageService.updateAllMessagesRead:input_type -> pb.UpdateAllMessagesReadRequest
|
5, // 5: pb.MessageService.updateAllMessagesRead:input_type -> pb.UpdateAllMessagesReadRequest
|
||||||
1, // 6: pb.MessageService.countUnreadMessages:output_type -> pb.CountUnreadMessagesResponse
|
7, // 6: pb.MessageService.countUnreadMessages:output_type -> pb.RPCCountResponse
|
||||||
3, // 7: pb.MessageService.listUnreadMessages:output_type -> pb.ListUnreadMessagesResponse
|
2, // 7: pb.MessageService.listUnreadMessages:output_type -> pb.ListUnreadMessagesResponse
|
||||||
8, // 8: pb.MessageService.updateMessageRead:output_type -> pb.RPCUpdateSuccess
|
8, // 8: pb.MessageService.updateMessageRead:output_type -> pb.RPCUpdateSuccess
|
||||||
8, // 9: pb.MessageService.updateMessagesRead:output_type -> pb.RPCUpdateSuccess
|
8, // 9: pb.MessageService.updateMessagesRead:output_type -> pb.RPCUpdateSuccess
|
||||||
8, // 10: pb.MessageService.updateAllMessagesRead:output_type -> pb.RPCUpdateSuccess
|
8, // 10: pb.MessageService.updateAllMessagesRead:output_type -> pb.RPCUpdateSuccess
|
||||||
@@ -497,18 +446,6 @@ func file_service_message_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
file_service_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*CountUnreadMessagesResponse); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_service_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*ListUnreadMessagesRequest); i {
|
switch v := v.(*ListUnreadMessagesRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -520,7 +457,7 @@ func file_service_message_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
file_service_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ListUnreadMessagesResponse); i {
|
switch v := v.(*ListUnreadMessagesResponse); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -532,7 +469,7 @@ func file_service_message_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
file_service_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*UpdateMessageReadRequest); i {
|
switch v := v.(*UpdateMessageReadRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -544,7 +481,7 @@ func file_service_message_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_message_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
file_service_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*UpdateMessagesReadRequest); i {
|
switch v := v.(*UpdateMessagesReadRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -556,7 +493,7 @@ func file_service_message_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_message_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
file_service_message_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*UpdateAllMessagesReadRequest); i {
|
switch v := v.(*UpdateAllMessagesReadRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -575,7 +512,7 @@ func file_service_message_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_service_message_proto_rawDesc,
|
RawDescriptor: file_service_message_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 0,
|
||||||
NumMessages: 7,
|
NumMessages: 6,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 1,
|
NumServices: 1,
|
||||||
},
|
},
|
||||||
@@ -602,7 +539,7 @@ const _ = grpc.SupportPackageIsVersion6
|
|||||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||||
type MessageServiceClient interface {
|
type MessageServiceClient interface {
|
||||||
// 计算未读消息数
|
// 计算未读消息数
|
||||||
CountUnreadMessages(ctx context.Context, in *CountUnreadMessagesRequest, opts ...grpc.CallOption) (*CountUnreadMessagesResponse, error)
|
CountUnreadMessages(ctx context.Context, in *CountUnreadMessagesRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
|
||||||
// 列出单页未读消息
|
// 列出单页未读消息
|
||||||
ListUnreadMessages(ctx context.Context, in *ListUnreadMessagesRequest, opts ...grpc.CallOption) (*ListUnreadMessagesResponse, error)
|
ListUnreadMessages(ctx context.Context, in *ListUnreadMessagesRequest, opts ...grpc.CallOption) (*ListUnreadMessagesResponse, error)
|
||||||
// 设置消息已读状态
|
// 设置消息已读状态
|
||||||
@@ -621,8 +558,8 @@ func NewMessageServiceClient(cc grpc.ClientConnInterface) MessageServiceClient {
|
|||||||
return &messageServiceClient{cc}
|
return &messageServiceClient{cc}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *messageServiceClient) CountUnreadMessages(ctx context.Context, in *CountUnreadMessagesRequest, opts ...grpc.CallOption) (*CountUnreadMessagesResponse, error) {
|
func (c *messageServiceClient) CountUnreadMessages(ctx context.Context, in *CountUnreadMessagesRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
|
||||||
out := new(CountUnreadMessagesResponse)
|
out := new(RPCCountResponse)
|
||||||
err := c.cc.Invoke(ctx, "/pb.MessageService/countUnreadMessages", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/pb.MessageService/countUnreadMessages", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
@@ -669,7 +606,7 @@ func (c *messageServiceClient) UpdateAllMessagesRead(ctx context.Context, in *Up
|
|||||||
// MessageServiceServer is the server API for MessageService service.
|
// MessageServiceServer is the server API for MessageService service.
|
||||||
type MessageServiceServer interface {
|
type MessageServiceServer interface {
|
||||||
// 计算未读消息数
|
// 计算未读消息数
|
||||||
CountUnreadMessages(context.Context, *CountUnreadMessagesRequest) (*CountUnreadMessagesResponse, error)
|
CountUnreadMessages(context.Context, *CountUnreadMessagesRequest) (*RPCCountResponse, error)
|
||||||
// 列出单页未读消息
|
// 列出单页未读消息
|
||||||
ListUnreadMessages(context.Context, *ListUnreadMessagesRequest) (*ListUnreadMessagesResponse, error)
|
ListUnreadMessages(context.Context, *ListUnreadMessagesRequest) (*ListUnreadMessagesResponse, error)
|
||||||
// 设置消息已读状态
|
// 设置消息已读状态
|
||||||
@@ -684,7 +621,7 @@ type MessageServiceServer interface {
|
|||||||
type UnimplementedMessageServiceServer struct {
|
type UnimplementedMessageServiceServer struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (*UnimplementedMessageServiceServer) CountUnreadMessages(context.Context, *CountUnreadMessagesRequest) (*CountUnreadMessagesResponse, error) {
|
func (*UnimplementedMessageServiceServer) CountUnreadMessages(context.Context, *CountUnreadMessagesRequest) (*RPCCountResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method CountUnreadMessages not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method CountUnreadMessages not implemented")
|
||||||
}
|
}
|
||||||
func (*UnimplementedMessageServiceServer) ListUnreadMessages(context.Context, *ListUnreadMessagesRequest) (*ListUnreadMessagesResponse, error) {
|
func (*UnimplementedMessageServiceServer) ListUnreadMessages(context.Context, *ListUnreadMessagesRequest) (*ListUnreadMessagesResponse, error) {
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -401,53 +401,6 @@ func (*CountAllEnabledNodeGrantsRequest) Descriptor() ([]byte, []int) {
|
|||||||
return file_service_node_grant_proto_rawDescGZIP(), []int{5}
|
return file_service_node_grant_proto_rawDescGZIP(), []int{5}
|
||||||
}
|
}
|
||||||
|
|
||||||
type CountAllEnabledNodeGrantsResponse struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountAllEnabledNodeGrantsResponse) Reset() {
|
|
||||||
*x = CountAllEnabledNodeGrantsResponse{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_service_node_grant_proto_msgTypes[6]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountAllEnabledNodeGrantsResponse) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*CountAllEnabledNodeGrantsResponse) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *CountAllEnabledNodeGrantsResponse) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_service_node_grant_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 CountAllEnabledNodeGrantsResponse.ProtoReflect.Descriptor instead.
|
|
||||||
func (*CountAllEnabledNodeGrantsResponse) Descriptor() ([]byte, []int) {
|
|
||||||
return file_service_node_grant_proto_rawDescGZIP(), []int{6}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountAllEnabledNodeGrantsResponse) GetCount() int64 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Count
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
// 列出单页认证
|
// 列出单页认证
|
||||||
type ListEnabledNodeGrantsRequest struct {
|
type ListEnabledNodeGrantsRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
@@ -461,7 +414,7 @@ type ListEnabledNodeGrantsRequest struct {
|
|||||||
func (x *ListEnabledNodeGrantsRequest) Reset() {
|
func (x *ListEnabledNodeGrantsRequest) Reset() {
|
||||||
*x = ListEnabledNodeGrantsRequest{}
|
*x = ListEnabledNodeGrantsRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_node_grant_proto_msgTypes[7]
|
mi := &file_service_node_grant_proto_msgTypes[6]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -474,7 +427,7 @@ func (x *ListEnabledNodeGrantsRequest) String() string {
|
|||||||
func (*ListEnabledNodeGrantsRequest) ProtoMessage() {}
|
func (*ListEnabledNodeGrantsRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ListEnabledNodeGrantsRequest) ProtoReflect() protoreflect.Message {
|
func (x *ListEnabledNodeGrantsRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_node_grant_proto_msgTypes[7]
|
mi := &file_service_node_grant_proto_msgTypes[6]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -487,7 +440,7 @@ func (x *ListEnabledNodeGrantsRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use ListEnabledNodeGrantsRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ListEnabledNodeGrantsRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*ListEnabledNodeGrantsRequest) Descriptor() ([]byte, []int) {
|
func (*ListEnabledNodeGrantsRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_node_grant_proto_rawDescGZIP(), []int{7}
|
return file_service_node_grant_proto_rawDescGZIP(), []int{6}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListEnabledNodeGrantsRequest) GetOffset() int64 {
|
func (x *ListEnabledNodeGrantsRequest) GetOffset() int64 {
|
||||||
@@ -515,7 +468,7 @@ type ListEnabledNodeGrantsResponse struct {
|
|||||||
func (x *ListEnabledNodeGrantsResponse) Reset() {
|
func (x *ListEnabledNodeGrantsResponse) Reset() {
|
||||||
*x = ListEnabledNodeGrantsResponse{}
|
*x = ListEnabledNodeGrantsResponse{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_node_grant_proto_msgTypes[8]
|
mi := &file_service_node_grant_proto_msgTypes[7]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -528,7 +481,7 @@ func (x *ListEnabledNodeGrantsResponse) String() string {
|
|||||||
func (*ListEnabledNodeGrantsResponse) ProtoMessage() {}
|
func (*ListEnabledNodeGrantsResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ListEnabledNodeGrantsResponse) ProtoReflect() protoreflect.Message {
|
func (x *ListEnabledNodeGrantsResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_node_grant_proto_msgTypes[8]
|
mi := &file_service_node_grant_proto_msgTypes[7]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -541,7 +494,7 @@ func (x *ListEnabledNodeGrantsResponse) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use ListEnabledNodeGrantsResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ListEnabledNodeGrantsResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*ListEnabledNodeGrantsResponse) Descriptor() ([]byte, []int) {
|
func (*ListEnabledNodeGrantsResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_service_node_grant_proto_rawDescGZIP(), []int{8}
|
return file_service_node_grant_proto_rawDescGZIP(), []int{7}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListEnabledNodeGrantsResponse) GetGrants() []*NodeGrant {
|
func (x *ListEnabledNodeGrantsResponse) GetGrants() []*NodeGrant {
|
||||||
@@ -561,7 +514,7 @@ type FindAllEnabledNodeGrantsRequest struct {
|
|||||||
func (x *FindAllEnabledNodeGrantsRequest) Reset() {
|
func (x *FindAllEnabledNodeGrantsRequest) Reset() {
|
||||||
*x = FindAllEnabledNodeGrantsRequest{}
|
*x = FindAllEnabledNodeGrantsRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_node_grant_proto_msgTypes[9]
|
mi := &file_service_node_grant_proto_msgTypes[8]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -574,7 +527,7 @@ func (x *FindAllEnabledNodeGrantsRequest) String() string {
|
|||||||
func (*FindAllEnabledNodeGrantsRequest) ProtoMessage() {}
|
func (*FindAllEnabledNodeGrantsRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *FindAllEnabledNodeGrantsRequest) ProtoReflect() protoreflect.Message {
|
func (x *FindAllEnabledNodeGrantsRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_node_grant_proto_msgTypes[9]
|
mi := &file_service_node_grant_proto_msgTypes[8]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -587,7 +540,7 @@ func (x *FindAllEnabledNodeGrantsRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use FindAllEnabledNodeGrantsRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use FindAllEnabledNodeGrantsRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*FindAllEnabledNodeGrantsRequest) Descriptor() ([]byte, []int) {
|
func (*FindAllEnabledNodeGrantsRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_node_grant_proto_rawDescGZIP(), []int{9}
|
return file_service_node_grant_proto_rawDescGZIP(), []int{8}
|
||||||
}
|
}
|
||||||
|
|
||||||
type FindAllEnabledNodeGrantsResponse struct {
|
type FindAllEnabledNodeGrantsResponse struct {
|
||||||
@@ -601,7 +554,7 @@ type FindAllEnabledNodeGrantsResponse struct {
|
|||||||
func (x *FindAllEnabledNodeGrantsResponse) Reset() {
|
func (x *FindAllEnabledNodeGrantsResponse) Reset() {
|
||||||
*x = FindAllEnabledNodeGrantsResponse{}
|
*x = FindAllEnabledNodeGrantsResponse{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_node_grant_proto_msgTypes[10]
|
mi := &file_service_node_grant_proto_msgTypes[9]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -614,7 +567,7 @@ func (x *FindAllEnabledNodeGrantsResponse) String() string {
|
|||||||
func (*FindAllEnabledNodeGrantsResponse) ProtoMessage() {}
|
func (*FindAllEnabledNodeGrantsResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *FindAllEnabledNodeGrantsResponse) ProtoReflect() protoreflect.Message {
|
func (x *FindAllEnabledNodeGrantsResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_node_grant_proto_msgTypes[10]
|
mi := &file_service_node_grant_proto_msgTypes[9]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -627,7 +580,7 @@ func (x *FindAllEnabledNodeGrantsResponse) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use FindAllEnabledNodeGrantsResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use FindAllEnabledNodeGrantsResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*FindAllEnabledNodeGrantsResponse) Descriptor() ([]byte, []int) {
|
func (*FindAllEnabledNodeGrantsResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_service_node_grant_proto_rawDescGZIP(), []int{10}
|
return file_service_node_grant_proto_rawDescGZIP(), []int{9}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FindAllEnabledNodeGrantsResponse) GetGrants() []*NodeGrant {
|
func (x *FindAllEnabledNodeGrantsResponse) GetGrants() []*NodeGrant {
|
||||||
@@ -649,7 +602,7 @@ type FindEnabledGrantRequest struct {
|
|||||||
func (x *FindEnabledGrantRequest) Reset() {
|
func (x *FindEnabledGrantRequest) Reset() {
|
||||||
*x = FindEnabledGrantRequest{}
|
*x = FindEnabledGrantRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_node_grant_proto_msgTypes[11]
|
mi := &file_service_node_grant_proto_msgTypes[10]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -662,7 +615,7 @@ func (x *FindEnabledGrantRequest) String() string {
|
|||||||
func (*FindEnabledGrantRequest) ProtoMessage() {}
|
func (*FindEnabledGrantRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *FindEnabledGrantRequest) ProtoReflect() protoreflect.Message {
|
func (x *FindEnabledGrantRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_node_grant_proto_msgTypes[11]
|
mi := &file_service_node_grant_proto_msgTypes[10]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -675,7 +628,7 @@ func (x *FindEnabledGrantRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use FindEnabledGrantRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use FindEnabledGrantRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*FindEnabledGrantRequest) Descriptor() ([]byte, []int) {
|
func (*FindEnabledGrantRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_node_grant_proto_rawDescGZIP(), []int{11}
|
return file_service_node_grant_proto_rawDescGZIP(), []int{10}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FindEnabledGrantRequest) GetGrantId() int64 {
|
func (x *FindEnabledGrantRequest) GetGrantId() int64 {
|
||||||
@@ -696,7 +649,7 @@ type FindEnabledGrantResponse struct {
|
|||||||
func (x *FindEnabledGrantResponse) Reset() {
|
func (x *FindEnabledGrantResponse) Reset() {
|
||||||
*x = FindEnabledGrantResponse{}
|
*x = FindEnabledGrantResponse{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_node_grant_proto_msgTypes[12]
|
mi := &file_service_node_grant_proto_msgTypes[11]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -709,7 +662,7 @@ func (x *FindEnabledGrantResponse) String() string {
|
|||||||
func (*FindEnabledGrantResponse) ProtoMessage() {}
|
func (*FindEnabledGrantResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *FindEnabledGrantResponse) ProtoReflect() protoreflect.Message {
|
func (x *FindEnabledGrantResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_node_grant_proto_msgTypes[12]
|
mi := &file_service_node_grant_proto_msgTypes[11]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -722,7 +675,7 @@ func (x *FindEnabledGrantResponse) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use FindEnabledGrantResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use FindEnabledGrantResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*FindEnabledGrantResponse) Descriptor() ([]byte, []int) {
|
func (*FindEnabledGrantResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_service_node_grant_proto_rawDescGZIP(), []int{12}
|
return file_service_node_grant_proto_rawDescGZIP(), []int{11}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FindEnabledGrantResponse) GetGrant() *NodeGrant {
|
func (x *FindEnabledGrantResponse) GetGrant() *NodeGrant {
|
||||||
@@ -779,74 +732,69 @@ var file_service_node_grant_proto_rawDesc = []byte{
|
|||||||
0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0x0a, 0x20,
|
0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0x0a, 0x20,
|
||||||
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e,
|
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e,
|
||||||
0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||||
0x22, 0x39, 0x0a, 0x21, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62,
|
0x22, 0x4a, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e,
|
||||||
0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73,
|
0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01,
|
0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
||||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x4a, 0x0a, 0x1c, 0x4c,
|
0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65,
|
||||||
0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72,
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x46, 0x0a, 0x1d,
|
||||||
0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f,
|
0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47,
|
||||||
0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66,
|
0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a,
|
||||||
0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
0x06, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e,
|
||||||
0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x46, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x45,
|
0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x06, 0x67, 0x72,
|
||||||
|
0x61, 0x6e, 0x74, 0x73, 0x22, 0x21, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45,
|
||||||
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73,
|
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73,
|
||||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x06, 0x67, 0x72, 0x61, 0x6e,
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x49, 0x0a, 0x20, 0x46, 0x69, 0x6e, 0x64, 0x41,
|
||||||
0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f,
|
0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61,
|
||||||
0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x06, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x22,
|
0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x06, 0x67,
|
||||||
0x21, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
0x72, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62,
|
||||||
0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x06, 0x67, 0x72, 0x61, 0x6e,
|
||||||
0x73, 0x74, 0x22, 0x49, 0x0a, 0x20, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61,
|
0x74, 0x73, 0x22, 0x33, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
||||||
0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65,
|
0x64, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a,
|
||||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x06, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73,
|
0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07,
|
||||||
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65,
|
0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x3f, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x45,
|
||||||
0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x06, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x22, 0x33, 0x0a,
|
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||||
0x17, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x72, 0x61, 0x6e,
|
0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
|
||||||
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e,
|
0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e,
|
||||||
0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74,
|
0x74, 0x52, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x32, 0xdf, 0x04, 0x0a, 0x10, 0x4e, 0x6f, 0x64,
|
||||||
0x49, 0x64, 0x22, 0x3f, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4a, 0x0a,
|
||||||
0x64, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23,
|
0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74,
|
||||||
0x0a, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e,
|
0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65,
|
||||||
0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x05, 0x67, 0x72,
|
0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70,
|
||||||
0x61, 0x6e, 0x74, 0x32, 0xf0, 0x04, 0x0a, 0x10, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e,
|
0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e,
|
||||||
0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4a, 0x0a, 0x0f, 0x63, 0x72, 0x65, 0x61,
|
0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0f, 0x75, 0x70, 0x64,
|
||||||
0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x62,
|
0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x1a, 0x2e, 0x70,
|
||||||
0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74,
|
0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e,
|
||||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65,
|
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50,
|
||||||
0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70,
|
0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x4d,
|
||||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f,
|
0x0a, 0x10, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61,
|
||||||
0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64,
|
0x6e, 0x74, 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e,
|
||||||
0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75,
|
0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||||
0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61,
|
0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65,
|
||||||
0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x4d, 0x0a, 0x10, 0x64, 0x69, 0x73,
|
0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a,
|
||||||
0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x1b, 0x2e,
|
0x19, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
||||||
0x70, 0x62, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72,
|
0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e,
|
||||||
0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x62, 0x2e,
|
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e,
|
||||||
0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74,
|
0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x19, 0x63, 0x6f, 0x75, 0x6e,
|
0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65,
|
||||||
0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47,
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e,
|
||||||
0x72, 0x61, 0x6e, 0x74, 0x73, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74,
|
0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x12,
|
||||||
0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72,
|
0x20, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
||||||
0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x62,
|
|
||||||
0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
|
||||||
0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
||||||
0x73, 0x65, 0x12, 0x5c, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
|
||||||
0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x12, 0x20, 0x2e, 0x70, 0x62,
|
|
||||||
0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65,
|
|
||||||
0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e,
|
|
||||||
0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f,
|
|
||||||
0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
||||||
0x12, 0x65, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
|
||||||
0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x12, 0x23, 0x2e, 0x70,
|
|
||||||
0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
|
||||||
0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||||
0x74, 0x1a, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e,
|
0x74, 0x1a, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
||||||
0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52,
|
0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70,
|
||||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x10, 0x46, 0x69, 0x6e, 0x64, 0x45,
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45,
|
||||||
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x1b, 0x2e, 0x70, 0x62,
|
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73,
|
||||||
0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x72, 0x61, 0x6e,
|
0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61,
|
||||||
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69,
|
0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65,
|
||||||
0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65,
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41,
|
||||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06,
|
0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61,
|
||||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x10, 0x46,
|
||||||
|
0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12,
|
||||||
|
0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
||||||
|
0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70,
|
||||||
|
0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x72, 0x61,
|
||||||
|
0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f,
|
||||||
|
0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@@ -861,7 +809,7 @@ func file_service_node_grant_proto_rawDescGZIP() []byte {
|
|||||||
return file_service_node_grant_proto_rawDescData
|
return file_service_node_grant_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_service_node_grant_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
var file_service_node_grant_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
||||||
var file_service_node_grant_proto_goTypes = []interface{}{
|
var file_service_node_grant_proto_goTypes = []interface{}{
|
||||||
(*CreateNodeGrantRequest)(nil), // 0: pb.CreateNodeGrantRequest
|
(*CreateNodeGrantRequest)(nil), // 0: pb.CreateNodeGrantRequest
|
||||||
(*CreateNodeGrantResponse)(nil), // 1: pb.CreateNodeGrantResponse
|
(*CreateNodeGrantResponse)(nil), // 1: pb.CreateNodeGrantResponse
|
||||||
@@ -869,34 +817,34 @@ var file_service_node_grant_proto_goTypes = []interface{}{
|
|||||||
(*DisableNodeGrantRequest)(nil), // 3: pb.DisableNodeGrantRequest
|
(*DisableNodeGrantRequest)(nil), // 3: pb.DisableNodeGrantRequest
|
||||||
(*DisableNodeGrantResponse)(nil), // 4: pb.DisableNodeGrantResponse
|
(*DisableNodeGrantResponse)(nil), // 4: pb.DisableNodeGrantResponse
|
||||||
(*CountAllEnabledNodeGrantsRequest)(nil), // 5: pb.CountAllEnabledNodeGrantsRequest
|
(*CountAllEnabledNodeGrantsRequest)(nil), // 5: pb.CountAllEnabledNodeGrantsRequest
|
||||||
(*CountAllEnabledNodeGrantsResponse)(nil), // 6: pb.CountAllEnabledNodeGrantsResponse
|
(*ListEnabledNodeGrantsRequest)(nil), // 6: pb.ListEnabledNodeGrantsRequest
|
||||||
(*ListEnabledNodeGrantsRequest)(nil), // 7: pb.ListEnabledNodeGrantsRequest
|
(*ListEnabledNodeGrantsResponse)(nil), // 7: pb.ListEnabledNodeGrantsResponse
|
||||||
(*ListEnabledNodeGrantsResponse)(nil), // 8: pb.ListEnabledNodeGrantsResponse
|
(*FindAllEnabledNodeGrantsRequest)(nil), // 8: pb.FindAllEnabledNodeGrantsRequest
|
||||||
(*FindAllEnabledNodeGrantsRequest)(nil), // 9: pb.FindAllEnabledNodeGrantsRequest
|
(*FindAllEnabledNodeGrantsResponse)(nil), // 9: pb.FindAllEnabledNodeGrantsResponse
|
||||||
(*FindAllEnabledNodeGrantsResponse)(nil), // 10: pb.FindAllEnabledNodeGrantsResponse
|
(*FindEnabledGrantRequest)(nil), // 10: pb.FindEnabledGrantRequest
|
||||||
(*FindEnabledGrantRequest)(nil), // 11: pb.FindEnabledGrantRequest
|
(*FindEnabledGrantResponse)(nil), // 11: pb.FindEnabledGrantResponse
|
||||||
(*FindEnabledGrantResponse)(nil), // 12: pb.FindEnabledGrantResponse
|
(*NodeGrant)(nil), // 12: pb.NodeGrant
|
||||||
(*NodeGrant)(nil), // 13: pb.NodeGrant
|
(*RPCUpdateSuccess)(nil), // 13: pb.RPCUpdateSuccess
|
||||||
(*RPCUpdateSuccess)(nil), // 14: pb.RPCUpdateSuccess
|
(*RPCCountResponse)(nil), // 14: pb.RPCCountResponse
|
||||||
}
|
}
|
||||||
var file_service_node_grant_proto_depIdxs = []int32{
|
var file_service_node_grant_proto_depIdxs = []int32{
|
||||||
13, // 0: pb.ListEnabledNodeGrantsResponse.grants:type_name -> pb.NodeGrant
|
12, // 0: pb.ListEnabledNodeGrantsResponse.grants:type_name -> pb.NodeGrant
|
||||||
13, // 1: pb.FindAllEnabledNodeGrantsResponse.grants:type_name -> pb.NodeGrant
|
12, // 1: pb.FindAllEnabledNodeGrantsResponse.grants:type_name -> pb.NodeGrant
|
||||||
13, // 2: pb.FindEnabledGrantResponse.grant:type_name -> pb.NodeGrant
|
12, // 2: pb.FindEnabledGrantResponse.grant:type_name -> pb.NodeGrant
|
||||||
0, // 3: pb.NodeGrantService.createNodeGrant:input_type -> pb.CreateNodeGrantRequest
|
0, // 3: pb.NodeGrantService.createNodeGrant:input_type -> pb.CreateNodeGrantRequest
|
||||||
2, // 4: pb.NodeGrantService.updateNodeGrant:input_type -> pb.UpdateNodeGrantRequest
|
2, // 4: pb.NodeGrantService.updateNodeGrant:input_type -> pb.UpdateNodeGrantRequest
|
||||||
3, // 5: pb.NodeGrantService.disableNodeGrant:input_type -> pb.DisableNodeGrantRequest
|
3, // 5: pb.NodeGrantService.disableNodeGrant:input_type -> pb.DisableNodeGrantRequest
|
||||||
5, // 6: pb.NodeGrantService.countAllEnabledNodeGrants:input_type -> pb.CountAllEnabledNodeGrantsRequest
|
5, // 6: pb.NodeGrantService.countAllEnabledNodeGrants:input_type -> pb.CountAllEnabledNodeGrantsRequest
|
||||||
7, // 7: pb.NodeGrantService.ListEnabledNodeGrants:input_type -> pb.ListEnabledNodeGrantsRequest
|
6, // 7: pb.NodeGrantService.ListEnabledNodeGrants:input_type -> pb.ListEnabledNodeGrantsRequest
|
||||||
9, // 8: pb.NodeGrantService.FindAllEnabledNodeGrants:input_type -> pb.FindAllEnabledNodeGrantsRequest
|
8, // 8: pb.NodeGrantService.FindAllEnabledNodeGrants:input_type -> pb.FindAllEnabledNodeGrantsRequest
|
||||||
11, // 9: pb.NodeGrantService.FindEnabledGrant:input_type -> pb.FindEnabledGrantRequest
|
10, // 9: pb.NodeGrantService.FindEnabledGrant:input_type -> pb.FindEnabledGrantRequest
|
||||||
1, // 10: pb.NodeGrantService.createNodeGrant:output_type -> pb.CreateNodeGrantResponse
|
1, // 10: pb.NodeGrantService.createNodeGrant:output_type -> pb.CreateNodeGrantResponse
|
||||||
14, // 11: pb.NodeGrantService.updateNodeGrant:output_type -> pb.RPCUpdateSuccess
|
13, // 11: pb.NodeGrantService.updateNodeGrant:output_type -> pb.RPCUpdateSuccess
|
||||||
4, // 12: pb.NodeGrantService.disableNodeGrant:output_type -> pb.DisableNodeGrantResponse
|
4, // 12: pb.NodeGrantService.disableNodeGrant:output_type -> pb.DisableNodeGrantResponse
|
||||||
6, // 13: pb.NodeGrantService.countAllEnabledNodeGrants:output_type -> pb.CountAllEnabledNodeGrantsResponse
|
14, // 13: pb.NodeGrantService.countAllEnabledNodeGrants:output_type -> pb.RPCCountResponse
|
||||||
8, // 14: pb.NodeGrantService.ListEnabledNodeGrants:output_type -> pb.ListEnabledNodeGrantsResponse
|
7, // 14: pb.NodeGrantService.ListEnabledNodeGrants:output_type -> pb.ListEnabledNodeGrantsResponse
|
||||||
10, // 15: pb.NodeGrantService.FindAllEnabledNodeGrants:output_type -> pb.FindAllEnabledNodeGrantsResponse
|
9, // 15: pb.NodeGrantService.FindAllEnabledNodeGrants:output_type -> pb.FindAllEnabledNodeGrantsResponse
|
||||||
12, // 16: pb.NodeGrantService.FindEnabledGrant:output_type -> pb.FindEnabledGrantResponse
|
11, // 16: pb.NodeGrantService.FindEnabledGrant:output_type -> pb.FindEnabledGrantResponse
|
||||||
10, // [10:17] is the sub-list for method output_type
|
10, // [10:17] is the sub-list for method output_type
|
||||||
3, // [3:10] is the sub-list for method input_type
|
3, // [3:10] is the sub-list for method input_type
|
||||||
3, // [3:3] is the sub-list for extension type_name
|
3, // [3:3] is the sub-list for extension type_name
|
||||||
@@ -985,18 +933,6 @@ func file_service_node_grant_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_node_grant_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
file_service_node_grant_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*CountAllEnabledNodeGrantsResponse); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_service_node_grant_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*ListEnabledNodeGrantsRequest); i {
|
switch v := v.(*ListEnabledNodeGrantsRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1008,7 +944,7 @@ func file_service_node_grant_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_node_grant_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
file_service_node_grant_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ListEnabledNodeGrantsResponse); i {
|
switch v := v.(*ListEnabledNodeGrantsResponse); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1020,7 +956,7 @@ func file_service_node_grant_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_node_grant_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
file_service_node_grant_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*FindAllEnabledNodeGrantsRequest); i {
|
switch v := v.(*FindAllEnabledNodeGrantsRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1032,7 +968,7 @@ func file_service_node_grant_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_node_grant_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
file_service_node_grant_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*FindAllEnabledNodeGrantsResponse); i {
|
switch v := v.(*FindAllEnabledNodeGrantsResponse); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1044,7 +980,7 @@ func file_service_node_grant_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_node_grant_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
file_service_node_grant_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*FindEnabledGrantRequest); i {
|
switch v := v.(*FindEnabledGrantRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1056,7 +992,7 @@ func file_service_node_grant_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_node_grant_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
file_service_node_grant_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*FindEnabledGrantResponse); i {
|
switch v := v.(*FindEnabledGrantResponse); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1075,7 +1011,7 @@ func file_service_node_grant_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_service_node_grant_proto_rawDesc,
|
RawDescriptor: file_service_node_grant_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 0,
|
||||||
NumMessages: 13,
|
NumMessages: 12,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 1,
|
NumServices: 1,
|
||||||
},
|
},
|
||||||
@@ -1108,7 +1044,7 @@ type NodeGrantServiceClient interface {
|
|||||||
// 禁用认证
|
// 禁用认证
|
||||||
DisableNodeGrant(ctx context.Context, in *DisableNodeGrantRequest, opts ...grpc.CallOption) (*DisableNodeGrantResponse, error)
|
DisableNodeGrant(ctx context.Context, in *DisableNodeGrantRequest, opts ...grpc.CallOption) (*DisableNodeGrantResponse, error)
|
||||||
// 计算认证的数量
|
// 计算认证的数量
|
||||||
CountAllEnabledNodeGrants(ctx context.Context, in *CountAllEnabledNodeGrantsRequest, opts ...grpc.CallOption) (*CountAllEnabledNodeGrantsResponse, error)
|
CountAllEnabledNodeGrants(ctx context.Context, in *CountAllEnabledNodeGrantsRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
|
||||||
// 列出单页认证
|
// 列出单页认证
|
||||||
ListEnabledNodeGrants(ctx context.Context, in *ListEnabledNodeGrantsRequest, opts ...grpc.CallOption) (*ListEnabledNodeGrantsResponse, error)
|
ListEnabledNodeGrants(ctx context.Context, in *ListEnabledNodeGrantsRequest, opts ...grpc.CallOption) (*ListEnabledNodeGrantsResponse, error)
|
||||||
// 列出所有认证
|
// 列出所有认证
|
||||||
@@ -1152,8 +1088,8 @@ func (c *nodeGrantServiceClient) DisableNodeGrant(ctx context.Context, in *Disab
|
|||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *nodeGrantServiceClient) CountAllEnabledNodeGrants(ctx context.Context, in *CountAllEnabledNodeGrantsRequest, opts ...grpc.CallOption) (*CountAllEnabledNodeGrantsResponse, error) {
|
func (c *nodeGrantServiceClient) CountAllEnabledNodeGrants(ctx context.Context, in *CountAllEnabledNodeGrantsRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
|
||||||
out := new(CountAllEnabledNodeGrantsResponse)
|
out := new(RPCCountResponse)
|
||||||
err := c.cc.Invoke(ctx, "/pb.NodeGrantService/countAllEnabledNodeGrants", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/pb.NodeGrantService/countAllEnabledNodeGrants", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
@@ -1197,7 +1133,7 @@ type NodeGrantServiceServer interface {
|
|||||||
// 禁用认证
|
// 禁用认证
|
||||||
DisableNodeGrant(context.Context, *DisableNodeGrantRequest) (*DisableNodeGrantResponse, error)
|
DisableNodeGrant(context.Context, *DisableNodeGrantRequest) (*DisableNodeGrantResponse, error)
|
||||||
// 计算认证的数量
|
// 计算认证的数量
|
||||||
CountAllEnabledNodeGrants(context.Context, *CountAllEnabledNodeGrantsRequest) (*CountAllEnabledNodeGrantsResponse, error)
|
CountAllEnabledNodeGrants(context.Context, *CountAllEnabledNodeGrantsRequest) (*RPCCountResponse, error)
|
||||||
// 列出单页认证
|
// 列出单页认证
|
||||||
ListEnabledNodeGrants(context.Context, *ListEnabledNodeGrantsRequest) (*ListEnabledNodeGrantsResponse, error)
|
ListEnabledNodeGrants(context.Context, *ListEnabledNodeGrantsRequest) (*ListEnabledNodeGrantsResponse, error)
|
||||||
// 列出所有认证
|
// 列出所有认证
|
||||||
@@ -1219,7 +1155,7 @@ func (*UnimplementedNodeGrantServiceServer) UpdateNodeGrant(context.Context, *Up
|
|||||||
func (*UnimplementedNodeGrantServiceServer) DisableNodeGrant(context.Context, *DisableNodeGrantRequest) (*DisableNodeGrantResponse, error) {
|
func (*UnimplementedNodeGrantServiceServer) DisableNodeGrant(context.Context, *DisableNodeGrantRequest) (*DisableNodeGrantResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method DisableNodeGrant not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method DisableNodeGrant not implemented")
|
||||||
}
|
}
|
||||||
func (*UnimplementedNodeGrantServiceServer) CountAllEnabledNodeGrants(context.Context, *CountAllEnabledNodeGrantsRequest) (*CountAllEnabledNodeGrantsResponse, error) {
|
func (*UnimplementedNodeGrantServiceServer) CountAllEnabledNodeGrants(context.Context, *CountAllEnabledNodeGrantsRequest) (*RPCCountResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledNodeGrants not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledNodeGrants not implemented")
|
||||||
}
|
}
|
||||||
func (*UnimplementedNodeGrantServiceServer) ListEnabledNodeGrants(context.Context, *ListEnabledNodeGrantsRequest) (*ListEnabledNodeGrantsResponse, error) {
|
func (*UnimplementedNodeGrantServiceServer) ListEnabledNodeGrants(context.Context, *ListEnabledNodeGrantsRequest) (*ListEnabledNodeGrantsResponse, error) {
|
||||||
|
|||||||
@@ -171,53 +171,6 @@ func (x *CountNodeLogsRequest) GetRole() string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
type CountNodeLogsResponse struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountNodeLogsResponse) Reset() {
|
|
||||||
*x = CountNodeLogsResponse{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_service_node_log_proto_msgTypes[3]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountNodeLogsResponse) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*CountNodeLogsResponse) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *CountNodeLogsResponse) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_service_node_log_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 CountNodeLogsResponse.ProtoReflect.Descriptor instead.
|
|
||||||
func (*CountNodeLogsResponse) Descriptor() ([]byte, []int) {
|
|
||||||
return file_service_node_log_proto_rawDescGZIP(), []int{3}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountNodeLogsResponse) GetCount() int64 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Count
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
// 列出单页日志
|
// 列出单页日志
|
||||||
type ListNodeLogsRequest struct {
|
type ListNodeLogsRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
@@ -233,7 +186,7 @@ type ListNodeLogsRequest struct {
|
|||||||
func (x *ListNodeLogsRequest) Reset() {
|
func (x *ListNodeLogsRequest) Reset() {
|
||||||
*x = ListNodeLogsRequest{}
|
*x = ListNodeLogsRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_node_log_proto_msgTypes[4]
|
mi := &file_service_node_log_proto_msgTypes[3]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -246,7 +199,7 @@ func (x *ListNodeLogsRequest) String() string {
|
|||||||
func (*ListNodeLogsRequest) ProtoMessage() {}
|
func (*ListNodeLogsRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ListNodeLogsRequest) ProtoReflect() protoreflect.Message {
|
func (x *ListNodeLogsRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_node_log_proto_msgTypes[4]
|
mi := &file_service_node_log_proto_msgTypes[3]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -259,7 +212,7 @@ func (x *ListNodeLogsRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use ListNodeLogsRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ListNodeLogsRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*ListNodeLogsRequest) Descriptor() ([]byte, []int) {
|
func (*ListNodeLogsRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_node_log_proto_rawDescGZIP(), []int{4}
|
return file_service_node_log_proto_rawDescGZIP(), []int{3}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListNodeLogsRequest) GetNodeId() int64 {
|
func (x *ListNodeLogsRequest) GetNodeId() int64 {
|
||||||
@@ -301,7 +254,7 @@ type ListNodeLogsResponse struct {
|
|||||||
func (x *ListNodeLogsResponse) Reset() {
|
func (x *ListNodeLogsResponse) Reset() {
|
||||||
*x = ListNodeLogsResponse{}
|
*x = ListNodeLogsResponse{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_node_log_proto_msgTypes[5]
|
mi := &file_service_node_log_proto_msgTypes[4]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -314,7 +267,7 @@ func (x *ListNodeLogsResponse) String() string {
|
|||||||
func (*ListNodeLogsResponse) ProtoMessage() {}
|
func (*ListNodeLogsResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ListNodeLogsResponse) ProtoReflect() protoreflect.Message {
|
func (x *ListNodeLogsResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_node_log_proto_msgTypes[5]
|
mi := &file_service_node_log_proto_msgTypes[4]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -327,7 +280,7 @@ func (x *ListNodeLogsResponse) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use ListNodeLogsResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ListNodeLogsResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*ListNodeLogsResponse) Descriptor() ([]byte, []int) {
|
func (*ListNodeLogsResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_service_node_log_proto_rawDescGZIP(), []int{5}
|
return file_service_node_log_proto_rawDescGZIP(), []int{4}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListNodeLogsResponse) GetNodeLogs() []*NodeLog {
|
func (x *ListNodeLogsResponse) GetNodeLogs() []*NodeLog {
|
||||||
@@ -341,42 +294,40 @@ var File_service_node_log_proto protoreflect.FileDescriptor
|
|||||||
|
|
||||||
var file_service_node_log_proto_rawDesc = []byte{
|
var file_service_node_log_proto_rawDesc = []byte{
|
||||||
0x0a, 0x16, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6c,
|
0x0a, 0x16, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6c,
|
||||||
0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x14, 0x6d, 0x6f,
|
0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x12, 0x72, 0x70,
|
||||||
0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f,
|
0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||||
0x74, 0x6f, 0x22, 0x40, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65,
|
0x1a, 0x14, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6c, 0x6f, 0x67,
|
||||||
0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x08, 0x6e,
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x40, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
|
||||||
0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
|
0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||||
0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65,
|
0x27, 0x0a, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
|
||||||
0x4c, 0x6f, 0x67, 0x73, 0x22, 0x18, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f,
|
0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x52, 0x08,
|
||||||
0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x42,
|
0x6e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x22, 0x18, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61,
|
||||||
0x0a, 0x14, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52,
|
0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64,
|
0x73, 0x65, 0x22, 0x42, 0x0a, 0x14, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4c,
|
||||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x12,
|
0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f,
|
||||||
0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f,
|
0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65,
|
||||||
0x6c, 0x65, 0x22, 0x2d, 0x0a, 0x15, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4c,
|
0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
||||||
0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63,
|
0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x22, 0x6d, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f,
|
||||||
0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e,
|
0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a,
|
||||||
0x74, 0x22, 0x6d, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67,
|
0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e,
|
||||||
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65,
|
0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20,
|
||||||
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64,
|
0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66,
|
||||||
0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65,
|
||||||
0x72, 0x6f, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x03,
|
0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04,
|
0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x3f, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x64,
|
||||||
0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65,
|
0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a,
|
||||||
0x22, 0x3f, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73,
|
0x08, 0x6e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x08, 0x6e, 0x6f, 0x64, 0x65,
|
0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x52, 0x08, 0x6e, 0x6f,
|
||||||
0x4c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e,
|
0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x32, 0xdd, 0x01, 0x0a, 0x0e, 0x4e, 0x6f, 0x64, 0x65, 0x4c,
|
||||||
0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67,
|
0x6f, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x47, 0x0a, 0x0e, 0x63, 0x72, 0x65,
|
||||||
0x73, 0x32, 0xe2, 0x01, 0x0a, 0x0e, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x53, 0x65, 0x72,
|
0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x19, 0x2e, 0x70, 0x62,
|
||||||
0x76, 0x69, 0x63, 0x65, 0x12, 0x47, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f,
|
0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52,
|
||||||
0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61,
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61,
|
||||||
0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||||
0x74, 0x1a, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64,
|
0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4c,
|
||||||
0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a,
|
0x6f, 0x67, 0x73, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x6f,
|
||||||
0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x18,
|
0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e,
|
||||||
0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67,
|
0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||||
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f,
|
|
||||||
0x75, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
||||||
0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x6c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4c,
|
0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x6c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4c,
|
||||||
0x6f, 0x67, 0x73, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x64,
|
0x6f, 0x67, 0x73, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x64,
|
||||||
0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70,
|
0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70,
|
||||||
@@ -397,25 +348,25 @@ func file_service_node_log_proto_rawDescGZIP() []byte {
|
|||||||
return file_service_node_log_proto_rawDescData
|
return file_service_node_log_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_service_node_log_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
var file_service_node_log_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
||||||
var file_service_node_log_proto_goTypes = []interface{}{
|
var file_service_node_log_proto_goTypes = []interface{}{
|
||||||
(*CreateNodeLogsRequest)(nil), // 0: pb.CreateNodeLogsRequest
|
(*CreateNodeLogsRequest)(nil), // 0: pb.CreateNodeLogsRequest
|
||||||
(*CreateNodeLogsResponse)(nil), // 1: pb.CreateNodeLogsResponse
|
(*CreateNodeLogsResponse)(nil), // 1: pb.CreateNodeLogsResponse
|
||||||
(*CountNodeLogsRequest)(nil), // 2: pb.CountNodeLogsRequest
|
(*CountNodeLogsRequest)(nil), // 2: pb.CountNodeLogsRequest
|
||||||
(*CountNodeLogsResponse)(nil), // 3: pb.CountNodeLogsResponse
|
(*ListNodeLogsRequest)(nil), // 3: pb.ListNodeLogsRequest
|
||||||
(*ListNodeLogsRequest)(nil), // 4: pb.ListNodeLogsRequest
|
(*ListNodeLogsResponse)(nil), // 4: pb.ListNodeLogsResponse
|
||||||
(*ListNodeLogsResponse)(nil), // 5: pb.ListNodeLogsResponse
|
(*NodeLog)(nil), // 5: pb.NodeLog
|
||||||
(*NodeLog)(nil), // 6: pb.NodeLog
|
(*RPCCountResponse)(nil), // 6: pb.RPCCountResponse
|
||||||
}
|
}
|
||||||
var file_service_node_log_proto_depIdxs = []int32{
|
var file_service_node_log_proto_depIdxs = []int32{
|
||||||
6, // 0: pb.CreateNodeLogsRequest.nodeLogs:type_name -> pb.NodeLog
|
5, // 0: pb.CreateNodeLogsRequest.nodeLogs:type_name -> pb.NodeLog
|
||||||
6, // 1: pb.ListNodeLogsResponse.nodeLogs:type_name -> pb.NodeLog
|
5, // 1: pb.ListNodeLogsResponse.nodeLogs:type_name -> pb.NodeLog
|
||||||
0, // 2: pb.NodeLogService.createNodeLogs:input_type -> pb.CreateNodeLogsRequest
|
0, // 2: pb.NodeLogService.createNodeLogs:input_type -> pb.CreateNodeLogsRequest
|
||||||
2, // 3: pb.NodeLogService.countNodeLogs:input_type -> pb.CountNodeLogsRequest
|
2, // 3: pb.NodeLogService.countNodeLogs:input_type -> pb.CountNodeLogsRequest
|
||||||
4, // 4: pb.NodeLogService.listNodeLogs:input_type -> pb.ListNodeLogsRequest
|
3, // 4: pb.NodeLogService.listNodeLogs:input_type -> pb.ListNodeLogsRequest
|
||||||
1, // 5: pb.NodeLogService.createNodeLogs:output_type -> pb.CreateNodeLogsResponse
|
1, // 5: pb.NodeLogService.createNodeLogs:output_type -> pb.CreateNodeLogsResponse
|
||||||
3, // 6: pb.NodeLogService.countNodeLogs:output_type -> pb.CountNodeLogsResponse
|
6, // 6: pb.NodeLogService.countNodeLogs:output_type -> pb.RPCCountResponse
|
||||||
5, // 7: pb.NodeLogService.listNodeLogs:output_type -> pb.ListNodeLogsResponse
|
4, // 7: pb.NodeLogService.listNodeLogs:output_type -> pb.ListNodeLogsResponse
|
||||||
5, // [5:8] is the sub-list for method output_type
|
5, // [5:8] is the sub-list for method output_type
|
||||||
2, // [2:5] is the sub-list for method input_type
|
2, // [2:5] is the sub-list for method input_type
|
||||||
2, // [2:2] is the sub-list for extension type_name
|
2, // [2:2] is the sub-list for extension type_name
|
||||||
@@ -428,6 +379,7 @@ func file_service_node_log_proto_init() {
|
|||||||
if File_service_node_log_proto != nil {
|
if File_service_node_log_proto != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
file_rpc_messages_proto_init()
|
||||||
file_model_node_log_proto_init()
|
file_model_node_log_proto_init()
|
||||||
if !protoimpl.UnsafeEnabled {
|
if !protoimpl.UnsafeEnabled {
|
||||||
file_service_node_log_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
file_service_node_log_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||||
@@ -467,18 +419,6 @@ func file_service_node_log_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_node_log_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
file_service_node_log_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*CountNodeLogsResponse); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_service_node_log_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*ListNodeLogsRequest); i {
|
switch v := v.(*ListNodeLogsRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -490,7 +430,7 @@ func file_service_node_log_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_node_log_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
file_service_node_log_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ListNodeLogsResponse); i {
|
switch v := v.(*ListNodeLogsResponse); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -509,7 +449,7 @@ func file_service_node_log_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_service_node_log_proto_rawDesc,
|
RawDescriptor: file_service_node_log_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 0,
|
||||||
NumMessages: 6,
|
NumMessages: 5,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 1,
|
NumServices: 1,
|
||||||
},
|
},
|
||||||
@@ -538,7 +478,7 @@ type NodeLogServiceClient interface {
|
|||||||
// 创建日志
|
// 创建日志
|
||||||
CreateNodeLogs(ctx context.Context, in *CreateNodeLogsRequest, opts ...grpc.CallOption) (*CreateNodeLogsResponse, error)
|
CreateNodeLogs(ctx context.Context, in *CreateNodeLogsRequest, opts ...grpc.CallOption) (*CreateNodeLogsResponse, error)
|
||||||
// 查询日志数量
|
// 查询日志数量
|
||||||
CountNodeLogs(ctx context.Context, in *CountNodeLogsRequest, opts ...grpc.CallOption) (*CountNodeLogsResponse, error)
|
CountNodeLogs(ctx context.Context, in *CountNodeLogsRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
|
||||||
// 列出单页日志
|
// 列出单页日志
|
||||||
ListNodeLogs(ctx context.Context, in *ListNodeLogsRequest, opts ...grpc.CallOption) (*ListNodeLogsResponse, error)
|
ListNodeLogs(ctx context.Context, in *ListNodeLogsRequest, opts ...grpc.CallOption) (*ListNodeLogsResponse, error)
|
||||||
}
|
}
|
||||||
@@ -560,8 +500,8 @@ func (c *nodeLogServiceClient) CreateNodeLogs(ctx context.Context, in *CreateNod
|
|||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *nodeLogServiceClient) CountNodeLogs(ctx context.Context, in *CountNodeLogsRequest, opts ...grpc.CallOption) (*CountNodeLogsResponse, error) {
|
func (c *nodeLogServiceClient) CountNodeLogs(ctx context.Context, in *CountNodeLogsRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
|
||||||
out := new(CountNodeLogsResponse)
|
out := new(RPCCountResponse)
|
||||||
err := c.cc.Invoke(ctx, "/pb.NodeLogService/countNodeLogs", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/pb.NodeLogService/countNodeLogs", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
@@ -583,7 +523,7 @@ type NodeLogServiceServer interface {
|
|||||||
// 创建日志
|
// 创建日志
|
||||||
CreateNodeLogs(context.Context, *CreateNodeLogsRequest) (*CreateNodeLogsResponse, error)
|
CreateNodeLogs(context.Context, *CreateNodeLogsRequest) (*CreateNodeLogsResponse, error)
|
||||||
// 查询日志数量
|
// 查询日志数量
|
||||||
CountNodeLogs(context.Context, *CountNodeLogsRequest) (*CountNodeLogsResponse, error)
|
CountNodeLogs(context.Context, *CountNodeLogsRequest) (*RPCCountResponse, error)
|
||||||
// 列出单页日志
|
// 列出单页日志
|
||||||
ListNodeLogs(context.Context, *ListNodeLogsRequest) (*ListNodeLogsResponse, error)
|
ListNodeLogs(context.Context, *ListNodeLogsRequest) (*ListNodeLogsResponse, error)
|
||||||
}
|
}
|
||||||
@@ -595,7 +535,7 @@ type UnimplementedNodeLogServiceServer struct {
|
|||||||
func (*UnimplementedNodeLogServiceServer) CreateNodeLogs(context.Context, *CreateNodeLogsRequest) (*CreateNodeLogsResponse, error) {
|
func (*UnimplementedNodeLogServiceServer) CreateNodeLogs(context.Context, *CreateNodeLogsRequest) (*CreateNodeLogsResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method CreateNodeLogs not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method CreateNodeLogs not implemented")
|
||||||
}
|
}
|
||||||
func (*UnimplementedNodeLogServiceServer) CountNodeLogs(context.Context, *CountNodeLogsRequest) (*CountNodeLogsResponse, error) {
|
func (*UnimplementedNodeLogServiceServer) CountNodeLogs(context.Context, *CountNodeLogsRequest) (*RPCCountResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method CountNodeLogs not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method CountNodeLogs not implemented")
|
||||||
}
|
}
|
||||||
func (*UnimplementedNodeLogServiceServer) ListNodeLogs(context.Context, *ListNodeLogsRequest) (*ListNodeLogsResponse, error) {
|
func (*UnimplementedNodeLogServiceServer) ListNodeLogs(context.Context, *ListNodeLogsRequest) (*ListNodeLogsResponse, error) {
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -563,53 +563,6 @@ func (x *CountSSLCertRequest) GetKeyword() string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
type CountSSLCertResponse struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountSSLCertResponse) Reset() {
|
|
||||||
*x = CountSSLCertResponse{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_service_ssl_cert_proto_msgTypes[7]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountSSLCertResponse) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*CountSSLCertResponse) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *CountSSLCertResponse) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_service_ssl_cert_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 CountSSLCertResponse.ProtoReflect.Descriptor instead.
|
|
||||||
func (*CountSSLCertResponse) Descriptor() ([]byte, []int) {
|
|
||||||
return file_service_ssl_cert_proto_rawDescGZIP(), []int{7}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CountSSLCertResponse) GetCount() int64 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Count
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
// 列出单页匹配的Cert
|
// 列出单页匹配的Cert
|
||||||
type ListSSLCertsRequest struct {
|
type ListSSLCertsRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
@@ -628,7 +581,7 @@ type ListSSLCertsRequest struct {
|
|||||||
func (x *ListSSLCertsRequest) Reset() {
|
func (x *ListSSLCertsRequest) Reset() {
|
||||||
*x = ListSSLCertsRequest{}
|
*x = ListSSLCertsRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_ssl_cert_proto_msgTypes[8]
|
mi := &file_service_ssl_cert_proto_msgTypes[7]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -641,7 +594,7 @@ func (x *ListSSLCertsRequest) String() string {
|
|||||||
func (*ListSSLCertsRequest) ProtoMessage() {}
|
func (*ListSSLCertsRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ListSSLCertsRequest) ProtoReflect() protoreflect.Message {
|
func (x *ListSSLCertsRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_ssl_cert_proto_msgTypes[8]
|
mi := &file_service_ssl_cert_proto_msgTypes[7]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -654,7 +607,7 @@ func (x *ListSSLCertsRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use ListSSLCertsRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ListSSLCertsRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*ListSSLCertsRequest) Descriptor() ([]byte, []int) {
|
func (*ListSSLCertsRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_ssl_cert_proto_rawDescGZIP(), []int{8}
|
return file_service_ssl_cert_proto_rawDescGZIP(), []int{7}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListSSLCertsRequest) GetIsCA() bool {
|
func (x *ListSSLCertsRequest) GetIsCA() bool {
|
||||||
@@ -717,7 +670,7 @@ type ListSSLCertsResponse struct {
|
|||||||
func (x *ListSSLCertsResponse) Reset() {
|
func (x *ListSSLCertsResponse) Reset() {
|
||||||
*x = ListSSLCertsResponse{}
|
*x = ListSSLCertsResponse{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_ssl_cert_proto_msgTypes[9]
|
mi := &file_service_ssl_cert_proto_msgTypes[8]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -730,7 +683,7 @@ func (x *ListSSLCertsResponse) String() string {
|
|||||||
func (*ListSSLCertsResponse) ProtoMessage() {}
|
func (*ListSSLCertsResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ListSSLCertsResponse) ProtoReflect() protoreflect.Message {
|
func (x *ListSSLCertsResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_ssl_cert_proto_msgTypes[9]
|
mi := &file_service_ssl_cert_proto_msgTypes[8]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -743,7 +696,7 @@ func (x *ListSSLCertsResponse) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use ListSSLCertsResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ListSSLCertsResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*ListSSLCertsResponse) Descriptor() ([]byte, []int) {
|
func (*ListSSLCertsResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_service_ssl_cert_proto_rawDescGZIP(), []int{9}
|
return file_service_ssl_cert_proto_rawDescGZIP(), []int{8}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListSSLCertsResponse) GetCertsJSON() []byte {
|
func (x *ListSSLCertsResponse) GetCertsJSON() []byte {
|
||||||
@@ -826,56 +779,53 @@ var file_service_ssl_cert_proto_rawDesc = []byte{
|
|||||||
0x6e, 0x67, 0x44, 0x61, 0x79, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x65, 0x78,
|
0x6e, 0x67, 0x44, 0x61, 0x79, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x65, 0x78,
|
||||||
0x70, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x79, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65,
|
0x70, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x79, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65,
|
||||||
0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79,
|
0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79,
|
||||||
0x77, 0x6f, 0x72, 0x64, 0x22, 0x2c, 0x0a, 0x14, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x53, 0x4c,
|
0x77, 0x6f, 0x72, 0x64, 0x22, 0xd3, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x4c,
|
||||||
0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05,
|
0x43, 0x65, 0x72, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04,
|
||||||
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75,
|
0x69, 0x73, 0x43, 0x41, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x43, 0x41,
|
||||||
0x6e, 0x74, 0x22, 0xd3, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65,
|
0x12, 0x20, 0x0a, 0x0b, 0x69, 0x73, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18,
|
||||||
0x72, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73,
|
0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62,
|
||||||
0x43, 0x41, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x43, 0x41, 0x12, 0x20,
|
0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x73, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x18,
|
||||||
0x0a, 0x0b, 0x69, 0x73, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20,
|
0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64,
|
||||||
0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65,
|
0x12, 0x22, 0x0a, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x79, 0x73,
|
||||||
0x12, 0x1c, 0x0a, 0x09, 0x69, 0x73, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x18, 0x03, 0x20,
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x69, 0x6e, 0x67,
|
||||||
0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x12, 0x22,
|
0x44, 0x61, 0x79, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18,
|
||||||
0x0a, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x79, 0x73, 0x18, 0x04,
|
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x16,
|
||||||
0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61,
|
0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
|
||||||
0x79, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20,
|
0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x07,
|
||||||
0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x16, 0x0a, 0x06,
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x34, 0x0a, 0x14, 0x4c, 0x69,
|
||||||
0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66,
|
0x73, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||||
0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01,
|
0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x65, 0x72, 0x74, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18,
|
||||||
0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x34, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74,
|
0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x63, 0x65, 0x72, 0x74, 0x73, 0x4a, 0x53, 0x4f, 0x4e,
|
||||||
0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
0x32, 0xc2, 0x03, 0x0a, 0x0e, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x53, 0x65, 0x72, 0x76,
|
||||||
0x12, 0x1c, 0x0a, 0x09, 0x63, 0x65, 0x72, 0x74, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20,
|
0x69, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x4c,
|
||||||
0x01, 0x28, 0x0c, 0x52, 0x09, 0x63, 0x65, 0x72, 0x74, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x32, 0xc6,
|
0x43, 0x65, 0x72, 0x74, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
|
||||||
0x03, 0x0a, 0x0e, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
|
0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19,
|
||||||
0x65, 0x12, 0x44, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65,
|
0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72,
|
||||||
0x72, 0x74, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53,
|
0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x75, 0x70, 0x64,
|
||||||
0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70,
|
0x61, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e,
|
||||||
0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52,
|
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71,
|
||||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74,
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64,
|
||||||
0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70,
|
0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3f, 0x0a, 0x0d, 0x64, 0x65,
|
||||||
0x64, 0x61, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
|
0x6c, 0x65, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x12, 0x18, 0x2e, 0x70, 0x62,
|
||||||
0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74,
|
0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65,
|
||||||
0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3f, 0x0a, 0x0d, 0x64, 0x65, 0x6c, 0x65,
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x44, 0x65,
|
||||||
0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x44,
|
0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x65, 0x0a, 0x18, 0x66,
|
||||||
0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75,
|
0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72,
|
||||||
0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65,
|
0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e,
|
||||||
0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x65, 0x0a, 0x18, 0x66, 0x69, 0x6e,
|
|
||||||
0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x43,
|
0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x43,
|
||||||
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45,
|
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70,
|
||||||
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x43, 0x6f, 0x6e,
|
0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x53, 0x4c,
|
||||||
0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x62, 0x2e,
|
0x43, 0x65, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||||
0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x53, 0x4c, 0x43, 0x65,
|
0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65,
|
||||||
0x72, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
0x72, 0x74, 0x73, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x53,
|
||||||
0x12, 0x42, 0x0a, 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74,
|
0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70,
|
||||||
0x73, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x53, 0x4c, 0x43,
|
0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||||
0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x62, 0x2e,
|
0x73, 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x6c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72,
|
||||||
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70,
|
0x74, 0x73, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x4c, 0x43,
|
||||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x6c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x4c, 0x43,
|
0x65, 0x72, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x62,
|
||||||
0x65, 0x72, 0x74, 0x73, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53,
|
0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x52, 0x65, 0x73,
|
||||||
0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e,
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70,
|
||||||
0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x52,
|
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62,
|
|
||||||
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@@ -890,7 +840,7 @@ func file_service_ssl_cert_proto_rawDescGZIP() []byte {
|
|||||||
return file_service_ssl_cert_proto_rawDescData
|
return file_service_ssl_cert_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_service_ssl_cert_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
var file_service_ssl_cert_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
||||||
var file_service_ssl_cert_proto_goTypes = []interface{}{
|
var file_service_ssl_cert_proto_goTypes = []interface{}{
|
||||||
(*CreateSSLCertRequest)(nil), // 0: pb.CreateSSLCertRequest
|
(*CreateSSLCertRequest)(nil), // 0: pb.CreateSSLCertRequest
|
||||||
(*CreateSSLCertResponse)(nil), // 1: pb.CreateSSLCertResponse
|
(*CreateSSLCertResponse)(nil), // 1: pb.CreateSSLCertResponse
|
||||||
@@ -899,11 +849,11 @@ var file_service_ssl_cert_proto_goTypes = []interface{}{
|
|||||||
(*FindEnabledSSLCertConfigResponse)(nil), // 4: pb.FindEnabledSSLCertConfigResponse
|
(*FindEnabledSSLCertConfigResponse)(nil), // 4: pb.FindEnabledSSLCertConfigResponse
|
||||||
(*DeleteSSLCertRequest)(nil), // 5: pb.DeleteSSLCertRequest
|
(*DeleteSSLCertRequest)(nil), // 5: pb.DeleteSSLCertRequest
|
||||||
(*CountSSLCertRequest)(nil), // 6: pb.CountSSLCertRequest
|
(*CountSSLCertRequest)(nil), // 6: pb.CountSSLCertRequest
|
||||||
(*CountSSLCertResponse)(nil), // 7: pb.CountSSLCertResponse
|
(*ListSSLCertsRequest)(nil), // 7: pb.ListSSLCertsRequest
|
||||||
(*ListSSLCertsRequest)(nil), // 8: pb.ListSSLCertsRequest
|
(*ListSSLCertsResponse)(nil), // 8: pb.ListSSLCertsResponse
|
||||||
(*ListSSLCertsResponse)(nil), // 9: pb.ListSSLCertsResponse
|
(*RPCUpdateSuccess)(nil), // 9: pb.RPCUpdateSuccess
|
||||||
(*RPCUpdateSuccess)(nil), // 10: pb.RPCUpdateSuccess
|
(*RPCDeleteSuccess)(nil), // 10: pb.RPCDeleteSuccess
|
||||||
(*RPCDeleteSuccess)(nil), // 11: pb.RPCDeleteSuccess
|
(*RPCCountResponse)(nil), // 11: pb.RPCCountResponse
|
||||||
}
|
}
|
||||||
var file_service_ssl_cert_proto_depIdxs = []int32{
|
var file_service_ssl_cert_proto_depIdxs = []int32{
|
||||||
0, // 0: pb.SSLCertService.createSSLCert:input_type -> pb.CreateSSLCertRequest
|
0, // 0: pb.SSLCertService.createSSLCert:input_type -> pb.CreateSSLCertRequest
|
||||||
@@ -911,13 +861,13 @@ var file_service_ssl_cert_proto_depIdxs = []int32{
|
|||||||
5, // 2: pb.SSLCertService.deleteSSLCert:input_type -> pb.DeleteSSLCertRequest
|
5, // 2: pb.SSLCertService.deleteSSLCert:input_type -> pb.DeleteSSLCertRequest
|
||||||
3, // 3: pb.SSLCertService.findEnabledSSLCertConfig:input_type -> pb.FindEnabledSSLCertConfigRequest
|
3, // 3: pb.SSLCertService.findEnabledSSLCertConfig:input_type -> pb.FindEnabledSSLCertConfigRequest
|
||||||
6, // 4: pb.SSLCertService.countSSLCerts:input_type -> pb.CountSSLCertRequest
|
6, // 4: pb.SSLCertService.countSSLCerts:input_type -> pb.CountSSLCertRequest
|
||||||
8, // 5: pb.SSLCertService.listSSLCerts:input_type -> pb.ListSSLCertsRequest
|
7, // 5: pb.SSLCertService.listSSLCerts:input_type -> pb.ListSSLCertsRequest
|
||||||
1, // 6: pb.SSLCertService.createSSLCert:output_type -> pb.CreateSSLCertResponse
|
1, // 6: pb.SSLCertService.createSSLCert:output_type -> pb.CreateSSLCertResponse
|
||||||
10, // 7: pb.SSLCertService.updateSSLCert:output_type -> pb.RPCUpdateSuccess
|
9, // 7: pb.SSLCertService.updateSSLCert:output_type -> pb.RPCUpdateSuccess
|
||||||
11, // 8: pb.SSLCertService.deleteSSLCert:output_type -> pb.RPCDeleteSuccess
|
10, // 8: pb.SSLCertService.deleteSSLCert:output_type -> pb.RPCDeleteSuccess
|
||||||
4, // 9: pb.SSLCertService.findEnabledSSLCertConfig:output_type -> pb.FindEnabledSSLCertConfigResponse
|
4, // 9: pb.SSLCertService.findEnabledSSLCertConfig:output_type -> pb.FindEnabledSSLCertConfigResponse
|
||||||
7, // 10: pb.SSLCertService.countSSLCerts:output_type -> pb.CountSSLCertResponse
|
11, // 10: pb.SSLCertService.countSSLCerts:output_type -> pb.RPCCountResponse
|
||||||
9, // 11: pb.SSLCertService.listSSLCerts:output_type -> pb.ListSSLCertsResponse
|
8, // 11: pb.SSLCertService.listSSLCerts:output_type -> pb.ListSSLCertsResponse
|
||||||
6, // [6:12] is the sub-list for method output_type
|
6, // [6:12] is the sub-list for method output_type
|
||||||
0, // [0:6] is the sub-list for method input_type
|
0, // [0:6] is the sub-list for method input_type
|
||||||
0, // [0:0] is the sub-list for extension type_name
|
0, // [0:0] is the sub-list for extension type_name
|
||||||
@@ -1017,18 +967,6 @@ func file_service_ssl_cert_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_ssl_cert_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
file_service_ssl_cert_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*CountSSLCertResponse); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_service_ssl_cert_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*ListSSLCertsRequest); i {
|
switch v := v.(*ListSSLCertsRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1040,7 +978,7 @@ func file_service_ssl_cert_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_ssl_cert_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
file_service_ssl_cert_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ListSSLCertsResponse); i {
|
switch v := v.(*ListSSLCertsResponse); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1059,7 +997,7 @@ func file_service_ssl_cert_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_service_ssl_cert_proto_rawDesc,
|
RawDescriptor: file_service_ssl_cert_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 0,
|
||||||
NumMessages: 10,
|
NumMessages: 9,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 1,
|
NumServices: 1,
|
||||||
},
|
},
|
||||||
@@ -1094,7 +1032,7 @@ type SSLCertServiceClient interface {
|
|||||||
// 查找证书配置
|
// 查找证书配置
|
||||||
FindEnabledSSLCertConfig(ctx context.Context, in *FindEnabledSSLCertConfigRequest, opts ...grpc.CallOption) (*FindEnabledSSLCertConfigResponse, error)
|
FindEnabledSSLCertConfig(ctx context.Context, in *FindEnabledSSLCertConfigRequest, opts ...grpc.CallOption) (*FindEnabledSSLCertConfigResponse, error)
|
||||||
// 计算匹配的Cert数量
|
// 计算匹配的Cert数量
|
||||||
CountSSLCerts(ctx context.Context, in *CountSSLCertRequest, opts ...grpc.CallOption) (*CountSSLCertResponse, error)
|
CountSSLCerts(ctx context.Context, in *CountSSLCertRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
|
||||||
// 列出单页匹配的Cert
|
// 列出单页匹配的Cert
|
||||||
ListSSLCerts(ctx context.Context, in *ListSSLCertsRequest, opts ...grpc.CallOption) (*ListSSLCertsResponse, error)
|
ListSSLCerts(ctx context.Context, in *ListSSLCertsRequest, opts ...grpc.CallOption) (*ListSSLCertsResponse, error)
|
||||||
}
|
}
|
||||||
@@ -1143,8 +1081,8 @@ func (c *sSLCertServiceClient) FindEnabledSSLCertConfig(ctx context.Context, in
|
|||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *sSLCertServiceClient) CountSSLCerts(ctx context.Context, in *CountSSLCertRequest, opts ...grpc.CallOption) (*CountSSLCertResponse, error) {
|
func (c *sSLCertServiceClient) CountSSLCerts(ctx context.Context, in *CountSSLCertRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
|
||||||
out := new(CountSSLCertResponse)
|
out := new(RPCCountResponse)
|
||||||
err := c.cc.Invoke(ctx, "/pb.SSLCertService/countSSLCerts", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/pb.SSLCertService/countSSLCerts", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
@@ -1172,7 +1110,7 @@ type SSLCertServiceServer interface {
|
|||||||
// 查找证书配置
|
// 查找证书配置
|
||||||
FindEnabledSSLCertConfig(context.Context, *FindEnabledSSLCertConfigRequest) (*FindEnabledSSLCertConfigResponse, error)
|
FindEnabledSSLCertConfig(context.Context, *FindEnabledSSLCertConfigRequest) (*FindEnabledSSLCertConfigResponse, error)
|
||||||
// 计算匹配的Cert数量
|
// 计算匹配的Cert数量
|
||||||
CountSSLCerts(context.Context, *CountSSLCertRequest) (*CountSSLCertResponse, error)
|
CountSSLCerts(context.Context, *CountSSLCertRequest) (*RPCCountResponse, error)
|
||||||
// 列出单页匹配的Cert
|
// 列出单页匹配的Cert
|
||||||
ListSSLCerts(context.Context, *ListSSLCertsRequest) (*ListSSLCertsResponse, error)
|
ListSSLCerts(context.Context, *ListSSLCertsRequest) (*ListSSLCertsResponse, error)
|
||||||
}
|
}
|
||||||
@@ -1193,7 +1131,7 @@ func (*UnimplementedSSLCertServiceServer) DeleteSSLCert(context.Context, *Delete
|
|||||||
func (*UnimplementedSSLCertServiceServer) FindEnabledSSLCertConfig(context.Context, *FindEnabledSSLCertConfigRequest) (*FindEnabledSSLCertConfigResponse, error) {
|
func (*UnimplementedSSLCertServiceServer) FindEnabledSSLCertConfig(context.Context, *FindEnabledSSLCertConfigRequest) (*FindEnabledSSLCertConfigResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method FindEnabledSSLCertConfig not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method FindEnabledSSLCertConfig not implemented")
|
||||||
}
|
}
|
||||||
func (*UnimplementedSSLCertServiceServer) CountSSLCerts(context.Context, *CountSSLCertRequest) (*CountSSLCertResponse, error) {
|
func (*UnimplementedSSLCertServiceServer) CountSSLCerts(context.Context, *CountSSLCertRequest) (*RPCCountResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method CountSSLCerts not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method CountSSLCerts not implemented")
|
||||||
}
|
}
|
||||||
func (*UnimplementedSSLCertServiceServer) ListSSLCerts(context.Context, *ListSSLCertsRequest) (*ListSSLCertsResponse, error) {
|
func (*UnimplementedSSLCertServiceServer) ListSSLCerts(context.Context, *ListSSLCertsRequest) (*ListSSLCertsResponse, error) {
|
||||||
|
|||||||
11
pkg/rpc/protos/model_dns_domain.proto
Normal file
11
pkg/rpc/protos/model_dns_domain.proto
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
syntax = "proto3";
|
||||||
|
option go_package = "./pb";
|
||||||
|
|
||||||
|
package pb;
|
||||||
|
|
||||||
|
message DNSDomain {
|
||||||
|
int64 id = 1;
|
||||||
|
string name = 2;
|
||||||
|
bool isOn = 3;
|
||||||
|
int64 dataUpdatedAt = 4;
|
||||||
|
}
|
||||||
@@ -9,6 +9,5 @@ message DNSProvider {
|
|||||||
string type = 3;
|
string type = 3;
|
||||||
string typeName = 4;
|
string typeName = 4;
|
||||||
bytes apiParamsJSON = 5;
|
bytes apiParamsJSON = 5;
|
||||||
bytes routesJSON = 6;
|
int64 dataUpdatedAt = 6;
|
||||||
int64 dataUpdatedAt = 7;
|
|
||||||
}
|
}
|
||||||
@@ -10,3 +10,7 @@ message RPCUpdateSuccess {
|
|||||||
message RPCDeleteSuccess {
|
message RPCDeleteSuccess {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message RPCCountResponse {
|
||||||
|
int64 count = 1;
|
||||||
|
}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ service APINodeService {
|
|||||||
rpc findAllEnabledAPINodes (FindAllEnabledAPINodesRequest) returns (FindAllEnabledAPINodesResponse);
|
rpc findAllEnabledAPINodes (FindAllEnabledAPINodesRequest) returns (FindAllEnabledAPINodesResponse);
|
||||||
|
|
||||||
// 计算API节点数量
|
// 计算API节点数量
|
||||||
rpc countAllEnabledAPINodes (CountAllEnabledAPINodesRequest) returns (CountAllEnabledAPINodesResponse);
|
rpc countAllEnabledAPINodes (CountAllEnabledAPINodesRequest) returns (RPCCountResponse);
|
||||||
|
|
||||||
// 列出单页的API节点
|
// 列出单页的API节点
|
||||||
rpc listEnabledAPINodes (ListEnabledAPINodesRequest) returns (ListEnabledAPINodesResponse);
|
rpc listEnabledAPINodes (ListEnabledAPINodesRequest) returns (ListEnabledAPINodesResponse);
|
||||||
@@ -75,10 +75,6 @@ message CountAllEnabledAPINodesRequest {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message CountAllEnabledAPINodesResponse {
|
|
||||||
int64 count = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 列出单页的API节点
|
// 列出单页的API节点
|
||||||
message ListEnabledAPINodesRequest {
|
message ListEnabledAPINodesRequest {
|
||||||
int64 offset = 1;
|
int64 offset = 1;
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ service DBNodeService {
|
|||||||
rpc deleteDBNode (DeleteDBNodeRequest) returns (RPCDeleteSuccess);
|
rpc deleteDBNode (DeleteDBNodeRequest) returns (RPCDeleteSuccess);
|
||||||
|
|
||||||
// 计算可用的数据库节点数量
|
// 计算可用的数据库节点数量
|
||||||
rpc countAllEnabledDBNodes (CountAllEnabledDBNodesRequest) returns (CountAllEnabledDBNodesResponse);
|
rpc countAllEnabledDBNodes (CountAllEnabledDBNodesRequest) returns (RPCCountResponse);
|
||||||
|
|
||||||
// 列出单页的数据库节点
|
// 列出单页的数据库节点
|
||||||
rpc listEnabledDBNodes (ListEnabledDBNodesRequest) returns (ListEnabledDBNodesResponse);
|
rpc listEnabledDBNodes (ListEnabledDBNodesRequest) returns (ListEnabledDBNodesResponse);
|
||||||
@@ -67,10 +67,6 @@ message CountAllEnabledDBNodesRequest {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message CountAllEnabledDBNodesResponse {
|
|
||||||
int64 count = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 列出单页的数据库节点
|
// 列出单页的数据库节点
|
||||||
message ListEnabledDBNodesRequest {
|
message ListEnabledDBNodesRequest {
|
||||||
int64 offset = 1;
|
int64 offset = 1;
|
||||||
|
|||||||
61
pkg/rpc/protos/service_dns_domain.proto
Normal file
61
pkg/rpc/protos/service_dns_domain.proto
Normal file
@@ -0,0 +1,61 @@
|
|||||||
|
syntax = "proto3";
|
||||||
|
option go_package = "./pb";
|
||||||
|
|
||||||
|
package pb;
|
||||||
|
|
||||||
|
import "rpc_messages.proto";
|
||||||
|
import "model_dns_domain.proto";
|
||||||
|
|
||||||
|
// DNS域名相关
|
||||||
|
service DNSDomainService {
|
||||||
|
// 创建域名
|
||||||
|
rpc createDNSDomain (CreateDNSDomainRequest) returns (CreateDNSDomainResponse);
|
||||||
|
|
||||||
|
// 修改域名
|
||||||
|
rpc updateDNSDomain (UpdateDNSDomainRequest) returns (RPCUpdateSuccess);
|
||||||
|
|
||||||
|
// 删除域名
|
||||||
|
rpc deleteDNSDomain (DeleteDNSDomainRequest) returns (RPCDeleteSuccess);
|
||||||
|
|
||||||
|
// 计算服务商下的域名数量
|
||||||
|
rpc countAllEnabledDNSDomainsWithDNSProviderId (CountAllEnabledDNSDomainsWithDNSProviderIdRequest) returns (RPCCountResponse);
|
||||||
|
|
||||||
|
// 列出服务商下的所有域名
|
||||||
|
rpc findAllEnabledDNSDomainsWithDNSProviderId (FindAllEnabledDNSDomainsWithDNSProviderIdRequest) returns (FindAllEnabledDNSDomainsWithDNSProviderIdResponse);
|
||||||
|
}
|
||||||
|
|
||||||
|
// 创建域名
|
||||||
|
message CreateDNSDomainRequest {
|
||||||
|
int64 dnsProviderId = 1;
|
||||||
|
string name = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CreateDNSDomainResponse {
|
||||||
|
int64 dnsDomainId = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改域名
|
||||||
|
message UpdateDNSDomainRequest {
|
||||||
|
int64 dnsDomainId = 1;
|
||||||
|
string name = 2;
|
||||||
|
bool isOn = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 删除域名
|
||||||
|
message DeleteDNSDomainRequest {
|
||||||
|
int64 dnsDomainId = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 计算服务商下的域名数量
|
||||||
|
message CountAllEnabledDNSDomainsWithDNSProviderIdRequest {
|
||||||
|
int64 dnsProviderId = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 列出服务商下的所有域名
|
||||||
|
message FindAllEnabledDNSDomainsWithDNSProviderIdRequest {
|
||||||
|
int64 dnsProviderId = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message FindAllEnabledDNSDomainsWithDNSProviderIdResponse {
|
||||||
|
repeated DNSDomain dnsDomains = 1;
|
||||||
|
}
|
||||||
@@ -15,7 +15,7 @@ service DNSProviderService {
|
|||||||
rpc updateDNSProvider (UpdateDNSProviderRequest) returns (RPCUpdateSuccess);
|
rpc updateDNSProvider (UpdateDNSProviderRequest) returns (RPCUpdateSuccess);
|
||||||
|
|
||||||
// 计算服务商数量
|
// 计算服务商数量
|
||||||
rpc countAllEnabledDNSProviders (CountAllEnabledDNSProvidersRequest) returns (CountAllEnabledDNSProvidersResponse);
|
rpc countAllEnabledDNSProviders (CountAllEnabledDNSProvidersRequest) returns (RPCCountResponse);
|
||||||
|
|
||||||
// 列出单页服务商信息
|
// 列出单页服务商信息
|
||||||
rpc listEnabledDNSProviders (ListEnabledDNSProvidersRequest) returns (ListEnabledDNSProvidersResponse);
|
rpc listEnabledDNSProviders (ListEnabledDNSProvidersRequest) returns (ListEnabledDNSProvidersResponse);
|
||||||
@@ -28,6 +28,9 @@ service DNSProviderService {
|
|||||||
|
|
||||||
// 取得所有服务商类型
|
// 取得所有服务商类型
|
||||||
rpc findAllDNSProviderTypes (FindAllDNSProviderTypesRequest) returns (FindAllDNSProviderTypesResponse);
|
rpc findAllDNSProviderTypes (FindAllDNSProviderTypesRequest) returns (FindAllDNSProviderTypesResponse);
|
||||||
|
|
||||||
|
// 更新数据
|
||||||
|
rpc updateDNSProviderData (UpdateDNSProviderDataRequest) returns (UpdateDNSProviderDataResponse);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 创建服务商
|
// 创建服务商
|
||||||
@@ -35,7 +38,6 @@ message CreateDNSProviderRequest {
|
|||||||
string name = 1;
|
string name = 1;
|
||||||
string type = 2;
|
string type = 2;
|
||||||
bytes apiParamsJSON = 3;
|
bytes apiParamsJSON = 3;
|
||||||
bytes routesJSON = 4;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message CreateDNSProviderResponse {
|
message CreateDNSProviderResponse {
|
||||||
@@ -47,7 +49,6 @@ message UpdateDNSProviderRequest {
|
|||||||
int64 dnsProviderId = 1;
|
int64 dnsProviderId = 1;
|
||||||
string name = 2;
|
string name = 2;
|
||||||
bytes apiParamsJSON = 3;
|
bytes apiParamsJSON = 3;
|
||||||
bytes routesJSON = 4;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 计算服务商数量
|
// 计算服务商数量
|
||||||
@@ -55,10 +56,6 @@ message CountAllEnabledDNSProvidersRequest {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message CountAllEnabledDNSProvidersResponse {
|
|
||||||
int64 count = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 列出单页的服务商信息
|
// 列出单页的服务商信息
|
||||||
message ListEnabledDNSProvidersRequest {
|
message ListEnabledDNSProvidersRequest {
|
||||||
int64 offset = 1;
|
int64 offset = 1;
|
||||||
@@ -96,3 +93,13 @@ message DNSProviderType {
|
|||||||
string name = 1;
|
string name = 1;
|
||||||
string code = 2;
|
string code = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 更新数据
|
||||||
|
message UpdateDNSProviderDataRequest {
|
||||||
|
int64 dnsProviderId = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message UpdateDNSProviderDataResponse {
|
||||||
|
bool isOk = 1;
|
||||||
|
string error = 2;
|
||||||
|
}
|
||||||
@@ -20,7 +20,7 @@ service HTTPCachePolicyService {
|
|||||||
rpc deleteHTTPCachePolicy (DeleteHTTPCachePolicyRequest) returns (RPCDeleteSuccess);
|
rpc deleteHTTPCachePolicy (DeleteHTTPCachePolicyRequest) returns (RPCDeleteSuccess);
|
||||||
|
|
||||||
// 计算缓存策略数量
|
// 计算缓存策略数量
|
||||||
rpc countAllEnabledHTTPCachePolicies (CountAllEnabledHTTPCachePoliciesRequest) returns (CountAllEnabledHTTPCachePoliciesResponse);
|
rpc countAllEnabledHTTPCachePolicies (CountAllEnabledHTTPCachePoliciesRequest) returns (RPCCountResponse);
|
||||||
|
|
||||||
// 列出单页的缓存策略
|
// 列出单页的缓存策略
|
||||||
rpc listEnabledHTTPCachePolicies (ListEnabledHTTPCachePoliciesRequest) returns (ListEnabledHTTPCachePoliciesResponse);
|
rpc listEnabledHTTPCachePolicies (ListEnabledHTTPCachePoliciesRequest) returns (ListEnabledHTTPCachePoliciesResponse);
|
||||||
@@ -76,10 +76,6 @@ message DeleteHTTPCachePolicyRequest {
|
|||||||
message CountAllEnabledHTTPCachePoliciesRequest {
|
message CountAllEnabledHTTPCachePoliciesRequest {
|
||||||
}
|
}
|
||||||
|
|
||||||
message CountAllEnabledHTTPCachePoliciesResponse {
|
|
||||||
int64 count = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 列出单页的缓存策略
|
// 列出单页的缓存策略
|
||||||
message ListEnabledHTTPCachePoliciesRequest {
|
message ListEnabledHTTPCachePoliciesRequest {
|
||||||
int64 offset = 1;
|
int64 offset = 1;
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ service HTTPFirewallPolicyService {
|
|||||||
rpc updateHTTPFirewallInboundConfig (UpdateHTTPFirewallInboundConfigRequest) returns (RPCUpdateSuccess);
|
rpc updateHTTPFirewallInboundConfig (UpdateHTTPFirewallInboundConfigRequest) returns (RPCUpdateSuccess);
|
||||||
|
|
||||||
// 计算可用的防火墙策略数量
|
// 计算可用的防火墙策略数量
|
||||||
rpc countAllEnabledFirewallPolicies (CountAllEnabledFirewallPoliciesRequest) returns (CountAllEnabledFirewallPoliciesResponse);
|
rpc countAllEnabledFirewallPolicies (CountAllEnabledFirewallPoliciesRequest) returns (RPCCountResponse);
|
||||||
|
|
||||||
// 列出单页的防火墙策略
|
// 列出单页的防火墙策略
|
||||||
rpc listEnabledFirewallPolicies (ListEnabledFirewallPoliciesRequest) returns (ListEnabledFirewallPoliciesResponse);
|
rpc listEnabledFirewallPolicies (ListEnabledFirewallPoliciesRequest) returns (ListEnabledFirewallPoliciesResponse);
|
||||||
@@ -85,10 +85,6 @@ message UpdateHTTPFirewallInboundConfigRequest {
|
|||||||
message CountAllEnabledFirewallPoliciesRequest {
|
message CountAllEnabledFirewallPoliciesRequest {
|
||||||
}
|
}
|
||||||
|
|
||||||
message CountAllEnabledFirewallPoliciesResponse {
|
|
||||||
int64 count = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 列出单页的防火墙策略
|
// 列出单页的防火墙策略
|
||||||
message ListEnabledFirewallPoliciesRequest {
|
message ListEnabledFirewallPoliciesRequest {
|
||||||
int64 offset = 1;
|
int64 offset = 1;
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ service IPItemService {
|
|||||||
rpc deleteIPItem (DeleteIPItemRequest) returns (RPCDeleteSuccess);
|
rpc deleteIPItem (DeleteIPItemRequest) returns (RPCDeleteSuccess);
|
||||||
|
|
||||||
// 计算IP数量
|
// 计算IP数量
|
||||||
rpc countIPItemsWithListId (CountIPItemsWithListIdRequest) returns (CountIPItemsWithListIdResponse);
|
rpc countIPItemsWithListId (CountIPItemsWithListIdRequest) returns (RPCCountResponse);
|
||||||
|
|
||||||
// 列出单页的IP
|
// 列出单页的IP
|
||||||
rpc listIPItemsWithListId (ListIPItemsWithListIdRequest) returns (ListIPItemsWithListIdResponse);
|
rpc listIPItemsWithListId (ListIPItemsWithListIdRequest) returns (ListIPItemsWithListIdResponse);
|
||||||
@@ -62,10 +62,6 @@ message CountIPItemsWithListIdRequest {
|
|||||||
int64 ipListId = 1;
|
int64 ipListId = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message CountIPItemsWithListIdResponse {
|
|
||||||
int64 count = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 列出单页的IP
|
// 列出单页的IP
|
||||||
message ListIPItemsWithListIdRequest {
|
message ListIPItemsWithListIdRequest {
|
||||||
int64 ipListId = 1;
|
int64 ipListId = 1;
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ option go_package = "./pb";
|
|||||||
|
|
||||||
package pb;
|
package pb;
|
||||||
|
|
||||||
|
import "rpc_messages.proto";
|
||||||
import "model_log.proto";
|
import "model_log.proto";
|
||||||
|
|
||||||
service LogService {
|
service LogService {
|
||||||
@@ -10,7 +11,7 @@ service LogService {
|
|||||||
rpc createLog (CreateLogRequest) returns (CreateLogResponse);
|
rpc createLog (CreateLogRequest) returns (CreateLogResponse);
|
||||||
|
|
||||||
// 计算日志数量
|
// 计算日志数量
|
||||||
rpc countLogs (CountLogRequest) returns (CountLogResponse);
|
rpc countLogs (CountLogRequest) returns (RPCCountResponse);
|
||||||
|
|
||||||
// 列出单页日志
|
// 列出单页日志
|
||||||
rpc listLogs (ListLogsRequest) returns (ListLogsResponse);
|
rpc listLogs (ListLogsRequest) returns (ListLogsResponse);
|
||||||
@@ -33,10 +34,6 @@ message CountLogRequest {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message CountLogResponse {
|
|
||||||
int64 count = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 列出单页日志
|
// 列出单页日志
|
||||||
message ListLogsRequest {
|
message ListLogsRequest {
|
||||||
int64 offset = 1;
|
int64 offset = 1;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import "rpc_messages.proto";
|
|||||||
// 消息相关服务
|
// 消息相关服务
|
||||||
service MessageService {
|
service MessageService {
|
||||||
// 计算未读消息数
|
// 计算未读消息数
|
||||||
rpc countUnreadMessages (CountUnreadMessagesRequest) returns (CountUnreadMessagesResponse);
|
rpc countUnreadMessages (CountUnreadMessagesRequest) returns (RPCCountResponse);
|
||||||
|
|
||||||
// 列出单页未读消息
|
// 列出单页未读消息
|
||||||
rpc listUnreadMessages (ListUnreadMessagesRequest) returns (ListUnreadMessagesResponse);
|
rpc listUnreadMessages (ListUnreadMessagesRequest) returns (ListUnreadMessagesResponse);
|
||||||
@@ -29,10 +29,6 @@ message CountUnreadMessagesRequest {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message CountUnreadMessagesResponse {
|
|
||||||
int64 count = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 列出单页未读消息
|
// 列出单页未读消息
|
||||||
message ListUnreadMessagesRequest {
|
message ListUnreadMessagesRequest {
|
||||||
int64 offset = 1;
|
int64 offset = 1;
|
||||||
|
|||||||
@@ -16,10 +16,10 @@ service NodeService {
|
|||||||
rpc registerClusterNode (RegisterClusterNodeRequest) returns (RegisterClusterNodeResponse);
|
rpc registerClusterNode (RegisterClusterNodeRequest) returns (RegisterClusterNodeResponse);
|
||||||
|
|
||||||
// 节点数量
|
// 节点数量
|
||||||
rpc countAllEnabledNodes (CountAllEnabledNodesRequest) returns (CountAllEnabledNodesResponse);
|
rpc countAllEnabledNodes (CountAllEnabledNodesRequest) returns (RPCCountResponse);
|
||||||
|
|
||||||
// 计算匹配的节点数量
|
// 计算匹配的节点数量
|
||||||
rpc countAllEnabledNodesMatch (CountAllEnabledNodesMatchRequest) returns (CountAllEnabledNodesMatchResponse);
|
rpc countAllEnabledNodesMatch (CountAllEnabledNodesMatchRequest) returns (RPCCountResponse);
|
||||||
|
|
||||||
// 列出单页节点
|
// 列出单页节点
|
||||||
rpc listEnabledNodesMatch (ListEnabledNodesMatchRequest) returns (ListEnabledNodesMatchResponse);
|
rpc listEnabledNodesMatch (ListEnabledNodesMatchRequest) returns (ListEnabledNodesMatchResponse);
|
||||||
@@ -70,7 +70,7 @@ service NodeService {
|
|||||||
rpc updateNodeConnectedAPINodes (UpdateNodeConnectedAPINodesRequest) returns (RPCUpdateSuccess);
|
rpc updateNodeConnectedAPINodes (UpdateNodeConnectedAPINodesRequest) returns (RPCUpdateSuccess);
|
||||||
|
|
||||||
// 计算使用某个认证的节点数量
|
// 计算使用某个认证的节点数量
|
||||||
rpc countAllEnabledNodesWithGrantId (CountAllEnabledNodesWithGrantIdRequest) returns (CountAllEnabledNodesWithGrantIdResponse);
|
rpc countAllEnabledNodesWithGrantId (CountAllEnabledNodesWithGrantIdRequest) returns (RPCCountResponse);
|
||||||
|
|
||||||
// 查找使用某个认证的所有节点
|
// 查找使用某个认证的所有节点
|
||||||
rpc findAllEnabledNodesWithGrantId (FindAllEnabledNodesWithGrantIdRequest) returns (FindAllEnabledNodesWithGrantIdResponse);
|
rpc findAllEnabledNodesWithGrantId (FindAllEnabledNodesWithGrantIdRequest) returns (FindAllEnabledNodesWithGrantIdResponse);
|
||||||
@@ -88,7 +88,7 @@ service NodeService {
|
|||||||
rpc updateNodeLogin (UpdateNodeLoginRequest) returns (RPCUpdateSuccess);
|
rpc updateNodeLogin (UpdateNodeLoginRequest) returns (RPCUpdateSuccess);
|
||||||
|
|
||||||
// 计算某个节点分组内的节点数量
|
// 计算某个节点分组内的节点数量
|
||||||
rpc countAllEnabledNodesWithGroupId (CountAllEnabledNodesWithGroupIdRequest) returns (CountAllEnabledNodesWithGroupIdResponse);
|
rpc countAllEnabledNodesWithGroupId (CountAllEnabledNodesWithGroupIdRequest) returns (RPCCountResponse);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 创建节点
|
// 创建节点
|
||||||
@@ -119,10 +119,6 @@ message CountAllEnabledNodesRequest {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message CountAllEnabledNodesResponse {
|
|
||||||
int64 count = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 列出单页节点
|
// 列出单页节点
|
||||||
message ListEnabledNodesMatchRequest {
|
message ListEnabledNodesMatchRequest {
|
||||||
int64 offset = 1;
|
int64 offset = 1;
|
||||||
@@ -219,10 +215,6 @@ message CountAllEnabledNodesMatchRequest {
|
|||||||
int64 groupId = 5;
|
int64 groupId = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
message CountAllEnabledNodesMatchResponse {
|
|
||||||
int64 count = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 修改节点安装状态
|
// 修改节点安装状态
|
||||||
message UpdateNodeIsInstalledRequest {
|
message UpdateNodeIsInstalledRequest {
|
||||||
int64 nodeId = 1;
|
int64 nodeId = 1;
|
||||||
@@ -276,10 +268,6 @@ message CountAllEnabledNodesWithGrantIdRequest {
|
|||||||
int64 grantId = 1;
|
int64 grantId = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message CountAllEnabledNodesWithGrantIdResponse {
|
|
||||||
int64 count = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 查找使用某个认证的所有节点
|
// 查找使用某个认证的所有节点
|
||||||
message FindAllEnabledNodesWithGrantIdRequest {
|
message FindAllEnabledNodesWithGrantIdRequest {
|
||||||
int64 grantId = 1;
|
int64 grantId = 1;
|
||||||
@@ -334,7 +322,3 @@ message UpdateNodeLoginRequest {
|
|||||||
message CountAllEnabledNodesWithGroupIdRequest {
|
message CountAllEnabledNodesWithGroupIdRequest {
|
||||||
int64 groupId = 1;
|
int64 groupId = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message CountAllEnabledNodesWithGroupIdResponse {
|
|
||||||
int64 count = 1;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import "model_node_cluster.proto";
|
|||||||
import "model_api_node.proto";
|
import "model_api_node.proto";
|
||||||
import "model_node.proto";
|
import "model_node.proto";
|
||||||
import "rpc_messages.proto";
|
import "rpc_messages.proto";
|
||||||
|
import "model_dns_domain.proto";
|
||||||
import "model_dns_provider.proto";
|
import "model_dns_provider.proto";
|
||||||
|
|
||||||
service NodeClusterService {
|
service NodeClusterService {
|
||||||
@@ -32,7 +33,7 @@ service NodeClusterService {
|
|||||||
rpc findAllChangedNodeClusters (FindAllChangedNodeClustersRequest) returns (FindAllChangedNodeClustersResponse);
|
rpc findAllChangedNodeClusters (FindAllChangedNodeClustersRequest) returns (FindAllChangedNodeClustersResponse);
|
||||||
|
|
||||||
// 计算所有集群数量
|
// 计算所有集群数量
|
||||||
rpc countAllEnabledNodeClusters (CountAllEnabledNodeClustersRequest) returns (CountAllEnabledNodeClustersResponse);
|
rpc countAllEnabledNodeClusters (CountAllEnabledNodeClustersRequest) returns (RPCCountResponse);
|
||||||
|
|
||||||
// 列出单页集群
|
// 列出单页集群
|
||||||
rpc listEnabledNodeClusters (ListEnabledNodeClustersRequest) returns (ListEnabledNodeClustersResponse);
|
rpc listEnabledNodeClusters (ListEnabledNodeClustersRequest) returns (ListEnabledNodeClustersResponse);
|
||||||
@@ -47,7 +48,7 @@ service NodeClusterService {
|
|||||||
rpc executeNodeClusterHealthCheck (ExecuteNodeClusterHealthCheckRequest) returns (ExecuteNodeClusterHealthCheckResponse);
|
rpc executeNodeClusterHealthCheck (ExecuteNodeClusterHealthCheckRequest) returns (ExecuteNodeClusterHealthCheckResponse);
|
||||||
|
|
||||||
// 计算使用某个认证的集群数量
|
// 计算使用某个认证的集群数量
|
||||||
rpc countAllEnabledNodeClustersWithGrantId (CountAllEnabledNodeClustersWithGrantIdRequest) returns (CountAllEnabledNodeClustersWithGrantIdResponse);
|
rpc countAllEnabledNodeClustersWithGrantId (CountAllEnabledNodeClustersWithGrantIdRequest) returns (RPCCountResponse);
|
||||||
|
|
||||||
// 查找使用某个认证的所有集群
|
// 查找使用某个认证的所有集群
|
||||||
rpc findAllEnabledNodeClustersWithGrantId (FindAllEnabledNodeClustersWithGrantIdRequest) returns (FindAllEnabledNodeClustersWithGrantIdResponse);
|
rpc findAllEnabledNodeClustersWithGrantId (FindAllEnabledNodeClustersWithGrantIdRequest) returns (FindAllEnabledNodeClustersWithGrantIdResponse);
|
||||||
@@ -56,7 +57,10 @@ service NodeClusterService {
|
|||||||
rpc findEnabledNodeClusterDNS (FindEnabledNodeClusterDNSRequest) returns (FindEnabledNodeClusterDNSResponse);
|
rpc findEnabledNodeClusterDNS (FindEnabledNodeClusterDNSRequest) returns (FindEnabledNodeClusterDNSResponse);
|
||||||
|
|
||||||
// 计算使用某个DNS服务商的集群数量
|
// 计算使用某个DNS服务商的集群数量
|
||||||
rpc countAllEnabledNodeClustersWithDNSProviderId (CountAllEnabledNodeClustersWithDNSProviderIdRequest) returns (CountAllEnabledNodeClustersWithDNSProviderIdResponse);
|
rpc countAllEnabledNodeClustersWithDNSProviderId (CountAllEnabledNodeClustersWithDNSProviderIdRequest) returns (RPCCountResponse);
|
||||||
|
|
||||||
|
// 计算使用某个DNS域名的集群数量
|
||||||
|
rpc countAllEnabledNodeClustersWithDNSDomainId (CountAllEnabledNodeClustersWithDNSDomainIdRequest) returns (RPCCountResponse);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取所有集群的信息
|
// 获取所有集群的信息
|
||||||
@@ -125,10 +129,6 @@ message CountAllEnabledNodeClustersRequest {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message CountAllEnabledNodeClustersResponse {
|
|
||||||
int64 count = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 列出单页集群
|
// 列出单页集群
|
||||||
message ListEnabledNodeClustersRequest {
|
message ListEnabledNodeClustersRequest {
|
||||||
int64 offset = 1;
|
int64 offset = 1;
|
||||||
@@ -176,10 +176,6 @@ message CountAllEnabledNodeClustersWithGrantIdRequest {
|
|||||||
int64 grantId = 1;
|
int64 grantId = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message CountAllEnabledNodeClustersWithGrantIdResponse {
|
|
||||||
int64 count = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 查找使用某个认证的所有集群
|
// 查找使用某个认证的所有集群
|
||||||
message FindAllEnabledNodeClustersWithGrantIdRequest {
|
message FindAllEnabledNodeClustersWithGrantIdRequest {
|
||||||
int64 grantId = 1;
|
int64 grantId = 1;
|
||||||
@@ -196,7 +192,7 @@ message FindEnabledNodeClusterDNSRequest {
|
|||||||
|
|
||||||
message FindEnabledNodeClusterDNSResponse {
|
message FindEnabledNodeClusterDNSResponse {
|
||||||
string name = 1;
|
string name = 1;
|
||||||
string domain = 2;
|
DNSDomain domain = 2;
|
||||||
DNSProvider provider = 3;
|
DNSProvider provider = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -205,6 +201,7 @@ message CountAllEnabledNodeClustersWithDNSProviderIdRequest {
|
|||||||
int64 dnsProviderId = 1;
|
int64 dnsProviderId = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message CountAllEnabledNodeClustersWithDNSProviderIdResponse {
|
// 计算使用某个DNS域名的集群数量
|
||||||
int64 count = 1;
|
message CountAllEnabledNodeClustersWithDNSDomainIdRequest {
|
||||||
|
int64 dnsDomainId = 1;
|
||||||
}
|
}
|
||||||
@@ -16,7 +16,7 @@ service NodeGrantService {
|
|||||||
rpc disableNodeGrant (DisableNodeGrantRequest) returns (DisableNodeGrantResponse);
|
rpc disableNodeGrant (DisableNodeGrantRequest) returns (DisableNodeGrantResponse);
|
||||||
|
|
||||||
// 计算认证的数量
|
// 计算认证的数量
|
||||||
rpc countAllEnabledNodeGrants (CountAllEnabledNodeGrantsRequest) returns (CountAllEnabledNodeGrantsResponse);
|
rpc countAllEnabledNodeGrants (CountAllEnabledNodeGrantsRequest) returns (RPCCountResponse);
|
||||||
|
|
||||||
// 列出单页认证
|
// 列出单页认证
|
||||||
rpc ListEnabledNodeGrants (ListEnabledNodeGrantsRequest) returns (ListEnabledNodeGrantsResponse);
|
rpc ListEnabledNodeGrants (ListEnabledNodeGrantsRequest) returns (ListEnabledNodeGrantsResponse);
|
||||||
@@ -69,10 +69,6 @@ message CountAllEnabledNodeGrantsRequest {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message CountAllEnabledNodeGrantsResponse {
|
|
||||||
int64 count = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 列出单页认证
|
// 列出单页认证
|
||||||
message ListEnabledNodeGrantsRequest {
|
message ListEnabledNodeGrantsRequest {
|
||||||
int64 offset = 1;
|
int64 offset = 1;
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ option go_package = "./pb";
|
|||||||
|
|
||||||
package pb;
|
package pb;
|
||||||
|
|
||||||
|
import "rpc_messages.proto";
|
||||||
import "model_node_log.proto";
|
import "model_node_log.proto";
|
||||||
|
|
||||||
// 节点日志相关服务
|
// 节点日志相关服务
|
||||||
@@ -11,7 +12,7 @@ service NodeLogService {
|
|||||||
rpc createNodeLogs (CreateNodeLogsRequest) returns (CreateNodeLogsResponse);
|
rpc createNodeLogs (CreateNodeLogsRequest) returns (CreateNodeLogsResponse);
|
||||||
|
|
||||||
// 查询日志数量
|
// 查询日志数量
|
||||||
rpc countNodeLogs (CountNodeLogsRequest) returns (CountNodeLogsResponse);
|
rpc countNodeLogs (CountNodeLogsRequest) returns (RPCCountResponse);
|
||||||
|
|
||||||
// 列出单页日志
|
// 列出单页日志
|
||||||
rpc listNodeLogs (ListNodeLogsRequest) returns (ListNodeLogsResponse);
|
rpc listNodeLogs (ListNodeLogsRequest) returns (ListNodeLogsResponse);
|
||||||
@@ -32,10 +33,6 @@ message CountNodeLogsRequest {
|
|||||||
string role = 2;
|
string role = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message CountNodeLogsResponse {
|
|
||||||
int64 count = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 列出单页日志
|
// 列出单页日志
|
||||||
message ListNodeLogsRequest {
|
message ListNodeLogsRequest {
|
||||||
int64 nodeId = 1;
|
int64 nodeId = 1;
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ service ServerService {
|
|||||||
rpc updateServerNames (UpdateServerNamesRequest) returns (RPCUpdateSuccess);
|
rpc updateServerNames (UpdateServerNamesRequest) returns (RPCUpdateSuccess);
|
||||||
|
|
||||||
// 计算匹配的服务数量
|
// 计算匹配的服务数量
|
||||||
rpc countAllEnabledServersMatch (CountAllEnabledServersMatchRequest) returns (CountAllEnabledServersMatchResponse);
|
rpc countAllEnabledServersMatch (CountAllEnabledServersMatchRequest) returns (RPCCountResponse);
|
||||||
|
|
||||||
// 列出单页服务
|
// 列出单页服务
|
||||||
rpc listEnabledServersMatch (ListEnabledServersMatchRequest) returns (ListEnabledServersMatchResponse);
|
rpc listEnabledServersMatch (ListEnabledServersMatchRequest) returns (ListEnabledServersMatchResponse);
|
||||||
@@ -62,28 +62,28 @@ service ServerService {
|
|||||||
rpc findAndInitServerWebConfig (FindAndInitServerWebConfigRequest) returns (FindAndInitServerWebConfigResponse);
|
rpc findAndInitServerWebConfig (FindAndInitServerWebConfigRequest) returns (FindAndInitServerWebConfigResponse);
|
||||||
|
|
||||||
// 计算使用某个SSL证书的服务数量
|
// 计算使用某个SSL证书的服务数量
|
||||||
rpc countAllEnabledServersWithSSLCertId (CountAllEnabledServersWithSSLCertIdRequest) returns (CountAllEnabledServersWithSSLCertIdResponse);
|
rpc countAllEnabledServersWithSSLCertId (CountAllEnabledServersWithSSLCertIdRequest) returns (RPCCountResponse);
|
||||||
|
|
||||||
// 查找使用某个SSL证书的所有服务
|
// 查找使用某个SSL证书的所有服务
|
||||||
rpc findAllEnabledServersWithSSLCertId (FindAllEnabledServersWithSSLCertIdRequest) returns (FindAllEnabledServersWithSSLCertIdResponse);
|
rpc findAllEnabledServersWithSSLCertId (FindAllEnabledServersWithSSLCertIdRequest) returns (FindAllEnabledServersWithSSLCertIdResponse);
|
||||||
|
|
||||||
// 计算使用某个缓存策略的服务数量
|
// 计算使用某个缓存策略的服务数量
|
||||||
rpc countAllEnabledServersWithCachePolicyId (CountAllEnabledServersWithCachePolicyIdRequest) returns (CountAllEnabledServersWithCachePolicyIdResponse);
|
rpc countAllEnabledServersWithCachePolicyId (CountAllEnabledServersWithCachePolicyIdRequest) returns (RPCCountResponse);
|
||||||
|
|
||||||
// 查找使用某个缓存策略的所有服务
|
// 查找使用某个缓存策略的所有服务
|
||||||
rpc findAllEnabledServersWithCachePolicyId (FindAllEnabledServersWithCachePolicyIdRequest) returns (FindAllEnabledServersWithCachePolicyIdResponse);
|
rpc findAllEnabledServersWithCachePolicyId (FindAllEnabledServersWithCachePolicyIdRequest) returns (FindAllEnabledServersWithCachePolicyIdResponse);
|
||||||
|
|
||||||
// 计算使用某个WAF策略的服务数量
|
// 计算使用某个WAF策略的服务数量
|
||||||
rpc countAllEnabledServersWithHTTPFirewallPolicyId (CountAllEnabledServersWithHTTPFirewallPolicyIdRequest) returns (CountAllEnabledServersWithHTTPFirewallPolicyIdResponse);
|
rpc countAllEnabledServersWithHTTPFirewallPolicyId (CountAllEnabledServersWithHTTPFirewallPolicyIdRequest) returns (RPCCountResponse);
|
||||||
|
|
||||||
// 查找使用WAF策略的所有服务
|
// 查找使用WAF策略的所有服务
|
||||||
rpc findAllEnabledServersWithHTTPFirewallPolicyId (FindAllEnabledServersWithHTTPFirewallPolicyIdRequest) returns (FindAllEnabledServersWithHTTPFirewallPolicyIdResponse);
|
rpc findAllEnabledServersWithHTTPFirewallPolicyId (FindAllEnabledServersWithHTTPFirewallPolicyIdRequest) returns (FindAllEnabledServersWithHTTPFirewallPolicyIdResponse);
|
||||||
|
|
||||||
// 计算运行在某个集群上的所有服务数量
|
// 计算运行在某个集群上的所有服务数量
|
||||||
rpc countAllEnabledServersWithNodeClusterId (CountAllEnabledServersWithNodeClusterIdRequest) returns (CountAllEnabledServersWithNodeClusterIdResponse);
|
rpc countAllEnabledServersWithNodeClusterId (CountAllEnabledServersWithNodeClusterIdRequest) returns (RPCCountResponse);
|
||||||
|
|
||||||
// 计算使用某个分组的服务数量
|
// 计算使用某个分组的服务数量
|
||||||
rpc countAllEnabledServersWithGroupId (CountAllEnabledServersWithGroupIdRequest) returns (CountAllEnabledServersWithGroupIdResponse);
|
rpc countAllEnabledServersWithGroupId (CountAllEnabledServersWithGroupIdRequest) returns (RPCCountResponse);
|
||||||
|
|
||||||
// 通知更新
|
// 通知更新
|
||||||
rpc notifyServersChange (NotifyServersChangeRequest) returns (NotifyServersChangeResponse);
|
rpc notifyServersChange (NotifyServersChangeRequest) returns (NotifyServersChangeResponse);
|
||||||
@@ -180,10 +180,6 @@ message CountAllEnabledServersMatchRequest {
|
|||||||
string keyword = 2;
|
string keyword = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message CountAllEnabledServersMatchResponse {
|
|
||||||
int64 count = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 列出单页服务
|
// 列出单页服务
|
||||||
message ListEnabledServersMatchRequest {
|
message ListEnabledServersMatchRequest {
|
||||||
int64 offset = 1;
|
int64 offset = 1;
|
||||||
@@ -247,10 +243,6 @@ message CountAllEnabledServersWithSSLCertIdRequest {
|
|||||||
int64 certId = 1;
|
int64 certId = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message CountAllEnabledServersWithSSLCertIdResponse {
|
|
||||||
int64 count = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 查找使用某个SSL证书的所有服务
|
// 查找使用某个SSL证书的所有服务
|
||||||
message FindAllEnabledServersWithSSLCertIdRequest {
|
message FindAllEnabledServersWithSSLCertIdRequest {
|
||||||
int64 certId = 1;
|
int64 certId = 1;
|
||||||
@@ -265,10 +257,6 @@ message CountAllEnabledServersWithCachePolicyIdRequest {
|
|||||||
int64 cachePolicyId = 1;
|
int64 cachePolicyId = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message CountAllEnabledServersWithCachePolicyIdResponse {
|
|
||||||
int64 count = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 查找使用某个缓存策略的所有服务
|
// 查找使用某个缓存策略的所有服务
|
||||||
message FindAllEnabledServersWithCachePolicyIdRequest {
|
message FindAllEnabledServersWithCachePolicyIdRequest {
|
||||||
int64 cachePolicyId = 1;
|
int64 cachePolicyId = 1;
|
||||||
@@ -283,10 +271,6 @@ message CountAllEnabledServersWithHTTPFirewallPolicyIdRequest {
|
|||||||
int64 firewallPolicyId = 1;
|
int64 firewallPolicyId = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message CountAllEnabledServersWithHTTPFirewallPolicyIdResponse {
|
|
||||||
int64 count = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 查找使用某个WAF策略的所有服务
|
// 查找使用某个WAF策略的所有服务
|
||||||
message FindAllEnabledServersWithHTTPFirewallPolicyIdRequest {
|
message FindAllEnabledServersWithHTTPFirewallPolicyIdRequest {
|
||||||
int64 firewallPolicyId = 1;
|
int64 firewallPolicyId = 1;
|
||||||
@@ -301,19 +285,11 @@ message CountAllEnabledServersWithNodeClusterIdRequest {
|
|||||||
int64 nodeClusterId = 1;
|
int64 nodeClusterId = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message CountAllEnabledServersWithNodeClusterIdResponse {
|
|
||||||
int64 count = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 计算使用某个分组的服务数量
|
// 计算使用某个分组的服务数量
|
||||||
message CountAllEnabledServersWithGroupIdRequest {
|
message CountAllEnabledServersWithGroupIdRequest {
|
||||||
int64 groupId = 1;
|
int64 groupId = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message CountAllEnabledServersWithGroupIdResponse {
|
|
||||||
int64 count = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 通知更新
|
// 通知更新
|
||||||
message NotifyServersChangeRequest {
|
message NotifyServersChangeRequest {
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ service SSLCertService {
|
|||||||
rpc findEnabledSSLCertConfig (FindEnabledSSLCertConfigRequest) returns (FindEnabledSSLCertConfigResponse);
|
rpc findEnabledSSLCertConfig (FindEnabledSSLCertConfigRequest) returns (FindEnabledSSLCertConfigResponse);
|
||||||
|
|
||||||
// 计算匹配的Cert数量
|
// 计算匹配的Cert数量
|
||||||
rpc countSSLCerts (CountSSLCertRequest) returns (CountSSLCertResponse);
|
rpc countSSLCerts (CountSSLCertRequest) returns (RPCCountResponse);
|
||||||
|
|
||||||
// 列出单页匹配的Cert
|
// 列出单页匹配的Cert
|
||||||
rpc listSSLCerts (ListSSLCertsRequest) returns (ListSSLCertsResponse);
|
rpc listSSLCerts (ListSSLCertsRequest) returns (ListSSLCertsResponse);
|
||||||
@@ -83,10 +83,6 @@ message CountSSLCertRequest {
|
|||||||
string keyword = 5;
|
string keyword = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
message CountSSLCertResponse {
|
|
||||||
int64 count = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 列出单页匹配的Cert
|
// 列出单页匹配的Cert
|
||||||
message ListSSLCertsRequest {
|
message ListSSLCertsRequest {
|
||||||
bool isCA = 1;
|
bool isCA = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user