mirror of
https://github.com/criyle/go-judge.git
synced 2025-09-26 22:39:12 +08:00
103 lines
3.7 KiB
Go
103 lines
3.7 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.6
|
|
// protoc v6.31.1
|
|
// source: judge.proto
|
|
|
|
//go:build protoopaque
|
|
|
|
package pb
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
_ "google.golang.org/protobuf/types/gofeaturespb"
|
|
emptypb "google.golang.org/protobuf/types/known/emptypb"
|
|
reflect "reflect"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
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)
|
|
)
|
|
|
|
var File_judge_proto protoreflect.FileDescriptor
|
|
|
|
const file_judge_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\vjudge.proto\x12\x02pb\x1a\x1bgoogle/protobuf/empty.proto\x1a\rrequest.proto\x1a\x0eresponse.proto\x1a\x14stream_request.proto\x1a\x15stream_response.proto\x1a\n" +
|
|
"file.proto\x1a!google/protobuf/go_features.proto2\x9e\x02\n" +
|
|
"\bExecutor\x12!\n" +
|
|
"\x04Exec\x12\v.pb.Request\x1a\f.pb.Response\x127\n" +
|
|
"\n" +
|
|
"ExecStream\x12\x11.pb.StreamRequest\x1a\x12.pb.StreamResponse(\x010\x01\x124\n" +
|
|
"\bFileList\x12\x16.google.protobuf.Empty\x1a\x10.pb.FileListType\x12&\n" +
|
|
"\aFileGet\x12\n" +
|
|
".pb.FileID\x1a\x0f.pb.FileContent\x12&\n" +
|
|
"\aFileAdd\x12\x0f.pb.FileContent\x1a\n" +
|
|
".pb.FileID\x120\n" +
|
|
"\n" +
|
|
"FileDelete\x12\n" +
|
|
".pb.FileID\x1a\x16.google.protobuf.EmptyB)Z\x1dgithub.com/criyle/go-judge/pb\x92\x03\a\xd2>\x02\x10\x02\b\x02b\beditionsp\xe8\a"
|
|
|
|
var file_judge_proto_goTypes = []any{
|
|
(*Request)(nil), // 0: pb.Request
|
|
(*StreamRequest)(nil), // 1: pb.StreamRequest
|
|
(*emptypb.Empty)(nil), // 2: google.protobuf.Empty
|
|
(*FileID)(nil), // 3: pb.FileID
|
|
(*FileContent)(nil), // 4: pb.FileContent
|
|
(*Response)(nil), // 5: pb.Response
|
|
(*StreamResponse)(nil), // 6: pb.StreamResponse
|
|
(*FileListType)(nil), // 7: pb.FileListType
|
|
}
|
|
var file_judge_proto_depIdxs = []int32{
|
|
0, // 0: pb.Executor.Exec:input_type -> pb.Request
|
|
1, // 1: pb.Executor.ExecStream:input_type -> pb.StreamRequest
|
|
2, // 2: pb.Executor.FileList:input_type -> google.protobuf.Empty
|
|
3, // 3: pb.Executor.FileGet:input_type -> pb.FileID
|
|
4, // 4: pb.Executor.FileAdd:input_type -> pb.FileContent
|
|
3, // 5: pb.Executor.FileDelete:input_type -> pb.FileID
|
|
5, // 6: pb.Executor.Exec:output_type -> pb.Response
|
|
6, // 7: pb.Executor.ExecStream:output_type -> pb.StreamResponse
|
|
7, // 8: pb.Executor.FileList:output_type -> pb.FileListType
|
|
4, // 9: pb.Executor.FileGet:output_type -> pb.FileContent
|
|
3, // 10: pb.Executor.FileAdd:output_type -> pb.FileID
|
|
2, // 11: pb.Executor.FileDelete:output_type -> google.protobuf.Empty
|
|
6, // [6:12] is the sub-list for method output_type
|
|
0, // [0:6] is the sub-list for method input_type
|
|
0, // [0:0] is the sub-list for extension type_name
|
|
0, // [0:0] is the sub-list for extension extendee
|
|
0, // [0:0] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_judge_proto_init() }
|
|
func file_judge_proto_init() {
|
|
if File_judge_proto != nil {
|
|
return
|
|
}
|
|
file_request_proto_init()
|
|
file_response_proto_init()
|
|
file_stream_request_proto_init()
|
|
file_stream_response_proto_init()
|
|
file_file_proto_init()
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_judge_proto_rawDesc), len(file_judge_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 0,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_judge_proto_goTypes,
|
|
DependencyIndexes: file_judge_proto_depIdxs,
|
|
}.Build()
|
|
File_judge_proto = out.File
|
|
file_judge_proto_goTypes = nil
|
|
file_judge_proto_depIdxs = nil
|
|
}
|