Documentation ¶
Index ¶
- Variables
- type File
- func (*File) Descriptor() ([]byte, []int)deprecated
- func (x *File) GetData() []byte
- func (x *File) GetId() int32
- func (x *File) GetMetadata() *FileMetadata
- func (x *File) GetStatus() string
- func (*File) ProtoMessage()
- func (x *File) ProtoReflect() protoreflect.Message
- func (x *File) Reset()
- func (x *File) String() string
- type FileMetadata
- func (*FileMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *FileMetadata) GetExtension() string
- func (x *FileMetadata) GetFilename() string
- func (x *FileMetadata) GetFilesize() int64
- func (*FileMetadata) ProtoMessage()
- func (x *FileMetadata) ProtoReflect() protoreflect.Message
- func (x *FileMetadata) Reset()
- func (x *FileMetadata) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_jcloud_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Metadata *FileMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*File) Descriptor
deprecated
func (*File) GetMetadata ¶
func (x *File) GetMetadata() *FileMetadata
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
func (*File) ProtoReflect ¶
func (x *File) ProtoReflect() protoreflect.Message
type FileMetadata ¶
type FileMetadata struct { Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` Extension string `protobuf:"bytes,2,opt,name=extension,proto3" json:"extension,omitempty"` Filesize int64 `protobuf:"varint,3,opt,name=filesize,proto3" json:"filesize,omitempty"` // contains filtered or unexported fields }
func (*FileMetadata) Descriptor
deprecated
func (*FileMetadata) Descriptor() ([]byte, []int)
Deprecated: Use FileMetadata.ProtoReflect.Descriptor instead.
func (*FileMetadata) GetExtension ¶
func (x *FileMetadata) GetExtension() string
func (*FileMetadata) GetFilename ¶
func (x *FileMetadata) GetFilename() string
func (*FileMetadata) GetFilesize ¶
func (x *FileMetadata) GetFilesize() int64
func (*FileMetadata) ProtoMessage ¶
func (*FileMetadata) ProtoMessage()
func (*FileMetadata) ProtoReflect ¶
func (x *FileMetadata) ProtoReflect() protoreflect.Message
func (*FileMetadata) Reset ¶
func (x *FileMetadata) Reset()
func (*FileMetadata) String ¶
func (x *FileMetadata) String() string
Click to show internal directories.
Click to hide internal directories.