增加操作系统和浏览器信息维护接口

This commit is contained in:
刘祥超
2022-11-11 17:46:27 +08:00
parent 7a139b43a9
commit 4d5fd28f97
9 changed files with 6293 additions and 3629 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,185 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0
// protoc v3.19.4
// source: models/model_formal_client_browser.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 FormalClientBrowser struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Codes []string `protobuf:"bytes,3,rep,name=codes,proto3" json:"codes,omitempty"`
DataId string `protobuf:"bytes,4,opt,name=dataId,proto3" json:"dataId,omitempty"`
State int32 `protobuf:"varint,5,opt,name=state,proto3" json:"state,omitempty"`
}
func (x *FormalClientBrowser) Reset() {
*x = FormalClientBrowser{}
if protoimpl.UnsafeEnabled {
mi := &file_models_model_formal_client_browser_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FormalClientBrowser) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FormalClientBrowser) ProtoMessage() {}
func (x *FormalClientBrowser) ProtoReflect() protoreflect.Message {
mi := &file_models_model_formal_client_browser_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 FormalClientBrowser.ProtoReflect.Descriptor instead.
func (*FormalClientBrowser) Descriptor() ([]byte, []int) {
return file_models_model_formal_client_browser_proto_rawDescGZIP(), []int{0}
}
func (x *FormalClientBrowser) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *FormalClientBrowser) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *FormalClientBrowser) GetCodes() []string {
if x != nil {
return x.Codes
}
return nil
}
func (x *FormalClientBrowser) GetDataId() string {
if x != nil {
return x.DataId
}
return ""
}
func (x *FormalClientBrowser) GetState() int32 {
if x != nil {
return x.State
}
return 0
}
var File_models_model_formal_client_browser_proto protoreflect.FileDescriptor
var file_models_model_formal_client_browser_proto_rawDesc = []byte{
0x0a, 0x28, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x66,
0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x62, 0x72, 0x6f,
0x77, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x7d,
0x0a, 0x13, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x72,
0x6f, 0x77, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x64,
0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x12,
0x16, 0x0a, 0x06, 0x64, 0x61, 0x74, 0x61, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
0x06, 0x64, 0x61, 0x74, 0x61, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65,
0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x42, 0x06, 0x5a,
0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_models_model_formal_client_browser_proto_rawDescOnce sync.Once
file_models_model_formal_client_browser_proto_rawDescData = file_models_model_formal_client_browser_proto_rawDesc
)
func file_models_model_formal_client_browser_proto_rawDescGZIP() []byte {
file_models_model_formal_client_browser_proto_rawDescOnce.Do(func() {
file_models_model_formal_client_browser_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_formal_client_browser_proto_rawDescData)
})
return file_models_model_formal_client_browser_proto_rawDescData
}
var file_models_model_formal_client_browser_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_models_model_formal_client_browser_proto_goTypes = []interface{}{
(*FormalClientBrowser)(nil), // 0: pb.FormalClientBrowser
}
var file_models_model_formal_client_browser_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_models_model_formal_client_browser_proto_init() }
func file_models_model_formal_client_browser_proto_init() {
if File_models_model_formal_client_browser_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_models_model_formal_client_browser_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FormalClientBrowser); 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_models_model_formal_client_browser_proto_rawDesc,
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_models_model_formal_client_browser_proto_goTypes,
DependencyIndexes: file_models_model_formal_client_browser_proto_depIdxs,
MessageInfos: file_models_model_formal_client_browser_proto_msgTypes,
}.Build()
File_models_model_formal_client_browser_proto = out.File
file_models_model_formal_client_browser_proto_rawDesc = nil
file_models_model_formal_client_browser_proto_goTypes = nil
file_models_model_formal_client_browser_proto_depIdxs = nil
}

View File

@@ -0,0 +1,185 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0
// protoc v3.19.4
// source: models/model_formal_client_system.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 FormalClientSystem struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Codes []string `protobuf:"bytes,3,rep,name=codes,proto3" json:"codes,omitempty"`
DataId string `protobuf:"bytes,4,opt,name=dataId,proto3" json:"dataId,omitempty"`
State int32 `protobuf:"varint,5,opt,name=state,proto3" json:"state,omitempty"`
}
func (x *FormalClientSystem) Reset() {
*x = FormalClientSystem{}
if protoimpl.UnsafeEnabled {
mi := &file_models_model_formal_client_system_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FormalClientSystem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FormalClientSystem) ProtoMessage() {}
func (x *FormalClientSystem) ProtoReflect() protoreflect.Message {
mi := &file_models_model_formal_client_system_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 FormalClientSystem.ProtoReflect.Descriptor instead.
func (*FormalClientSystem) Descriptor() ([]byte, []int) {
return file_models_model_formal_client_system_proto_rawDescGZIP(), []int{0}
}
func (x *FormalClientSystem) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *FormalClientSystem) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *FormalClientSystem) GetCodes() []string {
if x != nil {
return x.Codes
}
return nil
}
func (x *FormalClientSystem) GetDataId() string {
if x != nil {
return x.DataId
}
return ""
}
func (x *FormalClientSystem) GetState() int32 {
if x != nil {
return x.State
}
return 0
}
var File_models_model_formal_client_system_proto protoreflect.FileDescriptor
var file_models_model_formal_client_system_proto_rawDesc = []byte{
0x0a, 0x27, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x66,
0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x79, 0x73,
0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x7c, 0x0a,
0x12, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x79, 0x73,
0x74, 0x65, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x73,
0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x16, 0x0a,
0x06, 0x64, 0x61, 0x74, 0x61, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64,
0x61, 0x74, 0x61, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x05,
0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e,
0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_models_model_formal_client_system_proto_rawDescOnce sync.Once
file_models_model_formal_client_system_proto_rawDescData = file_models_model_formal_client_system_proto_rawDesc
)
func file_models_model_formal_client_system_proto_rawDescGZIP() []byte {
file_models_model_formal_client_system_proto_rawDescOnce.Do(func() {
file_models_model_formal_client_system_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_formal_client_system_proto_rawDescData)
})
return file_models_model_formal_client_system_proto_rawDescData
}
var file_models_model_formal_client_system_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_models_model_formal_client_system_proto_goTypes = []interface{}{
(*FormalClientSystem)(nil), // 0: pb.FormalClientSystem
}
var file_models_model_formal_client_system_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_models_model_formal_client_system_proto_init() }
func file_models_model_formal_client_system_proto_init() {
if File_models_model_formal_client_system_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_models_model_formal_client_system_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FormalClientSystem); 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_models_model_formal_client_system_proto_rawDesc,
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_models_model_formal_client_system_proto_goTypes,
DependencyIndexes: file_models_model_formal_client_system_proto_depIdxs,
MessageInfos: file_models_model_formal_client_system_proto_msgTypes,
}.Build()
File_models_model_formal_client_system_proto = out.File
file_models_model_formal_client_system_proto_rawDesc = nil
file_models_model_formal_client_system_proto_goTypes = nil
file_models_model_formal_client_system_proto_depIdxs = nil
}

View File

