model

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "NORMAL",
		2: "ARCHIVED",
	}
	State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"NORMAL":            1,
		"ARCHIVED":          2,
	}
)

Enum value maps for State.

View Source
var (
	Direction_name = map[int32]string{
		0: "DIRECTION_UNSPECIFIED",
		1: "ASC",
		2: "DESC",
	}
	Direction_value = map[string]int32{
		"DIRECTION_UNSPECIFIED": 0,
		"ASC":                   1,
		"DESC":                  2,
	}
)

Enum value maps for Direction.

View Source
var (
	Visibility_name = map[int32]string{
		0: "VISIBILITY_UNSPECIFIED",
		1: "PRIVATE",
		2: "PROTECTED",
		3: "PUBLIC",
	}
	Visibility_value = map[string]int32{
		"VISIBILITY_UNSPECIFIED": 0,
		"PRIVATE":                1,
		"PROTECTED":              2,
		"PUBLIC":                 3,
	}
)

Enum value maps for Visibility.

View Source
var (
	Inbox_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "UNREAD",
		2: "ARCHIVED",
	}
	Inbox_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"UNREAD":             1,
		"ARCHIVED":           2,
	}
)

Enum value maps for Inbox_Status.

View Source
var (
	Inbox_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "MEMO_COMMENT",
		2: "VERSION_UPDATE",
	}
	Inbox_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"MEMO_COMMENT":     1,
		"VERSION_UPDATE":   2,
	}
)

Enum value maps for Inbox_Type.

View Source
var (
	NodeType_name = map[int32]string{
		0:  "NODE_UNSPECIFIED",
		1:  "LINE_BREAK",
		2:  "PARAGRAPH",
		3:  "CODE_BLOCK",
		4:  "HEADING",
		5:  "HORIZONTAL_RULE",
		6:  "BLOCKQUOTE",
		7:  "LIST",
		8:  "ORDERED_LIST_ITEM",
		9:  "UNORDERED_LIST_ITEM",
		10: "TASK_LIST_ITEM",
		11: "MATH_BLOCK",
		12: "TABLE",
		13: "EMBEDDED_CONTENT",
		51: "TEXT",
		52: "BOLD",
		53: "ITALIC",
		54: "BOLD_ITALIC",
		55: "CODE",
		56: "IMAGE",
		57: "LINK",
		58: "AUTO_LINK",
		59: "TAG",
		60: "STRIKETHROUGH",
		61: "ESCAPING_CHARACTER",
		62: "MATH",
		63: "HIGHLIGHT",
		64: "SUBSCRIPT",
		65: "SUPERSCRIPT",
		66: "REFERENCED_CONTENT",
		67: "SPOILER",
		68: "HTML_ELEMENT",
	}
	NodeType_value = map[string]int32{
		"NODE_UNSPECIFIED":    0,
		"LINE_BREAK":          1,
		"PARAGRAPH":           2,
		"CODE_BLOCK":          3,
		"HEADING":             4,
		"HORIZONTAL_RULE":     5,
		"BLOCKQUOTE":          6,
		"LIST":                7,
		"ORDERED_LIST_ITEM":   8,
		"UNORDERED_LIST_ITEM": 9,
		"TASK_LIST_ITEM":      10,
		"MATH_BLOCK":          11,
		"TABLE":               12,
		"EMBEDDED_CONTENT":    13,
		"TEXT":                51,
		"BOLD":                52,
		"ITALIC":              53,
		"BOLD_ITALIC":         54,
		"CODE":                55,
		"IMAGE":               56,
		"LINK":                57,
		"AUTO_LINK":           58,
		"TAG":                 59,
		"STRIKETHROUGH":       60,
		"ESCAPING_CHARACTER":  61,
		"MATH":                62,
		"HIGHLIGHT":           63,
		"SUBSCRIPT":           64,
		"SUPERSCRIPT":         65,
		"REFERENCED_CONTENT":  66,
		"SPOILER":             67,
		"HTML_ELEMENT":        68,
	}
)

Enum value maps for NodeType.

View Source
var (
	ListNode_Kind_name = map[int32]string{
		0: "KIND_UNSPECIFIED",
		1: "ORDERED",
		2: "UNORDERED",
		3: "DESCRIPTION",
	}
	ListNode_Kind_value = map[string]int32{
		"KIND_UNSPECIFIED": 0,
		"ORDERED":          1,
		"UNORDERED":        2,
		"DESCRIPTION":      3,
	}
)

Enum value maps for ListNode_Kind.

View Source
var (
	MemoRelation_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "REFERENCE",
		2: "COMMENT",
	}
	MemoRelation_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"REFERENCE":        1,
		"COMMENT":          2,
	}
)

Enum value maps for MemoRelation_Type.

View Source
var (
	User_Role_name = map[int32]string{
		0: "ROLE_UNSPECIFIED",
		1: "HOST",
		2: "ADMIN",
		3: "USER",
	}
	User_Role_value = map[string]int32{
		"ROLE_UNSPECIFIED": 0,
		"HOST":             1,
		"ADMIN":            2,
		"USER":             3,
	}
)

Enum value maps for User_Role.

View Source
var (
	UserSetting_Key_name = map[int32]string{
		0: "KEY_UNSPECIFIED",
		1: "GENERAL",
		2: "SESSIONS",
		3: "ACCESS_TOKENS",
		4: "WEBHOOKS",
	}
	UserSetting_Key_value = map[string]int32{
		"KEY_UNSPECIFIED": 0,
		"GENERAL":         1,
		"SESSIONS":        2,
		"ACCESS_TOKENS":   3,
		"WEBHOOKS":        4,
	}
)

Enum value maps for UserSetting_Key.

View Source
var (
	WorkspaceSetting_Key_name = map[int32]string{
		0: "KEY_UNSPECIFIED",
		1: "GENERAL",
		2: "STORAGE",
		3: "MEMO_RELATED",
	}
	WorkspaceSetting_Key_value = map[string]int32{
		"KEY_UNSPECIFIED": 0,
		"GENERAL":         1,
		"STORAGE":         2,
		"MEMO_RELATED":    3,
	}
)

Enum value maps for WorkspaceSetting_Key.

View Source
var (
	WorkspaceSetting_StorageSetting_StorageType_name = map[int32]string{
		0: "STORAGE_TYPE_UNSPECIFIED",
		1: "DATABASE",
		2: "LOCAL",
		3: "S3",
	}
	WorkspaceSetting_StorageSetting_StorageType_value = map[string]int32{
		"STORAGE_TYPE_UNSPECIFIED": 0,
		"DATABASE":                 1,
		"LOCAL":                    2,
		"S3":                       3,
	}
)

Enum value maps for WorkspaceSetting_StorageSetting_StorageType.

View Source
var File_model_common_proto protoreflect.FileDescriptor
View Source
var File_model_inbox_proto protoreflect.FileDescriptor
View Source
var File_model_markdown_proto protoreflect.FileDescriptor
View Source
var File_model_memo_proto protoreflect.FileDescriptor
View Source
var File_model_memo_relation_proto protoreflect.FileDescriptor
View Source
var File_model_reaction_proto protoreflect.FileDescriptor
View Source
var File_model_user_proto protoreflect.FileDescriptor
View Source
var File_model_user_session_proto protoreflect.FileDescriptor
View Source
var File_model_user_setting_proto protoreflect.FileDescriptor
View Source
var File_model_workspace_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Attachment

type Attachment struct {

	// The name of the attachment.
	// Format: attachments/{attachment}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The creation timestamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The filename of the attachment.
	Filename string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"`
	// Input only. The content of the attachment.
	Content []byte `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
	// Optional. The external link of the attachment.
	ExternalLink string `protobuf:"bytes,5,opt,name=external_link,json=externalLink,proto3" json:"external_link,omitempty"`
	// The MIME type of the attachment.
	Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"`
	// Output only. The size of the attachment in bytes.
	Size int64 `protobuf:"varint,7,opt,name=size,proto3" json:"size,omitempty"`
	// Optional. The related memo. Refer to `Memo.name`.
	// Format: memos/{memo}
	Memo *string `protobuf:"bytes,8,opt,name=memo,proto3,oneof" json:"memo,omitempty"`
	// contains filtered or unexported fields
}

func (*Attachment) Descriptor deprecated

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

Deprecated: Use Attachment.ProtoReflect.Descriptor instead.

func (*Attachment) GetContent

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

func (*Attachment) GetCreateTime

func (x *Attachment) GetCreateTime() *timestamppb.Timestamp
func (x *Attachment) GetExternalLink() string

func (*Attachment) GetFilename

func (x *Attachment) GetFilename() string

func (*Attachment) GetMemo

func (x *Attachment) GetMemo() string

func (*Attachment) GetName

func (x *Attachment) GetName() string

func (*Attachment) GetSize

func (x *Attachment) GetSize() int64

func (*Attachment) GetType

func (x *Attachment) GetType() string

func (*Attachment) ProtoMessage

func (*Attachment) ProtoMessage()

func (*Attachment) ProtoReflect

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

func (*Attachment) Reset

func (x *Attachment) Reset()

func (*Attachment) String

func (x *Attachment) String() string

type AutoLinkNode

type AutoLinkNode struct {
	Url       string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	IsRawText bool   `protobuf:"varint,2,opt,name=is_raw_text,json=isRawText,proto3" json:"is_raw_text,omitempty"`
	// contains filtered or unexported fields
}

func (*AutoLinkNode) Descriptor deprecated

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

Deprecated: Use AutoLinkNode.ProtoReflect.Descriptor instead.

func (*AutoLinkNode) GetIsRawText

func (x *AutoLinkNode) GetIsRawText() bool

func (*AutoLinkNode) GetUrl

func (x *AutoLinkNode) GetUrl() string

func (*AutoLinkNode) ProtoMessage

func (*AutoLinkNode) ProtoMessage()

func (*AutoLinkNode) ProtoReflect

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

func (*AutoLinkNode) Reset

func (x *AutoLinkNode) Reset()

func (*AutoLinkNode) String

func (x *AutoLinkNode) String() string

type BlockquoteNode

type BlockquoteNode struct {
	Children []*Node `protobuf:"bytes,1,rep,name=children,proto3" json:"children,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockquoteNode) Descriptor deprecated

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

Deprecated: Use BlockquoteNode.ProtoReflect.Descriptor instead.

func (*BlockquoteNode) GetChildren

func (x *BlockquoteNode) GetChildren() []*Node

func (*BlockquoteNode) ProtoMessage

func (*BlockquoteNode) ProtoMessage()

func (*BlockquoteNode) ProtoReflect

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

func (*BlockquoteNode) Reset

func (x *BlockquoteNode) Reset()

func (*BlockquoteNode) String

func (x *BlockquoteNode) String() string

type BoldItalicNode

type BoldItalicNode struct {
	Symbol  string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*BoldItalicNode) Descriptor deprecated

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

Deprecated: Use BoldItalicNode.ProtoReflect.Descriptor instead.

func (*BoldItalicNode) GetContent

func (x *BoldItalicNode) GetContent() string

func (*BoldItalicNode) GetSymbol

func (x *BoldItalicNode) GetSymbol() string

func (*BoldItalicNode) ProtoMessage

func (*BoldItalicNode) ProtoMessage()

func (*BoldItalicNode) ProtoReflect

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

func (*BoldItalicNode) Reset

func (x *BoldItalicNode) Reset()

func (*BoldItalicNode) String

func (x *BoldItalicNode) String() string

type BoldNode

type BoldNode struct {
	Symbol   string  `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Children []*Node `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"`
	// contains filtered or unexported fields
}

func (*BoldNode) Descriptor deprecated

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

Deprecated: Use BoldNode.ProtoReflect.Descriptor instead.

func (*BoldNode) GetChildren

func (x *BoldNode) GetChildren() []*Node

func (*BoldNode) GetSymbol

func (x *BoldNode) GetSymbol() string

func (*BoldNode) ProtoMessage

func (*BoldNode) ProtoMessage()

func (*BoldNode) ProtoReflect

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

func (*BoldNode) Reset

func (x *BoldNode) Reset()

func (*BoldNode) String

func (x *BoldNode) String() string

type CodeBlockNode

type CodeBlockNode struct {
	Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"`
	Content  string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*CodeBlockNode) Descriptor deprecated

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

Deprecated: Use CodeBlockNode.ProtoReflect.Descriptor instead.

func (*CodeBlockNode) GetContent

func (x *CodeBlockNode) GetContent() string

func (*CodeBlockNode) GetLanguage

func (x *CodeBlockNode) GetLanguage() string

func (*CodeBlockNode) ProtoMessage

func (*CodeBlockNode) ProtoMessage()

func (*CodeBlockNode) ProtoReflect

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

func (*CodeBlockNode) Reset

func (x *CodeBlockNode) Reset()

func (*CodeBlockNode) String

func (x *CodeBlockNode) String() string

type CodeNode

type CodeNode struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*CodeNode) Descriptor deprecated

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

Deprecated: Use CodeNode.ProtoReflect.Descriptor instead.

