controlpb

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_control_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type FileMetadata

type FileMetadata struct {
	TransferId  string `protobuf:"bytes,1,opt,name=transfer_id,json=transferId,proto3" json:"transfer_id,omitempty"`
	FileName    string `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	FileSize    int64  `protobuf:"varint,3,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"`
	IsDirectory bool   `protobuf:"varint,4,opt,name=is_directory,json=isDirectory,proto3" json:"is_directory,omitempty"`
	// contains filtered or unexported fields
}

func (*FileMetadata) Descriptor deprecated

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

Deprecated: Use FileMetadata.ProtoReflect.Descriptor instead.

func (*FileMetadata) GetFileName

func (x *FileMetadata) GetFileName() string

func (*FileMetadata) GetFileSize

func (x *FileMetadata) GetFileSize() int64

func (*FileMetadata) GetIsDirectory

func (x *FileMetadata) GetIsDirectory() bool

func (*FileMetadata) GetTransferId

func (x *FileMetadata) GetTransferId() string

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

type FileMetadataList

type FileMetadataList struct {
	ListId string          `protobuf:"bytes,1,opt,name=list_id,json=listId,proto3" json:"list_id,omitempty"`
	Files  []*FileMetadata `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"`
	// contains filtered or unexported fields
}

func (*FileMetadataList) Descriptor deprecated

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

Deprecated: Use FileMetadataList.ProtoReflect.Descriptor instead.

func (*FileMetadataList) GetFiles

func (x *FileMetadataList) GetFiles() []*FileMetadata

func (*FileMetadataList) GetListId

func (x *FileMetadataList) GetListId() string

func (*FileMetadataList) ProtoMessage

func (*FileMetadataList) ProtoMessage()

func (*FileMetadataList) ProtoReflect

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

func (*FileMetadataList) Reset

func (x *FileMetadataList) Reset()

func (*FileMetadataList) String

func (x *FileMetadataList) String() string

type TransferConsent

type TransferConsent struct {
	Consent bool   `protobuf:"varint,1,opt,name=consent,proto3" json:"consent,omitempty"`
	Reason  string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*TransferConsent) Descriptor deprecated

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

Deprecated: Use TransferConsent.ProtoReflect.Descriptor instead.

func (*TransferConsent) GetConsent

func (x *TransferConsent) GetConsent() bool

func (*TransferConsent) GetReason

func (x *TransferConsent) GetReason() string

func (*TransferConsent) ProtoMessage

func (*TransferConsent) ProtoMessage()

func (*TransferConsent) ProtoReflect

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

func (*TransferConsent) Reset

func (x *TransferConsent) Reset()

func (*TransferConsent) String

func (x *TransferConsent) String() string

Jump to

Keyboard shortcuts

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