protodtos

package
v0.0.0-...-b1bbf48 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_fileinfo_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Envelope

type Envelope struct {
	Headers map[string]string `` /* 155-byte string literal not displayed */
	Status  uint32            `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*Envelope) Descriptor deprecated

func (*Envelope) Descriptor() ([]byte, []int)

Deprecated: Use Envelope.ProtoReflect.Descriptor instead.

func (*Envelope) GetHeaders

func (x *Envelope) GetHeaders() map[string]string

func (*Envelope) GetStatus

func (x *Envelope) GetStatus() uint32

func (*Envelope) ProtoMessage

func (*Envelope) ProtoMessage()

func (*Envelope) ProtoReflect

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

func (*Envelope) Reset

func (x *Envelope) Reset()

func (*Envelope) String

func (x *Envelope) String() string

type FileInformation

type FileInformation struct {
	FileMime      *FileMIME              `protobuf:"bytes,1,opt,name=file_mime,json=fileMime,proto3" json:"file_mime,omitempty"`
	Envelope      *Envelope              `protobuf:"bytes,2,opt,name=envelope,proto3" json:"envelope,omitempty"`
	Content       []byte                 `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	Checksum      []byte                 `protobuf:"bytes,4,opt,name=checksum,proto3" json:"checksum,omitempty"`
	CreatedAt     *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	ModifiedAt    *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=modified_at,json=modifiedAt,proto3" json:"modified_at,omitempty"`
	ExtraMetadata map[string]string      `` /* 188-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*FileInformation) Descriptor deprecated

func (*FileInformation) Descriptor() ([]byte, []int)

Deprecated: Use FileInformation.ProtoReflect.Descriptor instead.

func (*FileInformation) GetChecksum

func (x *FileInformation) GetChecksum() []byte

func (*FileInformation) GetContent

func (x *FileInformation) GetContent() []byte

func (*FileInformation) GetCreatedAt

func (x *FileInformation) GetCreatedAt() *timestamppb.Timestamp

func (*FileInformation) GetEnvelope

func (x *FileInformation) GetEnvelope() *Envelope

func (*FileInformation) GetExtraMetadata

func (x *FileInformation) GetExtraMetadata() map[string]string

func (*FileInformation) GetFileMime

func (x *FileInformation) GetFileMime() *FileMIME

func (*FileInformation) GetModifiedAt

func (x *FileInformation) GetModifiedAt() *timestamppb.Timestamp

func (*FileInformation) ProtoMessage

func (*FileInformation) ProtoMessage()

func (*FileInformation) ProtoReflect

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

func (*FileInformation) Reset

func (x *FileInformation) Reset()

func (*FileInformation) String

func (x *FileInformation) String() string

type FileMIME

type FileMIME struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Extension string `protobuf:"bytes,2,opt,name=extension,proto3" json:"extension,omitempty"`
	MimeType  string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	// contains filtered or unexported fields
}

func (*FileMIME) Descriptor deprecated

func (*FileMIME) Descriptor() ([]byte, []int)

Deprecated: Use FileMIME.ProtoReflect.Descriptor instead.

func (*FileMIME) GetExtension

func (x *FileMIME) GetExtension() string

func (*FileMIME) GetMimeType

func (x *FileMIME) GetMimeType() string

func (*FileMIME) GetName

func (x *FileMIME) GetName() string

func (*FileMIME) ProtoMessage

func (*FileMIME) ProtoMessage()

func (*FileMIME) ProtoReflect

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

func (*FileMIME) Reset

func (x *FileMIME) Reset()

func (*FileMIME) String

func (x *FileMIME) String() string

Jump to

Keyboard shortcuts

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