2022-10-31 10:49:21 +00:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// versions:
|
|
|
|
// protoc-gen-go v1.28.1
|
|
|
|
// protoc v3.11.2
|
|
|
|
// source: spis.proto
|
|
|
|
|
|
|
|
package __
|
|
|
|
|
|
|
|
import (
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
reflect "reflect"
|
|
|
|
sync "sync"
|
|
|
|
)
|
|
|
|
|
|
|
|
const (
|
|
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
|
)
|
|
|
|
|
2022-11-01 13:02:37 +00:00
|
|
|
// API: SystemCall
|
|
|
|
// ------------------------------------------------------------------------------
|
|
|
|
type SystemCallRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SystemCallRequest) Reset() {
|
|
|
|
*x = SystemCallRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_spis_proto_msgTypes[0]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SystemCallRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*SystemCallRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *SystemCallRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_spis_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 SystemCallRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SystemCallRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return file_spis_proto_rawDescGZIP(), []int{0}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SystemCallRequest) GetCommand() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Command
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type SystemCallResult struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SystemCallResult) Reset() {
|
|
|
|
*x = SystemCallResult{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_spis_proto_msgTypes[1]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SystemCallResult) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*SystemCallResult) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *SystemCallResult) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_spis_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 SystemCallResult.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SystemCallResult) Descriptor() ([]byte, []int) {
|
|
|
|
return file_spis_proto_rawDescGZIP(), []int{1}
|
|
|
|
}
|
|
|
|
|
2022-10-31 10:49:21 +00:00
|
|
|
// API: Echo
|
|
|
|
// ------------------------------------------------------------------------------
|
|
|
|
type EchoRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *EchoRequest) Reset() {
|
|
|
|
*x = EchoRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-11-01 13:02:37 +00:00
|
|
|
mi := &file_spis_proto_msgTypes[2]
|
2022-10-31 10:49:21 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *EchoRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*EchoRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *EchoRequest) ProtoReflect() protoreflect.Message {
|
2022-11-01 13:02:37 +00:00
|
|
|
mi := &file_spis_proto_msgTypes[2]
|
2022-10-31 10:49:21 +00:00
|
|
|
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 EchoRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*EchoRequest) Descriptor() ([]byte, []int) {
|
2022-11-01 13:02:37 +00:00
|
|
|
return file_spis_proto_rawDescGZIP(), []int{2}
|
2022-10-31 10:49:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *EchoRequest) GetDocument() *Document {
|
|
|
|
if x != nil {
|
|
|
|
return x.Document
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type EchoResult struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *EchoResult) Reset() {
|
|
|
|
*x = EchoResult{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-11-01 13:02:37 +00:00
|
|
|
mi := &file_spis_proto_msgTypes[3]
|
2022-10-31 10:49:21 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *EchoResult) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*EchoResult) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *EchoResult) ProtoReflect() protoreflect.Message {
|
2022-11-01 13:02:37 +00:00
|
|
|
mi := &file_spis_proto_msgTypes[3]
|
2022-10-31 10:49:21 +00:00
|
|
|
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 EchoResult.ProtoReflect.Descriptor instead.
|
|
|
|
func (*EchoResult) Descriptor() ([]byte, []int) {
|
2022-11-01 13:02:37 +00:00
|
|
|
return file_spis_proto_rawDescGZIP(), []int{3}
|
2022-10-31 10:49:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *EchoResult) GetDocument() *Document {
|
|
|
|
if x != nil {
|
|
|
|
return x.Document
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
var File_spis_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
var file_spis_proto_rawDesc = []byte{
|
|
|
|
0x0a, 0x0a, 0x73, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72,
|
|
|
|
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x0d, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e,
|
2022-11-01 13:02:37 +00:00
|
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2d, 0x0a, 0x11, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x43,
|
|
|
|
0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f,
|
|
|
|
0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d,
|
|
|
|
0x6d, 0x61, 0x6e, 0x64, 0x22, 0x12, 0x0a, 0x10, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x43, 0x61,
|
|
|
|
0x6c, 0x6c, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x3d, 0x0a, 0x0b, 0x45, 0x63, 0x68, 0x6f,
|
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d,
|
|
|
|
0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
|
|
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x64,
|
|
|
|
0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x3c, 0x0a, 0x0a, 0x45, 0x63, 0x68, 0x6f, 0x52,
|
|
|
|
0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x2e, 0x0a, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
|
|
|
|
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
|
|
|
|
0x75, 0x66, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x64, 0x6f, 0x63,
|
|
|
|
0x75, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
|
|
|
0x74, 0x6f, 0x33,
|
2022-10-31 10:49:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
var (
|
|
|
|
file_spis_proto_rawDescOnce sync.Once
|
|
|
|
file_spis_proto_rawDescData = file_spis_proto_rawDesc
|
|
|
|
)
|
|
|
|
|
|
|
|
func file_spis_proto_rawDescGZIP() []byte {
|
|
|
|
file_spis_proto_rawDescOnce.Do(func() {
|
|
|
|
file_spis_proto_rawDescData = protoimpl.X.CompressGZIP(file_spis_proto_rawDescData)
|
|
|
|
})
|
|
|
|
return file_spis_proto_rawDescData
|
|
|
|
}
|
|
|
|
|
2022-11-01 13:02:37 +00:00
|
|
|
var file_spis_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
2022-10-31 10:49:21 +00:00
|
|
|
var file_spis_proto_goTypes = []interface{}{
|
2022-11-01 13:02:37 +00:00
|
|
|
(*SystemCallRequest)(nil), // 0: protobuf.SystemCallRequest
|
|
|
|
(*SystemCallResult)(nil), // 1: protobuf.SystemCallResult
|
|
|
|
(*EchoRequest)(nil), // 2: protobuf.EchoRequest
|
|
|
|
(*EchoResult)(nil), // 3: protobuf.EchoResult
|
|
|
|
(*Document)(nil), // 4: protobuf.Document
|
2022-10-31 10:49:21 +00:00
|
|
|
}
|
|
|
|
var file_spis_proto_depIdxs = []int32{
|
2022-11-01 13:02:37 +00:00
|
|
|
4, // 0: protobuf.EchoRequest.document:type_name -> protobuf.Document
|
|
|
|
4, // 1: protobuf.EchoResult.document:type_name -> protobuf.Document
|
2022-10-31 10:49:21 +00:00
|
|
|
2, // [2:2] is the sub-list for method output_type
|
|
|
|
2, // [2:2] 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_spis_proto_init() }
|
|
|
|
func file_spis_proto_init() {
|
|
|
|
if File_spis_proto != nil {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
file_objects_proto_init()
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
file_spis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
2022-11-01 13:02:37 +00:00
|
|
|
switch v := v.(*SystemCallRequest); i {
|
2022-10-31 10:49:21 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_spis_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
2022-11-01 13:02:37 +00:00
|
|
|
switch v := v.(*SystemCallResult); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_spis_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*EchoRequest); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_spis_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
2022-10-31 10:49:21 +00:00
|
|
|
switch v := v.(*EchoResult); 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_spis_proto_rawDesc,
|
|
|
|
NumEnums: 0,
|
2022-11-01 13:02:37 +00:00
|
|
|
NumMessages: 4,
|
2022-10-31 10:49:21 +00:00
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 0,
|
|
|
|
},
|
|
|
|
GoTypes: file_spis_proto_goTypes,
|
|
|
|
DependencyIndexes: file_spis_proto_depIdxs,
|
|
|
|
MessageInfos: file_spis_proto_msgTypes,
|
|
|
|
}.Build()
|
|
|
|
File_spis_proto = out.File
|
|
|
|
file_spis_proto_rawDesc = nil
|
|
|
|
file_spis_proto_goTypes = nil
|
|
|
|
file_spis_proto_depIdxs = nil
|
|
|
|
}
|