mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-10 17:30:27 +08:00
简化代码/增加HTTPPage服务
This commit is contained in:
136
pkg/rpc/pb/rpc_messages.pb.go
Normal file
136
pkg/rpc/pb/rpc_messages.pb.go
Normal file
@@ -0,0 +1,136 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.25.0
|
||||
// protoc v3.12.3
|
||||
// source: rpc_messages.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 RPCUpdateSuccess struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *RPCUpdateSuccess) Reset() {
|
||||
*x = RPCUpdateSuccess{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_rpc_messages_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *RPCUpdateSuccess) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*RPCUpdateSuccess) ProtoMessage() {}
|
||||
|
||||
func (x *RPCUpdateSuccess) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_rpc_messages_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 RPCUpdateSuccess.ProtoReflect.Descriptor instead.
|
||||
func (*RPCUpdateSuccess) Descriptor() ([]byte, []int) {
|
||||
return file_rpc_messages_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
var File_rpc_messages_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_rpc_messages_proto_rawDesc = []byte{
|
||||
0x0a, 0x12, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70,
|
||||
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, 0x42, 0x06, 0x5a, 0x04,
|
||||
0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
file_rpc_messages_proto_rawDescOnce sync.Once
|
||||
file_rpc_messages_proto_rawDescData = file_rpc_messages_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_rpc_messages_proto_rawDescGZIP() []byte {
|
||||
file_rpc_messages_proto_rawDescOnce.Do(func() {
|
||||
file_rpc_messages_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_messages_proto_rawDescData)
|
||||
})
|
||||
return file_rpc_messages_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_rpc_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
||||
var file_rpc_messages_proto_goTypes = []interface{}{
|
||||
(*RPCUpdateSuccess)(nil), // 0: pb.RPCUpdateSuccess
|
||||
}
|
||||
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 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_rpc_messages_proto_init() }
|
||||
func file_rpc_messages_proto_init() {
|
||||
if File_rpc_messages_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_rpc_messages_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*RPCUpdateSuccess); 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_rpc_messages_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_rpc_messages_proto_goTypes,
|
||||
DependencyIndexes: file_rpc_messages_proto_depIdxs,
|
||||
MessageInfos: file_rpc_messages_proto_msgTypes,
|
||||
}.Build()
|
||||
File_rpc_messages_proto = out.File
|
||||
file_rpc_messages_proto_rawDesc = nil
|
||||
file_rpc_messages_proto_goTypes = nil
|
||||
file_rpc_messages_proto_depIdxs = nil
|
||||
}
|
||||
@@ -228,44 +228,6 @@ func (x *UpdateAPINodeRequest) GetPort() int32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
type UpdateAPINodeResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *UpdateAPINodeResponse) Reset() {
|
||||
*x = UpdateAPINodeResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_api_node_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateAPINodeResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateAPINodeResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateAPINodeResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_api_node_proto_msgTypes[3]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use UpdateAPINodeResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateAPINodeResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
// 删除API节点
|
||||
type DeleteAPINodeRequest struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -278,7 +240,7 @@ type DeleteAPINodeRequest struct {
|
||||
func (x *DeleteAPINodeRequest) Reset() {
|
||||
*x = DeleteAPINodeRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_api_node_proto_msgTypes[4]
|
||||
mi := &file_service_api_node_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -291,7 +253,7 @@ func (x *DeleteAPINodeRequest) String() string {
|
||||
func (*DeleteAPINodeRequest) ProtoMessage() {}
|
||||
|
||||
func (x *DeleteAPINodeRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_api_node_proto_msgTypes[4]
|
||||
mi := &file_service_api_node_proto_msgTypes[3]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -304,7 +266,7 @@ func (x *DeleteAPINodeRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use DeleteAPINodeRequest.ProtoReflect.Descriptor instead.
|
||||
func (*DeleteAPINodeRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{4}
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *DeleteAPINodeRequest) GetNodeId() int64 {
|
||||
@@ -323,7 +285,7 @@ type DeleteAPINodeResponse struct {
|
||||
func (x *DeleteAPINodeResponse) Reset() {
|
||||
*x = DeleteAPINodeResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_api_node_proto_msgTypes[5]
|
||||
mi := &file_service_api_node_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -336,7 +298,7 @@ func (x *DeleteAPINodeResponse) String() string {
|
||||
func (*DeleteAPINodeResponse) ProtoMessage() {}
|
||||
|
||||
func (x *DeleteAPINodeResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_api_node_proto_msgTypes[5]
|
||||
mi := &file_service_api_node_proto_msgTypes[4]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -349,7 +311,7 @@ func (x *DeleteAPINodeResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use DeleteAPINodeResponse.ProtoReflect.Descriptor instead.
|
||||
func (*DeleteAPINodeResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{5}
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
// 列出所有可用API节点
|
||||
@@ -362,7 +324,7 @@ type FindAllEnabledAPINodesRequest struct {
|
||||
func (x *FindAllEnabledAPINodesRequest) Reset() {
|
||||
*x = FindAllEnabledAPINodesRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_api_node_proto_msgTypes[6]
|
||||
mi := &file_service_api_node_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -375,7 +337,7 @@ func (x *FindAllEnabledAPINodesRequest) String() string {
|
||||
func (*FindAllEnabledAPINodesRequest) ProtoMessage() {}
|
||||
|
||||
func (x *FindAllEnabledAPINodesRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_api_node_proto_msgTypes[6]
|
||||
mi := &file_service_api_node_proto_msgTypes[5]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -388,7 +350,7 @@ func (x *FindAllEnabledAPINodesRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FindAllEnabledAPINodesRequest.ProtoReflect.Descriptor instead.
|
||||
func (*FindAllEnabledAPINodesRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{6}
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
type FindAllEnabledAPINodesResponse struct {
|
||||
@@ -402,7 +364,7 @@ type FindAllEnabledAPINodesResponse struct {
|
||||
func (x *FindAllEnabledAPINodesResponse) Reset() {
|
||||
*x = FindAllEnabledAPINodesResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_api_node_proto_msgTypes[7]
|
||||
mi := &file_service_api_node_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -415,7 +377,7 @@ func (x *FindAllEnabledAPINodesResponse) String() string {
|
||||
func (*FindAllEnabledAPINodesResponse) ProtoMessage() {}
|
||||
|
||||
func (x *FindAllEnabledAPINodesResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_api_node_proto_msgTypes[7]
|
||||
mi := &file_service_api_node_proto_msgTypes[6]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -428,7 +390,7 @@ func (x *FindAllEnabledAPINodesResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FindAllEnabledAPINodesResponse.ProtoReflect.Descriptor instead.
|
||||
func (*FindAllEnabledAPINodesResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{7}
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *FindAllEnabledAPINodesResponse) GetNodes() []*APINode {
|
||||
@@ -448,7 +410,7 @@ type CountAllEnabledAPINodesRequest struct {
|
||||
func (x *CountAllEnabledAPINodesRequest) Reset() {
|
||||
*x = CountAllEnabledAPINodesRequest{}
|
||||
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.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -461,7 +423,7 @@ func (x *CountAllEnabledAPINodesRequest) String() string {
|
||||
func (*CountAllEnabledAPINodesRequest) ProtoMessage() {}
|
||||
|
||||
func (x *CountAllEnabledAPINodesRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_api_node_proto_msgTypes[8]
|
||||
mi := &file_service_api_node_proto_msgTypes[7]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -474,7 +436,7 @@ func (x *CountAllEnabledAPINodesRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CountAllEnabledAPINodesRequest.ProtoReflect.Descriptor instead.
|
||||
func (*CountAllEnabledAPINodesRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{8}
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
type CountAllEnabledAPINodesResponse struct {
|
||||
@@ -488,7 +450,7 @@ type CountAllEnabledAPINodesResponse struct {
|
||||
func (x *CountAllEnabledAPINodesResponse) Reset() {
|
||||
*x = CountAllEnabledAPINodesResponse{}
|
||||
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.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -501,7 +463,7 @@ func (x *CountAllEnabledAPINodesResponse) String() string {
|
||||
func (*CountAllEnabledAPINodesResponse) ProtoMessage() {}
|
||||
|
||||
func (x *CountAllEnabledAPINodesResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_api_node_proto_msgTypes[9]
|
||||
mi := &file_service_api_node_proto_msgTypes[8]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -514,7 +476,7 @@ func (x *CountAllEnabledAPINodesResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CountAllEnabledAPINodesResponse.ProtoReflect.Descriptor instead.
|
||||
func (*CountAllEnabledAPINodesResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{9}
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *CountAllEnabledAPINodesResponse) GetCount() int64 {
|
||||
@@ -537,7 +499,7 @@ type ListEnabledAPINodesRequest struct {
|
||||
func (x *ListEnabledAPINodesRequest) Reset() {
|
||||
*x = ListEnabledAPINodesRequest{}
|
||||
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.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -550,7 +512,7 @@ func (x *ListEnabledAPINodesRequest) String() string {
|
||||
func (*ListEnabledAPINodesRequest) ProtoMessage() {}
|
||||
|
||||
func (x *ListEnabledAPINodesRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_api_node_proto_msgTypes[10]
|
||||
mi := &file_service_api_node_proto_msgTypes[9]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -563,7 +525,7 @@ func (x *ListEnabledAPINodesRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListEnabledAPINodesRequest.ProtoReflect.Descriptor instead.
|
||||
func (*ListEnabledAPINodesRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{10}
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *ListEnabledAPINodesRequest) GetOffset() int64 {
|
||||
@@ -591,7 +553,7 @@ type ListEnabledAPINodesResponse struct {
|
||||
func (x *ListEnabledAPINodesResponse) Reset() {
|
||||
*x = ListEnabledAPINodesResponse{}
|
||||
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.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -604,7 +566,7 @@ func (x *ListEnabledAPINodesResponse) String() string {
|
||||
func (*ListEnabledAPINodesResponse) ProtoMessage() {}
|
||||
|
||||
func (x *ListEnabledAPINodesResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_api_node_proto_msgTypes[11]
|
||||
mi := &file_service_api_node_proto_msgTypes[10]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -617,7 +579,7 @@ func (x *ListEnabledAPINodesResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListEnabledAPINodesResponse.ProtoReflect.Descriptor instead.
|
||||
func (*ListEnabledAPINodesResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{11}
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{10}
|
||||
}
|
||||
|
||||
func (x *ListEnabledAPINodesResponse) GetNodes() []*APINode {
|
||||
@@ -639,7 +601,7 @@ type FindEnabledAPINodeRequest struct {
|
||||
func (x *FindEnabledAPINodeRequest) Reset() {
|
||||
*x = FindEnabledAPINodeRequest{}
|
||||
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.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -652,7 +614,7 @@ func (x *FindEnabledAPINodeRequest) String() string {
|
||||
func (*FindEnabledAPINodeRequest) ProtoMessage() {}
|
||||
|
||||
func (x *FindEnabledAPINodeRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_api_node_proto_msgTypes[12]
|
||||
mi := &file_service_api_node_proto_msgTypes[11]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -665,7 +627,7 @@ func (x *FindEnabledAPINodeRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FindEnabledAPINodeRequest.ProtoReflect.Descriptor instead.
|
||||
func (*FindEnabledAPINodeRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{12}
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{11}
|
||||
}
|
||||
|
||||
func (x *FindEnabledAPINodeRequest) GetNodeId() int64 {
|
||||
@@ -686,7 +648,7 @@ type FindEnabledAPINodeResponse struct {
|
||||
func (x *FindEnabledAPINodeResponse) Reset() {
|
||||
*x = FindEnabledAPINodeResponse{}
|
||||
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.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -699,7 +661,7 @@ func (x *FindEnabledAPINodeResponse) String() string {
|
||||
func (*FindEnabledAPINodeResponse) ProtoMessage() {}
|
||||
|
||||
func (x *FindEnabledAPINodeResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_api_node_proto_msgTypes[13]
|
||||
mi := &file_service_api_node_proto_msgTypes[12]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -712,7 +674,7 @@ func (x *FindEnabledAPINodeResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FindEnabledAPINodeResponse.ProtoReflect.Descriptor instead.
|
||||
func (*FindEnabledAPINodeResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{13}
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{12}
|
||||
}
|
||||
|
||||
func (x *FindEnabledAPINodeResponse) GetNode() *APINode {
|
||||
@@ -728,99 +690,98 @@ var file_service_api_node_proto_rawDesc = []byte{
|
||||
0x0a, 0x16, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x6e, 0x6f,
|
||||
0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x14, 0x6d, 0x6f,
|
||||
0x64, 0x65, 0x6c, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x22, 0x74, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e,
|
||||
0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
|
||||
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20,
|
||||
0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
||||
0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01,
|
||||
0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x2f, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61,
|
||||
0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 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, 0x8c, 0x01, 0x0a, 0x14, 0x55, 0x70,
|
||||
0x64, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 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, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
|
||||
0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20,
|
||||
0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
||||
0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01,
|
||||
0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x17, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x22, 0x2e, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49, 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, 0x17, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f,
|
||||
0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 0x0a, 0x1d, 0x46, 0x69,
|
||||
0x6e, 0x64, 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, 0x22, 0x43, 0x0a, 0x1e, 0x46,
|
||||
0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49,
|
||||
0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a,
|
||||
0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 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, 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, 0x6c, 0x45, 0x6e,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 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, 0x48, 0x0a, 0x1a, 0x4c,
|
||||
0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64,
|
||||
0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66,
|
||||
0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65,
|
||||
0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x40, 0x0a, 0x1b, 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, 0x65, 0x12, 0x21, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20,
|
||||
0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65,
|
||||
0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x33, 0x0a, 0x19, 0x46, 0x69, 0x6e, 0x64, 0x45,
|
||||
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71,
|
||||
0x74, 0x6f, 0x1a, 0x12, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73,
|
||||
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x74, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
|
||||
0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12,
|
||||
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
|
||||
0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74,
|
||||
0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x2f, 0x0a, 0x15,
|
||||
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 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, 0x8c, 0x01,
|
||||
0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 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, 0x12, 0x12,
|
||||
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
|
||||
0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74,
|
||||
0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x2e, 0x0a, 0x14,
|
||||
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49, 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, 0x3d, 0x0a, 0x1a,
|
||||
0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f,
|
||||
0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x04, 0x6e, 0x6f,
|
||||
0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x50,
|
||||
0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x32, 0xd4, 0x04, 0x0a, 0x0e,
|
||||
0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x44,
|
||||
0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x12,
|
||||
0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f,
|
||||
0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43,
|
||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x50,
|
||||
0x49, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
|
||||
0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||
0x19, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f,
|
||||
0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x64, 0x65,
|
||||
0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x62,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x17, 0x0a, 0x15,
|
||||
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 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, 0x22, 0x43, 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c,
|
||||
0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65,
|
||||
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 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, 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, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
||||
0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 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, 0x48, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04,
|
||||
0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65,
|
||||
0x22, 0x40, 0x0a, 0x1b, 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, 0x65, 0x12,
|
||||
0x21, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b,
|
||||
0x2e, 0x70, 0x62, 0x2e, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64,
|
||||
0x65, 0x73, 0x22, 0x33, 0x0a, 0x19, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
||||
0x64, 0x41, 0x50, 0x49, 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, 0x3d, 0x0a, 0x1a, 0x46, 0x69, 0x6e, 0x64, 0x45,
|
||||
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65,
|
||||
0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x32, 0xcf, 0x04, 0x0a, 0x0e, 0x41, 0x50, 0x49, 0x4e, 0x6f,
|
||||
0x64, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x63, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
|
||||
0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||
0x3f, 0x0a, 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65,
|
||||
0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 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, 0x44, 0x0a, 0x0d, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64,
|
||||
0x65, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49,
|
||||
0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74,
|
||||
0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x12, 0x5f, 0x0a, 0x16, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
||||
0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x46, 0x69, 0x6e, 0x64, 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, 0x22, 0x2e,
|
||||
0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
||||
0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x12, 0x62, 0x0a, 0x17, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61,
|
||||
0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x22, 0x2e, 0x70,
|
||||
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, 0x23, 0x2e, 0x70, 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, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x13, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61,
|
||||
0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x1e, 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, 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, 0x65, 0x12, 0x53, 0x0a,
|
||||
0x12, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e,
|
||||
0x6f, 0x64, 0x65, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61,
|
||||
0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62,
|
||||
0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 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,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x16, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c,
|
||||
0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73,
|
||||
0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 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, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c,
|
||||
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x63, 0x6f, 0x75, 0x6e, 0x74,
|
||||
0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64,
|
||||
0x65, 0x73, 0x12, 0x22, 0x2e, 0x70, 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, 0x23, 0x2e, 0x70, 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, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x13, 0x6c,
|
||||
0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64,
|
||||
0x65, 0x73, 0x12, 0x1e, 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, 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, 0x65, 0x12, 0x53, 0x0a, 0x12, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
||||
0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x46,
|
||||
0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64,
|
||||
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69,
|
||||
0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 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 (
|
||||
@@ -835,42 +796,42 @@ func file_service_api_node_proto_rawDescGZIP() []byte {
|
||||
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{}{
|
||||
(*CreateAPINodeRequest)(nil), // 0: pb.CreateAPINodeRequest
|
||||
(*CreateAPINodeResponse)(nil), // 1: pb.CreateAPINodeResponse
|
||||
(*UpdateAPINodeRequest)(nil), // 2: pb.UpdateAPINodeRequest
|
||||
(*UpdateAPINodeResponse)(nil), // 3: pb.UpdateAPINodeResponse
|
||||
(*DeleteAPINodeRequest)(nil), // 4: pb.DeleteAPINodeRequest
|
||||
(*DeleteAPINodeResponse)(nil), // 5: pb.DeleteAPINodeResponse
|
||||
(*FindAllEnabledAPINodesRequest)(nil), // 6: pb.FindAllEnabledAPINodesRequest
|
||||
(*FindAllEnabledAPINodesResponse)(nil), // 7: pb.FindAllEnabledAPINodesResponse
|
||||
(*CountAllEnabledAPINodesRequest)(nil), // 8: pb.CountAllEnabledAPINodesRequest
|
||||
(*CountAllEnabledAPINodesResponse)(nil), // 9: pb.CountAllEnabledAPINodesResponse
|
||||
(*ListEnabledAPINodesRequest)(nil), // 10: pb.ListEnabledAPINodesRequest
|
||||
(*ListEnabledAPINodesResponse)(nil), // 11: pb.ListEnabledAPINodesResponse
|
||||
(*FindEnabledAPINodeRequest)(nil), // 12: pb.FindEnabledAPINodeRequest
|
||||
(*FindEnabledAPINodeResponse)(nil), // 13: pb.FindEnabledAPINodeResponse
|
||||
(*APINode)(nil), // 14: pb.APINode
|
||||
(*DeleteAPINodeRequest)(nil), // 3: pb.DeleteAPINodeRequest
|
||||
(*DeleteAPINodeResponse)(nil), // 4: pb.DeleteAPINodeResponse
|
||||
(*FindAllEnabledAPINodesRequest)(nil), // 5: pb.FindAllEnabledAPINodesRequest
|
||||
(*FindAllEnabledAPINodesResponse)(nil), // 6: pb.FindAllEnabledAPINodesResponse
|
||||
(*CountAllEnabledAPINodesRequest)(nil), // 7: pb.CountAllEnabledAPINodesRequest
|
||||
(*CountAllEnabledAPINodesResponse)(nil), // 8: pb.CountAllEnabledAPINodesResponse
|
||||
(*ListEnabledAPINodesRequest)(nil), // 9: pb.ListEnabledAPINodesRequest
|
||||
(*ListEnabledAPINodesResponse)(nil), // 10: pb.ListEnabledAPINodesResponse
|
||||
(*FindEnabledAPINodeRequest)(nil), // 11: pb.FindEnabledAPINodeRequest
|
||||
(*FindEnabledAPINodeResponse)(nil), // 12: pb.FindEnabledAPINodeResponse
|
||||
(*APINode)(nil), // 13: pb.APINode
|
||||
(*RPCUpdateSuccess)(nil), // 14: pb.RPCUpdateSuccess
|
||||
}
|
||||
var file_service_api_node_proto_depIdxs = []int32{
|
||||
14, // 0: pb.FindAllEnabledAPINodesResponse.nodes:type_name -> pb.APINode
|
||||
14, // 1: pb.ListEnabledAPINodesResponse.nodes:type_name -> pb.APINode
|
||||
14, // 2: pb.FindEnabledAPINodeResponse.node:type_name -> pb.APINode
|
||||
13, // 0: pb.FindAllEnabledAPINodesResponse.nodes:type_name -> pb.APINode
|
||||
13, // 1: pb.ListEnabledAPINodesResponse.nodes:type_name -> pb.APINode
|
||||
13, // 2: pb.FindEnabledAPINodeResponse.node:type_name -> pb.APINode
|
||||
0, // 3: pb.APINodeService.createAPINode:input_type -> pb.CreateAPINodeRequest
|
||||
2, // 4: pb.APINodeService.updateAPINode:input_type -> pb.UpdateAPINodeRequest
|
||||
4, // 5: pb.APINodeService.deleteAPINode:input_type -> pb.DeleteAPINodeRequest
|
||||
6, // 6: pb.APINodeService.findAllEnabledAPINodes:input_type -> pb.FindAllEnabledAPINodesRequest
|
||||
8, // 7: pb.APINodeService.countAllEnabledAPINodes:input_type -> pb.CountAllEnabledAPINodesRequest
|
||||
10, // 8: pb.APINodeService.listEnabledAPINodes:input_type -> pb.ListEnabledAPINodesRequest
|
||||
12, // 9: pb.APINodeService.findEnabledAPINode:input_type -> pb.FindEnabledAPINodeRequest
|
||||
3, // 5: pb.APINodeService.deleteAPINode:input_type -> pb.DeleteAPINodeRequest
|
||||
5, // 6: pb.APINodeService.findAllEnabledAPINodes:input_type -> pb.FindAllEnabledAPINodesRequest
|
||||
7, // 7: pb.APINodeService.countAllEnabledAPINodes:input_type -> pb.CountAllEnabledAPINodesRequest
|
||||
9, // 8: pb.APINodeService.listEnabledAPINodes:input_type -> pb.ListEnabledAPINodesRequest
|
||||
11, // 9: pb.APINodeService.findEnabledAPINode:input_type -> pb.FindEnabledAPINodeRequest
|
||||
1, // 10: pb.APINodeService.createAPINode:output_type -> pb.CreateAPINodeResponse
|
||||
3, // 11: pb.APINodeService.updateAPINode:output_type -> pb.UpdateAPINodeResponse
|
||||
5, // 12: pb.APINodeService.deleteAPINode:output_type -> pb.DeleteAPINodeResponse
|
||||
7, // 13: pb.APINodeService.findAllEnabledAPINodes:output_type -> pb.FindAllEnabledAPINodesResponse
|
||||
9, // 14: pb.APINodeService.countAllEnabledAPINodes:output_type -> pb.CountAllEnabledAPINodesResponse
|
||||
11, // 15: pb.APINodeService.listEnabledAPINodes:output_type -> pb.ListEnabledAPINodesResponse
|
||||
13, // 16: pb.APINodeService.findEnabledAPINode:output_type -> pb.FindEnabledAPINodeResponse
|
||||
14, // 11: pb.APINodeService.updateAPINode:output_type -> pb.RPCUpdateSuccess
|
||||
4, // 12: pb.APINodeService.deleteAPINode:output_type -> pb.DeleteAPINodeResponse
|
||||
6, // 13: pb.APINodeService.findAllEnabledAPINodes:output_type -> pb.FindAllEnabledAPINodesResponse
|
||||
8, // 14: pb.APINodeService.countAllEnabledAPINodes:output_type -> pb.CountAllEnabledAPINodesResponse
|
||||
10, // 15: pb.APINodeService.listEnabledAPINodes:output_type -> pb.ListEnabledAPINodesResponse
|
||||
12, // 16: pb.APINodeService.findEnabledAPINode:output_type -> pb.FindEnabledAPINodeResponse
|
||||
10, // [10:17] is the sub-list for method output_type
|
||||
3, // [3:10] is the sub-list for method input_type
|
||||
3, // [3:3] is the sub-list for extension type_name
|
||||
@@ -884,6 +845,7 @@ func file_service_api_node_proto_init() {
|
||||
return
|
||||
}
|
||||
file_model_api_node_proto_init()
|
||||
file_rpc_messages_proto_init()
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_service_api_node_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CreateAPINodeRequest); i {
|
||||
@@ -922,18 +884,6 @@ func file_service_api_node_proto_init() {
|
||||
}
|
||||
}
|
||||
file_service_api_node_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateAPINodeResponse); 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[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*DeleteAPINodeRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -945,7 +895,7 @@ func file_service_api_node_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_api_node_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_api_node_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*DeleteAPINodeResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -957,7 +907,7 @@ func file_service_api_node_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_api_node_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_api_node_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindAllEnabledAPINodesRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -969,7 +919,7 @@ func file_service_api_node_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_api_node_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_api_node_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindAllEnabledAPINodesResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -981,7 +931,7 @@ func file_service_api_node_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_api_node_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_api_node_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CountAllEnabledAPINodesRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -993,7 +943,7 @@ func file_service_api_node_proto_init() {
|
||||
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.(*CountAllEnabledAPINodesResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1005,7 +955,7 @@ func file_service_api_node_proto_init() {
|
||||
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.(*ListEnabledAPINodesRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1017,7 +967,7 @@ func file_service_api_node_proto_init() {
|
||||
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.(*ListEnabledAPINodesResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1029,7 +979,7 @@ func file_service_api_node_proto_init() {
|
||||
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.(*FindEnabledAPINodeRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1041,7 +991,7 @@ func file_service_api_node_proto_init() {
|
||||
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.(*FindEnabledAPINodeResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1060,7 +1010,7 @@ func file_service_api_node_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_service_api_node_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 14,
|
||||
NumMessages: 13,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
@@ -1089,7 +1039,7 @@ type APINodeServiceClient interface {
|
||||
// 创建API节点
|
||||
CreateAPINode(ctx context.Context, in *CreateAPINodeRequest, opts ...grpc.CallOption) (*CreateAPINodeResponse, error)
|
||||
// 修改API节点
|
||||
UpdateAPINode(ctx context.Context, in *UpdateAPINodeRequest, opts ...grpc.CallOption) (*UpdateAPINodeResponse, error)
|
||||
UpdateAPINode(ctx context.Context, in *UpdateAPINodeRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||
// 删除API节点
|
||||
DeleteAPINode(ctx context.Context, in *DeleteAPINodeRequest, opts ...grpc.CallOption) (*DeleteAPINodeResponse, error)
|
||||
// 列出所有可用API节点
|
||||
@@ -1119,8 +1069,8 @@ func (c *aPINodeServiceClient) CreateAPINode(ctx context.Context, in *CreateAPIN
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *aPINodeServiceClient) UpdateAPINode(ctx context.Context, in *UpdateAPINodeRequest, opts ...grpc.CallOption) (*UpdateAPINodeResponse, error) {
|
||||
out := new(UpdateAPINodeResponse)
|
||||
func (c *aPINodeServiceClient) UpdateAPINode(ctx context.Context, in *UpdateAPINodeRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
||||
out := new(RPCUpdateSuccess)
|
||||
err := c.cc.Invoke(ctx, "/pb.APINodeService/updateAPINode", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -1178,7 +1128,7 @@ type APINodeServiceServer interface {
|
||||
// 创建API节点
|
||||
CreateAPINode(context.Context, *CreateAPINodeRequest) (*CreateAPINodeResponse, error)
|
||||
// 修改API节点
|
||||
UpdateAPINode(context.Context, *UpdateAPINodeRequest) (*UpdateAPINodeResponse, error)
|
||||
UpdateAPINode(context.Context, *UpdateAPINodeRequest) (*RPCUpdateSuccess, error)
|
||||
// 删除API节点
|
||||
DeleteAPINode(context.Context, *DeleteAPINodeRequest) (*DeleteAPINodeResponse, error)
|
||||
// 列出所有可用API节点
|
||||
@@ -1198,7 +1148,7 @@ type UnimplementedAPINodeServiceServer struct {
|
||||
func (*UnimplementedAPINodeServiceServer) CreateAPINode(context.Context, *CreateAPINodeRequest) (*CreateAPINodeResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CreateAPINode not implemented")
|
||||
}
|
||||
func (*UnimplementedAPINodeServiceServer) UpdateAPINode(context.Context, *UpdateAPINodeRequest) (*UpdateAPINodeResponse, error) {
|
||||
func (*UnimplementedAPINodeServiceServer) UpdateAPINode(context.Context, *UpdateAPINodeRequest) (*RPCUpdateSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateAPINode not implemented")
|
||||
}
|
||||
func (*UnimplementedAPINodeServiceServer) DeleteAPINode(context.Context, *DeleteAPINodeRequest) (*DeleteAPINodeResponse, error) {
|
||||
|
||||
@@ -307,100 +307,61 @@ func (x *UpdateHTTPGzipRequest) GetMaxLength() *SizeCapacity {
|
||||
return nil
|
||||
}
|
||||
|
||||
type UpdateHTTPGzipResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPGzipResponse) Reset() {
|
||||
*x = UpdateHTTPGzipResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_http_gzip_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPGzipResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateHTTPGzipResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateHTTPGzipResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_gzip_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 UpdateHTTPGzipResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateHTTPGzipResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_gzip_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
var File_service_http_gzip_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_service_http_gzip_proto_rawDesc = []byte{
|
||||
0x0a, 0x17, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x67,
|
||||
0x7a, 0x69, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x19, 0x6d,
|
||||
0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69,
|
||||
0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, 0x01, 0x0a, 0x15, 0x43, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x47, 0x7a, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x2e, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x4c,
|
||||
0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x53, 0x69, 0x7a, 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x52, 0x09, 0x6d,
|
||||
0x69, 0x6e, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x2e, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x4c,
|
||||
0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x53, 0x69, 0x7a, 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x52, 0x09, 0x6d,
|
||||
0x61, 0x78, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x22, 0x30, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61,
|
||||
0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x47, 0x7a, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x7a, 0x69, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x03, 0x52, 0x06, 0x67, 0x7a, 0x69, 0x70, 0x49, 0x64, 0x22, 0x36, 0x0a, 0x1c, 0x46, 0x69,
|
||||
0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x7a, 0x69, 0x70, 0x43, 0x6f, 0x6e,
|
||||
0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x7a,
|
||||
0x69, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x67, 0x7a, 0x69, 0x70,
|
||||
0x49, 0x64, 0x22, 0x37, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
||||
0x64, 0x47, 0x7a, 0x69, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xa5, 0x01, 0x0a, 0x15,
|
||||
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x47, 0x7a, 0x69, 0x70, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x7a, 0x69, 0x70, 0x49, 0x64, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x67, 0x7a, 0x69, 0x70, 0x49, 0x64, 0x12, 0x14, 0x0a,
|
||||
0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65,
|
||||
0x76, 0x65, 0x6c, 0x12, 0x2e, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68,
|
||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x69, 0x7a, 0x65,
|
||||
0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x52, 0x09, 0x6d, 0x69, 0x6e, 0x4c, 0x65, 0x6e,
|
||||
0x67, 0x74, 0x68, 0x12, 0x2e, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68,
|
||||
0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x69, 0x7a, 0x65,
|
||||
0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x52, 0x09, 0x6d, 0x61, 0x78, 0x4c, 0x65, 0x6e,
|
||||
0x67, 0x74, 0x68, 0x22, 0x18, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54,
|
||||
0x50, 0x47, 0x7a, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x85, 0x02,
|
||||
0x0a, 0x0f, 0x48, 0x54, 0x54, 0x50, 0x47, 0x7a, 0x69, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
|
||||
0x65, 0x12, 0x47, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x47,
|
||||
0x7a, 0x69, 0x70, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48,
|
||||
0x54, 0x54, 0x50, 0x47, 0x7a, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a,
|
||||
0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x47, 0x7a,
|
||||
0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x19, 0x66, 0x69,
|
||||
0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x47, 0x7a, 0x69,
|
||||
0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e,
|
||||
0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x7a, 0x69, 0x70, 0x43, 0x6f, 0x6e, 0x66,
|
||||
0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46,
|
||||
0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x7a, 0x69, 0x70, 0x43, 0x6f,
|
||||
0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x0e,
|
||||
0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x47, 0x7a, 0x69, 0x70, 0x12, 0x19,
|
||||
0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x47, 0x7a,
|
||||
0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x55,
|
||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x47, 0x7a, 0x69, 0x70, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65,
|
||||
0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, 0x01, 0x0a,
|
||||
0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x47, 0x7a, 0x69, 0x70, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x2e, 0x0a, 0x09,
|
||||
0x6d, 0x69, 0x6e, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x10, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x69, 0x7a, 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74,
|
||||
0x79, 0x52, 0x09, 0x6d, 0x69, 0x6e, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x2e, 0x0a, 0x09,
|
||||
0x6d, 0x61, 0x78, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x10, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x69, 0x7a, 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74,
|
||||
0x79, 0x52, 0x09, 0x6d, 0x61, 0x78, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x22, 0x30, 0x0a, 0x16,
|
||||
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x47, 0x7a, 0x69, 0x70, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x7a, 0x69, 0x70, 0x49, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x67, 0x7a, 0x69, 0x70, 0x49, 0x64, 0x22, 0x36,
|
||||
0x0a, 0x1c, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x7a, 0x69,
|
||||
0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16,
|
||||
0x0a, 0x06, 0x67, 0x7a, 0x69, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
|
||||
0x67, 0x7a, 0x69, 0x70, 0x49, 0x64, 0x22, 0x37, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x7a, 0x69, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69,
|
||||
0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22,
|
||||
0xa5, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x47, 0x7a,
|
||||
0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x7a, 0x69,
|
||||
0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x67, 0x7a, 0x69, 0x70, 0x49,
|
||||
0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
|
||||
0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x2e, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x4c, 0x65,
|
||||
0x6e, 0x67, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x53, 0x69, 0x7a, 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x52, 0x09, 0x6d, 0x69,
|
||||
0x6e, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x2e, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x4c, 0x65,
|
||||
0x6e, 0x67, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x53, 0x69, 0x7a, 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x52, 0x09, 0x6d, 0x61,
|
||||
0x78, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x32, 0xff, 0x01, 0x0a, 0x0f, 0x48, 0x54, 0x54, 0x50,
|
||||
0x47, 0x7a, 0x69, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x47, 0x0a, 0x0e, 0x63,
|
||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x47, 0x7a, 0x69, 0x70, 0x12, 0x19, 0x2e,
|
||||
0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x47, 0x7a, 0x69,
|
||||
0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72,
|
||||
0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x47, 0x7a, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x19, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62,
|
||||
0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x47, 0x7a, 0x69, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69,
|
||||
0x67, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
||||
0x65, 0x64, 0x47, 0x7a, 0x69, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61,
|
||||
0x62, 0x6c, 0x65, 0x64, 0x47, 0x7a, 0x69, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
|
||||
0x48, 0x54, 0x54, 0x50, 0x47, 0x7a, 0x69, 0x70, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70,
|
||||
0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x47, 0x7a, 0x69, 0x70, 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, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70,
|
||||
0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@@ -415,27 +376,27 @@ func file_service_http_gzip_proto_rawDescGZIP() []byte {
|
||||
return file_service_http_gzip_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_service_http_gzip_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
||||
var file_service_http_gzip_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
||||
var file_service_http_gzip_proto_goTypes = []interface{}{
|
||||
(*CreateHTTPGzipRequest)(nil), // 0: pb.CreateHTTPGzipRequest
|
||||
(*CreateHTTPGzipResponse)(nil), // 1: pb.CreateHTTPGzipResponse
|
||||
(*FindEnabledGzipConfigRequest)(nil), // 2: pb.FindEnabledGzipConfigRequest
|
||||
(*FindEnabledGzipConfigResponse)(nil), // 3: pb.FindEnabledGzipConfigResponse
|
||||
(*UpdateHTTPGzipRequest)(nil), // 4: pb.UpdateHTTPGzipRequest
|
||||
(*UpdateHTTPGzipResponse)(nil), // 5: pb.UpdateHTTPGzipResponse
|
||||
(*SizeCapacity)(nil), // 6: pb.SizeCapacity
|
||||
(*SizeCapacity)(nil), // 5: pb.SizeCapacity
|
||||
(*RPCUpdateSuccess)(nil), // 6: pb.RPCUpdateSuccess
|
||||
}
|
||||
var file_service_http_gzip_proto_depIdxs = []int32{
|
||||
6, // 0: pb.CreateHTTPGzipRequest.minLength:type_name -> pb.SizeCapacity
|
||||
6, // 1: pb.CreateHTTPGzipRequest.maxLength:type_name -> pb.SizeCapacity
|
||||
6, // 2: pb.UpdateHTTPGzipRequest.minLength:type_name -> pb.SizeCapacity
|
||||
6, // 3: pb.UpdateHTTPGzipRequest.maxLength:type_name -> pb.SizeCapacity
|
||||
5, // 0: pb.CreateHTTPGzipRequest.minLength:type_name -> pb.SizeCapacity
|
||||
5, // 1: pb.CreateHTTPGzipRequest.maxLength:type_name -> pb.SizeCapacity
|
||||
5, // 2: pb.UpdateHTTPGzipRequest.minLength:type_name -> pb.SizeCapacity
|
||||
5, // 3: pb.UpdateHTTPGzipRequest.maxLength:type_name -> pb.SizeCapacity
|
||||
0, // 4: pb.HTTPGzipService.createHTTPGzip:input_type -> pb.CreateHTTPGzipRequest
|
||||
2, // 5: pb.HTTPGzipService.findEnabledHTTPGzipConfig:input_type -> pb.FindEnabledGzipConfigRequest
|
||||
4, // 6: pb.HTTPGzipService.updateHTTPGzip:input_type -> pb.UpdateHTTPGzipRequest
|
||||
1, // 7: pb.HTTPGzipService.createHTTPGzip:output_type -> pb.CreateHTTPGzipResponse
|
||||
3, // 8: pb.HTTPGzipService.findEnabledHTTPGzipConfig:output_type -> pb.FindEnabledGzipConfigResponse
|
||||
5, // 9: pb.HTTPGzipService.updateHTTPGzip:output_type -> pb.UpdateHTTPGzipResponse
|
||||
6, // 9: pb.HTTPGzipService.updateHTTPGzip:output_type -> pb.RPCUpdateSuccess
|
||||
7, // [7:10] is the sub-list for method output_type
|
||||
4, // [4:7] is the sub-list for method input_type
|
||||
4, // [4:4] is the sub-list for extension type_name
|
||||
@@ -449,6 +410,7 @@ func file_service_http_gzip_proto_init() {
|
||||
return
|
||||
}
|
||||
file_model_size_capacity_proto_init()
|
||||
file_rpc_messages_proto_init()
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_service_http_gzip_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CreateHTTPGzipRequest); i {
|
||||
@@ -510,18 +472,6 @@ func file_service_http_gzip_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_http_gzip_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateHTTPGzipResponse); 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{
|
||||
@@ -529,7 +479,7 @@ func file_service_http_gzip_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_service_http_gzip_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 6,
|
||||
NumMessages: 5,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
@@ -560,7 +510,7 @@ type HTTPGzipServiceClient interface {
|
||||
// 查找Gzip配置
|
||||
FindEnabledHTTPGzipConfig(ctx context.Context, in *FindEnabledGzipConfigRequest, opts ...grpc.CallOption) (*FindEnabledGzipConfigResponse, error)
|
||||
// 修改Gzip配置
|
||||
UpdateHTTPGzip(ctx context.Context, in *UpdateHTTPGzipRequest, opts ...grpc.CallOption) (*UpdateHTTPGzipResponse, error)
|
||||
UpdateHTTPGzip(ctx context.Context, in *UpdateHTTPGzipRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||
}
|
||||
|
||||
type hTTPGzipServiceClient struct {
|
||||
@@ -589,8 +539,8 @@ func (c *hTTPGzipServiceClient) FindEnabledHTTPGzipConfig(ctx context.Context, i
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *hTTPGzipServiceClient) UpdateHTTPGzip(ctx context.Context, in *UpdateHTTPGzipRequest, opts ...grpc.CallOption) (*UpdateHTTPGzipResponse, error) {
|
||||
out := new(UpdateHTTPGzipResponse)
|
||||
func (c *hTTPGzipServiceClient) UpdateHTTPGzip(ctx context.Context, in *UpdateHTTPGzipRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
||||
out := new(RPCUpdateSuccess)
|
||||
err := c.cc.Invoke(ctx, "/pb.HTTPGzipService/updateHTTPGzip", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -605,7 +555,7 @@ type HTTPGzipServiceServer interface {
|
||||
// 查找Gzip配置
|
||||
FindEnabledHTTPGzipConfig(context.Context, *FindEnabledGzipConfigRequest) (*FindEnabledGzipConfigResponse, error)
|
||||
// 修改Gzip配置
|
||||
UpdateHTTPGzip(context.Context, *UpdateHTTPGzipRequest) (*UpdateHTTPGzipResponse, error)
|
||||
UpdateHTTPGzip(context.Context, *UpdateHTTPGzipRequest) (*RPCUpdateSuccess, error)
|
||||
}
|
||||
|
||||
// UnimplementedHTTPGzipServiceServer can be embedded to have forward compatible implementations.
|
||||
@@ -618,7 +568,7 @@ func (*UnimplementedHTTPGzipServiceServer) CreateHTTPGzip(context.Context, *Crea
|
||||
func (*UnimplementedHTTPGzipServiceServer) FindEnabledHTTPGzipConfig(context.Context, *FindEnabledGzipConfigRequest) (*FindEnabledGzipConfigResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindEnabledHTTPGzipConfig not implemented")
|
||||
}
|
||||
func (*UnimplementedHTTPGzipServiceServer) UpdateHTTPGzip(context.Context, *UpdateHTTPGzipRequest) (*UpdateHTTPGzipResponse, error) {
|
||||
func (*UnimplementedHTTPGzipServiceServer) UpdateHTTPGzip(context.Context, *UpdateHTTPGzipRequest) (*RPCUpdateSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateHTTPGzip not implemented")
|
||||
}
|
||||
|
||||
|
||||
@@ -196,44 +196,6 @@ func (x *UpdateHTTPHeaderRequest) GetValue() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
type UpdateHTTPHeaderResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPHeaderResponse) Reset() {
|
||||
*x = UpdateHTTPHeaderResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_http_header_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPHeaderResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateHTTPHeaderResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateHTTPHeaderResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_header_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 UpdateHTTPHeaderResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateHTTPHeaderResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_header_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
// 查找配置
|
||||
type FindEnabledHTTPHeaderConfigRequest struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -246,7 +208,7 @@ type FindEnabledHTTPHeaderConfigRequest struct {
|
||||
func (x *FindEnabledHTTPHeaderConfigRequest) Reset() {
|
||||
*x = FindEnabledHTTPHeaderConfigRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_http_header_proto_msgTypes[4]
|
||||
mi := &file_service_http_header_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -259,7 +221,7 @@ func (x *FindEnabledHTTPHeaderConfigRequest) String() string {
|
||||
func (*FindEnabledHTTPHeaderConfigRequest) ProtoMessage() {}
|
||||
|
||||
func (x *FindEnabledHTTPHeaderConfigRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_header_proto_msgTypes[4]
|
||||
mi := &file_service_http_header_proto_msgTypes[3]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -272,7 +234,7 @@ func (x *FindEnabledHTTPHeaderConfigRequest) ProtoReflect() protoreflect.Message
|
||||
|
||||
// Deprecated: Use FindEnabledHTTPHeaderConfigRequest.ProtoReflect.Descriptor instead.
|
||||
func (*FindEnabledHTTPHeaderConfigRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_header_proto_rawDescGZIP(), []int{4}
|
||||
return file_service_http_header_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *FindEnabledHTTPHeaderConfigRequest) GetHeaderId() int64 {
|
||||
@@ -293,7 +255,7 @@ type FindEnabledHTTPHeaderConfigResponse struct {
|
||||
func (x *FindEnabledHTTPHeaderConfigResponse) Reset() {
|
||||
*x = FindEnabledHTTPHeaderConfigResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_http_header_proto_msgTypes[5]
|
||||
mi := &file_service_http_header_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -306,7 +268,7 @@ func (x *FindEnabledHTTPHeaderConfigResponse) String() string {
|
||||
func (*FindEnabledHTTPHeaderConfigResponse) ProtoMessage() {}
|
||||
|
||||
func (x *FindEnabledHTTPHeaderConfigResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_header_proto_msgTypes[5]
|
||||
mi := &file_service_http_header_proto_msgTypes[4]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -319,7 +281,7 @@ func (x *FindEnabledHTTPHeaderConfigResponse) ProtoReflect() protoreflect.Messag
|
||||
|
||||
// Deprecated: Use FindEnabledHTTPHeaderConfigResponse.ProtoReflect.Descriptor instead.
|
||||
func (*FindEnabledHTTPHeaderConfigResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_header_proto_rawDescGZIP(), []int{5}
|
||||
return file_service_http_header_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *FindEnabledHTTPHeaderConfigResponse) GetConfig() []byte {
|
||||
@@ -333,42 +295,41 @@ var File_service_http_header_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_service_http_header_proto_rawDesc = []byte{
|
||||
0x0a, 0x19, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x68,
|
||||
0x65, 0x61, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22,
|
||||
0x43, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61,
|
||||
0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
|
||||
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14,
|
||||
0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x22, 0x36, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54,
|
||||
0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x12, 0x1a, 0x0a, 0x08, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x03, 0x52, 0x08, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x5f, 0x0a, 0x17,
|
||||
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
|
||||
0x65, 0x61, 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, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x22, 0x43, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54,
|
||||
0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12,
|
||||
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
|
||||
0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x36, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61,
|
||||
0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x49, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x49, 0x64,
|
||||
0x22, 0x5f, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65,
|
||||
0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x68,
|
||||
0x65, 0x61, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x68,
|
||||
0x65, 0x61, 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, 0x14, 0x0a, 0x05, 0x76,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
||||
0x65, 0x22, 0x40, 0x0a, 0x22, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
||||
0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x65, 0x61, 0x64, 0x65,
|
||||
0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x68, 0x65, 0x61, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x1a, 0x0a,
|
||||
0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65,
|
||||
0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x40, 0x0a, 0x22, 0x46, 0x69, 0x6e,
|
||||
0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64,
|
||||
0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||
0x1a, 0x0a, 0x08, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x03, 0x52, 0x08, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x3d, 0x0a, 0x23, 0x46,
|
||||
0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65,
|
||||
0x61, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x32, 0xa1, 0x02, 0x0a, 0x11, 0x48,
|
||||
0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
|
||||
0x12, 0x4d, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65,
|
||||
0x61, 0x64, 0x65, 0x72, 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
|
||||
0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54,
|
||||
0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||
0x4d, 0x0a, 0x10, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61,
|
||||
0x64, 0x65, 0x72, 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48,
|
||||
0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x1a, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50,
|
||||
0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e,
|
||||
0x72, 0x49, 0x64, 0x22, 0x3d, 0x0a, 0x23, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
||||
0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66,
|
||||
0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f,
|
||||
0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66,
|
||||
0x69, 0x67, 0x32, 0x99, 0x02, 0x0a, 0x11, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65,
|
||||
0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4d, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61,
|
||||
0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1b, 0x2e, 0x70,
|
||||
0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64,
|
||||
0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x43,
|
||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x10, 0x75, 0x70, 0x64, 0x61, 0x74,
|
||||
0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1b, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 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, 0x6e,
|
||||
0x0a, 0x1b, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54,
|
||||
0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x26, 0x2e,
|
||||
0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54,
|
||||
@@ -391,22 +352,22 @@ func file_service_http_header_proto_rawDescGZIP() []byte {
|
||||
return file_service_http_header_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_service_http_header_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
||||
var file_service_http_header_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
||||
var file_service_http_header_proto_goTypes = []interface{}{
|
||||
(*CreateHTTPHeaderRequest)(nil), // 0: pb.CreateHTTPHeaderRequest
|
||||
(*CreateHTTPHeaderResponse)(nil), // 1: pb.CreateHTTPHeaderResponse
|
||||
(*UpdateHTTPHeaderRequest)(nil), // 2: pb.UpdateHTTPHeaderRequest
|
||||
(*UpdateHTTPHeaderResponse)(nil), // 3: pb.UpdateHTTPHeaderResponse
|
||||
(*FindEnabledHTTPHeaderConfigRequest)(nil), // 4: pb.FindEnabledHTTPHeaderConfigRequest
|
||||
(*FindEnabledHTTPHeaderConfigResponse)(nil), // 5: pb.FindEnabledHTTPHeaderConfigResponse
|
||||
(*FindEnabledHTTPHeaderConfigRequest)(nil), // 3: pb.FindEnabledHTTPHeaderConfigRequest
|
||||
(*FindEnabledHTTPHeaderConfigResponse)(nil), // 4: pb.FindEnabledHTTPHeaderConfigResponse
|
||||
(*RPCUpdateSuccess)(nil), // 5: pb.RPCUpdateSuccess
|
||||
}
|
||||
var file_service_http_header_proto_depIdxs = []int32{
|
||||
0, // 0: pb.HTTPHeaderService.createHTTPHeader:input_type -> pb.CreateHTTPHeaderRequest
|
||||
2, // 1: pb.HTTPHeaderService.updateHTTPHeader:input_type -> pb.UpdateHTTPHeaderRequest
|
||||
4, // 2: pb.HTTPHeaderService.findEnabledHTTPHeaderConfig:input_type -> pb.FindEnabledHTTPHeaderConfigRequest
|
||||
3, // 2: pb.HTTPHeaderService.findEnabledHTTPHeaderConfig:input_type -> pb.FindEnabledHTTPHeaderConfigRequest
|
||||
1, // 3: pb.HTTPHeaderService.createHTTPHeader:output_type -> pb.CreateHTTPHeaderResponse
|
||||
3, // 4: pb.HTTPHeaderService.updateHTTPHeader:output_type -> pb.UpdateHTTPHeaderResponse
|
||||
5, // 5: pb.HTTPHeaderService.findEnabledHTTPHeaderConfig:output_type -> pb.FindEnabledHTTPHeaderConfigResponse
|
||||
5, // 4: pb.HTTPHeaderService.updateHTTPHeader:output_type -> pb.RPCUpdateSuccess
|
||||
4, // 5: pb.HTTPHeaderService.findEnabledHTTPHeaderConfig:output_type -> pb.FindEnabledHTTPHeaderConfigResponse
|
||||
3, // [3:6] is the sub-list for method output_type
|
||||
0, // [0:3] is the sub-list for method input_type
|
||||
0, // [0:0] is the sub-list for extension type_name
|
||||
@@ -419,6 +380,7 @@ func file_service_http_header_proto_init() {
|
||||
if File_service_http_header_proto != nil {
|
||||
return
|
||||
}
|
||||
file_rpc_messages_proto_init()
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_service_http_header_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CreateHTTPHeaderRequest); i {
|
||||
@@ -457,18 +419,6 @@ func file_service_http_header_proto_init() {
|
||||
}
|
||||
}
|
||||
file_service_http_header_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateHTTPHeaderResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_http_header_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindEnabledHTTPHeaderConfigRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -480,7 +430,7 @@ func file_service_http_header_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_http_header_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_http_header_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindEnabledHTTPHeaderConfigResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -499,7 +449,7 @@ func file_service_http_header_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_service_http_header_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 6,
|
||||
NumMessages: 5,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
@@ -528,7 +478,7 @@ type HTTPHeaderServiceClient interface {
|
||||
// 创建Header
|
||||
CreateHTTPHeader(ctx context.Context, in *CreateHTTPHeaderRequest, opts ...grpc.CallOption) (*CreateHTTPHeaderResponse, error)
|
||||
// 修改Header
|
||||
UpdateHTTPHeader(ctx context.Context, in *UpdateHTTPHeaderRequest, opts ...grpc.CallOption) (*UpdateHTTPHeaderResponse, error)
|
||||
UpdateHTTPHeader(ctx context.Context, in *UpdateHTTPHeaderRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||
// 查找配置
|
||||
FindEnabledHTTPHeaderConfig(ctx context.Context, in *FindEnabledHTTPHeaderConfigRequest, opts ...grpc.CallOption) (*FindEnabledHTTPHeaderConfigResponse, error)
|
||||
}
|
||||
@@ -550,8 +500,8 @@ func (c *hTTPHeaderServiceClient) CreateHTTPHeader(ctx context.Context, in *Crea
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *hTTPHeaderServiceClient) UpdateHTTPHeader(ctx context.Context, in *UpdateHTTPHeaderRequest, opts ...grpc.CallOption) (*UpdateHTTPHeaderResponse, error) {
|
||||
out := new(UpdateHTTPHeaderResponse)
|
||||
func (c *hTTPHeaderServiceClient) UpdateHTTPHeader(ctx context.Context, in *UpdateHTTPHeaderRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
||||
out := new(RPCUpdateSuccess)
|
||||
err := c.cc.Invoke(ctx, "/pb.HTTPHeaderService/updateHTTPHeader", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -573,7 +523,7 @@ type HTTPHeaderServiceServer interface {
|
||||
// 创建Header
|
||||
CreateHTTPHeader(context.Context, *CreateHTTPHeaderRequest) (*CreateHTTPHeaderResponse, error)
|
||||
// 修改Header
|
||||
UpdateHTTPHeader(context.Context, *UpdateHTTPHeaderRequest) (*UpdateHTTPHeaderResponse, error)
|
||||
UpdateHTTPHeader(context.Context, *UpdateHTTPHeaderRequest) (*RPCUpdateSuccess, error)
|
||||
// 查找配置
|
||||
FindEnabledHTTPHeaderConfig(context.Context, *FindEnabledHTTPHeaderConfigRequest) (*FindEnabledHTTPHeaderConfigResponse, error)
|
||||
}
|
||||
@@ -585,7 +535,7 @@ type UnimplementedHTTPHeaderServiceServer struct {
|
||||
func (*UnimplementedHTTPHeaderServiceServer) CreateHTTPHeader(context.Context, *CreateHTTPHeaderRequest) (*CreateHTTPHeaderResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CreateHTTPHeader not implemented")
|
||||
}
|
||||
func (*UnimplementedHTTPHeaderServiceServer) UpdateHTTPHeader(context.Context, *UpdateHTTPHeaderRequest) (*UpdateHTTPHeaderResponse, error) {
|
||||
func (*UnimplementedHTTPHeaderServiceServer) UpdateHTTPHeader(context.Context, *UpdateHTTPHeaderRequest) (*RPCUpdateSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateHTTPHeader not implemented")
|
||||
}
|
||||
func (*UnimplementedHTTPHeaderServiceServer) FindEnabledHTTPHeaderConfig(context.Context, *FindEnabledHTTPHeaderConfigRequest) (*FindEnabledHTTPHeaderConfigResponse, error) {
|
||||
|
||||
@@ -266,44 +266,6 @@ func (x *UpdateHTTPHeaderPolicyAddingHeadersRequest) GetHeadersJSON() []byte {
|
||||
return nil
|
||||
}
|
||||
|
||||
type UpdateHTTPHeaderPolicyAddingHeadersResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPHeaderPolicyAddingHeadersResponse) Reset() {
|
||||
*x = UpdateHTTPHeaderPolicyAddingHeadersResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_http_header_policy_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPHeaderPolicyAddingHeadersResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateHTTPHeaderPolicyAddingHeadersResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateHTTPHeaderPolicyAddingHeadersResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_header_policy_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 UpdateHTTPHeaderPolicyAddingHeadersResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateHTTPHeaderPolicyAddingHeadersResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_header_policy_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
// 修改SetHeaders
|
||||
type UpdateHTTPHeaderPolicySettingHeadersRequest struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -317,7 +279,7 @@ type UpdateHTTPHeaderPolicySettingHeadersRequest struct {
|
||||
func (x *UpdateHTTPHeaderPolicySettingHeadersRequest) Reset() {
|
||||
*x = UpdateHTTPHeaderPolicySettingHeadersRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_http_header_policy_proto_msgTypes[6]
|
||||
mi := &file_service_http_header_policy_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -330,7 +292,7 @@ func (x *UpdateHTTPHeaderPolicySettingHeadersRequest) String() string {
|
||||
func (*UpdateHTTPHeaderPolicySettingHeadersRequest) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateHTTPHeaderPolicySettingHeadersRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_header_policy_proto_msgTypes[6]
|
||||
mi := &file_service_http_header_policy_proto_msgTypes[5]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -343,7 +305,7 @@ func (x *UpdateHTTPHeaderPolicySettingHeadersRequest) ProtoReflect() protoreflec
|
||||
|
||||
// Deprecated: Use UpdateHTTPHeaderPolicySettingHeadersRequest.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateHTTPHeaderPolicySettingHeadersRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_header_policy_proto_rawDescGZIP(), []int{6}
|
||||
return file_service_http_header_policy_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPHeaderPolicySettingHeadersRequest) GetHeaderPolicyId() int64 {
|
||||
@@ -360,44 +322,6 @@ func (x *UpdateHTTPHeaderPolicySettingHeadersRequest) GetHeadersJSON() []byte {
|
||||
return nil
|
||||
}
|
||||
|
||||
type UpdateHTTPHeaderPolicySettingHeadersResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPHeaderPolicySettingHeadersResponse) Reset() {
|
||||
*x = UpdateHTTPHeaderPolicySettingHeadersResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_http_header_policy_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPHeaderPolicySettingHeadersResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateHTTPHeaderPolicySettingHeadersResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateHTTPHeaderPolicySettingHeadersResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_header_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 UpdateHTTPHeaderPolicySettingHeadersResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateHTTPHeaderPolicySettingHeadersResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_header_policy_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
// 修改AddTrailers
|
||||
type UpdateHTTPHeaderPolicyAddingTrailersRequest struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -411,7 +335,7 @@ type UpdateHTTPHeaderPolicyAddingTrailersRequest struct {
|
||||
func (x *UpdateHTTPHeaderPolicyAddingTrailersRequest) Reset() {
|
||||
*x = UpdateHTTPHeaderPolicyAddingTrailersRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_http_header_policy_proto_msgTypes[8]
|
||||
mi := &file_service_http_header_policy_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -424,7 +348,7 @@ func (x *UpdateHTTPHeaderPolicyAddingTrailersRequest) String() string {
|
||||
func (*UpdateHTTPHeaderPolicyAddingTrailersRequest) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateHTTPHeaderPolicyAddingTrailersRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_header_policy_proto_msgTypes[8]
|
||||
mi := &file_service_http_header_policy_proto_msgTypes[6]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -437,7 +361,7 @@ func (x *UpdateHTTPHeaderPolicyAddingTrailersRequest) ProtoReflect() protoreflec
|
||||
|
||||
// Deprecated: Use UpdateHTTPHeaderPolicyAddingTrailersRequest.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateHTTPHeaderPolicyAddingTrailersRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_header_policy_proto_rawDescGZIP(), []int{8}
|
||||
return file_service_http_header_policy_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPHeaderPolicyAddingTrailersRequest) GetHeaderPolicyId() int64 {
|
||||
@@ -454,44 +378,6 @@ func (x *UpdateHTTPHeaderPolicyAddingTrailersRequest) GetHeadersJSON() []byte {
|
||||
return nil
|
||||
}
|
||||
|
||||
type UpdateHTTPHeaderPolicyAddingTrailersResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPHeaderPolicyAddingTrailersResponse) Reset() {
|
||||
*x = UpdateHTTPHeaderPolicyAddingTrailersResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_http_header_policy_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPHeaderPolicyAddingTrailersResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateHTTPHeaderPolicyAddingTrailersResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateHTTPHeaderPolicyAddingTrailersResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_header_policy_proto_msgTypes[9]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use UpdateHTTPHeaderPolicyAddingTrailersResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateHTTPHeaderPolicyAddingTrailersResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_header_policy_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
// 修改ReplaceHeaders
|
||||
type UpdateHTTPHeaderPolicyReplacingHeadersRequest struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -505,7 +391,7 @@ type UpdateHTTPHeaderPolicyReplacingHeadersRequest struct {
|
||||
func (x *UpdateHTTPHeaderPolicyReplacingHeadersRequest) Reset() {
|
||||
*x = UpdateHTTPHeaderPolicyReplacingHeadersRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_http_header_policy_proto_msgTypes[10]
|
||||
mi := &file_service_http_header_policy_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -518,7 +404,7 @@ func (x *UpdateHTTPHeaderPolicyReplacingHeadersRequest) String() string {
|
||||
func (*UpdateHTTPHeaderPolicyReplacingHeadersRequest) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateHTTPHeaderPolicyReplacingHeadersRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_header_policy_proto_msgTypes[10]
|
||||
mi := &file_service_http_header_policy_proto_msgTypes[7]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -531,7 +417,7 @@ func (x *UpdateHTTPHeaderPolicyReplacingHeadersRequest) ProtoReflect() protorefl
|
||||
|
||||
// Deprecated: Use UpdateHTTPHeaderPolicyReplacingHeadersRequest.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateHTTPHeaderPolicyReplacingHeadersRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_header_policy_proto_rawDescGZIP(), []int{10}
|
||||
return file_service_http_header_policy_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPHeaderPolicyReplacingHeadersRequest) GetHeaderPolicyId() int64 {
|
||||
@@ -548,44 +434,6 @@ func (x *UpdateHTTPHeaderPolicyReplacingHeadersRequest) GetHeadersJSON() []byte
|
||||
return nil
|
||||
}
|
||||
|
||||
type UpdateHTTPHeaderPolicyReplacingHeadersResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPHeaderPolicyReplacingHeadersResponse) Reset() {
|
||||
*x = UpdateHTTPHeaderPolicyReplacingHeadersResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_http_header_policy_proto_msgTypes[11]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPHeaderPolicyReplacingHeadersResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateHTTPHeaderPolicyReplacingHeadersResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateHTTPHeaderPolicyReplacingHeadersResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_header_policy_proto_msgTypes[11]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use UpdateHTTPHeaderPolicyReplacingHeadersResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateHTTPHeaderPolicyReplacingHeadersResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_header_policy_proto_rawDescGZIP(), []int{11}
|
||||
}
|
||||
|
||||
// 修改删除的Headers
|
||||
type UpdateHTTPHeaderPolicyDeletingHeadersRequest struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -599,7 +447,7 @@ type UpdateHTTPHeaderPolicyDeletingHeadersRequest struct {
|
||||
func (x *UpdateHTTPHeaderPolicyDeletingHeadersRequest) Reset() {
|
||||
*x = UpdateHTTPHeaderPolicyDeletingHeadersRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_http_header_policy_proto_msgTypes[12]
|
||||
mi := &file_service_http_header_policy_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -612,7 +460,7 @@ func (x *UpdateHTTPHeaderPolicyDeletingHeadersRequest) String() string {
|
||||
func (*UpdateHTTPHeaderPolicyDeletingHeadersRequest) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateHTTPHeaderPolicyDeletingHeadersRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_header_policy_proto_msgTypes[12]
|
||||
mi := &file_service_http_header_policy_proto_msgTypes[8]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -625,7 +473,7 @@ func (x *UpdateHTTPHeaderPolicyDeletingHeadersRequest) ProtoReflect() protorefle
|
||||
|
||||
// Deprecated: Use UpdateHTTPHeaderPolicyDeletingHeadersRequest.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateHTTPHeaderPolicyDeletingHeadersRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_header_policy_proto_rawDescGZIP(), []int{12}
|
||||
return file_service_http_header_policy_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPHeaderPolicyDeletingHeadersRequest) GetHeaderPolicyId() int64 {
|
||||
@@ -642,180 +490,119 @@ func (x *UpdateHTTPHeaderPolicyDeletingHeadersRequest) GetHeaderNames() []string
|
||||
return nil
|
||||
}
|
||||
|
||||
type UpdateHTTPHeaderPolicyDeletingHeadersResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPHeaderPolicyDeletingHeadersResponse) Reset() {
|
||||
*x = UpdateHTTPHeaderPolicyDeletingHeadersResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_http_header_policy_proto_msgTypes[13]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPHeaderPolicyDeletingHeadersResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateHTTPHeaderPolicyDeletingHeadersResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateHTTPHeaderPolicyDeletingHeadersResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_header_policy_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 UpdateHTTPHeaderPolicyDeletingHeadersResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateHTTPHeaderPolicyDeletingHeadersResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_header_policy_proto_rawDescGZIP(), []int{13}
|
||||
}
|
||||
|
||||
var File_service_http_header_policy_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_service_http_header_policy_proto_rawDesc = []byte{
|
||||
0x0a, 0x20, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x68,
|
||||
0x65, 0x61, 0x64, 0x65, 0x72, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x52, 0x0a, 0x28, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50,
|
||||
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69,
|
||||
0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x68, 0x65, 0x61, 0x64,
|
||||
0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x43, 0x0a, 0x29, 0x46, 0x69,
|
||||
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, 0x22, 0x52, 0x0a, 0x28, 0x46, 0x69,
|
||||
0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61,
|
||||
0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69,
|
||||
0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22,
|
||||
0x1f, 0x0a, 0x1d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61,
|
||||
0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x22, 0x48, 0x0a, 0x1e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65,
|
||||
0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69,
|
||||
0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x68, 0x65, 0x61, 0x64,
|
||||
0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x76, 0x0a, 0x2a, 0x55, 0x70,
|
||||
0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f,
|
||||
0x6c, 0x69, 0x63, 0x79, 0x41, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
|
||||
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x68, 0x65, 0x61, 0x64,
|
||||
0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
||||
0x52, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64,
|
||||
0x12, 0x20, 0x0a, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x4a, 0x53,
|
||||
0x4f, 0x4e, 0x22, 0x2d, 0x0a, 0x2b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50,
|
||||
0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x64, 0x64, 0x69,
|
||||
0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x22, 0x77, 0x0a, 0x2b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48,
|
||||
0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69,
|
||||
0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x12, 0x26, 0x0a, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
|
||||
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72,
|
||||
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x68, 0x65, 0x61, 0x64,
|
||||
0x65, 0x72, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x68,
|
||||
0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x2e, 0x0a, 0x2c, 0x55, 0x70,
|
||||
0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f,
|
||||
0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x65,
|
||||
0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x77, 0x0a, 0x2b, 0x55, 0x70,
|
||||
0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f,
|
||||
0x6c, 0x69, 0x63, 0x79, 0x41, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x72, 0x61, 0x69, 0x6c, 0x65,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72,
|
||||
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e,
|
||||
0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x43,
|
||||
0x0a, 0x29, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54,
|
||||
0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e,
|
||||
0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63,
|
||||
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6e,
|
||||
0x66, 0x69, 0x67, 0x22, 0x1f, 0x0a, 0x1d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54,
|
||||
0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x22, 0x48, 0x0a, 0x1e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54,
|
||||
0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72,
|
||||
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e,
|
||||
0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x76,
|
||||
0x0a, 0x2a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64,
|
||||
0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x48, 0x65,
|
||||
0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e,
|
||||
0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69,
|
||||
0x63, 0x79, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x4a,
|
||||
0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x65,
|
||||
0x72, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x77, 0x0a, 0x2b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
||||
0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
|
||||
0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50,
|
||||
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x68,
|
||||
0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x12, 0x20, 0x0a,
|
||||
0x0b, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x0c, 0x52, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22,
|
||||
0x77, 0x0a, 0x2b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61,
|
||||
0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x54,
|
||||
0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26,
|
||||
0x0a, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f,
|
||||
0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72,
|
||||
0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x68, 0x65, 0x61,
|
||||
0x64, 0x65, 0x72, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x79, 0x0a, 0x2d, 0x55, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69,
|
||||
0x63, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x65,
|
||||
0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x68, 0x65, 0x61,
|
||||
0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x03, 0x52, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49,
|
||||
0x64, 0x12, 0x20, 0x0a, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x4a, 0x53, 0x4f, 0x4e,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x4a,
|
||||
0x53, 0x4f, 0x4e, 0x22, 0x2e, 0x0a, 0x2c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54,
|
||||
0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x64, 0x64,
|
||||
0x69, 0x6e, 0x67, 0x54, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x22, 0x79, 0x0a, 0x2d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54,
|
||||
0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x70,
|
||||
0x6c, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f,
|
||||
0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x68, 0x65,
|
||||
0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b,
|
||||
0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x0c, 0x52, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x30,
|
||||
0x0a, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64,
|
||||
0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x69, 0x6e,
|
||||
0x67, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x22, 0x78, 0x0a, 0x2c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65,
|
||||
0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x69,
|
||||
0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x12, 0x26, 0x0a, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
|
||||
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72,
|
||||
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x68, 0x65, 0x61, 0x64,
|
||||
0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x68,
|
||||
0x65, 0x61, 0x64, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x2f, 0x0a, 0x2d, 0x55, 0x70,
|
||||
0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f,
|
||||
0x6c, 0x69, 0x63, 0x79, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64,
|
||||
0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xbf, 0x07, 0x0a, 0x17,
|
||||
0x53, 0x4f, 0x4e, 0x22, 0x78, 0x0a, 0x2c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54,
|
||||
0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x44, 0x65, 0x6c,
|
||||
0x65, 0x74, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c,
|
||||
0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x68, 0x65, 0x61,
|
||||
0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x68,
|
||||
0x65, 0x61, 0x64, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09,
|
||||
0x52, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x32, 0xac, 0x06,
|
||||
0x0a, 0x17, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69,
|
||||
0x63, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x21, 0x66, 0x69,
|
||||
0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61,
|
||||
0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
|
||||
0x2c, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
||||
0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
|
||||
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x21, 0x66, 0x69, 0x6e, 0x64,
|
||||
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65,
|
||||
0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2c, 0x2e,
|
||||
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e,
|
||||
0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54,
|
||||
0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f,
|
||||
0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50,
|
||||
0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66,
|
||||
0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x16, 0x63, 0x72,
|
||||
0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f,
|
||||
0x6c, 0x69, 0x63, 0x79, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
|
||||
0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x16,
|
||||
0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
|
||||
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61,
|
||||
0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69,
|
||||
0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x43,
|
||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50,
|
||||
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a,
|
||||
0x23, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65,
|
||||
0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61,
|
||||
0x64, 0x65, 0x72, 0x73, 0x12, 0x2e, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
||||
0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c,
|
||||
0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x86, 0x01, 0x0a, 0x23,
|
||||
0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
|
||||
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64,
|
||||
0x65, 0x72, 0x73, 0x12, 0x2e, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48,
|
||||
0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41,
|
||||
0x64, 0x64, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48,
|
||||
0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41,
|
||||
0x64, 0x64, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x89, 0x01, 0x0a, 0x24, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48,
|
||||
0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53,
|
||||
0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x2f, 0x2e,
|
||||
0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61,
|
||||
0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
|
||||
0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30,
|
||||
0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65,
|
||||
0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
|
||||
0x67, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x12, 0x89, 0x01, 0x0a, 0x24, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48,
|
||||
0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x64, 0x64, 0x69, 0x6e,
|
||||
0x67, 0x54, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x12, 0x2f, 0x2e, 0x70, 0x62, 0x2e, 0x55,
|
||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50,
|
||||
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x72, 0x61, 0x69, 0x6c,
|
||||
0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
|
||||
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x72, 0x61, 0x69,
|
||||
0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8f, 0x01, 0x0a,
|
||||
0x26, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65,
|
||||
0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x69, 0x6e, 0x67,
|
||||
0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x31, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64,
|
||||
0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c,
|
||||
0x69, 0x63, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64,
|
||||
0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
|
||||
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x48,
|
||||
0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8c,
|
||||
0x01, 0x0a, 0x25, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61,
|
||||
0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6e,
|
||||
0x67, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x30, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70,
|
||||
0x41, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 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, 0x6d, 0x0a, 0x24, 0x75, 0x70,
|
||||
0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f,
|
||||
0x6c, 0x69, 0x63, 0x79, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64,
|
||||
0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
|
||||
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6e, 0x67, 0x48, 0x65,
|
||||
0x61, 0x64, 0x65, 0x72, 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,
|
||||
0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x65,
|
||||
0x72, 0x73, 0x12, 0x2f, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54,
|
||||
0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65,
|
||||
0x74, 0x74, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 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, 0x6d, 0x0a, 0x24, 0x75, 0x70, 0x64,
|
||||
0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c,
|
||||
0x69, 0x63, 0x79, 0x41, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72,
|
||||
0x73, 0x12, 0x2f, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54,
|
||||
0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x64, 0x64,
|
||||
0x69, 0x6e, 0x67, 0x54, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 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, 0x71, 0x0a, 0x26, 0x75, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69,
|
||||
0x63, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x65,
|
||||
0x72, 0x73, 0x12, 0x31, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54,
|
||||
0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65,
|
||||
0x70, 0x6c, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 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, 0x6f, 0x0a, 0x25, 0x75,
|
||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50,
|
||||
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61,
|
||||
0x64, 0x65, 0x72, 0x73, 0x12, 0x30, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
||||
0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
|
||||
0x44, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 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, 0x42, 0x06, 0x5a, 0x04,
|
||||
0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@@ -830,38 +617,34 @@ func file_service_http_header_policy_proto_rawDescGZIP() []byte {
|
||||
return file_service_http_header_policy_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_service_http_header_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
||||
var file_service_http_header_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
||||
var file_service_http_header_policy_proto_goTypes = []interface{}{
|
||||
(*FindEnabledHTTPHeaderPolicyConfigRequest)(nil), // 0: pb.FindEnabledHTTPHeaderPolicyConfigRequest
|
||||
(*FindEnabledHTTPHeaderPolicyConfigResponse)(nil), // 1: pb.FindEnabledHTTPHeaderPolicyConfigResponse
|
||||
(*CreateHTTPHeaderPolicyRequest)(nil), // 2: pb.CreateHTTPHeaderPolicyRequest
|
||||
(*CreateHTTPHeaderPolicyResponse)(nil), // 3: pb.CreateHTTPHeaderPolicyResponse
|
||||
(*UpdateHTTPHeaderPolicyAddingHeadersRequest)(nil), // 4: pb.UpdateHTTPHeaderPolicyAddingHeadersRequest
|
||||
(*UpdateHTTPHeaderPolicyAddingHeadersResponse)(nil), // 5: pb.UpdateHTTPHeaderPolicyAddingHeadersResponse
|
||||
(*UpdateHTTPHeaderPolicySettingHeadersRequest)(nil), // 6: pb.UpdateHTTPHeaderPolicySettingHeadersRequest
|
||||
(*UpdateHTTPHeaderPolicySettingHeadersResponse)(nil), // 7: pb.UpdateHTTPHeaderPolicySettingHeadersResponse
|
||||
(*UpdateHTTPHeaderPolicyAddingTrailersRequest)(nil), // 8: pb.UpdateHTTPHeaderPolicyAddingTrailersRequest
|
||||
(*UpdateHTTPHeaderPolicyAddingTrailersResponse)(nil), // 9: pb.UpdateHTTPHeaderPolicyAddingTrailersResponse
|
||||
(*UpdateHTTPHeaderPolicyReplacingHeadersRequest)(nil), // 10: pb.UpdateHTTPHeaderPolicyReplacingHeadersRequest
|
||||
(*UpdateHTTPHeaderPolicyReplacingHeadersResponse)(nil), // 11: pb.UpdateHTTPHeaderPolicyReplacingHeadersResponse
|
||||
(*UpdateHTTPHeaderPolicyDeletingHeadersRequest)(nil), // 12: pb.UpdateHTTPHeaderPolicyDeletingHeadersRequest
|
||||
(*UpdateHTTPHeaderPolicyDeletingHeadersResponse)(nil), // 13: pb.UpdateHTTPHeaderPolicyDeletingHeadersResponse
|
||||
(*UpdateHTTPHeaderPolicySettingHeadersRequest)(nil), // 5: pb.UpdateHTTPHeaderPolicySettingHeadersRequest
|
||||
(*UpdateHTTPHeaderPolicyAddingTrailersRequest)(nil), // 6: pb.UpdateHTTPHeaderPolicyAddingTrailersRequest
|
||||
(*UpdateHTTPHeaderPolicyReplacingHeadersRequest)(nil), // 7: pb.UpdateHTTPHeaderPolicyReplacingHeadersRequest
|
||||
(*UpdateHTTPHeaderPolicyDeletingHeadersRequest)(nil), // 8: pb.UpdateHTTPHeaderPolicyDeletingHeadersRequest
|
||||
(*RPCUpdateSuccess)(nil), // 9: pb.RPCUpdateSuccess
|
||||
}
|
||||
var file_service_http_header_policy_proto_depIdxs = []int32{
|
||||
0, // 0: pb.HTTPHeaderPolicyService.findEnabledHTTPHeaderPolicyConfig:input_type -> pb.FindEnabledHTTPHeaderPolicyConfigRequest
|
||||
2, // 1: pb.HTTPHeaderPolicyService.createHTTPHeaderPolicy:input_type -> pb.CreateHTTPHeaderPolicyRequest
|
||||
4, // 2: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicyAddingHeaders:input_type -> pb.UpdateHTTPHeaderPolicyAddingHeadersRequest
|
||||
6, // 3: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicySettingHeaders:input_type -> pb.UpdateHTTPHeaderPolicySettingHeadersRequest
|
||||
8, // 4: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicyAddingTrailers:input_type -> pb.UpdateHTTPHeaderPolicyAddingTrailersRequest
|
||||
10, // 5: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicyReplacingHeaders:input_type -> pb.UpdateHTTPHeaderPolicyReplacingHeadersRequest
|
||||
12, // 6: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicyDeletingHeaders:input_type -> pb.UpdateHTTPHeaderPolicyDeletingHeadersRequest
|
||||
5, // 3: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicySettingHeaders:input_type -> pb.UpdateHTTPHeaderPolicySettingHeadersRequest
|
||||
6, // 4: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicyAddingTrailers:input_type -> pb.UpdateHTTPHeaderPolicyAddingTrailersRequest
|
||||
7, // 5: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicyReplacingHeaders:input_type -> pb.UpdateHTTPHeaderPolicyReplacingHeadersRequest
|
||||
8, // 6: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicyDeletingHeaders:input_type -> pb.UpdateHTTPHeaderPolicyDeletingHeadersRequest
|
||||
1, // 7: pb.HTTPHeaderPolicyService.findEnabledHTTPHeaderPolicyConfig:output_type -> pb.FindEnabledHTTPHeaderPolicyConfigResponse
|
||||
3, // 8: pb.HTTPHeaderPolicyService.createHTTPHeaderPolicy:output_type -> pb.CreateHTTPHeaderPolicyResponse
|
||||
5, // 9: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicyAddingHeaders:output_type -> pb.UpdateHTTPHeaderPolicyAddingHeadersResponse
|
||||
7, // 10: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicySettingHeaders:output_type -> pb.UpdateHTTPHeaderPolicySettingHeadersResponse
|
||||
9, // 11: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicyAddingTrailers:output_type -> pb.UpdateHTTPHeaderPolicyAddingTrailersResponse
|
||||
11, // 12: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicyReplacingHeaders:output_type -> pb.UpdateHTTPHeaderPolicyReplacingHeadersResponse
|
||||
13, // 13: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicyDeletingHeaders:output_type -> pb.UpdateHTTPHeaderPolicyDeletingHeadersResponse
|
||||
9, // 9: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicyAddingHeaders:output_type -> pb.RPCUpdateSuccess
|
||||
9, // 10: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicySettingHeaders:output_type -> pb.RPCUpdateSuccess
|
||||
9, // 11: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicyAddingTrailers:output_type -> pb.RPCUpdateSuccess
|
||||
9, // 12: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicyReplacingHeaders:output_type -> pb.RPCUpdateSuccess
|
||||
9, // 13: pb.HTTPHeaderPolicyService.updateHTTPHeaderPolicyDeletingHeaders:output_type -> pb.RPCUpdateSuccess
|
||||
7, // [7:14] is the sub-list for method output_type
|
||||
0, // [0:7] is the sub-list for method input_type
|
||||
0, // [0:0] is the sub-list for extension type_name
|
||||
@@ -874,6 +657,7 @@ func file_service_http_header_policy_proto_init() {
|
||||
if File_service_http_header_policy_proto != nil {
|
||||
return
|
||||
}
|
||||
file_rpc_messages_proto_init()
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_service_http_header_policy_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindEnabledHTTPHeaderPolicyConfigRequest); i {
|
||||
@@ -936,18 +720,6 @@ func file_service_http_header_policy_proto_init() {
|
||||
}
|
||||
}
|
||||
file_service_http_header_policy_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateHTTPHeaderPolicyAddingHeadersResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_http_header_policy_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateHTTPHeaderPolicySettingHeadersRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -959,19 +731,7 @@ func file_service_http_header_policy_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_http_header_policy_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateHTTPHeaderPolicySettingHeadersResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_http_header_policy_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_http_header_policy_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateHTTPHeaderPolicyAddingTrailersRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -983,19 +743,7 @@ func file_service_http_header_policy_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_http_header_policy_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateHTTPHeaderPolicyAddingTrailersResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_http_header_policy_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_http_header_policy_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateHTTPHeaderPolicyReplacingHeadersRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1007,19 +755,7 @@ func file_service_http_header_policy_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_http_header_policy_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateHTTPHeaderPolicyReplacingHeadersResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_http_header_policy_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_http_header_policy_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateHTTPHeaderPolicyDeletingHeadersRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1031,18 +767,6 @@ func file_service_http_header_policy_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_http_header_policy_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateHTTPHeaderPolicyDeletingHeadersResponse); 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{
|
||||
@@ -1050,7 +774,7 @@ func file_service_http_header_policy_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_service_http_header_policy_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 14,
|
||||
NumMessages: 9,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
@@ -1081,15 +805,15 @@ type HTTPHeaderPolicyServiceClient interface {
|
||||
// 创建策略
|
||||
CreateHTTPHeaderPolicy(ctx context.Context, in *CreateHTTPHeaderPolicyRequest, opts ...grpc.CallOption) (*CreateHTTPHeaderPolicyResponse, error)
|
||||
// 修改AddHeaders
|
||||
UpdateHTTPHeaderPolicyAddingHeaders(ctx context.Context, in *UpdateHTTPHeaderPolicyAddingHeadersRequest, opts ...grpc.CallOption) (*UpdateHTTPHeaderPolicyAddingHeadersResponse, error)
|
||||
UpdateHTTPHeaderPolicyAddingHeaders(ctx context.Context, in *UpdateHTTPHeaderPolicyAddingHeadersRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||
// 修改SetHeaders
|
||||
UpdateHTTPHeaderPolicySettingHeaders(ctx context.Context, in *UpdateHTTPHeaderPolicySettingHeadersRequest, opts ...grpc.CallOption) (*UpdateHTTPHeaderPolicySettingHeadersResponse, error)
|
||||
UpdateHTTPHeaderPolicySettingHeaders(ctx context.Context, in *UpdateHTTPHeaderPolicySettingHeadersRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||
// 修改AddTrailers
|
||||
UpdateHTTPHeaderPolicyAddingTrailers(ctx context.Context, in *UpdateHTTPHeaderPolicyAddingTrailersRequest, opts ...grpc.CallOption) (*UpdateHTTPHeaderPolicyAddingTrailersResponse, error)
|
||||
UpdateHTTPHeaderPolicyAddingTrailers(ctx context.Context, in *UpdateHTTPHeaderPolicyAddingTrailersRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||
// 修改ReplaceHeaders
|
||||
UpdateHTTPHeaderPolicyReplacingHeaders(ctx context.Context, in *UpdateHTTPHeaderPolicyReplacingHeadersRequest, opts ...grpc.CallOption) (*UpdateHTTPHeaderPolicyReplacingHeadersResponse, error)
|
||||
UpdateHTTPHeaderPolicyReplacingHeaders(ctx context.Context, in *UpdateHTTPHeaderPolicyReplacingHeadersRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||
// 修改删除的Headers
|
||||
UpdateHTTPHeaderPolicyDeletingHeaders(ctx context.Context, in *UpdateHTTPHeaderPolicyDeletingHeadersRequest, opts ...grpc.CallOption) (*UpdateHTTPHeaderPolicyDeletingHeadersResponse, error)
|
||||
UpdateHTTPHeaderPolicyDeletingHeaders(ctx context.Context, in *UpdateHTTPHeaderPolicyDeletingHeadersRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||
}
|
||||
|
||||
type hTTPHeaderPolicyServiceClient struct {
|
||||
@@ -1118,8 +842,8 @@ func (c *hTTPHeaderPolicyServiceClient) CreateHTTPHeaderPolicy(ctx context.Conte
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *hTTPHeaderPolicyServiceClient) UpdateHTTPHeaderPolicyAddingHeaders(ctx context.Context, in *UpdateHTTPHeaderPolicyAddingHeadersRequest, opts ...grpc.CallOption) (*UpdateHTTPHeaderPolicyAddingHeadersResponse, error) {
|
||||
out := new(UpdateHTTPHeaderPolicyAddingHeadersResponse)
|
||||
func (c *hTTPHeaderPolicyServiceClient) UpdateHTTPHeaderPolicyAddingHeaders(ctx context.Context, in *UpdateHTTPHeaderPolicyAddingHeadersRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
||||
out := new(RPCUpdateSuccess)
|
||||
err := c.cc.Invoke(ctx, "/pb.HTTPHeaderPolicyService/updateHTTPHeaderPolicyAddingHeaders", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -1127,8 +851,8 @@ func (c *hTTPHeaderPolicyServiceClient) UpdateHTTPHeaderPolicyAddingHeaders(ctx
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *hTTPHeaderPolicyServiceClient) UpdateHTTPHeaderPolicySettingHeaders(ctx context.Context, in *UpdateHTTPHeaderPolicySettingHeadersRequest, opts ...grpc.CallOption) (*UpdateHTTPHeaderPolicySettingHeadersResponse, error) {
|
||||
out := new(UpdateHTTPHeaderPolicySettingHeadersResponse)
|
||||
func (c *hTTPHeaderPolicyServiceClient) UpdateHTTPHeaderPolicySettingHeaders(ctx context.Context, in *UpdateHTTPHeaderPolicySettingHeadersRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
||||
out := new(RPCUpdateSuccess)
|
||||
err := c.cc.Invoke(ctx, "/pb.HTTPHeaderPolicyService/updateHTTPHeaderPolicySettingHeaders", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -1136,8 +860,8 @@ func (c *hTTPHeaderPolicyServiceClient) UpdateHTTPHeaderPolicySettingHeaders(ctx
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *hTTPHeaderPolicyServiceClient) UpdateHTTPHeaderPolicyAddingTrailers(ctx context.Context, in *UpdateHTTPHeaderPolicyAddingTrailersRequest, opts ...grpc.CallOption) (*UpdateHTTPHeaderPolicyAddingTrailersResponse, error) {
|
||||
out := new(UpdateHTTPHeaderPolicyAddingTrailersResponse)
|
||||
func (c *hTTPHeaderPolicyServiceClient) UpdateHTTPHeaderPolicyAddingTrailers(ctx context.Context, in *UpdateHTTPHeaderPolicyAddingTrailersRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
||||
out := new(RPCUpdateSuccess)
|
||||
err := c.cc.Invoke(ctx, "/pb.HTTPHeaderPolicyService/updateHTTPHeaderPolicyAddingTrailers", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -1145,8 +869,8 @@ func (c *hTTPHeaderPolicyServiceClient) UpdateHTTPHeaderPolicyAddingTrailers(ctx
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *hTTPHeaderPolicyServiceClient) UpdateHTTPHeaderPolicyReplacingHeaders(ctx context.Context, in *UpdateHTTPHeaderPolicyReplacingHeadersRequest, opts ...grpc.CallOption) (*UpdateHTTPHeaderPolicyReplacingHeadersResponse, error) {
|
||||
out := new(UpdateHTTPHeaderPolicyReplacingHeadersResponse)
|
||||
func (c *hTTPHeaderPolicyServiceClient) UpdateHTTPHeaderPolicyReplacingHeaders(ctx context.Context, in *UpdateHTTPHeaderPolicyReplacingHeadersRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
||||
out := new(RPCUpdateSuccess)
|
||||
err := c.cc.Invoke(ctx, "/pb.HTTPHeaderPolicyService/updateHTTPHeaderPolicyReplacingHeaders", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -1154,8 +878,8 @@ func (c *hTTPHeaderPolicyServiceClient) UpdateHTTPHeaderPolicyReplacingHeaders(c
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *hTTPHeaderPolicyServiceClient) UpdateHTTPHeaderPolicyDeletingHeaders(ctx context.Context, in *UpdateHTTPHeaderPolicyDeletingHeadersRequest, opts ...grpc.CallOption) (*UpdateHTTPHeaderPolicyDeletingHeadersResponse, error) {
|
||||
out := new(UpdateHTTPHeaderPolicyDeletingHeadersResponse)
|
||||
func (c *hTTPHeaderPolicyServiceClient) UpdateHTTPHeaderPolicyDeletingHeaders(ctx context.Context, in *UpdateHTTPHeaderPolicyDeletingHeadersRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
||||
out := new(RPCUpdateSuccess)
|
||||
err := c.cc.Invoke(ctx, "/pb.HTTPHeaderPolicyService/updateHTTPHeaderPolicyDeletingHeaders", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -1170,15 +894,15 @@ type HTTPHeaderPolicyServiceServer interface {
|
||||
// 创建策略
|
||||
CreateHTTPHeaderPolicy(context.Context, *CreateHTTPHeaderPolicyRequest) (*CreateHTTPHeaderPolicyResponse, error)
|
||||
// 修改AddHeaders
|
||||
UpdateHTTPHeaderPolicyAddingHeaders(context.Context, *UpdateHTTPHeaderPolicyAddingHeadersRequest) (*UpdateHTTPHeaderPolicyAddingHeadersResponse, error)
|
||||
UpdateHTTPHeaderPolicyAddingHeaders(context.Context, *UpdateHTTPHeaderPolicyAddingHeadersRequest) (*RPCUpdateSuccess, error)
|
||||
// 修改SetHeaders
|
||||
UpdateHTTPHeaderPolicySettingHeaders(context.Context, *UpdateHTTPHeaderPolicySettingHeadersRequest) (*UpdateHTTPHeaderPolicySettingHeadersResponse, error)
|
||||
UpdateHTTPHeaderPolicySettingHeaders(context.Context, *UpdateHTTPHeaderPolicySettingHeadersRequest) (*RPCUpdateSuccess, error)
|
||||
// 修改AddTrailers
|
||||
UpdateHTTPHeaderPolicyAddingTrailers(context.Context, *UpdateHTTPHeaderPolicyAddingTrailersRequest) (*UpdateHTTPHeaderPolicyAddingTrailersResponse, error)
|
||||
UpdateHTTPHeaderPolicyAddingTrailers(context.Context, *UpdateHTTPHeaderPolicyAddingTrailersRequest) (*RPCUpdateSuccess, error)
|
||||
// 修改ReplaceHeaders
|
||||
UpdateHTTPHeaderPolicyReplacingHeaders(context.Context, *UpdateHTTPHeaderPolicyReplacingHeadersRequest) (*UpdateHTTPHeaderPolicyReplacingHeadersResponse, error)
|
||||
UpdateHTTPHeaderPolicyReplacingHeaders(context.Context, *UpdateHTTPHeaderPolicyReplacingHeadersRequest) (*RPCUpdateSuccess, error)
|
||||
// 修改删除的Headers
|
||||
UpdateHTTPHeaderPolicyDeletingHeaders(context.Context, *UpdateHTTPHeaderPolicyDeletingHeadersRequest) (*UpdateHTTPHeaderPolicyDeletingHeadersResponse, error)
|
||||
UpdateHTTPHeaderPolicyDeletingHeaders(context.Context, *UpdateHTTPHeaderPolicyDeletingHeadersRequest) (*RPCUpdateSuccess, error)
|
||||
}
|
||||
|
||||
// UnimplementedHTTPHeaderPolicyServiceServer can be embedded to have forward compatible implementations.
|
||||
@@ -1191,19 +915,19 @@ func (*UnimplementedHTTPHeaderPolicyServiceServer) FindEnabledHTTPHeaderPolicyCo
|
||||
func (*UnimplementedHTTPHeaderPolicyServiceServer) CreateHTTPHeaderPolicy(context.Context, *CreateHTTPHeaderPolicyRequest) (*CreateHTTPHeaderPolicyResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CreateHTTPHeaderPolicy not implemented")
|
||||
}
|
||||
func (*UnimplementedHTTPHeaderPolicyServiceServer) UpdateHTTPHeaderPolicyAddingHeaders(context.Context, *UpdateHTTPHeaderPolicyAddingHeadersRequest) (*UpdateHTTPHeaderPolicyAddingHeadersResponse, error) {
|
||||
func (*UnimplementedHTTPHeaderPolicyServiceServer) UpdateHTTPHeaderPolicyAddingHeaders(context.Context, *UpdateHTTPHeaderPolicyAddingHeadersRequest) (*RPCUpdateSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateHTTPHeaderPolicyAddingHeaders not implemented")
|
||||
}
|
||||
func (*UnimplementedHTTPHeaderPolicyServiceServer) UpdateHTTPHeaderPolicySettingHeaders(context.Context, *UpdateHTTPHeaderPolicySettingHeadersRequest) (*UpdateHTTPHeaderPolicySettingHeadersResponse, error) {
|
||||
func (*UnimplementedHTTPHeaderPolicyServiceServer) UpdateHTTPHeaderPolicySettingHeaders(context.Context, *UpdateHTTPHeaderPolicySettingHeadersRequest) (*RPCUpdateSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateHTTPHeaderPolicySettingHeaders not implemented")
|
||||
}
|
||||
func (*UnimplementedHTTPHeaderPolicyServiceServer) UpdateHTTPHeaderPolicyAddingTrailers(context.Context, *UpdateHTTPHeaderPolicyAddingTrailersRequest) (*UpdateHTTPHeaderPolicyAddingTrailersResponse, error) {
|
||||
func (*UnimplementedHTTPHeaderPolicyServiceServer) UpdateHTTPHeaderPolicyAddingTrailers(context.Context, *UpdateHTTPHeaderPolicyAddingTrailersRequest) (*RPCUpdateSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateHTTPHeaderPolicyAddingTrailers not implemented")
|
||||
}
|
||||
func (*UnimplementedHTTPHeaderPolicyServiceServer) UpdateHTTPHeaderPolicyReplacingHeaders(context.Context, *UpdateHTTPHeaderPolicyReplacingHeadersRequest) (*UpdateHTTPHeaderPolicyReplacingHeadersResponse, error) {
|
||||
func (*UnimplementedHTTPHeaderPolicyServiceServer) UpdateHTTPHeaderPolicyReplacingHeaders(context.Context, *UpdateHTTPHeaderPolicyReplacingHeadersRequest) (*RPCUpdateSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateHTTPHeaderPolicyReplacingHeaders not implemented")
|
||||
}
|
||||
func (*UnimplementedHTTPHeaderPolicyServiceServer) UpdateHTTPHeaderPolicyDeletingHeaders(context.Context, *UpdateHTTPHeaderPolicyDeletingHeadersRequest) (*UpdateHTTPHeaderPolicyDeletingHeadersResponse, error) {
|
||||
func (*UnimplementedHTTPHeaderPolicyServiceServer) UpdateHTTPHeaderPolicyDeletingHeaders(context.Context, *UpdateHTTPHeaderPolicyDeletingHeadersRequest) (*RPCUpdateSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateHTTPHeaderPolicyDeletingHeaders not implemented")
|
||||
}
|
||||
|
||||
|
||||
640
pkg/rpc/pb/service_http_page.pb.go
Normal file
640
pkg/rpc/pb/service_http_page.pb.go
Normal file
@@ -0,0 +1,640 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.25.0
|
||||
// protoc v3.12.3
|
||||
// source: service_http_page.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
|
||||
|
||||
// 创建Page
|
||||
type CreateHTTPPageRequest struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
StatusList []string `protobuf:"bytes,1,rep,name=statusList,proto3" json:"statusList,omitempty"`
|
||||
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
|
||||
NewStatus int32 `protobuf:"varint,3,opt,name=newStatus,proto3" json:"newStatus,omitempty"`
|
||||
}
|
||||
|
||||
func (x *CreateHTTPPageRequest) Reset() {
|
||||
*x = CreateHTTPPageRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_http_page_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *CreateHTTPPageRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*CreateHTTPPageRequest) ProtoMessage() {}
|
||||
|
||||
func (x *CreateHTTPPageRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_page_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 CreateHTTPPageRequest.ProtoReflect.Descriptor instead.
|
||||
func (*CreateHTTPPageRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_page_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *CreateHTTPPageRequest) GetStatusList() []string {
|
||||
if x != nil {
|
||||
return x.StatusList
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *CreateHTTPPageRequest) GetUrl() string {
|
||||
if x != nil {
|
||||
return x.Url
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *CreateHTTPPageRequest) GetNewStatus() int32 {
|
||||
if x != nil {
|
||||
return x.NewStatus
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type CreateHTTPPageResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
PageId int64 `protobuf:"varint,1,opt,name=pageId,proto3" json:"pageId,omitempty"`
|
||||
}
|
||||
|
||||
func (x *CreateHTTPPageResponse) Reset() {
|
||||
*x = CreateHTTPPageResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_http_page_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *CreateHTTPPageResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*CreateHTTPPageResponse) ProtoMessage() {}
|
||||
|
||||
func (x *CreateHTTPPageResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_page_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 CreateHTTPPageResponse.ProtoReflect.Descriptor instead.
|
||||
func (*CreateHTTPPageResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_page_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *CreateHTTPPageResponse) GetPageId() int64 {
|
||||
if x != nil {
|
||||
return x.PageId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// 修改Page
|
||||
type UpdateHTTPPageRequest struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
PageId int64 `protobuf:"varint,1,opt,name=pageId,proto3" json:"pageId,omitempty"`
|
||||
StatusList []string `protobuf:"bytes,2,rep,name=statusList,proto3" json:"statusList,omitempty"`
|
||||
Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
|
||||
NewStatus int32 `protobuf:"varint,4,opt,name=newStatus,proto3" json:"newStatus,omitempty"`
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPPageRequest) Reset() {
|
||||
*x = UpdateHTTPPageRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_http_page_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPPageRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateHTTPPageRequest) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateHTTPPageRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_page_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 UpdateHTTPPageRequest.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateHTTPPageRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_page_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPPageRequest) GetPageId() int64 {
|
||||
if x != nil {
|
||||
return x.PageId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPPageRequest) GetStatusList() []string {
|
||||
if x != nil {
|
||||
return x.StatusList
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPPageRequest) GetUrl() string {
|
||||
if x != nil {
|
||||
return x.Url
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPPageRequest) GetNewStatus() int32 {
|
||||
if x != nil {
|
||||
return x.NewStatus
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// 查找单个Page配置
|
||||
type FindEnabledHTTPPageConfigRequest struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
PageId int64 `protobuf:"varint,1,opt,name=pageId,proto3" json:"pageId,omitempty"`
|
||||
}
|
||||
|
||||
func (x *FindEnabledHTTPPageConfigRequest) Reset() {
|
||||
*x = FindEnabledHTTPPageConfigRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_http_page_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *FindEnabledHTTPPageConfigRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*FindEnabledHTTPPageConfigRequest) ProtoMessage() {}
|
||||
|
||||
func (x *FindEnabledHTTPPageConfigRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_page_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 FindEnabledHTTPPageConfigRequest.ProtoReflect.Descriptor instead.
|
||||
func (*FindEnabledHTTPPageConfigRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_page_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *FindEnabledHTTPPageConfigRequest) GetPageId() int64 {
|
||||
if x != nil {
|
||||
return x.PageId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type FindEnabledHTTPPageConfigResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Config []byte `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
|
||||
}
|
||||
|
||||
func (x *FindEnabledHTTPPageConfigResponse) Reset() {
|
||||
*x = FindEnabledHTTPPageConfigResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_http_page_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *FindEnabledHTTPPageConfigResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*FindEnabledHTTPPageConfigResponse) ProtoMessage() {}
|
||||
|
||||
func (x *FindEnabledHTTPPageConfigResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_page_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 FindEnabledHTTPPageConfigResponse.ProtoReflect.Descriptor instead.
|
||||
func (*FindEnabledHTTPPageConfigResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_page_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *FindEnabledHTTPPageConfigResponse) GetConfig() []byte {
|
||||
if x != nil {
|
||||
return x.Config
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_service_http_page_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_service_http_page_proto_rawDesc = []byte{
|
||||
0x0a, 0x17, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x70,
|
||||
0x61, 0x67, 0x65, 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, 0x22, 0x67, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x50,
|
||||
0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x74,
|
||||
0x61, 0x74, 0x75, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a,
|
||||
0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72,
|
||||
0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1c, 0x0a, 0x09,
|
||||
0x6e, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||||
0x09, 0x6e, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x30, 0x0a, 0x16, 0x43, 0x72,
|
||||
0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x70, 0x61, 0x67, 0x65, 0x49, 0x64, 0x22, 0x7f, 0x0a, 0x15,
|
||||
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x70, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x1e, 0x0a,
|
||||
0x0a, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28,
|
||||
0x09, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x10, 0x0a,
|
||||
0x03, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12,
|
||||
0x1c, 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01,
|
||||
0x28, 0x05, 0x52, 0x09, 0x6e, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x3a, 0x0a,
|
||||
0x20, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50,
|
||||
0x50, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x03, 0x52, 0x06, 0x70, 0x61, 0x67, 0x65, 0x49, 0x64, 0x22, 0x3b, 0x0a, 0x21, 0x46, 0x69, 0x6e,
|
||||
0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x50, 0x61, 0x67, 0x65,
|
||||
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16,
|
||||
0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06,
|
||||
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x32, 0x87, 0x02, 0x0a, 0x0f, 0x48, 0x54, 0x54, 0x50, 0x50,
|
||||
0x61, 0x67, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x47, 0x0a, 0x0e, 0x63, 0x72,
|
||||
0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x50, 0x61, 0x67, 0x65, 0x12, 0x19, 0x2e, 0x70,
|
||||
0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x50, 0x61, 0x67, 0x65,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54,
|
||||
0x50, 0x50, 0x61, 0x67, 0x65, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
|
||||
0x65, 0x48, 0x54, 0x54, 0x50, 0x50, 0x61, 0x67, 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, 0x68, 0x0a, 0x19, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x50, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e,
|
||||
0x66, 0x69, 0x67, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61,
|
||||
0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x50, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66,
|
||||
0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x46,
|
||||
0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x50, 0x61,
|
||||
0x67, 0x65, 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 (
|
||||
file_service_http_page_proto_rawDescOnce sync.Once
|
||||
file_service_http_page_proto_rawDescData = file_service_http_page_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_service_http_page_proto_rawDescGZIP() []byte {
|
||||
file_service_http_page_proto_rawDescOnce.Do(func() {
|
||||
file_service_http_page_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_http_page_proto_rawDescData)
|
||||
})
|
||||
return file_service_http_page_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_service_http_page_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
||||
var file_service_http_page_proto_goTypes = []interface{}{
|
||||
(*CreateHTTPPageRequest)(nil), // 0: pb.CreateHTTPPageRequest
|
||||
(*CreateHTTPPageResponse)(nil), // 1: pb.CreateHTTPPageResponse
|
||||
(*UpdateHTTPPageRequest)(nil), // 2: pb.UpdateHTTPPageRequest
|
||||
(*FindEnabledHTTPPageConfigRequest)(nil), // 3: pb.FindEnabledHTTPPageConfigRequest
|
||||
(*FindEnabledHTTPPageConfigResponse)(nil), // 4: pb.FindEnabledHTTPPageConfigResponse
|
||||
(*RPCUpdateSuccess)(nil), // 5: pb.RPCUpdateSuccess
|
||||
}
|
||||
var file_service_http_page_proto_depIdxs = []int32{
|
||||
0, // 0: pb.HTTPPageService.createHTTPPage:input_type -> pb.CreateHTTPPageRequest
|
||||
2, // 1: pb.HTTPPageService.updateHTTPPage:input_type -> pb.UpdateHTTPPageRequest
|
||||
3, // 2: pb.HTTPPageService.findEnabledHTTPPageConfig:input_type -> pb.FindEnabledHTTPPageConfigRequest
|
||||
1, // 3: pb.HTTPPageService.createHTTPPage:output_type -> pb.CreateHTTPPageResponse
|
||||
5, // 4: pb.HTTPPageService.updateHTTPPage:output_type -> pb.RPCUpdateSuccess
|
||||
4, // 5: pb.HTTPPageService.findEnabledHTTPPageConfig:output_type -> pb.FindEnabledHTTPPageConfigResponse
|
||||
3, // [3:6] is the sub-list for method output_type
|
||||
0, // [0:3] 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_service_http_page_proto_init() }
|
||||
func file_service_http_page_proto_init() {
|
||||
if File_service_http_page_proto != nil {
|
||||
return
|
||||
}
|
||||
file_rpc_messages_proto_init()
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_service_http_page_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CreateHTTPPageRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_http_page_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CreateHTTPPageResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_http_page_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateHTTPPageRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_http_page_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindEnabledHTTPPageConfigRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_http_page_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindEnabledHTTPPageConfigResponse); 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_http_page_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 5,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
GoTypes: file_service_http_page_proto_goTypes,
|
||||
DependencyIndexes: file_service_http_page_proto_depIdxs,
|
||||
MessageInfos: file_service_http_page_proto_msgTypes,
|
||||
}.Build()
|
||||
File_service_http_page_proto = out.File
|
||||
file_service_http_page_proto_rawDesc = nil
|
||||
file_service_http_page_proto_goTypes = nil
|
||||
file_service_http_page_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
|
||||
|
||||
// HTTPPageServiceClient is the client API for HTTPPageService service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||
type HTTPPageServiceClient interface {
|
||||
// 创建Page
|
||||
CreateHTTPPage(ctx context.Context, in *CreateHTTPPageRequest, opts ...grpc.CallOption) (*CreateHTTPPageResponse, error)
|
||||
// 修改Page
|
||||
UpdateHTTPPage(ctx context.Context, in *UpdateHTTPPageRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||
// 查找单个Page配置
|
||||
FindEnabledHTTPPageConfig(ctx context.Context, in *FindEnabledHTTPPageConfigRequest, opts ...grpc.CallOption) (*FindEnabledHTTPPageConfigResponse, error)
|
||||
}
|
||||
|
||||
type hTTPPageServiceClient struct {
|
||||
cc grpc.ClientConnInterface
|
||||
}
|
||||
|
||||
func NewHTTPPageServiceClient(cc grpc.ClientConnInterface) HTTPPageServiceClient {
|
||||
return &hTTPPageServiceClient{cc}
|
||||
}
|
||||
|
||||
func (c *hTTPPageServiceClient) CreateHTTPPage(ctx context.Context, in *CreateHTTPPageRequest, opts ...grpc.CallOption) (*CreateHTTPPageResponse, error) {
|
||||
out := new(CreateHTTPPageResponse)
|
||||
err := c.cc.Invoke(ctx, "/pb.HTTPPageService/createHTTPPage", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *hTTPPageServiceClient) UpdateHTTPPage(ctx context.Context, in *UpdateHTTPPageRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
||||
out := new(RPCUpdateSuccess)
|
||||
err := c.cc.Invoke(ctx, "/pb.HTTPPageService/updateHTTPPage", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *hTTPPageServiceClient) FindEnabledHTTPPageConfig(ctx context.Context, in *FindEnabledHTTPPageConfigRequest, opts ...grpc.CallOption) (*FindEnabledHTTPPageConfigResponse, error) {
|
||||
out := new(FindEnabledHTTPPageConfigResponse)
|
||||
err := c.cc.Invoke(ctx, "/pb.HTTPPageService/findEnabledHTTPPageConfig", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// HTTPPageServiceServer is the server API for HTTPPageService service.
|
||||
type HTTPPageServiceServer interface {
|
||||
// 创建Page
|
||||
CreateHTTPPage(context.Context, *CreateHTTPPageRequest) (*CreateHTTPPageResponse, error)
|
||||
// 修改Page
|
||||
UpdateHTTPPage(context.Context, *UpdateHTTPPageRequest) (*RPCUpdateSuccess, error)
|
||||
// 查找单个Page配置
|
||||
FindEnabledHTTPPageConfig(context.Context, *FindEnabledHTTPPageConfigRequest) (*FindEnabledHTTPPageConfigResponse, error)
|
||||
}
|
||||
|
||||
// UnimplementedHTTPPageServiceServer can be embedded to have forward compatible implementations.
|
||||
type UnimplementedHTTPPageServiceServer struct {
|
||||
}
|
||||
|
||||
func (*UnimplementedHTTPPageServiceServer) CreateHTTPPage(context.Context, *CreateHTTPPageRequest) (*CreateHTTPPageResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CreateHTTPPage not implemented")
|
||||
}
|
||||
func (*UnimplementedHTTPPageServiceServer) UpdateHTTPPage(context.Context, *UpdateHTTPPageRequest) (*RPCUpdateSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateHTTPPage not implemented")
|
||||
}
|
||||
func (*UnimplementedHTTPPageServiceServer) FindEnabledHTTPPageConfig(context.Context, *FindEnabledHTTPPageConfigRequest) (*FindEnabledHTTPPageConfigResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindEnabledHTTPPageConfig not implemented")
|
||||
}
|
||||
|
||||
func RegisterHTTPPageServiceServer(s *grpc.Server, srv HTTPPageServiceServer) {
|
||||
s.RegisterService(&_HTTPPageService_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _HTTPPageService_CreateHTTPPage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(CreateHTTPPageRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(HTTPPageServiceServer).CreateHTTPPage(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/pb.HTTPPageService/CreateHTTPPage",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(HTTPPageServiceServer).CreateHTTPPage(ctx, req.(*CreateHTTPPageRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _HTTPPageService_UpdateHTTPPage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(UpdateHTTPPageRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(HTTPPageServiceServer).UpdateHTTPPage(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/pb.HTTPPageService/UpdateHTTPPage",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(HTTPPageServiceServer).UpdateHTTPPage(ctx, req.(*UpdateHTTPPageRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _HTTPPageService_FindEnabledHTTPPageConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(FindEnabledHTTPPageConfigRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(HTTPPageServiceServer).FindEnabledHTTPPageConfig(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/pb.HTTPPageService/FindEnabledHTTPPageConfig",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(HTTPPageServiceServer).FindEnabledHTTPPageConfig(ctx, req.(*FindEnabledHTTPPageConfigRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _HTTPPageService_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "pb.HTTPPageService",
|
||||
HandlerType: (*HTTPPageServiceServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "createHTTPPage",
|
||||
Handler: _HTTPPageService_CreateHTTPPage_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "updateHTTPPage",
|
||||
Handler: _HTTPPageService_UpdateHTTPPage_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "findEnabledHTTPPageConfig",
|
||||
Handler: _HTTPPageService_FindEnabledHTTPPageConfig_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "service_http_page.proto",
|
||||
}
|
||||
@@ -275,44 +275,6 @@ func (x *UpdateHTTPWebRequest) GetRoot() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
type UpdateHTTPWebResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPWebResponse) Reset() {
|
||||
*x = UpdateHTTPWebResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_http_web_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPWebResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateHTTPWebResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateHTTPWebResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_web_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 UpdateHTTPWebResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateHTTPWebResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_web_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
// 更改Gzip配置
|
||||
type UpdateHTTPWebGzipRequest struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -326,7 +288,7 @@ type UpdateHTTPWebGzipRequest struct {
|
||||
func (x *UpdateHTTPWebGzipRequest) Reset() {
|
||||
*x = UpdateHTTPWebGzipRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_http_web_proto_msgTypes[6]
|
||||
mi := &file_service_http_web_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -339,7 +301,7 @@ func (x *UpdateHTTPWebGzipRequest) String() string {
|
||||
func (*UpdateHTTPWebGzipRequest) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateHTTPWebGzipRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_web_proto_msgTypes[6]
|
||||
mi := &file_service_http_web_proto_msgTypes[5]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -352,7 +314,7 @@ func (x *UpdateHTTPWebGzipRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use UpdateHTTPWebGzipRequest.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateHTTPWebGzipRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_web_proto_rawDescGZIP(), []int{6}
|
||||
return file_service_http_web_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPWebGzipRequest) GetWebId() int64 {
|
||||
@@ -369,44 +331,6 @@ func (x *UpdateHTTPWebGzipRequest) GetGzipId() int64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
type UpdateHTTPWebGzipResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPWebGzipResponse) Reset() {
|
||||
*x = UpdateHTTPWebGzipResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_http_web_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPWebGzipResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateHTTPWebGzipResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateHTTPWebGzipResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_web_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 UpdateHTTPWebGzipResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateHTTPWebGzipResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_web_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
// 更改字符集配置
|
||||
type UpdateHTTPWebCharsetRequest struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -420,7 +344,7 @@ type UpdateHTTPWebCharsetRequest struct {
|
||||
func (x *UpdateHTTPWebCharsetRequest) Reset() {
|
||||
*x = UpdateHTTPWebCharsetRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_http_web_proto_msgTypes[8]
|
||||
mi := &file_service_http_web_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -433,7 +357,7 @@ func (x *UpdateHTTPWebCharsetRequest) String() string {
|
||||
func (*UpdateHTTPWebCharsetRequest) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateHTTPWebCharsetRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_web_proto_msgTypes[8]
|
||||
mi := &file_service_http_web_proto_msgTypes[6]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -446,7 +370,7 @@ func (x *UpdateHTTPWebCharsetRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use UpdateHTTPWebCharsetRequest.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateHTTPWebCharsetRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_web_proto_rawDescGZIP(), []int{8}
|
||||
return file_service_http_web_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPWebCharsetRequest) GetWebId() int64 {
|
||||
@@ -463,44 +387,6 @@ func (x *UpdateHTTPWebCharsetRequest) GetCharset() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
type UpdateHTTPWebCharsetResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPWebCharsetResponse) Reset() {
|
||||
*x = UpdateHTTPWebCharsetResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_http_web_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPWebCharsetResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateHTTPWebCharsetResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateHTTPWebCharsetResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_web_proto_msgTypes[9]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use UpdateHTTPWebCharsetResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateHTTPWebCharsetResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_web_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
// 更改请求Header策略
|
||||
type UpdateHTTPWebRequestHeaderPolicyRequest struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -514,7 +400,7 @@ type UpdateHTTPWebRequestHeaderPolicyRequest struct {
|
||||
func (x *UpdateHTTPWebRequestHeaderPolicyRequest) Reset() {
|
||||
*x = UpdateHTTPWebRequestHeaderPolicyRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_http_web_proto_msgTypes[10]
|
||||
mi := &file_service_http_web_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -527,7 +413,7 @@ func (x *UpdateHTTPWebRequestHeaderPolicyRequest) String() string {
|
||||
func (*UpdateHTTPWebRequestHeaderPolicyRequest) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateHTTPWebRequestHeaderPolicyRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_web_proto_msgTypes[10]
|
||||
mi := &file_service_http_web_proto_msgTypes[7]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -540,7 +426,7 @@ func (x *UpdateHTTPWebRequestHeaderPolicyRequest) ProtoReflect() protoreflect.Me
|
||||
|
||||
// Deprecated: Use UpdateHTTPWebRequestHeaderPolicyRequest.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateHTTPWebRequestHeaderPolicyRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_web_proto_rawDescGZIP(), []int{10}
|
||||
return file_service_http_web_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPWebRequestHeaderPolicyRequest) GetWebId() int64 {
|
||||
@@ -557,44 +443,6 @@ func (x *UpdateHTTPWebRequestHeaderPolicyRequest) GetHeaderPolicyId() int64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
type UpdateHTTPWebRequestHeaderPolicyResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPWebRequestHeaderPolicyResponse) Reset() {
|
||||
*x = UpdateHTTPWebRequestHeaderPolicyResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_http_web_proto_msgTypes[11]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPWebRequestHeaderPolicyResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateHTTPWebRequestHeaderPolicyResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateHTTPWebRequestHeaderPolicyResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_web_proto_msgTypes[11]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use UpdateHTTPWebRequestHeaderPolicyResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateHTTPWebRequestHeaderPolicyResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_web_proto_rawDescGZIP(), []int{11}
|
||||
}
|
||||
|
||||
// 更改响应Header策略
|
||||
type UpdateHTTPWebResponseHeaderPolicyRequest struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -608,7 +456,7 @@ type UpdateHTTPWebResponseHeaderPolicyRequest struct {
|
||||
func (x *UpdateHTTPWebResponseHeaderPolicyRequest) Reset() {
|
||||
*x = UpdateHTTPWebResponseHeaderPolicyRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_http_web_proto_msgTypes[12]
|
||||
mi := &file_service_http_web_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -621,7 +469,7 @@ func (x *UpdateHTTPWebResponseHeaderPolicyRequest) String() string {
|
||||
func (*UpdateHTTPWebResponseHeaderPolicyRequest) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateHTTPWebResponseHeaderPolicyRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_web_proto_msgTypes[12]
|
||||
mi := &file_service_http_web_proto_msgTypes[8]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -634,7 +482,7 @@ func (x *UpdateHTTPWebResponseHeaderPolicyRequest) ProtoReflect() protoreflect.M
|
||||
|
||||
// Deprecated: Use UpdateHTTPWebResponseHeaderPolicyRequest.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateHTTPWebResponseHeaderPolicyRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_web_proto_rawDescGZIP(), []int{12}
|
||||
return file_service_http_web_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPWebResponseHeaderPolicyRequest) GetWebId() int64 {
|
||||
@@ -651,29 +499,33 @@ func (x *UpdateHTTPWebResponseHeaderPolicyRequest) GetHeaderPolicyId() int64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
type UpdateHTTPWebResponseHeaderPolicyResponse struct {
|
||||
// 更改Shutdown
|
||||
type UpdateHTTPWebShutdownRequest struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
WebId int64 `protobuf:"varint,1,opt,name=webId,proto3" json:"webId,omitempty"`
|
||||
ShutdownJSON []byte `protobuf:"bytes,2,opt,name=shutdownJSON,proto3" json:"shutdownJSON,omitempty"`
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPWebResponseHeaderPolicyResponse) Reset() {
|
||||
*x = UpdateHTTPWebResponseHeaderPolicyResponse{}
|
||||
func (x *UpdateHTTPWebShutdownRequest) Reset() {
|
||||
*x = UpdateHTTPWebShutdownRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_http_web_proto_msgTypes[13]
|
||||
mi := &file_service_http_web_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPWebResponseHeaderPolicyResponse) String() string {
|
||||
func (x *UpdateHTTPWebShutdownRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateHTTPWebResponseHeaderPolicyResponse) ProtoMessage() {}
|
||||
func (*UpdateHTTPWebShutdownRequest) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateHTTPWebResponseHeaderPolicyResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_web_proto_msgTypes[13]
|
||||
func (x *UpdateHTTPWebShutdownRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_web_proto_msgTypes[9]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -684,9 +536,79 @@ func (x *UpdateHTTPWebResponseHeaderPolicyResponse) ProtoReflect() protoreflect.
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use UpdateHTTPWebResponseHeaderPolicyResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateHTTPWebResponseHeaderPolicyResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_web_proto_rawDescGZIP(), []int{13}
|
||||
// Deprecated: Use UpdateHTTPWebShutdownRequest.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateHTTPWebShutdownRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_web_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPWebShutdownRequest) GetWebId() int64 {
|
||||
if x != nil {
|
||||
return x.WebId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPWebShutdownRequest) GetShutdownJSON() []byte {
|
||||
if x != nil {
|
||||
return x.ShutdownJSON
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// 更改Pages
|
||||
type UpdateHTTPWebPagesRequest struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
WebId int64 `protobuf:"varint,1,opt,name=webId,proto3" json:"webId,omitempty"`
|
||||
PagesJSON []byte `protobuf:"bytes,2,opt,name=pagesJSON,proto3" json:"pagesJSON,omitempty"`
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPWebPagesRequest) Reset() {
|
||||
*x = UpdateHTTPWebPagesRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_http_web_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPWebPagesRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateHTTPWebPagesRequest) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateHTTPWebPagesRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_http_web_proto_msgTypes[10]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use UpdateHTTPWebPagesRequest.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateHTTPWebPagesRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_web_proto_rawDescGZIP(), []int{10}
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPWebPagesRequest) GetWebId() int64 {
|
||||
if x != nil {
|
||||
return x.WebId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPWebPagesRequest) GetPagesJSON() []byte {
|
||||
if x != nil {
|
||||
return x.PagesJSON
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_service_http_web_proto protoreflect.FileDescriptor
|
||||
@@ -695,57 +617,58 @@ var file_service_http_web_proto_rawDesc = []byte{
|
||||
0x0a, 0x16, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x77,
|
||||
0x65, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x14, 0x6d, 0x6f,
|
||||
0x64, 0x65, 0x6c, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x77, 0x65, 0x62, 0x2e, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x22, 0x2a, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50,
|
||||
0x57, 0x65, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f,
|
||||
0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x22, 0x2d,
|
||||
0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x65, 0x62, 0x49, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x77, 0x65, 0x62, 0x49, 0x64, 0x22, 0x31, 0x0a,
|
||||
0x19, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50,
|
||||
0x57, 0x65, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x65,
|
||||
0x62, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x77, 0x65, 0x62, 0x49, 0x64,
|
||||
0x22, 0x3b, 0x0a, 0x1a, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48,
|
||||
0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d,
|
||||
0x0a, 0x03, 0x77, 0x65, 0x62, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x52, 0x03, 0x77, 0x65, 0x62, 0x22, 0x40, 0x0a,
|
||||
0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x65, 0x62, 0x49, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x77, 0x65, 0x62, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x72,
|
||||
0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x22,
|
||||
0x17, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x48, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x47, 0x7a, 0x69, 0x70, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x65, 0x62, 0x49, 0x64, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x05, 0x77, 0x65, 0x62, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x7a,
|
||||
0x69, 0x70, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x67, 0x7a, 0x69, 0x70,
|
||||
0x49, 0x64, 0x22, 0x1b, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50,
|
||||
0x57, 0x65, 0x62, 0x47, 0x7a, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
|
||||
0x4d, 0x0a, 0x1b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62,
|
||||
0x43, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14,
|
||||
0x74, 0x6f, 0x1a, 0x12, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73,
|
||||
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2a, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
|
||||
0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12,
|
||||
0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f,
|
||||
0x6f, 0x74, 0x22, 0x2d, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50,
|
||||
0x57, 0x65, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x77,
|
||||
0x65, 0x62, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x77, 0x65, 0x62, 0x49,
|
||||
0x64, 0x22, 0x31, 0x0a, 0x19, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
||||
0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14,
|
||||
0x0a, 0x05, 0x77, 0x65, 0x62, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x77,
|
||||
0x65, 0x62, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x22, 0x1e,
|
||||
0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x43,
|
||||
0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x67,
|
||||
0x0a, 0x27, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69,
|
||||
0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x65, 0x62,
|
||||
0x65, 0x62, 0x49, 0x64, 0x22, 0x3b, 0x0a, 0x1a, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62,
|
||||
0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x1d, 0x0a, 0x03, 0x77, 0x65, 0x62, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x52, 0x03, 0x77, 0x65,
|
||||
0x62, 0x22, 0x40, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57,
|
||||
0x65, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x65, 0x62,
|
||||
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x77, 0x65, 0x62, 0x49, 0x64, 0x12,
|
||||
0x26, 0x0a, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49,
|
||||
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50,
|
||||
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x2a, 0x0a, 0x28, 0x55, 0x70, 0x64, 0x61, 0x74,
|
||||
0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48,
|
||||
0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x22, 0x68, 0x0a, 0x28, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54,
|
||||
0x50, 0x57, 0x65, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64,
|
||||
0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||
0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72,
|
||||
0x6f, 0x6f, 0x74, 0x22, 0x48, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54,
|
||||
0x50, 0x57, 0x65, 0x62, 0x47, 0x7a, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||
0x14, 0x0a, 0x05, 0x77, 0x65, 0x62, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
|
||||
0x77, 0x65, 0x62, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50,
|
||||
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x68,
|
||||
0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x2b, 0x0a,
|
||||
0x29, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69,
|
||||
0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xa0, 0x05, 0x0a, 0x0e, 0x48,
|
||||
0x77, 0x65, 0x62, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x7a, 0x69, 0x70, 0x49, 0x64, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x67, 0x7a, 0x69, 0x70, 0x49, 0x64, 0x22, 0x4d, 0x0a,
|
||||
0x1b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x43, 0x68,
|
||||
0x61, 0x72, 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05,
|
||||
0x77, 0x65, 0x62, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x77, 0x65, 0x62,
|
||||
0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x22, 0x67, 0x0a, 0x27,
|
||||
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x65, 0x62, 0x49, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x77, 0x65, 0x62, 0x49, 0x64, 0x12, 0x26, 0x0a,
|
||||
0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c,
|
||||
0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x68, 0x0a, 0x28, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48,
|
||||
0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65,
|
||||
0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x65, 0x62, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
||||
0x52, 0x05, 0x77, 0x65, 0x62, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x65,
|
||||
0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x0e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22,
|
||||
0x58, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62,
|
||||
0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||
0x14, 0x0a, 0x05, 0x77, 0x65, 0x62, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
|
||||
0x77, 0x65, 0x62, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77,
|
||||
0x6e, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x73, 0x68, 0x75,
|
||||
0x74, 0x64, 0x6f, 0x77, 0x6e, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x4f, 0x0a, 0x19, 0x55, 0x70, 0x64,
|
||||
0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x50, 0x61, 0x67, 0x65, 0x73, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x65, 0x62, 0x49, 0x64, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x77, 0x65, 0x62, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09,
|
||||
0x70, 0x61, 0x67, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52,
|
||||
0x09, 0x70, 0x61, 0x67, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x32, 0xf0, 0x05, 0x0a, 0x0e, 0x48,
|
||||
0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x44, 0x0a,
|
||||
0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x12, 0x18,
|
||||
0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65,
|
||||
@@ -756,38 +679,43 @@ var file_service_http_web_proto_rawDesc = []byte{
|
||||
0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65,
|
||||
0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69,
|
||||
0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x75, 0x70, 0x64, 0x61,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x75, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x55,
|
||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48,
|
||||
0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50,
|
||||
0x0a, 0x11, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x47,
|
||||
0x7a, 0x69, 0x70, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48,
|
||||
0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x47, 0x7a, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54,
|
||||
0x50, 0x57, 0x65, 0x62, 0x47, 0x7a, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x12, 0x59, 0x0a, 0x14, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65,
|
||||
0x62, 0x43, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x12, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70,
|
||||
0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x43, 0x68, 0x61, 0x72, 0x73,
|
||||
0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x55,
|
||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x43, 0x68, 0x61, 0x72,
|
||||
0x73, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x20, 0x75,
|
||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12,
|
||||
0x2b, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57,
|
||||
0x65, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50,
|
||||
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x70,
|
||||
0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69,
|
||||
0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x21, 0x75,
|
||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
|
||||
0x12, 0x2c, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50,
|
||||
0x57, 0x65, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65,
|
||||
0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d,
|
||||
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, 0x47, 0x0a, 0x11, 0x75, 0x70, 0x64,
|
||||
0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x47, 0x7a, 0x69, 0x70, 0x12, 0x1c,
|
||||
0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65,
|
||||
0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50,
|
||||
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a,
|
||||
0x62, 0x47, 0x7a, 0x69, 0x70, 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, 0x4d, 0x0a, 0x14, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50,
|
||||
0x57, 0x65, 0x62, 0x43, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x12, 0x1f, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x43, 0x68, 0x61,
|
||||
0x72, 0x73, 0x65, 0x74, 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, 0x65, 0x0a, 0x20, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57,
|
||||
0x65, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50,
|
||||
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x2b, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
|
||||
0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48,
|
||||
0x65, 0x61, 0x64, 0x65, 0x72, 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, 0x67, 0x0a, 0x21, 0x75, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x2c, 0x2e,
|
||||
0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 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, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57,
|
||||
0x65, 0x62, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x53, 0x68, 0x75,
|
||||
0x74, 0x64, 0x6f, 0x77, 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, 0x49, 0x0a, 0x12, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50,
|
||||
0x57, 0x65, 0x62, 0x50, 0x61, 0x67, 0x65, 0x73, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70,
|
||||
0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x50, 0x61, 0x67, 0x65, 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, 0x42, 0x06, 0x5a,
|
||||
0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
@@ -803,42 +731,44 @@ func file_service_http_web_proto_rawDescGZIP() []byte {
|
||||
return file_service_http_web_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_service_http_web_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
||||
var file_service_http_web_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
||||
var file_service_http_web_proto_goTypes = []interface{}{
|
||||
(*CreateHTTPWebRequest)(nil), // 0: pb.CreateHTTPWebRequest
|
||||
(*CreateHTTPWebResponse)(nil), // 1: pb.CreateHTTPWebResponse
|
||||
(*FindEnabledHTTPWebRequest)(nil), // 2: pb.FindEnabledHTTPWebRequest
|
||||
(*FindEnabledHTTPWebResponse)(nil), // 3: pb.FindEnabledHTTPWebResponse
|
||||
(*UpdateHTTPWebRequest)(nil), // 4: pb.UpdateHTTPWebRequest
|
||||
(*UpdateHTTPWebResponse)(nil), // 5: pb.UpdateHTTPWebResponse
|
||||
(*UpdateHTTPWebGzipRequest)(nil), // 6: pb.UpdateHTTPWebGzipRequest
|
||||
(*UpdateHTTPWebGzipResponse)(nil), // 7: pb.UpdateHTTPWebGzipResponse
|
||||
(*UpdateHTTPWebCharsetRequest)(nil), // 8: pb.UpdateHTTPWebCharsetRequest
|
||||
(*UpdateHTTPWebCharsetResponse)(nil), // 9: pb.UpdateHTTPWebCharsetResponse
|
||||
(*UpdateHTTPWebRequestHeaderPolicyRequest)(nil), // 10: pb.UpdateHTTPWebRequestHeaderPolicyRequest
|
||||
(*UpdateHTTPWebRequestHeaderPolicyResponse)(nil), // 11: pb.UpdateHTTPWebRequestHeaderPolicyResponse
|
||||
(*UpdateHTTPWebResponseHeaderPolicyRequest)(nil), // 12: pb.UpdateHTTPWebResponseHeaderPolicyRequest
|
||||
(*UpdateHTTPWebResponseHeaderPolicyResponse)(nil), // 13: pb.UpdateHTTPWebResponseHeaderPolicyResponse
|
||||
(*HTTPWeb)(nil), // 14: pb.HTTPWeb
|
||||
(*UpdateHTTPWebGzipRequest)(nil), // 5: pb.UpdateHTTPWebGzipRequest
|
||||
(*UpdateHTTPWebCharsetRequest)(nil), // 6: pb.UpdateHTTPWebCharsetRequest
|
||||
(*UpdateHTTPWebRequestHeaderPolicyRequest)(nil), // 7: pb.UpdateHTTPWebRequestHeaderPolicyRequest
|
||||
(*UpdateHTTPWebResponseHeaderPolicyRequest)(nil), // 8: pb.UpdateHTTPWebResponseHeaderPolicyRequest
|
||||
(*UpdateHTTPWebShutdownRequest)(nil), // 9: pb.UpdateHTTPWebShutdownRequest
|
||||
(*UpdateHTTPWebPagesRequest)(nil), // 10: pb.UpdateHTTPWebPagesRequest
|
||||
(*HTTPWeb)(nil), // 11: pb.HTTPWeb
|
||||
(*RPCUpdateSuccess)(nil), // 12: pb.RPCUpdateSuccess
|
||||
}
|
||||
var file_service_http_web_proto_depIdxs = []int32{
|
||||
14, // 0: pb.FindEnabledHTTPWebResponse.web:type_name -> pb.HTTPWeb
|
||||
11, // 0: pb.FindEnabledHTTPWebResponse.web:type_name -> pb.HTTPWeb
|
||||
0, // 1: pb.HTTPWebService.createHTTPWeb:input_type -> pb.CreateHTTPWebRequest
|
||||
2, // 2: pb.HTTPWebService.findEnabledHTTPWeb:input_type -> pb.FindEnabledHTTPWebRequest
|
||||
4, // 3: pb.HTTPWebService.updateHTTPWeb:input_type -> pb.UpdateHTTPWebRequest
|
||||
6, // 4: pb.HTTPWebService.updateHTTPWebGzip:input_type -> pb.UpdateHTTPWebGzipRequest
|
||||
8, // 5: pb.HTTPWebService.updateHTTPWebCharset:input_type -> pb.UpdateHTTPWebCharsetRequest
|
||||
10, // 6: pb.HTTPWebService.updateHTTPWebRequestHeaderPolicy:input_type -> pb.UpdateHTTPWebRequestHeaderPolicyRequest
|
||||
12, // 7: pb.HTTPWebService.updateHTTPWebResponseHeaderPolicy:input_type -> pb.UpdateHTTPWebResponseHeaderPolicyRequest
|
||||
1, // 8: pb.HTTPWebService.createHTTPWeb:output_type -> pb.CreateHTTPWebResponse
|
||||
3, // 9: pb.HTTPWebService.findEnabledHTTPWeb:output_type -> pb.FindEnabledHTTPWebResponse
|
||||
5, // 10: pb.HTTPWebService.updateHTTPWeb:output_type -> pb.UpdateHTTPWebResponse
|
||||
7, // 11: pb.HTTPWebService.updateHTTPWebGzip:output_type -> pb.UpdateHTTPWebGzipResponse
|
||||
9, // 12: pb.HTTPWebService.updateHTTPWebCharset:output_type -> pb.UpdateHTTPWebCharsetResponse
|
||||
11, // 13: pb.HTTPWebService.updateHTTPWebRequestHeaderPolicy:output_type -> pb.UpdateHTTPWebRequestHeaderPolicyResponse
|
||||
13, // 14: pb.HTTPWebService.updateHTTPWebResponseHeaderPolicy:output_type -> pb.UpdateHTTPWebResponseHeaderPolicyResponse
|
||||
8, // [8:15] is the sub-list for method output_type
|
||||
1, // [1:8] is the sub-list for method input_type
|
||||
5, // 4: pb.HTTPWebService.updateHTTPWebGzip:input_type -> pb.UpdateHTTPWebGzipRequest
|
||||
6, // 5: pb.HTTPWebService.updateHTTPWebCharset:input_type -> pb.UpdateHTTPWebCharsetRequest
|
||||
7, // 6: pb.HTTPWebService.updateHTTPWebRequestHeaderPolicy:input_type -> pb.UpdateHTTPWebRequestHeaderPolicyRequest
|
||||
8, // 7: pb.HTTPWebService.updateHTTPWebResponseHeaderPolicy:input_type -> pb.UpdateHTTPWebResponseHeaderPolicyRequest
|
||||
9, // 8: pb.HTTPWebService.updateHTTPWebShutdown:input_type -> pb.UpdateHTTPWebShutdownRequest
|
||||
10, // 9: pb.HTTPWebService.updateHTTPWebPages:input_type -> pb.UpdateHTTPWebPagesRequest
|
||||
1, // 10: pb.HTTPWebService.createHTTPWeb:output_type -> pb.CreateHTTPWebResponse
|
||||
3, // 11: pb.HTTPWebService.findEnabledHTTPWeb:output_type -> pb.FindEnabledHTTPWebResponse
|
||||
12, // 12: pb.HTTPWebService.updateHTTPWeb:output_type -> pb.RPCUpdateSuccess
|
||||
12, // 13: pb.HTTPWebService.updateHTTPWebGzip:output_type -> pb.RPCUpdateSuccess
|
||||
12, // 14: pb.HTTPWebService.updateHTTPWebCharset:output_type -> pb.RPCUpdateSuccess
|
||||
12, // 15: pb.HTTPWebService.updateHTTPWebRequestHeaderPolicy:output_type -> pb.RPCUpdateSuccess
|
||||
12, // 16: pb.HTTPWebService.updateHTTPWebResponseHeaderPolicy:output_type -> pb.RPCUpdateSuccess
|
||||
12, // 17: pb.HTTPWebService.updateHTTPWebShutdown:output_type -> pb.RPCUpdateSuccess
|
||||
12, // 18: pb.HTTPWebService.updateHTTPWebPages:output_type -> pb.RPCUpdateSuccess
|
||||
10, // [10:19] is the sub-list for method output_type
|
||||
1, // [1:10] 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
|
||||
@@ -850,6 +780,7 @@ func file_service_http_web_proto_init() {
|
||||
return
|
||||
}
|
||||
file_model_http_web_proto_init()
|
||||
file_rpc_messages_proto_init()
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_service_http_web_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CreateHTTPWebRequest); i {
|
||||
@@ -912,18 +843,6 @@ func file_service_http_web_proto_init() {
|
||||
}
|
||||
}
|
||||
file_service_http_web_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateHTTPWebResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_http_web_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateHTTPWebGzipRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -935,19 +854,7 @@ func file_service_http_web_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_http_web_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateHTTPWebGzipResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_http_web_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_http_web_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateHTTPWebCharsetRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -959,19 +866,7 @@ func file_service_http_web_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_http_web_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateHTTPWebCharsetResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_http_web_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_http_web_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateHTTPWebRequestHeaderPolicyRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -983,19 +878,7 @@ func file_service_http_web_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_http_web_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateHTTPWebRequestHeaderPolicyResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_http_web_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_http_web_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateHTTPWebResponseHeaderPolicyRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1007,8 +890,20 @@ func file_service_http_web_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_http_web_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateHTTPWebResponseHeaderPolicyResponse); i {
|
||||
file_service_http_web_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateHTTPWebShutdownRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_http_web_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateHTTPWebPagesRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
@@ -1026,7 +921,7 @@ func file_service_http_web_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_service_http_web_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 14,
|
||||
NumMessages: 11,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
@@ -1057,15 +952,19 @@ type HTTPWebServiceClient interface {
|
||||
// 查找Web配置
|
||||
FindEnabledHTTPWeb(ctx context.Context, in *FindEnabledHTTPWebRequest, opts ...grpc.CallOption) (*FindEnabledHTTPWebResponse, error)
|
||||
// 更改Web配置
|
||||
UpdateHTTPWeb(ctx context.Context, in *UpdateHTTPWebRequest, opts ...grpc.CallOption) (*UpdateHTTPWebResponse, error)
|
||||
UpdateHTTPWeb(ctx context.Context, in *UpdateHTTPWebRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||
// 更改Gzip配置
|
||||
UpdateHTTPWebGzip(ctx context.Context, in *UpdateHTTPWebGzipRequest, opts ...grpc.CallOption) (*UpdateHTTPWebGzipResponse, error)
|
||||
UpdateHTTPWebGzip(ctx context.Context, in *UpdateHTTPWebGzipRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||
// 更改字符集配置
|
||||
UpdateHTTPWebCharset(ctx context.Context, in *UpdateHTTPWebCharsetRequest, opts ...grpc.CallOption) (*UpdateHTTPWebCharsetResponse, error)
|
||||
UpdateHTTPWebCharset(ctx context.Context, in *UpdateHTTPWebCharsetRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||
// 更改请求Header策略
|
||||
UpdateHTTPWebRequestHeaderPolicy(ctx context.Context, in *UpdateHTTPWebRequestHeaderPolicyRequest, opts ...grpc.CallOption) (*UpdateHTTPWebRequestHeaderPolicyResponse, error)
|
||||
UpdateHTTPWebRequestHeaderPolicy(ctx context.Context, in *UpdateHTTPWebRequestHeaderPolicyRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||
// 更改响应Header策略
|
||||
UpdateHTTPWebResponseHeaderPolicy(ctx context.Context, in *UpdateHTTPWebResponseHeaderPolicyRequest, opts ...grpc.CallOption) (*UpdateHTTPWebResponseHeaderPolicyResponse, error)
|
||||
UpdateHTTPWebResponseHeaderPolicy(ctx context.Context, in *UpdateHTTPWebResponseHeaderPolicyRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||
// 更改Shutdown
|
||||
UpdateHTTPWebShutdown(ctx context.Context, in *UpdateHTTPWebShutdownRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||
// 更改Pages
|
||||
UpdateHTTPWebPages(ctx context.Context, in *UpdateHTTPWebPagesRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||
}
|
||||
|
||||
type hTTPWebServiceClient struct {
|
||||
@@ -1094,8 +993,8 @@ func (c *hTTPWebServiceClient) FindEnabledHTTPWeb(ctx context.Context, in *FindE
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *hTTPWebServiceClient) UpdateHTTPWeb(ctx context.Context, in *UpdateHTTPWebRequest, opts ...grpc.CallOption) (*UpdateHTTPWebResponse, error) {
|
||||
out := new(UpdateHTTPWebResponse)
|
||||
func (c *hTTPWebServiceClient) UpdateHTTPWeb(ctx context.Context, in *UpdateHTTPWebRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
||||
out := new(RPCUpdateSuccess)
|
||||
err := c.cc.Invoke(ctx, "/pb.HTTPWebService/updateHTTPWeb", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -1103,8 +1002,8 @@ func (c *hTTPWebServiceClient) UpdateHTTPWeb(ctx context.Context, in *UpdateHTTP
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *hTTPWebServiceClient) UpdateHTTPWebGzip(ctx context.Context, in *UpdateHTTPWebGzipRequest, opts ...grpc.CallOption) (*UpdateHTTPWebGzipResponse, error) {
|
||||
out := new(UpdateHTTPWebGzipResponse)
|
||||
func (c *hTTPWebServiceClient) UpdateHTTPWebGzip(ctx context.Context, in *UpdateHTTPWebGzipRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
||||
out := new(RPCUpdateSuccess)
|
||||
err := c.cc.Invoke(ctx, "/pb.HTTPWebService/updateHTTPWebGzip", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -1112,8 +1011,8 @@ func (c *hTTPWebServiceClient) UpdateHTTPWebGzip(ctx context.Context, in *Update
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *hTTPWebServiceClient) UpdateHTTPWebCharset(ctx context.Context, in *UpdateHTTPWebCharsetRequest, opts ...grpc.CallOption) (*UpdateHTTPWebCharsetResponse, error) {
|
||||
out := new(UpdateHTTPWebCharsetResponse)
|
||||
func (c *hTTPWebServiceClient) UpdateHTTPWebCharset(ctx context.Context, in *UpdateHTTPWebCharsetRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
||||
out := new(RPCUpdateSuccess)
|
||||
err := c.cc.Invoke(ctx, "/pb.HTTPWebService/updateHTTPWebCharset", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -1121,8 +1020,8 @@ func (c *hTTPWebServiceClient) UpdateHTTPWebCharset(ctx context.Context, in *Upd
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *hTTPWebServiceClient) UpdateHTTPWebRequestHeaderPolicy(ctx context.Context, in *UpdateHTTPWebRequestHeaderPolicyRequest, opts ...grpc.CallOption) (*UpdateHTTPWebRequestHeaderPolicyResponse, error) {
|
||||
out := new(UpdateHTTPWebRequestHeaderPolicyResponse)
|
||||
func (c *hTTPWebServiceClient) UpdateHTTPWebRequestHeaderPolicy(ctx context.Context, in *UpdateHTTPWebRequestHeaderPolicyRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
||||
out := new(RPCUpdateSuccess)
|
||||
err := c.cc.Invoke(ctx, "/pb.HTTPWebService/updateHTTPWebRequestHeaderPolicy", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -1130,8 +1029,8 @@ func (c *hTTPWebServiceClient) UpdateHTTPWebRequestHeaderPolicy(ctx context.Cont
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *hTTPWebServiceClient) UpdateHTTPWebResponseHeaderPolicy(ctx context.Context, in *UpdateHTTPWebResponseHeaderPolicyRequest, opts ...grpc.CallOption) (*UpdateHTTPWebResponseHeaderPolicyResponse, error) {
|
||||
out := new(UpdateHTTPWebResponseHeaderPolicyResponse)
|
||||
func (c *hTTPWebServiceClient) UpdateHTTPWebResponseHeaderPolicy(ctx context.Context, in *UpdateHTTPWebResponseHeaderPolicyRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
||||
out := new(RPCUpdateSuccess)
|
||||
err := c.cc.Invoke(ctx, "/pb.HTTPWebService/updateHTTPWebResponseHeaderPolicy", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -1139,6 +1038,24 @@ func (c *hTTPWebServiceClient) UpdateHTTPWebResponseHeaderPolicy(ctx context.Con
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *hTTPWebServiceClient) UpdateHTTPWebShutdown(ctx context.Context, in *UpdateHTTPWebShutdownRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
||||
out := new(RPCUpdateSuccess)
|
||||
err := c.cc.Invoke(ctx, "/pb.HTTPWebService/updateHTTPWebShutdown", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *hTTPWebServiceClient) UpdateHTTPWebPages(ctx context.Context, in *UpdateHTTPWebPagesRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
||||
out := new(RPCUpdateSuccess)
|
||||
err := c.cc.Invoke(ctx, "/pb.HTTPWebService/updateHTTPWebPages", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// HTTPWebServiceServer is the server API for HTTPWebService service.
|
||||
type HTTPWebServiceServer interface {
|
||||
// 创建Web配置
|
||||
@@ -1146,15 +1063,19 @@ type HTTPWebServiceServer interface {
|
||||
// 查找Web配置
|
||||
FindEnabledHTTPWeb(context.Context, *FindEnabledHTTPWebRequest) (*FindEnabledHTTPWebResponse, error)
|
||||
// 更改Web配置
|
||||
UpdateHTTPWeb(context.Context, *UpdateHTTPWebRequest) (*UpdateHTTPWebResponse, error)
|
||||
UpdateHTTPWeb(context.Context, *UpdateHTTPWebRequest) (*RPCUpdateSuccess, error)
|
||||
// 更改Gzip配置
|
||||
UpdateHTTPWebGzip(context.Context, *UpdateHTTPWebGzipRequest) (*UpdateHTTPWebGzipResponse, error)
|
||||
UpdateHTTPWebGzip(context.Context, *UpdateHTTPWebGzipRequest) (*RPCUpdateSuccess, error)
|
||||
// 更改字符集配置
|
||||
UpdateHTTPWebCharset(context.Context, *UpdateHTTPWebCharsetRequest) (*UpdateHTTPWebCharsetResponse, error)
|
||||
UpdateHTTPWebCharset(context.Context, *UpdateHTTPWebCharsetRequest) (*RPCUpdateSuccess, error)
|
||||
// 更改请求Header策略
|
||||
UpdateHTTPWebRequestHeaderPolicy(context.Context, *UpdateHTTPWebRequestHeaderPolicyRequest) (*UpdateHTTPWebRequestHeaderPolicyResponse, error)
|
||||
UpdateHTTPWebRequestHeaderPolicy(context.Context, *UpdateHTTPWebRequestHeaderPolicyRequest) (*RPCUpdateSuccess, error)
|
||||
// 更改响应Header策略
|
||||
UpdateHTTPWebResponseHeaderPolicy(context.Context, *UpdateHTTPWebResponseHeaderPolicyRequest) (*UpdateHTTPWebResponseHeaderPolicyResponse, error)
|
||||
UpdateHTTPWebResponseHeaderPolicy(context.Context, *UpdateHTTPWebResponseHeaderPolicyRequest) (*RPCUpdateSuccess, error)
|
||||
// 更改Shutdown
|
||||
UpdateHTTPWebShutdown(context.Context, *UpdateHTTPWebShutdownRequest) (*RPCUpdateSuccess, error)
|
||||
// 更改Pages
|
||||
UpdateHTTPWebPages(context.Context, *UpdateHTTPWebPagesRequest) (*RPCUpdateSuccess, error)
|
||||
}
|
||||
|
||||
// UnimplementedHTTPWebServiceServer can be embedded to have forward compatible implementations.
|
||||
@@ -1167,21 +1088,27 @@ func (*UnimplementedHTTPWebServiceServer) CreateHTTPWeb(context.Context, *Create
|
||||
func (*UnimplementedHTTPWebServiceServer) FindEnabledHTTPWeb(context.Context, *FindEnabledHTTPWebRequest) (*FindEnabledHTTPWebResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindEnabledHTTPWeb not implemented")
|
||||
}
|
||||
func (*UnimplementedHTTPWebServiceServer) UpdateHTTPWeb(context.Context, *UpdateHTTPWebRequest) (*UpdateHTTPWebResponse, error) {
|
||||
func (*UnimplementedHTTPWebServiceServer) UpdateHTTPWeb(context.Context, *UpdateHTTPWebRequest) (*RPCUpdateSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateHTTPWeb not implemented")
|
||||
}
|
||||
func (*UnimplementedHTTPWebServiceServer) UpdateHTTPWebGzip(context.Context, *UpdateHTTPWebGzipRequest) (*UpdateHTTPWebGzipResponse, error) {
|
||||
func (*UnimplementedHTTPWebServiceServer) UpdateHTTPWebGzip(context.Context, *UpdateHTTPWebGzipRequest) (*RPCUpdateSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateHTTPWebGzip not implemented")
|
||||
}
|
||||
func (*UnimplementedHTTPWebServiceServer) UpdateHTTPWebCharset(context.Context, *UpdateHTTPWebCharsetRequest) (*UpdateHTTPWebCharsetResponse, error) {
|
||||
func (*UnimplementedHTTPWebServiceServer) UpdateHTTPWebCharset(context.Context, *UpdateHTTPWebCharsetRequest) (*RPCUpdateSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateHTTPWebCharset not implemented")
|
||||
}
|
||||
func (*UnimplementedHTTPWebServiceServer) UpdateHTTPWebRequestHeaderPolicy(context.Context, *UpdateHTTPWebRequestHeaderPolicyRequest) (*UpdateHTTPWebRequestHeaderPolicyResponse, error) {
|
||||
func (*UnimplementedHTTPWebServiceServer) UpdateHTTPWebRequestHeaderPolicy(context.Context, *UpdateHTTPWebRequestHeaderPolicyRequest) (*RPCUpdateSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateHTTPWebRequestHeaderPolicy not implemented")
|
||||
}
|
||||
func (*UnimplementedHTTPWebServiceServer) UpdateHTTPWebResponseHeaderPolicy(context.Context, *UpdateHTTPWebResponseHeaderPolicyRequest) (*UpdateHTTPWebResponseHeaderPolicyResponse, error) {
|
||||
func (*UnimplementedHTTPWebServiceServer) UpdateHTTPWebResponseHeaderPolicy(context.Context, *UpdateHTTPWebResponseHeaderPolicyRequest) (*RPCUpdateSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateHTTPWebResponseHeaderPolicy not implemented")
|
||||
}
|
||||
func (*UnimplementedHTTPWebServiceServer) UpdateHTTPWebShutdown(context.Context, *UpdateHTTPWebShutdownRequest) (*RPCUpdateSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateHTTPWebShutdown not implemented")
|
||||
}
|
||||
func (*UnimplementedHTTPWebServiceServer) UpdateHTTPWebPages(context.Context, *UpdateHTTPWebPagesRequest) (*RPCUpdateSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateHTTPWebPages not implemented")
|
||||
}
|
||||
|
||||
func RegisterHTTPWebServiceServer(s *grpc.Server, srv HTTPWebServiceServer) {
|
||||
s.RegisterService(&_HTTPWebService_serviceDesc, srv)
|
||||
@@ -1313,6 +1240,42 @@ func _HTTPWebService_UpdateHTTPWebResponseHeaderPolicy_Handler(srv interface{},
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _HTTPWebService_UpdateHTTPWebShutdown_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(UpdateHTTPWebShutdownRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(HTTPWebServiceServer).UpdateHTTPWebShutdown(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/pb.HTTPWebService/UpdateHTTPWebShutdown",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(HTTPWebServiceServer).UpdateHTTPWebShutdown(ctx, req.(*UpdateHTTPWebShutdownRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _HTTPWebService_UpdateHTTPWebPages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(UpdateHTTPWebPagesRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(HTTPWebServiceServer).UpdateHTTPWebPages(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/pb.HTTPWebService/UpdateHTTPWebPages",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(HTTPWebServiceServer).UpdateHTTPWebPages(ctx, req.(*UpdateHTTPWebPagesRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _HTTPWebService_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "pb.HTTPWebService",
|
||||
HandlerType: (*HTTPWebServiceServer)(nil),
|
||||
@@ -1345,6 +1308,14 @@ var _HTTPWebService_serviceDesc = grpc.ServiceDesc{
|
||||
MethodName: "updateHTTPWebResponseHeaderPolicy",
|
||||
Handler: _HTTPWebService_UpdateHTTPWebResponseHeaderPolicy_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "updateHTTPWebShutdown",
|
||||
Handler: _HTTPWebService_UpdateHTTPWebShutdown_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "updateHTTPWebPages",
|
||||
Handler: _HTTPWebService_UpdateHTTPWebPages_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "service_http_web.proto",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -384,44 +384,6 @@ func (x *UpdateNodeClusterRequest) GetInstallDir() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
type UpdateNodeClusterResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *UpdateNodeClusterResponse) Reset() {
|
||||
*x = UpdateNodeClusterResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_node_cluster_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateNodeClusterResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateNodeClusterResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateNodeClusterResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_cluster_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 UpdateNodeClusterResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateNodeClusterResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_cluster_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
// 禁用集群
|
||||
type DisableNodeClusterRequest struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -434,7 +396,7 @@ type DisableNodeClusterRequest struct {
|
||||
func (x *DisableNodeClusterRequest) Reset() {
|
||||
*x = DisableNodeClusterRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_node_cluster_proto_msgTypes[8]
|
||||
mi := &file_service_node_cluster_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -447,7 +409,7 @@ func (x *DisableNodeClusterRequest) String() string {
|
||||
func (*DisableNodeClusterRequest) ProtoMessage() {}
|
||||
|
||||
func (x *DisableNodeClusterRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_cluster_proto_msgTypes[8]
|
||||
mi := &file_service_node_cluster_proto_msgTypes[7]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -460,7 +422,7 @@ func (x *DisableNodeClusterRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use DisableNodeClusterRequest.ProtoReflect.Descriptor instead.
|
||||
func (*DisableNodeClusterRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_cluster_proto_rawDescGZIP(), []int{8}
|
||||
return file_service_node_cluster_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *DisableNodeClusterRequest) GetClusterId() int64 {
|
||||
@@ -479,7 +441,7 @@ type DisableNodeClusterResponse struct {
|
||||
func (x *DisableNodeClusterResponse) Reset() {
|
||||
*x = DisableNodeClusterResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_node_cluster_proto_msgTypes[9]
|
||||
mi := &file_service_node_cluster_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -492,7 +454,7 @@ func (x *DisableNodeClusterResponse) String() string {
|
||||
func (*DisableNodeClusterResponse) ProtoMessage() {}
|
||||
|
||||
func (x *DisableNodeClusterResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_cluster_proto_msgTypes[9]
|
||||
mi := &file_service_node_cluster_proto_msgTypes[8]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -505,7 +467,7 @@ func (x *DisableNodeClusterResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use DisableNodeClusterResponse.ProtoReflect.Descriptor instead.
|
||||
func (*DisableNodeClusterResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_cluster_proto_rawDescGZIP(), []int{9}
|
||||
return file_service_node_cluster_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
// 查找单个集群信息
|
||||
@@ -520,7 +482,7 @@ type FindEnabledNodeClusterRequest struct {
|
||||
func (x *FindEnabledNodeClusterRequest) Reset() {
|
||||
*x = FindEnabledNodeClusterRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_node_cluster_proto_msgTypes[10]
|
||||
mi := &file_service_node_cluster_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -533,7 +495,7 @@ func (x *FindEnabledNodeClusterRequest) String() string {
|
||||
func (*FindEnabledNodeClusterRequest) ProtoMessage() {}
|
||||
|
||||
func (x *FindEnabledNodeClusterRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_cluster_proto_msgTypes[10]
|
||||
mi := &file_service_node_cluster_proto_msgTypes[9]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -546,7 +508,7 @@ func (x *FindEnabledNodeClusterRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FindEnabledNodeClusterRequest.ProtoReflect.Descriptor instead.
|
||||
func (*FindEnabledNodeClusterRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_cluster_proto_rawDescGZIP(), []int{10}
|
||||
return file_service_node_cluster_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *FindEnabledNodeClusterRequest) GetClusterId() int64 {
|
||||
@@ -567,7 +529,7 @@ type FindEnabledNodeClusterResponse struct {
|
||||
func (x *FindEnabledNodeClusterResponse) Reset() {
|
||||
*x = FindEnabledNodeClusterResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_node_cluster_proto_msgTypes[11]
|
||||
mi := &file_service_node_cluster_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -580,7 +542,7 @@ func (x *FindEnabledNodeClusterResponse) String() string {
|
||||
func (*FindEnabledNodeClusterResponse) ProtoMessage() {}
|
||||
|
||||
func (x *FindEnabledNodeClusterResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_cluster_proto_msgTypes[11]
|
||||
mi := &file_service_node_cluster_proto_msgTypes[10]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -593,7 +555,7 @@ func (x *FindEnabledNodeClusterResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FindEnabledNodeClusterResponse.ProtoReflect.Descriptor instead.
|
||||
func (*FindEnabledNodeClusterResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_cluster_proto_rawDescGZIP(), []int{11}
|
||||
return file_service_node_cluster_proto_rawDescGZIP(), []int{10}
|
||||
}
|
||||
|
||||
func (x *FindEnabledNodeClusterResponse) GetCluster() *NodeCluster {
|
||||
@@ -613,7 +575,7 @@ type CountAllEnabledNodeClustersRequest struct {
|
||||
func (x *CountAllEnabledNodeClustersRequest) Reset() {
|
||||
*x = CountAllEnabledNodeClustersRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_node_cluster_proto_msgTypes[12]
|
||||
mi := &file_service_node_cluster_proto_msgTypes[11]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -626,7 +588,7 @@ func (x *CountAllEnabledNodeClustersRequest) String() string {
|
||||
func (*CountAllEnabledNodeClustersRequest) ProtoMessage() {}
|
||||
|
||||
func (x *CountAllEnabledNodeClustersRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_cluster_proto_msgTypes[12]
|
||||
mi := &file_service_node_cluster_proto_msgTypes[11]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -639,7 +601,7 @@ func (x *CountAllEnabledNodeClustersRequest) ProtoReflect() protoreflect.Message
|
||||
|
||||
// Deprecated: Use CountAllEnabledNodeClustersRequest.ProtoReflect.Descriptor instead.
|
||||
func (*CountAllEnabledNodeClustersRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_cluster_proto_rawDescGZIP(), []int{12}
|
||||
return file_service_node_cluster_proto_rawDescGZIP(), []int{11}
|
||||
}
|
||||
|
||||
type CountAllEnabledNodeClustersResponse struct {
|
||||
@@ -653,7 +615,7 @@ type CountAllEnabledNodeClustersResponse struct {
|
||||
func (x *CountAllEnabledNodeClustersResponse) Reset() {
|
||||
*x = CountAllEnabledNodeClustersResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_node_cluster_proto_msgTypes[13]
|
||||
mi := &file_service_node_cluster_proto_msgTypes[12]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -666,7 +628,7 @@ func (x *CountAllEnabledNodeClustersResponse) String() string {
|
||||
func (*CountAllEnabledNodeClustersResponse) ProtoMessage() {}
|
||||
|
||||
func (x *CountAllEnabledNodeClustersResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_cluster_proto_msgTypes[13]
|
||||
mi := &file_service_node_cluster_proto_msgTypes[12]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -679,7 +641,7 @@ func (x *CountAllEnabledNodeClustersResponse) ProtoReflect() protoreflect.Messag
|
||||
|
||||
// Deprecated: Use CountAllEnabledNodeClustersResponse.ProtoReflect.Descriptor instead.
|
||||
func (*CountAllEnabledNodeClustersResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_cluster_proto_rawDescGZIP(), []int{13}
|
||||
return file_service_node_cluster_proto_rawDescGZIP(), []int{12}
|
||||
}
|
||||
|
||||
func (x *CountAllEnabledNodeClustersResponse) GetCount() int64 {
|
||||
@@ -702,7 +664,7 @@ type ListEnabledNodeClustersRequest struct {
|
||||
func (x *ListEnabledNodeClustersRequest) Reset() {
|
||||
*x = ListEnabledNodeClustersRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_node_cluster_proto_msgTypes[14]
|
||||
mi := &file_service_node_cluster_proto_msgTypes[13]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -715,7 +677,7 @@ func (x *ListEnabledNodeClustersRequest) String() string {
|
||||
func (*ListEnabledNodeClustersRequest) ProtoMessage() {}
|
||||
|
||||
func (x *ListEnabledNodeClustersRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_cluster_proto_msgTypes[14]
|
||||
mi := &file_service_node_cluster_proto_msgTypes[13]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -728,7 +690,7 @@ func (x *ListEnabledNodeClustersRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListEnabledNodeClustersRequest.ProtoReflect.Descriptor instead.
|
||||
func (*ListEnabledNodeClustersRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_cluster_proto_rawDescGZIP(), []int{14}
|
||||
return file_service_node_cluster_proto_rawDescGZIP(), []int{13}
|
||||
}
|
||||
|
||||
func (x *ListEnabledNodeClustersRequest) GetOffset() int64 {
|
||||
@@ -756,7 +718,7 @@ type ListEnabledNodeClustersResponse struct {
|
||||
func (x *ListEnabledNodeClustersResponse) Reset() {
|
||||
*x = ListEnabledNodeClustersResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_node_cluster_proto_msgTypes[15]
|
||||
mi := &file_service_node_cluster_proto_msgTypes[14]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -769,7 +731,7 @@ func (x *ListEnabledNodeClustersResponse) String() string {
|
||||
func (*ListEnabledNodeClustersResponse) ProtoMessage() {}
|
||||
|
||||
func (x *ListEnabledNodeClustersResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_cluster_proto_msgTypes[15]
|
||||
mi := &file_service_node_cluster_proto_msgTypes[14]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -782,7 +744,7 @@ func (x *ListEnabledNodeClustersResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListEnabledNodeClustersResponse.ProtoReflect.Descriptor instead.
|
||||
func (*ListEnabledNodeClustersResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_cluster_proto_rawDescGZIP(), []int{15}
|
||||
return file_service_node_cluster_proto_rawDescGZIP(), []int{14}
|
||||
}
|
||||
|
||||
func (x *ListEnabledNodeClustersResponse) GetClusters() []*NodeCluster {
|
||||
@@ -798,124 +760,123 @@ var file_service_node_cluster_proto_rawDesc = []byte{
|
||||
0x0a, 0x1a, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x63,
|
||||
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62,
|
||||
0x1a, 0x18, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x63, 0x6c, 0x75,
|
||||
0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x23, 0x0a, 0x21, 0x46, 0x69,
|
||||
0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65,
|
||||
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22,
|
||||
0x51, 0x0a, 0x22, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
||||
0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x72, 0x70, 0x63, 0x5f,
|
||||
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x23,
|
||||
0x0a, 0x21, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
||||
0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x22, 0x51, 0x0a, 0x22, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
||||
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x08, 0x63, 0x6c, 0x75,
|
||||
0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x08, 0x63, 0x6c,
|
||||
0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x22, 0x23, 0x0a, 0x21, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c,
|
||||
0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73,
|
||||
0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x51, 0x0a, 0x22, 0x46,
|
||||
0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4e, 0x6f, 0x64,
|
||||
0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x12, 0x2b, 0x0a, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20,
|
||||
0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75,
|
||||
0x73, 0x74, 0x65, 0x72, 0x52, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x22, 0x68,
|
||||
0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73,
|
||||
0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
|
||||
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18,
|
||||
0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x6e, 0x73, 0x74,
|
||||
0x61, 0x6c, 0x6c, 0x44, 0x69, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e,
|
||||
0x73, 0x74, 0x61, 0x6c, 0x6c, 0x44, 0x69, 0x72, 0x22, 0x39, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61,
|
||||
0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
||||
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
||||
0x72, 0x49, 0x64, 0x22, 0x86, 0x01, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f,
|
||||
0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 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, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x03, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a,
|
||||
0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x44, 0x69, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x44, 0x69, 0x72, 0x22, 0x39, 0x0a, 0x19,
|
||||
0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
||||
0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75,
|
||||
0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c,
|
||||
0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x44, 0x69, 0x73, 0x61, 0x62,
|
||||
0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3d, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61,
|
||||
0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
||||
0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74,
|
||||
0x65, 0x72, 0x49, 0x64, 0x22, 0x4b, 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62,
|
||||
0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
||||
0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64,
|
||||
0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
||||
0x72, 0x22, 0x24, 0x0a, 0x22, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61,
|
||||
0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 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, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c,
|
||||
0x75, 0x73, 0x74, 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, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 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, 0x4e, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
||||
0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
||||
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64,
|
||||
0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
||||
0x72, 0x73, 0x22, 0x23, 0x0a, 0x21, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x43, 0x68, 0x61,
|
||||
0x6e, 0x67, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x51, 0x0a, 0x22, 0x46, 0x69, 0x6e, 0x64, 0x41,
|
||||
0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75,
|
||||
0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a,
|
||||
0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||||
0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
||||
0x52, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x22, 0x68, 0x0a, 0x18, 0x43, 0x72,
|
||||
0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72,
|
||||
0x61, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x61,
|
||||
0x6e, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x44,
|
||||
0x69, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c,
|
||||
0x6c, 0x44, 0x69, 0x72, 0x22, 0x39, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f,
|
||||
0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22,
|
||||
0x86, 0x01, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c,
|
||||
0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09,
|
||||
0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 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, 0x18,
|
||||
0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x6e, 0x73, 0x74,
|
||||
0x61, 0x6c, 0x6c, 0x44, 0x69, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e,
|
||||
0x73, 0x74, 0x61, 0x6c, 0x6c, 0x44, 0x69, 0x72, 0x22, 0x1b, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x39, 0x0a, 0x19, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65,
|
||||
0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64,
|
||||
0x22, 0x1c, 0x0a, 0x1a, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43,
|
||||
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3d,
|
||||
0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64,
|
||||
0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||
0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x4b, 0x0a,
|
||||
0x1e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65,
|
||||
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||
0x29, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
||||
0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
||||
0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x22, 0x24, 0x0a, 0x22, 0x43, 0x6f,
|
||||
0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64,
|
||||
0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 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, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 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, 0x4e, 0x6f, 0x64, 0x65,
|
||||
0x43, 0x6c, 0x75, 0x73, 0x74, 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, 0x4e, 0x0a, 0x1f, 0x4c,
|
||||
0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c,
|
||||
0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b,
|
||||
0x0a, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
|
||||
0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
||||
0x72, 0x52, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x32, 0x9c, 0x06, 0x0a, 0x12,
|
||||
0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69,
|
||||
0x63, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65,
|
||||
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74,
|
||||
0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f,
|
||||
0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x55,
|
||||
0x72, 0x73, 0x32, 0x93, 0x06, 0x0a, 0x12, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
||||
0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x63, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1c,
|
||||
0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c,
|
||||
0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70,
|
||||
0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73,
|
||||
0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x11, 0x75,
|
||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64,
|
||||
0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x12, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c,
|
||||
0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1d, 0x2e, 0x70,
|
||||
0x62, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75,
|
||||
0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73,
|
||||
0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x16, 0x66,
|
||||
0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c,
|
||||
0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45,
|
||||
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 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, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75,
|
||||
0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x1a,
|
||||
0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f,
|
||||
0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x25, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f,
|
||||
0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x1a, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
||||
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x1a, 0x66, 0x69, 0x6e,
|
||||
0x64, 0x41, 0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43,
|
||||
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e,
|
||||
0x64, 0x41, 0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43,
|
||||
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26,
|
||||
0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67,
|
||||
0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x1b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41,
|
||||
0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75,
|
||||
0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74,
|
||||
0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c,
|
||||
0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e,
|
||||
0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
||||
0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
||||
0x73, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
||||
0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 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, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
||||
0x72, 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,
|
||||
0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65,
|
||||
0x43, 0x6c, 0x75, 0x73, 0x74, 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, 0x53, 0x0a, 0x12, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e,
|
||||
0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
||||
0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x44,
|
||||
0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
||||
0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x16, 0x66, 0x69, 0x6e,
|
||||
0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73,
|
||||
0x74, 0x65, 0x72, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61,
|
||||
0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 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, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
||||
0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x1a, 0x66, 0x69,
|
||||
0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65,
|
||||
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69,
|
||||
0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65,
|
||||
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||
0x26, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62,
|
||||
0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x1a, 0x66, 0x69, 0x6e, 0x64, 0x41,
|
||||
0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75,
|
||||
0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41,
|
||||
0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75,
|
||||
0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x70,
|
||||
0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64,
|
||||
0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x1b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c,
|
||||
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
||||
0x65, 0x72, 0x73, 0x12, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c,
|
||||
0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73,
|
||||
0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
||||
0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62,
|
||||
0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12,
|
||||
0x22, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
||||
0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 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, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 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 (
|
||||
@@ -930,7 +891,7 @@ func file_service_node_cluster_proto_rawDescGZIP() []byte {
|
||||
return file_service_node_cluster_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_service_node_cluster_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
|
||||
var file_service_node_cluster_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
|
||||
var file_service_node_cluster_proto_goTypes = []interface{}{
|
||||
(*FindAllEnabledNodeClustersRequest)(nil), // 0: pb.FindAllEnabledNodeClustersRequest
|
||||
(*FindAllEnabledNodeClustersResponse)(nil), // 1: pb.FindAllEnabledNodeClustersResponse
|
||||
@@ -939,38 +900,38 @@ var file_service_node_cluster_proto_goTypes = []interface{}{
|
||||
(*CreateNodeClusterRequest)(nil), // 4: pb.CreateNodeClusterRequest
|
||||
(*CreateNodeClusterResponse)(nil), // 5: pb.CreateNodeClusterResponse
|
||||
(*UpdateNodeClusterRequest)(nil), // 6: pb.UpdateNodeClusterRequest
|
||||
(*UpdateNodeClusterResponse)(nil), // 7: pb.UpdateNodeClusterResponse
|
||||
(*DisableNodeClusterRequest)(nil), // 8: pb.DisableNodeClusterRequest
|
||||
(*DisableNodeClusterResponse)(nil), // 9: pb.DisableNodeClusterResponse
|
||||
(*FindEnabledNodeClusterRequest)(nil), // 10: pb.FindEnabledNodeClusterRequest
|
||||
(*FindEnabledNodeClusterResponse)(nil), // 11: pb.FindEnabledNodeClusterResponse
|
||||
(*CountAllEnabledNodeClustersRequest)(nil), // 12: pb.CountAllEnabledNodeClustersRequest
|
||||
(*CountAllEnabledNodeClustersResponse)(nil), // 13: pb.CountAllEnabledNodeClustersResponse
|
||||
(*ListEnabledNodeClustersRequest)(nil), // 14: pb.ListEnabledNodeClustersRequest
|
||||
(*ListEnabledNodeClustersResponse)(nil), // 15: pb.ListEnabledNodeClustersResponse
|
||||
(*NodeCluster)(nil), // 16: pb.NodeCluster
|
||||
(*DisableNodeClusterRequest)(nil), // 7: pb.DisableNodeClusterRequest
|
||||
(*DisableNodeClusterResponse)(nil), // 8: pb.DisableNodeClusterResponse
|
||||
(*FindEnabledNodeClusterRequest)(nil), // 9: pb.FindEnabledNodeClusterRequest
|
||||
(*FindEnabledNodeClusterResponse)(nil), // 10: pb.FindEnabledNodeClusterResponse
|
||||
(*CountAllEnabledNodeClustersRequest)(nil), // 11: pb.CountAllEnabledNodeClustersRequest
|
||||
(*CountAllEnabledNodeClustersResponse)(nil), // 12: pb.CountAllEnabledNodeClustersResponse
|
||||
(*ListEnabledNodeClustersRequest)(nil), // 13: pb.ListEnabledNodeClustersRequest
|
||||
(*ListEnabledNodeClustersResponse)(nil), // 14: pb.ListEnabledNodeClustersResponse
|
||||
(*NodeCluster)(nil), // 15: pb.NodeCluster
|
||||
(*RPCUpdateSuccess)(nil), // 16: pb.RPCUpdateSuccess
|
||||
}
|
||||
var file_service_node_cluster_proto_depIdxs = []int32{
|
||||
16, // 0: pb.FindAllEnabledNodeClustersResponse.clusters:type_name -> pb.NodeCluster
|
||||
16, // 1: pb.FindAllChangedNodeClustersResponse.clusters:type_name -> pb.NodeCluster
|
||||
16, // 2: pb.FindEnabledNodeClusterResponse.cluster:type_name -> pb.NodeCluster
|
||||
16, // 3: pb.ListEnabledNodeClustersResponse.clusters:type_name -> pb.NodeCluster
|
||||
15, // 0: pb.FindAllEnabledNodeClustersResponse.clusters:type_name -> pb.NodeCluster
|
||||
15, // 1: pb.FindAllChangedNodeClustersResponse.clusters:type_name -> pb.NodeCluster
|
||||
15, // 2: pb.FindEnabledNodeClusterResponse.cluster:type_name -> pb.NodeCluster
|
||||
15, // 3: pb.ListEnabledNodeClustersResponse.clusters:type_name -> pb.NodeCluster
|
||||
4, // 4: pb.NodeClusterService.createNodeCluster:input_type -> pb.CreateNodeClusterRequest
|
||||
6, // 5: pb.NodeClusterService.updateNodeCluster:input_type -> pb.UpdateNodeClusterRequest
|
||||
8, // 6: pb.NodeClusterService.disableNodeCluster:input_type -> pb.DisableNodeClusterRequest
|
||||
10, // 7: pb.NodeClusterService.findEnabledNodeCluster:input_type -> pb.FindEnabledNodeClusterRequest
|
||||
7, // 6: pb.NodeClusterService.disableNodeCluster:input_type -> pb.DisableNodeClusterRequest
|
||||
9, // 7: pb.NodeClusterService.findEnabledNodeCluster:input_type -> pb.FindEnabledNodeClusterRequest
|
||||
0, // 8: pb.NodeClusterService.findAllEnabledNodeClusters:input_type -> pb.FindAllEnabledNodeClustersRequest
|
||||
2, // 9: pb.NodeClusterService.findAllChangedNodeClusters:input_type -> pb.FindAllChangedNodeClustersRequest
|
||||
12, // 10: pb.NodeClusterService.countAllEnabledNodeClusters:input_type -> pb.CountAllEnabledNodeClustersRequest
|
||||
14, // 11: pb.NodeClusterService.listEnabledNodeClusters:input_type -> pb.ListEnabledNodeClustersRequest
|
||||
11, // 10: pb.NodeClusterService.countAllEnabledNodeClusters:input_type -> pb.CountAllEnabledNodeClustersRequest
|
||||
13, // 11: pb.NodeClusterService.listEnabledNodeClusters:input_type -> pb.ListEnabledNodeClustersRequest
|
||||
5, // 12: pb.NodeClusterService.createNodeCluster:output_type -> pb.CreateNodeClusterResponse
|
||||
7, // 13: pb.NodeClusterService.updateNodeCluster:output_type -> pb.UpdateNodeClusterResponse
|
||||
9, // 14: pb.NodeClusterService.disableNodeCluster:output_type -> pb.DisableNodeClusterResponse
|
||||
11, // 15: pb.NodeClusterService.findEnabledNodeCluster:output_type -> pb.FindEnabledNodeClusterResponse
|
||||
16, // 13: pb.NodeClusterService.updateNodeCluster:output_type -> pb.RPCUpdateSuccess
|
||||
8, // 14: pb.NodeClusterService.disableNodeCluster:output_type -> pb.DisableNodeClusterResponse
|
||||
10, // 15: pb.NodeClusterService.findEnabledNodeCluster:output_type -> pb.FindEnabledNodeClusterResponse
|
||||
1, // 16: pb.NodeClusterService.findAllEnabledNodeClusters:output_type -> pb.FindAllEnabledNodeClustersResponse
|
||||
3, // 17: pb.NodeClusterService.findAllChangedNodeClusters:output_type -> pb.FindAllChangedNodeClustersResponse
|
||||
13, // 18: pb.NodeClusterService.countAllEnabledNodeClusters:output_type -> pb.CountAllEnabledNodeClustersResponse
|
||||
15, // 19: pb.NodeClusterService.listEnabledNodeClusters:output_type -> pb.ListEnabledNodeClustersResponse
|
||||
12, // 18: pb.NodeClusterService.countAllEnabledNodeClusters:output_type -> pb.CountAllEnabledNodeClustersResponse
|
||||
14, // 19: pb.NodeClusterService.listEnabledNodeClusters:output_type -> pb.ListEnabledNodeClustersResponse
|
||||
12, // [12:20] is the sub-list for method output_type
|
||||
4, // [4:12] is the sub-list for method input_type
|
||||
4, // [4:4] is the sub-list for extension type_name
|
||||
@@ -984,6 +945,7 @@ func file_service_node_cluster_proto_init() {
|
||||
return
|
||||
}
|
||||
file_model_node_cluster_proto_init()
|
||||
file_rpc_messages_proto_init()
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_service_node_cluster_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindAllEnabledNodeClustersRequest); i {
|
||||
@@ -1070,18 +1032,6 @@ func file_service_node_cluster_proto_init() {
|
||||
}
|
||||
}
|
||||
file_service_node_cluster_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateNodeClusterResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_node_cluster_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*DisableNodeClusterRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1093,7 +1043,7 @@ func file_service_node_cluster_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_node_cluster_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_node_cluster_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*DisableNodeClusterResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1105,7 +1055,7 @@ func file_service_node_cluster_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_node_cluster_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_node_cluster_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindEnabledNodeClusterRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1117,7 +1067,7 @@ func file_service_node_cluster_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_node_cluster_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_node_cluster_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindEnabledNodeClusterResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1129,7 +1079,7 @@ func file_service_node_cluster_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_node_cluster_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_node_cluster_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CountAllEnabledNodeClustersRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1141,7 +1091,7 @@ func file_service_node_cluster_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_node_cluster_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_node_cluster_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CountAllEnabledNodeClustersResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1153,7 +1103,7 @@ func file_service_node_cluster_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_node_cluster_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_node_cluster_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ListEnabledNodeClustersRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1165,7 +1115,7 @@ func file_service_node_cluster_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_node_cluster_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_node_cluster_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ListEnabledNodeClustersResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1184,7 +1134,7 @@ func file_service_node_cluster_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_service_node_cluster_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 16,
|
||||
NumMessages: 15,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
@@ -1213,7 +1163,7 @@ type NodeClusterServiceClient interface {
|
||||
// 创建集群
|
||||
CreateNodeCluster(ctx context.Context, in *CreateNodeClusterRequest, opts ...grpc.CallOption) (*CreateNodeClusterResponse, error)
|
||||
// 修改集群
|
||||
UpdateNodeCluster(ctx context.Context, in *UpdateNodeClusterRequest, opts ...grpc.CallOption) (*UpdateNodeClusterResponse, error)
|
||||
UpdateNodeCluster(ctx context.Context, in *UpdateNodeClusterRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||
// 禁用集群
|
||||
DisableNodeCluster(ctx context.Context, in *DisableNodeClusterRequest, opts ...grpc.CallOption) (*DisableNodeClusterResponse, error)
|
||||
// 查找单个集群信息
|
||||
@@ -1245,8 +1195,8 @@ func (c *nodeClusterServiceClient) CreateNodeCluster(ctx context.Context, in *Cr
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *nodeClusterServiceClient) UpdateNodeCluster(ctx context.Context, in *UpdateNodeClusterRequest, opts ...grpc.CallOption) (*UpdateNodeClusterResponse, error) {
|
||||
out := new(UpdateNodeClusterResponse)
|
||||
func (c *nodeClusterServiceClient) UpdateNodeCluster(ctx context.Context, in *UpdateNodeClusterRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
||||
out := new(RPCUpdateSuccess)
|
||||
err := c.cc.Invoke(ctx, "/pb.NodeClusterService/updateNodeCluster", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -1313,7 +1263,7 @@ type NodeClusterServiceServer interface {
|
||||
// 创建集群
|
||||
CreateNodeCluster(context.Context, *CreateNodeClusterRequest) (*CreateNodeClusterResponse, error)
|
||||
// 修改集群
|
||||
UpdateNodeCluster(context.Context, *UpdateNodeClusterRequest) (*UpdateNodeClusterResponse, error)
|
||||
UpdateNodeCluster(context.Context, *UpdateNodeClusterRequest) (*RPCUpdateSuccess, error)
|
||||
// 禁用集群
|
||||
DisableNodeCluster(context.Context, *DisableNodeClusterRequest) (*DisableNodeClusterResponse, error)
|
||||
// 查找单个集群信息
|
||||
@@ -1335,7 +1285,7 @@ type UnimplementedNodeClusterServiceServer struct {
|
||||
func (*UnimplementedNodeClusterServiceServer) CreateNodeCluster(context.Context, *CreateNodeClusterRequest) (*CreateNodeClusterResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CreateNodeCluster not implemented")
|
||||
}
|
||||
func (*UnimplementedNodeClusterServiceServer) UpdateNodeCluster(context.Context, *UpdateNodeClusterRequest) (*UpdateNodeClusterResponse, error) {
|
||||
func (*UnimplementedNodeClusterServiceServer) UpdateNodeCluster(context.Context, *UpdateNodeClusterRequest) (*RPCUpdateSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateNodeCluster not implemented")
|
||||
}
|
||||
func (*UnimplementedNodeClusterServiceServer) DisableNodeCluster(context.Context, *DisableNodeClusterRequest) (*DisableNodeClusterResponse, error) {
|
||||
|
||||
@@ -276,44 +276,6 @@ func (x *UpdateNodeGrantRequest) GetNodeId() int64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
type UpdateNodeGrantResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *UpdateNodeGrantResponse) Reset() {
|
||||
*x = UpdateNodeGrantResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_node_grant_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateNodeGrantResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateNodeGrantResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateNodeGrantResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_grant_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 UpdateNodeGrantResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateNodeGrantResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_grant_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
// 禁用节点认证
|
||||
type DisableNodeGrantRequest struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -326,7 +288,7 @@ type DisableNodeGrantRequest struct {
|
||||
func (x *DisableNodeGrantRequest) Reset() {
|
||||
*x = DisableNodeGrantRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_node_grant_proto_msgTypes[4]
|
||||
mi := &file_service_node_grant_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -339,7 +301,7 @@ func (x *DisableNodeGrantRequest) String() string {
|
||||
func (*DisableNodeGrantRequest) ProtoMessage() {}
|
||||
|
||||
func (x *DisableNodeGrantRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_grant_proto_msgTypes[4]
|
||||
mi := &file_service_node_grant_proto_msgTypes[3]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -352,7 +314,7 @@ func (x *DisableNodeGrantRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use DisableNodeGrantRequest.ProtoReflect.Descriptor instead.
|
||||
func (*DisableNodeGrantRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_grant_proto_rawDescGZIP(), []int{4}
|
||||
return file_service_node_grant_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *DisableNodeGrantRequest) GetGrantId() int64 {
|
||||
@@ -371,7 +333,7 @@ type DisableNodeGrantResponse struct {
|
||||
func (x *DisableNodeGrantResponse) Reset() {
|
||||
*x = DisableNodeGrantResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_node_grant_proto_msgTypes[5]
|
||||
mi := &file_service_node_grant_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -384,7 +346,7 @@ func (x *DisableNodeGrantResponse) String() string {
|
||||
func (*DisableNodeGrantResponse) ProtoMessage() {}
|
||||
|
||||
func (x *DisableNodeGrantResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_grant_proto_msgTypes[5]
|
||||
mi := &file_service_node_grant_proto_msgTypes[4]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -397,7 +359,7 @@ func (x *DisableNodeGrantResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use DisableNodeGrantResponse.ProtoReflect.Descriptor instead.
|
||||
func (*DisableNodeGrantResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_grant_proto_rawDescGZIP(), []int{5}
|
||||
return file_service_node_grant_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
// 计算节点认证数量
|
||||
@@ -410,7 +372,7 @@ type CountAllEnabledNodeGrantsRequest struct {
|
||||
func (x *CountAllEnabledNodeGrantsRequest) Reset() {
|
||||
*x = CountAllEnabledNodeGrantsRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_node_grant_proto_msgTypes[6]
|
||||
mi := &file_service_node_grant_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -423,7 +385,7 @@ func (x *CountAllEnabledNodeGrantsRequest) String() string {
|
||||
func (*CountAllEnabledNodeGrantsRequest) ProtoMessage() {}
|
||||
|
||||
func (x *CountAllEnabledNodeGrantsRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_grant_proto_msgTypes[6]
|
||||
mi := &file_service_node_grant_proto_msgTypes[5]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -436,7 +398,7 @@ func (x *CountAllEnabledNodeGrantsRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CountAllEnabledNodeGrantsRequest.ProtoReflect.Descriptor instead.
|
||||
func (*CountAllEnabledNodeGrantsRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_grant_proto_rawDescGZIP(), []int{6}
|
||||
return file_service_node_grant_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
type CountAllEnabledNodeGrantsResponse struct {
|
||||
@@ -450,7 +412,7 @@ type CountAllEnabledNodeGrantsResponse struct {
|
||||
func (x *CountAllEnabledNodeGrantsResponse) Reset() {
|
||||
*x = CountAllEnabledNodeGrantsResponse{}
|
||||
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.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -463,7 +425,7 @@ func (x *CountAllEnabledNodeGrantsResponse) String() string {
|
||||
func (*CountAllEnabledNodeGrantsResponse) ProtoMessage() {}
|
||||
|
||||
func (x *CountAllEnabledNodeGrantsResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_grant_proto_msgTypes[7]
|
||||
mi := &file_service_node_grant_proto_msgTypes[6]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -476,7 +438,7 @@ func (x *CountAllEnabledNodeGrantsResponse) ProtoReflect() protoreflect.Message
|
||||
|
||||
// Deprecated: Use CountAllEnabledNodeGrantsResponse.ProtoReflect.Descriptor instead.
|
||||
func (*CountAllEnabledNodeGrantsResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_grant_proto_rawDescGZIP(), []int{7}
|
||||
return file_service_node_grant_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *CountAllEnabledNodeGrantsResponse) GetCount() int64 {
|
||||
@@ -499,7 +461,7 @@ type ListEnabledNodeGrantsRequest struct {
|
||||
func (x *ListEnabledNodeGrantsRequest) Reset() {
|
||||
*x = ListEnabledNodeGrantsRequest{}
|
||||
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.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -512,7 +474,7 @@ func (x *ListEnabledNodeGrantsRequest) String() string {
|
||||
func (*ListEnabledNodeGrantsRequest) ProtoMessage() {}
|
||||
|
||||
func (x *ListEnabledNodeGrantsRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_grant_proto_msgTypes[8]
|
||||
mi := &file_service_node_grant_proto_msgTypes[7]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -525,7 +487,7 @@ func (x *ListEnabledNodeGrantsRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListEnabledNodeGrantsRequest.ProtoReflect.Descriptor instead.
|
||||
func (*ListEnabledNodeGrantsRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_grant_proto_rawDescGZIP(), []int{8}
|
||||
return file_service_node_grant_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *ListEnabledNodeGrantsRequest) GetOffset() int64 {
|
||||
@@ -553,7 +515,7 @@ type ListEnabledNodeGrantsResponse struct {
|
||||
func (x *ListEnabledNodeGrantsResponse) Reset() {
|
||||
*x = ListEnabledNodeGrantsResponse{}
|
||||
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.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -566,7 +528,7 @@ func (x *ListEnabledNodeGrantsResponse) String() string {
|
||||
func (*ListEnabledNodeGrantsResponse) ProtoMessage() {}
|
||||
|
||||
func (x *ListEnabledNodeGrantsResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_grant_proto_msgTypes[9]
|
||||
mi := &file_service_node_grant_proto_msgTypes[8]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -579,7 +541,7 @@ func (x *ListEnabledNodeGrantsResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListEnabledNodeGrantsResponse.ProtoReflect.Descriptor instead.
|
||||
func (*ListEnabledNodeGrantsResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_grant_proto_rawDescGZIP(), []int{9}
|
||||
return file_service_node_grant_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *ListEnabledNodeGrantsResponse) GetGrants() []*NodeGrant {
|
||||
@@ -599,7 +561,7 @@ type FindAllEnabledNodeGrantsRequest struct {
|
||||
func (x *FindAllEnabledNodeGrantsRequest) Reset() {
|
||||
*x = FindAllEnabledNodeGrantsRequest{}
|
||||
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.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -612,7 +574,7 @@ func (x *FindAllEnabledNodeGrantsRequest) String() string {
|
||||
func (*FindAllEnabledNodeGrantsRequest) ProtoMessage() {}
|
||||
|
||||
func (x *FindAllEnabledNodeGrantsRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_grant_proto_msgTypes[10]
|
||||
mi := &file_service_node_grant_proto_msgTypes[9]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -625,7 +587,7 @@ func (x *FindAllEnabledNodeGrantsRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FindAllEnabledNodeGrantsRequest.ProtoReflect.Descriptor instead.
|
||||
func (*FindAllEnabledNodeGrantsRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_grant_proto_rawDescGZIP(), []int{10}
|
||||
return file_service_node_grant_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
type FindAllEnabledNodeGrantsResponse struct {
|
||||
@@ -639,7 +601,7 @@ type FindAllEnabledNodeGrantsResponse struct {
|
||||
func (x *FindAllEnabledNodeGrantsResponse) Reset() {
|
||||
*x = FindAllEnabledNodeGrantsResponse{}
|
||||
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.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -652,7 +614,7 @@ func (x *FindAllEnabledNodeGrantsResponse) String() string {
|
||||
func (*FindAllEnabledNodeGrantsResponse) ProtoMessage() {}
|
||||
|
||||
func (x *FindAllEnabledNodeGrantsResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_grant_proto_msgTypes[11]
|
||||
mi := &file_service_node_grant_proto_msgTypes[10]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -665,7 +627,7 @@ func (x *FindAllEnabledNodeGrantsResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FindAllEnabledNodeGrantsResponse.ProtoReflect.Descriptor instead.
|
||||
func (*FindAllEnabledNodeGrantsResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_grant_proto_rawDescGZIP(), []int{11}
|
||||
return file_service_node_grant_proto_rawDescGZIP(), []int{10}
|
||||
}
|
||||
|
||||
func (x *FindAllEnabledNodeGrantsResponse) GetGrants() []*NodeGrant {
|
||||
@@ -687,7 +649,7 @@ type FindEnabledGrantRequest struct {
|
||||
func (x *FindEnabledGrantRequest) Reset() {
|
||||
*x = FindEnabledGrantRequest{}
|
||||
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.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -700,7 +662,7 @@ func (x *FindEnabledGrantRequest) String() string {
|
||||
func (*FindEnabledGrantRequest) ProtoMessage() {}
|
||||
|
||||
func (x *FindEnabledGrantRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_grant_proto_msgTypes[12]
|
||||
mi := &file_service_node_grant_proto_msgTypes[11]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -713,7 +675,7 @@ func (x *FindEnabledGrantRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FindEnabledGrantRequest.ProtoReflect.Descriptor instead.
|
||||
func (*FindEnabledGrantRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_grant_proto_rawDescGZIP(), []int{12}
|
||||
return file_service_node_grant_proto_rawDescGZIP(), []int{11}
|
||||
}
|
||||
|
||||
func (x *FindEnabledGrantRequest) GetGrantId() int64 {
|
||||
@@ -734,7 +696,7 @@ type FindEnabledGrantResponse struct {
|
||||
func (x *FindEnabledGrantResponse) Reset() {
|
||||
*x = FindEnabledGrantResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_node_grant_proto_msgTypes[13]
|
||||
mi := &file_service_node_grant_proto_msgTypes[12]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -747,7 +709,7 @@ func (x *FindEnabledGrantResponse) String() string {
|
||||
func (*FindEnabledGrantResponse) ProtoMessage() {}
|
||||
|
||||
func (x *FindEnabledGrantResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_grant_proto_msgTypes[13]
|
||||
mi := &file_service_node_grant_proto_msgTypes[12]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -760,7 +722,7 @@ func (x *FindEnabledGrantResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FindEnabledGrantResponse.ProtoReflect.Descriptor instead.
|
||||
func (*FindEnabledGrantResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_grant_proto_rawDescGZIP(), []int{13}
|
||||
return file_service_node_grant_proto_rawDescGZIP(), []int{12}
|
||||
}
|
||||
|
||||
func (x *FindEnabledGrantResponse) GetGrant() *NodeGrant {
|
||||
@@ -776,116 +738,115 @@ var file_service_node_grant_proto_rawDesc = []byte{
|
||||
0x0a, 0x18, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x67,
|
||||
0x72, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x16,
|
||||
0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x67, 0x72, 0x61, 0x6e, 0x74,
|
||||
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd6, 0x01, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74,
|
||||
0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x1a, 0x0a,
|
||||
0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73,
|
||||
0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73,
|
||||
0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65,
|
||||
0x4b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61,
|
||||
0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63,
|
||||
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49,
|
||||
0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22,
|
||||
0x33, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61,
|
||||
0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72,
|
||||
0x61, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x61,
|
||||
0x6e, 0x74, 0x49, 0x64, 0x22, 0xf0, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e,
|
||||
0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||
0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03,
|
||||
0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
|
||||
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a,
|
||||
0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d,
|
||||
0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d,
|
||||
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d,
|
||||
0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x1e, 0x0a,
|
||||
0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x20, 0x0a,
|
||||
0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12,
|
||||
0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x19, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74,
|
||||
0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x22, 0x33, 0x0a, 0x17, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64,
|
||||
0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a,
|
||||
0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07,
|
||||
0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x1a, 0x0a, 0x18, 0x44, 0x69, 0x73, 0x61, 0x62,
|
||||
0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 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, 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, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72,
|
||||
0x61, 0x6e, 0x74, 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, 0x4a, 0x0a, 0x1c, 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, 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, 0x46,
|
||||
0x0a, 0x1d, 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,
|
||||
0x25, 0x0a, 0x06, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||||
0x0d, 0x2e, 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, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x49, 0x0a, 0x20, 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, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a,
|
||||
0x06, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e,
|
||||
0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x06, 0x67, 0x72,
|
||||
0x61, 0x6e, 0x74, 0x73, 0x22, 0x33, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62,
|
||||
0x6c, 0x65, 0x64, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||
0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
||||
0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x3f, 0x0a, 0x18, 0x46, 0x69, 0x6e,
|
||||
0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72,
|
||||
0x61, 0x6e, 0x74, 0x52, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x32, 0xf7, 0x04, 0x0a, 0x10, 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, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61,
|
||||
0x6e, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f,
|
||||
0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b,
|
||||
0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72,
|
||||
0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x0f, 0x75,
|
||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x1a,
|
||||
0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72,
|
||||
0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x10, 0x64, 0x69, 0x73, 0x61, 0x62,
|
||||
0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x1b, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e,
|
||||
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x69,
|
||||
0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x19, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41,
|
||||
0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61,
|
||||
0x6e, 0x74, 0x73, 0x12, 0x24, 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, 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, 0x74, 0x1a,
|
||||
0x24, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62,
|
||||
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73,
|
||||
0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd6, 0x01, 0x0a, 0x16, 0x43,
|
||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74,
|
||||
0x68, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f,
|
||||
0x64, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a,
|
||||
0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x69,
|
||||
0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70,
|
||||
0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73,
|
||||
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
|
||||
0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64,
|
||||
0x65, 0x49, 0x64, 0x22, 0x33, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64,
|
||||
0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18,
|
||||
0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x22, 0xf0, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64,
|
||||
0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x08,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a,
|
||||
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
|
||||
0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65,
|
||||
0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65,
|
||||
0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72,
|
||||
0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72,
|
||||
0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x18,
|
||||
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65,
|
||||
0x79, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
|
||||
0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x07, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x33, 0x0a, 0x17, 0x44,
|
||||
0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49,
|
||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64,
|
||||
0x22, 0x1a, 0x0a, 0x18, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47,
|
||||
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,
|
||||
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,
|
||||
0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 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,
|
||||
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, 0x4a, 0x0a, 0x1c, 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, 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, 0x46, 0x0a, 0x1d, 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, 0x25, 0x0a, 0x06, 0x67, 0x72, 0x61, 0x6e,
|
||||
0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 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, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x22, 0x49, 0x0a, 0x20, 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,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x06, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73,
|
||||
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65,
|
||||
0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x06, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x22, 0x33, 0x0a,
|
||||
0x17, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x72, 0x61, 0x6e,
|
||||
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e,
|
||||
0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74,
|
||||
0x49, 0x64, 0x22, 0x3f, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
||||
0x64, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23,
|
||||
0x0a, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e,
|
||||
0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x05, 0x67, 0x72,
|
||||
0x61, 0x6e, 0x74, 0x32, 0xf0, 0x04, 0x0a, 0x10, 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, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f,
|
||||
0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64,
|
||||
0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 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, 0x4d, 0x0a, 0x10, 0x64, 0x69, 0x73,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x1b, 0x2e,
|
||||
0x70, 0x62, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72,
|
||||
0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x19, 0x63, 0x6f, 0x75, 0x6e,
|
||||
0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47,
|
||||
0x72, 0x61, 0x6e, 0x74, 0x73, 0x12, 0x24, 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, 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,
|
||||
0x74, 0x1a, 0x24, 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, 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 (
|
||||
@@ -900,42 +861,42 @@ func file_service_node_grant_proto_rawDescGZIP() []byte {
|
||||
return file_service_node_grant_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_service_node_grant_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
||||
var file_service_node_grant_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
||||
var file_service_node_grant_proto_goTypes = []interface{}{
|
||||
(*CreateNodeGrantRequest)(nil), // 0: pb.CreateNodeGrantRequest
|
||||
(*CreateNodeGrantResponse)(nil), // 1: pb.CreateNodeGrantResponse
|
||||
(*UpdateNodeGrantRequest)(nil), // 2: pb.UpdateNodeGrantRequest
|
||||
(*UpdateNodeGrantResponse)(nil), // 3: pb.UpdateNodeGrantResponse
|
||||
(*DisableNodeGrantRequest)(nil), // 4: pb.DisableNodeGrantRequest
|
||||
(*DisableNodeGrantResponse)(nil), // 5: pb.DisableNodeGrantResponse
|
||||
(*CountAllEnabledNodeGrantsRequest)(nil), // 6: pb.CountAllEnabledNodeGrantsRequest
|
||||
(*CountAllEnabledNodeGrantsResponse)(nil), // 7: pb.CountAllEnabledNodeGrantsResponse
|
||||
(*ListEnabledNodeGrantsRequest)(nil), // 8: pb.ListEnabledNodeGrantsRequest
|
||||
(*ListEnabledNodeGrantsResponse)(nil), // 9: pb.ListEnabledNodeGrantsResponse
|
||||
(*FindAllEnabledNodeGrantsRequest)(nil), // 10: pb.FindAllEnabledNodeGrantsRequest
|
||||
(*FindAllEnabledNodeGrantsResponse)(nil), // 11: pb.FindAllEnabledNodeGrantsResponse
|
||||
(*FindEnabledGrantRequest)(nil), // 12: pb.FindEnabledGrantRequest
|
||||
(*FindEnabledGrantResponse)(nil), // 13: pb.FindEnabledGrantResponse
|
||||
(*NodeGrant)(nil), // 14: pb.NodeGrant
|
||||
(*DisableNodeGrantRequest)(nil), // 3: pb.DisableNodeGrantRequest
|
||||
(*DisableNodeGrantResponse)(nil), // 4: pb.DisableNodeGrantResponse
|
||||
(*CountAllEnabledNodeGrantsRequest)(nil), // 5: pb.CountAllEnabledNodeGrantsRequest
|
||||
(*CountAllEnabledNodeGrantsResponse)(nil), // 6: pb.CountAllEnabledNodeGrantsResponse
|
||||
(*ListEnabledNodeGrantsRequest)(nil), // 7: pb.ListEnabledNodeGrantsRequest
|
||||
(*ListEnabledNodeGrantsResponse)(nil), // 8: pb.ListEnabledNodeGrantsResponse
|
||||
(*FindAllEnabledNodeGrantsRequest)(nil), // 9: pb.FindAllEnabledNodeGrantsRequest
|
||||
(*FindAllEnabledNodeGrantsResponse)(nil), // 10: pb.FindAllEnabledNodeGrantsResponse
|
||||
(*FindEnabledGrantRequest)(nil), // 11: pb.FindEnabledGrantRequest
|
||||
(*FindEnabledGrantResponse)(nil), // 12: pb.FindEnabledGrantResponse
|
||||
(*NodeGrant)(nil), // 13: pb.NodeGrant
|
||||
(*RPCUpdateSuccess)(nil), // 14: pb.RPCUpdateSuccess
|
||||
}
|
||||
var file_service_node_grant_proto_depIdxs = []int32{
|
||||
14, // 0: pb.ListEnabledNodeGrantsResponse.grants:type_name -> pb.NodeGrant
|
||||
14, // 1: pb.FindAllEnabledNodeGrantsResponse.grants:type_name -> pb.NodeGrant
|
||||
14, // 2: pb.FindEnabledGrantResponse.grant:type_name -> pb.NodeGrant
|
||||
13, // 0: pb.ListEnabledNodeGrantsResponse.grants:type_name -> pb.NodeGrant
|
||||
13, // 1: pb.FindAllEnabledNodeGrantsResponse.grants:type_name -> pb.NodeGrant
|
||||
13, // 2: pb.FindEnabledGrantResponse.grant:type_name -> pb.NodeGrant
|
||||
0, // 3: pb.NodeGrantService.createNodeGrant:input_type -> pb.CreateNodeGrantRequest
|
||||
2, // 4: pb.NodeGrantService.updateNodeGrant:input_type -> pb.UpdateNodeGrantRequest
|
||||
4, // 5: pb.NodeGrantService.disableNodeGrant:input_type -> pb.DisableNodeGrantRequest
|
||||
6, // 6: pb.NodeGrantService.countAllEnabledNodeGrants:input_type -> pb.CountAllEnabledNodeGrantsRequest
|
||||
8, // 7: pb.NodeGrantService.ListEnabledNodeGrants:input_type -> pb.ListEnabledNodeGrantsRequest
|
||||
10, // 8: pb.NodeGrantService.FindAllEnabledNodeGrants:input_type -> pb.FindAllEnabledNodeGrantsRequest
|
||||
12, // 9: pb.NodeGrantService.FindEnabledGrant:input_type -> pb.FindEnabledGrantRequest
|
||||
3, // 5: pb.NodeGrantService.disableNodeGrant:input_type -> pb.DisableNodeGrantRequest
|
||||
5, // 6: pb.NodeGrantService.countAllEnabledNodeGrants:input_type -> pb.CountAllEnabledNodeGrantsRequest
|
||||
7, // 7: pb.NodeGrantService.ListEnabledNodeGrants:input_type -> pb.ListEnabledNodeGrantsRequest
|
||||
9, // 8: pb.NodeGrantService.FindAllEnabledNodeGrants:input_type -> pb.FindAllEnabledNodeGrantsRequest
|
||||
11, // 9: pb.NodeGrantService.FindEnabledGrant:input_type -> pb.FindEnabledGrantRequest
|
||||
1, // 10: pb.NodeGrantService.createNodeGrant:output_type -> pb.CreateNodeGrantResponse
|
||||
3, // 11: pb.NodeGrantService.updateNodeGrant:output_type -> pb.UpdateNodeGrantResponse
|
||||
5, // 12: pb.NodeGrantService.disableNodeGrant:output_type -> pb.DisableNodeGrantResponse
|
||||
7, // 13: pb.NodeGrantService.countAllEnabledNodeGrants:output_type -> pb.CountAllEnabledNodeGrantsResponse
|
||||
9, // 14: pb.NodeGrantService.ListEnabledNodeGrants:output_type -> pb.ListEnabledNodeGrantsResponse
|
||||
11, // 15: pb.NodeGrantService.FindAllEnabledNodeGrants:output_type -> pb.FindAllEnabledNodeGrantsResponse
|
||||
13, // 16: pb.NodeGrantService.FindEnabledGrant:output_type -> pb.FindEnabledGrantResponse
|
||||
14, // 11: pb.NodeGrantService.updateNodeGrant:output_type -> pb.RPCUpdateSuccess
|
||||
4, // 12: pb.NodeGrantService.disableNodeGrant:output_type -> pb.DisableNodeGrantResponse
|
||||
6, // 13: pb.NodeGrantService.countAllEnabledNodeGrants:output_type -> pb.CountAllEnabledNodeGrantsResponse
|
||||
8, // 14: pb.NodeGrantService.ListEnabledNodeGrants:output_type -> pb.ListEnabledNodeGrantsResponse
|
||||
10, // 15: pb.NodeGrantService.FindAllEnabledNodeGrants:output_type -> pb.FindAllEnabledNodeGrantsResponse
|
||||
12, // 16: pb.NodeGrantService.FindEnabledGrant:output_type -> pb.FindEnabledGrantResponse
|
||||
10, // [10:17] is the sub-list for method output_type
|
||||
3, // [3:10] is the sub-list for method input_type
|
||||
3, // [3:3] is the sub-list for extension type_name
|
||||
@@ -949,6 +910,7 @@ func file_service_node_grant_proto_init() {
|
||||
return
|
||||
}
|
||||
file_model_node_grant_proto_init()
|
||||
file_rpc_messages_proto_init()
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_service_node_grant_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CreateNodeGrantRequest); i {
|
||||
@@ -987,18 +949,6 @@ func file_service_node_grant_proto_init() {
|
||||
}
|
||||
}
|
||||
file_service_node_grant_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateNodeGrantResponse); 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[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*DisableNodeGrantRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1010,7 +960,7 @@ func file_service_node_grant_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_node_grant_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_node_grant_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*DisableNodeGrantResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1022,7 +972,7 @@ func file_service_node_grant_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_node_grant_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_node_grant_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CountAllEnabledNodeGrantsRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1034,7 +984,7 @@ func file_service_node_grant_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_node_grant_proto_msgTypes[7].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
|
||||
@@ -1046,7 +996,7 @@ func file_service_node_grant_proto_init() {
|
||||
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.(*ListEnabledNodeGrantsRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1058,7 +1008,7 @@ func file_service_node_grant_proto_init() {
|
||||
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.(*ListEnabledNodeGrantsResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1070,7 +1020,7 @@ func file_service_node_grant_proto_init() {
|
||||
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.(*FindAllEnabledNodeGrantsRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1082,7 +1032,7 @@ func file_service_node_grant_proto_init() {
|
||||
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.(*FindAllEnabledNodeGrantsResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1094,7 +1044,7 @@ func file_service_node_grant_proto_init() {
|
||||
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.(*FindEnabledGrantRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1106,7 +1056,7 @@ func file_service_node_grant_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_node_grant_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_node_grant_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindEnabledGrantResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1125,7 +1075,7 @@ func file_service_node_grant_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_service_node_grant_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 14,
|
||||
NumMessages: 13,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
@@ -1154,7 +1104,7 @@ type NodeGrantServiceClient interface {
|
||||
// 创建认证
|
||||
CreateNodeGrant(ctx context.Context, in *CreateNodeGrantRequest, opts ...grpc.CallOption) (*CreateNodeGrantResponse, error)
|
||||
// 修改认证
|
||||
UpdateNodeGrant(ctx context.Context, in *UpdateNodeGrantRequest, opts ...grpc.CallOption) (*UpdateNodeGrantResponse, error)
|
||||
UpdateNodeGrant(ctx context.Context, in *UpdateNodeGrantRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||
// 禁用认证
|
||||
DisableNodeGrant(ctx context.Context, in *DisableNodeGrantRequest, opts ...grpc.CallOption) (*DisableNodeGrantResponse, error)
|
||||
// 计算认证的数量
|
||||
@@ -1184,8 +1134,8 @@ func (c *nodeGrantServiceClient) CreateNodeGrant(ctx context.Context, in *Create
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *nodeGrantServiceClient) UpdateNodeGrant(ctx context.Context, in *UpdateNodeGrantRequest, opts ...grpc.CallOption) (*UpdateNodeGrantResponse, error) {
|
||||
out := new(UpdateNodeGrantResponse)
|
||||
func (c *nodeGrantServiceClient) UpdateNodeGrant(ctx context.Context, in *UpdateNodeGrantRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
||||
out := new(RPCUpdateSuccess)
|
||||
err := c.cc.Invoke(ctx, "/pb.NodeGrantService/updateNodeGrant", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -1243,7 +1193,7 @@ type NodeGrantServiceServer interface {
|
||||
// 创建认证
|
||||
CreateNodeGrant(context.Context, *CreateNodeGrantRequest) (*CreateNodeGrantResponse, error)
|
||||
// 修改认证
|
||||
UpdateNodeGrant(context.Context, *UpdateNodeGrantRequest) (*UpdateNodeGrantResponse, error)
|
||||
UpdateNodeGrant(context.Context, *UpdateNodeGrantRequest) (*RPCUpdateSuccess, error)
|
||||
// 禁用认证
|
||||
DisableNodeGrant(context.Context, *DisableNodeGrantRequest) (*DisableNodeGrantResponse, error)
|
||||
// 计算认证的数量
|
||||
@@ -1263,7 +1213,7 @@ type UnimplementedNodeGrantServiceServer struct {
|
||||
func (*UnimplementedNodeGrantServiceServer) CreateNodeGrant(context.Context, *CreateNodeGrantRequest) (*CreateNodeGrantResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CreateNodeGrant not implemented")
|
||||
}
|
||||
func (*UnimplementedNodeGrantServiceServer) UpdateNodeGrant(context.Context, *UpdateNodeGrantRequest) (*UpdateNodeGrantResponse, error) {
|
||||
func (*UnimplementedNodeGrantServiceServer) UpdateNodeGrant(context.Context, *UpdateNodeGrantRequest) (*RPCUpdateSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateNodeGrant not implemented")
|
||||
}
|
||||
func (*UnimplementedNodeGrantServiceServer) DisableNodeGrant(context.Context, *DisableNodeGrantRequest) (*DisableNodeGrantResponse, error) {
|
||||
|
||||
@@ -204,44 +204,6 @@ func (x *UpdateNodeIPAddressRequest) GetIp() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
type UpdateNodeIPAddressResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *UpdateNodeIPAddressResponse) Reset() {
|
||||
*x = UpdateNodeIPAddressResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateNodeIPAddressResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateNodeIPAddressResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateNodeIPAddressResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_ip_address_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 UpdateNodeIPAddressResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateNodeIPAddressResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_ip_address_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
// 修改IP地址所属节点
|
||||
type UpdateNodeIPAddressNodeIdRequest struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -255,7 +217,7 @@ type UpdateNodeIPAddressNodeIdRequest struct {
|
||||
func (x *UpdateNodeIPAddressNodeIdRequest) Reset() {
|
||||
*x = UpdateNodeIPAddressNodeIdRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[4]
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -268,7 +230,7 @@ func (x *UpdateNodeIPAddressNodeIdRequest) String() string {
|
||||
func (*UpdateNodeIPAddressNodeIdRequest) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateNodeIPAddressNodeIdRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[4]
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[3]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -281,7 +243,7 @@ func (x *UpdateNodeIPAddressNodeIdRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use UpdateNodeIPAddressNodeIdRequest.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateNodeIPAddressNodeIdRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_ip_address_proto_rawDescGZIP(), []int{4}
|
||||
return file_service_node_ip_address_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *UpdateNodeIPAddressNodeIdRequest) GetAddressId() int64 {
|
||||
@@ -298,44 +260,6 @@ func (x *UpdateNodeIPAddressNodeIdRequest) GetNodeId() int64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
type UpdateNodeIPAddressNodeIdResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *UpdateNodeIPAddressNodeIdResponse) Reset() {
|
||||
*x = UpdateNodeIPAddressNodeIdResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateNodeIPAddressNodeIdResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateNodeIPAddressNodeIdResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateNodeIPAddressNodeIdResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_ip_address_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 UpdateNodeIPAddressNodeIdResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateNodeIPAddressNodeIdResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_ip_address_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
// 禁用单个IP地址
|
||||
type DisableNodeIPAddressRequest struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -348,7 +272,7 @@ type DisableNodeIPAddressRequest struct {
|
||||
func (x *DisableNodeIPAddressRequest) Reset() {
|
||||
*x = DisableNodeIPAddressRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[6]
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -361,7 +285,7 @@ func (x *DisableNodeIPAddressRequest) String() string {
|
||||
func (*DisableNodeIPAddressRequest) ProtoMessage() {}
|
||||
|
||||
func (x *DisableNodeIPAddressRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[6]
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[4]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -374,7 +298,7 @@ func (x *DisableNodeIPAddressRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use DisableNodeIPAddressRequest.ProtoReflect.Descriptor instead.
|
||||
func (*DisableNodeIPAddressRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_ip_address_proto_rawDescGZIP(), []int{6}
|
||||
return file_service_node_ip_address_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *DisableNodeIPAddressRequest) GetAddressId() int64 {
|
||||
@@ -393,7 +317,7 @@ type DisableNodeIPAddressResponse struct {
|
||||
func (x *DisableNodeIPAddressResponse) Reset() {
|
||||
*x = DisableNodeIPAddressResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[7]
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -406,7 +330,7 @@ func (x *DisableNodeIPAddressResponse) String() string {
|
||||
func (*DisableNodeIPAddressResponse) ProtoMessage() {}
|
||||
|
||||
func (x *DisableNodeIPAddressResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[7]
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[5]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -419,7 +343,7 @@ func (x *DisableNodeIPAddressResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use DisableNodeIPAddressResponse.ProtoReflect.Descriptor instead.
|
||||
func (*DisableNodeIPAddressResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_ip_address_proto_rawDescGZIP(), []int{7}
|
||||
return file_service_node_ip_address_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
// 禁用节点的所有IP地址
|
||||
@@ -434,7 +358,7 @@ type DisableAllIPAddressesWithNodeIdRequest struct {
|
||||
func (x *DisableAllIPAddressesWithNodeIdRequest) Reset() {
|
||||
*x = DisableAllIPAddressesWithNodeIdRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[8]
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -447,7 +371,7 @@ func (x *DisableAllIPAddressesWithNodeIdRequest) String() string {
|
||||
func (*DisableAllIPAddressesWithNodeIdRequest) ProtoMessage() {}
|
||||
|
||||
func (x *DisableAllIPAddressesWithNodeIdRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[8]
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[6]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -460,7 +384,7 @@ func (x *DisableAllIPAddressesWithNodeIdRequest) ProtoReflect() protoreflect.Mes
|
||||
|
||||
// Deprecated: Use DisableAllIPAddressesWithNodeIdRequest.ProtoReflect.Descriptor instead.
|
||||
func (*DisableAllIPAddressesWithNodeIdRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_ip_address_proto_rawDescGZIP(), []int{8}
|
||||
return file_service_node_ip_address_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *DisableAllIPAddressesWithNodeIdRequest) GetNodeId() int64 {
|
||||
@@ -479,7 +403,7 @@ type DisableAllIPAddressesWithNodeIdResponse struct {
|
||||
func (x *DisableAllIPAddressesWithNodeIdResponse) Reset() {
|
||||
*x = DisableAllIPAddressesWithNodeIdResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[9]
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -492,7 +416,7 @@ func (x *DisableAllIPAddressesWithNodeIdResponse) String() string {
|
||||
func (*DisableAllIPAddressesWithNodeIdResponse) ProtoMessage() {}
|
||||
|
||||
func (x *DisableAllIPAddressesWithNodeIdResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[9]
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[7]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -505,7 +429,7 @@ func (x *DisableAllIPAddressesWithNodeIdResponse) ProtoReflect() protoreflect.Me
|
||||
|
||||
// Deprecated: Use DisableAllIPAddressesWithNodeIdResponse.ProtoReflect.Descriptor instead.
|
||||
func (*DisableAllIPAddressesWithNodeIdResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_ip_address_proto_rawDescGZIP(), []int{9}
|
||||
return file_service_node_ip_address_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
// 查找单个IP地址
|
||||
@@ -520,7 +444,7 @@ type FindEnabledNodeIPAddressRequest struct {
|
||||
func (x *FindEnabledNodeIPAddressRequest) Reset() {
|
||||
*x = FindEnabledNodeIPAddressRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[10]
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -533,7 +457,7 @@ func (x *FindEnabledNodeIPAddressRequest) String() string {
|
||||
func (*FindEnabledNodeIPAddressRequest) ProtoMessage() {}
|
||||
|
||||
func (x *FindEnabledNodeIPAddressRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[10]
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[8]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -546,7 +470,7 @@ func (x *FindEnabledNodeIPAddressRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FindEnabledNodeIPAddressRequest.ProtoReflect.Descriptor instead.
|
||||
func (*FindEnabledNodeIPAddressRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_ip_address_proto_rawDescGZIP(), []int{10}
|
||||
return file_service_node_ip_address_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *FindEnabledNodeIPAddressRequest) GetAddressId() int64 {
|
||||
@@ -567,7 +491,7 @@ type FindEnabledNodeIPAddressResponse struct {
|
||||
func (x *FindEnabledNodeIPAddressResponse) Reset() {
|
||||
*x = FindEnabledNodeIPAddressResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[11]
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -580,7 +504,7 @@ func (x *FindEnabledNodeIPAddressResponse) String() string {
|
||||
func (*FindEnabledNodeIPAddressResponse) ProtoMessage() {}
|
||||
|
||||
func (x *FindEnabledNodeIPAddressResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[11]
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[9]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -593,7 +517,7 @@ func (x *FindEnabledNodeIPAddressResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FindEnabledNodeIPAddressResponse.ProtoReflect.Descriptor instead.
|
||||
func (*FindEnabledNodeIPAddressResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_ip_address_proto_rawDescGZIP(), []int{11}
|
||||
return file_service_node_ip_address_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *FindEnabledNodeIPAddressResponse) GetIpAddress() *NodeIPAddress {
|
||||
@@ -615,7 +539,7 @@ type FindAllEnabledIPAddressesWithNodeIdRequest struct {
|
||||
func (x *FindAllEnabledIPAddressesWithNodeIdRequest) Reset() {
|
||||
*x = FindAllEnabledIPAddressesWithNodeIdRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[12]
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -628,7 +552,7 @@ func (x *FindAllEnabledIPAddressesWithNodeIdRequest) String() string {
|
||||
func (*FindAllEnabledIPAddressesWithNodeIdRequest) ProtoMessage() {}
|
||||
|
||||
func (x *FindAllEnabledIPAddressesWithNodeIdRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[12]
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[10]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -641,7 +565,7 @@ func (x *FindAllEnabledIPAddressesWithNodeIdRequest) ProtoReflect() protoreflect
|
||||
|
||||
// Deprecated: Use FindAllEnabledIPAddressesWithNodeIdRequest.ProtoReflect.Descriptor instead.
|
||||
func (*FindAllEnabledIPAddressesWithNodeIdRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_ip_address_proto_rawDescGZIP(), []int{12}
|
||||
return file_service_node_ip_address_proto_rawDescGZIP(), []int{10}
|
||||
}
|
||||
|
||||
func (x *FindAllEnabledIPAddressesWithNodeIdRequest) GetNodeId() int64 {
|
||||
@@ -662,7 +586,7 @@ type FindAllEnabledIPAddressesWithNodeIdResponse struct {
|
||||
func (x *FindAllEnabledIPAddressesWithNodeIdResponse) Reset() {
|
||||
*x = FindAllEnabledIPAddressesWithNodeIdResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[13]
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[11]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -675,7 +599,7 @@ func (x *FindAllEnabledIPAddressesWithNodeIdResponse) String() string {
|
||||
func (*FindAllEnabledIPAddressesWithNodeIdResponse) ProtoMessage() {}
|
||||
|
||||
func (x *FindAllEnabledIPAddressesWithNodeIdResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[13]
|
||||
mi := &file_service_node_ip_address_proto_msgTypes[11]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -688,7 +612,7 @@ func (x *FindAllEnabledIPAddressesWithNodeIdResponse) ProtoReflect() protoreflec
|
||||
|
||||
// Deprecated: Use FindAllEnabledIPAddressesWithNodeIdResponse.ProtoReflect.Descriptor instead.
|
||||
func (*FindAllEnabledIPAddressesWithNodeIdResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_node_ip_address_proto_rawDescGZIP(), []int{13}
|
||||
return file_service_node_ip_address_proto_rawDescGZIP(), []int{11}
|
||||
}
|
||||
|
||||
func (x *FindAllEnabledIPAddressesWithNodeIdResponse) GetAddresses() []*NodeIPAddress {
|
||||
@@ -705,32 +629,29 @@ var file_service_node_ip_address_proto_rawDesc = []byte{
|
||||
0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
||||
0x02, 0x70, 0x62, 0x1a, 0x1b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f,
|
||||
0x69, 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x22, 0x58, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50,
|
||||
0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 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, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70,
|
||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x22, 0x3b, 0x0a, 0x1b, 0x43, 0x72,
|
||||
0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73,
|
||||
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64,
|
||||
0x1a, 0x12, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x22, 0x58, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f,
|
||||
0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 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, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
|
||||
0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e,
|
||||
0x0a, 0x02, 0x69, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x22, 0x3b,
|
||||
0x0a, 0x1b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64,
|
||||
0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a,
|
||||
0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
||||
0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x49, 0x64, 0x22, 0x5e, 0x0a, 0x1a, 0x55,
|
||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65,
|
||||
0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64,
|
||||
0x72, 0x65, 0x73, 0x73, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x64,
|
||||
0x64, 0x72, 0x65, 0x73, 0x73, 0x49, 0x64, 0x22, 0x5e, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74,
|
||||
0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
|
||||
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
|
||||
0x73, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x03, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x22, 0x1d, 0x0a, 0x1b, 0x55, 0x70, 0x64, 0x61, 0x74,
|
||||
0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x58, 0x0a, 0x20, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
||||
0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4e, 0x6f, 0x64,
|
||||
0x65, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64,
|
||||
0x64, 0x72, 0x65, 0x73, 0x73, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61,
|
||||
0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65,
|
||||
0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64,
|
||||
0x22, 0x23, 0x0a, 0x21, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50,
|
||||
0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3b, 0x0a, 0x1b, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65,
|
||||
0x64, 0x72, 0x65, 0x73, 0x73, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
||||
0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x22, 0x58, 0x0a, 0x20, 0x55,
|
||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65,
|
||||
0x73, 0x73, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||
0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x03, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x49, 0x64, 0x12, 0x16, 0x0a,
|
||||
0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x3b, 0x0a, 0x1b, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65,
|
||||
0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x49,
|
||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
|
||||
@@ -762,56 +683,54 @@ var file_service_node_ip_address_proto_rawDesc = []byte{
|
||||
0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x09, 0x61, 0x64,
|
||||
0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e,
|
||||
0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
|
||||
0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x32, 0xf7, 0x05, 0x0a, 0x14,
|
||||
0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x32, 0xdb, 0x05, 0x0a, 0x14,
|
||||
0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x65, 0x72,
|
||||
0x76, 0x69, 0x63, 0x65, 0x12, 0x56, 0x0a, 0x13, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f,
|
||||
0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1e, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64,
|
||||
0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64,
|
||||
0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x13,
|
||||
0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x13,
|
||||
0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72,
|
||||
0x65, 0x73, 0x73, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e,
|
||||
0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e,
|
||||
0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x19, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f,
|
||||
0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4e, 0x6f, 0x64, 0x65, 0x49,
|
||||
0x64, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64,
|
||||
0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64,
|
||||
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, 0x57, 0x0a, 0x19, 0x75, 0x70, 0x64,
|
||||
0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
|
||||
0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59,
|
||||
0x0a, 0x14, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50, 0x41,
|
||||
0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x69, 0x73, 0x61,
|
||||
0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x69, 0x73,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73,
|
||||
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7a, 0x0a, 0x1f, 0x64, 0x69, 0x73,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x41, 0x6c, 0x6c, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
|
||||
0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x2a, 0x2e, 0x70,
|
||||
0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4e,
|
||||
0x6f, 0x64, 0x65, 0x49, 0x64, 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, 0x59, 0x0a, 0x14, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64,
|
||||
0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64,
|
||||
0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64,
|
||||
0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7a, 0x0a,
|
||||
0x1f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x6c, 0x6c, 0x49, 0x50, 0x41, 0x64, 0x64,
|
||||
0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64,
|
||||
0x12, 0x2a, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x6c, 0x6c,
|
||||
0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e,
|
||||
0x6f, 0x64, 0x65, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x70,
|
||||
0x62, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x6c, 0x6c, 0x49, 0x50, 0x41, 0x64,
|
||||
0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x49,
|
||||
0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x69,
|
||||
0x73, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x6c, 0x6c, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73,
|
||||
0x73, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x18, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61,
|
||||
0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73,
|
||||
0x73, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
||||
0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64,
|
||||
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64,
|
||||
0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x86, 0x01, 0x0a,
|
||||
0x23, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x49,
|
||||
0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f,
|
||||
0x64, 0x65, 0x49, 0x64, 0x12, 0x2e, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c,
|
||||
0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73,
|
||||
0x73, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c,
|
||||
0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73,
|
||||
0x73, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 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,
|
||||
0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x18, 0x66, 0x69, 0x6e,
|
||||
0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64,
|
||||
0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45,
|
||||
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72,
|
||||
0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x49,
|
||||
0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x12, 0x86, 0x01, 0x0a, 0x23, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62,
|
||||
0x6c, 0x65, 0x64, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x57, 0x69,
|
||||
0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x2e, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69,
|
||||
0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x49, 0x50, 0x41, 0x64,
|
||||
0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x49,
|
||||
0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69,
|
||||
0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x49, 0x50, 0x41, 0x64,
|
||||
0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 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 (
|
||||
@@ -826,41 +745,40 @@ func file_service_node_ip_address_proto_rawDescGZIP() []byte {
|
||||
return file_service_node_ip_address_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_service_node_ip_address_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
||||
var file_service_node_ip_address_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
||||
var file_service_node_ip_address_proto_goTypes = []interface{}{
|
||||
(*CreateNodeIPAddressRequest)(nil), // 0: pb.CreateNodeIPAddressRequest
|
||||
(*CreateNodeIPAddressResponse)(nil), // 1: pb.CreateNodeIPAddressResponse
|
||||
(*UpdateNodeIPAddressRequest)(nil), // 2: pb.UpdateNodeIPAddressRequest
|
||||
(*UpdateNodeIPAddressResponse)(nil), // 3: pb.UpdateNodeIPAddressResponse
|
||||
(*UpdateNodeIPAddressNodeIdRequest)(nil), // 4: pb.UpdateNodeIPAddressNodeIdRequest
|
||||
(*UpdateNodeIPAddressNodeIdResponse)(nil), // 5: pb.UpdateNodeIPAddressNodeIdResponse
|
||||
(*DisableNodeIPAddressRequest)(nil), // 6: pb.DisableNodeIPAddressRequest
|
||||
(*DisableNodeIPAddressResponse)(nil), // 7: pb.DisableNodeIPAddressResponse
|
||||
(*DisableAllIPAddressesWithNodeIdRequest)(nil), // 8: pb.DisableAllIPAddressesWithNodeIdRequest
|
||||
(*DisableAllIPAddressesWithNodeIdResponse)(nil), // 9: pb.DisableAllIPAddressesWithNodeIdResponse
|
||||
(*FindEnabledNodeIPAddressRequest)(nil), // 10: pb.FindEnabledNodeIPAddressRequest
|
||||
(*FindEnabledNodeIPAddressResponse)(nil), // 11: pb.FindEnabledNodeIPAddressResponse
|
||||
(*FindAllEnabledIPAddressesWithNodeIdRequest)(nil), // 12: pb.FindAllEnabledIPAddressesWithNodeIdRequest
|
||||
(*FindAllEnabledIPAddressesWithNodeIdResponse)(nil), // 13: pb.FindAllEnabledIPAddressesWithNodeIdResponse
|
||||
(*NodeIPAddress)(nil), // 14: pb.NodeIPAddress
|
||||
(*UpdateNodeIPAddressNodeIdRequest)(nil), // 3: pb.UpdateNodeIPAddressNodeIdRequest
|
||||
(*DisableNodeIPAddressRequest)(nil), // 4: pb.DisableNodeIPAddressRequest
|
||||
(*DisableNodeIPAddressResponse)(nil), // 5: pb.DisableNodeIPAddressResponse
|
||||
(*DisableAllIPAddressesWithNodeIdRequest)(nil), // 6: pb.DisableAllIPAddressesWithNodeIdRequest
|
||||
(*DisableAllIPAddressesWithNodeIdResponse)(nil), // 7: pb.DisableAllIPAddressesWithNodeIdResponse
|
||||
(*FindEnabledNodeIPAddressRequest)(nil), // 8: pb.FindEnabledNodeIPAddressRequest
|
||||
(*FindEnabledNodeIPAddressResponse)(nil), // 9: pb.FindEnabledNodeIPAddressResponse
|
||||
(*FindAllEnabledIPAddressesWithNodeIdRequest)(nil), // 10: pb.FindAllEnabledIPAddressesWithNodeIdRequest
|
||||
(*FindAllEnabledIPAddressesWithNodeIdResponse)(nil), // 11: pb.FindAllEnabledIPAddressesWithNodeIdResponse
|
||||
(*NodeIPAddress)(nil), // 12: pb.NodeIPAddress
|
||||
(*RPCUpdateSuccess)(nil), // 13: pb.RPCUpdateSuccess
|
||||
}
|
||||
var file_service_node_ip_address_proto_depIdxs = []int32{
|
||||
14, // 0: pb.FindEnabledNodeIPAddressResponse.ipAddress:type_name -> pb.NodeIPAddress
|
||||
14, // 1: pb.FindAllEnabledIPAddressesWithNodeIdResponse.addresses:type_name -> pb.NodeIPAddress
|
||||
12, // 0: pb.FindEnabledNodeIPAddressResponse.ipAddress:type_name -> pb.NodeIPAddress
|
||||
12, // 1: pb.FindAllEnabledIPAddressesWithNodeIdResponse.addresses:type_name -> pb.NodeIPAddress
|
||||
0, // 2: pb.NodeIPAddressService.createNodeIPAddress:input_type -> pb.CreateNodeIPAddressRequest
|
||||
2, // 3: pb.NodeIPAddressService.updateNodeIPAddress:input_type -> pb.UpdateNodeIPAddressRequest
|
||||
4, // 4: pb.NodeIPAddressService.updateNodeIPAddressNodeId:input_type -> pb.UpdateNodeIPAddressNodeIdRequest
|
||||
6, // 5: pb.NodeIPAddressService.disableNodeIPAddress:input_type -> pb.DisableNodeIPAddressRequest
|
||||
8, // 6: pb.NodeIPAddressService.disableAllIPAddressesWithNodeId:input_type -> pb.DisableAllIPAddressesWithNodeIdRequest
|
||||
10, // 7: pb.NodeIPAddressService.findEnabledNodeIPAddress:input_type -> pb.FindEnabledNodeIPAddressRequest
|
||||
12, // 8: pb.NodeIPAddressService.findAllEnabledIPAddressesWithNodeId:input_type -> pb.FindAllEnabledIPAddressesWithNodeIdRequest
|
||||
3, // 4: pb.NodeIPAddressService.updateNodeIPAddressNodeId:input_type -> pb.UpdateNodeIPAddressNodeIdRequest
|
||||
4, // 5: pb.NodeIPAddressService.disableNodeIPAddress:input_type -> pb.DisableNodeIPAddressRequest
|
||||
6, // 6: pb.NodeIPAddressService.disableAllIPAddressesWithNodeId:input_type -> pb.DisableAllIPAddressesWithNodeIdRequest
|
||||
8, // 7: pb.NodeIPAddressService.findEnabledNodeIPAddress:input_type -> pb.FindEnabledNodeIPAddressRequest
|
||||
10, // 8: pb.NodeIPAddressService.findAllEnabledIPAddressesWithNodeId:input_type -> pb.FindAllEnabledIPAddressesWithNodeIdRequest
|
||||
1, // 9: pb.NodeIPAddressService.createNodeIPAddress:output_type -> pb.CreateNodeIPAddressResponse
|
||||
3, // 10: pb.NodeIPAddressService.updateNodeIPAddress:output_type -> pb.UpdateNodeIPAddressResponse
|
||||
5, // 11: pb.NodeIPAddressService.updateNodeIPAddressNodeId:output_type -> pb.UpdateNodeIPAddressNodeIdResponse
|
||||
7, // 12: pb.NodeIPAddressService.disableNodeIPAddress:output_type -> pb.DisableNodeIPAddressResponse
|
||||
9, // 13: pb.NodeIPAddressService.disableAllIPAddressesWithNodeId:output_type -> pb.DisableAllIPAddressesWithNodeIdResponse
|
||||
11, // 14: pb.NodeIPAddressService.findEnabledNodeIPAddress:output_type -> pb.FindEnabledNodeIPAddressResponse
|
||||
13, // 15: pb.NodeIPAddressService.findAllEnabledIPAddressesWithNodeId:output_type -> pb.FindAllEnabledIPAddressesWithNodeIdResponse
|
||||
13, // 10: pb.NodeIPAddressService.updateNodeIPAddress:output_type -> pb.RPCUpdateSuccess
|
||||
13, // 11: pb.NodeIPAddressService.updateNodeIPAddressNodeId:output_type -> pb.RPCUpdateSuccess
|
||||
5, // 12: pb.NodeIPAddressService.disableNodeIPAddress:output_type -> pb.DisableNodeIPAddressResponse
|
||||
7, // 13: pb.NodeIPAddressService.disableAllIPAddressesWithNodeId:output_type -> pb.DisableAllIPAddressesWithNodeIdResponse
|
||||
9, // 14: pb.NodeIPAddressService.findEnabledNodeIPAddress:output_type -> pb.FindEnabledNodeIPAddressResponse
|
||||
11, // 15: pb.NodeIPAddressService.findAllEnabledIPAddressesWithNodeId:output_type -> pb.FindAllEnabledIPAddressesWithNodeIdResponse
|
||||
9, // [9:16] is the sub-list for method output_type
|
||||
2, // [2:9] is the sub-list for method input_type
|
||||
2, // [2:2] is the sub-list for extension type_name
|
||||
@@ -874,6 +792,7 @@ func file_service_node_ip_address_proto_init() {
|
||||
return
|
||||
}
|
||||
file_model_node_ip_address_proto_init()
|
||||
file_rpc_messages_proto_init()
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_service_node_ip_address_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CreateNodeIPAddressRequest); i {
|
||||
@@ -912,18 +831,6 @@ func file_service_node_ip_address_proto_init() {
|
||||
}
|
||||
}
|
||||
file_service_node_ip_address_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateNodeIPAddressResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_node_ip_address_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateNodeIPAddressNodeIdRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -935,19 +842,7 @@ func file_service_node_ip_address_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_node_ip_address_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateNodeIPAddressNodeIdResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_node_ip_address_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_node_ip_address_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*DisableNodeIPAddressRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -959,7 +854,7 @@ func file_service_node_ip_address_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_node_ip_address_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_node_ip_address_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*DisableNodeIPAddressResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -971,7 +866,7 @@ func file_service_node_ip_address_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_node_ip_address_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_node_ip_address_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*DisableAllIPAddressesWithNodeIdRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -983,7 +878,7 @@ func file_service_node_ip_address_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_node_ip_address_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_node_ip_address_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*DisableAllIPAddressesWithNodeIdResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -995,7 +890,7 @@ func file_service_node_ip_address_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_node_ip_address_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_node_ip_address_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindEnabledNodeIPAddressRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1007,7 +902,7 @@ func file_service_node_ip_address_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_node_ip_address_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_node_ip_address_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindEnabledNodeIPAddressResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1019,7 +914,7 @@ func file_service_node_ip_address_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_node_ip_address_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_node_ip_address_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindAllEnabledIPAddressesWithNodeIdRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1031,7 +926,7 @@ func file_service_node_ip_address_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_node_ip_address_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_node_ip_address_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindAllEnabledIPAddressesWithNodeIdResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1050,7 +945,7 @@ func file_service_node_ip_address_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_service_node_ip_address_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 14,
|
||||
NumMessages: 12,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
@@ -1079,9 +974,9 @@ type NodeIPAddressServiceClient interface {
|
||||
// 创建IP地址
|
||||
CreateNodeIPAddress(ctx context.Context, in *CreateNodeIPAddressRequest, opts ...grpc.CallOption) (*CreateNodeIPAddressResponse, error)
|
||||
// 修改IP地址
|
||||
UpdateNodeIPAddress(ctx context.Context, in *UpdateNodeIPAddressRequest, opts ...grpc.CallOption) (*UpdateNodeIPAddressResponse, error)
|
||||
UpdateNodeIPAddress(ctx context.Context, in *UpdateNodeIPAddressRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||
// 修改IP地址所属节点
|
||||
UpdateNodeIPAddressNodeId(ctx context.Context, in *UpdateNodeIPAddressNodeIdRequest, opts ...grpc.CallOption) (*UpdateNodeIPAddressNodeIdResponse, error)
|
||||
UpdateNodeIPAddressNodeId(ctx context.Context, in *UpdateNodeIPAddressNodeIdRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||
// 禁用单个IP地址
|
||||
DisableNodeIPAddress(ctx context.Context, in *DisableNodeIPAddressRequest, opts ...grpc.CallOption) (*DisableNodeIPAddressResponse, error)
|
||||
// 禁用节点的所有IP地址
|
||||
@@ -1109,8 +1004,8 @@ func (c *nodeIPAddressServiceClient) CreateNodeIPAddress(ctx context.Context, in
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *nodeIPAddressServiceClient) UpdateNodeIPAddress(ctx context.Context, in *UpdateNodeIPAddressRequest, opts ...grpc.CallOption) (*UpdateNodeIPAddressResponse, error) {
|
||||
out := new(UpdateNodeIPAddressResponse)
|
||||
func (c *nodeIPAddressServiceClient) UpdateNodeIPAddress(ctx context.Context, in *UpdateNodeIPAddressRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
||||
out := new(RPCUpdateSuccess)
|
||||
err := c.cc.Invoke(ctx, "/pb.NodeIPAddressService/updateNodeIPAddress", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -1118,8 +1013,8 @@ func (c *nodeIPAddressServiceClient) UpdateNodeIPAddress(ctx context.Context, in
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *nodeIPAddressServiceClient) UpdateNodeIPAddressNodeId(ctx context.Context, in *UpdateNodeIPAddressNodeIdRequest, opts ...grpc.CallOption) (*UpdateNodeIPAddressNodeIdResponse, error) {
|
||||
out := new(UpdateNodeIPAddressNodeIdResponse)
|
||||
func (c *nodeIPAddressServiceClient) UpdateNodeIPAddressNodeId(ctx context.Context, in *UpdateNodeIPAddressNodeIdRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
||||
out := new(RPCUpdateSuccess)
|
||||
err := c.cc.Invoke(ctx, "/pb.NodeIPAddressService/updateNodeIPAddressNodeId", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -1168,9 +1063,9 @@ type NodeIPAddressServiceServer interface {
|
||||
// 创建IP地址
|
||||
CreateNodeIPAddress(context.Context, *CreateNodeIPAddressRequest) (*CreateNodeIPAddressResponse, error)
|
||||
// 修改IP地址
|
||||
UpdateNodeIPAddress(context.Context, *UpdateNodeIPAddressRequest) (*UpdateNodeIPAddressResponse, error)
|
||||
UpdateNodeIPAddress(context.Context, *UpdateNodeIPAddressRequest) (*RPCUpdateSuccess, error)
|
||||
// 修改IP地址所属节点
|
||||
UpdateNodeIPAddressNodeId(context.Context, *UpdateNodeIPAddressNodeIdRequest) (*UpdateNodeIPAddressNodeIdResponse, error)
|
||||
UpdateNodeIPAddressNodeId(context.Context, *UpdateNodeIPAddressNodeIdRequest) (*RPCUpdateSuccess, error)
|
||||
// 禁用单个IP地址
|
||||
DisableNodeIPAddress(context.Context, *DisableNodeIPAddressRequest) (*DisableNodeIPAddressResponse, error)
|
||||
// 禁用节点的所有IP地址
|
||||
@@ -1188,10 +1083,10 @@ type UnimplementedNodeIPAddressServiceServer struct {
|
||||
func (*UnimplementedNodeIPAddressServiceServer) CreateNodeIPAddress(context.Context, *CreateNodeIPAddressRequest) (*CreateNodeIPAddressResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CreateNodeIPAddress not implemented")
|
||||
}
|
||||
func (*UnimplementedNodeIPAddressServiceServer) UpdateNodeIPAddress(context.Context, *UpdateNodeIPAddressRequest) (*UpdateNodeIPAddressResponse, error) {
|
||||
func (*UnimplementedNodeIPAddressServiceServer) UpdateNodeIPAddress(context.Context, *UpdateNodeIPAddressRequest) (*RPCUpdateSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateNodeIPAddress not implemented")
|
||||
}
|
||||
func (*UnimplementedNodeIPAddressServiceServer) UpdateNodeIPAddressNodeId(context.Context, *UpdateNodeIPAddressNodeIdRequest) (*UpdateNodeIPAddressNodeIdResponse, error) {
|
||||
func (*UnimplementedNodeIPAddressServiceServer) UpdateNodeIPAddressNodeId(context.Context, *UpdateNodeIPAddressNodeIdRequest) (*RPCUpdateSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateNodeIPAddressNodeId not implemented")
|
||||
}
|
||||
func (*UnimplementedNodeIPAddressServiceServer) DisableNodeIPAddress(context.Context, *DisableNodeIPAddressRequest) (*DisableNodeIPAddressResponse, error) {
|
||||
|
||||
@@ -212,44 +212,6 @@ func (x *UpdateOriginServerRequest) GetDescription() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
type UpdateOriginServerResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *UpdateOriginServerResponse) Reset() {
|
||||
*x = UpdateOriginServerResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_origin_server_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateOriginServerResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateOriginServerResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateOriginServerResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_origin_server_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 UpdateOriginServerResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateOriginServerResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_origin_server_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
// 查找单个源站信息
|
||||
type FindEnabledOriginServerRequest struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -262,7 +224,7 @@ type FindEnabledOriginServerRequest struct {
|
||||
func (x *FindEnabledOriginServerRequest) Reset() {
|
||||
*x = FindEnabledOriginServerRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_origin_server_proto_msgTypes[4]
|
||||
mi := &file_service_origin_server_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -275,7 +237,7 @@ func (x *FindEnabledOriginServerRequest) String() string {
|
||||
func (*FindEnabledOriginServerRequest) ProtoMessage() {}
|
||||
|
||||
func (x *FindEnabledOriginServerRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_origin_server_proto_msgTypes[4]
|
||||
mi := &file_service_origin_server_proto_msgTypes[3]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -288,7 +250,7 @@ func (x *FindEnabledOriginServerRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FindEnabledOriginServerRequest.ProtoReflect.Descriptor instead.
|
||||
func (*FindEnabledOriginServerRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_origin_server_proto_rawDescGZIP(), []int{4}
|
||||
return file_service_origin_server_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *FindEnabledOriginServerRequest) GetOriginId() int64 {
|
||||
@@ -309,7 +271,7 @@ type FindEnabledOriginServerResponse struct {
|
||||
func (x *FindEnabledOriginServerResponse) Reset() {
|
||||
*x = FindEnabledOriginServerResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_origin_server_proto_msgTypes[5]
|
||||
mi := &file_service_origin_server_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -322,7 +284,7 @@ func (x *FindEnabledOriginServerResponse) String() string {
|
||||
func (*FindEnabledOriginServerResponse) ProtoMessage() {}
|
||||
|
||||
func (x *FindEnabledOriginServerResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_origin_server_proto_msgTypes[5]
|
||||
mi := &file_service_origin_server_proto_msgTypes[4]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -335,7 +297,7 @@ func (x *FindEnabledOriginServerResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FindEnabledOriginServerResponse.ProtoReflect.Descriptor instead.
|
||||
func (*FindEnabledOriginServerResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_origin_server_proto_rawDescGZIP(), []int{5}
|
||||
return file_service_origin_server_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *FindEnabledOriginServerResponse) GetOrigin() *OriginServer {
|
||||
@@ -357,7 +319,7 @@ type FindEnabledOriginServerConfigRequest struct {
|
||||
func (x *FindEnabledOriginServerConfigRequest) Reset() {
|
||||
*x = FindEnabledOriginServerConfigRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_origin_server_proto_msgTypes[6]
|
||||
mi := &file_service_origin_server_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -370,7 +332,7 @@ func (x *FindEnabledOriginServerConfigRequest) String() string {
|
||||
func (*FindEnabledOriginServerConfigRequest) ProtoMessage() {}
|
||||
|
||||
func (x *FindEnabledOriginServerConfigRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_origin_server_proto_msgTypes[6]
|
||||
mi := &file_service_origin_server_proto_msgTypes[5]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -383,7 +345,7 @@ func (x *FindEnabledOriginServerConfigRequest) ProtoReflect() protoreflect.Messa
|
||||
|
||||
// Deprecated: Use FindEnabledOriginServerConfigRequest.ProtoReflect.Descriptor instead.
|
||||
func (*FindEnabledOriginServerConfigRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_origin_server_proto_rawDescGZIP(), []int{6}
|
||||
return file_service_origin_server_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *FindEnabledOriginServerConfigRequest) GetOriginId() int64 {
|
||||
@@ -404,7 +366,7 @@ type FindEnabledOriginServerConfigResponse struct {
|
||||
func (x *FindEnabledOriginServerConfigResponse) Reset() {
|
||||
*x = FindEnabledOriginServerConfigResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_origin_server_proto_msgTypes[7]
|
||||
mi := &file_service_origin_server_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -417,7 +379,7 @@ func (x *FindEnabledOriginServerConfigResponse) String() string {
|
||||
func (*FindEnabledOriginServerConfigResponse) ProtoMessage() {}
|
||||
|
||||
func (x *FindEnabledOriginServerConfigResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_origin_server_proto_msgTypes[7]
|
||||
mi := &file_service_origin_server_proto_msgTypes[6]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -430,7 +392,7 @@ func (x *FindEnabledOriginServerConfigResponse) ProtoReflect() protoreflect.Mess
|
||||
|
||||
// Deprecated: Use FindEnabledOriginServerConfigResponse.ProtoReflect.Descriptor instead.
|
||||
func (*FindEnabledOriginServerConfigResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_origin_server_proto_rawDescGZIP(), []int{7}
|
||||
return file_service_origin_server_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *FindEnabledOriginServerConfigResponse) GetConfig() []byte {
|
||||
@@ -448,73 +410,72 @@ var file_service_origin_server_proto_rawDesc = []byte{
|
||||
0x62, 0x1a, 0x19, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f,
|
||||
0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x6d, 0x6f,
|
||||
0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x61, 0x64, 0x64, 0x72,
|
||||
0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x79, 0x0a, 0x19, 0x43, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x04, 0x61, 0x64,
|
||||
0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65,
|
||||
0x74, 0x77, 0x6f, 0x72, 0x6b, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x04, 0x61, 0x64,
|
||||
0x64, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x22, 0x38, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72,
|
||||
0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x49, 0x64, 0x22, 0x95,
|
||||
0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53,
|
||||
0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x72, 0x70, 0x63, 0x5f, 0x6d,
|
||||
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x79, 0x0a,
|
||||
0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72,
|
||||
0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
|
||||
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26,
|
||||
0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70,
|
||||
0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
|
||||
0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
|
||||
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73,
|
||||
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x38, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61,
|
||||
0x74, 0x65, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e,
|
||||
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e,
|
||||
0x49, 0x64, 0x22, 0x95, 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x69,
|
||||
0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x03, 0x52, 0x08, 0x6f, 0x72, 0x69, 0x67, 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, 0x26, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12,
|
||||
0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x41, 0x64, 0x64, 0x72, 0x65,
|
||||
0x73, 0x73, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63,
|
||||
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64,
|
||||
0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3c, 0x0a, 0x1e, 0x46, 0x69,
|
||||
0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53,
|
||||
0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08,
|
||||
0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08,
|
||||
0x6f, 0x72, 0x69, 0x67, 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, 0x26, 0x0a, 0x04,
|
||||
0x61, 0x64, 0x64, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x04,
|
||||
0x61, 0x64, 0x64, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
|
||||
0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,
|
||||
0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x1c, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
||||
0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3c, 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62,
|
||||
0x6c, 0x65, 0x64, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e,
|
||||
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e,
|
||||
0x49, 0x64, 0x22, 0x4b, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
||||
0x64, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x06, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x4f, 0x72, 0x69, 0x67, 0x69,
|
||||
0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x06, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22,
|
||||
0x42, 0x0a, 0x24, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4f, 0x72,
|
||||
0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x72, 0x69, 0x67, 0x69,
|
||||
0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x72, 0x69, 0x67, 0x69,
|
||||
0x6e, 0x49, 0x64, 0x22, 0x3f, 0x0a, 0x25, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
||||
0x65, 0x64, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x6f,
|
||||
0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06,
|
||||
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f,
|
||||
0x6e, 0x66, 0x69, 0x67, 0x32, 0x99, 0x03, 0x0a, 0x13, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53,
|
||||
0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x53, 0x0a, 0x12,
|
||||
0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76,
|
||||
0x65, 0x72, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72,
|
||||
0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x69,
|
||||
0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x12, 0x53, 0x0a, 0x12, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x69, 0x67, 0x69,
|
||||
0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64,
|
||||
0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x49, 0x64, 0x22, 0x4b, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64,
|
||||
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72,
|
||||
0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x06, 0x4f,
|
||||
0x72, 0x69, 0x67, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x06, 0x4f,
|
||||
0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x42, 0x0a, 0x24, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61,
|
||||
0x62, 0x6c, 0x65, 0x64, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
|
||||
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a,
|
||||
0x08, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x08, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x49, 0x64, 0x22, 0x3f, 0x0a, 0x25, 0x46, 0x69, 0x6e,
|
||||
0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65,
|
||||
0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x32, 0x8f, 0x03, 0x0a, 0x13, 0x4f,
|
||||
0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69,
|
||||
0x63, 0x65, 0x12, 0x53, 0x0a, 0x12, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x69, 0x67,
|
||||
0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72,
|
||||
0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x64, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65,
|
||||
0x72, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x12, 0x75, 0x70, 0x64, 0x61, 0x74,
|
||||
0x65, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x1d, 0x2e,
|
||||
0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53,
|
||||
0x65, 0x72, 0x76, 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, 0x62, 0x0a, 0x17, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
||||
0x64, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x22, 0x2e,
|
||||
0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4f, 0x72,
|
||||
0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
||||
0x65, 0x64, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45,
|
||||
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76,
|
||||
0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x74, 0x0a, 0x1d, 0x66, 0x69,
|
||||
0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53,
|
||||
0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x28, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4f, 0x72, 0x69, 0x67,
|
||||
0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45,
|
||||
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76,
|
||||
0x65, 0x72, 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,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x74, 0x0a, 0x1d, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x64, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65,
|
||||
0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x28, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e,
|
||||
0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65,
|
||||
0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x1a, 0x29, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
||||
0x65, 0x64, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 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 (
|
||||
@@ -529,31 +490,31 @@ func file_service_origin_server_proto_rawDescGZIP() []byte {
|
||||
return file_service_origin_server_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_service_origin_server_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
||||
var file_service_origin_server_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
|
||||
var file_service_origin_server_proto_goTypes = []interface{}{
|
||||
(*CreateOriginServerRequest)(nil), // 0: pb.CreateOriginServerRequest
|
||||
(*CreateOriginServerResponse)(nil), // 1: pb.CreateOriginServerResponse
|
||||
(*UpdateOriginServerRequest)(nil), // 2: pb.UpdateOriginServerRequest
|
||||
(*UpdateOriginServerResponse)(nil), // 3: pb.UpdateOriginServerResponse
|
||||
(*FindEnabledOriginServerRequest)(nil), // 4: pb.FindEnabledOriginServerRequest
|
||||
(*FindEnabledOriginServerResponse)(nil), // 5: pb.FindEnabledOriginServerResponse
|
||||
(*FindEnabledOriginServerConfigRequest)(nil), // 6: pb.FindEnabledOriginServerConfigRequest
|
||||
(*FindEnabledOriginServerConfigResponse)(nil), // 7: pb.FindEnabledOriginServerConfigResponse
|
||||
(*NetworkAddress)(nil), // 8: pb.NetworkAddress
|
||||
(*OriginServer)(nil), // 9: pb.OriginServer
|
||||
(*FindEnabledOriginServerRequest)(nil), // 3: pb.FindEnabledOriginServerRequest
|
||||
(*FindEnabledOriginServerResponse)(nil), // 4: pb.FindEnabledOriginServerResponse
|
||||
(*FindEnabledOriginServerConfigRequest)(nil), // 5: pb.FindEnabledOriginServerConfigRequest
|
||||
(*FindEnabledOriginServerConfigResponse)(nil), // 6: pb.FindEnabledOriginServerConfigResponse
|
||||
(*NetworkAddress)(nil), // 7: pb.NetworkAddress
|
||||
(*OriginServer)(nil), // 8: pb.OriginServer
|
||||
(*RPCUpdateSuccess)(nil), // 9: pb.RPCUpdateSuccess
|
||||
}
|
||||
var file_service_origin_server_proto_depIdxs = []int32{
|
||||
8, // 0: pb.CreateOriginServerRequest.addr:type_name -> pb.NetworkAddress
|
||||
8, // 1: pb.UpdateOriginServerRequest.addr:type_name -> pb.NetworkAddress
|
||||
9, // 2: pb.FindEnabledOriginServerResponse.Origin:type_name -> pb.OriginServer
|
||||
7, // 0: pb.CreateOriginServerRequest.addr:type_name -> pb.NetworkAddress
|
||||
7, // 1: pb.UpdateOriginServerRequest.addr:type_name -> pb.NetworkAddress
|
||||
8, // 2: pb.FindEnabledOriginServerResponse.Origin:type_name -> pb.OriginServer
|
||||
0, // 3: pb.OriginServerService.createOriginServer:input_type -> pb.CreateOriginServerRequest
|
||||
2, // 4: pb.OriginServerService.updateOriginServer:input_type -> pb.UpdateOriginServerRequest
|
||||
4, // 5: pb.OriginServerService.findEnabledOriginServer:input_type -> pb.FindEnabledOriginServerRequest
|
||||
6, // 6: pb.OriginServerService.findEnabledOriginServerConfig:input_type -> pb.FindEnabledOriginServerConfigRequest
|
||||
3, // 5: pb.OriginServerService.findEnabledOriginServer:input_type -> pb.FindEnabledOriginServerRequest
|
||||
5, // 6: pb.OriginServerService.findEnabledOriginServerConfig:input_type -> pb.FindEnabledOriginServerConfigRequest
|
||||
1, // 7: pb.OriginServerService.createOriginServer:output_type -> pb.CreateOriginServerResponse
|
||||
3, // 8: pb.OriginServerService.updateOriginServer:output_type -> pb.UpdateOriginServerResponse
|
||||
5, // 9: pb.OriginServerService.findEnabledOriginServer:output_type -> pb.FindEnabledOriginServerResponse
|
||||
7, // 10: pb.OriginServerService.findEnabledOriginServerConfig:output_type -> pb.FindEnabledOriginServerConfigResponse
|
||||
9, // 8: pb.OriginServerService.updateOriginServer:output_type -> pb.RPCUpdateSuccess
|
||||
4, // 9: pb.OriginServerService.findEnabledOriginServer:output_type -> pb.FindEnabledOriginServerResponse
|
||||
6, // 10: pb.OriginServerService.findEnabledOriginServerConfig:output_type -> pb.FindEnabledOriginServerConfigResponse
|
||||
7, // [7:11] is the sub-list for method output_type
|
||||
3, // [3:7] is the sub-list for method input_type
|
||||
3, // [3:3] is the sub-list for extension type_name
|
||||
@@ -568,6 +529,7 @@ func file_service_origin_server_proto_init() {
|
||||
}
|
||||
file_model_origin_server_proto_init()
|
||||
file_model_network_address_proto_init()
|
||||
file_rpc_messages_proto_init()
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_service_origin_server_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CreateOriginServerRequest); i {
|
||||
@@ -606,18 +568,6 @@ func file_service_origin_server_proto_init() {
|
||||
}
|
||||
}
|
||||
file_service_origin_server_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateOriginServerResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_origin_server_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindEnabledOriginServerRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -629,7 +579,7 @@ func file_service_origin_server_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_origin_server_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_origin_server_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindEnabledOriginServerResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -641,7 +591,7 @@ func file_service_origin_server_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_origin_server_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_origin_server_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindEnabledOriginServerConfigRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -653,7 +603,7 @@ func file_service_origin_server_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_origin_server_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_origin_server_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindEnabledOriginServerConfigResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -672,7 +622,7 @@ func file_service_origin_server_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_service_origin_server_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 8,
|
||||
NumMessages: 7,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
@@ -701,7 +651,7 @@ type OriginServerServiceClient interface {
|
||||
// 创建源站
|
||||
CreateOriginServer(ctx context.Context, in *CreateOriginServerRequest, opts ...grpc.CallOption) (*CreateOriginServerResponse, error)
|
||||
// 修改源站
|
||||
UpdateOriginServer(ctx context.Context, in *UpdateOriginServerRequest, opts ...grpc.CallOption) (*UpdateOriginServerResponse, error)
|
||||
UpdateOriginServer(ctx context.Context, in *UpdateOriginServerRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||
// 查找单个源站信息
|
||||
FindEnabledOriginServer(ctx context.Context, in *FindEnabledOriginServerRequest, opts ...grpc.CallOption) (*FindEnabledOriginServerResponse, error)
|
||||
// 查找源站配置
|
||||
@@ -725,8 +675,8 @@ func (c *originServerServiceClient) CreateOriginServer(ctx context.Context, in *
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *originServerServiceClient) UpdateOriginServer(ctx context.Context, in *UpdateOriginServerRequest, opts ...grpc.CallOption) (*UpdateOriginServerResponse, error) {
|
||||
out := new(UpdateOriginServerResponse)
|
||||
func (c *originServerServiceClient) UpdateOriginServer(ctx context.Context, in *UpdateOriginServerRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
||||
out := new(RPCUpdateSuccess)
|
||||
err := c.cc.Invoke(ctx, "/pb.OriginServerService/updateOriginServer", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -757,7 +707,7 @@ type OriginServerServiceServer interface {
|
||||
// 创建源站
|
||||
CreateOriginServer(context.Context, *CreateOriginServerRequest) (*CreateOriginServerResponse, error)
|
||||
// 修改源站
|
||||
UpdateOriginServer(context.Context, *UpdateOriginServerRequest) (*UpdateOriginServerResponse, error)
|
||||
UpdateOriginServer(context.Context, *UpdateOriginServerRequest) (*RPCUpdateSuccess, error)
|
||||
// 查找单个源站信息
|
||||
FindEnabledOriginServer(context.Context, *FindEnabledOriginServerRequest) (*FindEnabledOriginServerResponse, error)
|
||||
// 查找源站配置
|
||||
@@ -771,7 +721,7 @@ type UnimplementedOriginServerServiceServer struct {
|
||||
func (*UnimplementedOriginServerServiceServer) CreateOriginServer(context.Context, *CreateOriginServerRequest) (*CreateOriginServerResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CreateOriginServer not implemented")
|
||||
}
|
||||
func (*UnimplementedOriginServerServiceServer) UpdateOriginServer(context.Context, *UpdateOriginServerRequest) (*UpdateOriginServerResponse, error) {
|
||||
func (*UnimplementedOriginServerServiceServer) UpdateOriginServer(context.Context, *UpdateOriginServerRequest) (*RPCUpdateSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateOriginServer not implemented")
|
||||
}
|
||||
func (*UnimplementedOriginServerServiceServer) FindEnabledOriginServer(context.Context, *FindEnabledOriginServerRequest) (*FindEnabledOriginServerResponse, error) {
|
||||
|
||||
@@ -386,44 +386,6 @@ func (x *UpdateReverseProxySchedulingRequest) GetSchedulingJSON() []byte {
|
||||
return nil
|
||||
}
|
||||
|
||||
type UpdateReverseProxySchedulingResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *UpdateReverseProxySchedulingResponse) Reset() {
|
||||
*x = UpdateReverseProxySchedulingResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_reverse_proxy_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateReverseProxySchedulingResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateReverseProxySchedulingResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateReverseProxySchedulingResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_reverse_proxy_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 UpdateReverseProxySchedulingResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateReverseProxySchedulingResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_reverse_proxy_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
// 修改主要源站信息
|
||||
type UpdateReverseProxyPrimaryOriginsRequest struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -437,7 +399,7 @@ type UpdateReverseProxyPrimaryOriginsRequest struct {
|
||||
func (x *UpdateReverseProxyPrimaryOriginsRequest) Reset() {
|
||||
*x = UpdateReverseProxyPrimaryOriginsRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_reverse_proxy_proto_msgTypes[8]
|
||||
mi := &file_service_reverse_proxy_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -450,7 +412,7 @@ func (x *UpdateReverseProxyPrimaryOriginsRequest) String() string {
|
||||
func (*UpdateReverseProxyPrimaryOriginsRequest) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateReverseProxyPrimaryOriginsRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_reverse_proxy_proto_msgTypes[8]
|
||||
mi := &file_service_reverse_proxy_proto_msgTypes[7]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -463,7 +425,7 @@ func (x *UpdateReverseProxyPrimaryOriginsRequest) ProtoReflect() protoreflect.Me
|
||||
|
||||
// Deprecated: Use UpdateReverseProxyPrimaryOriginsRequest.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateReverseProxyPrimaryOriginsRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_reverse_proxy_proto_rawDescGZIP(), []int{8}
|
||||
return file_service_reverse_proxy_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *UpdateReverseProxyPrimaryOriginsRequest) GetReverseProxyId() int64 {
|
||||
@@ -480,44 +442,6 @@ func (x *UpdateReverseProxyPrimaryOriginsRequest) GetOriginsJSON() []byte {
|
||||
return nil
|
||||
}
|
||||
|
||||
type UpdateReverseProxyPrimaryOriginsResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *UpdateReverseProxyPrimaryOriginsResponse) Reset() {
|
||||
*x = UpdateReverseProxyPrimaryOriginsResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_reverse_proxy_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateReverseProxyPrimaryOriginsResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateReverseProxyPrimaryOriginsResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateReverseProxyPrimaryOriginsResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_reverse_proxy_proto_msgTypes[9]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use UpdateReverseProxyPrimaryOriginsResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateReverseProxyPrimaryOriginsResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_reverse_proxy_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
// 修改备用源站信息
|
||||
type UpdateReverseProxyBackupOriginsRequest struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -531,7 +455,7 @@ type UpdateReverseProxyBackupOriginsRequest struct {
|
||||
func (x *UpdateReverseProxyBackupOriginsRequest) Reset() {
|
||||
*x = UpdateReverseProxyBackupOriginsRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_reverse_proxy_proto_msgTypes[10]
|
||||
mi := &file_service_reverse_proxy_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -544,7 +468,7 @@ func (x *UpdateReverseProxyBackupOriginsRequest) String() string {
|
||||
func (*UpdateReverseProxyBackupOriginsRequest) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateReverseProxyBackupOriginsRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_reverse_proxy_proto_msgTypes[10]
|
||||
mi := &file_service_reverse_proxy_proto_msgTypes[8]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -557,7 +481,7 @@ func (x *UpdateReverseProxyBackupOriginsRequest) ProtoReflect() protoreflect.Mes
|
||||
|
||||
// Deprecated: Use UpdateReverseProxyBackupOriginsRequest.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateReverseProxyBackupOriginsRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_reverse_proxy_proto_rawDescGZIP(), []int{10}
|
||||
return file_service_reverse_proxy_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *UpdateReverseProxyBackupOriginsRequest) GetReverseProxyId() int64 {
|
||||
@@ -574,44 +498,6 @@ func (x *UpdateReverseProxyBackupOriginsRequest) GetOriginsJSON() []byte {
|
||||
return nil
|
||||
}
|
||||
|
||||
type UpdateReverseProxyBackupOriginsResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *UpdateReverseProxyBackupOriginsResponse) Reset() {
|
||||
*x = UpdateReverseProxyBackupOriginsResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_reverse_proxy_proto_msgTypes[11]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateReverseProxyBackupOriginsResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateReverseProxyBackupOriginsResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateReverseProxyBackupOriginsResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_reverse_proxy_proto_msgTypes[11]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use UpdateReverseProxyBackupOriginsResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateReverseProxyBackupOriginsResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_reverse_proxy_proto_rawDescGZIP(), []int{11}
|
||||
}
|
||||
|
||||
// 修改是否启用
|
||||
type UpdateReverseProxyIsOnRequest struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -625,7 +511,7 @@ type UpdateReverseProxyIsOnRequest struct {
|
||||
func (x *UpdateReverseProxyIsOnRequest) Reset() {
|
||||
*x = UpdateReverseProxyIsOnRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_reverse_proxy_proto_msgTypes[12]
|
||||
mi := &file_service_reverse_proxy_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -638,7 +524,7 @@ func (x *UpdateReverseProxyIsOnRequest) String() string {
|
||||
func (*UpdateReverseProxyIsOnRequest) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateReverseProxyIsOnRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_reverse_proxy_proto_msgTypes[12]
|
||||
mi := &file_service_reverse_proxy_proto_msgTypes[9]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -651,7 +537,7 @@ func (x *UpdateReverseProxyIsOnRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use UpdateReverseProxyIsOnRequest.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateReverseProxyIsOnRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_reverse_proxy_proto_rawDescGZIP(), []int{12}
|
||||
return file_service_reverse_proxy_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *UpdateReverseProxyIsOnRequest) GetReverseProxyId() int64 {
|
||||
@@ -668,173 +554,121 @@ func (x *UpdateReverseProxyIsOnRequest) GetIsOn() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
type UpdateReverseProxyIsOnResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *UpdateReverseProxyIsOnResponse) Reset() {
|
||||
*x = UpdateReverseProxyIsOnResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_reverse_proxy_proto_msgTypes[13]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateReverseProxyIsOnResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateReverseProxyIsOnResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateReverseProxyIsOnResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_reverse_proxy_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 UpdateReverseProxyIsOnResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateReverseProxyIsOnResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_reverse_proxy_proto_rawDescGZIP(), []int{13}
|
||||
}
|
||||
|
||||
var File_service_reverse_proxy_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_service_reverse_proxy_proto_rawDesc = []byte{
|
||||
0x0a, 0x1b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73,
|
||||
0x65, 0x5f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70,
|
||||
0x62, 0x1a, 0x19, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65,
|
||||
0x5f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa1, 0x01, 0x0a,
|
||||
0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72,
|
||||
0x6f, 0x78, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x73, 0x63,
|
||||
0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x0c, 0x52, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x4a, 0x53,
|
||||
0x4f, 0x4e, 0x12, 0x2e, 0x0a, 0x12, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4f, 0x72, 0x69,
|
||||
0x67, 0x69, 0x6e, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x12,
|
||||
0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x73, 0x4a, 0x53,
|
||||
0x4f, 0x4e, 0x12, 0x2c, 0x0a, 0x11, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4f, 0x72, 0x69, 0x67,
|
||||
0x69, 0x6e, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, 0x62,
|
||||
0x61, 0x63, 0x6b, 0x75, 0x70, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x73, 0x4a, 0x53, 0x4f, 0x4e,
|
||||
0x22, 0x44, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73,
|
||||
0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26,
|
||||
0x0a, 0x0e, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x49, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50,
|
||||
0x72, 0x6f, 0x78, 0x79, 0x49, 0x64, 0x22, 0x48, 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78,
|
||||
0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x76, 0x65,
|
||||
0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
||||
0x52, 0x0e, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x49, 0x64,
|
||||
0x22, 0x57, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52,
|
||||
0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x0c, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72,
|
||||
0x6f, 0x78, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x52,
|
||||
0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x52, 0x0c, 0x72, 0x65, 0x76,
|
||||
0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x22, 0x4e, 0x0a, 0x24, 0x46, 0x69, 0x6e,
|
||||
0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50,
|
||||
0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78,
|
||||
0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x72, 0x65, 0x76, 0x65, 0x72,
|
||||
0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x49, 0x64, 0x22, 0x3f, 0x0a, 0x25, 0x46, 0x69, 0x6e,
|
||||
0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50,
|
||||
0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x75, 0x0a, 0x23, 0x55, 0x70,
|
||||
0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79,
|
||||
0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78,
|
||||
0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x72, 0x65, 0x76, 0x65, 0x72,
|
||||
0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x73, 0x63, 0x68,
|
||||
0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x0c, 0x52, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x4a, 0x53, 0x4f,
|
||||
0x4e, 0x22, 0x26, 0x0a, 0x24, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x65, 0x72,
|
||||
0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e,
|
||||
0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x73, 0x0a, 0x27, 0x55, 0x70, 0x64,
|
||||
0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x50,
|
||||
0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50,
|
||||
0x72, 0x6f, 0x78, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x72, 0x65,
|
||||
0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b,
|
||||
0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x0c, 0x52, 0x0b, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x2a,
|
||||
0x0a, 0x28, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50,
|
||||
0x72, 0x6f, 0x78, 0x79, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4f, 0x72, 0x69, 0x67, 0x69,
|
||||
0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x72, 0x0a, 0x26, 0x55, 0x70,
|
||||
0x5f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x72, 0x70,
|
||||
0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x22, 0xa1, 0x01, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x65, 0x72,
|
||||
0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26,
|
||||
0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x4a, 0x53, 0x4f, 0x4e,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69,
|
||||
0x6e, 0x67, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x2e, 0x0a, 0x12, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72,
|
||||
0x79, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x0c, 0x52, 0x12, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4f, 0x72, 0x69, 0x67, 0x69,
|
||||
0x6e, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x2c, 0x0a, 0x11, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70,
|
||||
0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||||
0x0c, 0x52, 0x11, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x73,
|
||||
0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x44, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65,
|
||||
0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f,
|
||||
0x78, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x72, 0x65, 0x76, 0x65,
|
||||
0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x49, 0x64, 0x22, 0x48, 0x0a, 0x1e, 0x46, 0x69,
|
||||
0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65,
|
||||
0x50, 0x72, 0x6f, 0x78, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e,
|
||||
0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x49, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f,
|
||||
0x78, 0x79, 0x49, 0x64, 0x22, 0x57, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62,
|
||||
0x6c, 0x65, 0x64, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x0c, 0x72, 0x65, 0x76, 0x65, 0x72,
|
||||
0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e,
|
||||
0x70, 0x62, 0x2e, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x52,
|
||||
0x0c, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x22, 0x4e, 0x0a,
|
||||
0x24, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x76, 0x65,
|
||||
0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65,
|
||||
0x50, 0x72, 0x6f, 0x78, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x72,
|
||||
0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x49, 0x64, 0x22, 0x3f, 0x0a,
|
||||
0x25, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x76, 0x65,
|
||||
0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x75,
|
||||
0x0a, 0x23, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50,
|
||||
0x72, 0x6f, 0x78, 0x79, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65,
|
||||
0x50, 0x72, 0x6f, 0x78, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x72,
|
||||
0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x49, 0x64, 0x12, 0x26, 0x0a,
|
||||
0x0e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x4a, 0x53, 0x4f, 0x4e, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e,
|
||||
0x67, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x73, 0x0a, 0x27, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52,
|
||||
0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x50, 0x72, 0x69, 0x6d, 0x61,
|
||||
0x72, 0x79, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79,
|
||||
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73,
|
||||
0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x72, 0x69, 0x67,
|
||||
0x69, 0x6e, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x6f,
|
||||
0x72, 0x69, 0x67, 0x69, 0x6e, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x72, 0x0a, 0x26, 0x55, 0x70,
|
||||
0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79,
|
||||
0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50,
|
||||
0x72, 0x6f, 0x78, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x72, 0x65,
|
||||
0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b,
|
||||
0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x0c, 0x52, 0x0b, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x29,
|
||||
0x0a, 0x27, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50,
|
||||
0x72, 0x6f, 0x78, 0x79, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e,
|
||||
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5b, 0x0a, 0x1d, 0x55, 0x70, 0x64,
|
||||
0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x49,
|
||||
0x73, 0x4f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65,
|
||||
0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x03, 0x52, 0x0e, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79,
|
||||
0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,
|
||||
0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x22, 0x20, 0x0a, 0x1e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
||||
0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x49, 0x73, 0x4f, 0x6e,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x93, 0x06, 0x0a, 0x13, 0x52, 0x65, 0x76,
|
||||
0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
|
||||
0x12, 0x53, 0x0a, 0x12, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73,
|
||||
0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61,
|
||||
0x74, 0x65, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74,
|
||||
0x65, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61,
|
||||
0x0c, 0x52, 0x0b, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x5b,
|
||||
0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50,
|
||||
0x72, 0x6f, 0x78, 0x79, 0x49, 0x73, 0x4f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||
0x26, 0x0a, 0x0e, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x49,
|
||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65,
|
||||
0x50, 0x72, 0x6f, 0x78, 0x79, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x32, 0xc2, 0x05, 0x0a, 0x13,
|
||||
0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x53, 0x65, 0x72, 0x76,
|
||||
0x69, 0x63, 0x65, 0x12, 0x53, 0x0a, 0x12, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76,
|
||||
0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x43,
|
||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78,
|
||||
0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72,
|
||||
0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x66, 0x69, 0x6e, 0x64,
|
||||
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72,
|
||||
0x6f, 0x78, 0x79, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61,
|
||||
0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79,
|
||||
0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
||||
0x64, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78,
|
||||
0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x74, 0x0a, 0x1d, 0x66, 0x69, 0x6e,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e,
|
||||
0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50,
|
||||
0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x28, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x76, 0x65, 0x72,
|
||||
0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78,
|
||||
0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||
0x71, 0x0a, 0x1c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65,
|
||||
0x50, 0x72, 0x6f, 0x78, 0x79, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x12,
|
||||
0x27, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x65, 0x72,
|
||||
0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e,
|
||||
0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70,
|
||||
0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79,
|
||||
0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x7d, 0x0a, 0x20, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x65,
|
||||
0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4f,
|
||||
0x72, 0x69, 0x67, 0x69, 0x6e, 0x73, 0x12, 0x2b, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x50, 0x72,
|
||||
0x69, 0x6d, 0x61, 0x72, 0x79, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52,
|
||||
0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x50, 0x72, 0x69, 0x6d, 0x61,
|
||||
0x72, 0x79, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x12, 0x7a, 0x0a, 0x1f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x65, 0x72,
|
||||
0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4f, 0x72, 0x69,
|
||||
0x67, 0x69, 0x6e, 0x73, 0x12, 0x2a, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
||||
0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x42, 0x61, 0x63, 0x6b,
|
||||
0x75, 0x70, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x1a, 0x2b, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x65,
|
||||
0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4f, 0x72,
|
||||
0x69, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a,
|
||||
0x72, 0x6f, 0x78, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x74, 0x0a, 0x1d,
|
||||
0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x76, 0x65, 0x72,
|
||||
0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x28, 0x2e,
|
||||
0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65,
|
||||
0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e,
|
||||
0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50,
|
||||
0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x5d, 0x0a, 0x1c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x65,
|
||||
0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69,
|
||||
0x6e, 0x67, 0x12, 0x27, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65,
|
||||
0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75,
|
||||
0x6c, 0x69, 0x6e, 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, 0x65, 0x0a, 0x20, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x65, 0x72,
|
||||
0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4f, 0x72,
|
||||
0x69, 0x67, 0x69, 0x6e, 0x73, 0x12, 0x2b, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
|
||||
0x65, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x50, 0x72, 0x69,
|
||||
0x6d, 0x61, 0x72, 0x79, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 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, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x42, 0x61,
|
||||
0x63, 0x6b, 0x75, 0x70, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x73, 0x12, 0x2a, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72,
|
||||
0x6f, 0x78, 0x79, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 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, 0x51, 0x0a,
|
||||
0x16, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72,
|
||||
0x6f, 0x78, 0x79, 0x49, 0x73, 0x4f, 0x6e, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64,
|
||||
0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x49,
|
||||
0x73, 0x4f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f,
|
||||
0x78, 0x79, 0x49, 0x73, 0x4f, 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,
|
||||
0x73, 0x4f, 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,
|
||||
0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@@ -849,7 +683,7 @@ func file_service_reverse_proxy_proto_rawDescGZIP() []byte {
|
||||
return file_service_reverse_proxy_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_service_reverse_proxy_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
||||
var file_service_reverse_proxy_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
||||
var file_service_reverse_proxy_proto_goTypes = []interface{}{
|
||||
(*CreateReverseProxyRequest)(nil), // 0: pb.CreateReverseProxyRequest
|
||||
(*CreateReverseProxyResponse)(nil), // 1: pb.CreateReverseProxyResponse
|
||||
@@ -858,31 +692,28 @@ var file_service_reverse_proxy_proto_goTypes = []interface{}{
|
||||
(*FindEnabledReverseProxyConfigRequest)(nil), // 4: pb.FindEnabledReverseProxyConfigRequest
|
||||
(*FindEnabledReverseProxyConfigResponse)(nil), // 5: pb.FindEnabledReverseProxyConfigResponse
|
||||
(*UpdateReverseProxySchedulingRequest)(nil), // 6: pb.UpdateReverseProxySchedulingRequest
|
||||
(*UpdateReverseProxySchedulingResponse)(nil), // 7: pb.UpdateReverseProxySchedulingResponse
|
||||
(*UpdateReverseProxyPrimaryOriginsRequest)(nil), // 8: pb.UpdateReverseProxyPrimaryOriginsRequest
|
||||
(*UpdateReverseProxyPrimaryOriginsResponse)(nil), // 9: pb.UpdateReverseProxyPrimaryOriginsResponse
|
||||
(*UpdateReverseProxyBackupOriginsRequest)(nil), // 10: pb.UpdateReverseProxyBackupOriginsRequest
|
||||
(*UpdateReverseProxyBackupOriginsResponse)(nil), // 11: pb.UpdateReverseProxyBackupOriginsResponse
|
||||
(*UpdateReverseProxyIsOnRequest)(nil), // 12: pb.UpdateReverseProxyIsOnRequest
|
||||
(*UpdateReverseProxyIsOnResponse)(nil), // 13: pb.UpdateReverseProxyIsOnResponse
|
||||
(*ReverseProxy)(nil), // 14: pb.ReverseProxy
|
||||
(*UpdateReverseProxyPrimaryOriginsRequest)(nil), // 7: pb.UpdateReverseProxyPrimaryOriginsRequest
|
||||
(*UpdateReverseProxyBackupOriginsRequest)(nil), // 8: pb.UpdateReverseProxyBackupOriginsRequest
|
||||
(*UpdateReverseProxyIsOnRequest)(nil), // 9: pb.UpdateReverseProxyIsOnRequest
|
||||
(*ReverseProxy)(nil), // 10: pb.ReverseProxy
|
||||
(*RPCUpdateSuccess)(nil), // 11: pb.RPCUpdateSuccess
|
||||
}
|
||||
var file_service_reverse_proxy_proto_depIdxs = []int32{
|
||||
14, // 0: pb.FindEnabledReverseProxyResponse.reverseProxy:type_name -> pb.ReverseProxy
|
||||
10, // 0: pb.FindEnabledReverseProxyResponse.reverseProxy:type_name -> pb.ReverseProxy
|
||||
0, // 1: pb.ReverseProxyService.createReverseProxy:input_type -> pb.CreateReverseProxyRequest
|
||||
2, // 2: pb.ReverseProxyService.findEnabledReverseProxy:input_type -> pb.FindEnabledReverseProxyRequest
|
||||
4, // 3: pb.ReverseProxyService.findEnabledReverseProxyConfig:input_type -> pb.FindEnabledReverseProxyConfigRequest
|
||||
6, // 4: pb.ReverseProxyService.updateReverseProxyScheduling:input_type -> pb.UpdateReverseProxySchedulingRequest
|
||||
8, // 5: pb.ReverseProxyService.updateReverseProxyPrimaryOrigins:input_type -> pb.UpdateReverseProxyPrimaryOriginsRequest
|
||||
10, // 6: pb.ReverseProxyService.updateReverseProxyBackupOrigins:input_type -> pb.UpdateReverseProxyBackupOriginsRequest
|
||||
12, // 7: pb.ReverseProxyService.updateReverseProxyIsOn:input_type -> pb.UpdateReverseProxyIsOnRequest
|
||||
7, // 5: pb.ReverseProxyService.updateReverseProxyPrimaryOrigins:input_type -> pb.UpdateReverseProxyPrimaryOriginsRequest
|
||||
8, // 6: pb.ReverseProxyService.updateReverseProxyBackupOrigins:input_type -> pb.UpdateReverseProxyBackupOriginsRequest
|
||||
9, // 7: pb.ReverseProxyService.updateReverseProxyIsOn:input_type -> pb.UpdateReverseProxyIsOnRequest
|
||||
1, // 8: pb.ReverseProxyService.createReverseProxy:output_type -> pb.CreateReverseProxyResponse
|
||||
3, // 9: pb.ReverseProxyService.findEnabledReverseProxy:output_type -> pb.FindEnabledReverseProxyResponse
|
||||
5, // 10: pb.ReverseProxyService.findEnabledReverseProxyConfig:output_type -> pb.FindEnabledReverseProxyConfigResponse
|
||||
7, // 11: pb.ReverseProxyService.updateReverseProxyScheduling:output_type -> pb.UpdateReverseProxySchedulingResponse
|
||||
9, // 12: pb.ReverseProxyService.updateReverseProxyPrimaryOrigins:output_type -> pb.UpdateReverseProxyPrimaryOriginsResponse
|
||||
11, // 13: pb.ReverseProxyService.updateReverseProxyBackupOrigins:output_type -> pb.UpdateReverseProxyBackupOriginsResponse
|
||||
13, // 14: pb.ReverseProxyService.updateReverseProxyIsOn:output_type -> pb.UpdateReverseProxyIsOnResponse
|
||||
11, // 11: pb.ReverseProxyService.updateReverseProxyScheduling:output_type -> pb.RPCUpdateSuccess
|
||||
11, // 12: pb.ReverseProxyService.updateReverseProxyPrimaryOrigins:output_type -> pb.RPCUpdateSuccess
|
||||
11, // 13: pb.ReverseProxyService.updateReverseProxyBackupOrigins:output_type -> pb.RPCUpdateSuccess
|
||||
11, // 14: pb.ReverseProxyService.updateReverseProxyIsOn:output_type -> pb.RPCUpdateSuccess
|
||||
8, // [8:15] is the sub-list for method output_type
|
||||
1, // [1:8] is the sub-list for method input_type
|
||||
1, // [1:1] is the sub-list for extension type_name
|
||||
@@ -896,6 +727,7 @@ func file_service_reverse_proxy_proto_init() {
|
||||
return
|
||||
}
|
||||
file_model_reverse_proxy_proto_init()
|
||||
file_rpc_messages_proto_init()
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_service_reverse_proxy_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CreateReverseProxyRequest); i {
|
||||
@@ -982,18 +814,6 @@ func file_service_reverse_proxy_proto_init() {
|
||||
}
|
||||
}
|
||||
file_service_reverse_proxy_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateReverseProxySchedulingResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_reverse_proxy_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateReverseProxyPrimaryOriginsRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1005,19 +825,7 @@ func file_service_reverse_proxy_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_reverse_proxy_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateReverseProxyPrimaryOriginsResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_reverse_proxy_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_reverse_proxy_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateReverseProxyBackupOriginsRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1029,19 +837,7 @@ func file_service_reverse_proxy_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_reverse_proxy_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateReverseProxyBackupOriginsResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_reverse_proxy_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_reverse_proxy_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateReverseProxyIsOnRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1053,18 +849,6 @@ func file_service_reverse_proxy_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_reverse_proxy_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateReverseProxyIsOnResponse); 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{
|
||||
@@ -1072,7 +856,7 @@ func file_service_reverse_proxy_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_service_reverse_proxy_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 14,
|
||||
NumMessages: 10,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
@@ -1105,13 +889,13 @@ type ReverseProxyServiceClient interface {
|
||||
// 查找反向代理配置
|
||||
FindEnabledReverseProxyConfig(ctx context.Context, in *FindEnabledReverseProxyConfigRequest, opts ...grpc.CallOption) (*FindEnabledReverseProxyConfigResponse, error)
|
||||
// 修改反向代理的调度算法
|
||||
UpdateReverseProxyScheduling(ctx context.Context, in *UpdateReverseProxySchedulingRequest, opts ...grpc.CallOption) (*UpdateReverseProxySchedulingResponse, error)
|
||||
UpdateReverseProxyScheduling(ctx context.Context, in *UpdateReverseProxySchedulingRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||
// 修改主要源站信息
|
||||
UpdateReverseProxyPrimaryOrigins(ctx context.Context, in *UpdateReverseProxyPrimaryOriginsRequest, opts ...grpc.CallOption) (*UpdateReverseProxyPrimaryOriginsResponse, error)
|
||||
UpdateReverseProxyPrimaryOrigins(ctx context.Context, in *UpdateReverseProxyPrimaryOriginsRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||
// 修改备用源站信息
|
||||
UpdateReverseProxyBackupOrigins(ctx context.Context, in *UpdateReverseProxyBackupOriginsRequest, opts ...grpc.CallOption) (*UpdateReverseProxyBackupOriginsResponse, error)
|
||||
UpdateReverseProxyBackupOrigins(ctx context.Context, in *UpdateReverseProxyBackupOriginsRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||
// 修改是否启用
|
||||
UpdateReverseProxyIsOn(ctx context.Context, in *UpdateReverseProxyIsOnRequest, opts ...grpc.CallOption) (*UpdateReverseProxyIsOnResponse, error)
|
||||
UpdateReverseProxyIsOn(ctx context.Context, in *UpdateReverseProxyIsOnRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||
}
|
||||
|
||||
type reverseProxyServiceClient struct {
|
||||
@@ -1149,8 +933,8 @@ func (c *reverseProxyServiceClient) FindEnabledReverseProxyConfig(ctx context.Co
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *reverseProxyServiceClient) UpdateReverseProxyScheduling(ctx context.Context, in *UpdateReverseProxySchedulingRequest, opts ...grpc.CallOption) (*UpdateReverseProxySchedulingResponse, error) {
|
||||
out := new(UpdateReverseProxySchedulingResponse)
|
||||
func (c *reverseProxyServiceClient) UpdateReverseProxyScheduling(ctx context.Context, in *UpdateReverseProxySchedulingRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
||||
out := new(RPCUpdateSuccess)
|
||||
err := c.cc.Invoke(ctx, "/pb.ReverseProxyService/updateReverseProxyScheduling", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -1158,8 +942,8 @@ func (c *reverseProxyServiceClient) UpdateReverseProxyScheduling(ctx context.Con
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *reverseProxyServiceClient) UpdateReverseProxyPrimaryOrigins(ctx context.Context, in *UpdateReverseProxyPrimaryOriginsRequest, opts ...grpc.CallOption) (*UpdateReverseProxyPrimaryOriginsResponse, error) {
|
||||
out := new(UpdateReverseProxyPrimaryOriginsResponse)
|
||||
func (c *reverseProxyServiceClient) UpdateReverseProxyPrimaryOrigins(ctx context.Context, in *UpdateReverseProxyPrimaryOriginsRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
||||
out := new(RPCUpdateSuccess)
|
||||
err := c.cc.Invoke(ctx, "/pb.ReverseProxyService/updateReverseProxyPrimaryOrigins", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -1167,8 +951,8 @@ func (c *reverseProxyServiceClient) UpdateReverseProxyPrimaryOrigins(ctx context
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *reverseProxyServiceClient) UpdateReverseProxyBackupOrigins(ctx context.Context, in *UpdateReverseProxyBackupOriginsRequest, opts ...grpc.CallOption) (*UpdateReverseProxyBackupOriginsResponse, error) {
|
||||
out := new(UpdateReverseProxyBackupOriginsResponse)
|
||||
func (c *reverseProxyServiceClient) UpdateReverseProxyBackupOrigins(ctx context.Context, in *UpdateReverseProxyBackupOriginsRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
||||
out := new(RPCUpdateSuccess)
|
||||
err := c.cc.Invoke(ctx, "/pb.ReverseProxyService/updateReverseProxyBackupOrigins", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -1176,8 +960,8 @@ func (c *reverseProxyServiceClient) UpdateReverseProxyBackupOrigins(ctx context.
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *reverseProxyServiceClient) UpdateReverseProxyIsOn(ctx context.Context, in *UpdateReverseProxyIsOnRequest, opts ...grpc.CallOption) (*UpdateReverseProxyIsOnResponse, error) {
|
||||
out := new(UpdateReverseProxyIsOnResponse)
|
||||
func (c *reverseProxyServiceClient) UpdateReverseProxyIsOn(ctx context.Context, in *UpdateReverseProxyIsOnRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
||||
out := new(RPCUpdateSuccess)
|
||||
err := c.cc.Invoke(ctx, "/pb.ReverseProxyService/updateReverseProxyIsOn", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -1194,13 +978,13 @@ type ReverseProxyServiceServer interface {
|
||||
// 查找反向代理配置
|
||||
FindEnabledReverseProxyConfig(context.Context, *FindEnabledReverseProxyConfigRequest) (*FindEnabledReverseProxyConfigResponse, error)
|
||||
// 修改反向代理的调度算法
|
||||
UpdateReverseProxyScheduling(context.Context, *UpdateReverseProxySchedulingRequest) (*UpdateReverseProxySchedulingResponse, error)
|
||||
UpdateReverseProxyScheduling(context.Context, *UpdateReverseProxySchedulingRequest) (*RPCUpdateSuccess, error)
|
||||
// 修改主要源站信息
|
||||
UpdateReverseProxyPrimaryOrigins(context.Context, *UpdateReverseProxyPrimaryOriginsRequest) (*UpdateReverseProxyPrimaryOriginsResponse, error)
|
||||
UpdateReverseProxyPrimaryOrigins(context.Context, *UpdateReverseProxyPrimaryOriginsRequest) (*RPCUpdateSuccess, error)
|
||||
// 修改备用源站信息
|
||||
UpdateReverseProxyBackupOrigins(context.Context, *UpdateReverseProxyBackupOriginsRequest) (*UpdateReverseProxyBackupOriginsResponse, error)
|
||||
UpdateReverseProxyBackupOrigins(context.Context, *UpdateReverseProxyBackupOriginsRequest) (*RPCUpdateSuccess, error)
|
||||
// 修改是否启用
|
||||
UpdateReverseProxyIsOn(context.Context, *UpdateReverseProxyIsOnRequest) (*UpdateReverseProxyIsOnResponse, error)
|
||||
UpdateReverseProxyIsOn(context.Context, *UpdateReverseProxyIsOnRequest) (*RPCUpdateSuccess, error)
|
||||
}
|
||||
|
||||
// UnimplementedReverseProxyServiceServer can be embedded to have forward compatible implementations.
|
||||
@@ -1216,16 +1000,16 @@ func (*UnimplementedReverseProxyServiceServer) FindEnabledReverseProxy(context.C
|
||||
func (*UnimplementedReverseProxyServiceServer) FindEnabledReverseProxyConfig(context.Context, *FindEnabledReverseProxyConfigRequest) (*FindEnabledReverseProxyConfigResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindEnabledReverseProxyConfig not implemented")
|
||||
}
|
||||
func (*UnimplementedReverseProxyServiceServer) UpdateReverseProxyScheduling(context.Context, *UpdateReverseProxySchedulingRequest) (*UpdateReverseProxySchedulingResponse, error) {
|
||||
func (*UnimplementedReverseProxyServiceServer) UpdateReverseProxyScheduling(context.Context, *UpdateReverseProxySchedulingRequest) (*RPCUpdateSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateReverseProxyScheduling not implemented")
|
||||
}
|
||||
func (*UnimplementedReverseProxyServiceServer) UpdateReverseProxyPrimaryOrigins(context.Context, *UpdateReverseProxyPrimaryOriginsRequest) (*UpdateReverseProxyPrimaryOriginsResponse, error) {
|
||||
func (*UnimplementedReverseProxyServiceServer) UpdateReverseProxyPrimaryOrigins(context.Context, *UpdateReverseProxyPrimaryOriginsRequest) (*RPCUpdateSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateReverseProxyPrimaryOrigins not implemented")
|
||||
}
|
||||
func (*UnimplementedReverseProxyServiceServer) UpdateReverseProxyBackupOrigins(context.Context, *UpdateReverseProxyBackupOriginsRequest) (*UpdateReverseProxyBackupOriginsResponse, error) {
|
||||
func (*UnimplementedReverseProxyServiceServer) UpdateReverseProxyBackupOrigins(context.Context, *UpdateReverseProxyBackupOriginsRequest) (*RPCUpdateSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateReverseProxyBackupOrigins not implemented")
|
||||
}
|
||||
func (*UnimplementedReverseProxyServiceServer) UpdateReverseProxyIsOn(context.Context, *UpdateReverseProxyIsOnRequest) (*UpdateReverseProxyIsOnResponse, error) {
|
||||
func (*UnimplementedReverseProxyServiceServer) UpdateReverseProxyIsOn(context.Context, *UpdateReverseProxyIsOnRequest) (*RPCUpdateSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateReverseProxyIsOn not implemented")
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
8
pkg/rpc/protos/rpc_messages.proto
Normal file
8
pkg/rpc/protos/rpc_messages.proto
Normal file
@@ -0,0 +1,8 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
message RPCUpdateSuccess {
|
||||
|
||||
}
|
||||
@@ -3,13 +3,14 @@ option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
import "model_api_node.proto";
|
||||
import "rpc_messages.proto";
|
||||
|
||||
service APINodeService {
|
||||
// 创建API节点
|
||||
rpc createAPINode (CreateAPINodeRequest) returns (CreateAPINodeResponse);
|
||||
|
||||
// 修改API节点
|
||||
rpc updateAPINode (UpdateAPINodeRequest) returns (UpdateAPINodeResponse);
|
||||
rpc updateAPINode (UpdateAPINodeRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 删除API节点
|
||||
rpc deleteAPINode (DeleteAPINodeRequest) returns (DeleteAPINodeResponse);
|
||||
@@ -48,10 +49,6 @@ message UpdateAPINodeRequest {
|
||||
int32 port = 5;
|
||||
}
|
||||
|
||||
message UpdateAPINodeResponse {
|
||||
|
||||
}
|
||||
|
||||
// 删除API节点
|
||||
message DeleteAPINodeRequest {
|
||||
int64 nodeId = 1;
|
||||
|
||||
@@ -4,6 +4,7 @@ option go_package = "./pb";
|
||||
package pb;
|
||||
|
||||
import "model_size_capacity.proto";
|
||||
import "rpc_messages.proto";
|
||||
|
||||
service HTTPGzipService {
|
||||
// 创建Gzip配置
|
||||
@@ -13,7 +14,7 @@ service HTTPGzipService {
|
||||
rpc findEnabledHTTPGzipConfig (FindEnabledGzipConfigRequest) returns (FindEnabledGzipConfigResponse);
|
||||
|
||||
// 修改Gzip配置
|
||||
rpc updateHTTPGzip (UpdateHTTPGzipRequest) returns (UpdateHTTPGzipResponse);
|
||||
rpc updateHTTPGzip (UpdateHTTPGzipRequest) returns (RPCUpdateSuccess);
|
||||
}
|
||||
|
||||
// 创建Gzip配置
|
||||
@@ -43,7 +44,3 @@ message UpdateHTTPGzipRequest {
|
||||
SizeCapacity minLength = 3;
|
||||
SizeCapacity maxLength = 4;
|
||||
}
|
||||
|
||||
message UpdateHTTPGzipResponse {
|
||||
|
||||
}
|
||||
@@ -3,12 +3,14 @@ option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
import "rpc_messages.proto";
|
||||
|
||||
service HTTPHeaderService {
|
||||
// 创建Header
|
||||
rpc createHTTPHeader (CreateHTTPHeaderRequest) returns (CreateHTTPHeaderResponse);
|
||||
|
||||
// 修改Header
|
||||
rpc updateHTTPHeader (UpdateHTTPHeaderRequest) returns (UpdateHTTPHeaderResponse);
|
||||
rpc updateHTTPHeader (UpdateHTTPHeaderRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 查找配置
|
||||
rpc findEnabledHTTPHeaderConfig (FindEnabledHTTPHeaderConfigRequest) returns (FindEnabledHTTPHeaderConfigResponse);
|
||||
@@ -31,10 +33,6 @@ message UpdateHTTPHeaderRequest {
|
||||
string value = 3;
|
||||
}
|
||||
|
||||
message UpdateHTTPHeaderResponse {
|
||||
|
||||
}
|
||||
|
||||
// 查找配置
|
||||
message FindEnabledHTTPHeaderConfigRequest {
|
||||
int64 headerId = 1;
|
||||
|
||||
@@ -3,6 +3,8 @@ option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
import "rpc_messages.proto";
|
||||
|
||||
service HTTPHeaderPolicyService {
|
||||
// 查找策略配置
|
||||
rpc findEnabledHTTPHeaderPolicyConfig (FindEnabledHTTPHeaderPolicyConfigRequest) returns (FindEnabledHTTPHeaderPolicyConfigResponse);
|
||||
@@ -11,19 +13,19 @@ service HTTPHeaderPolicyService {
|
||||
rpc createHTTPHeaderPolicy (CreateHTTPHeaderPolicyRequest) returns (CreateHTTPHeaderPolicyResponse);
|
||||
|
||||
// 修改AddHeaders
|
||||
rpc updateHTTPHeaderPolicyAddingHeaders (UpdateHTTPHeaderPolicyAddingHeadersRequest) returns (UpdateHTTPHeaderPolicyAddingHeadersResponse);
|
||||
rpc updateHTTPHeaderPolicyAddingHeaders (UpdateHTTPHeaderPolicyAddingHeadersRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 修改SetHeaders
|
||||
rpc updateHTTPHeaderPolicySettingHeaders (UpdateHTTPHeaderPolicySettingHeadersRequest) returns (UpdateHTTPHeaderPolicySettingHeadersResponse);
|
||||
rpc updateHTTPHeaderPolicySettingHeaders (UpdateHTTPHeaderPolicySettingHeadersRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 修改AddTrailers
|
||||
rpc updateHTTPHeaderPolicyAddingTrailers (UpdateHTTPHeaderPolicyAddingTrailersRequest) returns (UpdateHTTPHeaderPolicyAddingTrailersResponse);
|
||||
rpc updateHTTPHeaderPolicyAddingTrailers (UpdateHTTPHeaderPolicyAddingTrailersRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 修改ReplaceHeaders
|
||||
rpc updateHTTPHeaderPolicyReplacingHeaders (UpdateHTTPHeaderPolicyReplacingHeadersRequest) returns (UpdateHTTPHeaderPolicyReplacingHeadersResponse);
|
||||
rpc updateHTTPHeaderPolicyReplacingHeaders (UpdateHTTPHeaderPolicyReplacingHeadersRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 修改删除的Headers
|
||||
rpc updateHTTPHeaderPolicyDeletingHeaders (UpdateHTTPHeaderPolicyDeletingHeadersRequest) returns (UpdateHTTPHeaderPolicyDeletingHeadersResponse);
|
||||
rpc updateHTTPHeaderPolicyDeletingHeaders (UpdateHTTPHeaderPolicyDeletingHeadersRequest) returns (RPCUpdateSuccess);
|
||||
}
|
||||
|
||||
// 查找策略
|
||||
@@ -50,46 +52,26 @@ message UpdateHTTPHeaderPolicyAddingHeadersRequest {
|
||||
bytes headersJSON = 2;
|
||||
}
|
||||
|
||||
message UpdateHTTPHeaderPolicyAddingHeadersResponse {
|
||||
|
||||
}
|
||||
|
||||
// 修改SetHeaders
|
||||
message UpdateHTTPHeaderPolicySettingHeadersRequest {
|
||||
int64 headerPolicyId = 1;
|
||||
bytes headersJSON = 2;
|
||||
}
|
||||
|
||||
message UpdateHTTPHeaderPolicySettingHeadersResponse {
|
||||
|
||||
}
|
||||
|
||||
// 修改AddTrailers
|
||||
message UpdateHTTPHeaderPolicyAddingTrailersRequest {
|
||||
int64 headerPolicyId = 1;
|
||||
bytes headersJSON = 2;
|
||||
}
|
||||
|
||||
message UpdateHTTPHeaderPolicyAddingTrailersResponse {
|
||||
|
||||
}
|
||||
|
||||
// 修改ReplaceHeaders
|
||||
message UpdateHTTPHeaderPolicyReplacingHeadersRequest {
|
||||
int64 headerPolicyId = 1;
|
||||
bytes headersJSON = 2;
|
||||
}
|
||||
|
||||
message UpdateHTTPHeaderPolicyReplacingHeadersResponse {
|
||||
|
||||
}
|
||||
|
||||
// 修改删除的Headers
|
||||
message UpdateHTTPHeaderPolicyDeletingHeadersRequest {
|
||||
int64 headerPolicyId = 1;
|
||||
repeated string headerNames = 2;
|
||||
}
|
||||
|
||||
message UpdateHTTPHeaderPolicyDeletingHeadersResponse {
|
||||
|
||||
}
|
||||
45
pkg/rpc/protos/service_http_page.proto
Normal file
45
pkg/rpc/protos/service_http_page.proto
Normal file
@@ -0,0 +1,45 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
import "rpc_messages.proto";
|
||||
|
||||
service HTTPPageService {
|
||||
// 创建Page
|
||||
rpc createHTTPPage (CreateHTTPPageRequest) returns (CreateHTTPPageResponse);
|
||||
|
||||
// 修改Page
|
||||
rpc updateHTTPPage (UpdateHTTPPageRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 查找单个Page配置
|
||||
rpc findEnabledHTTPPageConfig (FindEnabledHTTPPageConfigRequest) returns (FindEnabledHTTPPageConfigResponse);
|
||||
}
|
||||
|
||||
// 创建Page
|
||||
message CreateHTTPPageRequest {
|
||||
repeated string statusList = 1;
|
||||
string url = 2;
|
||||
int32 newStatus = 3;
|
||||
}
|
||||
|
||||
message CreateHTTPPageResponse {
|
||||
int64 pageId = 1;
|
||||
}
|
||||
|
||||
// 修改Page
|
||||
message UpdateHTTPPageRequest {
|
||||
int64 pageId = 1;
|
||||
repeated string statusList = 2;
|
||||
string url = 3;
|
||||
int32 newStatus = 4;
|
||||
}
|
||||
|
||||
// 查找单个Page配置
|
||||
message FindEnabledHTTPPageConfigRequest {
|
||||
int64 pageId = 1;
|
||||
}
|
||||
|
||||
message FindEnabledHTTPPageConfigResponse {
|
||||
bytes config = 1;
|
||||
}
|
||||
@@ -4,6 +4,7 @@ option go_package = "./pb";
|
||||
package pb;
|
||||
|
||||
import "model_http_web.proto";
|
||||
import "rpc_messages.proto";
|
||||
|
||||
service HTTPWebService {
|
||||
// 创建Web配置
|
||||
@@ -13,19 +14,25 @@ service HTTPWebService {
|
||||
rpc findEnabledHTTPWeb (FindEnabledHTTPWebRequest) returns (FindEnabledHTTPWebResponse);
|
||||
|
||||
// 更改Web配置
|
||||
rpc updateHTTPWeb (UpdateHTTPWebRequest) returns (UpdateHTTPWebResponse);
|
||||
rpc updateHTTPWeb (UpdateHTTPWebRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 更改Gzip配置
|
||||
rpc updateHTTPWebGzip (UpdateHTTPWebGzipRequest) returns (UpdateHTTPWebGzipResponse);
|
||||
rpc updateHTTPWebGzip (UpdateHTTPWebGzipRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 更改字符集配置
|
||||
rpc updateHTTPWebCharset (UpdateHTTPWebCharsetRequest) returns (UpdateHTTPWebCharsetResponse);
|
||||
rpc updateHTTPWebCharset (UpdateHTTPWebCharsetRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 更改请求Header策略
|
||||
rpc updateHTTPWebRequestHeaderPolicy (UpdateHTTPWebRequestHeaderPolicyRequest) returns (UpdateHTTPWebRequestHeaderPolicyResponse);
|
||||
rpc updateHTTPWebRequestHeaderPolicy (UpdateHTTPWebRequestHeaderPolicyRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 更改响应Header策略
|
||||
rpc updateHTTPWebResponseHeaderPolicy (UpdateHTTPWebResponseHeaderPolicyRequest) returns (UpdateHTTPWebResponseHeaderPolicyResponse);
|
||||
rpc updateHTTPWebResponseHeaderPolicy (UpdateHTTPWebResponseHeaderPolicyRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 更改Shutdown
|
||||
rpc updateHTTPWebShutdown (UpdateHTTPWebShutdownRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 更改Pages
|
||||
rpc updateHTTPWebPages (UpdateHTTPWebPagesRequest) returns (RPCUpdateSuccess);
|
||||
}
|
||||
|
||||
// 创建Web配置
|
||||
@@ -52,46 +59,38 @@ message UpdateHTTPWebRequest {
|
||||
string root = 2;
|
||||
}
|
||||
|
||||
message UpdateHTTPWebResponse {
|
||||
|
||||
}
|
||||
|
||||
// 更改Gzip配置
|
||||
message UpdateHTTPWebGzipRequest {
|
||||
int64 webId = 1;
|
||||
int64 gzipId = 2;
|
||||
}
|
||||
|
||||
message UpdateHTTPWebGzipResponse {
|
||||
|
||||
}
|
||||
|
||||
// 更改字符集配置
|
||||
message UpdateHTTPWebCharsetRequest {
|
||||
int64 webId = 1;
|
||||
string charset = 2;
|
||||
}
|
||||
|
||||
message UpdateHTTPWebCharsetResponse {
|
||||
|
||||
}
|
||||
|
||||
// 更改请求Header策略
|
||||
message UpdateHTTPWebRequestHeaderPolicyRequest {
|
||||
int64 webId = 1;
|
||||
int64 headerPolicyId = 2;
|
||||
}
|
||||
|
||||
message UpdateHTTPWebRequestHeaderPolicyResponse {
|
||||
|
||||
}
|
||||
|
||||
// 更改响应Header策略
|
||||
message UpdateHTTPWebResponseHeaderPolicyRequest {
|
||||
int64 webId = 1;
|
||||
int64 headerPolicyId = 2;
|
||||
}
|
||||
|
||||
message UpdateHTTPWebResponseHeaderPolicyResponse {
|
||||
|
||||
// 更改Shutdown
|
||||
message UpdateHTTPWebShutdownRequest {
|
||||
int64 webId = 1;
|
||||
bytes shutdownJSON = 2;
|
||||
}
|
||||
|
||||
// 更改Pages
|
||||
message UpdateHTTPWebPagesRequest {
|
||||
int64 webId = 1;
|
||||
bytes pagesJSON = 2;
|
||||
}
|
||||
@@ -4,6 +4,7 @@ option go_package = "./pb";
|
||||
package pb;
|
||||
import "model_node.proto";
|
||||
import "model_node_login.proto";
|
||||
import "rpc_messages.proto";
|
||||
|
||||
service NodeService {
|
||||
// 创建节点
|
||||
@@ -22,7 +23,7 @@ service NodeService {
|
||||
rpc disableNode (DisableNodeRequest) returns (DisableNodeResponse);
|
||||
|
||||
// 修改节点
|
||||
rpc updateNode (UpdateNodeRequest) returns (UpdateNodeResponse);
|
||||
rpc updateNode (UpdateNodeRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 查看单个节点
|
||||
rpc findEnabledNode (FindEnabledNodeRequest) returns (FindEnabledNodeResponse);
|
||||
@@ -34,13 +35,13 @@ service NodeService {
|
||||
rpc nodeStream (stream NodeStreamRequest) returns (stream NodeStreamResponse);
|
||||
|
||||
// 更新节点状态
|
||||
rpc updateNodeStatus (UpdateNodeStatusRequest) returns (UpdateNodeStatusResponse);
|
||||
rpc updateNodeStatus (UpdateNodeStatusRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 同步集群中的节点版本
|
||||
rpc syncNodesVersionWithCluster (SyncNodesVersionWithClusterRequest) returns (SyncNodesVersionWithClusterResponse);
|
||||
|
||||
// 修改节点安装状态
|
||||
rpc updateNodeIsInstalled (UpdateNodeIsInstalledRequest) returns (UpdateNodeIsInstalledResponse);
|
||||
rpc updateNodeIsInstalled (UpdateNodeIsInstalledRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 安装节点
|
||||
rpc installNode (InstallNodeRequest) returns (InstallNodeResponse);
|
||||
@@ -95,10 +96,6 @@ message UpdateNodeRequest {
|
||||
NodeLogin Login = 4;
|
||||
}
|
||||
|
||||
message UpdateNodeResponse {
|
||||
|
||||
}
|
||||
|
||||
// 查找节点
|
||||
message FindEnabledNodeRequest {
|
||||
int64 nodeId = 1;
|
||||
@@ -132,10 +129,6 @@ message UpdateNodeStatusRequest {
|
||||
bytes statusJSON = 2;
|
||||
}
|
||||
|
||||
message UpdateNodeStatusResponse {
|
||||
|
||||
}
|
||||
|
||||
// 同步集群中的节点版本
|
||||
message SyncNodesVersionWithClusterRequest {
|
||||
int64 clusterId = 1;
|
||||
@@ -160,10 +153,6 @@ message UpdateNodeIsInstalledRequest {
|
||||
bool isInstalled = 2;
|
||||
}
|
||||
|
||||
message UpdateNodeIsInstalledResponse {
|
||||
|
||||
}
|
||||
|
||||
// 安装节点
|
||||
message InstallNodeRequest {
|
||||
int64 nodeId = 1;
|
||||
|
||||
@@ -3,13 +3,14 @@ option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
import "model_node_cluster.proto";
|
||||
import "rpc_messages.proto";
|
||||
|
||||
service NodeClusterService {
|
||||
// 创建集群
|
||||
rpc createNodeCluster (CreateNodeClusterRequest) returns (CreateNodeClusterResponse);
|
||||
|
||||
// 修改集群
|
||||
rpc updateNodeCluster (UpdateNodeClusterRequest) returns (UpdateNodeClusterResponse);
|
||||
rpc updateNodeCluster (UpdateNodeClusterRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 禁用集群
|
||||
rpc disableNodeCluster (DisableNodeClusterRequest) returns (DisableNodeClusterResponse);
|
||||
@@ -67,10 +68,6 @@ message UpdateNodeClusterRequest {
|
||||
string installDir = 4;
|
||||
}
|
||||
|
||||
message UpdateNodeClusterResponse {
|
||||
|
||||
}
|
||||
|
||||
// 禁用集群
|
||||
message DisableNodeClusterRequest {
|
||||
int64 clusterId = 1;
|
||||
|
||||
@@ -3,13 +3,14 @@ option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
import "model_node_grant.proto";
|
||||
import "rpc_messages.proto";
|
||||
|
||||
service NodeGrantService {
|
||||
// 创建认证
|
||||
rpc createNodeGrant (CreateNodeGrantRequest) returns (CreateNodeGrantResponse);
|
||||
|
||||
// 修改认证
|
||||
rpc updateNodeGrant (UpdateNodeGrantRequest) returns (UpdateNodeGrantResponse);
|
||||
rpc updateNodeGrant (UpdateNodeGrantRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 禁用认证
|
||||
rpc disableNodeGrant (DisableNodeGrantRequest) returns (DisableNodeGrantResponse);
|
||||
@@ -21,10 +22,10 @@ service NodeGrantService {
|
||||
rpc ListEnabledNodeGrants (ListEnabledNodeGrantsRequest) returns (ListEnabledNodeGrantsResponse);
|
||||
|
||||
// 列出所有认证
|
||||
rpc FindAllEnabledNodeGrants(FindAllEnabledNodeGrantsRequest) returns (FindAllEnabledNodeGrantsResponse);
|
||||
rpc FindAllEnabledNodeGrants (FindAllEnabledNodeGrantsRequest) returns (FindAllEnabledNodeGrantsResponse);
|
||||
|
||||
// 获取单个认证信息
|
||||
rpc FindEnabledGrant(FindEnabledGrantRequest) returns (FindEnabledGrantResponse);
|
||||
rpc FindEnabledGrant (FindEnabledGrantRequest) returns (FindEnabledGrantResponse);
|
||||
}
|
||||
|
||||
// 创建节点认证
|
||||
@@ -54,10 +55,6 @@ message UpdateNodeGrantRequest {
|
||||
int64 nodeId = 7;
|
||||
}
|
||||
|
||||
message UpdateNodeGrantResponse {
|
||||
|
||||
}
|
||||
|
||||
// 禁用节点认证
|
||||
message DisableNodeGrantRequest {
|
||||
int64 grantId = 1;
|
||||
|
||||
@@ -4,16 +4,17 @@ option go_package = "./pb";
|
||||
package pb;
|
||||
|
||||
import "model_node_ip_address.proto";
|
||||
import "rpc_messages.proto";
|
||||
|
||||
service NodeIPAddressService {
|
||||
// 创建IP地址
|
||||
rpc createNodeIPAddress (CreateNodeIPAddressRequest) returns (CreateNodeIPAddressResponse);
|
||||
|
||||
// 修改IP地址
|
||||
rpc updateNodeIPAddress (UpdateNodeIPAddressRequest) returns (UpdateNodeIPAddressResponse);
|
||||
rpc updateNodeIPAddress (UpdateNodeIPAddressRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 修改IP地址所属节点
|
||||
rpc updateNodeIPAddressNodeId (UpdateNodeIPAddressNodeIdRequest) returns (UpdateNodeIPAddressNodeIdResponse);
|
||||
rpc updateNodeIPAddressNodeId (UpdateNodeIPAddressNodeIdRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 禁用单个IP地址
|
||||
rpc disableNodeIPAddress (DisableNodeIPAddressRequest) returns (DisableNodeIPAddressResponse);
|
||||
@@ -46,20 +47,12 @@ message UpdateNodeIPAddressRequest {
|
||||
string ip = 3;
|
||||
}
|
||||
|
||||
message UpdateNodeIPAddressResponse {
|
||||
|
||||
}
|
||||
|
||||
// 修改IP地址所属节点
|
||||
message UpdateNodeIPAddressNodeIdRequest {
|
||||
int64 addressId = 1;
|
||||
int64 nodeId = 2;
|
||||
}
|
||||
|
||||
message UpdateNodeIPAddressNodeIdResponse {
|
||||
|
||||
}
|
||||
|
||||
// 禁用单个IP地址
|
||||
message DisableNodeIPAddressRequest {
|
||||
int64 addressId = 1;
|
||||
|
||||
@@ -5,13 +5,14 @@ package pb;
|
||||
|
||||
import "model_origin_server.proto";
|
||||
import "model_network_address.proto";
|
||||
import "rpc_messages.proto";
|
||||
|
||||
service OriginServerService {
|
||||
// 创建源站
|
||||
rpc createOriginServer (CreateOriginServerRequest) returns (CreateOriginServerResponse);
|
||||
|
||||
// 修改源站
|
||||
rpc updateOriginServer (UpdateOriginServerRequest) returns (UpdateOriginServerResponse);
|
||||
rpc updateOriginServer (UpdateOriginServerRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 查找单个源站信息
|
||||
rpc findEnabledOriginServer (FindEnabledOriginServerRequest) returns (FindEnabledOriginServerResponse);
|
||||
@@ -39,10 +40,6 @@ message UpdateOriginServerRequest {
|
||||
string description = 4;
|
||||
}
|
||||
|
||||
message UpdateOriginServerResponse {
|
||||
|
||||
}
|
||||
|
||||
// 查找单个源站信息
|
||||
message FindEnabledOriginServerRequest {
|
||||
int64 originId = 1;
|
||||
|
||||
@@ -4,6 +4,7 @@ option go_package = "./pb";
|
||||
package pb;
|
||||
|
||||
import "model_reverse_proxy.proto";
|
||||
import "rpc_messages.proto";
|
||||
|
||||
service ReverseProxyService {
|
||||
// 创建反向代理
|
||||
@@ -16,16 +17,16 @@ service ReverseProxyService {
|
||||
rpc findEnabledReverseProxyConfig (FindEnabledReverseProxyConfigRequest) returns (FindEnabledReverseProxyConfigResponse);
|
||||
|
||||
// 修改反向代理的调度算法
|
||||
rpc updateReverseProxyScheduling (UpdateReverseProxySchedulingRequest) returns (UpdateReverseProxySchedulingResponse);
|
||||
rpc updateReverseProxyScheduling (UpdateReverseProxySchedulingRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 修改主要源站信息
|
||||
rpc updateReverseProxyPrimaryOrigins (UpdateReverseProxyPrimaryOriginsRequest) returns (UpdateReverseProxyPrimaryOriginsResponse);
|
||||
rpc updateReverseProxyPrimaryOrigins (UpdateReverseProxyPrimaryOriginsRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 修改备用源站信息
|
||||
rpc updateReverseProxyBackupOrigins (UpdateReverseProxyBackupOriginsRequest) returns (UpdateReverseProxyBackupOriginsResponse);
|
||||
rpc updateReverseProxyBackupOrigins (UpdateReverseProxyBackupOriginsRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 修改是否启用
|
||||
rpc updateReverseProxyIsOn (UpdateReverseProxyIsOnRequest) returns (UpdateReverseProxyIsOnResponse);
|
||||
rpc updateReverseProxyIsOn (UpdateReverseProxyIsOnRequest) returns (RPCUpdateSuccess);
|
||||
}
|
||||
|
||||
// 创建反向代理
|
||||
@@ -63,36 +64,20 @@ message UpdateReverseProxySchedulingRequest {
|
||||
bytes schedulingJSON = 2;
|
||||
}
|
||||
|
||||
message UpdateReverseProxySchedulingResponse {
|
||||
|
||||
}
|
||||
|
||||
// 修改主要源站信息
|
||||
message UpdateReverseProxyPrimaryOriginsRequest {
|
||||
int64 reverseProxyId = 1;
|
||||
bytes originsJSON = 2;
|
||||
}
|
||||
|
||||
message UpdateReverseProxyPrimaryOriginsResponse {
|
||||
|
||||
}
|
||||
|
||||
// 修改备用源站信息
|
||||
message UpdateReverseProxyBackupOriginsRequest {
|
||||
int64 reverseProxyId = 1;
|
||||
bytes originsJSON = 2;
|
||||
}
|
||||
|
||||
message UpdateReverseProxyBackupOriginsResponse {
|
||||
|
||||
}
|
||||
|
||||
// 修改是否启用
|
||||
message UpdateReverseProxyIsOnRequest {
|
||||
int64 reverseProxyId = 1;
|
||||
bool isOn = 2;
|
||||
}
|
||||
|
||||
message UpdateReverseProxyIsOnResponse {
|
||||
|
||||
}
|
||||
@@ -2,41 +2,43 @@ syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
import "model_server.proto";
|
||||
import "rpc_messages.proto";
|
||||
|
||||
service ServerService {
|
||||
// 创建服务
|
||||
rpc createServer (CreateServerRequest) returns (CreateServerResponse);
|
||||
|
||||
// 修改服务基本信息
|
||||
rpc updateServerBasic (UpdateServerBasicRequest) returns (UpdateServerBasicResponse);
|
||||
rpc updateServerBasic (UpdateServerBasicRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 修改服务的HTTP设置
|
||||
rpc updateServerHTTP (UpdateServerHTTPRequest) returns (UpdateServerHTTPResponse);
|
||||
rpc updateServerHTTP (UpdateServerHTTPRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 修改服务的HTTPS设置
|
||||
rpc updateServerHTTPS (UpdateServerHTTPSRequest) returns (UpdateServerHTTPSResponse);
|
||||
rpc updateServerHTTPS (UpdateServerHTTPSRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 修改服务的TCP设置
|
||||
rpc updateServerTCP (UpdateServerTCPRequest) returns (UpdateServerTCPResponse);
|
||||
rpc updateServerTCP (UpdateServerTCPRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 修改服务的TLS设置
|
||||
rpc updateServerTLS (UpdateServerTLSRequest) returns (UpdateServerTLSResponse);
|
||||
rpc updateServerTLS (UpdateServerTLSRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 修改服务的Unix设置
|
||||
rpc updateServerUnix (UpdateServerUnixRequest) returns (UpdateServerUnixResponse);
|
||||
rpc updateServerUnix (UpdateServerUnixRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 修改服务的UDP设置
|
||||
rpc updateServerUDP (UpdateServerUDPRequest) returns (UpdateServerUDPResponse);
|
||||
rpc updateServerUDP (UpdateServerUDPRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 修改服务的Web设置
|
||||
rpc updateServerWeb (UpdateServerWebRequest) returns (UpdateServerWebResponse);
|
||||
rpc updateServerWeb (UpdateServerWebRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 修改服务的反向代理设置
|
||||
rpc updateServerReverseProxy (UpdateServerReverseProxyRequest) returns (UpdateServerReverseProxyResponse);
|
||||
rpc updateServerReverseProxy (UpdateServerReverseProxyRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 修改服务的域名设置
|
||||
rpc updateServerNames (UpdateServerNamesRequest) returns (UpdateServerNamesResponse);
|
||||
rpc updateServerNames (UpdateServerNamesRequest) returns (RPCUpdateSuccess);
|
||||
|
||||
// 计算服务数量
|
||||
rpc countAllEnabledServers (CountAllEnabledServersRequest) returns (CountAllEnabledServersResponse);
|
||||
@@ -96,92 +98,52 @@ message UpdateServerBasicRequest {
|
||||
int64 clusterId = 4;
|
||||
}
|
||||
|
||||
message UpdateServerBasicResponse {
|
||||
|
||||
}
|
||||
|
||||
// 修改服务的HTTP等设置
|
||||
message UpdateServerHTTPRequest {
|
||||
int64 serverId = 1;
|
||||
bytes config = 2;
|
||||
}
|
||||
|
||||
message UpdateServerHTTPResponse {
|
||||
|
||||
}
|
||||
|
||||
message UpdateServerHTTPSRequest {
|
||||
int64 serverId = 1;
|
||||
bytes config = 2;
|
||||
}
|
||||
|
||||
message UpdateServerHTTPSResponse {
|
||||
|
||||
}
|
||||
|
||||
message UpdateServerTCPRequest {
|
||||
int64 serverId = 1;
|
||||
bytes config = 2;
|
||||
}
|
||||
|
||||
message UpdateServerTCPResponse {
|
||||
|
||||
}
|
||||
|
||||
message UpdateServerTLSRequest {
|
||||
int64 serverId = 1;
|
||||
bytes config = 2;
|
||||
}
|
||||
|
||||
message UpdateServerTLSResponse {
|
||||
|
||||
}
|
||||
|
||||
message UpdateServerUnixRequest {
|
||||
int64 serverId = 1;
|
||||
bytes config = 2;
|
||||
}
|
||||
|
||||
message UpdateServerUnixResponse {
|
||||
|
||||
}
|
||||
|
||||
message UpdateServerUDPRequest {
|
||||
int64 serverId = 1;
|
||||
bytes config = 2;
|
||||
}
|
||||
|
||||
message UpdateServerUDPResponse {
|
||||
|
||||
}
|
||||
|
||||
message UpdateServerWebRequest {
|
||||
int64 serverId = 1;
|
||||
int64 webId = 2;
|
||||
}
|
||||
|
||||
message UpdateServerWebResponse {
|
||||
|
||||
}
|
||||
|
||||
message UpdateServerReverseProxyRequest {
|
||||
int64 serverId = 1;
|
||||
int64 reverseProxyId = 2;
|
||||
}
|
||||
|
||||
message UpdateServerReverseProxyResponse {
|
||||
|
||||
}
|
||||
|
||||
message UpdateServerNamesRequest {
|
||||
int64 serverId = 1;
|
||||
bytes config = 2;
|
||||
}
|
||||
|
||||
message UpdateServerNamesResponse {
|
||||
|
||||
}
|
||||
|
||||
// 计算服务数量
|
||||
message CountAllEnabledServersRequest {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user