| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.36.6-modify
- // protoc v6.31.1
- // source: kuban/api/file.proto
- package annotations
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- _ "google.golang.org/protobuf/types/descriptorpb"
- reflect "reflect"
- sync "sync"
- 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)
- )
- type File struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename"`
- Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content"`
- Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *File) Reset() {
- *x = File{}
- mi := &file_kuban_api_file_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *File) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*File) ProtoMessage() {}
- func (x *File) ProtoReflect() protoreflect.Message {
- mi := &file_kuban_api_file_proto_msgTypes[0]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use File.ProtoReflect.Descriptor instead.
- func (*File) Descriptor() ([]byte, []int) {
- return file_kuban_api_file_proto_rawDescGZIP(), []int{0}
- }
- func (x *File) GetFilename() string {
- if x != nil {
- return x.Filename
- }
- return ""
- }
- func (x *File) GetContent() []byte {
- if x != nil {
- return x.Content
- }
- return nil
- }
- func (x *File) GetSize() int64 {
- if x != nil {
- return x.Size
- }
- return 0
- }
- var File_kuban_api_file_proto protoreflect.FileDescriptor
- const file_kuban_api_file_proto_rawDesc = "" +
- "\n" +
- "\x14kuban/api/file.proto\x12\tkuban.api\x1a google/protobuf/descriptor.proto\"P\n" +
- "\x04File\x12\x1a\n" +
- "\bfilename\x18\x01 \x01(\tR\bfilename\x12\x18\n" +
- "\acontent\x18\x02 \x01(\fR\acontent\x12\x12\n" +
- "\x04size\x18\x03 \x01(\x03R\x04sizeBCZAgit.ikuban.com/server/kubanapis/kuban/api/annotations;annotationsb\x06proto3"
- var (
- file_kuban_api_file_proto_rawDescOnce sync.Once
- file_kuban_api_file_proto_rawDescData []byte
- )
- func file_kuban_api_file_proto_rawDescGZIP() []byte {
- file_kuban_api_file_proto_rawDescOnce.Do(func() {
- file_kuban_api_file_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_kuban_api_file_proto_rawDesc), len(file_kuban_api_file_proto_rawDesc)))
- })
- return file_kuban_api_file_proto_rawDescData
- }
- var file_kuban_api_file_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
- var file_kuban_api_file_proto_goTypes = []any{
- (*File)(nil), // 0: kuban.api.File
- }
- var file_kuban_api_file_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_kuban_api_file_proto_init() }
- func file_kuban_api_file_proto_init() {
- if File_kuban_api_file_proto != nil {
- return
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: unsafe.Slice(unsafe.StringData(file_kuban_api_file_proto_rawDesc), len(file_kuban_api_file_proto_rawDesc)),
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_kuban_api_file_proto_goTypes,
- DependencyIndexes: file_kuban_api_file_proto_depIdxs,
- MessageInfos: file_kuban_api_file_proto_msgTypes,
- }.Build()
- File_kuban_api_file_proto = out.File
- file_kuban_api_file_proto_goTypes = nil
- file_kuban_api_file_proto_depIdxs = nil
- }
|