@@ -0,0 +1,970 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0
// protoc v3.19.4
// source: service_formal_client_browser.proto
package pb
import (
context "context"
proto "github.com/golang/protobuf/proto"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4
// 创建浏览器信息
type CreateFormalClientBrowserRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Codes []string `protobuf:"bytes,2,rep,name=codes,proto3" json:"codes,omitempty"`
DataId string `protobuf:"bytes,3,opt,name=dataId,proto3" json:"dataId,omitempty"`
}
func (x *CreateFormalClientBrowserRequest) Reset() {
*x = CreateFormalClientBrowserRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_formal_client_browser_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateFormalClientBrowserRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateFormalClientBrowserRequest) ProtoMessage() {}
func (x *CreateFormalClientBrowserRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_formal_client_browser_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 CreateFormalClientBrowserRequest.ProtoReflect.Descriptor instead.
func (*CreateFormalClientBrowserRequest) Descriptor() ([]byte, []int) {
return file_service_formal_client_browser_proto_rawDescGZIP(), []int{0}
}
func (x *CreateFormalClientBrowserRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *CreateFormalClientBrowserRequest) GetCodes() []string {
if x != nil {
return x.Codes
}
return nil
}
func (x *CreateFormalClientBrowserRequest) GetDataId() string {
if x != nil {
return x.DataId
}
return ""
}
type CreateFormalClientBrowserResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FormalClientBrowserId int64 `protobuf:"varint,1,opt,name=formalClientBrowserId,proto3" json:"formalClientBrowserId,omitempty"`
}
func (x *CreateFormalClientBrowserResponse) Reset() {
*x = CreateFormalClientBrowserResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_formal_client_browser_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateFormalClientBrowserResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateFormalClientBrowserResponse) ProtoMessage() {}
func (x *CreateFormalClientBrowserResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_formal_client_browser_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 CreateFormalClientBrowserResponse.ProtoReflect.Descriptor instead.
func (*CreateFormalClientBrowserResponse) Descriptor() ([]byte, []int) {
return file_service_formal_client_browser_proto_rawDescGZIP(), []int{1}
}
func (x *CreateFormalClientBrowserResponse) GetFormalClientBrowserId() int64 {
if x != nil {
return x.FormalClientBrowserId
}
return 0
}
// 计算浏览器信息数量
type CountFormalClientBrowsersRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"` // 可选
}
func (x *CountFormalClientBrowsersRequest) Reset() {
*x = CountFormalClientBrowsersRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_formal_client_browser_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CountFormalClientBrowsersRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CountFormalClientBrowsersRequest) ProtoMessage() {}
func (x *CountFormalClientBrowsersRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_formal_client_browser_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 CountFormalClientBrowsersRequest.ProtoReflect.Descriptor instead.
func (*CountFormalClientBrowsersRequest) Descriptor() ([]byte, []int) {
return file_service_formal_client_browser_proto_rawDescGZIP(), []int{2}
}
func (x *CountFormalClientBrowsersRequest) GetKeyword() string {
if x != nil {
return x.Keyword
}
return ""
}
// 列出单页浏览器信息
type ListFormalClientBrowsersRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"` // 可选
Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
}
func (x *ListFormalClientBrowsersRequest) Reset() {
*x = ListFormalClientBrowsersRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_formal_client_browser_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListFormalClientBrowsersRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListFormalClientBrowsersRequest) ProtoMessage() {}
func (x *ListFormalClientBrowsersRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_formal_client_browser_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 ListFormalClientBrowsersRequest.ProtoReflect.Descriptor instead.
func (*ListFormalClientBrowsersRequest) Descriptor() ([]byte, []int) {
return file_service_formal_client_browser_proto_rawDescGZIP(), []int{3}
}
func (x *ListFormalClientBrowsersRequest) GetKeyword() string {
if x != nil {
return x.Keyword
}
return ""
}
func (x *ListFormalClientBrowsersRequest) GetOffset() int64 {
if x != nil {
return x.Offset
}
return 0
}
func (x *ListFormalClientBrowsersRequest) GetSize() int64 {
if x != nil {
return x.Size
}
return 0
}
type ListFormalClientBrowsersResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FormalClientBrowsers []*FormalClientBrowser `protobuf:"bytes,1,rep,name=formalClientBrowsers,proto3" json:"formalClientBrowsers,omitempty"`
}
func (x *ListFormalClientBrowsersResponse) Reset() {
*x = ListFormalClientBrowsersResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_formal_client_browser_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListFormalClientBrowsersResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListFormalClientBrowsersResponse) ProtoMessage() {}
func (x *ListFormalClientBrowsersResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_formal_client_browser_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 ListFormalClientBrowsersResponse.ProtoReflect.Descriptor instead.
func (*ListFormalClientBrowsersResponse) Descriptor() ([]byte, []int) {
return file_service_formal_client_browser_proto_rawDescGZIP(), []int{4}
}
func (x *ListFormalClientBrowsersResponse) GetFormalClientBrowsers() []*FormalClientBrowser {
if x != nil {
return x.FormalClientBrowsers
}
return nil
}
// 修改浏览器信息
type UpdateFormalClientBrowserRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FormalClientBrowserId int64 `protobuf:"varint,1,opt,name=formalClientBrowserId,proto3" json:"formalClientBrowserId,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Codes []string `protobuf:"bytes,3,rep,name=codes,proto3" json:"codes,omitempty"`
DataId string `protobuf:"bytes,4,opt,name=dataId,proto3" json:"dataId,omitempty"`
}
func (x *UpdateFormalClientBrowserRequest) Reset() {
*x = UpdateFormalClientBrowserRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_formal_client_browser_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateFormalClientBrowserRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateFormalClientBrowserRequest) ProtoMessage() {}
func (x *UpdateFormalClientBrowserRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_formal_client_browser_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 UpdateFormalClientBrowserRequest.ProtoReflect.Descriptor instead.
func (*UpdateFormalClientBrowserRequest) Descriptor() ([]byte, []int) {
return file_service_formal_client_browser_proto_rawDescGZIP(), []int{5}
}
func (x *UpdateFormalClientBrowserRequest) GetFormalClientBrowserId() int64 {
if x != nil {
return x.FormalClientBrowserId
}
return 0
}
func (x *UpdateFormalClientBrowserRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *UpdateFormalClientBrowserRequest) GetCodes() []string {
if x != nil {
return x.Codes
}
return nil
}
func (x *UpdateFormalClientBrowserRequest) GetDataId() string {
if x != nil {
return x.DataId
}
return ""
}
// 通过dataId查询浏览器信息
type FindFormalClientBrowserWithDataIdRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DataId string `protobuf:"bytes,1,opt,name=dataId,proto3" json:"dataId,omitempty"`
}
func (x *FindFormalClientBrowserWithDataIdRequest) Reset() {
*x = FindFormalClientBrowserWithDataIdRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_formal_client_browser_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindFormalClientBrowserWithDataIdRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindFormalClientBrowserWithDataIdRequest) ProtoMessage() {}
func (x *FindFormalClientBrowserWithDataIdRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_formal_client_browser_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use FindFormalClientBrowserWithDataIdRequest.ProtoReflect.Descriptor instead.
func (*FindFormalClientBrowserWithDataIdRequest) Descriptor() ([]byte, []int) {
return file_service_formal_client_browser_proto_rawDescGZIP(), []int{6}
}
func (x *FindFormalClientBrowserWithDataIdRequest) GetDataId() string {
if x != nil {
return x.DataId
}
return ""
}
type FindFormalClientBrowserWithDataIdResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FormalClientBrowser *FormalClientBrowser `protobuf:"bytes,1,opt,name=formalClientBrowser,proto3" json:"formalClientBrowser,omitempty"`
}
func (x *FindFormalClientBrowserWithDataIdResponse) Reset() {
*x = FindFormalClientBrowserWithDataIdResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_formal_client_browser_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindFormalClientBrowserWithDataIdResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindFormalClientBrowserWithDataIdResponse) ProtoMessage() {}
func (x *FindFormalClientBrowserWithDataIdResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_formal_client_browser_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 FindFormalClientBrowserWithDataIdResponse.ProtoReflect.Descriptor instead.
func (*FindFormalClientBrowserWithDataIdResponse) Descriptor() ([]byte, []int) {
return file_service_formal_client_browser_proto_rawDescGZIP(), []int{7}
}
func (x *FindFormalClientBrowserWithDataIdResponse) GetFormalClientBrowser() *FormalClientBrowser {
if x != nil {
return x.FormalClientBrowser
}
return nil
}
var File_service_formal_client_browser_proto protoreflect.FileDescriptor
var file_service_formal_client_browser_proto_rawDesc = []byte{
0x0a, 0x23, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6c,
0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x62, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x19, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
0x73, 0x2f, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64,
0x65, 0x6c, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
0x5f, 0x62, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x64,
0x0a, 0x20, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c,
0x69, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x77, 0x73, 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, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x18,
0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06,
0x64, 0x61, 0x74, 0x61, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x61,
0x74, 0x61, 0x49, 0x64, 0x22, 0x59, 0x0a, 0x21, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f,
0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x65,
0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x15, 0x66, 0x6f, 0x72,
0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72,
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x15, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6c,
0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22,
0x3c, 0x0a, 0x20, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c,
0x69, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x67, 0x0a,
0x1f, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e,
0x74, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66,
0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73,
0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x6f, 0x0a, 0x20, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x6f,
0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x65,
0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x14, 0x66, 0x6f,
0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x65,
0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x6f,
0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x65,
0x72, 0x52, 0x14, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42,
0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x73, 0x22, 0x9a, 0x01, 0x0a, 0x20, 0x55, 0x70, 0x64, 0x61,
0x74, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x72,
0x6f, 0x77, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x15,
0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x77,
0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x15, 0x66, 0x6f, 0x72,
0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x77, 0x73, 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, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x18,
0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06,
0x64, 0x61, 0x74, 0x61, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x61,
0x74, 0x61, 0x49, 0x64, 0x22, 0x42, 0x0a, 0x28, 0x46, 0x69, 0x6e, 0x64, 0x46, 0x6f, 0x72, 0x6d,
0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x57,
0x69, 0x74, 0x68, 0x44, 0x61, 0x74, 0x61, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x12, 0x16, 0x0a, 0x06, 0x64, 0x61, 0x74, 0x61, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x06, 0x64, 0x61, 0x74, 0x61, 0x49, 0x64, 0x22, 0x76, 0x0a, 0x29, 0x46, 0x69, 0x6e, 0x64,
0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x77,
0x73, 0x65, 0x72, 0x57, 0x69, 0x74, 0x68, 0x44, 0x61, 0x74, 0x61, 0x49, 0x64, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x13, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43,
0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c,
0x69, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x52, 0x13, 0x66, 0x6f, 0x72,
0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72,
0x32, 0x9c, 0x04, 0x0a, 0x1a, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e,
0x74, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
0x68, 0x0a, 0x19, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43,
0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x12, 0x24, 0x2e, 0x70,
0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c,
0x69, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f,
0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x65,
0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x19, 0x63, 0x6f, 0x75,
0x6e, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x72,
0x6f, 0x77, 0x73, 0x65, 0x72, 0x73, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e,
0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f,
0x77, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70,
0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x12, 0x65, 0x0a, 0x18, 0x6c, 0x69, 0x73, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c,
0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x73, 0x12, 0x23,
0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c,
0x69, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x6f, 0x72,
0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72,
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x19, 0x75, 0x70, 0x64,
0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42,
0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61,
0x74, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x72,
0x6f, 0x77, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70,
0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x80, 0x01, 0x0a,
0x21, 0x66, 0x69, 0x6e, 0x64, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e,
0x74, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x57, 0x69, 0x74, 0x68, 0x44, 0x61, 0x74, 0x61,
0x49, 0x64, 0x12, 0x2c, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x46, 0x6f, 0x72, 0x6d,
0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x57,
0x69, 0x74, 0x68, 0x44, 0x61, 0x74, 0x61, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x1a, 0x2d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c,
0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x57, 0x69, 0x74,
0x68, 0x44, 0x61, 0x74, 0x61, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42,
0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_service_formal_client_browser_proto_rawDescOnce sync.Once
file_service_formal_client_browser_proto_rawDescData = file_service_formal_client_browser_proto_rawDesc
)
func file_service_formal_client_browser_proto_rawDescGZIP() []byte {
file_service_formal_client_browser_proto_rawDescOnce.Do(func() {
file_service_formal_client_browser_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_formal_client_browser_proto_rawDescData)
})
return file_service_formal_client_browser_proto_rawDescData
}
var file_service_formal_client_browser_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_service_formal_client_browser_proto_goTypes = []interface{}{
(*CreateFormalClientBrowserRequest)(nil), // 0: pb.CreateFormalClientBrowserRequest
(*CreateFormalClientBrowserResponse)(nil), // 1: pb.CreateFormalClientBrowserResponse
(*CountFormalClientBrowsersRequest)(nil), // 2: pb.CountFormalClientBrowsersRequest
(*ListFormalClientBrowsersRequest)(nil), // 3: pb.ListFormalClientBrowsersRequest
(*ListFormalClientBrowsersResponse)(nil), // 4: pb.ListFormalClientBrowsersResponse
(*UpdateFormalClientBrowserRequest)(nil), // 5: pb.UpdateFormalClientBrowserRequest
(*FindFormalClientBrowserWithDataIdRequest)(nil), // 6: pb.FindFormalClientBrowserWithDataIdRequest
(*FindFormalClientBrowserWithDataIdResponse)(nil), // 7: pb.FindFormalClientBrowserWithDataIdResponse
(*FormalClientBrowser)(nil), // 8: pb.FormalClientBrowser
(*RPCCountResponse)(nil), // 9: pb.RPCCountResponse
(*RPCSuccess)(nil), // 10: pb.RPCSuccess
}
var file_service_formal_client_browser_proto_depIdxs = []int32{
8, // 0: pb.ListFormalClientBrowsersResponse.formalClientBrowsers:type_name -> pb.FormalClientBrowser
8, // 1: pb.FindFormalClientBrowserWithDataIdResponse.formalClientBrowser:type_name -> pb.FormalClientBrowser
0, // 2: pb.FormalClientBrowserService.createFormalClientBrowser:input_type -> pb.CreateFormalClientBrowserRequest
2, // 3: pb.FormalClientBrowserService.countFormalClientBrowsers:input_type -> pb.CountFormalClientBrowsersRequest
3, // 4: pb.FormalClientBrowserService.listFormalClientBrowsers:input_type -> pb.ListFormalClientBrowsersRequest
5, // 5: pb.FormalClientBrowserService.updateFormalClientBrowser:input_type -> pb.UpdateFormalClientBrowserRequest
6, // 6: pb.FormalClientBrowserService.findFormalClientBrowserWithDataId:input_type -> pb.FindFormalClientBrowserWithDataIdRequest
1, // 7: pb.FormalClientBrowserService.createFormalClientBrowser:output_type -> pb.CreateFormalClientBrowserResponse
9, // 8: pb.FormalClientBrowserService.countFormalClientBrowsers:output_type -> pb.RPCCountResponse
4, // 9: pb.FormalClientBrowserService.listFormalClientBrowsers:output_type -> pb.ListFormalClientBrowsersResponse
10, // 10: pb.FormalClientBrowserService.updateFormalClientBrowser:output_type -> pb.RPCSuccess
7, // 11: pb.FormalClientBrowserService.findFormalClientBrowserWithDataId:output_type -> pb.FindFormalClientBrowserWithDataIdResponse
7, // [7:12] is the sub-list for method output_type
2, // [2:7] is the sub-list for method input_type
2, // [2:2] is the sub-list for extension type_name
2, // [2:2] is the sub-list for extension extendee
0, // [0:2] is the sub-list for field type_name
}
func init() { file_service_formal_client_browser_proto_init() }
func file_service_formal_client_browser_proto_init() {
if File_service_formal_client_browser_proto != nil {
return
}
file_models_rpc_messages_proto_init()
file_models_model_formal_client_browser_proto_init()
if !protoimpl.UnsafeEnabled {
file_service_formal_client_browser_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateFormalClientBrowserRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_formal_client_browser_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateFormalClientBrowserResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_formal_client_browser_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CountFormalClientBrowsersRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_formal_client_browser_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListFormalClientBrowsersRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_formal_client_browser_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListFormalClientBrowsersResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_formal_client_browser_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateFormalClientBrowserRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_formal_client_browser_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindFormalClientBrowserWithDataIdRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_formal_client_browser_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindFormalClientBrowserWithDataIdResponse); 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_formal_client_browser_proto_rawDesc,
NumEnums: 0,
NumMessages: 8,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_service_formal_client_browser_proto_goTypes,
DependencyIndexes: file_service_formal_client_browser_proto_depIdxs,
MessageInfos: file_service_formal_client_browser_proto_msgTypes,
}.Build()
File_service_formal_client_browser_proto = out.File
file_service_formal_client_browser_proto_rawDesc = nil
file_service_formal_client_browser_proto_goTypes = nil
file_service_formal_client_browser_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
// FormalClientBrowserServiceClient is the client API for FormalClientBrowserService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type FormalClientBrowserServiceClient interface {
// 创建浏览器信息
CreateFormalClientBrowser(ctx context.Context, in *CreateFormalClientBrowserRequest, opts ...grpc.CallOption) (*CreateFormalClientBrowserResponse, error)
// 计算浏览器信息数量
CountFormalClientBrowsers(ctx context.Context, in *CountFormalClientBrowsersRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
// 列出单页浏览器信息
ListFormalClientBrowsers(ctx context.Context, in *ListFormalClientBrowsersRequest, opts ...grpc.CallOption) (*ListFormalClientBrowsersResponse, error)
// 修改浏览器信息
UpdateFormalClientBrowser(ctx context.Context, in *UpdateFormalClientBrowserRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
// 通过dataId查询浏览器信息
FindFormalClientBrowserWithDataId(ctx context.Context, in *FindFormalClientBrowserWithDataIdRequest, opts ...grpc.CallOption) (*FindFormalClientBrowserWithDataIdResponse, error)
}
type formalClientBrowserServiceClient struct {
cc grpc.ClientConnInterface
}
func NewFormalClientBrowserServiceClient(cc grpc.ClientConnInterface) FormalClientBrowserServiceClient {
return &formalClientBrowserServiceClient{cc}
}
func (c *formalClientBrowserServiceClient) CreateFormalClientBrowser(ctx context.Context, in *CreateFormalClientBrowserRequest, opts ...grpc.CallOption) (*CreateFormalClientBrowserResponse, error) {
out := new(CreateFormalClientBrowserResponse)
err := c.cc.Invoke(ctx, "/pb.FormalClientBrowserService/createFormalClientBrowser", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *formalClientBrowserServiceClient) CountFormalClientBrowsers(ctx context.Context, in *CountFormalClientBrowsersRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
out := new(RPCCountResponse)
err := c.cc.Invoke(ctx, "/pb.FormalClientBrowserService/countFormalClientBrowsers", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *formalClientBrowserServiceClient) ListFormalClientBrowsers(ctx context.Context, in *ListFormalClientBrowsersRequest, opts ...grpc.CallOption) (*ListFormalClientBrowsersResponse, error) {
out := new(ListFormalClientBrowsersResponse)
err := c.cc.Invoke(ctx, "/pb.FormalClientBrowserService/listFormalClientBrowsers", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *formalClientBrowserServiceClient) UpdateFormalClientBrowser(ctx context.Context, in *UpdateFormalClientBrowserRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
out := new(RPCSuccess)
err := c.cc.Invoke(ctx, "/pb.FormalClientBrowserService/updateFormalClientBrowser", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *formalClientBrowserServiceClient) FindFormalClientBrowserWithDataId(ctx context.Context, in *FindFormalClientBrowserWithDataIdRequest, opts ...grpc.CallOption) (*FindFormalClientBrowserWithDataIdResponse, error) {
out := new(FindFormalClientBrowserWithDataIdResponse)
err := c.cc.Invoke(ctx, "/pb.FormalClientBrowserService/findFormalClientBrowserWithDataId", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// FormalClientBrowserServiceServer is the server API for FormalClientBrowserService service.
type FormalClientBrowserServiceServer interface {
// 创建浏览器信息
CreateFormalClientBrowser(context.Context, *CreateFormalClientBrowserRequest) (*CreateFormalClientBrowserResponse, error)
// 计算浏览器信息数量
CountFormalClientBrowsers(context.Context, *CountFormalClientBrowsersRequest) (*RPCCountResponse, error)
// 列出单页浏览器信息
ListFormalClientBrowsers(context.Context, *ListFormalClientBrowsersRequest) (*ListFormalClientBrowsersResponse, error)
// 修改浏览器信息
UpdateFormalClientBrowser(context.Context, *UpdateFormalClientBrowserRequest) (*RPCSuccess, error)
// 通过dataId查询浏览器信息
FindFormalClientBrowserWithDataId(context.Context, *FindFormalClientBrowserWithDataIdRequest) (*FindFormalClientBrowserWithDataIdResponse, error)
}
// UnimplementedFormalClientBrowserServiceServer can be embedded to have forward compatible implementations.
type UnimplementedFormalClientBrowserServiceServer struct {
}
func (*UnimplementedFormalClientBrowserServiceServer) CreateFormalClientBrowser(context.Context, *CreateFormalClientBrowserRequest) (*CreateFormalClientBrowserResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateFormalClientBrowser not implemented")
}
func (*UnimplementedFormalClientBrowserServiceServer) CountFormalClientBrowsers(context.Context, *CountFormalClientBrowsersRequest) (*RPCCountResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CountFormalClientBrowsers not implemented")
}
func (*UnimplementedFormalClientBrowserServiceServer) ListFormalClientBrowsers(context.Context, *ListFormalClientBrowsersRequest) (*ListFormalClientBrowsersResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ListFormalClientBrowsers not implemented")
}
func (*UnimplementedFormalClientBrowserServiceServer) UpdateFormalClientBrowser(context.Context, *UpdateFormalClientBrowserRequest) (*RPCSuccess, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateFormalClientBrowser not implemented")
}
func (*UnimplementedFormalClientBrowserServiceServer) FindFormalClientBrowserWithDataId(context.Context, *FindFormalClientBrowserWithDataIdRequest) (*FindFormalClientBrowserWithDataIdResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindFormalClientBrowserWithDataId not implemented")
}
func RegisterFormalClientBrowserServiceServer(s *grpc.Server, srv FormalClientBrowserServiceServer) {
s.RegisterService(&_FormalClientBrowserService_serviceDesc, srv)
}
func _FormalClientBrowserService_CreateFormalClientBrowser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateFormalClientBrowserRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FormalClientBrowserServiceServer).CreateFormalClientBrowser(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.FormalClientBrowserService/CreateFormalClientBrowser",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FormalClientBrowserServiceServer).CreateFormalClientBrowser(ctx, req.(*CreateFormalClientBrowserRequest))
}
return interceptor(ctx, in, info, handler)
}
func _FormalClientBrowserService_CountFormalClientBrowsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CountFormalClientBrowsersRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FormalClientBrowserServiceServer).CountFormalClientBrowsers(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.FormalClientBrowserService/CountFormalClientBrowsers",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FormalClientBrowserServiceServer).CountFormalClientBrowsers(ctx, req.(*CountFormalClientBrowsersRequest))
}
return interceptor(ctx, in, info, handler)
}
func _FormalClientBrowserService_ListFormalClientBrowsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListFormalClientBrowsersRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FormalClientBrowserServiceServer).ListFormalClientBrowsers(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.FormalClientBrowserService/ListFormalClientBrowsers",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FormalClientBrowserServiceServer).ListFormalClientBrowsers(ctx, req.(*ListFormalClientBrowsersRequest))
}
return interceptor(ctx, in, info, handler)
}
func _FormalClientBrowserService_UpdateFormalClientBrowser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateFormalClientBrowserRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FormalClientBrowserServiceServer).UpdateFormalClientBrowser(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.FormalClientBrowserService/UpdateFormalClientBrowser",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FormalClientBrowserServiceServer).UpdateFormalClientBrowser(ctx, req.(*UpdateFormalClientBrowserRequest))
}
return interceptor(ctx, in, info, handler)
}
func _FormalClientBrowserService_FindFormalClientBrowserWithDataId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FindFormalClientBrowserWithDataIdRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FormalClientBrowserServiceServer).FindFormalClientBrowserWithDataId(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.FormalClientBrowserService/FindFormalClientBrowserWithDataId",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FormalClientBrowserServiceServer).FindFormalClientBrowserWithDataId(ctx, req.(*FindFormalClientBrowserWithDataIdRequest))
}
return interceptor(ctx, in, info, handler)
}
var _FormalClientBrowserService_serviceDesc = grpc.ServiceDesc{
ServiceName: "pb.FormalClientBrowserService",
HandlerType: (*FormalClientBrowserServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "createFormalClientBrowser",
Handler: _FormalClientBrowserService_CreateFormalClientBrowser_Handler,
},
{
MethodName: "countFormalClientBrowsers",
Handler: _FormalClientBrowserService_CountFormalClientBrowsers_Handler,
},
{
MethodName: "listFormalClientBrowsers",
Handler: _FormalClientBrowserService_ListFormalClientBrowsers_Handler,
},
{
MethodName: "updateFormalClientBrowser",
Handler: _FormalClientBrowserService_UpdateFormalClientBrowser_Handler,
},
{
MethodName: "findFormalClientBrowserWithDataId",
Handler: _FormalClientBrowserService_FindFormalClientBrowserWithDataId_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "service_formal_client_browser.proto",
}

View File

@@ -0,0 +1,968 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0
// protoc v3.19.4
// source: service_formal_client_system.proto
package pb
import (
context "context"
proto "github.com/golang/protobuf/proto"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4
// 创建操作系统信息
type CreateFormalClientSystemRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Codes []string `protobuf:"bytes,2,rep,name=codes,proto3" json:"codes,omitempty"`
DataId string `protobuf:"bytes,3,opt,name=dataId,proto3" json:"dataId,omitempty"`
}
func (x *CreateFormalClientSystemRequest) Reset() {
*x = CreateFormalClientSystemRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_formal_client_system_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateFormalClientSystemRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateFormalClientSystemRequest) ProtoMessage() {}
func (x *CreateFormalClientSystemRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_formal_client_system_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 CreateFormalClientSystemRequest.ProtoReflect.Descriptor instead.
func (*CreateFormalClientSystemRequest) Descriptor() ([]byte, []int) {
return file_service_formal_client_system_proto_rawDescGZIP(), []int{0}
}
func (x *CreateFormalClientSystemRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *CreateFormalClientSystemRequest) GetCodes() []string {
if x != nil {
return x.Codes
}
return nil
}
func (x *CreateFormalClientSystemRequest) GetDataId() string {
if x != nil {
return x.DataId
}
return ""
}
type CreateFormalClientSystemResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FormalClientSystemId int64 `protobuf:"varint,1,opt,name=formalClientSystemId,proto3" json:"formalClientSystemId,omitempty"`
}
func (x *CreateFormalClientSystemResponse) Reset() {
*x = CreateFormalClientSystemResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_formal_client_system_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateFormalClientSystemResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateFormalClientSystemResponse) ProtoMessage() {}
func (x *CreateFormalClientSystemResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_formal_client_system_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 CreateFormalClientSystemResponse.ProtoReflect.Descriptor instead.
func (*CreateFormalClientSystemResponse) Descriptor() ([]byte, []int) {
return file_service_formal_client_system_proto_rawDescGZIP(), []int{1}
}
func (x *CreateFormalClientSystemResponse) GetFormalClientSystemId() int64 {
if x != nil {
return x.FormalClientSystemId
}
return 0
}
// 计算操作系统信息数量
type CountFormalClientSystemsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"` // 可选
}
func (x *CountFormalClientSystemsRequest) Reset() {
*x = CountFormalClientSystemsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_formal_client_system_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CountFormalClientSystemsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CountFormalClientSystemsRequest) ProtoMessage() {}
func (x *CountFormalClientSystemsRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_formal_client_system_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 CountFormalClientSystemsRequest.ProtoReflect.Descriptor instead.
func (*CountFormalClientSystemsRequest) Descriptor() ([]byte, []int) {
return file_service_formal_client_system_proto_rawDescGZIP(), []int{2}
}
func (x *CountFormalClientSystemsRequest) GetKeyword() string {
if x != nil {
return x.Keyword
}
return ""
}
// 列出单页操作系统信息
type ListFormalClientSystemsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"` // 可选
Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
}
func (x *ListFormalClientSystemsRequest) Reset() {
*x = ListFormalClientSystemsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_formal_client_system_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListFormalClientSystemsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListFormalClientSystemsRequest) ProtoMessage() {}
func (x *ListFormalClientSystemsRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_formal_client_system_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 ListFormalClientSystemsRequest.ProtoReflect.Descriptor instead.
func (*ListFormalClientSystemsRequest) Descriptor() ([]byte, []int) {
return file_service_formal_client_system_proto_rawDescGZIP(), []int{3}
}
func (x *ListFormalClientSystemsRequest) GetKeyword() string {
if x != nil {
return x.Keyword
}
return ""
}
func (x *ListFormalClientSystemsRequest) GetOffset() int64 {
if x != nil {
return x.Offset
}
return 0
}
func (x *ListFormalClientSystemsRequest) GetSize() int64 {
if x != nil {
return x.Size
}
return 0
}
type ListFormalClientSystemsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FormalClientSystems []*FormalClientSystem `protobuf:"bytes,1,rep,name=formalClientSystems,proto3" json:"formalClientSystems,omitempty"`
}
func (x *ListFormalClientSystemsResponse) Reset() {
*x = ListFormalClientSystemsResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_formal_client_system_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListFormalClientSystemsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListFormalClientSystemsResponse) ProtoMessage() {}
func (x *ListFormalClientSystemsResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_formal_client_system_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 ListFormalClientSystemsResponse.ProtoReflect.Descriptor instead.
func (*ListFormalClientSystemsResponse) Descriptor() ([]byte, []int) {
return file_service_formal_client_system_proto_rawDescGZIP(), []int{4}
}
func (x *ListFormalClientSystemsResponse) GetFormalClientSystems() []*FormalClientSystem {
if x != nil {
return x.FormalClientSystems
}
return nil
}
// 修改操作系统信息
type UpdateFormalClientSystemRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FormalClientSystemId int64 `protobuf:"varint,1,opt,name=formalClientSystemId,proto3" json:"formalClientSystemId,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Codes []string `protobuf:"bytes,3,rep,name=codes,proto3" json:"codes,omitempty"`
DataId string `protobuf:"bytes,4,opt,name=dataId,proto3" json:"dataId,omitempty"`
}
func (x *UpdateFormalClientSystemRequest) Reset() {
*x = UpdateFormalClientSystemRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_formal_client_system_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateFormalClientSystemRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateFormalClientSystemRequest) ProtoMessage() {}
func (x *UpdateFormalClientSystemRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_formal_client_system_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 UpdateFormalClientSystemRequest.ProtoReflect.Descriptor instead.
func (*UpdateFormalClientSystemRequest) Descriptor() ([]byte, []int) {
return file_service_formal_client_system_proto_rawDescGZIP(), []int{5}
}
func (x *UpdateFormalClientSystemRequest) GetFormalClientSystemId() int64 {
if x != nil {
return x.FormalClientSystemId
}
return 0
}
func (x *UpdateFormalClientSystemRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *UpdateFormalClientSystemRequest) GetCodes() []string {
if x != nil {
return x.Codes
}
return nil
}
func (x *UpdateFormalClientSystemRequest) GetDataId() string {
if x != nil {
return x.DataId
}
return ""
}
// 通过dataId查询操作系统信息
type FindFormalClientSystemWithDataIdRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DataId string `protobuf:"bytes,1,opt,name=dataId,proto3" json:"dataId,omitempty"`
}
func (x *FindFormalClientSystemWithDataIdRequest) Reset() {
*x = FindFormalClientSystemWithDataIdRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_formal_client_system_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindFormalClientSystemWithDataIdRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindFormalClientSystemWithDataIdRequest) ProtoMessage() {}
func (x *FindFormalClientSystemWithDataIdRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_formal_client_system_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use FindFormalClientSystemWithDataIdRequest.ProtoReflect.Descriptor instead.
func (*FindFormalClientSystemWithDataIdRequest) Descriptor() ([]byte, []int) {
return file_service_formal_client_system_proto_rawDescGZIP(), []int{6}
}
func (x *FindFormalClientSystemWithDataIdRequest) GetDataId() string {
if x != nil {
return x.DataId
}
return ""
}
type FindFormalClientSystemWithDataIdResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FormalClientSystem *FormalClientSystem `protobuf:"bytes,1,opt,name=formalClientSystem,proto3" json:"formalClientSystem,omitempty"`
}
func (x *FindFormalClientSystemWithDataIdResponse) Reset() {
*x = FindFormalClientSystemWithDataIdResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_formal_client_system_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindFormalClientSystemWithDataIdResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindFormalClientSystemWithDataIdResponse) ProtoMessage() {}
func (x *FindFormalClientSystemWithDataIdResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_formal_client_system_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 FindFormalClientSystemWithDataIdResponse.ProtoReflect.Descriptor instead.
func (*FindFormalClientSystemWithDataIdResponse) Descriptor() ([]byte, []int) {
return file_service_formal_client_system_proto_rawDescGZIP(), []int{7}
}
func (x *FindFormalClientSystemWithDataIdResponse) GetFormalClientSystem() *FormalClientSystem {
if x != nil {
return x.FormalClientSystem
}
return nil
}
var File_service_formal_client_system_proto protoreflect.FileDescriptor
var file_service_formal_client_system_proto_rawDesc = []byte{
0x0a, 0x22, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6c,
0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x19, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73,
0x2f, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65,
0x6c, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f,
0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x63, 0x0a, 0x1f,
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65,
0x6e, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 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, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03,
0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x61, 0x74,
0x61, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x61, 0x74, 0x61, 0x49,
0x64, 0x22, 0x56, 0x0a, 0x20, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61,
0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x14, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43,
0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x03, 0x52, 0x14, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e,
0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x22, 0x3b, 0x0a, 0x1f, 0x43, 0x6f, 0x75,
0x6e, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x79,
0x73, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07,
0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b,
0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x66, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x6f,
0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d,
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77,
0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f,
0x72, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01,
0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69,
0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x6b,
0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65,
0x6e, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x12, 0x48, 0x0a, 0x13, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e,
0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16,
0x2e, 0x70, 0x62, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74,
0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x13, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c,
0x69, 0x65, 0x6e, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x97, 0x01, 0x0a, 0x1f,
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65,
0x6e, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
0x32, 0x0a, 0x14, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53,
0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x66,
0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65,
0x6d, 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, 0x63, 0x6f, 0x64, 0x65, 0x73,
0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x16, 0x0a,
0x06, 0x64, 0x61, 0x74, 0x61, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64,
0x61, 0x74, 0x61, 0x49, 0x64, 0x22, 0x41, 0x0a, 0x27, 0x46, 0x69, 0x6e, 0x64, 0x46, 0x6f, 0x72,
0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x57,
0x69, 0x74, 0x68, 0x44, 0x61, 0x74, 0x61, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x12, 0x16, 0x0a, 0x06, 0x64, 0x61, 0x74, 0x61, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x06, 0x64, 0x61, 0x74, 0x61, 0x49, 0x64, 0x22, 0x72, 0x0a, 0x28, 0x46, 0x69, 0x6e, 0x64,
0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x79, 0x73, 0x74,
0x65, 0x6d, 0x57, 0x69, 0x74, 0x68, 0x44, 0x61, 0x74, 0x61, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x12, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c,
0x69, 0x65, 0x6e, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65,
0x6e, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x12, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6c,
0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x32, 0x8d, 0x04, 0x0a,
0x19, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x79, 0x73,
0x74, 0x65, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x65, 0x0a, 0x18, 0x63, 0x72,
0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74,
0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61,
0x74, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x79,
0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x62,
0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69,
0x65, 0x6e, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x12, 0x55, 0x0a, 0x18, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c,
0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x23, 0x2e,
0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c,
0x69, 0x65, 0x6e, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x6c, 0x69, 0x73, 0x74,
0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x79, 0x73, 0x74,
0x65, 0x6d, 0x73, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x6f, 0x72,
0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73,
0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x79, 0x73,
0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x18,
0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65,
0x6e, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70,
0x64, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74,
0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e,
0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x7d, 0x0a,
0x20, 0x66, 0x69, 0x6e, 0x64, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e,
0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x57, 0x69, 0x74, 0x68, 0x44, 0x61, 0x74, 0x61, 0x49,
0x64, 0x12, 0x2b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x46, 0x6f, 0x72, 0x6d, 0x61,
0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x57, 0x69, 0x74,
0x68, 0x44, 0x61, 0x74, 0x61, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c,
0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c,
0x69, 0x65, 0x6e, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x57, 0x69, 0x74, 0x68, 0x44, 0x61,
0x74, 0x61, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04,
0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_service_formal_client_system_proto_rawDescOnce sync.Once
file_service_formal_client_system_proto_rawDescData = file_service_formal_client_system_proto_rawDesc
)
func file_service_formal_client_system_proto_rawDescGZIP() []byte {
file_service_formal_client_system_proto_rawDescOnce.Do(func() {
file_service_formal_client_system_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_formal_client_system_proto_rawDescData)
})
return file_service_formal_client_system_proto_rawDescData
}
var file_service_formal_client_system_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_service_formal_client_system_proto_goTypes = []interface{}{
(*CreateFormalClientSystemRequest)(nil), // 0: pb.CreateFormalClientSystemRequest
(*CreateFormalClientSystemResponse)(nil), // 1: pb.CreateFormalClientSystemResponse
(*CountFormalClientSystemsRequest)(nil), // 2: pb.CountFormalClientSystemsRequest
(*ListFormalClientSystemsRequest)(nil), // 3: pb.ListFormalClientSystemsRequest
(*ListFormalClientSystemsResponse)(nil), // 4: pb.ListFormalClientSystemsResponse
(*UpdateFormalClientSystemRequest)(nil), // 5: pb.UpdateFormalClientSystemRequest
(*FindFormalClientSystemWithDataIdRequest)(nil), // 6: pb.FindFormalClientSystemWithDataIdRequest
(*FindFormalClientSystemWithDataIdResponse)(nil), // 7: pb.FindFormalClientSystemWithDataIdResponse
(*FormalClientSystem)(nil), // 8: pb.FormalClientSystem
(*RPCCountResponse)(nil), // 9: pb.RPCCountResponse
(*RPCSuccess)(nil), // 10: pb.RPCSuccess
}
var file_service_formal_client_system_proto_depIdxs = []int32{
8, // 0: pb.ListFormalClientSystemsResponse.formalClientSystems:type_name -> pb.FormalClientSystem
8, // 1: pb.FindFormalClientSystemWithDataIdResponse.formalClientSystem:type_name -> pb.FormalClientSystem
0, // 2: pb.FormalClientSystemService.createFormalClientSystem:input_type -> pb.CreateFormalClientSystemRequest
2, // 3: pb.FormalClientSystemService.countFormalClientSystems:input_type -> pb.CountFormalClientSystemsRequest
3, // 4: pb.FormalClientSystemService.listFormalClientSystems:input_type -> pb.ListFormalClientSystemsRequest
5, // 5: pb.FormalClientSystemService.updateFormalClientSystem:input_type -> pb.UpdateFormalClientSystemRequest
6, // 6: pb.FormalClientSystemService.findFormalClientSystemWithDataId:input_type -> pb.FindFormalClientSystemWithDataIdRequest
1, // 7: pb.FormalClientSystemService.createFormalClientSystem:output_type -> pb.CreateFormalClientSystemResponse
9, // 8: pb.FormalClientSystemService.countFormalClientSystems:output_type -> pb.RPCCountResponse
4, // 9: pb.FormalClientSystemService.listFormalClientSystems:output_type -> pb.ListFormalClientSystemsResponse
10, // 10: pb.FormalClientSystemService.updateFormalClientSystem:output_type -> pb.RPCSuccess
7, // 11: pb.FormalClientSystemService.findFormalClientSystemWithDataId:output_type -> pb.FindFormalClientSystemWithDataIdResponse
7, // [7:12] is the sub-list for method output_type
2, // [2:7] is the sub-list for method input_type
2, // [2:2] is the sub-list for extension type_name
2, // [2:2] is the sub-list for extension extendee
0, // [0:2] is the sub-list for field type_name
}
func init() { file_service_formal_client_system_proto_init() }
func file_service_formal_client_system_proto_init() {
if File_service_formal_client_system_proto != nil {
return
}
file_models_rpc_messages_proto_init()
file_models_model_formal_client_system_proto_init()
if !protoimpl.UnsafeEnabled {
file_service_formal_client_system_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateFormalClientSystemRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_formal_client_system_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateFormalClientSystemResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_formal_client_system_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CountFormalClientSystemsRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_formal_client_system_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListFormalClientSystemsRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_formal_client_system_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListFormalClientSystemsResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_formal_client_system_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateFormalClientSystemRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_formal_client_system_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindFormalClientSystemWithDataIdRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_formal_client_system_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindFormalClientSystemWithDataIdResponse); 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_formal_client_system_proto_rawDesc,
NumEnums: 0,
NumMessages: 8,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_service_formal_client_system_proto_goTypes,
DependencyIndexes: file_service_formal_client_system_proto_depIdxs,
MessageInfos: file_service_formal_client_system_proto_msgTypes,
}.Build()
File_service_formal_client_system_proto = out.File
file_service_formal_client_system_proto_rawDesc = nil
file_service_formal_client_system_proto_goTypes = nil
file_service_formal_client_system_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
// FormalClientSystemServiceClient is the client API for FormalClientSystemService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type FormalClientSystemServiceClient interface {
// 创建操作系统信息
CreateFormalClientSystem(ctx context.Context, in *CreateFormalClientSystemRequest, opts ...grpc.CallOption) (*CreateFormalClientSystemResponse, error)
// 计算操作系统信息数量
CountFormalClientSystems(ctx context.Context, in *CountFormalClientSystemsRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
// 列出单页操作系统信息
ListFormalClientSystems(ctx context.Context, in *ListFormalClientSystemsRequest, opts ...grpc.CallOption) (*ListFormalClientSystemsResponse, error)
// 修改操作系统信息
UpdateFormalClientSystem(ctx context.Context, in *UpdateFormalClientSystemRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
// 通过dataId查询操作系统信息
FindFormalClientSystemWithDataId(ctx context.Context, in *FindFormalClientSystemWithDataIdRequest, opts ...grpc.CallOption) (*FindFormalClientSystemWithDataIdResponse, error)
}
type formalClientSystemServiceClient struct {
cc grpc.ClientConnInterface
}
func NewFormalClientSystemServiceClient(cc grpc.ClientConnInterface) FormalClientSystemServiceClient {
return &formalClientSystemServiceClient{cc}
}
func (c *formalClientSystemServiceClient) CreateFormalClientSystem(ctx context.Context, in *CreateFormalClientSystemRequest, opts ...grpc.CallOption) (*CreateFormalClientSystemResponse, error) {
out := new(CreateFormalClientSystemResponse)
err := c.cc.Invoke(ctx, "/pb.FormalClientSystemService/createFormalClientSystem", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *formalClientSystemServiceClient) CountFormalClientSystems(ctx context.Context, in *CountFormalClientSystemsRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
out := new(RPCCountResponse)
err := c.cc.Invoke(ctx, "/pb.FormalClientSystemService/countFormalClientSystems", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *formalClientSystemServiceClient) ListFormalClientSystems(ctx context.Context, in *ListFormalClientSystemsRequest, opts ...grpc.CallOption) (*ListFormalClientSystemsResponse, error) {
out := new(ListFormalClientSystemsResponse)
err := c.cc.Invoke(ctx, "/pb.FormalClientSystemService/listFormalClientSystems", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *formalClientSystemServiceClient) UpdateFormalClientSystem(ctx context.Context, in *UpdateFormalClientSystemRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
out := new(RPCSuccess)
err := c.cc.Invoke(ctx, "/pb.FormalClientSystemService/updateFormalClientSystem", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *formalClientSystemServiceClient) FindFormalClientSystemWithDataId(ctx context.Context, in *FindFormalClientSystemWithDataIdRequest, opts ...grpc.CallOption) (*FindFormalClientSystemWithDataIdResponse, error) {
out := new(FindFormalClientSystemWithDataIdResponse)
err := c.cc.Invoke(ctx, "/pb.FormalClientSystemService/findFormalClientSystemWithDataId", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// FormalClientSystemServiceServer is the server API for FormalClientSystemService service.
type FormalClientSystemServiceServer interface {
// 创建操作系统信息
CreateFormalClientSystem(context.Context, *CreateFormalClientSystemRequest) (*CreateFormalClientSystemResponse, error)
// 计算操作系统信息数量
CountFormalClientSystems(context.Context, *CountFormalClientSystemsRequest) (*RPCCountResponse, error)
// 列出单页操作系统信息
ListFormalClientSystems(context.Context, *ListFormalClientSystemsRequest) (*ListFormalClientSystemsResponse, error)
// 修改操作系统信息
UpdateFormalClientSystem(context.Context, *UpdateFormalClientSystemRequest) (*RPCSuccess, error)
// 通过dataId查询操作系统信息
FindFormalClientSystemWithDataId(context.Context, *FindFormalClientSystemWithDataIdRequest) (*FindFormalClientSystemWithDataIdResponse, error)
}
// UnimplementedFormalClientSystemServiceServer can be embedded to have forward compatible implementations.
type UnimplementedFormalClientSystemServiceServer struct {
}
func (*UnimplementedFormalClientSystemServiceServer) CreateFormalClientSystem(context.Context, *CreateFormalClientSystemRequest) (*CreateFormalClientSystemResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateFormalClientSystem not implemented")
}
func (*UnimplementedFormalClientSystemServiceServer) CountFormalClientSystems(context.Context, *CountFormalClientSystemsRequest) (*RPCCountResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CountFormalClientSystems not implemented")
}
func (*UnimplementedFormalClientSystemServiceServer) ListFormalClientSystems(context.Context, *ListFormalClientSystemsRequest) (*ListFormalClientSystemsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ListFormalClientSystems not implemented")
}
func (*UnimplementedFormalClientSystemServiceServer) UpdateFormalClientSystem(context.Context, *UpdateFormalClientSystemRequest) (*RPCSuccess, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateFormalClientSystem not implemented")
}
func (*UnimplementedFormalClientSystemServiceServer) FindFormalClientSystemWithDataId(context.Context, *FindFormalClientSystemWithDataIdRequest) (*FindFormalClientSystemWithDataIdResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindFormalClientSystemWithDataId not implemented")
}
func RegisterFormalClientSystemServiceServer(s *grpc.Server, srv FormalClientSystemServiceServer) {
s.RegisterService(&_FormalClientSystemService_serviceDesc, srv)
}
func _FormalClientSystemService_CreateFormalClientSystem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateFormalClientSystemRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FormalClientSystemServiceServer).CreateFormalClientSystem(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.FormalClientSystemService/CreateFormalClientSystem",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FormalClientSystemServiceServer).CreateFormalClientSystem(ctx, req.(*CreateFormalClientSystemRequest))
}
return interceptor(ctx, in, info, handler)
}
func _FormalClientSystemService_CountFormalClientSystems_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CountFormalClientSystemsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FormalClientSystemServiceServer).CountFormalClientSystems(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.FormalClientSystemService/CountFormalClientSystems",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FormalClientSystemServiceServer).CountFormalClientSystems(ctx, req.(*CountFormalClientSystemsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _FormalClientSystemService_ListFormalClientSystems_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListFormalClientSystemsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FormalClientSystemServiceServer).ListFormalClientSystems(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.FormalClientSystemService/ListFormalClientSystems",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FormalClientSystemServiceServer).ListFormalClientSystems(ctx, req.(*ListFormalClientSystemsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _FormalClientSystemService_UpdateFormalClientSystem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateFormalClientSystemRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FormalClientSystemServiceServer).UpdateFormalClientSystem(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.FormalClientSystemService/UpdateFormalClientSystem",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FormalClientSystemServiceServer).UpdateFormalClientSystem(ctx, req.(*UpdateFormalClientSystemRequest))
}
return interceptor(ctx, in, info, handler)
}
func _FormalClientSystemService_FindFormalClientSystemWithDataId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FindFormalClientSystemWithDataIdRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FormalClientSystemServiceServer).FindFormalClientSystemWithDataId(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.FormalClientSystemService/FindFormalClientSystemWithDataId",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FormalClientSystemServiceServer).FindFormalClientSystemWithDataId(ctx, req.(*FindFormalClientSystemWithDataIdRequest))
}
return interceptor(ctx, in, info, handler)
}
var _FormalClientSystemService_serviceDesc = grpc.ServiceDesc{
ServiceName: "pb.FormalClientSystemService",
HandlerType: (*FormalClientSystemServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "createFormalClientSystem",
Handler: _FormalClientSystemService_CreateFormalClientSystem_Handler,
},
{
MethodName: "countFormalClientSystems",
Handler: _FormalClientSystemService_CountFormalClientSystems_Handler,
},
{
MethodName: "listFormalClientSystems",
Handler: _FormalClientSystemService_ListFormalClientSystems_Handler,
},
{
MethodName: "updateFormalClientSystem",
Handler: _FormalClientSystemService_UpdateFormalClientSystem_Handler,
},
{
MethodName: "findFormalClientSystemWithDataId",
Handler: _FormalClientSystemService_FindFormalClientSystemWithDataId_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "service_formal_client_system.proto",
}

View File

@@ -0,0 +1,12 @@
syntax = "proto3";
option go_package = "./pb";
package pb;
message FormalClientBrowser {
int64 id = 1;
string name = 2;
repeated string codes = 3;
string dataId = 4;
int32 state = 5;
}

View File

@@ -0,0 +1,12 @@
syntax = "proto3";
option go_package = "./pb";
package pb;
message FormalClientSystem {
int64 id = 1;
string name = 2;
repeated string codes = 3;
string dataId = 4;
int32 state = 5;
}

View File

@@ -0,0 +1,69 @@
syntax = "proto3";
option go_package = "./pb";
package pb;
import "models/rpc_messages.proto";
import "models/model_formal_client_browser.proto";
// 浏览器信息库服务
service FormalClientBrowserService {
// 创建浏览器信息
rpc createFormalClientBrowser(CreateFormalClientBrowserRequest) returns (CreateFormalClientBrowserResponse);
// 计算浏览器信息数量
rpc countFormalClientBrowsers(CountFormalClientBrowsersRequest) returns (RPCCountResponse);
// 列出单页浏览器信息
rpc listFormalClientBrowsers(ListFormalClientBrowsersRequest) returns (ListFormalClientBrowsersResponse);
// 修改浏览器信息
rpc updateFormalClientBrowser(UpdateFormalClientBrowserRequest) returns (RPCSuccess);
// 通过dataId查询浏览器信息
rpc findFormalClientBrowserWithDataId(FindFormalClientBrowserWithDataIdRequest) returns (FindFormalClientBrowserWithDataIdResponse);
}
// 创建浏览器信息
message CreateFormalClientBrowserRequest {
string name = 1;
repeated string codes = 2;
string dataId = 3;
}
message CreateFormalClientBrowserResponse {
int64 formalClientBrowserId = 1;
}
// 计算浏览器信息数量
message CountFormalClientBrowsersRequest {
string keyword = 1; // 可选
}
// 列出单页浏览器信息
message ListFormalClientBrowsersRequest {
string keyword = 1; // 可选
int64 offset = 2;
int64 size = 3;
}
message ListFormalClientBrowsersResponse {
repeated FormalClientBrowser formalClientBrowsers = 1;
}
// 修改浏览器信息
message UpdateFormalClientBrowserRequest {
int64 formalClientBrowserId = 1;
string name = 2;
repeated string codes = 3;
string dataId = 4;
}
// 通过dataId查询浏览器信息
message FindFormalClientBrowserWithDataIdRequest {
string dataId = 1;
}
message FindFormalClientBrowserWithDataIdResponse {
FormalClientBrowser formalClientBrowser = 1;
}

View File

@@ -0,0 +1,69 @@
syntax = "proto3";
option go_package = "./pb";
package pb;
import "models/rpc_messages.proto";
import "models/model_formal_client_system.proto";
// 操作系统信息库服务
service FormalClientSystemService {
// 创建操作系统信息
rpc createFormalClientSystem(CreateFormalClientSystemRequest) returns (CreateFormalClientSystemResponse);
// 计算操作系统信息数量
rpc countFormalClientSystems(CountFormalClientSystemsRequest) returns (RPCCountResponse);
// 列出单页操作系统信息
rpc listFormalClientSystems(ListFormalClientSystemsRequest) returns (ListFormalClientSystemsResponse);
// 修改操作系统信息
rpc updateFormalClientSystem(UpdateFormalClientSystemRequest) returns (RPCSuccess);
// 通过dataId查询操作系统信息
rpc findFormalClientSystemWithDataId(FindFormalClientSystemWithDataIdRequest) returns (FindFormalClientSystemWithDataIdResponse);
}
// 创建操作系统信息
message CreateFormalClientSystemRequest {
string name = 1;
repeated string codes = 2;
string dataId = 3;
}
message CreateFormalClientSystemResponse {
int64 formalClientSystemId = 1;
}
// 计算操作系统信息数量
message CountFormalClientSystemsRequest {
string keyword = 1; // 可选
}
// 列出单页操作系统信息
message ListFormalClientSystemsRequest {
string keyword = 1; // 可选
int64 offset = 2;
int64 size = 3;
}
message ListFormalClientSystemsResponse {
repeated FormalClientSystem formalClientSystems = 1;
}
// 修改操作系统信息
message UpdateFormalClientSystemRequest {
int64 formalClientSystemId = 1;
string name = 2;
repeated string codes = 3;
string dataId = 4;
}
// 通过dataId查询操作系统信息
message FindFormalClientSystemWithDataIdRequest {
string dataId = 1;
}
message FindFormalClientSystemWithDataIdResponse {
FormalClientSystem formalClientSystem = 1;
}