protobuf

package
v0.0.0-...-ac55ef5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use File.ProtoReflect.Descriptor instead.

func (*File) GetData

func (x *File) GetData() []byte

func (*File) GetId

func (x *File) GetId() int32

func (*File) GetMetadata

func (x *File) GetMetadata() *FileMetadata

func (*File) GetStatus

func (x *File) GetStatus() string

func (*File) ProtoMessage

func (*File) ProtoMessage()

func (*File) ProtoReflect

func (x *File) ProtoReflect() protoreflect.Message

func (*File) Reset

func (x *File) Reset()

func (*File) String

func (x *File) String() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL