Update protobuf version to 30.2 (#330)

* Update protobuf version to 30.2

* fix MSVC build
This commit is contained in:
parhelia512 2025-03-28 22:59:04 +08:00 committed by GitHub
parent 1b93351771
commit 7e3d546926
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 205 additions and 545 deletions

View File

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.5
// protoc v5.29.3
// protoc-gen-go v1.36.6
// protoc v6.30.2
// source: libcore.proto
package gen
@ -21,52 +21,6 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type UpdateAction int32
const (
UpdateAction_Check UpdateAction = 0
UpdateAction_Download UpdateAction = 1
)
// Enum value maps for UpdateAction.
var (
UpdateAction_name = map[int32]string{
0: "Check",
1: "Download",
}
UpdateAction_value = map[string]int32{
"Check": 0,
"Download": 1,
}
)
func (x UpdateAction) Enum() *UpdateAction {
p := new(UpdateAction)
*p = x
return p
}
func (x UpdateAction) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (UpdateAction) Descriptor() protoreflect.EnumDescriptor {
return file_libcore_proto_enumTypes[0].Descriptor()
}
func (UpdateAction) Type() protoreflect.EnumType {
return &file_libcore_proto_enumTypes[0]
}
func (x UpdateAction) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use UpdateAction.Descriptor instead.
func (UpdateAction) EnumDescriptor() ([]byte, []int) {
return file_libcore_proto_rawDescGZIP(), []int{0}
}
type EmptyReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
@ -483,142 +437,6 @@ func (x *QueryStatsResp) GetIntermediateTags() []string {
return nil
}
type UpdateReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
Action UpdateAction `protobuf:"varint,1,opt,name=action,proto3,enum=libcore.UpdateAction" json:"action,omitempty"`
CheckPreRelease bool `protobuf:"varint,2,opt,name=check_pre_release,json=checkPreRelease,proto3" json:"check_pre_release,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateReq) Reset() {
*x = UpdateReq{}
mi := &file_libcore_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateReq) ProtoMessage() {}
func (x *UpdateReq) ProtoReflect() protoreflect.Message {
mi := &file_libcore_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateReq.ProtoReflect.Descriptor instead.
func (*UpdateReq) Descriptor() ([]byte, []int) {
return file_libcore_proto_rawDescGZIP(), []int{8}
}
func (x *UpdateReq) GetAction() UpdateAction {
if x != nil {
return x.Action
}
return UpdateAction_Check
}
func (x *UpdateReq) GetCheckPreRelease() bool {
if x != nil {
return x.CheckPreRelease
}
return false
}
type UpdateResp struct {
state protoimpl.MessageState `protogen:"open.v1"`
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
AssetsName string `protobuf:"bytes,2,opt,name=assets_name,json=assetsName,proto3" json:"assets_name,omitempty"`
DownloadUrl string `protobuf:"bytes,3,opt,name=download_url,json=downloadUrl,proto3" json:"download_url,omitempty"`
ReleaseUrl string `protobuf:"bytes,4,opt,name=release_url,json=releaseUrl,proto3" json:"release_url,omitempty"`
ReleaseNote string `protobuf:"bytes,5,opt,name=release_note,json=releaseNote,proto3" json:"release_note,omitempty"`
IsPreRelease bool `protobuf:"varint,6,opt,name=is_pre_release,json=isPreRelease,proto3" json:"is_pre_release,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateResp) Reset() {
*x = UpdateResp{}
mi := &file_libcore_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateResp) ProtoMessage() {}
func (x *UpdateResp) ProtoReflect() protoreflect.Message {
mi := &file_libcore_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateResp.ProtoReflect.Descriptor instead.
func (*UpdateResp) Descriptor() ([]byte, []int) {
return file_libcore_proto_rawDescGZIP(), []int{9}
}
func (x *UpdateResp) GetError() string {
if x != nil {
return x.Error
}
return ""
}
func (x *UpdateResp) GetAssetsName() string {
if x != nil {
return x.AssetsName
}
return ""
}
func (x *UpdateResp) GetDownloadUrl() string {
if x != nil {
return x.DownloadUrl
}
return ""
}
func (x *UpdateResp) GetReleaseUrl() string {
if x != nil {
return x.ReleaseUrl
}
return ""
}
func (x *UpdateResp) GetReleaseNote() string {
if x != nil {
return x.ReleaseNote
}
return ""
}
func (x *UpdateResp) GetIsPreRelease() bool {
if x != nil {
return x.IsPreRelease
}
return false
}
type ListConnectionsResp struct {
state protoimpl.MessageState `protogen:"open.v1"`
Connections []*ConnectionMetaData `protobuf:"bytes,1,rep,name=connections,proto3" json:"connections,omitempty"`
@ -628,7 +446,7 @@ type ListConnectionsResp struct {
func (x *ListConnectionsResp) Reset() {
*x = ListConnectionsResp{}
mi := &file_libcore_proto_msgTypes[10]
mi := &file_libcore_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -640,7 +458,7 @@ func (x *ListConnectionsResp) String() string {
func (*ListConnectionsResp) ProtoMessage() {}
func (x *ListConnectionsResp) ProtoReflect() protoreflect.Message {
mi := &file_libcore_proto_msgTypes[10]
mi := &file_libcore_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -653,7 +471,7 @@ func (x *ListConnectionsResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListConnectionsResp.ProtoReflect.Descriptor instead.
func (*ListConnectionsResp) Descriptor() ([]byte, []int) {
return file_libcore_proto_rawDescGZIP(), []int{10}
return file_libcore_proto_rawDescGZIP(), []int{8}
}
func (x *ListConnectionsResp) GetConnections() []*ConnectionMetaData {
@ -681,7 +499,7 @@ type ConnectionMetaData struct {
func (x *ConnectionMetaData) Reset() {
*x = ConnectionMetaData{}
mi := &file_libcore_proto_msgTypes[11]
mi := &file_libcore_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -693,7 +511,7 @@ func (x *ConnectionMetaData) String() string {
func (*ConnectionMetaData) ProtoMessage() {}
func (x *ConnectionMetaData) ProtoReflect() protoreflect.Message {
mi := &file_libcore_proto_msgTypes[11]
mi := &file_libcore_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -706,7 +524,7 @@ func (x *ConnectionMetaData) ProtoReflect() protoreflect.Message {
// Deprecated: Use ConnectionMetaData.ProtoReflect.Descriptor instead.
func (*ConnectionMetaData) Descriptor() ([]byte, []int) {
return file_libcore_proto_rawDescGZIP(), []int{11}
return file_libcore_proto_rawDescGZIP(), []int{9}
}
func (x *ConnectionMetaData) GetId() string {
@ -788,7 +606,7 @@ type GetGeoIPListResponse struct {
func (x *GetGeoIPListResponse) Reset() {
*x = GetGeoIPListResponse{}
mi := &file_libcore_proto_msgTypes[12]
mi := &file_libcore_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -800,7 +618,7 @@ func (x *GetGeoIPListResponse) String() string {
func (*GetGeoIPListResponse) ProtoMessage() {}
func (x *GetGeoIPListResponse) ProtoReflect() protoreflect.Message {
mi := &file_libcore_proto_msgTypes[12]
mi := &file_libcore_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -813,7 +631,7 @@ func (x *GetGeoIPListResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetGeoIPListResponse.ProtoReflect.Descriptor instead.
func (*GetGeoIPListResponse) Descriptor() ([]byte, []int) {
return file_libcore_proto_rawDescGZIP(), []int{12}
return file_libcore_proto_rawDescGZIP(), []int{10}
}
func (x *GetGeoIPListResponse) GetItems() []string {
@ -832,7 +650,7 @@ type GetGeoSiteListResponse struct {
func (x *GetGeoSiteListResponse) Reset() {
*x = GetGeoSiteListResponse{}
mi := &file_libcore_proto_msgTypes[13]
mi := &file_libcore_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -844,7 +662,7 @@ func (x *GetGeoSiteListResponse) String() string {
func (*GetGeoSiteListResponse) ProtoMessage() {}
func (x *GetGeoSiteListResponse) ProtoReflect() protoreflect.Message {
mi := &file_libcore_proto_msgTypes[13]
mi := &file_libcore_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -857,7 +675,7 @@ func (x *GetGeoSiteListResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetGeoSiteListResponse.ProtoReflect.Descriptor instead.
func (*GetGeoSiteListResponse) Descriptor() ([]byte, []int) {
return file_libcore_proto_rawDescGZIP(), []int{13}
return file_libcore_proto_rawDescGZIP(), []int{11}
}
func (x *GetGeoSiteListResponse) GetItems() []string {
@ -876,7 +694,7 @@ type GeoListRequest struct {
func (x *GeoListRequest) Reset() {
*x = GeoListRequest{}
mi := &file_libcore_proto_msgTypes[14]
mi := &file_libcore_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -888,7 +706,7 @@ func (x *GeoListRequest) String() string {
func (*GeoListRequest) ProtoMessage() {}
func (x *GeoListRequest) ProtoReflect() protoreflect.Message {
mi := &file_libcore_proto_msgTypes[14]
mi := &file_libcore_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -901,7 +719,7 @@ func (x *GeoListRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use GeoListRequest.ProtoReflect.Descriptor instead.
func (*GeoListRequest) Descriptor() ([]byte, []int) {
return file_libcore_proto_rawDescGZIP(), []int{14}
return file_libcore_proto_rawDescGZIP(), []int{12}
}
func (x *GeoListRequest) GetPath() string {
@ -921,7 +739,7 @@ type CompileGeoIPToSrsRequest struct {
func (x *CompileGeoIPToSrsRequest) Reset() {
*x = CompileGeoIPToSrsRequest{}
mi := &file_libcore_proto_msgTypes[15]
mi := &file_libcore_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -933,7 +751,7 @@ func (x *CompileGeoIPToSrsRequest) String() string {
func (*CompileGeoIPToSrsRequest) ProtoMessage() {}
func (x *CompileGeoIPToSrsRequest) ProtoReflect() protoreflect.Message {
mi := &file_libcore_proto_msgTypes[15]
mi := &file_libcore_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -946,7 +764,7 @@ func (x *CompileGeoIPToSrsRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use CompileGeoIPToSrsRequest.ProtoReflect.Descriptor instead.
func (*CompileGeoIPToSrsRequest) Descriptor() ([]byte, []int) {
return file_libcore_proto_rawDescGZIP(), []int{15}
return file_libcore_proto_rawDescGZIP(), []int{13}
}
func (x *CompileGeoIPToSrsRequest) GetItem() string {
@ -973,7 +791,7 @@ type CompileGeoSiteToSrsRequest struct {
func (x *CompileGeoSiteToSrsRequest) Reset() {
*x = CompileGeoSiteToSrsRequest{}
mi := &file_libcore_proto_msgTypes[16]
mi := &file_libcore_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -985,7 +803,7 @@ func (x *CompileGeoSiteToSrsRequest) String() string {
func (*CompileGeoSiteToSrsRequest) ProtoMessage() {}
func (x *CompileGeoSiteToSrsRequest) ProtoReflect() protoreflect.Message {
mi := &file_libcore_proto_msgTypes[16]
mi := &file_libcore_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -998,7 +816,7 @@ func (x *CompileGeoSiteToSrsRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use CompileGeoSiteToSrsRequest.ProtoReflect.Descriptor instead.
func (*CompileGeoSiteToSrsRequest) Descriptor() ([]byte, []int) {
return file_libcore_proto_rawDescGZIP(), []int{16}
return file_libcore_proto_rawDescGZIP(), []int{14}
}
func (x *CompileGeoSiteToSrsRequest) GetItem() string {
@ -1025,7 +843,7 @@ type SetSystemProxyRequest struct {
func (x *SetSystemProxyRequest) Reset() {
*x = SetSystemProxyRequest{}
mi := &file_libcore_proto_msgTypes[17]
mi := &file_libcore_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -1037,7 +855,7 @@ func (x *SetSystemProxyRequest) String() string {
func (*SetSystemProxyRequest) ProtoMessage() {}
func (x *SetSystemProxyRequest) ProtoReflect() protoreflect.Message {
mi := &file_libcore_proto_msgTypes[17]
mi := &file_libcore_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -1050,7 +868,7 @@ func (x *SetSystemProxyRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use SetSystemProxyRequest.ProtoReflect.Descriptor instead.
func (*SetSystemProxyRequest) Descriptor() ([]byte, []int) {
return file_libcore_proto_rawDescGZIP(), []int{17}
return file_libcore_proto_rawDescGZIP(), []int{15}
}
func (x *SetSystemProxyRequest) GetEnable() bool {
@ -1078,7 +896,7 @@ type SetSystemDNSRequest struct {
func (x *SetSystemDNSRequest) Reset() {
*x = SetSystemDNSRequest{}
mi := &file_libcore_proto_msgTypes[18]
mi := &file_libcore_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -1090,7 +908,7 @@ func (x *SetSystemDNSRequest) String() string {
func (*SetSystemDNSRequest) ProtoMessage() {}
func (x *SetSystemDNSRequest) ProtoReflect() protoreflect.Message {
mi := &file_libcore_proto_msgTypes[18]
mi := &file_libcore_proto_msgTypes[16]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -1103,7 +921,7 @@ func (x *SetSystemDNSRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use SetSystemDNSRequest.ProtoReflect.Descriptor instead.
func (*SetSystemDNSRequest) Descriptor() ([]byte, []int) {
return file_libcore_proto_rawDescGZIP(), []int{18}
return file_libcore_proto_rawDescGZIP(), []int{16}
}
func (x *SetSystemDNSRequest) GetClear() bool {
@ -1137,7 +955,7 @@ type GetSystemDNSResponse struct {
func (x *GetSystemDNSResponse) Reset() {
*x = GetSystemDNSResponse{}
mi := &file_libcore_proto_msgTypes[19]
mi := &file_libcore_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -1149,7 +967,7 @@ func (x *GetSystemDNSResponse) String() string {
func (*GetSystemDNSResponse) ProtoMessage() {}
func (x *GetSystemDNSResponse) ProtoReflect() protoreflect.Message {
mi := &file_libcore_proto_msgTypes[19]
mi := &file_libcore_proto_msgTypes[17]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -1162,7 +980,7 @@ func (x *GetSystemDNSResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetSystemDNSResponse.ProtoReflect.Descriptor instead.
func (*GetSystemDNSResponse) Descriptor() ([]byte, []int) {
return file_libcore_proto_rawDescGZIP(), []int{19}
return file_libcore_proto_rawDescGZIP(), []int{17}
}
func (x *GetSystemDNSResponse) GetServers() []string {
@ -1188,7 +1006,7 @@ type IsPrivilegedResponse struct {
func (x *IsPrivilegedResponse) Reset() {
*x = IsPrivilegedResponse{}
mi := &file_libcore_proto_msgTypes[20]
mi := &file_libcore_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -1200,7 +1018,7 @@ func (x *IsPrivilegedResponse) String() string {
func (*IsPrivilegedResponse) ProtoMessage() {}
func (x *IsPrivilegedResponse) ProtoReflect() protoreflect.Message {
mi := &file_libcore_proto_msgTypes[20]
mi := &file_libcore_proto_msgTypes[18]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -1213,7 +1031,7 @@ func (x *IsPrivilegedResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use IsPrivilegedResponse.ProtoReflect.Descriptor instead.
func (*IsPrivilegedResponse) Descriptor() ([]byte, []int) {
return file_libcore_proto_rawDescGZIP(), []int{20}
return file_libcore_proto_rawDescGZIP(), []int{18}
}
func (x *IsPrivilegedResponse) GetHasPrivilege() bool {
@ -1225,210 +1043,100 @@ func (x *IsPrivilegedResponse) GetHasPrivilege() bool {
var File_libcore_proto protoreflect.FileDescriptor
var file_libcore_proto_rawDesc = string([]byte{
0x0a, 0x0d, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
0x07, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72, 0x65, 0x22, 0x0a, 0x0a, 0x08, 0x45, 0x6d, 0x70, 0x74,
0x79, 0x52, 0x65, 0x71, 0x22, 0x0b, 0x0a, 0x09, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x65, 0x73,
0x70, 0x22, 0x21, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14,
0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65,
0x72, 0x72, 0x6f, 0x72, 0x22, 0x55, 0x0a, 0x0d, 0x4c, 0x6f, 0x61, 0x64, 0x43, 0x6f, 0x6e, 0x66,
0x69, 0x67, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x63, 0x6f,
0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x72, 0x65,
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c,
0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64,
0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x22, 0x65, 0x0a, 0x0b, 0x55,
0x52, 0x4c, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x75,
0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x0b, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x12, 0x1d, 0x0a,
0x0a, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
0x05, 0x52, 0x09, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x4d, 0x73, 0x12, 0x14, 0x0a, 0x05,
0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72,
0x6f, 0x72, 0x22, 0xd6, 0x01, 0x0a, 0x07, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x16,
0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75,
0x6e, 0x64, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x6f,
0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x75,
0x73, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x6f, 0x75, 0x74, 0x62, 0x6f,
0x75, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x75, 0x73, 0x65, 0x44, 0x65,
0x66, 0x61, 0x75, 0x6c, 0x74, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x10, 0x0a,
0x03, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12,
0x21, 0x0a, 0x0c, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x18,
0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x74, 0x65, 0x73, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65,
0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72,
0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x6d, 0x61, 0x78,
0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x22, 0x3a, 0x0a, 0x08, 0x54,
0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2e, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c,
0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f,
0x72, 0x65, 0x2e, 0x55, 0x52, 0x4c, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x52, 0x07,
0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x9d, 0x02, 0x0a, 0x0e, 0x51, 0x75, 0x65, 0x72,
0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x32, 0x0a, 0x03, 0x75, 0x70,
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72,
0x65, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70,
0x2e, 0x55, 0x70, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x03, 0x75, 0x70, 0x73, 0x12, 0x38,
0x0a, 0x05, 0x64, 0x6f, 0x77, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e,
0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61,
0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72,
0x79, 0x52, 0x05, 0x64, 0x6f, 0x77, 0x6e, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x69, 0x6e, 0x74, 0x65,
0x72, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x03, 0x20,
0x03, 0x28, 0x09, 0x52, 0x10, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74,
0x65, 0x54, 0x61, 0x67, 0x73, 0x1a, 0x36, 0x0a, 0x08, 0x55, 0x70, 0x73, 0x45, 0x6e, 0x74, 0x72,
0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x38, 0x0a,
0x0a, 0x44, 0x6f, 0x77, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61,
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x66, 0x0a, 0x09, 0x55, 0x70, 0x64, 0x61, 0x74,
0x65, 0x52, 0x65, 0x71, 0x12, 0x2d, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01,
0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x55,
0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74,
0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x70, 0x72, 0x65,
0x5f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f,
0x63, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x72, 0x65, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x22,
0xd0, 0x01, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14,
0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65,
0x72, 0x72, 0x6f, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x5f, 0x6e,
0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74,
0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61,
0x64, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x6f, 0x77,
0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6c, 0x65,
0x61, 0x73, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72,
0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x6c,
0x65, 0x61, 0x73, 0x65, 0x5f, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
0x0b, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x12, 0x24, 0x0a, 0x0e,
0x69, 0x73, 0x5f, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x18, 0x06,
0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x50, 0x72, 0x65, 0x52, 0x65, 0x6c, 0x65, 0x61,
0x73, 0x65, 0x22, 0x54, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3d, 0x0a, 0x0b, 0x63, 0x6f, 0x6e,
0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b,
0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0b, 0x63, 0x6f, 0x6e,
0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x8f, 0x02, 0x0a, 0x12, 0x43, 0x6f, 0x6e,
0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x44, 0x61, 0x74, 0x61, 0x12,
0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12,
0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20,
0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x16,
0x0a, 0x06, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f,
0x61, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f,
0x61, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x05,
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x18,
0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x65, 0x73, 0x74,
0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61,
0x69, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e,
0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28,
0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x22, 0x2c, 0x0a, 0x14, 0x47, 0x65,
0x74, 0x47, 0x65, 0x6f, 0x49, 0x50, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
0x09, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x2e, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x47,
0x65, 0x6f, 0x53, 0x69, 0x74, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
0x09, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x24, 0x0a, 0x0e, 0x47, 0x65, 0x6f, 0x4c,
0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61,
0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x42,
0x0a, 0x18, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x47, 0x65, 0x6f, 0x49, 0x50, 0x54, 0x6f,
0x53, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x74,
0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x12, 0x12,
0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61,
0x74, 0x68, 0x22, 0x44, 0x0a, 0x1a, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x47, 0x65, 0x6f,
0x53, 0x69, 0x74, 0x65, 0x54, 0x6f, 0x53, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x12, 0x12, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
0x69, 0x74, 0x65, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x49, 0x0a, 0x15, 0x53, 0x65, 0x74, 0x53,
0x79, 0x73, 0x74, 0x65, 0x6d, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
0x08, 0x52, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64,
0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72,
0x65, 0x73, 0x73, 0x22, 0x60, 0x0a, 0x13, 0x53, 0x65, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d,
0x44, 0x4e, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c,
0x65, 0x61, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x63, 0x6c, 0x65, 0x61, 0x72,
0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x65,
0x74, 0x5f, 0x64, 0x68, 0x63, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x65,
0x74, 0x44, 0x68, 0x63, 0x70, 0x22, 0x49, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x53, 0x79, 0x73, 0x74,
0x65, 0x6d, 0x44, 0x4e, 0x53, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a,
0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07,
0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x64, 0x68,
0x63, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x44, 0x68, 0x63, 0x70,
0x22, 0x3b, 0x0a, 0x14, 0x49, 0x73, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x64,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x68, 0x61, 0x73, 0x5f,
0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
0x0c, 0x68, 0x61, 0x73, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x2a, 0x27, 0x0a,
0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x09, 0x0a,
0x05, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x6f, 0x77, 0x6e,
0x6c, 0x6f, 0x61, 0x64, 0x10, 0x01, 0x32, 0xab, 0x08, 0x0a, 0x0e, 0x4c, 0x69, 0x62, 0x63, 0x6f,
0x72, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x45, 0x78, 0x69,
0x74, 0x12, 0x11, 0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x6d, 0x70, 0x74,
0x79, 0x52, 0x65, 0x71, 0x1a, 0x12, 0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45,
0x6d, 0x70, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x31, 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61,
0x74, 0x65, 0x12, 0x12, 0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x55, 0x70, 0x64,
0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72, 0x65,
0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x33, 0x0a, 0x05, 0x53,
0x74, 0x61, 0x72, 0x74, 0x12, 0x16, 0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c,
0x6f, 0x61, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x12, 0x2e, 0x6c,
0x69, 0x62, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70,
0x12, 0x2d, 0x0a, 0x04, 0x53, 0x74, 0x6f, 0x70, 0x12, 0x11, 0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f,
0x72, 0x65, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x12, 0x2e, 0x6c, 0x69,
0x62, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12,
0x39, 0x0a, 0x0b, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16,
0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x43, 0x6f, 0x6e,
0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x12, 0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72, 0x65,
0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2b, 0x0a, 0x04, 0x54, 0x65,
0x73, 0x74, 0x12, 0x10, 0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x65, 0x73,
0x74, 0x52, 0x65, 0x71, 0x1a, 0x11, 0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54,
0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x31, 0x0a, 0x08, 0x53, 0x74, 0x6f, 0x70, 0x54,
0x65, 0x73, 0x74, 0x12, 0x11, 0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x6d,
0x70, 0x74, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x12, 0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72, 0x65,
0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x38, 0x0a, 0x0a, 0x51, 0x75,
0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x11, 0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f,
0x72, 0x65, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x6c, 0x69,
0x62, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73,
0x52, 0x65, 0x73, 0x70, 0x12, 0x42, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x6e,
0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x11, 0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72,
0x65, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x1c, 0x2e, 0x6c, 0x69, 0x62,
0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x46, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x47,
0x65, 0x6f, 0x49, 0x50, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x17, 0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f,
0x72, 0x65, 0x2e, 0x47, 0x65, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x1a, 0x1d, 0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x47,
0x65, 0x6f, 0x49, 0x50, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x4a, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x47, 0x65, 0x6f, 0x53, 0x69, 0x74, 0x65, 0x4c, 0x69,
0x73, 0x74, 0x12, 0x17, 0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x47, 0x65, 0x6f,
0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6c, 0x69,
0x62, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x65, 0x6f, 0x53, 0x69, 0x74, 0x65,
0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x11,
0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x47, 0x65, 0x6f, 0x49, 0x50, 0x54, 0x6f, 0x53, 0x72,
0x73, 0x12, 0x21, 0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x70,
0x69, 0x6c, 0x65, 0x47, 0x65, 0x6f, 0x49, 0x50, 0x54, 0x6f, 0x53, 0x72, 0x73, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45,
0x6d, 0x70, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4e, 0x0a, 0x13, 0x43, 0x6f, 0x6d, 0x70,
0x69, 0x6c, 0x65, 0x47, 0x65, 0x6f, 0x53, 0x69, 0x74, 0x65, 0x54, 0x6f, 0x53, 0x72, 0x73, 0x12,
0x23, 0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c,
0x65, 0x47, 0x65, 0x6f, 0x53, 0x69, 0x74, 0x65, 0x54, 0x6f, 0x53, 0x72, 0x73, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45,
0x6d, 0x70, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x44, 0x0a, 0x0e, 0x53, 0x65, 0x74, 0x53,
0x79, 0x73, 0x74, 0x65, 0x6d, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x12, 0x1e, 0x2e, 0x6c, 0x69, 0x62,
0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x65, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x50, 0x72,
0x6f, 0x78, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x6c, 0x69, 0x62,
0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x40,
0x0a, 0x0c, 0x47, 0x65, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x44, 0x4e, 0x53, 0x12, 0x11,
0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x65,
0x71, 0x1a, 0x1d, 0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x53,
0x79, 0x73, 0x74, 0x65, 0x6d, 0x44, 0x4e, 0x53, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x40, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x44, 0x4e, 0x53,
0x12, 0x1c, 0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x65, 0x74, 0x53, 0x79,
0x73, 0x74, 0x65, 0x6d, 0x44, 0x4e, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12,
0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x65,
0x73, 0x70, 0x12, 0x40, 0x0a, 0x0c, 0x49, 0x73, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67,
0x65, 0x64, 0x12, 0x11, 0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x6d, 0x70,
0x74, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x6c, 0x69, 0x62, 0x63, 0x6f, 0x72, 0x65, 0x2e,
0x49, 0x73, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x42, 0x11, 0x5a, 0x0f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72,
0x76, 0x65, 0x72, 0x2f, 0x67, 0x65, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
})
const file_libcore_proto_rawDesc = "" +
"\n" +
"\rlibcore.proto\x12\alibcore\"\n" +
"\n" +
"\bEmptyReq\"\v\n" +
"\tEmptyResp\"!\n" +
"\tErrorResp\x12\x14\n" +
"\x05error\x18\x01 \x01(\tR\x05error\"U\n" +
"\rLoadConfigReq\x12\x1f\n" +
"\vcore_config\x18\x01 \x01(\tR\n" +
"coreConfig\x12#\n" +
"\rdisable_stats\x18\x02 \x01(\bR\fdisableStats\"e\n" +
"\vURLTestResp\x12!\n" +
"\foutbound_tag\x18\x01 \x01(\tR\voutboundTag\x12\x1d\n" +
"\n" +
"latency_ms\x18\x02 \x01(\x05R\tlatencyMs\x12\x14\n" +
"\x05error\x18\x03 \x01(\tR\x05error\"\xd6\x01\n" +
"\aTestReq\x12\x16\n" +
"\x06config\x18\x01 \x01(\tR\x06config\x12#\n" +
"\routbound_tags\x18\x02 \x03(\tR\foutboundTags\x120\n" +
"\x14use_default_outbound\x18\x03 \x01(\bR\x12useDefaultOutbound\x12\x10\n" +
"\x03url\x18\x04 \x01(\tR\x03url\x12!\n" +
"\ftest_current\x18\x05 \x01(\bR\vtestCurrent\x12'\n" +
"\x0fmax_concurrency\x18\x06 \x01(\x05R\x0emaxConcurrency\":\n" +
"\bTestResp\x12.\n" +
"\aresults\x18\x01 \x03(\v2\x14.libcore.URLTestRespR\aresults\"\x9d\x02\n" +
"\x0eQueryStatsResp\x122\n" +
"\x03ups\x18\x01 \x03(\v2 .libcore.QueryStatsResp.UpsEntryR\x03ups\x128\n" +
"\x05downs\x18\x02 \x03(\v2\".libcore.QueryStatsResp.DownsEntryR\x05downs\x12+\n" +
"\x11intermediate_tags\x18\x03 \x03(\tR\x10intermediateTags\x1a6\n" +
"\bUpsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\x1a8\n" +
"\n" +
"DownsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\"T\n" +
"\x13ListConnectionsResp\x12=\n" +
"\vconnections\x18\x01 \x03(\v2\x1b.libcore.ConnectionMetaDataR\vconnections\"\x8f\x02\n" +
"\x12ConnectionMetaData\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x1d\n" +
"\n" +
"created_at\x18\x02 \x01(\x03R\tcreatedAt\x12\x16\n" +
"\x06upload\x18\x03 \x01(\x03R\x06upload\x12\x1a\n" +
"\bdownload\x18\x04 \x01(\x03R\bdownload\x12\x1a\n" +
"\boutbound\x18\x05 \x01(\tR\boutbound\x12\x18\n" +
"\anetwork\x18\x06 \x01(\tR\anetwork\x12\x12\n" +
"\x04dest\x18\a \x01(\tR\x04dest\x12\x1a\n" +
"\bprotocol\x18\b \x01(\tR\bprotocol\x12\x16\n" +
"\x06domain\x18\t \x01(\tR\x06domain\x12\x18\n" +
"\aprocess\x18\n" +
" \x01(\tR\aprocess\",\n" +
"\x14GetGeoIPListResponse\x12\x14\n" +
"\x05items\x18\x01 \x03(\tR\x05items\".\n" +
"\x16GetGeoSiteListResponse\x12\x14\n" +
"\x05items\x18\x02 \x03(\tR\x05items\"$\n" +
"\x0eGeoListRequest\x12\x12\n" +
"\x04path\x18\x01 \x01(\tR\x04path\"B\n" +
"\x18CompileGeoIPToSrsRequest\x12\x12\n" +
"\x04item\x18\x01 \x01(\tR\x04item\x12\x12\n" +
"\x04path\x18\x02 \x01(\tR\x04path\"D\n" +
"\x1aCompileGeoSiteToSrsRequest\x12\x12\n" +
"\x04item\x18\x01 \x01(\tR\x04item\x12\x12\n" +
"\x04path\x18\x02 \x01(\tR\x04path\"I\n" +
"\x15SetSystemProxyRequest\x12\x16\n" +
"\x06enable\x18\x01 \x01(\bR\x06enable\x12\x18\n" +
"\aaddress\x18\x02 \x01(\tR\aaddress\"`\n" +
"\x13SetSystemDNSRequest\x12\x14\n" +
"\x05clear\x18\x01 \x01(\bR\x05clear\x12\x18\n" +
"\aservers\x18\x02 \x03(\tR\aservers\x12\x19\n" +
"\bset_dhcp\x18\x03 \x01(\bR\asetDhcp\"I\n" +
"\x14GetSystemDNSResponse\x12\x18\n" +
"\aservers\x18\x01 \x03(\tR\aservers\x12\x17\n" +
"\ais_dhcp\x18\x02 \x01(\bR\x06isDhcp\";\n" +
"\x14IsPrivilegedResponse\x12#\n" +
"\rhas_privilege\x18\x01 \x01(\bR\fhasPrivilege2\xf8\a\n" +
"\x0eLibcoreService\x12-\n" +
"\x04Exit\x12\x11.libcore.EmptyReq\x1a\x12.libcore.EmptyResp\x123\n" +
"\x05Start\x12\x16.libcore.LoadConfigReq\x1a\x12.libcore.ErrorResp\x12-\n" +
"\x04Stop\x12\x11.libcore.EmptyReq\x1a\x12.libcore.ErrorResp\x129\n" +
"\vCheckConfig\x12\x16.libcore.LoadConfigReq\x1a\x12.libcore.ErrorResp\x12+\n" +
"\x04Test\x12\x10.libcore.TestReq\x1a\x11.libcore.TestResp\x121\n" +
"\bStopTest\x12\x11.libcore.EmptyReq\x1a\x12.libcore.EmptyResp\x128\n" +
"\n" +
"QueryStats\x12\x11.libcore.EmptyReq\x1a\x17.libcore.QueryStatsResp\x12B\n" +
"\x0fListConnections\x12\x11.libcore.EmptyReq\x1a\x1c.libcore.ListConnectionsResp\x12F\n" +
"\fGetGeoIPList\x12\x17.libcore.GeoListRequest\x1a\x1d.libcore.GetGeoIPListResponse\x12J\n" +
"\x0eGetGeoSiteList\x12\x17.libcore.GeoListRequest\x1a\x1f.libcore.GetGeoSiteListResponse\x12J\n" +
"\x11CompileGeoIPToSrs\x12!.libcore.CompileGeoIPToSrsRequest\x1a\x12.libcore.EmptyResp\x12N\n" +
"\x13CompileGeoSiteToSrs\x12#.libcore.CompileGeoSiteToSrsRequest\x1a\x12.libcore.EmptyResp\x12D\n" +
"\x0eSetSystemProxy\x12\x1e.libcore.SetSystemProxyRequest\x1a\x12.libcore.EmptyResp\x12@\n" +
"\fGetSystemDNS\x12\x11.libcore.EmptyReq\x1a\x1d.libcore.GetSystemDNSResponse\x12@\n" +
"\fSetSystemDNS\x12\x1c.libcore.SetSystemDNSRequest\x1a\x12.libcore.EmptyResp\x12@\n" +
"\fIsPrivileged\x12\x11.libcore.EmptyReq\x1a\x1d.libcore.IsPrivilegedResponseB\x11Z\x0fgrpc_server/genb\x06proto3"
var (
file_libcore_proto_rawDescOnce sync.Once
@ -1442,79 +1150,72 @@ func file_libcore_proto_rawDescGZIP() []byte {
return file_libcore_proto_rawDescData
}
var file_libcore_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_libcore_proto_msgTypes = make([]protoimpl.MessageInfo, 23)
var file_libcore_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
var file_libcore_proto_goTypes = []any{
(UpdateAction)(0), // 0: libcore.UpdateAction
(*EmptyReq)(nil), // 1: libcore.EmptyReq
(*EmptyResp)(nil), // 2: libcore.EmptyResp
(*ErrorResp)(nil), // 3: libcore.ErrorResp
(*LoadConfigReq)(nil), // 4: libcore.LoadConfigReq
(*URLTestResp)(nil), // 5: libcore.URLTestResp
(*TestReq)(nil), // 6: libcore.TestReq
(*TestResp)(nil), // 7: libcore.TestResp
(*QueryStatsResp)(nil), // 8: libcore.QueryStatsResp
(*UpdateReq)(nil), // 9: libcore.UpdateReq
(*UpdateResp)(nil), // 10: libcore.UpdateResp
(*ListConnectionsResp)(nil), // 11: libcore.ListConnectionsResp
(*ConnectionMetaData)(nil), // 12: libcore.ConnectionMetaData
(*GetGeoIPListResponse)(nil), // 13: libcore.GetGeoIPListResponse
(*GetGeoSiteListResponse)(nil), // 14: libcore.GetGeoSiteListResponse
(*GeoListRequest)(nil), // 15: libcore.GeoListRequest
(*CompileGeoIPToSrsRequest)(nil), // 16: libcore.CompileGeoIPToSrsRequest
(*CompileGeoSiteToSrsRequest)(nil), // 17: libcore.CompileGeoSiteToSrsRequest
(*SetSystemProxyRequest)(nil), // 18: libcore.SetSystemProxyRequest
(*SetSystemDNSRequest)(nil), // 19: libcore.SetSystemDNSRequest
(*GetSystemDNSResponse)(nil), // 20: libcore.GetSystemDNSResponse
(*IsPrivilegedResponse)(nil), // 21: libcore.IsPrivilegedResponse
nil, // 22: libcore.QueryStatsResp.UpsEntry
nil, // 23: libcore.QueryStatsResp.DownsEntry
(*EmptyReq)(nil), // 0: libcore.EmptyReq
(*EmptyResp)(nil), // 1: libcore.EmptyResp
(*ErrorResp)(nil), // 2: libcore.ErrorResp
(*LoadConfigReq)(nil), // 3: libcore.LoadConfigReq
(*URLTestResp)(nil), // 4: libcore.URLTestResp
(*TestReq)(nil), // 5: libcore.TestReq
(*TestResp)(nil), // 6: libcore.TestResp
(*QueryStatsResp)(nil), // 7: libcore.QueryStatsResp
(*ListConnectionsResp)(nil), // 8: libcore.ListConnectionsResp
(*ConnectionMetaData)(nil), // 9: libcore.ConnectionMetaData
(*GetGeoIPListResponse)(nil), // 10: libcore.GetGeoIPListResponse
(*GetGeoSiteListResponse)(nil), // 11: libcore.GetGeoSiteListResponse
(*GeoListRequest)(nil), // 12: libcore.GeoListRequest
(*CompileGeoIPToSrsRequest)(nil), // 13: libcore.CompileGeoIPToSrsRequest
(*CompileGeoSiteToSrsRequest)(nil), // 14: libcore.CompileGeoSiteToSrsRequest
(*SetSystemProxyRequest)(nil), // 15: libcore.SetSystemProxyRequest
(*SetSystemDNSRequest)(nil), // 16: libcore.SetSystemDNSRequest
(*GetSystemDNSResponse)(nil), // 17: libcore.GetSystemDNSResponse
(*IsPrivilegedResponse)(nil), // 18: libcore.IsPrivilegedResponse
nil, // 19: libcore.QueryStatsResp.UpsEntry
nil, // 20: libcore.QueryStatsResp.DownsEntry
}
var file_libcore_proto_depIdxs = []int32{
5, // 0: libcore.TestResp.results:type_name -> libcore.URLTestResp
22, // 1: libcore.QueryStatsResp.ups:type_name -> libcore.QueryStatsResp.UpsEntry
23, // 2: libcore.QueryStatsResp.downs:type_name -> libcore.QueryStatsResp.DownsEntry
0, // 3: libcore.UpdateReq.action:type_name -> libcore.UpdateAction
12, // 4: libcore.ListConnectionsResp.connections:type_name -> libcore.ConnectionMetaData
1, // 5: libcore.LibcoreService.Exit:input_type -> libcore.EmptyReq
9, // 6: libcore.LibcoreService.Update:input_type -> libcore.UpdateReq
4, // 7: libcore.LibcoreService.Start:input_type -> libcore.LoadConfigReq
1, // 8: libcore.LibcoreService.Stop:input_type -> libcore.EmptyReq
4, // 9: libcore.LibcoreService.CheckConfig:input_type -> libcore.LoadConfigReq
6, // 10: libcore.LibcoreService.Test:input_type -> libcore.TestReq
1, // 11: libcore.LibcoreService.StopTest:input_type -> libcore.EmptyReq
1, // 12: libcore.LibcoreService.QueryStats:input_type -> libcore.EmptyReq
1, // 13: libcore.LibcoreService.ListConnections:input_type -> libcore.EmptyReq
15, // 14: libcore.LibcoreService.GetGeoIPList:input_type -> libcore.GeoListRequest
15, // 15: libcore.LibcoreService.GetGeoSiteList:input_type -> libcore.GeoListRequest
16, // 16: libcore.LibcoreService.CompileGeoIPToSrs:input_type -> libcore.CompileGeoIPToSrsRequest
17, // 17: libcore.LibcoreService.CompileGeoSiteToSrs:input_type -> libcore.CompileGeoSiteToSrsRequest
18, // 18: libcore.LibcoreService.SetSystemProxy:input_type -> libcore.SetSystemProxyRequest
1, // 19: libcore.LibcoreService.GetSystemDNS:input_type -> libcore.EmptyReq
19, // 20: libcore.LibcoreService.SetSystemDNS:input_type -> libcore.SetSystemDNSRequest
1, // 21: libcore.LibcoreService.IsPrivileged:input_type -> libcore.EmptyReq
2, // 22: libcore.LibcoreService.Exit:output_type -> libcore.EmptyResp
10, // 23: libcore.LibcoreService.Update:output_type -> libcore.UpdateResp
3, // 24: libcore.LibcoreService.Start:output_type -> libcore.ErrorResp
3, // 25: libcore.LibcoreService.Stop:output_type -> libcore.ErrorResp
3, // 26: libcore.LibcoreService.CheckConfig:output_type -> libcore.ErrorResp
7, // 27: libcore.LibcoreService.Test:output_type -> libcore.TestResp
2, // 28: libcore.LibcoreService.StopTest:output_type -> libcore.EmptyResp
8, // 29: libcore.LibcoreService.QueryStats:output_type -> libcore.QueryStatsResp
11, // 30: libcore.LibcoreService.ListConnections:output_type -> libcore.ListConnectionsResp
13, // 31: libcore.LibcoreService.GetGeoIPList:output_type -> libcore.GetGeoIPListResponse
14, // 32: libcore.LibcoreService.GetGeoSiteList:output_type -> libcore.GetGeoSiteListResponse
2, // 33: libcore.LibcoreService.CompileGeoIPToSrs:output_type -> libcore.EmptyResp
2, // 34: libcore.LibcoreService.CompileGeoSiteToSrs:output_type -> libcore.EmptyResp
2, // 35: libcore.LibcoreService.SetSystemProxy:output_type -> libcore.EmptyResp
20, // 36: libcore.LibcoreService.GetSystemDNS:output_type -> libcore.GetSystemDNSResponse
2, // 37: libcore.LibcoreService.SetSystemDNS:output_type -> libcore.EmptyResp
21, // 38: libcore.LibcoreService.IsPrivileged:output_type -> libcore.IsPrivilegedResponse
22, // [22:39] is the sub-list for method output_type
5, // [5:22] is the sub-list for method input_type
5, // [5:5] is the sub-list for extension type_name
5, // [5:5] is the sub-list for extension extendee
0, // [0:5] is the sub-list for field type_name
4, // 0: libcore.TestResp.results:type_name -> libcore.URLTestResp
19, // 1: libcore.QueryStatsResp.ups:type_name -> libcore.QueryStatsResp.UpsEntry
20, // 2: libcore.QueryStatsResp.downs:type_name -> libcore.QueryStatsResp.DownsEntry
9, // 3: libcore.ListConnectionsResp.connections:type_name -> libcore.ConnectionMetaData
0, // 4: libcore.LibcoreService.Exit:input_type -> libcore.EmptyReq
3, // 5: libcore.LibcoreService.Start:input_type -> libcore.LoadConfigReq
0, // 6: libcore.LibcoreService.Stop:input_type -> libcore.EmptyReq
3, // 7: libcore.LibcoreService.CheckConfig:input_type -> libcore.LoadConfigReq
5, // 8: libcore.LibcoreService.Test:input_type -> libcore.TestReq
0, // 9: libcore.LibcoreService.StopTest:input_type -> libcore.EmptyReq
0, // 10: libcore.LibcoreService.QueryStats:input_type -> libcore.EmptyReq
0, // 11: libcore.LibcoreService.ListConnections:input_type -> libcore.EmptyReq
12, // 12: libcore.LibcoreService.GetGeoIPList:input_type -> libcore.GeoListRequest
12, // 13: libcore.LibcoreService.GetGeoSiteList:input_type -> libcore.GeoListRequest
13, // 14: libcore.LibcoreService.CompileGeoIPToSrs:input_type -> libcore.CompileGeoIPToSrsRequest
14, // 15: libcore.LibcoreService.CompileGeoSiteToSrs:input_type -> libcore.CompileGeoSiteToSrsRequest
15, // 16: libcore.LibcoreService.SetSystemProxy:input_type -> libcore.SetSystemProxyRequest
0, // 17: libcore.LibcoreService.GetSystemDNS:input_type -> libcore.EmptyReq
16, // 18: libcore.LibcoreService.SetSystemDNS:input_type -> libcore.SetSystemDNSRequest
0, // 19: libcore.LibcoreService.IsPrivileged:input_type -> libcore.EmptyReq
1, // 20: libcore.LibcoreService.Exit:output_type -> libcore.EmptyResp
2, // 21: libcore.LibcoreService.Start:output_type -> libcore.ErrorResp
2, // 22: libcore.LibcoreService.Stop:output_type -> libcore.ErrorResp
2, // 23: libcore.LibcoreService.CheckConfig:output_type -> libcore.ErrorResp
6, // 24: libcore.LibcoreService.Test:output_type -> libcore.TestResp
1, // 25: libcore.LibcoreService.StopTest:output_type -> libcore.EmptyResp
7, // 26: libcore.LibcoreService.QueryStats:output_type -> libcore.QueryStatsResp
8, // 27: libcore.LibcoreService.ListConnections:output_type -> libcore.ListConnectionsResp
10, // 28: libcore.LibcoreService.GetGeoIPList:output_type -> libcore.GetGeoIPListResponse
11, // 29: libcore.LibcoreService.GetGeoSiteList:output_type -> libcore.GetGeoSiteListResponse
1, // 30: libcore.LibcoreService.CompileGeoIPToSrs:output_type -> libcore.EmptyResp
1, // 31: libcore.LibcoreService.CompileGeoSiteToSrs:output_type -> libcore.EmptyResp
1, // 32: libcore.LibcoreService.SetSystemProxy:output_type -> libcore.EmptyResp
17, // 33: libcore.LibcoreService.GetSystemDNS:output_type -> libcore.GetSystemDNSResponse
1, // 34: libcore.LibcoreService.SetSystemDNS:output_type -> libcore.EmptyResp
18, // 35: libcore.LibcoreService.IsPrivileged:output_type -> libcore.IsPrivilegedResponse
20, // [20:36] is the sub-list for method output_type
4, // [4:20] is the sub-list for method input_type
4, // [4:4] is the sub-list for extension type_name
4, // [4:4] is the sub-list for extension extendee
0, // [0:4] is the sub-list for field type_name
}
func init() { file_libcore_proto_init() }
@ -1527,14 +1228,13 @@ func file_libcore_proto_init() {
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_libcore_proto_rawDesc), len(file_libcore_proto_rawDesc)),
NumEnums: 1,
NumMessages: 23,
NumEnums: 0,
NumMessages: 21,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_libcore_proto_goTypes,
DependencyIndexes: file_libcore_proto_depIdxs,
EnumInfos: file_libcore_proto_enumTypes,
MessageInfos: file_libcore_proto_msgTypes,
}.Build()
File_libcore_proto = out.File

View File

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.5.1
// - protoc v5.29.3
// - protoc v6.30.2
// source: libcore.proto
package gen
@ -20,7 +20,6 @@ const _ = grpc.SupportPackageIsVersion9
const (
LibcoreService_Exit_FullMethodName = "/libcore.LibcoreService/Exit"
LibcoreService_Update_FullMethodName = "/libcore.LibcoreService/Update"
LibcoreService_Start_FullMethodName = "/libcore.LibcoreService/Start"
LibcoreService_Stop_FullMethodName = "/libcore.LibcoreService/Stop"
LibcoreService_CheckConfig_FullMethodName = "/libcore.LibcoreService/CheckConfig"
@ -43,7 +42,6 @@ const (
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type LibcoreServiceClient interface {
Exit(ctx context.Context, in *EmptyReq, opts ...grpc.CallOption) (*EmptyResp, error)
Update(ctx context.Context, in *UpdateReq, opts ...grpc.CallOption) (*UpdateResp, error)
Start(ctx context.Context, in *LoadConfigReq, opts ...grpc.CallOption) (*ErrorResp, error)
Stop(ctx context.Context, in *EmptyReq, opts ...grpc.CallOption) (*ErrorResp, error)
CheckConfig(ctx context.Context, in *LoadConfigReq, opts ...grpc.CallOption) (*ErrorResp, error)
@ -79,16 +77,6 @@ func (c *libcoreServiceClient) Exit(ctx context.Context, in *EmptyReq, opts ...g
return out, nil
}
func (c *libcoreServiceClient) Update(ctx context.Context, in *UpdateReq, opts ...grpc.CallOption) (*UpdateResp, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(UpdateResp)
err := c.cc.Invoke(ctx, LibcoreService_Update_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *libcoreServiceClient) Start(ctx context.Context, in *LoadConfigReq, opts ...grpc.CallOption) (*ErrorResp, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(ErrorResp)
@ -244,7 +232,6 @@ func (c *libcoreServiceClient) IsPrivileged(ctx context.Context, in *EmptyReq, o
// for forward compatibility.
type LibcoreServiceServer interface {
Exit(context.Context, *EmptyReq) (*EmptyResp, error)
Update(context.Context, *UpdateReq) (*UpdateResp, error)
Start(context.Context, *LoadConfigReq) (*ErrorResp, error)
Stop(context.Context, *EmptyReq) (*ErrorResp, error)
CheckConfig(context.Context, *LoadConfigReq) (*ErrorResp, error)
@ -273,9 +260,6 @@ type UnimplementedLibcoreServiceServer struct{}
func (UnimplementedLibcoreServiceServer) Exit(context.Context, *EmptyReq) (*EmptyResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method Exit not implemented")
}
func (UnimplementedLibcoreServiceServer) Update(context.Context, *UpdateReq) (*UpdateResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method Update not implemented")
}
func (UnimplementedLibcoreServiceServer) Start(context.Context, *LoadConfigReq) (*ErrorResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method Start not implemented")
}
@ -360,24 +344,6 @@ func _LibcoreService_Exit_Handler(srv interface{}, ctx context.Context, dec func
return interceptor(ctx, in, info, handler)
}
func _LibcoreService_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(LibcoreServiceServer).Update(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: LibcoreService_Update_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(LibcoreServiceServer).Update(ctx, req.(*UpdateReq))
}
return interceptor(ctx, in, info, handler)
}
func _LibcoreService_Start_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(LoadConfigReq)
if err := dec(in); err != nil {
@ -659,10 +625,6 @@ var LibcoreService_ServiceDesc = grpc.ServiceDesc{
MethodName: "Exit",
Handler: _LibcoreService_Exit_Handler,
},
{
MethodName: "Update",
Handler: _LibcoreService_Update_Handler,
},
{
MethodName: "Start",
Handler: _LibcoreService_Start_Handler,

View File

@ -15,8 +15,8 @@ require (
github.com/sagernet/sing-tun v0.6.1
github.com/spf13/cobra v1.8.1
golang.org/x/sys v0.30.0
google.golang.org/grpc v1.64.1
google.golang.org/protobuf v1.34.2
google.golang.org/grpc v1.66.3
google.golang.org/protobuf v1.36.6
)
replace github.com/sagernet/sing-box => github.com/Mahdi-zarei/sing-box v1.3.5-0.20250307022037-4316c2a6260e
@ -93,6 +93,6 @@ require (
golang.org/x/time v0.7.0 // indirect
golang.org/x/tools v0.28.0 // indirect
golang.zx2c4.com/wintun v0.0.0-20230126152724-0fa3db229ce2 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20250115164207-1a7da9e5054f // indirect
lukechampine.com/blake3 v1.3.0 // indirect
)

View File

@ -36,8 +36,6 @@ github.com/gobwas/pool v0.2.1 h1:xfeeEhW7pwmX8nuLVlqbzVc7udMDrwetjEv+TZIz1og=
github.com/gobwas/pool v0.2.1/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw=
github.com/gofrs/uuid/v5 v5.3.0 h1:m0mUMr+oVYUdxpMLgSYCZiXe7PuVPnI94+OMeVBNedk=
github.com/gofrs/uuid/v5 v5.3.0/go.mod h1:CDOjlDMVAtN56jqyRUZh58JT31Tiw7/oQyEXZV+9bD8=
github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
github.com/google/btree v1.1.3 h1:CVpQJjYgC4VbzxeGVHfvZrv1ctoYCAI8vbl07Fcxlyg=
github.com/google/btree v1.1.3/go.mod h1:qOPhT0dTNdNzV6Z/lhRX0YXUafgPLFUh+gZMl761Gm4=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
@ -200,12 +198,12 @@ golang.org/x/tools v0.28.0 h1:WuB6qZ4RPCQo5aP3WdKZS7i595EdWqWR8vqJTlwTVK8=
golang.org/x/tools v0.28.0/go.mod h1:dcIOrVd3mfQKTgrDVQHqCPMWy6lnhfhtX3hLXYVLfRw=
golang.zx2c4.com/wintun v0.0.0-20230126152724-0fa3db229ce2 h1:B82qJJgjvYKsXS9jeunTOisW56dUokqW/FOteYJJ/yg=
golang.zx2c4.com/wintun v0.0.0-20230126152724-0fa3db229ce2/go.mod h1:deeaetjYA+DHMHg+sMSMI58GrEteJUUzzw7en6TJQcI=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 h1:e7S5W7MGGLaSu8j3YjdezkZ+m1/Nm0uRVRMEMGk26Xs=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142/go.mod h1:UqMtugtsSgubUsoxbuAoiCXvqvErP7Gf0so0mK9tHxU=
google.golang.org/grpc v1.64.1 h1:LKtvyfbX3UGVPFcGqJ9ItpVWW6oN/2XqTxfAnwRRXiA=
google.golang.org/grpc v1.64.1/go.mod h1:hiQF4LFZelK2WKaP6W0L92zGHtiQdZxk8CrSdvyjeP0=
google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg=
google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw=
google.golang.org/genproto/googleapis/rpc v0.0.0-20250115164207-1a7da9e5054f h1:OxYkA3wjPsZyBylwymxSHa7ViiW1Sml4ToBrncvFehI=
google.golang.org/genproto/googleapis/rpc v0.0.0-20250115164207-1a7da9e5054f/go.mod h1:+2Yz8+CLJbIfL9z73EW45avw8Lmge3xVElCP9zEKi50=
google.golang.org/grpc v1.66.3 h1:TWlsh8Mv0QI/1sIbs1W36lqRclxrmF+eFJ4DbI0fuhA=
google.golang.org/grpc v1.66.3/go.mod h1:s3/l6xSSCURdVfAnL+TqCNMyTDAGN6+lZeVxnZR128Y=
google.golang.org/protobuf v1.36.6 h1:z1NpPI8ku2WgiWnf+t9wTPsn6eP1L7ksHUlkfLvd9xY=
google.golang.org/protobuf v1.36.6/go.mod h1:jduwjTPXsFjZGTmRluh+L6NjiWu7pchiJ2/5YcXBHnY=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=

View File

@ -49,7 +49,7 @@ ninja && ninja install
cd ../..
#### protobuf ####
git clone --recurse-submodules -b v28.2 --depth 1 --shallow-submodules https://github.com/protocolbuffers/protobuf
git clone --recurse-submodules -b v30.2 --depth 1 --shallow-submodules https://github.com/parhelia512/protobuf
mkdir -p protobuf/build
cd protobuf/build