func (*CodeNode) GetContent

func (x *CodeNode) GetContent() string

func (*CodeNode) ProtoMessage

func (*CodeNode) ProtoMessage()

func (*CodeNode) ProtoReflect

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

func (*CodeNode) Reset

func (x *CodeNode) Reset()

func (*CodeNode) String

func (x *CodeNode) String() string

type Direction

type Direction int32
const (
	Direction_DIRECTION_UNSPECIFIED Direction = 0
	Direction_ASC                   Direction = 1
	Direction_DESC                  Direction = 2
)

func (Direction) Descriptor

func (Direction) Descriptor() protoreflect.EnumDescriptor

func (Direction) Enum

func (x Direction) Enum() *Direction

func (Direction) EnumDescriptor deprecated

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

Deprecated: Use Direction.Descriptor instead.

func (Direction) Number

func (x Direction) Number() protoreflect.EnumNumber

func (Direction) String

func (x Direction) String() string

func (Direction) Type

type EmbeddedContentNode

type EmbeddedContentNode struct {

	// The resource name of the embedded content.
	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	// Additional parameters for the embedded content.
	Params string `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*EmbeddedContentNode) Descriptor deprecated

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

Deprecated: Use EmbeddedContentNode.ProtoReflect.Descriptor instead.

func (*EmbeddedContentNode) GetParams

func (x *EmbeddedContentNode) GetParams() string

func (*EmbeddedContentNode) GetResourceName

func (x *EmbeddedContentNode) GetResourceName() string

func (*EmbeddedContentNode) ProtoMessage

func (*EmbeddedContentNode) ProtoMessage()

func (*EmbeddedContentNode) ProtoReflect

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

func (*EmbeddedContentNode) Reset

func (x *EmbeddedContentNode) Reset()

func (*EmbeddedContentNode) String

func (x *EmbeddedContentNode) String() string

type EscapingCharacterNode

type EscapingCharacterNode struct {
	Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
	// contains filtered or unexported fields
}

func (*EscapingCharacterNode) Descriptor deprecated

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

Deprecated: Use EscapingCharacterNode.ProtoReflect.Descriptor instead.

func (*EscapingCharacterNode) GetSymbol

func (x *EscapingCharacterNode) GetSymbol() string

func (*EscapingCharacterNode) ProtoMessage

func (*EscapingCharacterNode) ProtoMessage()

func (*EscapingCharacterNode) ProtoReflect

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

func (*EscapingCharacterNode) Reset

func (x *EscapingCharacterNode) Reset()

func (*EscapingCharacterNode) String

func (x *EscapingCharacterNode) String() string

type HTMLElementNode

type HTMLElementNode struct {
	TagName    string            `protobuf:"bytes,1,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"`
	Attributes map[string]string `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*HTMLElementNode) Descriptor deprecated

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

Deprecated: Use HTMLElementNode.ProtoReflect.Descriptor instead.

func (*HTMLElementNode) GetAttributes

func (x *HTMLElementNode) GetAttributes() map[string]string

func (*HTMLElementNode) GetTagName

func (x *HTMLElementNode) GetTagName() string

func (*HTMLElementNode) ProtoMessage

func (*HTMLElementNode) ProtoMessage()

func (*HTMLElementNode) ProtoReflect

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

func (*HTMLElementNode) Reset

func (x *HTMLElementNode) Reset()

func (*HTMLElementNode) String

func (x *HTMLElementNode) String() string

type HeadingNode

type HeadingNode struct {
	Level    int32   `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"`
	Children []*Node `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"`
	// contains filtered or unexported fields
}

func (*HeadingNode) Descriptor deprecated

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

Deprecated: Use HeadingNode.ProtoReflect.Descriptor instead.

func (*HeadingNode) GetChildren

func (x *HeadingNode) GetChildren() []*Node

func (*HeadingNode) GetLevel

func (x *HeadingNode) GetLevel() int32

func (*HeadingNode) ProtoMessage

func (*HeadingNode) ProtoMessage()

func (*HeadingNode) ProtoReflect

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

func (*HeadingNode) Reset

func (x *HeadingNode) Reset()

func (*HeadingNode) String

func (x *HeadingNode) String() string

type HighlightNode

type HighlightNode struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*HighlightNode) Descriptor deprecated

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

Deprecated: Use HighlightNode.ProtoReflect.Descriptor instead.

func (*HighlightNode) GetContent

func (x *HighlightNode) GetContent() string

func (*HighlightNode) ProtoMessage

func (*HighlightNode) ProtoMessage()

func (*HighlightNode) ProtoReflect

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

func (*HighlightNode) Reset

func (x *HighlightNode) Reset()

func (*HighlightNode) String

func (x *HighlightNode) String() string

type HorizontalRuleNode

type HorizontalRuleNode struct {
	Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
	// contains filtered or unexported fields
}

func (*HorizontalRuleNode) Descriptor deprecated

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

Deprecated: Use HorizontalRuleNode.ProtoReflect.Descriptor instead.

func (*HorizontalRuleNode) GetSymbol

func (x *HorizontalRuleNode) GetSymbol() string

func (*HorizontalRuleNode) ProtoMessage

func (*HorizontalRuleNode) ProtoMessage()

func (*HorizontalRuleNode) ProtoReflect

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

func (*HorizontalRuleNode) Reset

func (x *HorizontalRuleNode) Reset()

func (*HorizontalRuleNode) String

func (x *HorizontalRuleNode) String() string

type ImageNode

type ImageNode struct {
	AltText string `protobuf:"bytes,1,opt,name=alt_text,json=altText,proto3" json:"alt_text,omitempty"`
	Url     string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageNode) Descriptor deprecated

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

Deprecated: Use ImageNode.ProtoReflect.Descriptor instead.

func (*ImageNode) GetAltText

func (x *ImageNode) GetAltText() string

func (*ImageNode) GetUrl

func (x *ImageNode) GetUrl() string

func (*ImageNode) ProtoMessage

func (*ImageNode) ProtoMessage()

func (*ImageNode) ProtoReflect

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

func (*ImageNode) Reset

func (x *ImageNode) Reset()

func (*ImageNode) String

func (x *ImageNode) String() string

type Inbox added in v0.1.2

type Inbox struct {

	// The resource name of the inbox.
	// Format: inboxes/{inbox}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The sender of the inbox notification.
	// Format: users/{user}
	Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
	// The receiver of the inbox notification.
	// Format: users/{user}
	Receiver string `protobuf:"bytes,3,opt,name=receiver,proto3" json:"receiver,omitempty"`
	// The status of the inbox notification.
	Status Inbox_Status `protobuf:"varint,4,opt,name=status,proto3,enum=model.Inbox_Status" json:"status,omitempty"`
	// Output only. The creation timestamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The type of the inbox notification.
	Type Inbox_Type `protobuf:"varint,6,opt,name=type,proto3,enum=model.Inbox_Type" json:"type,omitempty"`
	// Optional. The activity ID associated with this inbox notification.
	ActivityId *int32 `protobuf:"varint,7,opt,name=activity_id,json=activityId,proto3,oneof" json:"activity_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Inbox) Descriptor deprecated added in v0.1.2

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

Deprecated: Use Inbox.ProtoReflect.Descriptor instead.

func (*Inbox) GetActivityId added in v0.1.2

func (x *Inbox) GetActivityId() int32

func (*Inbox) GetCreateTime added in v0.1.2

func (x *Inbox) GetCreateTime() *timestamppb.Timestamp

func (*Inbox) GetName added in v0.1.2

func (x *Inbox) GetName() string

func (*Inbox) GetReceiver added in v0.1.2

func (x *Inbox) GetReceiver() string

func (*Inbox) GetSender added in v0.1.2

func (x *Inbox) GetSender() string

func (*Inbox) GetStatus added in v0.1.2

func (x *Inbox) GetStatus() Inbox_Status

func (*Inbox) GetType added in v0.1.2

func (x *Inbox) GetType() Inbox_Type

func (*Inbox) ProtoMessage added in v0.1.2

func (*Inbox) ProtoMessage()

func (*Inbox) ProtoReflect added in v0.1.2

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

func (*Inbox) Reset added in v0.1.2

func (x *Inbox) Reset()

func (*Inbox) String added in v0.1.2

func (x *Inbox) String() string

type Inbox_Status added in v0.1.2

type Inbox_Status int32

Status enumeration for inbox notifications.

const (
	// Unspecified status.
	Inbox_STATUS_UNSPECIFIED Inbox_Status = 0
	// The notification is unread.
	Inbox_UNREAD Inbox_Status = 1
	// The notification is archived.
	Inbox_ARCHIVED Inbox_Status = 2
)

func (Inbox_Status) Descriptor added in v0.1.2

func (Inbox_Status) Enum added in v0.1.2

func (x Inbox_Status) Enum() *Inbox_Status

func (Inbox_Status) EnumDescriptor deprecated added in v0.1.2

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

Deprecated: Use Inbox_Status.Descriptor instead.

func (Inbox_Status) Number added in v0.1.2

func (Inbox_Status) String added in v0.1.2

func (x Inbox_Status) String() string

func (Inbox_Status) Type added in v0.1.2

type Inbox_Type added in v0.1.2

type Inbox_Type int32

Type enumeration for inbox notifications.

const (
	// Unspecified type.
	Inbox_TYPE_UNSPECIFIED Inbox_Type = 0
	// Memo comment notification.
	Inbox_MEMO_COMMENT Inbox_Type = 1
	// Version update notification.
	Inbox_VERSION_UPDATE Inbox_Type = 2
)

func (Inbox_Type) Descriptor added in v0.1.2

func (Inbox_Type) Descriptor() protoreflect.EnumDescriptor

func (Inbox_Type) Enum added in v0.1.2

func (x Inbox_Type) Enum() *Inbox_Type

func (Inbox_Type) EnumDescriptor deprecated added in v0.1.2

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

Deprecated: Use Inbox_Type.Descriptor instead.

func (Inbox_Type) Number added in v0.1.2

func (x Inbox_Type) Number() protoreflect.EnumNumber

func (Inbox_Type) String added in v0.1.2

func (x Inbox_Type) String() string

func (Inbox_Type) Type added in v0.1.2

type ItalicNode

type ItalicNode struct {
	Symbol   string  `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Children []*Node `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"`
	// contains filtered or unexported fields
}

func (*ItalicNode) Descriptor deprecated

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

Deprecated: Use ItalicNode.ProtoReflect.Descriptor instead.

func (*ItalicNode) GetChildren

func (x *ItalicNode) GetChildren() []*Node

func (*ItalicNode) GetSymbol

func (x *ItalicNode) GetSymbol() string

func (*ItalicNode) ProtoMessage

func (*ItalicNode) ProtoMessage()

func (*ItalicNode) ProtoReflect

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

func (*ItalicNode) Reset

func (x *ItalicNode) Reset()

func (*ItalicNode) String

func (x *ItalicNode) String() string

type LineBreakNode

type LineBreakNode struct {
	// contains filtered or unexported fields
}

func (*LineBreakNode) Descriptor deprecated

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

Deprecated: Use LineBreakNode.ProtoReflect.Descriptor instead.

func (*LineBreakNode) ProtoMessage

func (*LineBreakNode) ProtoMessage()

func (*LineBreakNode) ProtoReflect

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

func (*LineBreakNode) Reset

func (x *LineBreakNode) Reset()

func (*LineBreakNode) String

func (x *LineBreakNode) String() string

type LinkMetadata

type LinkMetadata struct {

	// The title of the linked page.
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// The description of the linked page.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The URL of the preview image for the linked page.
	Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

func (*LinkMetadata) Descriptor deprecated

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

Deprecated: Use LinkMetadata.ProtoReflect.Descriptor instead.

func (*LinkMetadata) GetDescription

func (x *LinkMetadata) GetDescription() string

func (*LinkMetadata) GetImage

func (x *LinkMetadata) GetImage() string

func (*LinkMetadata) GetTitle

func (x *LinkMetadata) GetTitle() string

func (*LinkMetadata) ProtoMessage

func (*LinkMetadata) ProtoMessage()

func (*LinkMetadata) ProtoReflect

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

func (*LinkMetadata) Reset

func (x *LinkMetadata) Reset()

func (*LinkMetadata) String

func (x *LinkMetadata) String() string

type LinkNode

type LinkNode struct {
	Content []*Node `protobuf:"bytes,1,rep,name=content,proto3" json:"content,omitempty"`
	Url     string  `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*LinkNode) Descriptor deprecated

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

Deprecated: Use LinkNode.ProtoReflect.Descriptor instead.

func (*LinkNode) GetContent

func (x *LinkNode) GetContent() []*Node

func (*LinkNode) GetUrl

func (x *LinkNode) GetUrl() string

func (*LinkNode) ProtoMessage

func (*LinkNode) ProtoMessage()

func (*LinkNode) ProtoReflect

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

func (*LinkNode) Reset

func (x *LinkNode) Reset()

func (*LinkNode) String

func (x *LinkNode) String() string

type ListNode

type ListNode struct {
	Kind     ListNode_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=model.ListNode_Kind" json:"kind,omitempty"`
	Indent   int32         `protobuf:"varint,2,opt,name=indent,proto3" json:"indent,omitempty"`
	Children []*Node       `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNode) Descriptor deprecated

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

Deprecated: Use ListNode.ProtoReflect.Descriptor instead.

func (*ListNode) GetChildren

func (x *ListNode) GetChildren() []*Node

func (*ListNode) GetIndent

func (x *ListNode) GetIndent() int32

func (*ListNode) GetKind

func (x *ListNode) GetKind() ListNode_Kind

func (*ListNode) ProtoMessage

func (*ListNode) ProtoMessage()

func (*ListNode) ProtoReflect

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

func (*ListNode) Reset

func (x *ListNode) Reset()

func (*ListNode) String

func (x *ListNode) String() string

type ListNode_Kind

type ListNode_Kind int32
const (
	ListNode_KIND_UNSPECIFIED ListNode_Kind = 0
	ListNode_ORDERED          ListNode_Kind = 1
	ListNode_UNORDERED        ListNode_Kind = 2
	ListNode_DESCRIPTION      ListNode_Kind = 3
)

func (ListNode_Kind) Descriptor

func (ListNode_Kind) Enum

func (x ListNode_Kind) Enum() *ListNode_Kind

func (ListNode_Kind) EnumDescriptor deprecated

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

Deprecated: Use ListNode_Kind.Descriptor instead.

func (ListNode_Kind) Number

func (ListNode_Kind) String

func (x ListNode_Kind) String() string

func (ListNode_Kind) Type

type Location

type Location struct {

	// A placeholder text for the location.
	Placeholder string `protobuf:"bytes,1,opt,name=placeholder,proto3" json:"placeholder,omitempty"`
	// The latitude of the location.
	Latitude float64 `protobuf:"fixed64,2,opt,name=latitude,proto3" json:"latitude,omitempty"`
	// The longitude of the location.
	Longitude float64 `protobuf:"fixed64,3,opt,name=longitude,proto3" json:"longitude,omitempty"`
	// contains filtered or unexported fields
}

func (*Location) Descriptor deprecated

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

Deprecated: Use Location.ProtoReflect.Descriptor instead.

func (*Location) GetLatitude

func (x *Location) GetLatitude() float64

func (*Location) GetLongitude

func (x *Location) GetLongitude() float64

func (*Location) GetPlaceholder

func (x *Location) GetPlaceholder() string

func (*Location) ProtoMessage

func (*Location) ProtoMessage()

func (*Location) ProtoReflect

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

func (*Location) Reset

func (x *Location) Reset()

func (*Location) String

func (x *Location) String() string

type MathBlockNode

type MathBlockNode struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*MathBlockNode) Descriptor deprecated

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

Deprecated: Use MathBlockNode.ProtoReflect.Descriptor instead.

func (*MathBlockNode) GetContent

func (x *MathBlockNode) GetContent() string

func (*MathBlockNode) ProtoMessage

func (*MathBlockNode) ProtoMessage()

func (*MathBlockNode) ProtoReflect

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

func (*MathBlockNode) Reset

func (x *MathBlockNode) Reset()

func (*MathBlockNode) String

func (x *MathBlockNode) String() string

type MathNode

type MathNode struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*MathNode) Descriptor deprecated

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

Deprecated: Use MathNode.ProtoReflect.Descriptor instead.

func (*MathNode) GetContent

func (x *MathNode) GetContent() string

func (*MathNode) ProtoMessage

func (*MathNode) ProtoMessage()

func (*MathNode) ProtoReflect

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

func (*MathNode) Reset

func (x *MathNode) Reset()

func (*MathNode) String

func (x *MathNode) String() string

type Memo

type Memo struct {

	// The resource name of the memo.
	// Format: memos/{memo}, memo is the user defined id or uuid.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The state of the memo.
	State State `protobuf:"varint,2,opt,name=state,proto3,enum=model.State" json:"state,omitempty"`
	// The name of the creator.
	// Format: users/{user}
	Creator string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"`
	// Output only. The creation timestamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The last update timestamp.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// The display timestamp of the memo.
	DisplayTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=display_time,json=displayTime,proto3" json:"display_time,omitempty"`
	// Required. The content of the memo in Markdown format.
	Content string `protobuf:"bytes,7,opt,name=content,proto3" json:"content,omitempty"`
	// Output only. The parsed nodes from the content.
	Nodes []*Node `protobuf:"bytes,8,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// The visibility of the memo.
	Visibility Visibility `protobuf:"varint,9,opt,name=visibility,proto3,enum=model.Visibility" json:"visibility,omitempty"`
	// Output only. The tags extracted from the content.
	Tags []string `protobuf:"bytes,10,rep,name=tags,proto3" json:"tags,omitempty"`
	// Whether the memo is pinned.
	Pinned bool `protobuf:"varint,11,opt,name=pinned,proto3" json:"pinned,omitempty"`
	// Optional. The attachments of the memo.
	Attachments []*Attachment `protobuf:"bytes,12,rep,name=attachments,proto3" json:"attachments,omitempty"`
	// Optional. The relations of the memo.
	Relations []*MemoRelation `protobuf:"bytes,13,rep,name=relations,proto3" json:"relations,omitempty"`
	// Output only. The reactions to the memo.
	Reactions []*Reaction `protobuf:"bytes,14,rep,name=reactions,proto3" json:"reactions,omitempty"`
	// Output only. The computed properties of the memo.
	Property *Memo_Property `protobuf:"bytes,15,opt,name=property,proto3" json:"property,omitempty"`
	// Output only. The name of the parent memo.
	// Format: memos/{memo}
	Parent *string `protobuf:"bytes,16,opt,name=parent,proto3,oneof" json:"parent,omitempty"`
	// Output only. The snippet of the memo content. Plain text only.
	Snippet string `protobuf:"bytes,17,opt,name=snippet,proto3" json:"snippet,omitempty"`
	// Optional. The location of the memo.
	Location *Location `protobuf:"bytes,18,opt,name=location,proto3,oneof" json:"location,omitempty"`
	// contains filtered or unexported fields
}

func (*Memo) Descriptor deprecated

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

Deprecated: Use Memo.ProtoReflect.Descriptor instead.

func (*Memo) GetAttachments

func (x *Memo) GetAttachments() []*Attachment

func (*Memo) GetContent

func (x *Memo) GetContent() string

func (*Memo) GetCreateTime

func (x *Memo) GetCreateTime() *timestamppb.Timestamp

func (*Memo) GetCreator

func (x *Memo) GetCreator() string

func (*Memo) GetDisplayTime

func (x *Memo) GetDisplayTime() *timestamppb.Timestamp

func (*Memo) GetLocation

func (x *Memo) GetLocation() *Location

func (*Memo) GetName

func (x *Memo) GetName() string

func (*Memo) GetNodes

func (x *Memo) GetNodes() []*Node

func (*Memo) GetParent

func (x *Memo) GetParent() string

func (*Memo) GetPinned

func (x *Memo) GetPinned() bool

func (*Memo) GetProperty

func (x *Memo) GetProperty() *Memo_Property

func (*Memo) GetReactions

func (x *Memo) GetReactions() []*Reaction

func (*Memo) GetRelations

func (x *Memo) GetRelations() []*MemoRelation

func (*Memo) GetSnippet

func (x *Memo) GetSnippet() string

func (*Memo) GetState

func (x *Memo) GetState() State

func (*Memo) GetTags

func (x *Memo) GetTags() []string

func (*Memo) GetUpdateTime

func (x *Memo) GetUpdateTime() *timestamppb.Timestamp

func (*Memo) GetVisibility

func (x *Memo) GetVisibility() Visibility

func (*Memo) ProtoMessage

func (*Memo) ProtoMessage()

func (*Memo) ProtoReflect

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

func (*Memo) Reset

func (x *Memo) Reset()

func (*Memo) String

func (x *Memo) String() string

type MemoRelation

type MemoRelation struct {

	// The memo in the relation.
	Memo *MemoRelation_Memo `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
	// The related memo.
	RelatedMemo *MemoRelation_Memo `protobuf:"bytes,2,opt,name=related_memo,json=relatedMemo,proto3" json:"related_memo,omitempty"`
	Type        MemoRelation_Type  `protobuf:"varint,3,opt,name=type,proto3,enum=model.MemoRelation_Type" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*MemoRelation) Descriptor deprecated

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

Deprecated: Use MemoRelation.ProtoReflect.Descriptor instead.

func (*MemoRelation) GetMemo

func (x *MemoRelation) GetMemo() *MemoRelation_Memo

func (*MemoRelation) GetRelatedMemo

func (x *MemoRelation) GetRelatedMemo() *MemoRelation_Memo

func (*MemoRelation) GetType

func (x *MemoRelation) GetType() MemoRelation_Type

func (*MemoRelation) ProtoMessage

func (*MemoRelation) ProtoMessage()

func (*MemoRelation) ProtoReflect

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

func (*MemoRelation) Reset

func (x *MemoRelation) Reset()

func (*MemoRelation) String

func (x *MemoRelation) String() string

type MemoRelation_Memo

type MemoRelation_Memo struct {

	// The resource name of the memo.
	// Format: memos/{memo}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The snippet of the memo content. Plain text only.
	Snippet string `protobuf:"bytes,2,opt,name=snippet,proto3" json:"snippet,omitempty"`
	// contains filtered or unexported fields
}

Memo reference in relations.

func (*MemoRelation_Memo) Descriptor deprecated

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

Deprecated: Use MemoRelation_Memo.ProtoReflect.Descriptor instead.

func (*MemoRelation_Memo) GetName

func (x *MemoRelation_Memo) GetName() string

func (*MemoRelation_Memo) GetSnippet

func (x *MemoRelation_Memo) GetSnippet() string

func (*MemoRelation_Memo) ProtoMessage

func (*MemoRelation_Memo) ProtoMessage()

func (*MemoRelation_Memo) ProtoReflect

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

func (*MemoRelation_Memo) Reset

func (x *MemoRelation_Memo) Reset()

func (*MemoRelation_Memo) String

func (x *MemoRelation_Memo) String() string

type MemoRelation_Type

type MemoRelation_Type int32

The type of the relation.

const (
	MemoRelation_TYPE_UNSPECIFIED MemoRelation_Type = 0
	MemoRelation_REFERENCE        MemoRelation_Type = 1
	MemoRelation_COMMENT          MemoRelation_Type = 2
)

func (MemoRelation_Type) Descriptor

func (MemoRelation_Type) Enum

func (MemoRelation_Type) EnumDescriptor deprecated

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

Deprecated: Use MemoRelation_Type.Descriptor instead.

func (MemoRelation_Type) Number

func (MemoRelation_Type) String

func (x MemoRelation_Type) String() string

func (MemoRelation_Type) Type

type Memo_Property

type Memo_Property struct {
	HasLink            bool `protobuf:"varint,1,opt,name=has_link,json=hasLink,proto3" json:"has_link,omitempty"`
	HasTaskList        bool `protobuf:"varint,2,opt,name=has_task_list,json=hasTaskList,proto3" json:"has_task_list,omitempty"`
	HasCode            bool `protobuf:"varint,3,opt,name=has_code,json=hasCode,proto3" json:"has_code,omitempty"`
	HasIncompleteTasks bool `protobuf:"varint,4,opt,name=has_incomplete_tasks,json=hasIncompleteTasks,proto3" json:"has_incomplete_tasks,omitempty"`
	// contains filtered or unexported fields
}

Computed properties of a memo.

func (*Memo_Property) Descriptor deprecated

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

Deprecated: Use Memo_Property.ProtoReflect.Descriptor instead.

func (*Memo_Property) GetHasCode

func (x *Memo_Property) GetHasCode() bool

func (*Memo_Property) GetHasIncompleteTasks

func (x *Memo_Property) GetHasIncompleteTasks() bool
func (x *Memo_Property) GetHasLink() bool

func (*Memo_Property) GetHasTaskList

func (x *Memo_Property) GetHasTaskList() bool

func (*Memo_Property) ProtoMessage

func (*Memo_Property) ProtoMessage()

func (*Memo_Property) ProtoReflect

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

func (*Memo_Property) Reset

func (x *Memo_Property) Reset()

func (*Memo_Property) String

func (x *Memo_Property) String() string

type Node

type Node struct {
	Type NodeType `protobuf:"varint,1,opt,name=type,proto3,enum=model.NodeType" json:"type,omitempty"`
	// Types that are valid to be assigned to Node:
	//
	//	*Node_LineBreakNode
	//	*Node_ParagraphNode
	//	*Node_CodeBlockNode
	//	*Node_HeadingNode
	//	*Node_HorizontalRuleNode
	//	*Node_BlockquoteNode
	//	*Node_ListNode
	//	*Node_OrderedListItemNode
	//	*Node_UnorderedListItemNode
	//	*Node_TaskListItemNode
	//	*Node_MathBlockNode
	//	*Node_TableNode
	//	*Node_EmbeddedContentNode
	//	*Node_TextNode
	//	*Node_BoldNode
	//	*Node_ItalicNode
	//	*Node_BoldItalicNode
	//	*Node_CodeNode
	//	*Node_ImageNode
	//	*Node_LinkNode
	//	*Node_AutoLinkNode
	//	*Node_TagNode
	//	*Node_StrikethroughNode
	//	*Node_EscapingCharacterNode
	//	*Node_MathNode
	//	*Node_HighlightNode
	//	*Node_SubscriptNode
	//	*Node_SuperscriptNode
	//	*Node_ReferencedContentNode
	//	*Node_SpoilerNode
	//	*Node_HtmlElementNode
	Node isNode_Node `protobuf_oneof:"node"`
	// contains filtered or unexported fields
}

func (*Node) Descriptor deprecated

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

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) GetAutoLinkNode

func (x *Node) GetAutoLinkNode() *AutoLinkNode

func (*Node) GetBlockquoteNode

func (x *Node) GetBlockquoteNode() *BlockquoteNode

func (*Node) GetBoldItalicNode

func (x *Node) GetBoldItalicNode() *BoldItalicNode

func (*Node) GetBoldNode

func (x *Node) GetBoldNode() *BoldNode

func (*Node) GetCodeBlockNode

func (x *Node) GetCodeBlockNode() *CodeBlockNode

func (*Node) GetCodeNode

func (x *Node) GetCodeNode() *CodeNode

func (*Node) GetEmbeddedContentNode

func (x *Node) GetEmbeddedContentNode() *EmbeddedContentNode

func (*Node) GetEscapingCharacterNode

func (x *Node) GetEscapingCharacterNode() *EscapingCharacterNode

func (*Node) GetHeadingNode

func (x *Node) GetHeadingNode() *HeadingNode

func (*Node) GetHighlightNode

func (x *Node) GetHighlightNode() *HighlightNode

func (*Node) GetHorizontalRuleNode

func (x *Node) GetHorizontalRuleNode() *HorizontalRuleNode

func (*Node) GetHtmlElementNode

func (x *Node) GetHtmlElementNode() *HTMLElementNode

func (*Node) GetImageNode

func (x *Node) GetImageNode() *ImageNode

func (*Node) GetItalicNode

func (x *Node) GetItalicNode() *ItalicNode

func (*Node) GetLineBreakNode

func (x *Node) GetLineBreakNode() *LineBreakNode

func (*Node) GetLinkNode

func (x *Node) GetLinkNode() *LinkNode

func (*Node) GetListNode

func (x *Node) GetListNode() *ListNode

func (*Node) GetMathBlockNode

func (x *Node) GetMathBlockNode() *MathBlockNode

func (*Node) GetMathNode

func (x *Node) GetMathNode() *MathNode

func (*Node) GetNode

func (x *Node) GetNode() isNode_Node

func (*Node) GetOrderedListItemNode

func (x *Node) GetOrderedListItemNode() *OrderedListItemNode

func (*Node) GetParagraphNode

func (x *Node) GetParagraphNode() *ParagraphNode

func (*Node) GetReferencedContentNode

func (x *Node) GetReferencedContentNode() *ReferencedContentNode

func (*Node) GetSpoilerNode

func (x *Node) GetSpoilerNode() *SpoilerNode

func (*Node) GetStrikethroughNode

func (x *Node) GetStrikethroughNode() *StrikethroughNode

func (*Node) GetSubscriptNode

func (x *Node) GetSubscriptNode() *SubscriptNode

func (*Node) GetSuperscriptNode

func (x *Node) GetSuperscriptNode() *SuperscriptNode

func (*Node) GetTableNode

func (x *Node) GetTableNode() *TableNode

func (*Node) GetTagNode

func (x *Node) GetTagNode() *TagNode

func (*Node) GetTaskListItemNode

func (x *Node) GetTaskListItemNode() *TaskListItemNode

func (*Node) GetTextNode

func (x *Node) GetTextNode() *TextNode

func (*Node) GetType

func (x *Node) GetType() NodeType

func (*Node) GetUnorderedListItemNode

func (x *Node) GetUnorderedListItemNode() *UnorderedListItemNode

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect

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

func (*Node) Reset

func (x *Node) Reset()

func (*Node) String

func (x *Node) String() string

type NodeType

type NodeType int32
const (
	NodeType_NODE_UNSPECIFIED NodeType = 0
	// Block nodes.
	NodeType_LINE_BREAK          NodeType = 1
	NodeType_PARAGRAPH           NodeType = 2
	NodeType_CODE_BLOCK          NodeType = 3
	NodeType_HEADING             NodeType = 4
	NodeType_HORIZONTAL_RULE     NodeType = 5
	NodeType_BLOCKQUOTE          NodeType = 6
	NodeType_LIST                NodeType = 7
	NodeType_ORDERED_LIST_ITEM   NodeType = 8
	NodeType_UNORDERED_LIST_ITEM NodeType = 9
	NodeType_TASK_LIST_ITEM      NodeType = 10
	NodeType_MATH_BLOCK          NodeType = 11
	NodeType_TABLE               NodeType = 12
	NodeType_EMBEDDED_CONTENT    NodeType = 13
	// Inline nodes.
	NodeType_TEXT               NodeType = 51
	NodeType_BOLD               NodeType = 52
	NodeType_ITALIC             NodeType = 53
	NodeType_BOLD_ITALIC        NodeType = 54
	NodeType_CODE               NodeType = 55
	NodeType_IMAGE              NodeType = 56
	NodeType_LINK               NodeType = 57
	NodeType_AUTO_LINK          NodeType = 58
	NodeType_TAG                NodeType = 59
	NodeType_STRIKETHROUGH      NodeType = 60
	NodeType_ESCAPING_CHARACTER NodeType = 61
	NodeType_MATH               NodeType = 62
	NodeType_HIGHLIGHT          NodeType = 63
	NodeType_SUBSCRIPT          NodeType = 64
	NodeType_SUPERSCRIPT        NodeType = 65
	NodeType_REFERENCED_CONTENT NodeType = 66
	NodeType_SPOILER            NodeType = 67
	NodeType_HTML_ELEMENT       NodeType = 68
)

func (NodeType) Descriptor

func (NodeType) Descriptor() protoreflect.EnumDescriptor

func (NodeType) Enum

func (x NodeType) Enum() *NodeType

func (NodeType) EnumDescriptor deprecated

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

Deprecated: Use NodeType.Descriptor instead.

func (NodeType) Number

func (x NodeType) Number() protoreflect.EnumNumber

func (NodeType) String

func (x NodeType) String() string

func (NodeType) Type

type Node_AutoLinkNode

type Node_AutoLinkNode struct {
	AutoLinkNode *AutoLinkNode `protobuf:"bytes,58,opt,name=auto_link_node,json=autoLinkNode,proto3,oneof"`
}

type Node_BlockquoteNode

type Node_BlockquoteNode struct {
	BlockquoteNode *BlockquoteNode `protobuf:"bytes,16,opt,name=blockquote_node,json=blockquoteNode,proto3,oneof"`
}

type Node_BoldItalicNode

type Node_BoldItalicNode struct {
	BoldItalicNode *BoldItalicNode `protobuf:"bytes,54,opt,name=bold_italic_node,json=boldItalicNode,proto3,oneof"`
}

type Node_BoldNode

type Node_BoldNode struct {
	BoldNode *BoldNode `protobuf:"bytes,52,opt,name=bold_node,json=boldNode,proto3,oneof"`
}

type Node_CodeBlockNode

type Node_CodeBlockNode struct {
	CodeBlockNode *CodeBlockNode `protobuf:"bytes,13,opt,name=code_block_node,json=codeBlockNode,proto3,oneof"`
}

type Node_CodeNode

type Node_CodeNode struct {
	CodeNode *CodeNode `protobuf:"bytes,55,opt,name=code_node,json=codeNode,proto3,oneof"`
}

type Node_EmbeddedContentNode

type Node_EmbeddedContentNode struct {
	EmbeddedContentNode *EmbeddedContentNode `protobuf:"bytes,23,opt,name=embedded_content_node,json=embeddedContentNode,proto3,oneof"`
}

type Node_EscapingCharacterNode

type Node_EscapingCharacterNode struct {
	EscapingCharacterNode *EscapingCharacterNode `protobuf:"bytes,61,opt,name=escaping_character_node,json=escapingCharacterNode,proto3,oneof"`
}

type Node_HeadingNode

type Node_HeadingNode struct {
	HeadingNode *HeadingNode `protobuf:"bytes,14,opt,name=heading_node,json=headingNode,proto3,oneof"`
}

type Node_HighlightNode

type Node_HighlightNode struct {
	HighlightNode *HighlightNode `protobuf:"bytes,63,opt,name=highlight_node,json=highlightNode,proto3,oneof"`
}

type Node_HorizontalRuleNode

type Node_HorizontalRuleNode struct {
	HorizontalRuleNode *HorizontalRuleNode `protobuf:"bytes,15,opt,name=horizontal_rule_node,json=horizontalRuleNode,proto3,oneof"`
}

type Node_HtmlElementNode

type Node_HtmlElementNode struct {
	HtmlElementNode *HTMLElementNode `protobuf:"bytes,68,opt,name=html_element_node,json=htmlElementNode,proto3,oneof"`
}

type Node_ImageNode

type Node_ImageNode struct {
	ImageNode *ImageNode `protobuf:"bytes,56,opt,name=image_node,json=imageNode,proto3,oneof"`
}

type Node_ItalicNode

type Node_ItalicNode struct {
	ItalicNode *ItalicNode `protobuf:"bytes,53,opt,name=italic_node,json=italicNode,proto3,oneof"`
}

type Node_LineBreakNode

type Node_LineBreakNode struct {
	// Block nodes.
	LineBreakNode *LineBreakNode `protobuf:"bytes,11,opt,name=line_break_node,json=lineBreakNode,proto3,oneof"`
}

type Node_LinkNode

type Node_LinkNode struct {
	LinkNode *LinkNode `protobuf:"bytes,57,opt,name=link_node,json=linkNode,proto3,oneof"`
}

type Node_ListNode

type Node_ListNode struct {
	ListNode *ListNode `protobuf:"bytes,17,opt,name=list_node,json=listNode,proto3,oneof"`
}

type Node_MathBlockNode

type Node_MathBlockNode struct {
	MathBlockNode *MathBlockNode `protobuf:"bytes,21,opt,name=math_block_node,json=mathBlockNode,proto3,oneof"`
}

type Node_MathNode

type Node_MathNode struct {
	MathNode *MathNode `protobuf:"bytes,62,opt,name=math_node,json=mathNode,proto3,oneof"`
}

type Node_OrderedListItemNode

type Node_OrderedListItemNode struct {
	OrderedListItemNode *OrderedListItemNode `protobuf:"bytes,18,opt,name=ordered_list_item_node,json=orderedListItemNode,proto3,oneof"`
}

type Node_ParagraphNode

type Node_ParagraphNode struct {
	ParagraphNode *ParagraphNode `protobuf:"bytes,12,opt,name=paragraph_node,json=paragraphNode,proto3,oneof"`
}

type Node_ReferencedContentNode

type Node_ReferencedContentNode struct {
	ReferencedContentNode *ReferencedContentNode `protobuf:"bytes,66,opt,name=referenced_content_node,json=referencedContentNode,proto3,oneof"`
}

type Node_SpoilerNode

type Node_SpoilerNode struct {
	SpoilerNode *SpoilerNode `protobuf:"bytes,67,opt,name=spoiler_node,json=spoilerNode,proto3,oneof"`
}

type Node_StrikethroughNode

type Node_StrikethroughNode struct {
	StrikethroughNode *StrikethroughNode `protobuf:"bytes,60,opt,name=strikethrough_node,json=strikethroughNode,proto3,oneof"`
}

type Node_SubscriptNode

type Node_SubscriptNode struct {
	SubscriptNode *SubscriptNode `protobuf:"bytes,64,opt,name=subscript_node,json=subscriptNode,proto3,oneof"`
}

type Node_SuperscriptNode

type Node_SuperscriptNode struct {
	SuperscriptNode *SuperscriptNode `protobuf:"bytes,65,opt,name=superscript_node,json=superscriptNode,proto3,oneof"`
}

type Node_TableNode

type Node_TableNode struct {
	TableNode *TableNode `protobuf:"bytes,22,opt,name=table_node,json=tableNode,proto3,oneof"`
}

type Node_TagNode

type Node_TagNode struct {
	TagNode *TagNode `protobuf:"bytes,59,opt,name=tag_node,json=tagNode,proto3,oneof"`
}

type Node_TaskListItemNode

type Node_TaskListItemNode struct {
	TaskListItemNode *TaskListItemNode `protobuf:"bytes,20,opt,name=task_list_item_node,json=taskListItemNode,proto3,oneof"`
}

type Node_TextNode

type Node_TextNode struct {
	// Inline nodes.
	TextNode *TextNode `protobuf:"bytes,51,opt,name=text_node,json=textNode,proto3,oneof"`
}

type Node_UnorderedListItemNode

type Node_UnorderedListItemNode struct {
	UnorderedListItemNode *UnorderedListItemNode `protobuf:"bytes,19,opt,name=unordered_list_item_node,json=unorderedListItemNode,proto3,oneof"`
}

type OrderedListItemNode

type OrderedListItemNode struct {
	Number   string  `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"`
	Indent   int32   `protobuf:"varint,2,opt,name=indent,proto3" json:"indent,omitempty"`
	Children []*Node `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty"`
	// contains filtered or unexported fields
}

func (*OrderedListItemNode) Descriptor deprecated

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

Deprecated: Use OrderedListItemNode.ProtoReflect.Descriptor instead.

func (*OrderedListItemNode) GetChildren

func (x *OrderedListItemNode) GetChildren() []*Node

func (*OrderedListItemNode) GetIndent

func (x *OrderedListItemNode) GetIndent() int32

func (*OrderedListItemNode) GetNumber

func (x *OrderedListItemNode) GetNumber() string

func (*OrderedListItemNode) ProtoMessage

func (*OrderedListItemNode) ProtoMessage()

func (*OrderedListItemNode) ProtoReflect

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

func (*OrderedListItemNode) Reset

func (x *OrderedListItemNode) Reset()

func (*OrderedListItemNode) String

func (x *OrderedListItemNode) String() string

type PageToken

type PageToken struct {
	Limit  int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

Used internally for obfuscating the page token.

func (*PageToken) Descriptor deprecated

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

Deprecated: Use PageToken.ProtoReflect.Descriptor instead.

func (*PageToken) GetLimit

func (x *PageToken) GetLimit() int32

func (*PageToken) GetOffset

func (x *PageToken) GetOffset() int32

func (*PageToken) ProtoMessage

func (*PageToken) ProtoMessage()

func (*PageToken) ProtoReflect

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

func (*PageToken) Reset

func (x *PageToken) Reset()

func (*PageToken) String

func (x *PageToken) String() string

type ParagraphNode

type ParagraphNode struct {
	Children []*Node `protobuf:"bytes,1,rep,name=children,proto3" json:"children,omitempty"`
	// contains filtered or unexported fields
}

func (*ParagraphNode) Descriptor deprecated

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

Deprecated: Use ParagraphNode.ProtoReflect.Descriptor instead.

func (*ParagraphNode) GetChildren

func (x *ParagraphNode) GetChildren() []*Node

func (*ParagraphNode) ProtoMessage

func (*ParagraphNode) ProtoMessage()

func (*ParagraphNode) ProtoReflect

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

func (*ParagraphNode) Reset

func (x *ParagraphNode) Reset()

func (*ParagraphNode) String

func (x *ParagraphNode) String() string

type Reaction

type Reaction struct {

	// The resource name of the reaction.
	// Format: reactions/{reaction}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The resource name of the creator.
	// Format: users/{user}
	Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	// The resource name of the content.
	// For memo reactions, this should be the memo's resource name.
	// Format: memos/{memo}
	ContentId string `protobuf:"bytes,3,opt,name=content_id,json=contentId,proto3" json:"content_id,omitempty"`
	// Required. The type of reaction (e.g., "👍", "❤️", "😄").
	ReactionType string `protobuf:"bytes,4,opt,name=reaction_type,json=reactionType,proto3" json:"reaction_type,omitempty"`
	// Output only. The creation timestamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// contains filtered or unexported fields
}

func (*Reaction) Descriptor deprecated

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

Deprecated: Use Reaction.ProtoReflect.Descriptor instead.

func (*Reaction) GetContentId

func (x *Reaction) GetContentId() string

func (*Reaction) GetCreateTime

func (x *Reaction) GetCreateTime() *timestamppb.Timestamp

func (*Reaction) GetCreator

func (x *Reaction) GetCreator() string

func (*Reaction) GetName

func (x *Reaction) GetName() string

func (*Reaction) GetReactionType

func (x *Reaction) GetReactionType() string

func (*Reaction) ProtoMessage

func (*Reaction) ProtoMessage()

func (*Reaction) ProtoReflect

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

func (*Reaction) Reset

func (x *Reaction) Reset()

func (*Reaction) String

func (x *Reaction) String() string

type ReferencedContentNode

type ReferencedContentNode struct {

	// The resource name of the referenced content.
	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	// Additional parameters for the referenced content.
	Params string `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*ReferencedContentNode) Descriptor deprecated

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

Deprecated: Use ReferencedContentNode.ProtoReflect.Descriptor instead.

func (*ReferencedContentNode) GetParams

func (x *ReferencedContentNode) GetParams() string

func (*ReferencedContentNode) GetResourceName

func (x *ReferencedContentNode) GetResourceName() string

func (*ReferencedContentNode) ProtoMessage

func (*ReferencedContentNode) ProtoMessage()

func (*ReferencedContentNode) ProtoReflect

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

func (*ReferencedContentNode) Reset

func (x *ReferencedContentNode) Reset()

func (*ReferencedContentNode) String

func (x *ReferencedContentNode) String() string

type SpoilerNode

type SpoilerNode struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*SpoilerNode) Descriptor deprecated

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

Deprecated: Use SpoilerNode.ProtoReflect.Descriptor instead.

func (*SpoilerNode) GetContent

func (x *SpoilerNode) GetContent() string

func (*SpoilerNode) ProtoMessage

func (*SpoilerNode) ProtoMessage()

func (*SpoilerNode) ProtoReflect

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

func (*SpoilerNode) Reset

func (x *SpoilerNode) Reset()

func (*SpoilerNode) String

func (x *SpoilerNode) String() string

type State

type State int32
const (
	State_STATE_UNSPECIFIED State = 0
	State_NORMAL            State = 1
	State_ARCHIVED          State = 2
)

func (State) Descriptor

func (State) Descriptor() protoreflect.EnumDescriptor

func (State) Enum

func (x State) Enum() *State

func (State) EnumDescriptor deprecated

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

Deprecated: Use State.Descriptor instead.

func (State) Number

func (x State) Number() protoreflect.EnumNumber

func (State) String

func (x State) String() string

func (State) Type

func (State) Type() protoreflect.EnumType

type StrikethroughNode

type StrikethroughNode struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*StrikethroughNode) Descriptor deprecated

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

Deprecated: Use StrikethroughNode.ProtoReflect.Descriptor instead.

func (*StrikethroughNode) GetContent

func (x *StrikethroughNode) GetContent() string

func (*StrikethroughNode) ProtoMessage

func (*StrikethroughNode) ProtoMessage()

func (*StrikethroughNode) ProtoReflect

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

func (*StrikethroughNode) Reset

func (x *StrikethroughNode) Reset()

func (*StrikethroughNode) String

func (x *StrikethroughNode) String() string

type SubscriptNode

type SubscriptNode struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*SubscriptNode) Descriptor deprecated

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

Deprecated: Use SubscriptNode.ProtoReflect.Descriptor instead.

func (*SubscriptNode) GetContent

func (x *SubscriptNode) GetContent() string

func (*SubscriptNode) ProtoMessage

func (*SubscriptNode) ProtoMessage()

func (*SubscriptNode) ProtoReflect

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

func (*SubscriptNode) Reset

func (x *SubscriptNode) Reset()

func (*SubscriptNode) String

func (x *SubscriptNode) String() string

type SuperscriptNode

type SuperscriptNode struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*SuperscriptNode) Descriptor deprecated

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

Deprecated: Use SuperscriptNode.ProtoReflect.Descriptor instead.

func (*SuperscriptNode) GetContent

func (x *SuperscriptNode) GetContent() string

func (*SuperscriptNode) ProtoMessage

func (*SuperscriptNode) ProtoMessage()

func (*SuperscriptNode) ProtoReflect

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

func (*SuperscriptNode) Reset

func (x *SuperscriptNode) Reset()

func (*SuperscriptNode) String

func (x *SuperscriptNode) String() string

type TableNode

type TableNode struct {
	Header    []*Node          `protobuf:"bytes,1,rep,name=header,proto3" json:"header,omitempty"`
	Delimiter []string         `protobuf:"bytes,2,rep,name=delimiter,proto3" json:"delimiter,omitempty"`
	Rows      []*TableNode_Row `protobuf:"bytes,3,rep,name=rows,proto3" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

func (*TableNode) Descriptor deprecated

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

Deprecated: Use TableNode.ProtoReflect.Descriptor instead.

func (*TableNode) GetDelimiter

func (x *TableNode) GetDelimiter() []string

func (*TableNode) GetHeader

func (x *TableNode) GetHeader() []*Node

func (*TableNode) GetRows

func (x *TableNode) GetRows() []*TableNode_Row

func (*TableNode) ProtoMessage

func (*TableNode) ProtoMessage()

func (*TableNode) ProtoReflect

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

func (*TableNode) Reset

func (x *TableNode) Reset()

func (*TableNode) String

func (x *TableNode) String() string

type TableNode_Row

type TableNode_Row struct {
	Cells []*Node `protobuf:"bytes,1,rep,name=cells,proto3" json:"cells,omitempty"`
	// contains filtered or unexported fields
}

func (*TableNode_Row) Descriptor deprecated

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

Deprecated: Use TableNode_Row.ProtoReflect.Descriptor instead.

func (*TableNode_Row) GetCells

func (x *TableNode_Row) GetCells() []*Node

func (*TableNode_Row) ProtoMessage

func (*TableNode_Row) ProtoMessage()

func (*TableNode_Row) ProtoReflect

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

func (*TableNode_Row) Reset

func (x *TableNode_Row) Reset()

func (*TableNode_Row) String

func (x *TableNode_Row) String() string

type TagNode

type TagNode struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*TagNode) Descriptor deprecated

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

Deprecated: Use TagNode.ProtoReflect.Descriptor instead.

func (*TagNode) GetContent

func (x *TagNode) GetContent() string

func (*TagNode) ProtoMessage

func (*TagNode) ProtoMessage()

func (*TagNode) ProtoReflect

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

func (*TagNode) Reset

func (x *TagNode) Reset()

func (*TagNode) String

func (x *TagNode) String() string

type TaskListItemNode

type TaskListItemNode struct {
	Symbol   string  `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Indent   int32   `protobuf:"varint,2,opt,name=indent,proto3" json:"indent,omitempty"`
	Complete bool    `protobuf:"varint,3,opt,name=complete,proto3" json:"complete,omitempty"`
	Children []*Node `protobuf:"bytes,4,rep,name=children,proto3" json:"children,omitempty"`
	// contains filtered or unexported fields
}

func (*TaskListItemNode) Descriptor deprecated

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

Deprecated: Use TaskListItemNode.ProtoReflect.Descriptor instead.

func (*TaskListItemNode) GetChildren

func (x *TaskListItemNode) GetChildren() []*Node

func (*TaskListItemNode) GetComplete

func (x *TaskListItemNode) GetComplete() bool

func (*TaskListItemNode) GetIndent

func (x *TaskListItemNode) GetIndent() int32

func (*TaskListItemNode) GetSymbol

func (x *TaskListItemNode) GetSymbol() string

func (*TaskListItemNode) ProtoMessage

func (*TaskListItemNode) ProtoMessage()

func (*TaskListItemNode) ProtoReflect

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

func (*TaskListItemNode) Reset

func (x *TaskListItemNode) Reset()

func (*TaskListItemNode) String

func (x *TaskListItemNode) String() string

type TextNode

type TextNode struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*TextNode) Descriptor deprecated

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

Deprecated: Use TextNode.ProtoReflect.Descriptor instead.

func (*TextNode) GetContent

func (x *TextNode) GetContent() string

func (*TextNode) ProtoMessage

func (*TextNode) ProtoMessage()

func (*TextNode) ProtoReflect

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

func (*TextNode) Reset

func (x *TextNode) Reset()

func (*TextNode) String

func (x *TextNode) String() string

type UnorderedListItemNode

type UnorderedListItemNode struct {
	Symbol   string  `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Indent   int32   `protobuf:"varint,2,opt,name=indent,proto3" json:"indent,omitempty"`
	Children []*Node `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty"`
	// contains filtered or unexported fields
}

func (*UnorderedListItemNode) Descriptor deprecated

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

Deprecated: Use UnorderedListItemNode.ProtoReflect.Descriptor instead.

func (*UnorderedListItemNode) GetChildren

func (x *UnorderedListItemNode) GetChildren() []*Node

func (*UnorderedListItemNode) GetIndent

func (x *UnorderedListItemNode) GetIndent() int32

func (*UnorderedListItemNode) GetSymbol

func (x *UnorderedListItemNode) GetSymbol() string

func (*UnorderedListItemNode) ProtoMessage

func (*UnorderedListItemNode) ProtoMessage()

func (*UnorderedListItemNode) ProtoReflect

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

func (*UnorderedListItemNode) Reset

func (x *UnorderedListItemNode) Reset()

func (*UnorderedListItemNode) String

func (x *UnorderedListItemNode) String() string

type User

type User struct {
	Id          int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Username    string                 `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	Role        User_Role              `protobuf:"varint,4,opt,name=role,proto3,enum=model.User_Role" json:"role,omitempty"`
	Nickname    string                 `protobuf:"bytes,5,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Email       string                 `protobuf:"bytes,6,opt,name=email,proto3" json:"email,omitempty"`
	AvatarUrl   string                 `protobuf:"bytes,7,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	Description string                 `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
	Password    string                 `protobuf:"bytes,9,opt,name=password,proto3" json:"password,omitempty"`
	State       State                  `protobuf:"varint,10,opt,name=state,proto3,enum=model.State" json:"state,omitempty"`
	CreateAt    *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_at,json=createAt,proto3" json:"create_at,omitempty"`
	UpdateAt    *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=update_at,json=updateAt,proto3" json:"update_at,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAvatarUrl

func (x *User) GetAvatarUrl() string

func (*User) GetCreateAt

func (x *User) GetCreateAt() *timestamppb.Timestamp

func (*User) GetDescription

func (x *User) GetDescription() string

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetId

func (x *User) GetId() int64

func (*User) GetName

func (x *User) GetName() string

func (*User) GetNickname

func (x *User) GetNickname() string

func (*User) GetPassword

func (x *User) GetPassword() string

func (*User) GetRole

func (x *User) GetRole() User_Role

func (*User) GetState

func (x *User) GetState() State

func (*User) GetUpdateAt

func (x *User) GetUpdateAt() *timestamppb.Timestamp

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type UserAccessToken added in v0.1.1

type UserAccessToken struct {

	// The resource name of the access token.
	// Format: users/{user}/accessTokens/{access_token}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The access token value.
	AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	// The description of the access token.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. The issued timestamp.
	IssuedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`
	// Optional. The expiration timestamp.
	ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	// contains filtered or unexported fields
}

User access token message

func (*UserAccessToken) Descriptor deprecated added in v0.1.1

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

Deprecated: Use UserAccessToken.ProtoReflect.Descriptor instead.

func (*UserAccessToken) GetAccessToken added in v0.1.1

func (x *UserAccessToken) GetAccessToken() string

func (*UserAccessToken) GetDescription added in v0.1.1

func (x *UserAccessToken) GetDescription() string

func (*UserAccessToken) GetExpiresAt added in v0.1.1

func (x *UserAccessToken) GetExpiresAt() *timestamppb.Timestamp

func (*UserAccessToken) GetIssuedAt added in v0.1.1

func (x *UserAccessToken) GetIssuedAt() *timestamppb.Timestamp

func (*UserAccessToken) GetName added in v0.1.1

func (x *UserAccessToken) GetName() string

func (*UserAccessToken) ProtoMessage added in v0.1.1

func (*UserAccessToken) ProtoMessage()

func (*UserAccessToken) ProtoReflect added in v0.1.1

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

func (*UserAccessToken) Reset added in v0.1.1

func (x *UserAccessToken) Reset()

func (*UserAccessToken) String added in v0.1.1

func (x *UserAccessToken) String() string

type UserSession added in v0.1.1

type UserSession struct {

	// The resource name of the session.
	// Format: users/{user}/sessions/{session}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The session ID.
	SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// The timestamp when the session was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The timestamp when the session was last accessed.
	// Used for sliding expiration calculation (last_accessed_time + 2 weeks).
	LastAccessedTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_accessed_time,json=lastAccessedTime,proto3" json:"last_accessed_time,omitempty"`
	// Client information associated with this session.
	ClientInfo *UserSession_ClientInfo `protobuf:"bytes,5,opt,name=client_info,json=clientInfo,proto3" json:"client_info,omitempty"`
	// contains filtered or unexported fields
}

func (*UserSession) Descriptor deprecated added in v0.1.1

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

Deprecated: Use UserSession.ProtoReflect.Descriptor instead.

func (*UserSession) GetClientInfo added in v0.1.1

func (x *UserSession) GetClientInfo() *UserSession_ClientInfo

func (*UserSession) GetCreateTime added in v0.1.1

func (x *UserSession) GetCreateTime() *timestamppb.Timestamp

func (*UserSession) GetLastAccessedTime added in v0.1.1

func (x *UserSession) GetLastAccessedTime() *timestamppb.Timestamp

func (*UserSession) GetName added in v0.1.1

func (x *UserSession) GetName() string

func (*UserSession) GetSessionId added in v0.1.1

func (x *UserSession) GetSessionId() string

func (*UserSession) ProtoMessage added in v0.1.1

func (*UserSession) ProtoMessage()

func (*UserSession) ProtoReflect added in v0.1.1

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

func (*UserSession) Reset added in v0.1.1

func (x *UserSession) Reset()

func (*UserSession) String added in v0.1.1

func (x *UserSession) String() string

type UserSession_ClientInfo added in v0.1.1

type UserSession_ClientInfo struct {

	// User agent string of the client.
	UserAgent string `protobuf:"bytes,1,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
	// IP address of the client.
	IpAddress string `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
	// Optional. Device type (e.g., "mobile", "desktop", "tablet").
	DeviceType string `protobuf:"bytes,3,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"`
	// Optional. Operating system (e.g., "iOS 17.0", "Windows 11").
	Os string `protobuf:"bytes,4,opt,name=os,proto3" json:"os,omitempty"`
	// Optional. Browser name and version (e.g., "Chrome 119.0").
	Browser string `protobuf:"bytes,5,opt,name=browser,proto3" json:"browser,omitempty"`
	// contains filtered or unexported fields
}

func (*UserSession_ClientInfo) Descriptor deprecated added in v0.1.1

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

Deprecated: Use UserSession_ClientInfo.ProtoReflect.Descriptor instead.

func (*UserSession_ClientInfo) GetBrowser added in v0.1.1

func (x *UserSession_ClientInfo) GetBrowser() string

func (*UserSession_ClientInfo) GetDeviceType added in v0.1.1

func (x *UserSession_ClientInfo) GetDeviceType() string

func (*UserSession_ClientInfo) GetIpAddress added in v0.1.1

func (x *UserSession_ClientInfo) GetIpAddress() string

func (*UserSession_ClientInfo) GetOs added in v0.1.1

func (x *UserSession_ClientInfo) GetOs() string

func (*UserSession_ClientInfo) GetUserAgent added in v0.1.1

func (x *UserSession_ClientInfo) GetUserAgent() string

func (*UserSession_ClientInfo) ProtoMessage added in v0.1.1

func (*UserSession_ClientInfo) ProtoMessage()

func (*UserSession_ClientInfo) ProtoReflect added in v0.1.1

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

func (*UserSession_ClientInfo) Reset added in v0.1.1

func (x *UserSession_ClientInfo) Reset()

func (*UserSession_ClientInfo) String added in v0.1.1

func (x *UserSession_ClientInfo) String() string

type UserSetting added in v0.1.1

type UserSetting struct {

	// The name of the user setting.
	// Format: users/{user}/settings/{setting}, {setting} is the key for the setting.
	// For example, "users/123/settings/GENERAL" for general settings.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are valid to be assigned to Value:
	//
	//	*UserSetting_GeneralSetting_
	//	*UserSetting_SessionsSetting_
	//	*UserSetting_AccessTokensSetting_
	//	*UserSetting_WebhooksSetting_
	Value isUserSetting_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

User settings message

func (*UserSetting) Descriptor deprecated added in v0.1.1

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

Deprecated: Use UserSetting.ProtoReflect.Descriptor instead.

func (*UserSetting) GetAccessTokensSetting added in v0.1.1

func (x *UserSetting) GetAccessTokensSetting() *UserSetting_AccessTokensSetting

func (*UserSetting) GetGeneralSetting added in v0.1.1

func (x *UserSetting) GetGeneralSetting() *UserSetting_GeneralSetting

func (*UserSetting) GetName added in v0.1.1

func (x *UserSetting) GetName() string

func (*UserSetting) GetSessionsSetting added in v0.1.1

func (x *UserSetting) GetSessionsSetting() *UserSetting_SessionsSetting

func (*UserSetting) GetValue added in v0.1.1

func (x *UserSetting) GetValue() isUserSetting_Value

func (*UserSetting) GetWebhooksSetting added in v0.1.1

func (x *UserSetting) GetWebhooksSetting() *UserSetting_WebhooksSetting

func (*UserSetting) ProtoMessage added in v0.1.1

func (*UserSetting) ProtoMessage()

func (*UserSetting) ProtoReflect added in v0.1.1

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

func (*UserSetting) Reset added in v0.1.1

func (x *UserSetting) Reset()

func (*UserSetting) String added in v0.1.1

func (x *UserSetting) String() string

type UserSetting_AccessTokensSetting added in v0.1.1

type UserSetting_AccessTokensSetting struct {

	// List of user access tokens.
	AccessTokens []*UserAccessToken `protobuf:"bytes,1,rep,name=access_tokens,json=accessTokens,proto3" json:"access_tokens,omitempty"`
	// contains filtered or unexported fields
}

User access tokens configuration.

func (*UserSetting_AccessTokensSetting) Descriptor deprecated added in v0.1.1

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

Deprecated: Use UserSetting_AccessTokensSetting.ProtoReflect.Descriptor instead.

func (*UserSetting_AccessTokensSetting) GetAccessTokens added in v0.1.1

func (x *UserSetting_AccessTokensSetting) GetAccessTokens() []*UserAccessToken

func (*UserSetting_AccessTokensSetting) ProtoMessage added in v0.1.1

func (*UserSetting_AccessTokensSetting) ProtoMessage()

func (*UserSetting_AccessTokensSetting) ProtoReflect added in v0.1.1

func (*UserSetting_AccessTokensSetting) Reset added in v0.1.1

func (*UserSetting_AccessTokensSetting) String added in v0.1.1

type UserSetting_AccessTokensSetting_ added in v0.1.1

type UserSetting_AccessTokensSetting_ struct {
	AccessTokensSetting *UserSetting_AccessTokensSetting `protobuf:"bytes,4,opt,name=access_tokens_setting,json=accessTokensSetting,proto3,oneof"`
}

type UserSetting_GeneralSetting added in v0.1.1

type UserSetting_GeneralSetting struct {

	// The preferred locale of the user.
	Locale string `protobuf:"bytes,1,opt,name=locale,proto3" json:"locale,omitempty"`
	// The preferred appearance of the user.
	Appearance string `protobuf:"bytes,2,opt,name=appearance,proto3" json:"appearance,omitempty"`
	// The default visibility of the memo.
	MemoVisibility string `protobuf:"bytes,3,opt,name=memo_visibility,json=memoVisibility,proto3" json:"memo_visibility,omitempty"`
	// The preferred theme of the user.
	// This references a CSS file in the web/public/themes/ directory.
	// If not set, the default theme will be used.
	Theme string `protobuf:"bytes,4,opt,name=theme,proto3" json:"theme,omitempty"`
	// contains filtered or unexported fields
}

General user settings configuration.

func (*UserSetting_GeneralSetting) Descriptor deprecated added in v0.1.1

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

Deprecated: Use UserSetting_GeneralSetting.ProtoReflect.Descriptor instead.

func (*UserSetting_GeneralSetting) GetAppearance added in v0.1.1

func (x *UserSetting_GeneralSetting) GetAppearance() string

func (*UserSetting_GeneralSetting) GetLocale added in v0.1.1

func (x *UserSetting_GeneralSetting) GetLocale() string

func (*UserSetting_GeneralSetting) GetMemoVisibility added in v0.1.1

func (x *UserSetting_GeneralSetting) GetMemoVisibility() string

func (*UserSetting_GeneralSetting) GetTheme added in v0.1.1

func (x *UserSetting_GeneralSetting) GetTheme() string

func (*UserSetting_GeneralSetting) ProtoMessage added in v0.1.1

func (*UserSetting_GeneralSetting) ProtoMessage()

func (*UserSetting_GeneralSetting) ProtoReflect added in v0.1.1

func (*UserSetting_GeneralSetting) Reset added in v0.1.1

func (x *UserSetting_GeneralSetting) Reset()

func (*UserSetting_GeneralSetting) String added in v0.1.1

func (x *UserSetting_GeneralSetting) String() string

type UserSetting_GeneralSetting_ added in v0.1.1

type UserSetting_GeneralSetting_ struct {
	GeneralSetting *UserSetting_GeneralSetting `protobuf:"bytes,2,opt,name=general_setting,json=generalSetting,proto3,oneof"`
}

type UserSetting_Key added in v0.1.1

type UserSetting_Key int32

Enumeration of user setting keys.

const (
	UserSetting_KEY_UNSPECIFIED UserSetting_Key = 0
	// GENERAL is the key for general user settings.
	UserSetting_GENERAL UserSetting_Key = 1
	// SESSIONS is the key for user authentication sessions.
	UserSetting_SESSIONS UserSetting_Key = 2
	// ACCESS_TOKENS is the key for access tokens.
	UserSetting_ACCESS_TOKENS UserSetting_Key = 3
	// WEBHOOKS is the key for user webhooks.
	UserSetting_WEBHOOKS UserSetting_Key = 4
)

func (UserSetting_Key) Descriptor added in v0.1.1

func (UserSetting_Key) Enum added in v0.1.1

func (x UserSetting_Key) Enum() *UserSetting_Key

func (UserSetting_Key) EnumDescriptor deprecated added in v0.1.1

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

Deprecated: Use UserSetting_Key.Descriptor instead.

func (UserSetting_Key) Number added in v0.1.1

func (UserSetting_Key) String added in v0.1.1

func (x UserSetting_Key) String() string

func (UserSetting_Key) Type added in v0.1.1

type UserSetting_SessionsSetting added in v0.1.1

type UserSetting_SessionsSetting struct {

	// List of active user sessions.
	Sessions []*UserSession `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
	// contains filtered or unexported fields
}

User authentication sessions configuration.

func (*UserSetting_SessionsSetting) Descriptor deprecated added in v0.1.1

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

Deprecated: Use UserSetting_SessionsSetting.ProtoReflect.Descriptor instead.

func (*UserSetting_SessionsSetting) GetSessions added in v0.1.1

func (x *UserSetting_SessionsSetting) GetSessions() []*UserSession

func (*UserSetting_SessionsSetting) ProtoMessage added in v0.1.1

func (*UserSetting_SessionsSetting) ProtoMessage()

func (*UserSetting_SessionsSetting) ProtoReflect added in v0.1.1

func (*UserSetting_SessionsSetting) Reset added in v0.1.1

func (x *UserSetting_SessionsSetting) Reset()

func (*UserSetting_SessionsSetting) String added in v0.1.1

func (x *UserSetting_SessionsSetting) String() string

type UserSetting_SessionsSetting_ added in v0.1.1

type UserSetting_SessionsSetting_ struct {
	SessionsSetting *UserSetting_SessionsSetting `protobuf:"bytes,3,opt,name=sessions_setting,json=sessionsSetting,proto3,oneof"`
}

type UserSetting_WebhooksSetting added in v0.1.1

type UserSetting_WebhooksSetting struct {

	// List of user webhooks.
	Webhooks []*UserWebhook `protobuf:"bytes,1,rep,name=webhooks,proto3" json:"webhooks,omitempty"`
	// contains filtered or unexported fields
}

User webhooks configuration.

func (*UserSetting_WebhooksSetting) Descriptor deprecated added in v0.1.1

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

Deprecated: Use UserSetting_WebhooksSetting.ProtoReflect.Descriptor instead.

func (*UserSetting_WebhooksSetting) GetWebhooks added in v0.1.1

func (x *UserSetting_WebhooksSetting) GetWebhooks() []*UserWebhook

func (*UserSetting_WebhooksSetting) ProtoMessage added in v0.1.1

func (*UserSetting_WebhooksSetting) ProtoMessage()

func (*UserSetting_WebhooksSetting) ProtoReflect added in v0.1.1

func (*UserSetting_WebhooksSetting) Reset added in v0.1.1

func (x *UserSetting_WebhooksSetting) Reset()

func (*UserSetting_WebhooksSetting) String added in v0.1.1

func (x *UserSetting_WebhooksSetting) String() string

type UserSetting_WebhooksSetting_ added in v0.1.1

type UserSetting_WebhooksSetting_ struct {
	WebhooksSetting *UserSetting_WebhooksSetting `protobuf:"bytes,5,opt,name=webhooks_setting,json=webhooksSetting,proto3,oneof"`
}

type UserWebhook added in v0.1.1

type UserWebhook struct {

	// The name of the webhook.
	// Format: users/{user}/webhooks/{webhook}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The URL to send the webhook to.
	Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// Optional. Human-readable name for the webhook.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// The creation time of the webhook.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The last update time of the webhook.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

UserWebhook represents a webhook owned by a user.

func (*UserWebhook) Descriptor deprecated added in v0.1.1

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

Deprecated: Use UserWebhook.ProtoReflect.Descriptor instead.

func (*UserWebhook) GetCreateTime added in v0.1.1

func (x *UserWebhook) GetCreateTime() *timestamppb.Timestamp

func (*UserWebhook) GetDisplayName added in v0.1.1

func (x *UserWebhook) GetDisplayName() string

func (*UserWebhook) GetName added in v0.1.1

func (x *UserWebhook) GetName() string

func (*UserWebhook) GetUpdateTime added in v0.1.1

func (x *UserWebhook) GetUpdateTime() *timestamppb.Timestamp

func (*UserWebhook) GetUrl added in v0.1.1

func (x *UserWebhook) GetUrl() string

func (*UserWebhook) ProtoMessage added in v0.1.1

func (*UserWebhook) ProtoMessage()

func (*UserWebhook) ProtoReflect added in v0.1.1

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

func (*UserWebhook) Reset added in v0.1.1

func (x *UserWebhook) Reset()

func (*UserWebhook) String added in v0.1.1

func (x *UserWebhook) String() string

type User_Role

type User_Role int32
const (
	User_ROLE_UNSPECIFIED User_Role = 0
	User_HOST             User_Role = 1
	User_ADMIN            User_Role = 2
	User_USER             User_Role = 3
)

func (User_Role) Descriptor

func (User_Role) Descriptor() protoreflect.EnumDescriptor

func (User_Role) Enum

func (x User_Role) Enum() *User_Role

func (User_Role) EnumDescriptor deprecated

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

Deprecated: Use User_Role.Descriptor instead.

func (User_Role) Number

func (x User_Role) Number() protoreflect.EnumNumber

func (User_Role) String

func (x User_Role) String() string

func (User_Role) Type

type Visibility

type Visibility int32
const (
	Visibility_VISIBILITY_UNSPECIFIED Visibility = 0
	Visibility_PRIVATE                Visibility = 1
	Visibility_PROTECTED              Visibility = 2
	Visibility_PUBLIC                 Visibility = 3
)

func (Visibility) Descriptor

func (Visibility) Descriptor() protoreflect.EnumDescriptor

func (Visibility) Enum

func (x Visibility) Enum() *Visibility

func (Visibility) EnumDescriptor deprecated

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

Deprecated: Use Visibility.Descriptor instead.

func (Visibility) Number

func (x Visibility) Number() protoreflect.EnumNumber

func (Visibility) String

func (x Visibility) String() string

func (Visibility) Type

type WorkspaceProfile

type WorkspaceProfile struct {

	// The name of instance owner.
	// Format: users/{user}
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// Version is the current version of instance.
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// Mode is the instance mode (e.g. "prod", "dev" or "demo").
	Mode string `protobuf:"bytes,3,opt,name=mode,proto3" json:"mode,omitempty"`
	// Instance URL is the URL of the instance.
	InstanceUrl string `protobuf:"bytes,6,opt,name=instance_url,json=instanceUrl,proto3" json:"instance_url,omitempty"`
	// contains filtered or unexported fields
}

Workspace profile message containing basic workspace information.

func (*WorkspaceProfile) Descriptor deprecated

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

Deprecated: Use WorkspaceProfile.ProtoReflect.Descriptor instead.

func (*WorkspaceProfile) GetInstanceUrl

func (x *WorkspaceProfile) GetInstanceUrl() string

func (*WorkspaceProfile) GetMode

func (x *WorkspaceProfile) GetMode() string

func (*WorkspaceProfile) GetOwner

func (x *WorkspaceProfile) GetOwner() string

func (*WorkspaceProfile) GetVersion

func (x *WorkspaceProfile) GetVersion() string

func (*WorkspaceProfile) ProtoMessage

func (*WorkspaceProfile) ProtoMessage()

func (*WorkspaceProfile) ProtoReflect

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

func (*WorkspaceProfile) Reset

func (x *WorkspaceProfile) Reset()

func (*WorkspaceProfile) String

func (x *WorkspaceProfile) String() string

type WorkspaceSetting

type WorkspaceSetting struct {

	// The name of the workspace setting.
	// Format: workspace/settings/{setting}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are valid to be assigned to Value:
	//
	//	*WorkspaceSetting_GeneralSetting_
	//	*WorkspaceSetting_StorageSetting_
	//	*WorkspaceSetting_MemoRelatedSetting_
	Value isWorkspaceSetting_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

A workspace setting resource.

func (*WorkspaceSetting) Descriptor deprecated

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

Deprecated: Use WorkspaceSetting.ProtoReflect.Descriptor instead.

func (*WorkspaceSetting) GetGeneralSetting

func (x *WorkspaceSetting) GetGeneralSetting() *WorkspaceSetting_GeneralSetting

func (*WorkspaceSetting) GetMemoRelatedSetting

func (x *WorkspaceSetting) GetMemoRelatedSetting() *WorkspaceSetting_MemoRelatedSetting

func (*WorkspaceSetting) GetName

func (x *WorkspaceSetting) GetName() string

func (*WorkspaceSetting) GetStorageSetting

func (x *WorkspaceSetting) GetStorageSetting() *WorkspaceSetting_StorageSetting

func (*WorkspaceSetting) GetValue

func (x *WorkspaceSetting) GetValue() isWorkspaceSetting_Value

func (*WorkspaceSetting) ProtoMessage

func (*WorkspaceSetting) ProtoMessage()

func (*WorkspaceSetting) ProtoReflect

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

func (*WorkspaceSetting) Reset

func (x *WorkspaceSetting) Reset()

func (*WorkspaceSetting) String

func (x *WorkspaceSetting) String() string

type WorkspaceSetting_GeneralSetting

type WorkspaceSetting_GeneralSetting struct {

	// theme is the name of the selected theme.
	// This references a CSS file in the web/public/themes/ directory.
	Theme string `protobuf:"bytes,1,opt,name=theme,proto3" json:"theme,omitempty"`
	// disallow_user_registration disallows user registration.
	DisallowUserRegistration bool `` /* 136-byte string literal not displayed */
	// disallow_password_auth disallows password authentication.
	DisallowPasswordAuth bool `protobuf:"varint,3,opt,name=disallow_password_auth,json=disallowPasswordAuth,proto3" json:"disallow_password_auth,omitempty"`
	// additional_script is the additional script.
	AdditionalScript string `protobuf:"bytes,4,opt,name=additional_script,json=additionalScript,proto3" json:"additional_script,omitempty"`
	// additional_style is the additional style.
	AdditionalStyle string `protobuf:"bytes,5,opt,name=additional_style,json=additionalStyle,proto3" json:"additional_style,omitempty"`
	// custom_profile is the custom profile.
	CustomProfile *WorkspaceSetting_GeneralSetting_CustomProfile `protobuf:"bytes,6,opt,name=custom_profile,json=customProfile,proto3" json:"custom_profile,omitempty"`
	// week_start_day_offset is the week start day offset from Sunday.
	// 0: Sunday, 1: Monday, 2: Tuesday, 3: Wednesday, 4: Thursday, 5: Friday, 6: Saturday
	// Default is Sunday.
	WeekStartDayOffset int32 `protobuf:"varint,7,opt,name=week_start_day_offset,json=weekStartDayOffset,proto3" json:"week_start_day_offset,omitempty"`
	// disallow_change_username disallows changing username.
	DisallowChangeUsername bool `` /* 130-byte string literal not displayed */
	// disallow_change_nickname disallows changing nickname.
	DisallowChangeNickname bool `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

General workspace settings configuration.

func (*WorkspaceSetting_GeneralSetting) Descriptor deprecated

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

Deprecated: Use WorkspaceSetting_GeneralSetting.ProtoReflect.Descriptor instead.

func (*WorkspaceSetting_GeneralSetting) GetAdditionalScript

func (x *WorkspaceSetting_GeneralSetting) GetAdditionalScript() string

func (*WorkspaceSetting_GeneralSetting) GetAdditionalStyle

func (x *WorkspaceSetting_GeneralSetting) GetAdditionalStyle() string

func (*WorkspaceSetting_GeneralSetting) GetCustomProfile

func (*WorkspaceSetting_GeneralSetting) GetDisallowChangeNickname

func (x *WorkspaceSetting_GeneralSetting) GetDisallowChangeNickname() bool

func (*WorkspaceSetting_GeneralSetting) GetDisallowChangeUsername

func (x *WorkspaceSetting_GeneralSetting) GetDisallowChangeUsername() bool

func (*WorkspaceSetting_GeneralSetting) GetDisallowPasswordAuth

func (x *WorkspaceSetting_GeneralSetting) GetDisallowPasswordAuth() bool

func (*WorkspaceSetting_GeneralSetting) GetDisallowUserRegistration

func (x *WorkspaceSetting_GeneralSetting) GetDisallowUserRegistration() bool

func (*WorkspaceSetting_GeneralSetting) GetTheme

func (*WorkspaceSetting_GeneralSetting) GetWeekStartDayOffset

func (x *WorkspaceSetting_GeneralSetting) GetWeekStartDayOffset() int32

func (*WorkspaceSetting_GeneralSetting) ProtoMessage

func (*WorkspaceSetting_GeneralSetting) ProtoMessage()

func (*WorkspaceSetting_GeneralSetting) ProtoReflect

func (*WorkspaceSetting_GeneralSetting) Reset

func (*WorkspaceSetting_GeneralSetting) String

type WorkspaceSetting_GeneralSetting_

type WorkspaceSetting_GeneralSetting_ struct {
	GeneralSetting *WorkspaceSetting_GeneralSetting `protobuf:"bytes,2,opt,name=general_setting,json=generalSetting,proto3,oneof"`
}

type WorkspaceSetting_GeneralSetting_CustomProfile

type WorkspaceSetting_GeneralSetting_CustomProfile struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	LogoUrl     string `protobuf:"bytes,3,opt,name=logo_url,json=logoUrl,proto3" json:"logo_url,omitempty"`
	Locale      string `protobuf:"bytes,4,opt,name=locale,proto3" json:"locale,omitempty"`
	Appearance  string `protobuf:"bytes,5,opt,name=appearance,proto3" json:"appearance,omitempty"`
	// contains filtered or unexported fields
}

Custom profile configuration for workspace branding.

func (*WorkspaceSetting_GeneralSetting_CustomProfile) Descriptor deprecated

Deprecated: Use WorkspaceSetting_GeneralSetting_CustomProfile.ProtoReflect.Descriptor instead.

func (*WorkspaceSetting_GeneralSetting_CustomProfile) GetAppearance

func (*WorkspaceSetting_GeneralSetting_CustomProfile) GetDescription

func (*WorkspaceSetting_GeneralSetting_CustomProfile) GetLocale

func (*WorkspaceSetting_GeneralSetting_CustomProfile) GetLogoUrl

func (*WorkspaceSetting_GeneralSetting_CustomProfile) GetTitle

func (*WorkspaceSetting_GeneralSetting_CustomProfile) ProtoMessage

func (*WorkspaceSetting_GeneralSetting_CustomProfile) ProtoReflect

func (*WorkspaceSetting_GeneralSetting_CustomProfile) Reset

func (*WorkspaceSetting_GeneralSetting_CustomProfile) String

type WorkspaceSetting_Key

type WorkspaceSetting_Key int32

Enumeration of workspace setting keys.

const (
	WorkspaceSetting_KEY_UNSPECIFIED WorkspaceSetting_Key = 0
	// GENERAL is the key for general settings.
	WorkspaceSetting_GENERAL WorkspaceSetting_Key = 1
	// STORAGE is the key for storage settings.
	WorkspaceSetting_STORAGE WorkspaceSetting_Key = 2
	// MEMO_RELATED is the key for memo related settings.
	WorkspaceSetting_MEMO_RELATED WorkspaceSetting_Key = 3
)

func (WorkspaceSetting_Key) Descriptor

func (WorkspaceSetting_Key) Enum

func (WorkspaceSetting_Key) EnumDescriptor deprecated

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

Deprecated: Use WorkspaceSetting_Key.Descriptor instead.

func (WorkspaceSetting_Key) Number

func (WorkspaceSetting_Key) String

func (x WorkspaceSetting_Key) String() string

func (WorkspaceSetting_Key) Type

type WorkspaceSetting_MemoRelatedSetting

type WorkspaceSetting_MemoRelatedSetting struct {

	// disallow_public_visibility disallows set memo as public visibility.
	DisallowPublicVisibility bool `` /* 136-byte string literal not displayed */
	// display_with_update_time orders and displays memo with update time.
	DisplayWithUpdateTime bool `` /* 129-byte string literal not displayed */
	// content_length_limit is the limit of content length. Unit is byte.
	ContentLengthLimit int32 `protobuf:"varint,3,opt,name=content_length_limit,json=contentLengthLimit,proto3" json:"content_length_limit,omitempty"`
	// enable_double_click_edit enables editing on double click.
	EnableDoubleClickEdit bool `` /* 129-byte string literal not displayed */
	// enable_link_preview enables links preview.
	EnableLinkPreview bool `protobuf:"varint,5,opt,name=enable_link_preview,json=enableLinkPreview,proto3" json:"enable_link_preview,omitempty"`
	// reactions is the list of reactions.
	Reactions []string `protobuf:"bytes,7,rep,name=reactions,proto3" json:"reactions,omitempty"`
	// disable_markdown_shortcuts disallow the registration of markdown shortcuts.
	DisableMarkdownShortcuts bool `` /* 136-byte string literal not displayed */
	// enable_blur_nsfw_content enables blurring of content marked as not safe for work (NSFW).
	EnableBlurNsfwContent bool `` /* 129-byte string literal not displayed */
	// nsfw_tags is the list of tags that mark content as NSFW for blurring.
	NsfwTags []string `protobuf:"bytes,10,rep,name=nsfw_tags,json=nsfwTags,proto3" json:"nsfw_tags,omitempty"`
	// contains filtered or unexported fields
}

Memo-related workspace settings and policies.

func (*WorkspaceSetting_MemoRelatedSetting) Descriptor deprecated

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

Deprecated: Use WorkspaceSetting_MemoRelatedSetting.ProtoReflect.Descriptor instead.

func (*WorkspaceSetting_MemoRelatedSetting) GetContentLengthLimit

func (x *WorkspaceSetting_MemoRelatedSetting) GetContentLengthLimit() int32

func (*WorkspaceSetting_MemoRelatedSetting) GetDisableMarkdownShortcuts

func (x *WorkspaceSetting_MemoRelatedSetting) GetDisableMarkdownShortcuts() bool

func (*WorkspaceSetting_MemoRelatedSetting) GetDisallowPublicVisibility

func (x *WorkspaceSetting_MemoRelatedSetting) GetDisallowPublicVisibility() bool

func (*WorkspaceSetting_MemoRelatedSetting) GetDisplayWithUpdateTime

func (x *WorkspaceSetting_MemoRelatedSetting) GetDisplayWithUpdateTime() bool

func (*WorkspaceSetting_MemoRelatedSetting) GetEnableBlurNsfwContent

func (x *WorkspaceSetting_MemoRelatedSetting) GetEnableBlurNsfwContent() bool

func (*WorkspaceSetting_MemoRelatedSetting) GetEnableDoubleClickEdit

func (x *WorkspaceSetting_MemoRelatedSetting) GetEnableDoubleClickEdit() bool

func (*WorkspaceSetting_MemoRelatedSetting) GetEnableLinkPreview

func (x *WorkspaceSetting_MemoRelatedSetting) GetEnableLinkPreview() bool

func (*WorkspaceSetting_MemoRelatedSetting) GetNsfwTags

func (x *WorkspaceSetting_MemoRelatedSetting) GetNsfwTags() []string

func (*WorkspaceSetting_MemoRelatedSetting) GetReactions

func (x *WorkspaceSetting_MemoRelatedSetting) GetReactions() []string

func (*WorkspaceSetting_MemoRelatedSetting) ProtoMessage

func (*WorkspaceSetting_MemoRelatedSetting) ProtoMessage()

func (*WorkspaceSetting_MemoRelatedSetting) ProtoReflect

func (*WorkspaceSetting_MemoRelatedSetting) Reset

func (*WorkspaceSetting_MemoRelatedSetting) String

type WorkspaceSetting_MemoRelatedSetting_

type WorkspaceSetting_MemoRelatedSetting_ struct {
	MemoRelatedSetting *WorkspaceSetting_MemoRelatedSetting `protobuf:"bytes,4,opt,name=memo_related_setting,json=memoRelatedSetting,proto3,oneof"`
}

type WorkspaceSetting_StorageSetting

type WorkspaceSetting_StorageSetting struct {

	// storage_type is the storage type.
	StorageType WorkspaceSetting_StorageSetting_StorageType `` /* 150-byte string literal not displayed */
	// The template of file path.
	// e.g. assets/{timestamp}_{filename}
	FilepathTemplate string `protobuf:"bytes,2,opt,name=filepath_template,json=filepathTemplate,proto3" json:"filepath_template,omitempty"`
	// The max upload size in megabytes.
	UploadSizeLimitMb int64 `protobuf:"varint,3,opt,name=upload_size_limit_mb,json=uploadSizeLimitMb,proto3" json:"upload_size_limit_mb,omitempty"`
	// The S3 config.
	S3Config *WorkspaceSetting_StorageSetting_S3Config `protobuf:"bytes,4,opt,name=s3_config,json=s3Config,proto3" json:"s3_config,omitempty"`
	// contains filtered or unexported fields
}

Storage configuration settings for workspace attachments.

func (*WorkspaceSetting_StorageSetting) Descriptor deprecated

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

Deprecated: Use WorkspaceSetting_StorageSetting.ProtoReflect.Descriptor instead.

func (*WorkspaceSetting_StorageSetting) GetFilepathTemplate

func (x *WorkspaceSetting_StorageSetting) GetFilepathTemplate() string

func (*WorkspaceSetting_StorageSetting) GetS3Config

func (*WorkspaceSetting_StorageSetting) GetStorageType

func (*WorkspaceSetting_StorageSetting) GetUploadSizeLimitMb

func (x *WorkspaceSetting_StorageSetting) GetUploadSizeLimitMb() int64

func (*WorkspaceSetting_StorageSetting) ProtoMessage

func (*WorkspaceSetting_StorageSetting) ProtoMessage()

func (*WorkspaceSetting_StorageSetting) ProtoReflect

func (*WorkspaceSetting_StorageSetting) Reset

func (*WorkspaceSetting_StorageSetting) String

type WorkspaceSetting_StorageSetting_

type WorkspaceSetting_StorageSetting_ struct {
	StorageSetting *WorkspaceSetting_StorageSetting `protobuf:"bytes,3,opt,name=storage_setting,json=storageSetting,proto3,oneof"`
}

type WorkspaceSetting_StorageSetting_S3Config

type WorkspaceSetting_StorageSetting_S3Config struct {
	AccessKeyId     string `protobuf:"bytes,1,opt,name=access_key_id,json=accessKeyId,proto3" json:"access_key_id,omitempty"`
	AccessKeySecret string `protobuf:"bytes,2,opt,name=access_key_secret,json=accessKeySecret,proto3" json:"access_key_secret,omitempty"`
	Endpoint        string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	Region          string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"`
	Bucket          string `protobuf:"bytes,5,opt,name=bucket,proto3" json:"bucket,omitempty"`
	UsePathStyle    bool   `protobuf:"varint,6,opt,name=use_path_style,json=usePathStyle,proto3" json:"use_path_style,omitempty"`
	// contains filtered or unexported fields
}

S3 configuration for cloud storage backend. Reference: https://developers.cloudflare.com/r2/examples/aws/aws-sdk-go/

func (*WorkspaceSetting_StorageSetting_S3Config) Descriptor deprecated

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

Deprecated: Use WorkspaceSetting_StorageSetting_S3Config.ProtoReflect.Descriptor instead.

func (*WorkspaceSetting_StorageSetting_S3Config) GetAccessKeyId

func (*WorkspaceSetting_StorageSetting_S3Config) GetAccessKeySecret

func (x *WorkspaceSetting_StorageSetting_S3Config) GetAccessKeySecret() string

func (*WorkspaceSetting_StorageSetting_S3Config) GetBucket

func (*WorkspaceSetting_StorageSetting_S3Config) GetEndpoint

func (*WorkspaceSetting_StorageSetting_S3Config) GetRegion

func (*WorkspaceSetting_StorageSetting_S3Config) GetUsePathStyle

func (x *WorkspaceSetting_StorageSetting_S3Config) GetUsePathStyle() bool

func (*WorkspaceSetting_StorageSetting_S3Config) ProtoMessage

func (*WorkspaceSetting_StorageSetting_S3Config) ProtoReflect

func (*WorkspaceSetting_StorageSetting_S3Config) Reset

func (*WorkspaceSetting_StorageSetting_S3Config) String

type WorkspaceSetting_StorageSetting_StorageType

type WorkspaceSetting_StorageSetting_StorageType int32

Storage type enumeration for different storage backends.

const (
	WorkspaceSetting_StorageSetting_STORAGE_TYPE_UNSPECIFIED WorkspaceSetting_StorageSetting_StorageType = 0
	// DATABASE is the database storage type.
	WorkspaceSetting_StorageSetting_DATABASE WorkspaceSetting_StorageSetting_StorageType = 1
	// LOCAL is the local storage type.
	WorkspaceSetting_StorageSetting_LOCAL WorkspaceSetting_StorageSetting_StorageType = 2
	// S3 is the S3 storage type.
	WorkspaceSetting_StorageSetting_S3 WorkspaceSetting_StorageSetting_StorageType = 3
)

func (WorkspaceSetting_StorageSetting_StorageType) Descriptor

func (WorkspaceSetting_StorageSetting_StorageType) Enum

func (WorkspaceSetting_StorageSetting_StorageType) EnumDescriptor deprecated

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

Deprecated: Use WorkspaceSetting_StorageSetting_StorageType.Descriptor instead.

func (WorkspaceSetting_StorageSetting_StorageType) Number

func (WorkspaceSetting_StorageSetting_StorageType) String

func (WorkspaceSetting_StorageSetting_StorageType) Type

Jump to

Keyboard shortcuts

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