v0

package
v2.0.0-beta.6 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ThumbnailType_name = map[int32]string{
		0: "PNG",
		1: "JPG",
		2: "GIF",
	}
	ThumbnailType_value = map[string]int32{
		"PNG": 0,
		"JPG": 1,
		"GIF": 2,
	}
)

Enum value maps for ThumbnailType.

View Source
var File_ocis_messages_thumbnails_v0_thumbnails_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CS3Source

type CS3Source struct {
	Path          string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Authorization string `protobuf:"bytes,2,opt,name=authorization,proto3" json:"authorization,omitempty"`
	// contains filtered or unexported fields
}

func (*CS3Source) Descriptor deprecated

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

Deprecated: Use CS3Source.ProtoReflect.Descriptor instead.

func (*CS3Source) GetAuthorization

func (x *CS3Source) GetAuthorization() string

func (*CS3Source) GetPath

func (x *CS3Source) GetPath() string

func (*CS3Source) ProtoMessage

func (*CS3Source) ProtoMessage()

func (*CS3Source) ProtoReflect

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

func (*CS3Source) Reset

func (x *CS3Source) Reset()

func (*CS3Source) String

func (x *CS3Source) String() string

type ThumbnailType

type ThumbnailType int32

The file types to which the thumbnail can be encoded to.

const (
	ThumbnailType_PNG ThumbnailType = 0 // Represents PNG type
	ThumbnailType_JPG ThumbnailType = 1 // Represents JPG type
	ThumbnailType_GIF ThumbnailType = 2 // Represents GIF type
)

func (ThumbnailType) Descriptor

func (ThumbnailType) Enum

func (x ThumbnailType) Enum() *ThumbnailType

func (ThumbnailType) EnumDescriptor deprecated

func (ThumbnailType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ThumbnailType.Descriptor instead.

func (ThumbnailType) Number

func (ThumbnailType) String

func (x ThumbnailType) String() string

func (ThumbnailType) Type

type WebdavSource

type WebdavSource struct {

	// REQUIRED.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// REQUIRED.
	IsPublicLink bool `protobuf:"varint,2,opt,name=is_public_link,json=isPublicLink,proto3" json:"is_public_link,omitempty"`
	// OPTIONAL.
	WebdavAuthorization string `protobuf:"bytes,3,opt,name=webdav_authorization,json=webdavAuthorization,proto3" json:"webdav_authorization,omitempty"`
	// OPTIONAL.
	RevaAuthorization string `protobuf:"bytes,4,opt,name=reva_authorization,json=revaAuthorization,proto3" json:"reva_authorization,omitempty"`
	// OPTIONAL.
	PublicLinkToken string `protobuf:"bytes,5,opt,name=public_link_token,json=publicLinkToken,proto3" json:"public_link_token,omitempty"`
	// contains filtered or unexported fields
}

func (*WebdavSource) Descriptor deprecated

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

Deprecated: Use WebdavSource.ProtoReflect.Descriptor instead.

func (x *WebdavSource) GetIsPublicLink() bool

func (*WebdavSource) GetPublicLinkToken

func (x *WebdavSource) GetPublicLinkToken() string

func (*WebdavSource) GetRevaAuthorization

func (x *WebdavSource) GetRevaAuthorization() string

func (*WebdavSource) GetUrl

func (x *WebdavSource) GetUrl() string

func (*WebdavSource) GetWebdavAuthorization

func (x *WebdavSource) GetWebdavAuthorization() string

func (*WebdavSource) ProtoMessage

func (*WebdavSource) ProtoMessage()

func (*WebdavSource) ProtoReflect

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

func (*WebdavSource) Reset

func (x *WebdavSource) Reset()

func (*WebdavSource) String

func (x *WebdavSource) String() string

Jump to

Keyboard shortcuts

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