generated

package
v0.0.0-...-c6df4bf Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_defs_link_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Link struct {
	ShortUrl  string              `protobuf:"bytes,1,opt,name=short_url,json=shortUrl,proto3" json:"short_url,omitempty"` // Unique
	TargetUrl string              `protobuf:"bytes,2,opt,name=target_url,json=targetUrl,proto3" json:"target_url,omitempty"`
	Permanent bool                `protobuf:"varint,3,opt,name=permanent,proto3" json:"permanent,omitempty"`
	Metadata  *Link_LinksMetadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*Link) Descriptor deprecated

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

Deprecated: Use Link.ProtoReflect.Descriptor instead.

func (*Link) GetMetadata

func (x *Link) GetMetadata() *Link_LinksMetadata

func (*Link) GetPermanent

func (x *Link) GetPermanent() bool

func (*Link) GetShortUrl

func (x *Link) GetShortUrl() string

func (*Link) GetTargetUrl

func (x *Link) GetTargetUrl() string

func (*Link) ProtoMessage

func (*Link) ProtoMessage()

func (*Link) ProtoReflect

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

func (*Link) Reset

func (x *Link) Reset()

func (*Link) String

func (x *Link) String() string
type Link_LinksMetadata struct {
	Owner     string                 `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Protected bool                   `protobuf:"varint,2,opt,name=protected,proto3" json:"protected,omitempty"`
	Created   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created,proto3" json:"created,omitempty"`
	Modified  *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=modified,proto3" json:"modified,omitempty"`
	// contains filtered or unexported fields
}
func (*Link_LinksMetadata) Descriptor() ([]byte, []int)

Deprecated: Use Link_LinksMetadata.ProtoReflect.Descriptor instead.

func (x *Link_LinksMetadata) GetCreated() *timestamppb.Timestamp
func (x *Link_LinksMetadata) GetModified() *timestamppb.Timestamp
func (x *Link_LinksMetadata) GetOwner() string
func (x *Link_LinksMetadata) GetProtected() bool
func (*Link_LinksMetadata) ProtoMessage()
func (x *Link_LinksMetadata) ProtoReflect() protoreflect.Message
func (x *Link_LinksMetadata) Reset()
func (x *Link_LinksMetadata) String() string
type NewLink struct {
	ShortUrl  string `protobuf:"bytes,1,opt,name=short_url,json=shortUrl,proto3" json:"short_url,omitempty"` // Unique
	TargetUrl string `protobuf:"bytes,2,opt,name=target_url,json=targetUrl,proto3" json:"target_url,omitempty"`
	Permanent bool   `protobuf:"varint,3,opt,name=permanent,proto3" json:"permanent,omitempty"`
	Owner     string `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"`
	Protected bool   `protobuf:"varint,5,opt,name=protected,proto3" json:"protected,omitempty"`
	// contains filtered or unexported fields
}

[START messages]

func (*NewLink) Descriptor deprecated

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

Deprecated: Use NewLink.ProtoReflect.Descriptor instead.

func (*NewLink) GetOwner

func (x *NewLink) GetOwner() string

func (*NewLink) GetPermanent

func (x *NewLink) GetPermanent() bool

func (*NewLink) GetProtected

func (x *NewLink) GetProtected() bool

func (*NewLink) GetShortUrl

func (x *NewLink) GetShortUrl() string

func (*NewLink) GetTargetUrl

func (x *NewLink) GetTargetUrl() string

func (*NewLink) ProtoMessage

func (*NewLink) ProtoMessage()

func (*NewLink) ProtoReflect

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

func (*NewLink) Reset

func (x *NewLink) Reset()

func (*NewLink) String

func (x *NewLink) String() string

Jump to

Keyboard shortcuts

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