apiv2

package
v0.18.2 Latest Latest
Warning

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

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

README

Protocol Documentation

Table of Contents

Top

api/v2/activity_service.proto

Activity
Field Type Label Description
id int32
creator_id int32
type string
level string
create_time google.protobuf.Timestamp
payload ActivityPayload

ActivityMemoCommentPayload
Field Type Label Description
memo_id int32
related_memo_id int32

ActivityPayload
Field Type Label Description
memo_comment ActivityMemoCommentPayload
version_update ActivityVersionUpdatePayload

ActivityVersionUpdatePayload
Field Type Label Description
version string

GetActivityRequest
Field Type Label Description
id int32

GetActivityResponse
Field Type Label Description
activity Activity

ActivityService
Method Name Request Type Response Type Description
GetActivity GetActivityRequest GetActivityResponse

Top

api/v2/common.proto

RowStatus
Name Number Description
ROW_STATUS_UNSPECIFIED 0
ACTIVE 1
ARCHIVED 2

Top

api/v2/user_service.proto

CreateUserAccessTokenRequest
Field Type Label Description
name string The name of the user. Format: users/{username}
description string
expires_at google.protobuf.Timestamp optional

CreateUserAccessTokenResponse
Field Type Label Description
access_token UserAccessToken

CreateUserRequest
Field Type Label Description
user User

CreateUserResponse
Field Type Label Description
user User

DeleteUserAccessTokenRequest
Field Type Label Description
name string The name of the user. Format: users/{username}
access_token string access_token is the access token to delete.

DeleteUserAccessTokenResponse

DeleteUserRequest
Field Type Label Description
name string The name of the user. Format: users/{username}

DeleteUserResponse

GetUserRequest
Field Type Label Description
name string The name of the user. Format: users/{username}

GetUserResponse
Field Type Label Description
user User

GetUserSettingRequest
Field Type Label Description
name string The name of the user. Format: users/{username}

GetUserSettingResponse
Field Type Label Description
setting UserSetting

ListUserAccessTokensRequest
Field Type Label Description
name string The name of the user. Format: users/{username}

ListUserAccessTokensResponse
Field Type Label Description
access_tokens UserAccessToken repeated

ListUsersRequest

ListUsersResponse
Field Type Label Description
users User repeated

UpdateUserRequest
Field Type Label Description
user User
update_mask google.protobuf.FieldMask

UpdateUserResponse
Field Type Label Description
user User

UpdateUserSettingRequest
Field Type Label Description
setting UserSetting
update_mask google.protobuf.FieldMask

UpdateUserSettingResponse
Field Type Label Description
setting UserSetting

User
Field Type Label Description
name string The name of the user. Format: users/{username}
id int32
role User.Role
username string
email string
nickname string
avatar_url string
password string
row_status RowStatus
create_time google.protobuf.Timestamp
update_time google.protobuf.Timestamp

UserAccessToken
Field Type Label Description
access_token string
description string
issued_at google.protobuf.Timestamp
expires_at google.protobuf.Timestamp

UserSetting
Field Type Label Description
name string The name of the user. Format: users/{username}
locale string The preferred locale of the user.
appearance string The preferred appearance of the user.
memo_visibility string The default visibility of the memo.
telegram_user_id string The telegram user id of the user.

User.Role
Name Number Description
ROLE_UNSPECIFIED 0
HOST 1
ADMIN 2
USER 3

UserService
Method Name Request Type Response Type Description
ListUsers ListUsersRequest ListUsersResponse ListUsers returns a list of users.
GetUser GetUserRequest GetUserResponse GetUser gets a user by name.
CreateUser CreateUserRequest CreateUserResponse CreateUser creates a new user.
UpdateUser UpdateUserRequest UpdateUserResponse UpdateUser updates a user.
DeleteUser DeleteUserRequest DeleteUserResponse DeleteUser deletes a user.
GetUserSetting GetUserSettingRequest GetUserSettingResponse
UpdateUserSetting UpdateUserSettingRequest UpdateUserSettingResponse
ListUserAccessTokens ListUserAccessTokensRequest ListUserAccessTokensResponse ListUserAccessTokens returns a list of access tokens for a user.
CreateUserAccessToken CreateUserAccessTokenRequest CreateUserAccessTokenResponse CreateUserAccessToken creates a new access token for a user.
DeleteUserAccessToken DeleteUserAccessTokenRequest DeleteUserAccessTokenResponse DeleteUserAccessToken deletes an access token for a user.

Top

api/v2/auth_service.proto

GetAuthStatusRequest

GetAuthStatusResponse
Field Type Label Description
user User

AuthService
Method Name Request Type Response Type Description
GetAuthStatus GetAuthStatusRequest GetAuthStatusResponse

Top

api/v2/inbox_service.proto

DeleteInboxRequest
Field Type Label Description
name string The name of the inbox to delete. Format: inboxes/{inbox}

DeleteInboxResponse

Inbox
Field Type Label Description
name string The name of the inbox. Format: inboxes/{id}
sender string Format: users/{username}
receiver string Format: users/{username}
status Inbox.Status
create_time google.protobuf.Timestamp
type Inbox.Type
activity_id int32 optional

ListInboxesRequest
Field Type Label Description
user string Format: users/{username}

ListInboxesResponse
Field Type Label Description
inboxes Inbox repeated

UpdateInboxRequest
Field Type Label Description
inbox Inbox
update_mask google.protobuf.FieldMask

UpdateInboxResponse
Field Type Label Description
inbox Inbox

Inbox.Status
Name Number Description
STATUS_UNSPECIFIED 0
UNREAD 1
ARCHIVED 2

Inbox.Type
Name Number Description
TYPE_UNSPECIFIED 0
TYPE_MEMO_COMMENT 1
TYPE_VERSION_UPDATE 2

InboxService
Method Name Request Type Response Type Description
ListInboxes ListInboxesRequest ListInboxesResponse
UpdateInbox UpdateInboxRequest UpdateInboxResponse
DeleteInbox DeleteInboxRequest DeleteInboxResponse

Top

api/v2/markdown_service.proto

AutoLinkNode
Field Type Label Description
url string
is_raw_text bool

BlockquoteNode
Field Type Label Description
children Node repeated

BoldItalicNode
Field Type Label Description
symbol string
content string

BoldNode
Field Type Label Description
symbol string
children Node repeated

CodeBlockNode
Field Type Label Description
language string
content string

CodeNode
Field Type Label Description
content string

EscapingCharacterNode
Field Type Label Description
symbol string

HeadingNode
Field Type Label Description
level int32
children Node repeated

HighlightNode
Field Type Label Description
content string

HorizontalRuleNode
Field Type Label Description
symbol string

ImageNode
Field Type Label Description
alt_text string
url string

ItalicNode
Field Type Label Description
symbol string
content string

LineBreakNode

LinkNode
Field Type Label Description
text string
url string

MathBlockNode
Field Type Label Description
content string

MathNode
Field Type Label Description
content string

Node
Field Type Label Description
type NodeType
line_break_node LineBreakNode
paragraph_node ParagraphNode
code_block_node CodeBlockNode
heading_node HeadingNode
horizontal_rule_node HorizontalRuleNode
blockquote_node BlockquoteNode
ordered_list_node OrderedListNode
unordered_list_node UnorderedListNode
task_list_node TaskListNode
math_block_node MathBlockNode
table_node TableNode
text_node TextNode
bold_node BoldNode
italic_node ItalicNode
bold_italic_node BoldItalicNode
code_node CodeNode
image_node ImageNode
link_node LinkNode
auto_link_node AutoLinkNode
tag_node TagNode
strikethrough_node StrikethroughNode
escaping_character_node EscapingCharacterNode
math_node MathNode
highlight_node HighlightNode

OrderedListNode
Field Type Label Description
number string
indent int32
children Node repeated

ParagraphNode
Field Type Label Description
children Node repeated

ParseMarkdownRequest
Field Type Label Description
markdown string

ParseMarkdownResponse
Field Type Label Description
nodes Node repeated

StrikethroughNode
Field Type Label Description
content string

TableNode
Field Type Label Description
header string repeated
delimiter string repeated
rows TableNode.Row repeated

TableNode.Row
Field Type Label Description
cells string repeated

TagNode
Field Type Label Description
content string

TaskListNode
Field Type Label Description
symbol string
indent int32
complete bool
children Node repeated

TextNode
Field Type Label Description
content string

UnorderedListNode
Field Type Label Description
symbol string
indent int32
children Node repeated

NodeType
Name Number Description
NODE_UNSPECIFIED 0
LINE_BREAK 1
PARAGRAPH 2
CODE_BLOCK 3
HEADING 4
HORIZONTAL_RULE 5
BLOCKQUOTE 6
ORDERED_LIST 7
UNORDERED_LIST 8
TASK_LIST 9
MATH_BLOCK 10
TABLE 11
TEXT 12
BOLD 13
ITALIC 14
BOLD_ITALIC 15
CODE 16
IMAGE 17
LINK 18
AUTO_LINK 19
TAG 20
STRIKETHROUGH 21
ESCAPING_CHARACTER 22
MATH 23
HIGHLIGHT 24

MarkdownService
Method Name Request Type Response Type Description
ParseMarkdown ParseMarkdownRequest ParseMarkdownResponse

Top

api/v2/memo_relation_service.proto

MemoRelation
Field Type Label Description
memo_id int32
related_memo_id int32
type MemoRelation.Type

MemoRelation.Type
Name Number Description
TYPE_UNSPECIFIED 0
REFERENCE 1
COMMENT 2

Top

api/v2/resource_service.proto

CreateResourceRequest
Field Type Label Description
filename string
external_link string
type string
memo_id int32 optional

CreateResourceResponse
Field Type Label Description
resource Resource

DeleteResourceRequest
Field Type Label Description
id int32

DeleteResourceResponse

ListResourcesRequest

ListResourcesResponse
Field Type Label Description
resources Resource repeated

Resource
Field Type Label Description
id int32
create_time google.protobuf.Timestamp
filename string
external_link string
type string
size int64
memo_id int32 optional

UpdateResourceRequest
Field Type Label Description
resource Resource
update_mask google.protobuf.FieldMask

UpdateResourceResponse
Field Type Label Description
resource Resource

ResourceService
Method Name Request Type Response Type Description
CreateResource CreateResourceRequest CreateResourceResponse
ListResources ListResourcesRequest ListResourcesResponse
UpdateResource UpdateResourceRequest UpdateResourceResponse
DeleteResource DeleteResourceRequest DeleteResourceResponse

Top

api/v2/memo_service.proto

CreateMemoCommentRequest
Field Type Label Description
id int32 id is the memo id to create comment for.
create CreateMemoRequest

CreateMemoCommentResponse
Field Type Label Description
memo Memo

CreateMemoRequest
Field Type Label Description
content string
visibility Visibility

CreateMemoResponse
Field Type Label Description
memo Memo

DeleteMemoRequest
Field Type Label Description
id int32

DeleteMemoResponse

GetMemoRequest
Field Type Label Description
id int32

GetMemoResponse
Field Type Label Description
memo Memo

GetUserMemosStatsRequest
Field Type Label Description
name string name is the name of the user to get stats for. Format: users/{username}
timezone string timezone location Format: uses tz identifier https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
filter string Same as ListMemosRequest.filter

GetUserMemosStatsResponse
Field Type Label Description
stats GetUserMemosStatsResponse.StatsEntry repeated stats is the stats of memo creating/updating activities. key is the year-month-day string. e.g. "2020-01-01".

GetUserMemosStatsResponse.StatsEntry
Field Type Label Description
key string
value int32

ListMemoCommentsRequest
Field Type Label Description
id int32

ListMemoCommentsResponse
Field Type Label Description
memos Memo repeated

ListMemoRelationsRequest
Field Type Label Description
id int32

ListMemoRelationsResponse
Field Type Label Description
relations MemoRelation repeated

ListMemoResourcesRequest
Field Type Label Description
id int32

ListMemoResourcesResponse
Field Type Label Description
resources Resource repeated

ListMemosRequest
Field Type Label Description
offset int32 offset is the offset of the first memo to return.
limit int32 limit is the maximum number of memos to return.
filter string Filter is used to filter memos returned in the list. Format: "creator == users/{username} && visibilities == ['PUBLIC', 'PROTECTED']"

ListMemosResponse
Field Type Label Description
memos Memo repeated

Memo
Field Type Label Description
id int32
row_status RowStatus
creator string The name of the creator. Format: users/{username}
creator_id int32
create_time google.protobuf.Timestamp
update_time google.protobuf.Timestamp
display_time google.protobuf.Timestamp
content string
nodes Node repeated
visibility Visibility
pinned bool
parent_id int32 optional
resources Resource repeated
relations MemoRelation repeated

SetMemoRelationsRequest
Field Type Label Description
id int32
relations MemoRelation repeated

SetMemoRelationsResponse

SetMemoResourcesRequest
Field Type Label Description
id int32
resources Resource repeated

SetMemoResourcesResponse

UpdateMemoRequest
Field Type Label Description
id int32
memo Memo
update_mask google.protobuf.FieldMask

UpdateMemoResponse
Field Type Label Description
memo Memo

Visibility
Name Number Description
VISIBILITY_UNSPECIFIED 0
PRIVATE 1
PROTECTED 2
PUBLIC 3

MemoService
Method Name Request Type Response Type Description
CreateMemo CreateMemoRequest CreateMemoResponse CreateMemo creates a memo.
ListMemos ListMemosRequest ListMemosResponse ListMemos lists memos with pagination and filter.
GetMemo GetMemoRequest GetMemoResponse GetMemo gets a memo by id.
UpdateMemo UpdateMemoRequest UpdateMemoResponse UpdateMemo updates a memo.
DeleteMemo DeleteMemoRequest DeleteMemoResponse DeleteMemo deletes a memo by id.
SetMemoResources SetMemoResourcesRequest SetMemoResourcesResponse SetMemoResources sets resources for a memo.
ListMemoResources ListMemoResourcesRequest ListMemoResourcesResponse ListMemoResources lists resources for a memo.
SetMemoRelations SetMemoRelationsRequest SetMemoRelationsResponse SetMemoRelations sets relations for a memo.
ListMemoRelations ListMemoRelationsRequest ListMemoRelationsResponse ListMemoRelations lists relations for a memo.
CreateMemoComment CreateMemoCommentRequest CreateMemoCommentResponse CreateMemoComment creates a comment for a memo.
ListMemoComments ListMemoCommentsRequest ListMemoCommentsResponse ListMemoComments lists comments for a memo.
GetUserMemosStats GetUserMemosStatsRequest GetUserMemosStatsResponse GetUserMemosStats gets stats of memos for a user.

Top

api/v2/system_service.proto

GetSystemInfoRequest

GetSystemInfoResponse
Field Type Label Description
system_info SystemInfo

SystemInfo
Field Type Label Description
version string
mode string
allow_registration bool
disable_password_login bool
additional_script string
additional_style string
db_size int64

UpdateSystemInfoRequest
Field Type Label Description
system_info SystemInfo System info is the updated data.
update_mask google.protobuf.FieldMask

UpdateSystemInfoResponse
Field Type Label Description
system_info SystemInfo

SystemService
Method Name Request Type Response Type Description
GetSystemInfo GetSystemInfoRequest GetSystemInfoResponse
UpdateSystemInfo UpdateSystemInfoRequest UpdateSystemInfoResponse

Top

api/v2/tag_service.proto

DeleteTagRequest
Field Type Label Description
tag Tag

DeleteTagResponse

GetTagSuggestionsRequest
Field Type Label Description
user string The creator of tags. Format: users/{username}

GetTagSuggestionsResponse
Field Type Label Description
tags string repeated

ListTagsRequest
Field Type Label Description
user string The creator of tags. Format: users/{username}

ListTagsResponse
Field Type Label Description
tags Tag repeated

Tag
Field Type Label Description
name string
creator string The creator of tags. Format: users/{username}

UpsertTagRequest
Field Type Label Description
name string

UpsertTagResponse
Field Type Label Description
tag Tag

TagService
Method Name Request Type Response Type Description
UpsertTag UpsertTagRequest UpsertTagResponse
ListTags ListTagsRequest ListTagsResponse
DeleteTag DeleteTagRequest DeleteTagResponse
GetTagSuggestions GetTagSuggestionsRequest GetTagSuggestionsResponse

Top

api/v2/webhook_service.proto

CreateWebhookRequest
Field Type Label Description
name string
url string

CreateWebhookResponse
Field Type Label Description
webhook Webhook

DeleteWebhookRequest
Field Type Label Description
id int32

DeleteWebhookResponse

GetWebhookRequest
Field Type Label Description
id int32

GetWebhookResponse
Field Type Label Description
webhook Webhook

ListWebhooksRequest
Field Type Label Description
creator_id int32

ListWebhooksResponse
Field Type Label Description
webhooks Webhook repeated

UpdateWebhookRequest
Field Type Label Description
webhook Webhook
update_mask google.protobuf.FieldMask

UpdateWebhookResponse
Field Type Label Description
webhook Webhook

Webhook
Field Type Label Description
id int32
creator_id int32
created_time google.protobuf.Timestamp
updated_time google.protobuf.Timestamp
row_status RowStatus
name string
url string

WebhookService
Method Name Request Type Response Type Description
CreateWebhook CreateWebhookRequest CreateWebhookResponse
GetWebhook GetWebhookRequest GetWebhookResponse
ListWebhooks ListWebhooksRequest ListWebhooksResponse
UpdateWebhook UpdateWebhookRequest UpdateWebhookResponse
DeleteWebhook DeleteWebhookRequest DeleteWebhookResponse

Scalar Value Types

.proto Type Notes C++ Java Python Go C# PHP Ruby
double double double float float64 double float Float
float float float float float32 float float Float
int32 Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. int32 int int int32 int integer Bignum or Fixnum (as required)
int64 Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. int64 long int/long int64 long integer/string Bignum
uint32 Uses variable-length encoding. uint32 int int/long uint32 uint integer Bignum or Fixnum (as required)
uint64 Uses variable-length encoding. uint64 long int/long uint64 ulong integer/string Bignum or Fixnum (as required)
sint32 Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. int32 int int int32 int integer Bignum or Fixnum (as required)
sint64 Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. int64 long int/long int64 long integer/string Bignum
fixed32 Always four bytes. More efficient than uint32 if values are often greater than 2^28. uint32 int int uint32 uint integer Bignum or Fixnum (as required)
fixed64 Always eight bytes. More efficient than uint64 if values are often greater than 2^56. uint64 long int/long uint64 ulong integer/string Bignum
sfixed32 Always four bytes. int32 int int int32 int integer Bignum or Fixnum (as required)
sfixed64 Always eight bytes. int64 long int/long int64 long integer/string Bignum
bool bool boolean boolean bool bool boolean TrueClass/FalseClass
string A string must always contain UTF-8 encoded or 7-bit ASCII text. string String str/unicode string string string String (UTF-8)
bytes May contain any arbitrary sequence of bytes. string ByteString str []byte ByteString string String (ASCII-8BIT)

Documentation

Overview

Package apiv2 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package apiv2 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package apiv2 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package apiv2 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package apiv2 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package apiv2 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package apiv2 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package apiv2 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package apiv2 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package apiv2 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	InboxService_ListInboxes_FullMethodName = "/memos.api.v2.InboxService/ListInboxes"
	InboxService_UpdateInbox_FullMethodName = "/memos.api.v2.InboxService/UpdateInbox"
	InboxService_DeleteInbox_FullMethodName = "/memos.api.v2.InboxService/DeleteInbox"
)
View Source
const (
	MemoService_CreateMemo_FullMethodName        = "/memos.api.v2.MemoService/CreateMemo"
	MemoService_ListMemos_FullMethodName         = "/memos.api.v2.MemoService/ListMemos"
	MemoService_GetMemo_FullMethodName           = "/memos.api.v2.MemoService/GetMemo"
	MemoService_UpdateMemo_FullMethodName        = "/memos.api.v2.MemoService/UpdateMemo"
	MemoService_DeleteMemo_FullMethodName        = "/memos.api.v2.MemoService/DeleteMemo"
	MemoService_SetMemoResources_FullMethodName  = "/memos.api.v2.MemoService/SetMemoResources"
	MemoService_ListMemoResources_FullMethodName = "/memos.api.v2.MemoService/ListMemoResources"
	MemoService_SetMemoRelations_FullMethodName  = "/memos.api.v2.MemoService/SetMemoRelations"
	MemoService_ListMemoRelations_FullMethodName = "/memos.api.v2.MemoService/ListMemoRelations"
	MemoService_CreateMemoComment_FullMethodName = "/memos.api.v2.MemoService/CreateMemoComment"
	MemoService_ListMemoComments_FullMethodName  = "/memos.api.v2.MemoService/ListMemoComments"
	MemoService_GetUserMemosStats_FullMethodName = "/memos.api.v2.MemoService/GetUserMemosStats"
)
View Source
const (
	ResourceService_CreateResource_FullMethodName = "/memos.api.v2.ResourceService/CreateResource"
	ResourceService_ListResources_FullMethodName  = "/memos.api.v2.ResourceService/ListResources"
	ResourceService_UpdateResource_FullMethodName = "/memos.api.v2.ResourceService/UpdateResource"
	ResourceService_DeleteResource_FullMethodName = "/memos.api.v2.ResourceService/DeleteResource"
)
View Source
const (
	SystemService_GetSystemInfo_FullMethodName    = "/memos.api.v2.SystemService/GetSystemInfo"
	SystemService_UpdateSystemInfo_FullMethodName = "/memos.api.v2.SystemService/UpdateSystemInfo"
)
View Source
const (
	TagService_UpsertTag_FullMethodName         = "/memos.api.v2.TagService/UpsertTag"
	TagService_ListTags_FullMethodName          = "/memos.api.v2.TagService/ListTags"
	TagService_DeleteTag_FullMethodName         = "/memos.api.v2.TagService/DeleteTag"
	TagService_GetTagSuggestions_FullMethodName = "/memos.api.v2.TagService/GetTagSuggestions"
)
View Source
const (
	UserService_ListUsers_FullMethodName             = "/memos.api.v2.UserService/ListUsers"
	UserService_GetUser_FullMethodName               = "/memos.api.v2.UserService/GetUser"
	UserService_CreateUser_FullMethodName            = "/memos.api.v2.UserService/CreateUser"
	UserService_UpdateUser_FullMethodName            = "/memos.api.v2.UserService/UpdateUser"
	UserService_DeleteUser_FullMethodName            = "/memos.api.v2.UserService/DeleteUser"
	UserService_GetUserSetting_FullMethodName        = "/memos.api.v2.UserService/GetUserSetting"
	UserService_UpdateUserSetting_FullMethodName     = "/memos.api.v2.UserService/UpdateUserSetting"
	UserService_ListUserAccessTokens_FullMethodName  = "/memos.api.v2.UserService/ListUserAccessTokens"
	UserService_CreateUserAccessToken_FullMethodName = "/memos.api.v2.UserService/CreateUserAccessToken"
	UserService_DeleteUserAccessToken_FullMethodName = "/memos.api.v2.UserService/DeleteUserAccessToken"
)
View Source
const (
	WebhookService_CreateWebhook_FullMethodName = "/memos.api.v2.WebhookService/CreateWebhook"
	WebhookService_GetWebhook_FullMethodName    = "/memos.api.v2.WebhookService/GetWebhook"
	WebhookService_ListWebhooks_FullMethodName  = "/memos.api.v2.WebhookService/ListWebhooks"
	WebhookService_UpdateWebhook_FullMethodName = "/memos.api.v2.WebhookService/UpdateWebhook"
	WebhookService_DeleteWebhook_FullMethodName = "/memos.api.v2.WebhookService/DeleteWebhook"
)
View Source
const (
	ActivityService_GetActivity_FullMethodName = "/memos.api.v2.ActivityService/GetActivity"
)
View Source
const (
	AuthService_GetAuthStatus_FullMethodName = "/memos.api.v2.AuthService/GetAuthStatus"
)
View Source
const (
	MarkdownService_ParseMarkdown_FullMethodName = "/memos.api.v2.MarkdownService/ParseMarkdown"
)

Variables

View Source
var (
	RowStatus_name = map[int32]string{
		0: "ROW_STATUS_UNSPECIFIED",
		1: "ACTIVE",
		2: "ARCHIVED",
	}
	RowStatus_value = map[string]int32{
		"ROW_STATUS_UNSPECIFIED": 0,
		"ACTIVE":                 1,
		"ARCHIVED":               2,
	}
)

Enum value maps for RowStatus.

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: "TYPE_MEMO_COMMENT",
		2: "TYPE_VERSION_UPDATE",
	}
	Inbox_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED":    0,
		"TYPE_MEMO_COMMENT":   1,
		"TYPE_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:  "ORDERED_LIST",
		8:  "UNORDERED_LIST",
		9:  "TASK_LIST",
		10: "MATH_BLOCK",
		11: "TABLE",
		12: "TEXT",
		13: "BOLD",
		14: "ITALIC",
		15: "BOLD_ITALIC",
		16: "CODE",
		17: "IMAGE",
		18: "LINK",
		19: "AUTO_LINK",
		20: "TAG",
		21: "STRIKETHROUGH",
		22: "ESCAPING_CHARACTER",
		23: "MATH",
		24: "HIGHLIGHT",
	}
	NodeType_value = map[string]int32{
		"NODE_UNSPECIFIED":   0,
		"LINE_BREAK":         1,
		"PARAGRAPH":          2,
		"CODE_BLOCK":         3,
		"HEADING":            4,
		"HORIZONTAL_RULE":    5,
		"BLOCKQUOTE":         6,
		"ORDERED_LIST":       7,
		"UNORDERED_LIST":     8,
		"TASK_LIST":          9,
		"MATH_BLOCK":         10,
		"TABLE":              11,
		"TEXT":               12,
		"BOLD":               13,
		"ITALIC":             14,
		"BOLD_ITALIC":        15,
		"CODE":               16,
		"IMAGE":              17,
		"LINK":               18,
		"AUTO_LINK":          19,
		"TAG":                20,
		"STRIKETHROUGH":      21,
		"ESCAPING_CHARACTER": 22,
		"MATH":               23,
		"HIGHLIGHT":          24,
	}
)

Enum value maps for NodeType.

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 (
	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 (
	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 ActivityService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "memos.api.v2.ActivityService",
	HandlerType: (*ActivityServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetActivity",
			Handler:    _ActivityService_GetActivity_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v2/activity_service.proto",
}

ActivityService_ServiceDesc is the grpc.ServiceDesc for ActivityService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var AuthService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "memos.api.v2.AuthService",
	HandlerType: (*AuthServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAuthStatus",
			Handler:    _AuthService_GetAuthStatus_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v2/auth_service.proto",
}

AuthService_ServiceDesc is the grpc.ServiceDesc for AuthService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_api_v2_activity_service_proto protoreflect.FileDescriptor
View Source
var File_api_v2_auth_service_proto protoreflect.FileDescriptor
View Source
var File_api_v2_common_proto protoreflect.FileDescriptor
View Source
var File_api_v2_inbox_service_proto protoreflect.FileDescriptor
View Source
var File_api_v2_markdown_service_proto protoreflect.FileDescriptor
View Source
var File_api_v2_memo_relation_service_proto protoreflect.FileDescriptor
View Source
var File_api_v2_memo_service_proto protoreflect.FileDescriptor
View Source
var File_api_v2_resource_service_proto protoreflect.FileDescriptor
View Source
var File_api_v2_system_service_proto protoreflect.FileDescriptor
View Source
var File_api_v2_tag_service_proto protoreflect.FileDescriptor
View Source
var File_api_v2_user_service_proto protoreflect.FileDescriptor
View Source
var File_api_v2_webhook_service_proto protoreflect.FileDescriptor
View Source
var InboxService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "memos.api.v2.InboxService",
	HandlerType: (*InboxServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListInboxes",
			Handler:    _InboxService_ListInboxes_Handler,
		},
		{
			MethodName: "UpdateInbox",
			Handler:    _InboxService_UpdateInbox_Handler,
		},
		{
			MethodName: "DeleteInbox",
			Handler:    _InboxService_DeleteInbox_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v2/inbox_service.proto",
}

InboxService_ServiceDesc is the grpc.ServiceDesc for InboxService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var MarkdownService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "memos.api.v2.MarkdownService",
	HandlerType: (*MarkdownServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ParseMarkdown",
			Handler:    _MarkdownService_ParseMarkdown_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v2/markdown_service.proto",
}

MarkdownService_ServiceDesc is the grpc.ServiceDesc for MarkdownService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var MemoService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "memos.api.v2.MemoService",
	HandlerType: (*MemoServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateMemo",
			Handler:    _MemoService_CreateMemo_Handler,
		},
		{
			MethodName: "ListMemos",
			Handler:    _MemoService_ListMemos_Handler,
		},
		{
			MethodName: "GetMemo",
			Handler:    _MemoService_GetMemo_Handler,
		},
		{
			MethodName: "UpdateMemo",
			Handler:    _MemoService_UpdateMemo_Handler,
		},
		{
			MethodName: "DeleteMemo",
			Handler:    _MemoService_DeleteMemo_Handler,
		},
		{
			MethodName: "SetMemoResources",
			Handler:    _MemoService_SetMemoResources_Handler,
		},
		{
			MethodName: "ListMemoResources",
			Handler:    _MemoService_ListMemoResources_Handler,
		},
		{
			MethodName: "SetMemoRelations",
			Handler:    _MemoService_SetMemoRelations_Handler,
		},
		{
			MethodName: "ListMemoRelations",
			Handler:    _MemoService_ListMemoRelations_Handler,
		},
		{
			MethodName: "CreateMemoComment",
			Handler:    _MemoService_CreateMemoComment_Handler,
		},
		{
			MethodName: "ListMemoComments",
			Handler:    _MemoService_ListMemoComments_Handler,
		},
		{
			MethodName: "GetUserMemosStats",
			Handler:    _MemoService_GetUserMemosStats_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v2/memo_service.proto",
}

MemoService_ServiceDesc is the grpc.ServiceDesc for MemoService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ResourceService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "memos.api.v2.ResourceService",
	HandlerType: (*ResourceServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateResource",
			Handler:    _ResourceService_CreateResource_Handler,
		},
		{
			MethodName: "ListResources",
			Handler:    _ResourceService_ListResources_Handler,
		},
		{
			MethodName: "UpdateResource",
			Handler:    _ResourceService_UpdateResource_Handler,
		},
		{
			MethodName: "DeleteResource",
			Handler:    _ResourceService_DeleteResource_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v2/resource_service.proto",
}

ResourceService_ServiceDesc is the grpc.ServiceDesc for ResourceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var SystemService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "memos.api.v2.SystemService",
	HandlerType: (*SystemServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetSystemInfo",
			Handler:    _SystemService_GetSystemInfo_Handler,
		},
		{
			MethodName: "UpdateSystemInfo",
			Handler:    _SystemService_UpdateSystemInfo_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v2/system_service.proto",
}

SystemService_ServiceDesc is the grpc.ServiceDesc for SystemService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var TagService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "memos.api.v2.TagService",
	HandlerType: (*TagServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpsertTag",
			Handler:    _TagService_UpsertTag_Handler,
		},
		{
			MethodName: "ListTags",
			Handler:    _TagService_ListTags_Handler,
		},
		{
			MethodName: "DeleteTag",
			Handler:    _TagService_DeleteTag_Handler,
		},
		{
			MethodName: "GetTagSuggestions",
			Handler:    _TagService_GetTagSuggestions_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v2/tag_service.proto",
}

TagService_ServiceDesc is the grpc.ServiceDesc for TagService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var UserService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "memos.api.v2.UserService",
	HandlerType: (*UserServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListUsers",
			Handler:    _UserService_ListUsers_Handler,
		},
		{
			MethodName: "GetUser",
			Handler:    _UserService_GetUser_Handler,
		},
		{
			MethodName: "CreateUser",
			Handler:    _UserService_CreateUser_Handler,
		},
		{
			MethodName: "UpdateUser",
			Handler:    _UserService_UpdateUser_Handler,
		},
		{
			MethodName: "DeleteUser",
			Handler:    _UserService_DeleteUser_Handler,
		},
		{
			MethodName: "GetUserSetting",
			Handler:    _UserService_GetUserSetting_Handler,
		},
		{
			MethodName: "UpdateUserSetting",
			Handler:    _UserService_UpdateUserSetting_Handler,
		},
		{
			MethodName: "ListUserAccessTokens",
			Handler:    _UserService_ListUserAccessTokens_Handler,
		},
		{
			MethodName: "CreateUserAccessToken",
			Handler:    _UserService_CreateUserAccessToken_Handler,
		},
		{
			MethodName: "DeleteUserAccessToken",
			Handler:    _UserService_DeleteUserAccessToken_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v2/user_service.proto",
}

UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var WebhookService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "memos.api.v2.WebhookService",
	HandlerType: (*WebhookServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateWebhook",
			Handler:    _WebhookService_CreateWebhook_Handler,
		},
		{
			MethodName: "GetWebhook",
			Handler:    _WebhookService_GetWebhook_Handler,
		},
		{
			MethodName: "ListWebhooks",
			Handler:    _WebhookService_ListWebhooks_Handler,
		},
		{
			MethodName: "UpdateWebhook",
			Handler:    _WebhookService_UpdateWebhook_Handler,
		},
		{
			MethodName: "DeleteWebhook",
			Handler:    _WebhookService_DeleteWebhook_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v2/webhook_service.proto",
}

WebhookService_ServiceDesc is the grpc.ServiceDesc for WebhookService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterActivityServiceHandler added in v0.17.0

func RegisterActivityServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterActivityServiceHandler registers the http handlers for service ActivityService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterActivityServiceHandlerClient added in v0.17.0

func RegisterActivityServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ActivityServiceClient) error

RegisterActivityServiceHandlerClient registers the http handlers for service ActivityService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ActivityServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ActivityServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ActivityServiceClient" to call the correct interceptors.

func RegisterActivityServiceHandlerFromEndpoint added in v0.17.0

func RegisterActivityServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterActivityServiceHandlerFromEndpoint is same as RegisterActivityServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterActivityServiceHandlerServer added in v0.17.0

func RegisterActivityServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ActivityServiceServer) error

RegisterActivityServiceHandlerServer registers the http handlers for service ActivityService to "mux". UnaryRPC :call ActivityServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterActivityServiceHandlerFromEndpoint instead.

func RegisterActivityServiceServer added in v0.17.0

func RegisterActivityServiceServer(s grpc.ServiceRegistrar, srv ActivityServiceServer)

func RegisterAuthServiceHandler added in v0.18.0

func RegisterAuthServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterAuthServiceHandler registers the http handlers for service AuthService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterAuthServiceHandlerClient added in v0.18.0

func RegisterAuthServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuthServiceClient) error

RegisterAuthServiceHandlerClient registers the http handlers for service AuthService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AuthServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AuthServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AuthServiceClient" to call the correct interceptors.

func RegisterAuthServiceHandlerFromEndpoint added in v0.18.0

func RegisterAuthServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterAuthServiceHandlerFromEndpoint is same as RegisterAuthServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterAuthServiceHandlerServer added in v0.18.0

func RegisterAuthServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuthServiceServer) error

RegisterAuthServiceHandlerServer registers the http handlers for service AuthService to "mux". UnaryRPC :call AuthServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAuthServiceHandlerFromEndpoint instead.

func RegisterAuthServiceServer added in v0.18.0

func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)

func RegisterInboxServiceHandler added in v0.17.0

func RegisterInboxServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterInboxServiceHandler registers the http handlers for service InboxService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterInboxServiceHandlerClient added in v0.17.0

func RegisterInboxServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client InboxServiceClient) error

RegisterInboxServiceHandlerClient registers the http handlers for service InboxService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "InboxServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "InboxServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "InboxServiceClient" to call the correct interceptors.

func RegisterInboxServiceHandlerFromEndpoint added in v0.17.0

func RegisterInboxServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterInboxServiceHandlerFromEndpoint is same as RegisterInboxServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterInboxServiceHandlerServer added in v0.17.0

func RegisterInboxServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server InboxServiceServer) error

RegisterInboxServiceHandlerServer registers the http handlers for service InboxService to "mux". UnaryRPC :call InboxServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterInboxServiceHandlerFromEndpoint instead.

func RegisterInboxServiceServer added in v0.17.0

func RegisterInboxServiceServer(s grpc.ServiceRegistrar, srv InboxServiceServer)

func RegisterMarkdownServiceHandler added in v0.18.2

func RegisterMarkdownServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterMarkdownServiceHandler registers the http handlers for service MarkdownService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterMarkdownServiceHandlerClient added in v0.18.2

func RegisterMarkdownServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MarkdownServiceClient) error

RegisterMarkdownServiceHandlerClient registers the http handlers for service MarkdownService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MarkdownServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MarkdownServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MarkdownServiceClient" to call the correct interceptors.

func RegisterMarkdownServiceHandlerFromEndpoint added in v0.18.2

func RegisterMarkdownServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterMarkdownServiceHandlerFromEndpoint is same as RegisterMarkdownServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterMarkdownServiceHandlerServer added in v0.18.2

func RegisterMarkdownServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MarkdownServiceServer) error

RegisterMarkdownServiceHandlerServer registers the http handlers for service MarkdownService to "mux". UnaryRPC :call MarkdownServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMarkdownServiceHandlerFromEndpoint instead.

func RegisterMarkdownServiceServer added in v0.18.2

func RegisterMarkdownServiceServer(s grpc.ServiceRegistrar, srv MarkdownServiceServer)

func RegisterMemoServiceHandler

func RegisterMemoServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterMemoServiceHandler registers the http handlers for service MemoService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterMemoServiceHandlerClient

func RegisterMemoServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MemoServiceClient) error

RegisterMemoServiceHandlerClient registers the http handlers for service MemoService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MemoServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MemoServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MemoServiceClient" to call the correct interceptors.

func RegisterMemoServiceHandlerFromEndpoint

func RegisterMemoServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterMemoServiceHandlerFromEndpoint is same as RegisterMemoServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterMemoServiceHandlerServer

func RegisterMemoServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MemoServiceServer) error

RegisterMemoServiceHandlerServer registers the http handlers for service MemoService to "mux". UnaryRPC :call MemoServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMemoServiceHandlerFromEndpoint instead.

func RegisterMemoServiceServer

func RegisterMemoServiceServer(s grpc.ServiceRegistrar, srv MemoServiceServer)

func RegisterResourceServiceHandler added in v0.15.0

func RegisterResourceServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterResourceServiceHandler registers the http handlers for service ResourceService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterResourceServiceHandlerClient added in v0.15.0

func RegisterResourceServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ResourceServiceClient) error

RegisterResourceServiceHandlerClient registers the http handlers for service ResourceService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ResourceServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ResourceServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ResourceServiceClient" to call the correct interceptors.

func RegisterResourceServiceHandlerFromEndpoint added in v0.15.0

func RegisterResourceServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterResourceServiceHandlerFromEndpoint is same as RegisterResourceServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterResourceServiceHandlerServer added in v0.15.0

func RegisterResourceServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ResourceServiceServer) error

RegisterResourceServiceHandlerServer registers the http handlers for service ResourceService to "mux". UnaryRPC :call ResourceServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterResourceServiceHandlerFromEndpoint instead.

func RegisterResourceServiceServer added in v0.15.0

func RegisterResourceServiceServer(s grpc.ServiceRegistrar, srv ResourceServiceServer)

func RegisterSystemServiceHandler

func RegisterSystemServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterSystemServiceHandler registers the http handlers for service SystemService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterSystemServiceHandlerClient

func RegisterSystemServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SystemServiceClient) error

RegisterSystemServiceHandlerClient registers the http handlers for service SystemService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SystemServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SystemServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SystemServiceClient" to call the correct interceptors.

func RegisterSystemServiceHandlerFromEndpoint

func RegisterSystemServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterSystemServiceHandlerFromEndpoint is same as RegisterSystemServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterSystemServiceHandlerServer

func RegisterSystemServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SystemServiceServer) error

RegisterSystemServiceHandlerServer registers the http handlers for service SystemService to "mux". UnaryRPC :call SystemServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSystemServiceHandlerFromEndpoint instead.

func RegisterSystemServiceServer

func RegisterSystemServiceServer(s grpc.ServiceRegistrar, srv SystemServiceServer)

func RegisterTagServiceHandler

func RegisterTagServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterTagServiceHandler registers the http handlers for service TagService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterTagServiceHandlerClient

func RegisterTagServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TagServiceClient) error

RegisterTagServiceHandlerClient registers the http handlers for service TagService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TagServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TagServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "TagServiceClient" to call the correct interceptors.

func RegisterTagServiceHandlerFromEndpoint

func RegisterTagServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterTagServiceHandlerFromEndpoint is same as RegisterTagServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterTagServiceHandlerServer

func RegisterTagServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TagServiceServer) error

RegisterTagServiceHandlerServer registers the http handlers for service TagService to "mux". UnaryRPC :call TagServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterTagServiceHandlerFromEndpoint instead.

func RegisterTagServiceServer

func RegisterTagServiceServer(s grpc.ServiceRegistrar, srv TagServiceServer)

func RegisterUserServiceHandler

func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterUserServiceHandler registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterUserServiceHandlerClient

func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error

RegisterUserServiceHandlerClient registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UserServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UserServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "UserServiceClient" to call the correct interceptors.

func RegisterUserServiceHandlerFromEndpoint

func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterUserServiceHandlerFromEndpoint is same as RegisterUserServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterUserServiceHandlerServer

func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error

RegisterUserServiceHandlerServer registers the http handlers for service UserService to "mux". UnaryRPC :call UserServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterUserServiceHandlerFromEndpoint instead.

func RegisterUserServiceServer

func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)

func RegisterWebhookServiceHandler added in v0.18.0

func RegisterWebhookServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterWebhookServiceHandler registers the http handlers for service WebhookService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterWebhookServiceHandlerClient added in v0.18.0

func RegisterWebhookServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WebhookServiceClient) error

RegisterWebhookServiceHandlerClient registers the http handlers for service WebhookService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "WebhookServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "WebhookServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "WebhookServiceClient" to call the correct interceptors.

func RegisterWebhookServiceHandlerFromEndpoint added in v0.18.0

func RegisterWebhookServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterWebhookServiceHandlerFromEndpoint is same as RegisterWebhookServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterWebhookServiceHandlerServer added in v0.18.0

func RegisterWebhookServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server WebhookServiceServer) error

RegisterWebhookServiceHandlerServer registers the http handlers for service WebhookService to "mux". UnaryRPC :call WebhookServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterWebhookServiceHandlerFromEndpoint instead.

func RegisterWebhookServiceServer added in v0.18.0

func RegisterWebhookServiceServer(s grpc.ServiceRegistrar, srv WebhookServiceServer)

Types

type Activity added in v0.17.0

type Activity struct {
	Id         int32                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatorId  int32                  `protobuf:"varint,2,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"`
	Type       string                 `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Level      string                 `protobuf:"bytes,4,opt,name=level,proto3" json:"level,omitempty"`
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	Payload    *ActivityPayload       `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*Activity) Descriptor deprecated added in v0.17.0

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

Deprecated: Use Activity.ProtoReflect.Descriptor instead.

func (*Activity) GetCreateTime added in v0.17.0

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

func (*Activity) GetCreatorId added in v0.17.0

func (x *Activity) GetCreatorId() int32

func (*Activity) GetId added in v0.17.0

func (x *Activity) GetId() int32

func (*Activity) GetLevel added in v0.17.0

func (x *Activity) GetLevel() string

func (*Activity) GetPayload added in v0.17.0

func (x *Activity) GetPayload() *ActivityPayload

func (*Activity) GetType added in v0.17.0

func (x *Activity) GetType() string

func (*Activity) ProtoMessage added in v0.17.0

func (*Activity) ProtoMessage()

func (*Activity) ProtoReflect added in v0.17.0

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

func (*Activity) Reset added in v0.17.0

func (x *Activity) Reset()

func (*Activity) String added in v0.17.0

func (x *Activity) String() string

type ActivityMemoCommentPayload added in v0.17.0

type ActivityMemoCommentPayload struct {
	MemoId        int32 `protobuf:"varint,1,opt,name=memo_id,json=memoId,proto3" json:"memo_id,omitempty"`
	RelatedMemoId int32 `protobuf:"varint,2,opt,name=related_memo_id,json=relatedMemoId,proto3" json:"related_memo_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivityMemoCommentPayload) Descriptor deprecated added in v0.17.0

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

Deprecated: Use ActivityMemoCommentPayload.ProtoReflect.Descriptor instead.

func (*ActivityMemoCommentPayload) GetMemoId added in v0.17.0

func (x *ActivityMemoCommentPayload) GetMemoId() int32

func (*ActivityMemoCommentPayload) GetRelatedMemoId added in v0.17.0

func (x *ActivityMemoCommentPayload) GetRelatedMemoId() int32

func (*ActivityMemoCommentPayload) ProtoMessage added in v0.17.0

func (*ActivityMemoCommentPayload) ProtoMessage()

func (*ActivityMemoCommentPayload) ProtoReflect added in v0.17.0

func (*ActivityMemoCommentPayload) Reset added in v0.17.0

func (x *ActivityMemoCommentPayload) Reset()

func (*ActivityMemoCommentPayload) String added in v0.17.0

func (x *ActivityMemoCommentPayload) String() string

type ActivityPayload added in v0.17.0

type ActivityPayload struct {
	MemoComment   *ActivityMemoCommentPayload   `protobuf:"bytes,1,opt,name=memo_comment,json=memoComment,proto3" json:"memo_comment,omitempty"`
	VersionUpdate *ActivityVersionUpdatePayload `protobuf:"bytes,2,opt,name=version_update,json=versionUpdate,proto3" json:"version_update,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivityPayload) Descriptor deprecated added in v0.17.0

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

Deprecated: Use ActivityPayload.ProtoReflect.Descriptor instead.

func (*ActivityPayload) GetMemoComment added in v0.17.0

func (x *ActivityPayload) GetMemoComment() *ActivityMemoCommentPayload

func (*ActivityPayload) GetVersionUpdate added in v0.17.1

func (x *ActivityPayload) GetVersionUpdate() *ActivityVersionUpdatePayload

func (*ActivityPayload) ProtoMessage added in v0.17.0

func (*ActivityPayload) ProtoMessage()

func (*ActivityPayload) ProtoReflect added in v0.17.0

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

func (*ActivityPayload) Reset added in v0.17.0

func (x *ActivityPayload) Reset()

func (*ActivityPayload) String added in v0.17.0

func (x *ActivityPayload) String() string

type ActivityServiceClient added in v0.17.0

type ActivityServiceClient interface {
	GetActivity(ctx context.Context, in *GetActivityRequest, opts ...grpc.CallOption) (*GetActivityResponse, error)
}

ActivityServiceClient is the client API for ActivityService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewActivityServiceClient added in v0.17.0

func NewActivityServiceClient(cc grpc.ClientConnInterface) ActivityServiceClient

type ActivityServiceServer added in v0.17.0

type ActivityServiceServer interface {
	GetActivity(context.Context, *GetActivityRequest) (*GetActivityResponse, error)
	// contains filtered or unexported methods
}

ActivityServiceServer is the server API for ActivityService service. All implementations must embed UnimplementedActivityServiceServer for forward compatibility

type ActivityVersionUpdatePayload added in v0.17.1

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

func (*ActivityVersionUpdatePayload) Descriptor deprecated added in v0.17.1

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

Deprecated: Use ActivityVersionUpdatePayload.ProtoReflect.Descriptor instead.

func (*ActivityVersionUpdatePayload) GetVersion added in v0.17.1

func (x *ActivityVersionUpdatePayload) GetVersion() string

func (*ActivityVersionUpdatePayload) ProtoMessage added in v0.17.1

func (*ActivityVersionUpdatePayload) ProtoMessage()

func (*ActivityVersionUpdatePayload) ProtoReflect added in v0.17.1

func (*ActivityVersionUpdatePayload) Reset added in v0.17.1

func (x *ActivityVersionUpdatePayload) Reset()

func (*ActivityVersionUpdatePayload) String added in v0.17.1

type AuthServiceClient added in v0.18.0

type AuthServiceClient interface {
	GetAuthStatus(ctx context.Context, in *GetAuthStatusRequest, opts ...grpc.CallOption) (*GetAuthStatusResponse, error)
}

AuthServiceClient is the client API for AuthService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAuthServiceClient added in v0.18.0

func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient

type AuthServiceServer added in v0.18.0

type AuthServiceServer interface {
	GetAuthStatus(context.Context, *GetAuthStatusRequest) (*GetAuthStatusResponse, error)
	// contains filtered or unexported methods
}

AuthServiceServer is the server API for AuthService service. All implementations must embed UnimplementedAuthServiceServer for forward compatibility

type AutoLinkNode added in v0.18.2

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 added in v0.18.2

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

Deprecated: Use AutoLinkNode.ProtoReflect.Descriptor instead.

func (*AutoLinkNode) GetIsRawText added in v0.18.2

func (x *AutoLinkNode) GetIsRawText() bool

func (*AutoLinkNode) GetUrl added in v0.18.2

func (x *AutoLinkNode) GetUrl() string

func (*AutoLinkNode) ProtoMessage added in v0.18.2

func (*AutoLinkNode) ProtoMessage()

func (*AutoLinkNode) ProtoReflect added in v0.18.2

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

func (*AutoLinkNode) Reset added in v0.18.2

func (x *AutoLinkNode) Reset()

func (*AutoLinkNode) String added in v0.18.2

func (x *AutoLinkNode) String() string

type BlockquoteNode added in v0.18.2

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

func (*BlockquoteNode) Descriptor deprecated added in v0.18.2

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

Deprecated: Use BlockquoteNode.ProtoReflect.Descriptor instead.

func (*BlockquoteNode) GetChildren added in v0.18.2

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

func (*BlockquoteNode) ProtoMessage added in v0.18.2

func (*BlockquoteNode) ProtoMessage()

func (*BlockquoteNode) ProtoReflect added in v0.18.2

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

func (*BlockquoteNode) Reset added in v0.18.2

func (x *BlockquoteNode) Reset()

func (*BlockquoteNode) String added in v0.18.2

func (x *BlockquoteNode) String() string

type BoldItalicNode added in v0.18.2

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 added in v0.18.2

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

Deprecated: Use BoldItalicNode.ProtoReflect.Descriptor instead.

func (*BoldItalicNode) GetContent added in v0.18.2

func (x *BoldItalicNode) GetContent() string

func (*BoldItalicNode) GetSymbol added in v0.18.2

func (x *BoldItalicNode) GetSymbol() string

func (*BoldItalicNode) ProtoMessage added in v0.18.2

func (*BoldItalicNode) ProtoMessage()

func (*BoldItalicNode) ProtoReflect added in v0.18.2

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

func (*BoldItalicNode) Reset added in v0.18.2

func (x *BoldItalicNode) Reset()

func (*BoldItalicNode) String added in v0.18.2

func (x *BoldItalicNode) String() string

type BoldNode added in v0.18.2

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 added in v0.18.2

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

Deprecated: Use BoldNode.ProtoReflect.Descriptor instead.

func (*BoldNode) GetChildren added in v0.18.2

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

func (*BoldNode) GetSymbol added in v0.18.2

func (x *BoldNode) GetSymbol() string

func (*BoldNode) ProtoMessage added in v0.18.2

func (*BoldNode) ProtoMessage()

func (*BoldNode) ProtoReflect added in v0.18.2

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

func (*BoldNode) Reset added in v0.18.2

func (x *BoldNode) Reset()

func (*BoldNode) String added in v0.18.2

func (x *BoldNode) String() string

type CodeBlockNode added in v0.18.2

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 added in v0.18.2

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

Deprecated: Use CodeBlockNode.ProtoReflect.Descriptor instead.

func (*CodeBlockNode) GetContent added in v0.18.2

func (x *CodeBlockNode) GetContent() string

func (*CodeBlockNode) GetLanguage added in v0.18.2

func (x *CodeBlockNode) GetLanguage() string

func (*CodeBlockNode) ProtoMessage added in v0.18.2

func (*CodeBlockNode) ProtoMessage()

func (*CodeBlockNode) ProtoReflect added in v0.18.2

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

func (*CodeBlockNode) Reset added in v0.18.2

func (x *CodeBlockNode) Reset()

func (*CodeBlockNode) String added in v0.18.2

func (x *CodeBlockNode) String() string

type CodeNode added in v0.18.2

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

func (*CodeNode) Descriptor deprecated added in v0.18.2

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

Deprecated: Use CodeNode.ProtoReflect.Descriptor instead.

func (*CodeNode) GetContent added in v0.18.2

func (x *CodeNode) GetContent() string

func (*CodeNode) ProtoMessage added in v0.18.2

func (*CodeNode) ProtoMessage()

func (*CodeNode) ProtoReflect added in v0.18.2

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

func (*CodeNode) Reset added in v0.18.2

func (x *CodeNode) Reset()

func (*CodeNode) String added in v0.18.2

func (x *CodeNode) String() string

type CreateMemoCommentRequest added in v0.16.0

type CreateMemoCommentRequest struct {

	// id is the memo id to create comment for.
	Id     int32              `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Create *CreateMemoRequest `protobuf:"bytes,2,opt,name=create,proto3" json:"create,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateMemoCommentRequest) Descriptor deprecated added in v0.16.0

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

Deprecated: Use CreateMemoCommentRequest.ProtoReflect.Descriptor instead.

func (*CreateMemoCommentRequest) GetCreate added in v0.16.0

func (*CreateMemoCommentRequest) GetId added in v0.16.0

func (x *CreateMemoCommentRequest) GetId() int32

func (*CreateMemoCommentRequest) ProtoMessage added in v0.16.0

func (*CreateMemoCommentRequest) ProtoMessage()

func (*CreateMemoCommentRequest) ProtoReflect added in v0.16.0

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

func (*CreateMemoCommentRequest) Reset added in v0.16.0

func (x *CreateMemoCommentRequest) Reset()

func (*CreateMemoCommentRequest) String added in v0.16.0

func (x *CreateMemoCommentRequest) String() string

type CreateMemoCommentResponse added in v0.16.0

type CreateMemoCommentResponse struct {
	Memo *Memo `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateMemoCommentResponse) Descriptor deprecated added in v0.16.0

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

Deprecated: Use CreateMemoCommentResponse.ProtoReflect.Descriptor instead.

func (*CreateMemoCommentResponse) GetMemo added in v0.16.0

func (x *CreateMemoCommentResponse) GetMemo() *Memo

func (*CreateMemoCommentResponse) ProtoMessage added in v0.16.0

func (*CreateMemoCommentResponse) ProtoMessage()

func (*CreateMemoCommentResponse) ProtoReflect added in v0.16.0

func (*CreateMemoCommentResponse) Reset added in v0.16.0

func (x *CreateMemoCommentResponse) Reset()

func (*CreateMemoCommentResponse) String added in v0.16.0

func (x *CreateMemoCommentResponse) String() string

type CreateMemoRequest added in v0.16.0

type CreateMemoRequest struct {
	Content    string     `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	Visibility Visibility `protobuf:"varint,2,opt,name=visibility,proto3,enum=memos.api.v2.Visibility" json:"visibility,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateMemoRequest) Descriptor deprecated added in v0.16.0

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

Deprecated: Use CreateMemoRequest.ProtoReflect.Descriptor instead.

func (*CreateMemoRequest) GetContent added in v0.16.0

func (x *CreateMemoRequest) GetContent() string

func (*CreateMemoRequest) GetVisibility added in v0.16.0

func (x *CreateMemoRequest) GetVisibility() Visibility

func (*CreateMemoRequest) ProtoMessage added in v0.16.0

func (*CreateMemoRequest) ProtoMessage()

func (*CreateMemoRequest) ProtoReflect added in v0.16.0

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

func (*CreateMemoRequest) Reset added in v0.16.0

func (x *CreateMemoRequest) Reset()

func (*CreateMemoRequest) String added in v0.16.0

func (x *CreateMemoRequest) String() string

type CreateMemoResponse added in v0.16.0

type CreateMemoResponse struct {
	Memo *Memo `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateMemoResponse) Descriptor deprecated added in v0.16.0

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

Deprecated: Use CreateMemoResponse.ProtoReflect.Descriptor instead.

func (*CreateMemoResponse) GetMemo added in v0.16.0

func (x *CreateMemoResponse) GetMemo() *Memo

func (*CreateMemoResponse) ProtoMessage added in v0.16.0

func (*CreateMemoResponse) ProtoMessage()

func (*CreateMemoResponse) ProtoReflect added in v0.16.0

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

func (*CreateMemoResponse) Reset added in v0.16.0

func (x *CreateMemoResponse) Reset()

func (*CreateMemoResponse) String added in v0.16.0

func (x *CreateMemoResponse) String() string

type CreateResourceRequest added in v0.16.0

type CreateResourceRequest struct {
	Filename     string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`
	ExternalLink string `protobuf:"bytes,2,opt,name=external_link,json=externalLink,proto3" json:"external_link,omitempty"`
	Type         string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	MemoId       *int32 `protobuf:"varint,4,opt,name=memo_id,json=memoId,proto3,oneof" json:"memo_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateResourceRequest) Descriptor deprecated added in v0.16.0

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

Deprecated: Use CreateResourceRequest.ProtoReflect.Descriptor instead.

func (x *CreateResourceRequest) GetExternalLink() string

func (*CreateResourceRequest) GetFilename added in v0.16.0

func (x *CreateResourceRequest) GetFilename() string

func (*CreateResourceRequest) GetMemoId added in v0.16.0

func (x *CreateResourceRequest) GetMemoId() int32

func (*CreateResourceRequest) GetType added in v0.16.0

func (x *CreateResourceRequest) GetType() string

func (*CreateResourceRequest) ProtoMessage added in v0.16.0

func (*CreateResourceRequest) ProtoMessage()

func (*CreateResourceRequest) ProtoReflect added in v0.16.0

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

func (*CreateResourceRequest) Reset added in v0.16.0

func (x *CreateResourceRequest) Reset()

func (*CreateResourceRequest) String added in v0.16.0

func (x *CreateResourceRequest) String() string

type CreateResourceResponse added in v0.16.0

type CreateResourceResponse struct {
	Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateResourceResponse) Descriptor deprecated added in v0.16.0

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

Deprecated: Use CreateResourceResponse.ProtoReflect.Descriptor instead.

func (*CreateResourceResponse) GetResource added in v0.16.0

func (x *CreateResourceResponse) GetResource() *Resource

func (*CreateResourceResponse) ProtoMessage added in v0.16.0

func (*CreateResourceResponse) ProtoMessage()

func (*CreateResourceResponse) ProtoReflect added in v0.16.0

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

func (*CreateResourceResponse) Reset added in v0.16.0

func (x *CreateResourceResponse) Reset()

func (*CreateResourceResponse) String added in v0.16.0

func (x *CreateResourceResponse) String() string

type CreateUserAccessTokenRequest added in v0.15.0

type CreateUserAccessTokenRequest struct {

	// The name of the user.
	// Format: users/{username}
	Name        string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string                 `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	ExpiresAt   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3,oneof" json:"expires_at,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserAccessTokenRequest) Descriptor deprecated added in v0.15.0

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

Deprecated: Use CreateUserAccessTokenRequest.ProtoReflect.Descriptor instead.

func (*CreateUserAccessTokenRequest) GetDescription added in v0.15.2

func (x *CreateUserAccessTokenRequest) GetDescription() string

func (*CreateUserAccessTokenRequest) GetExpiresAt added in v0.15.2

func (*CreateUserAccessTokenRequest) GetName added in v0.17.1

func (x *CreateUserAccessTokenRequest) GetName() string

func (*CreateUserAccessTokenRequest) ProtoMessage added in v0.15.0

func (*CreateUserAccessTokenRequest) ProtoMessage()

func (*CreateUserAccessTokenRequest) ProtoReflect added in v0.15.0

func (*CreateUserAccessTokenRequest) Reset added in v0.15.0

func (x *CreateUserAccessTokenRequest) Reset()

func (*CreateUserAccessTokenRequest) String added in v0.15.0

type CreateUserAccessTokenResponse added in v0.15.0

type CreateUserAccessTokenResponse struct {
	AccessToken *UserAccessToken `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserAccessTokenResponse) Descriptor deprecated added in v0.15.0

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

Deprecated: Use CreateUserAccessTokenResponse.ProtoReflect.Descriptor instead.

func (*CreateUserAccessTokenResponse) GetAccessToken added in v0.15.0

func (x *CreateUserAccessTokenResponse) GetAccessToken() *UserAccessToken

func (*CreateUserAccessTokenResponse) ProtoMessage added in v0.15.0

func (*CreateUserAccessTokenResponse) ProtoMessage()

func (*CreateUserAccessTokenResponse) ProtoReflect added in v0.15.0

func (*CreateUserAccessTokenResponse) Reset added in v0.15.0

func (x *CreateUserAccessTokenResponse) Reset()

func (*CreateUserAccessTokenResponse) String added in v0.15.0

type CreateUserRequest added in v0.17.0

type CreateUserRequest struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserRequest) Descriptor deprecated added in v0.17.0

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

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetUser added in v0.17.0

func (x *CreateUserRequest) GetUser() *User

func (*CreateUserRequest) ProtoMessage added in v0.17.0

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) ProtoReflect added in v0.17.0

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

func (*CreateUserRequest) Reset added in v0.17.0

func (x *CreateUserRequest) Reset()

func (*CreateUserRequest) String added in v0.17.0

func (x *CreateUserRequest) String() string

type CreateUserResponse added in v0.17.0

type CreateUserResponse struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserResponse) Descriptor deprecated added in v0.17.0

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

Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.

func (*CreateUserResponse) GetUser added in v0.17.0

func (x *CreateUserResponse) GetUser() *User

func (*CreateUserResponse) ProtoMessage added in v0.17.0

func (*CreateUserResponse) ProtoMessage()

func (*CreateUserResponse) ProtoReflect added in v0.17.0

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

func (*CreateUserResponse) Reset added in v0.17.0

func (x *CreateUserResponse) Reset()

func (*CreateUserResponse) String added in v0.17.0

func (x *CreateUserResponse) String() string

type CreateWebhookRequest added in v0.18.0

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

func (*CreateWebhookRequest) Descriptor deprecated added in v0.18.0

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

Deprecated: Use CreateWebhookRequest.ProtoReflect.Descriptor instead.

func (*CreateWebhookRequest) GetName added in v0.18.0

func (x *CreateWebhookRequest) GetName() string

func (*CreateWebhookRequest) GetUrl added in v0.18.0

func (x *CreateWebhookRequest) GetUrl() string

func (*CreateWebhookRequest) ProtoMessage added in v0.18.0

func (*CreateWebhookRequest) ProtoMessage()

func (*CreateWebhookRequest) ProtoReflect added in v0.18.0

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

func (*CreateWebhookRequest) Reset added in v0.18.0

func (x *CreateWebhookRequest) Reset()

func (*CreateWebhookRequest) String added in v0.18.0

func (x *CreateWebhookRequest) String() string

type CreateWebhookResponse added in v0.18.0

type CreateWebhookResponse struct {
	Webhook *Webhook `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateWebhookResponse) Descriptor deprecated added in v0.18.0

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

Deprecated: Use CreateWebhookResponse.ProtoReflect.Descriptor instead.

func (*CreateWebhookResponse) GetWebhook added in v0.18.0

func (x *CreateWebhookResponse) GetWebhook() *Webhook

func (*CreateWebhookResponse) ProtoMessage added in v0.18.0

func (*CreateWebhookResponse) ProtoMessage()

func (*CreateWebhookResponse) ProtoReflect added in v0.18.0

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

func (*CreateWebhookResponse) Reset added in v0.18.0

func (x *CreateWebhookResponse) Reset()

func (*CreateWebhookResponse) String added in v0.18.0

func (x *CreateWebhookResponse) String() string

type DeleteInboxRequest added in v0.17.0

type DeleteInboxRequest struct {

	// The name of the inbox to delete.
	// Format: inboxes/{inbox}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteInboxRequest) Descriptor deprecated added in v0.17.0

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

Deprecated: Use DeleteInboxRequest.ProtoReflect.Descriptor instead.

func (*DeleteInboxRequest) GetName added in v0.17.0

func (x *DeleteInboxRequest) GetName() string

func (*DeleteInboxRequest) ProtoMessage added in v0.17.0

func (*DeleteInboxRequest) ProtoMessage()

func (*DeleteInboxRequest) ProtoReflect added in v0.17.0

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

func (*DeleteInboxRequest) Reset added in v0.17.0

func (x *DeleteInboxRequest) Reset()

func (*DeleteInboxRequest) String added in v0.17.0

func (x *DeleteInboxRequest) String() string

type DeleteInboxResponse added in v0.17.0

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

func (*DeleteInboxResponse) Descriptor deprecated added in v0.17.0

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

Deprecated: Use DeleteInboxResponse.ProtoReflect.Descriptor instead.

func (*DeleteInboxResponse) ProtoMessage added in v0.17.0

func (*DeleteInboxResponse) ProtoMessage()

func (*DeleteInboxResponse) ProtoReflect added in v0.17.0

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

func (*DeleteInboxResponse) Reset added in v0.17.0

func (x *DeleteInboxResponse) Reset()

func (*DeleteInboxResponse) String added in v0.17.0

func (x *DeleteInboxResponse) String() string

type DeleteMemoRequest added in v0.18.2

type DeleteMemoRequest struct {
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteMemoRequest) Descriptor deprecated added in v0.18.2

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

Deprecated: Use DeleteMemoRequest.ProtoReflect.Descriptor instead.

func (*DeleteMemoRequest) GetId added in v0.18.2

func (x *DeleteMemoRequest) GetId() int32

func (*DeleteMemoRequest) ProtoMessage added in v0.18.2

func (*DeleteMemoRequest) ProtoMessage()

func (*DeleteMemoRequest) ProtoReflect added in v0.18.2

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

func (*DeleteMemoRequest) Reset added in v0.18.2

func (x *DeleteMemoRequest) Reset()

func (*DeleteMemoRequest) String added in v0.18.2

func (x *DeleteMemoRequest) String() string

type DeleteMemoResponse added in v0.18.2

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

func (*DeleteMemoResponse) Descriptor deprecated added in v0.18.2

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

Deprecated: Use DeleteMemoResponse.ProtoReflect.Descriptor instead.

func (*DeleteMemoResponse) ProtoMessage added in v0.18.2

func (*DeleteMemoResponse) ProtoMessage()

func (*DeleteMemoResponse) ProtoReflect added in v0.18.2

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

func (*DeleteMemoResponse) Reset added in v0.18.2

func (x *DeleteMemoResponse) Reset()

func (*DeleteMemoResponse) String added in v0.18.2

func (x *DeleteMemoResponse) String() string

type DeleteResourceRequest added in v0.16.0

type DeleteResourceRequest struct {
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteResourceRequest) Descriptor deprecated added in v0.16.0

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

Deprecated: Use DeleteResourceRequest.ProtoReflect.Descriptor instead.

func (*DeleteResourceRequest) GetId added in v0.16.0

func (x *DeleteResourceRequest) GetId() int32

func (*DeleteResourceRequest) ProtoMessage added in v0.16.0

func (*DeleteResourceRequest) ProtoMessage()

func (*DeleteResourceRequest) ProtoReflect added in v0.16.0

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

func (*DeleteResourceRequest) Reset added in v0.16.0

func (x *DeleteResourceRequest) Reset()

func (*DeleteResourceRequest) String added in v0.16.0

func (x *DeleteResourceRequest) String() string

type DeleteResourceResponse added in v0.16.0

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

func (*DeleteResourceResponse) Descriptor deprecated added in v0.16.0

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

Deprecated: Use DeleteResourceResponse.ProtoReflect.Descriptor instead.

func (*DeleteResourceResponse) ProtoMessage added in v0.16.0

func (*DeleteResourceResponse) ProtoMessage()

func (*DeleteResourceResponse) ProtoReflect added in v0.16.0

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

func (*DeleteResourceResponse) Reset added in v0.16.0

func (x *DeleteResourceResponse) Reset()

func (*DeleteResourceResponse) String added in v0.16.0

func (x *DeleteResourceResponse) String() string

type DeleteTagRequest added in v0.16.0

type DeleteTagRequest struct {
	Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTagRequest) Descriptor deprecated added in v0.16.0

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

Deprecated: Use DeleteTagRequest.ProtoReflect.Descriptor instead.

func (*DeleteTagRequest) GetTag added in v0.16.0

func (x *DeleteTagRequest) GetTag() *Tag

func (*DeleteTagRequest) ProtoMessage added in v0.16.0

func (*DeleteTagRequest) ProtoMessage()

func (*DeleteTagRequest) ProtoReflect added in v0.16.0

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

func (*DeleteTagRequest) Reset added in v0.16.0

func (x *DeleteTagRequest) Reset()

func (*DeleteTagRequest) String added in v0.16.0

func (x *DeleteTagRequest) String() string

type DeleteTagResponse added in v0.16.0

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

func (*DeleteTagResponse) Descriptor deprecated added in v0.16.0

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

Deprecated: Use DeleteTagResponse.ProtoReflect.Descriptor instead.

func (*DeleteTagResponse) ProtoMessage added in v0.16.0

func (*DeleteTagResponse) ProtoMessage()

func (*DeleteTagResponse) ProtoReflect added in v0.16.0

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

func (*DeleteTagResponse) Reset added in v0.16.0

func (x *DeleteTagResponse) Reset()

func (*DeleteTagResponse) String added in v0.16.0

func (x *DeleteTagResponse) String() string

type DeleteUserAccessTokenRequest added in v0.15.0

type DeleteUserAccessTokenRequest struct {

	// The name of the user.
	// Format: users/{username}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// access_token is the access token to delete.
	AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserAccessTokenRequest) Descriptor deprecated added in v0.15.0

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

Deprecated: Use DeleteUserAccessTokenRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserAccessTokenRequest) GetAccessToken added in v0.15.0

func (x *DeleteUserAccessTokenRequest) GetAccessToken() string

func (*DeleteUserAccessTokenRequest) GetName added in v0.17.1

func (x *DeleteUserAccessTokenRequest) GetName() string

func (*DeleteUserAccessTokenRequest) ProtoMessage added in v0.15.0

func (*DeleteUserAccessTokenRequest) ProtoMessage()

func (*DeleteUserAccessTokenRequest) ProtoReflect added in v0.15.0

func (*DeleteUserAccessTokenRequest) Reset added in v0.15.0

func (x *DeleteUserAccessTokenRequest) Reset()

func (*DeleteUserAccessTokenRequest) String added in v0.15.0

type DeleteUserAccessTokenResponse added in v0.15.0

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

func (*DeleteUserAccessTokenResponse) Descriptor deprecated added in v0.15.0

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

Deprecated: Use DeleteUserAccessTokenResponse.ProtoReflect.Descriptor instead.

func (*DeleteUserAccessTokenResponse) ProtoMessage added in v0.15.0

func (*DeleteUserAccessTokenResponse) ProtoMessage()

func (*DeleteUserAccessTokenResponse) ProtoReflect added in v0.15.0

func (*DeleteUserAccessTokenResponse) Reset added in v0.15.0

func (x *DeleteUserAccessTokenResponse) Reset()

func (*DeleteUserAccessTokenResponse) String added in v0.15.0

type DeleteUserRequest added in v0.18.0

type DeleteUserRequest struct {

	// The name of the user.
	// Format: users/{username}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserRequest) Descriptor deprecated added in v0.18.0

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

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetName added in v0.18.0

func (x *DeleteUserRequest) GetName() string

func (*DeleteUserRequest) ProtoMessage added in v0.18.0

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) ProtoReflect added in v0.18.0

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

func (*DeleteUserRequest) Reset added in v0.18.0

func (x *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String added in v0.18.0

func (x *DeleteUserRequest) String() string

type DeleteUserResponse added in v0.18.0

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

func (*DeleteUserResponse) Descriptor deprecated added in v0.18.0

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

Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.

func (*DeleteUserResponse) ProtoMessage added in v0.18.0

func (*DeleteUserResponse) ProtoMessage()

func (*DeleteUserResponse) ProtoReflect added in v0.18.0

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

func (*DeleteUserResponse) Reset added in v0.18.0

func (x *DeleteUserResponse) Reset()

func (*DeleteUserResponse) String added in v0.18.0

func (x *DeleteUserResponse) String() string

type DeleteWebhookRequest added in v0.18.0

type DeleteWebhookRequest struct {
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteWebhookRequest) Descriptor deprecated added in v0.18.0

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

Deprecated: Use DeleteWebhookRequest.ProtoReflect.Descriptor instead.

func (*DeleteWebhookRequest) GetId added in v0.18.0

func (x *DeleteWebhookRequest) GetId() int32

func (*DeleteWebhookRequest) ProtoMessage added in v0.18.0

func (*DeleteWebhookRequest) ProtoMessage()

func (*DeleteWebhookRequest) ProtoReflect added in v0.18.0

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

func (*DeleteWebhookRequest) Reset added in v0.18.0

func (x *DeleteWebhookRequest) Reset()

func (*DeleteWebhookRequest) String added in v0.18.0

func (x *DeleteWebhookRequest) String() string

type DeleteWebhookResponse added in v0.18.0

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

func (*DeleteWebhookResponse) Descriptor deprecated added in v0.18.0

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

Deprecated: Use DeleteWebhookResponse.ProtoReflect.Descriptor instead.

func (*DeleteWebhookResponse) ProtoMessage added in v0.18.0

func (*DeleteWebhookResponse) ProtoMessage()

func (*DeleteWebhookResponse) ProtoReflect added in v0.18.0

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

func (*DeleteWebhookResponse) Reset added in v0.18.0

func (x *DeleteWebhookResponse) Reset()

func (*DeleteWebhookResponse) String added in v0.18.0

func (x *DeleteWebhookResponse) String() string

type EscapingCharacterNode added in v0.18.2

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

func (*EscapingCharacterNode) Descriptor deprecated added in v0.18.2

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

Deprecated: Use EscapingCharacterNode.ProtoReflect.Descriptor instead.

func (*EscapingCharacterNode) GetSymbol added in v0.18.2

func (x *EscapingCharacterNode) GetSymbol() string

func (*EscapingCharacterNode) ProtoMessage added in v0.18.2

func (*EscapingCharacterNode) ProtoMessage()

func (*EscapingCharacterNode) ProtoReflect added in v0.18.2

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

func (*EscapingCharacterNode) Reset added in v0.18.2

func (x *EscapingCharacterNode) Reset()

func (*EscapingCharacterNode) String added in v0.18.2

func (x *EscapingCharacterNode) String() string

type GetActivityRequest added in v0.17.0

type GetActivityRequest struct {
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetActivityRequest) Descriptor deprecated added in v0.17.0

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

Deprecated: Use GetActivityRequest.ProtoReflect.Descriptor instead.

func (*GetActivityRequest) GetId added in v0.17.0

func (x *GetActivityRequest) GetId() int32

func (*GetActivityRequest) ProtoMessage added in v0.17.0

func (*GetActivityRequest) ProtoMessage()

func (*GetActivityRequest) ProtoReflect added in v0.17.0

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

func (*GetActivityRequest) Reset added in v0.17.0

func (x *GetActivityRequest) Reset()

func (*GetActivityRequest) String added in v0.17.0

func (x *GetActivityRequest) String() string

type GetActivityResponse added in v0.17.0

type GetActivityResponse struct {
	Activity *Activity `protobuf:"bytes,1,opt,name=activity,proto3" json:"activity,omitempty"`
	// contains filtered or unexported fields
}

func (*GetActivityResponse) Descriptor deprecated added in v0.17.0

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

Deprecated: Use GetActivityResponse.ProtoReflect.Descriptor instead.

func (*GetActivityResponse) GetActivity added in v0.17.0

func (x *GetActivityResponse) GetActivity() *Activity

func (*GetActivityResponse) ProtoMessage added in v0.17.0

func (*GetActivityResponse) ProtoMessage()

func (*GetActivityResponse) ProtoReflect added in v0.17.0

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

func (*GetActivityResponse) Reset added in v0.17.0

func (x *GetActivityResponse) Reset()

func (*GetActivityResponse) String added in v0.17.0

func (x *GetActivityResponse) String() string

type GetAuthStatusRequest added in v0.18.0

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

func (*GetAuthStatusRequest) Descriptor deprecated added in v0.18.0

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

Deprecated: Use GetAuthStatusRequest.ProtoReflect.Descriptor instead.

func (*GetAuthStatusRequest) ProtoMessage added in v0.18.0

func (*GetAuthStatusRequest) ProtoMessage()

func (*GetAuthStatusRequest) ProtoReflect added in v0.18.0

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

func (*GetAuthStatusRequest) Reset added in v0.18.0

func (x *GetAuthStatusRequest) Reset()

func (*GetAuthStatusRequest) String added in v0.18.0

func (x *GetAuthStatusRequest) String() string

type GetAuthStatusResponse added in v0.18.0

type GetAuthStatusResponse struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAuthStatusResponse) Descriptor deprecated added in v0.18.0

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

Deprecated: Use GetAuthStatusResponse.ProtoReflect.Descriptor instead.

func (*GetAuthStatusResponse) GetUser added in v0.18.0

func (x *GetAuthStatusResponse) GetUser() *User

func (*GetAuthStatusResponse) ProtoMessage added in v0.18.0

func (*GetAuthStatusResponse) ProtoMessage()

func (*GetAuthStatusResponse) ProtoReflect added in v0.18.0

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

func (*GetAuthStatusResponse) Reset added in v0.18.0

func (x *GetAuthStatusResponse) Reset()

func (*GetAuthStatusResponse) String added in v0.18.0

func (x *GetAuthStatusResponse) String() string

type GetMemoRequest

type GetMemoRequest struct {
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMemoRequest) Descriptor deprecated

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

Deprecated: Use GetMemoRequest.ProtoReflect.Descriptor instead.

func (*GetMemoRequest) GetId

func (x *GetMemoRequest) GetId() int32

func (*GetMemoRequest) ProtoMessage

func (*GetMemoRequest) ProtoMessage()

func (*GetMemoRequest) ProtoReflect

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

func (*GetMemoRequest) Reset

func (x *GetMemoRequest) Reset()

func (*GetMemoRequest) String

func (x *GetMemoRequest) String() string

type GetMemoResponse

type GetMemoResponse struct {
	Memo *Memo `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMemoResponse) Descriptor deprecated

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

Deprecated: Use GetMemoResponse.ProtoReflect.Descriptor instead.

func (*GetMemoResponse) GetMemo

func (x *GetMemoResponse) GetMemo() *Memo

func (*GetMemoResponse) ProtoMessage

func (*GetMemoResponse) ProtoMessage()

func (*GetMemoResponse) ProtoReflect

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

func (*GetMemoResponse) Reset

func (x *GetMemoResponse) Reset()

func (*GetMemoResponse) String

func (x *GetMemoResponse) String() string

type GetSystemInfoRequest

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

func (*GetSystemInfoRequest) Descriptor deprecated

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

Deprecated: Use GetSystemInfoRequest.ProtoReflect.Descriptor instead.

func (*GetSystemInfoRequest) ProtoMessage

func (*GetSystemInfoRequest) ProtoMessage()

func (*GetSystemInfoRequest) ProtoReflect

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

func (*GetSystemInfoRequest) Reset

func (x *GetSystemInfoRequest) Reset()

func (*GetSystemInfoRequest) String

func (x *GetSystemInfoRequest) String() string

type GetSystemInfoResponse

type GetSystemInfoResponse struct {
	SystemInfo *SystemInfo `protobuf:"bytes,1,opt,name=system_info,json=systemInfo,proto3" json:"system_info,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSystemInfoResponse) Descriptor deprecated

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

Deprecated: Use GetSystemInfoResponse.ProtoReflect.Descriptor instead.

func (*GetSystemInfoResponse) GetSystemInfo

func (x *GetSystemInfoResponse) GetSystemInfo() *SystemInfo

func (*GetSystemInfoResponse) ProtoMessage

func (*GetSystemInfoResponse) ProtoMessage()

func (*GetSystemInfoResponse) ProtoReflect

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

func (*GetSystemInfoResponse) Reset

func (x *GetSystemInfoResponse) Reset()

func (*GetSystemInfoResponse) String

func (x *GetSystemInfoResponse) String() string

type GetTagSuggestionsRequest added in v0.18.0

type GetTagSuggestionsRequest struct {

	// The creator of tags.
	// Format: users/{username}
	User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTagSuggestionsRequest) Descriptor deprecated added in v0.18.0

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

Deprecated: Use GetTagSuggestionsRequest.ProtoReflect.Descriptor instead.

func (*GetTagSuggestionsRequest) GetUser added in v0.18.0

func (x *GetTagSuggestionsRequest) GetUser() string

func (*GetTagSuggestionsRequest) ProtoMessage added in v0.18.0

func (*GetTagSuggestionsRequest) ProtoMessage()

func (*GetTagSuggestionsRequest) ProtoReflect added in v0.18.0

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

func (*GetTagSuggestionsRequest) Reset added in v0.18.0

func (x *GetTagSuggestionsRequest) Reset()

func (*GetTagSuggestionsRequest) String added in v0.18.0

func (x *GetTagSuggestionsRequest) String() string

type GetTagSuggestionsResponse added in v0.18.0

type GetTagSuggestionsResponse struct {
	Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTagSuggestionsResponse) Descriptor deprecated added in v0.18.0

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

Deprecated: Use GetTagSuggestionsResponse.ProtoReflect.Descriptor instead.

func (*GetTagSuggestionsResponse) GetTags added in v0.18.0

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

func (*GetTagSuggestionsResponse) ProtoMessage added in v0.18.0

func (*GetTagSuggestionsResponse) ProtoMessage()

func (*GetTagSuggestionsResponse) ProtoReflect added in v0.18.0

func (*GetTagSuggestionsResponse) Reset added in v0.18.0

func (x *GetTagSuggestionsResponse) Reset()

func (*GetTagSuggestionsResponse) String added in v0.18.0

func (x *GetTagSuggestionsResponse) String() string

type GetUserMemosStatsRequest added in v0.18.2

type GetUserMemosStatsRequest struct {

	// name is the name of the user to get stats for.
	// Format: users/{username}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// timezone location
	// Format: uses tz identifier
	// https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
	Timezone string `protobuf:"bytes,2,opt,name=timezone,proto3" json:"timezone,omitempty"`
	// Same as ListMemosRequest.filter
	Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserMemosStatsRequest) Descriptor deprecated added in v0.18.2

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

Deprecated: Use GetUserMemosStatsRequest.ProtoReflect.Descriptor instead.

func (*GetUserMemosStatsRequest) GetFilter added in v0.18.2

func (x *GetUserMemosStatsRequest) GetFilter() string

func (*GetUserMemosStatsRequest) GetName added in v0.18.2

func (x *GetUserMemosStatsRequest) GetName() string

func (*GetUserMemosStatsRequest) GetTimezone added in v0.18.2

func (x *GetUserMemosStatsRequest) GetTimezone() string

func (*GetUserMemosStatsRequest) ProtoMessage added in v0.18.2

func (*GetUserMemosStatsRequest) ProtoMessage()

func (*GetUserMemosStatsRequest) ProtoReflect added in v0.18.2

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

func (*GetUserMemosStatsRequest) Reset added in v0.18.2

func (x *GetUserMemosStatsRequest) Reset()

func (*GetUserMemosStatsRequest) String added in v0.18.2

func (x *GetUserMemosStatsRequest) String() string

type GetUserMemosStatsResponse added in v0.18.2

type GetUserMemosStatsResponse struct {

	// stats is the stats of memo creating/updating activities.
	// key is the year-month-day string. e.g. "2020-01-01".
	Stats map[string]int32 `` /* 152-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetUserMemosStatsResponse) Descriptor deprecated added in v0.18.2

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

Deprecated: Use GetUserMemosStatsResponse.ProtoReflect.Descriptor instead.

func (*GetUserMemosStatsResponse) GetStats added in v0.18.2

func (x *GetUserMemosStatsResponse) GetStats() map[string]int32

func (*GetUserMemosStatsResponse) ProtoMessage added in v0.18.2

func (*GetUserMemosStatsResponse) ProtoMessage()

func (*GetUserMemosStatsResponse) ProtoReflect added in v0.18.2

func (*GetUserMemosStatsResponse) Reset added in v0.18.2

func (x *GetUserMemosStatsResponse) Reset()

func (*GetUserMemosStatsResponse) String added in v0.18.2

func (x *GetUserMemosStatsResponse) String() string

type GetUserRequest

type GetUserRequest struct {

	// The name of the user.
	// Format: users/{username}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserRequest) Descriptor deprecated

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

Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.

func (*GetUserRequest) GetName

func (x *GetUserRequest) GetName() string

func (*GetUserRequest) ProtoMessage

func (*GetUserRequest) ProtoMessage()

func (*GetUserRequest) ProtoReflect

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

func (*GetUserRequest) Reset

func (x *GetUserRequest) Reset()

func (*GetUserRequest) String

func (x *GetUserRequest) String() string

type GetUserResponse

type GetUserResponse struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserResponse) Descriptor deprecated

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

Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.

func (*GetUserResponse) GetUser

func (x *GetUserResponse) GetUser() *User

func (*GetUserResponse) ProtoMessage

func (*GetUserResponse) ProtoMessage()

func (*GetUserResponse) ProtoReflect

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

func (*GetUserResponse) Reset

func (x *GetUserResponse) Reset()

func (*GetUserResponse) String

func (x *GetUserResponse) String() string

type GetUserSettingRequest added in v0.18.0

type GetUserSettingRequest struct {

	// The name of the user.
	// Format: users/{username}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserSettingRequest) Descriptor deprecated added in v0.18.0

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

Deprecated: Use GetUserSettingRequest.ProtoReflect.Descriptor instead.

func (*GetUserSettingRequest) GetName added in v0.18.0

func (x *GetUserSettingRequest) GetName() string

func (*GetUserSettingRequest) ProtoMessage added in v0.18.0

func (*GetUserSettingRequest) ProtoMessage()

func (*GetUserSettingRequest) ProtoReflect added in v0.18.0

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

func (*GetUserSettingRequest) Reset added in v0.18.0

func (x *GetUserSettingRequest) Reset()

func (*GetUserSettingRequest) String added in v0.18.0

func (x *GetUserSettingRequest) String() string

type GetUserSettingResponse added in v0.18.0

type GetUserSettingResponse struct {
	Setting *UserSetting `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserSettingResponse) Descriptor deprecated added in v0.18.0

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

Deprecated: Use GetUserSettingResponse.ProtoReflect.Descriptor instead.

func (*GetUserSettingResponse) GetSetting added in v0.18.0

func (x *GetUserSettingResponse) GetSetting() *UserSetting

func (*GetUserSettingResponse) ProtoMessage added in v0.18.0

func (*GetUserSettingResponse) ProtoMessage()

func (*GetUserSettingResponse) ProtoReflect added in v0.18.0

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

func (*GetUserSettingResponse) Reset added in v0.18.0

func (x *GetUserSettingResponse) Reset()

func (*GetUserSettingResponse) String added in v0.18.0

func (x *GetUserSettingResponse) String() string

type GetWebhookRequest added in v0.18.0

type GetWebhookRequest struct {
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetWebhookRequest) Descriptor deprecated added in v0.18.0

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

Deprecated: Use GetWebhookRequest.ProtoReflect.Descriptor instead.

func (*GetWebhookRequest) GetId added in v0.18.0

func (x *GetWebhookRequest) GetId() int32

func (*GetWebhookRequest) ProtoMessage added in v0.18.0

func (*GetWebhookRequest) ProtoMessage()

func (*GetWebhookRequest) ProtoReflect added in v0.18.0

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

func (*GetWebhookRequest) Reset added in v0.18.0

func (x *GetWebhookRequest) Reset()

func (*GetWebhookRequest) String added in v0.18.0

func (x *GetWebhookRequest) String() string

type GetWebhookResponse added in v0.18.0

type GetWebhookResponse struct {
	Webhook *Webhook `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,omitempty"`
	// contains filtered or unexported fields
}

func (*GetWebhookResponse) Descriptor deprecated added in v0.18.0

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

Deprecated: Use GetWebhookResponse.ProtoReflect.Descriptor instead.

func (*GetWebhookResponse) GetWebhook added in v0.18.0

func (x *GetWebhookResponse) GetWebhook() *Webhook

func (*GetWebhookResponse) ProtoMessage added in v0.18.0

func (*GetWebhookResponse) ProtoMessage()

func (*GetWebhookResponse) ProtoReflect added in v0.18.0

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

func (*GetWebhookResponse) Reset added in v0.18.0

func (x *GetWebhookResponse) Reset()

func (*GetWebhookResponse) String added in v0.18.0

func (x *GetWebhookResponse) String() string

type HeadingNode added in v0.18.2

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 added in v0.18.2

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

Deprecated: Use HeadingNode.ProtoReflect.Descriptor instead.

func (*HeadingNode) GetChildren added in v0.18.2

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

func (*HeadingNode) GetLevel added in v0.18.2

func (x *HeadingNode) GetLevel() int32

func (*HeadingNode) ProtoMessage added in v0.18.2

func (*HeadingNode) ProtoMessage()

func (*HeadingNode) ProtoReflect added in v0.18.2

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

func (*HeadingNode) Reset added in v0.18.2

func (x *HeadingNode) Reset()

func (*HeadingNode) String added in v0.18.2

func (x *HeadingNode) String() string

type HighlightNode added in v0.18.2

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

func (*HighlightNode) Descriptor deprecated added in v0.18.2

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

Deprecated: Use HighlightNode.ProtoReflect.Descriptor instead.

func (*HighlightNode) GetContent added in v0.18.2

func (x *HighlightNode) GetContent() string

func (*HighlightNode) ProtoMessage added in v0.18.2

func (*HighlightNode) ProtoMessage()

func (*HighlightNode) ProtoReflect added in v0.18.2

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

func (*HighlightNode) Reset added in v0.18.2

func (x *HighlightNode) Reset()

func (*HighlightNode) String added in v0.18.2

func (x *HighlightNode) String() string

type HorizontalRuleNode added in v0.18.2

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

func (*HorizontalRuleNode) Descriptor deprecated added in v0.18.2

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

Deprecated: Use HorizontalRuleNode.ProtoReflect.Descriptor instead.

func (*HorizontalRuleNode) GetSymbol added in v0.18.2

func (x *HorizontalRuleNode) GetSymbol() string

func (*HorizontalRuleNode) ProtoMessage added in v0.18.2

func (*HorizontalRuleNode) ProtoMessage()

func (*HorizontalRuleNode) ProtoReflect added in v0.18.2

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

func (*HorizontalRuleNode) Reset added in v0.18.2

func (x *HorizontalRuleNode) Reset()

func (*HorizontalRuleNode) String added in v0.18.2

func (x *HorizontalRuleNode) String() string

type ImageNode added in v0.18.2

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 added in v0.18.2

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

Deprecated: Use ImageNode.ProtoReflect.Descriptor instead.

func (*ImageNode) GetAltText added in v0.18.2

func (x *ImageNode) GetAltText() string

func (*ImageNode) GetUrl added in v0.18.2

func (x *ImageNode) GetUrl() string

func (*ImageNode) ProtoMessage added in v0.18.2

func (*ImageNode) ProtoMessage()

func (*ImageNode) ProtoReflect added in v0.18.2

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

func (*ImageNode) Reset added in v0.18.2

func (x *ImageNode) Reset()

func (*ImageNode) String added in v0.18.2

func (x *ImageNode) String() string

type Inbox added in v0.17.0

type Inbox struct {

	// The name of the inbox.
	// Format: inboxes/{id}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Format: users/{username}
	Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
	// Format: users/{username}
	Receiver   string                 `protobuf:"bytes,3,opt,name=receiver,proto3" json:"receiver,omitempty"`
	Status     Inbox_Status           `protobuf:"varint,4,opt,name=status,proto3,enum=memos.api.v2.Inbox_Status" json:"status,omitempty"`
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	Type       Inbox_Type             `protobuf:"varint,6,opt,name=type,proto3,enum=memos.api.v2.Inbox_Type" json:"type,omitempty"`
	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.17.0

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

Deprecated: Use Inbox.ProtoReflect.Descriptor instead.

func (*Inbox) GetActivityId added in v0.17.0

func (x *Inbox) GetActivityId() int32

func (*Inbox) GetCreateTime added in v0.17.0

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

func (*Inbox) GetName added in v0.17.0

func (x *Inbox) GetName() string

func (*Inbox) GetReceiver added in v0.17.0

func (x *Inbox) GetReceiver() string

func (*Inbox) GetSender added in v0.17.0

func (x *Inbox) GetSender() string

func (*Inbox) GetStatus added in v0.17.0

func (x *Inbox) GetStatus() Inbox_Status

func (*Inbox) GetType added in v0.17.0

func (x *Inbox) GetType() Inbox_Type

func (*Inbox) ProtoMessage added in v0.17.0

func (*Inbox) ProtoMessage()

func (*Inbox) ProtoReflect added in v0.17.0

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

func (*Inbox) Reset added in v0.17.0

func (x *Inbox) Reset()

func (*Inbox) String added in v0.17.0

func (x *Inbox) String() string

type InboxServiceClient added in v0.17.0

type InboxServiceClient interface {
	ListInboxes(ctx context.Context, in *ListInboxesRequest, opts ...grpc.CallOption) (*ListInboxesResponse, error)
	UpdateInbox(ctx context.Context, in *UpdateInboxRequest, opts ...grpc.CallOption) (*UpdateInboxResponse, error)
	DeleteInbox(ctx context.Context, in *DeleteInboxRequest, opts ...grpc.CallOption) (*DeleteInboxResponse, error)
}

InboxServiceClient is the client API for InboxService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewInboxServiceClient added in v0.17.0

func NewInboxServiceClient(cc grpc.ClientConnInterface) InboxServiceClient

type InboxServiceServer added in v0.17.0

type InboxServiceServer interface {
	ListInboxes(context.Context, *ListInboxesRequest) (*ListInboxesResponse, error)
	UpdateInbox(context.Context, *UpdateInboxRequest) (*UpdateInboxResponse, error)
	DeleteInbox(context.Context, *DeleteInboxRequest) (*DeleteInboxResponse, error)
	// contains filtered or unexported methods
}

InboxServiceServer is the server API for InboxService service. All implementations must embed UnimplementedInboxServiceServer for forward compatibility

type Inbox_Status added in v0.17.0

type Inbox_Status int32
const (
	Inbox_STATUS_UNSPECIFIED Inbox_Status = 0
	Inbox_UNREAD             Inbox_Status = 1
	Inbox_ARCHIVED           Inbox_Status = 2
)

func (Inbox_Status) Descriptor added in v0.17.0

func (Inbox_Status) Enum added in v0.17.0

func (x Inbox_Status) Enum() *Inbox_Status

func (Inbox_Status) EnumDescriptor deprecated added in v0.17.0

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

Deprecated: Use Inbox_Status.Descriptor instead.

func (Inbox_Status) Number added in v0.17.0

func (Inbox_Status) String added in v0.17.0

func (x Inbox_Status) String() string

func (Inbox_Status) Type added in v0.17.0

type Inbox_Type added in v0.17.0

type Inbox_Type int32
const (
	Inbox_TYPE_UNSPECIFIED    Inbox_Type = 0
	Inbox_TYPE_MEMO_COMMENT   Inbox_Type = 1
	Inbox_TYPE_VERSION_UPDATE Inbox_Type = 2
)

func (Inbox_Type) Descriptor added in v0.17.0

func (Inbox_Type) Descriptor() protoreflect.EnumDescriptor

func (Inbox_Type) Enum added in v0.17.0

func (x Inbox_Type) Enum() *Inbox_Type

func (Inbox_Type) EnumDescriptor deprecated added in v0.17.0

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

Deprecated: Use Inbox_Type.Descriptor instead.

func (Inbox_Type) Number added in v0.17.0

func (x Inbox_Type) Number() protoreflect.EnumNumber

func (Inbox_Type) String added in v0.17.0

func (x Inbox_Type) String() string

func (Inbox_Type) Type added in v0.17.0

type ItalicNode added in v0.18.2

type ItalicNode 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 (*ItalicNode) Descriptor deprecated added in v0.18.2

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

Deprecated: Use ItalicNode.ProtoReflect.Descriptor instead.

func (*ItalicNode) GetContent added in v0.18.2

func (x *ItalicNode) GetContent() string

func (*ItalicNode) GetSymbol added in v0.18.2

func (x *ItalicNode) GetSymbol() string

func (*ItalicNode) ProtoMessage added in v0.18.2

func (*ItalicNode) ProtoMessage()

func (*ItalicNode) ProtoReflect added in v0.18.2

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

func (*ItalicNode) Reset added in v0.18.2

func (x *ItalicNode) Reset()

func (*ItalicNode) String added in v0.18.2

func (x *ItalicNode) String() string

type LineBreakNode added in v0.18.2

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

func (*LineBreakNode) Descriptor deprecated added in v0.18.2

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

Deprecated: Use LineBreakNode.ProtoReflect.Descriptor instead.

func (*LineBreakNode) ProtoMessage added in v0.18.2

func (*LineBreakNode) ProtoMessage()

func (*LineBreakNode) ProtoReflect added in v0.18.2

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

func (*LineBreakNode) Reset added in v0.18.2

func (x *LineBreakNode) Reset()

func (*LineBreakNode) String added in v0.18.2

func (x *LineBreakNode) String() string

type LinkNode added in v0.18.2

type LinkNode struct {
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	Url  string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*LinkNode) Descriptor deprecated added in v0.18.2

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

Deprecated: Use LinkNode.ProtoReflect.Descriptor instead.

func (*LinkNode) GetText added in v0.18.2

func (x *LinkNode) GetText() string

func (*LinkNode) GetUrl added in v0.18.2

func (x *LinkNode) GetUrl() string

func (*LinkNode) ProtoMessage added in v0.18.2

func (*LinkNode) ProtoMessage()

func (*LinkNode) ProtoReflect added in v0.18.2

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

func (*LinkNode) Reset added in v0.18.2

func (x *LinkNode) Reset()

func (*LinkNode) String added in v0.18.2

func (x *LinkNode) String() string

type ListInboxesRequest added in v0.17.0

type ListInboxesRequest struct {

	// Format: users/{username}
	User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*ListInboxesRequest) Descriptor deprecated added in v0.17.0

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

Deprecated: Use ListInboxesRequest.ProtoReflect.Descriptor instead.

func (*ListInboxesRequest) GetUser added in v0.17.0

func (x *ListInboxesRequest) GetUser() string

func (*ListInboxesRequest) ProtoMessage added in v0.17.0

func (*ListInboxesRequest) ProtoMessage()

func (*ListInboxesRequest) ProtoReflect added in v0.17.0

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

func (*ListInboxesRequest) Reset added in v0.17.0

func (x *ListInboxesRequest) Reset()

func (*ListInboxesRequest) String added in v0.17.0

func (x *ListInboxesRequest) String() string

type ListInboxesResponse added in v0.17.0

type ListInboxesResponse struct {
	Inboxes []*Inbox `protobuf:"bytes,1,rep,name=inboxes,proto3" json:"inboxes,omitempty"`
	// contains filtered or unexported fields
}

func (*ListInboxesResponse) Descriptor deprecated added in v0.17.0

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

Deprecated: Use ListInboxesResponse.ProtoReflect.Descriptor instead.

func (*ListInboxesResponse) GetInboxes added in v0.17.0

func (x *ListInboxesResponse) GetInboxes() []*Inbox

func (*ListInboxesResponse) ProtoMessage added in v0.17.0

func (*ListInboxesResponse) ProtoMessage()

func (*ListInboxesResponse) ProtoReflect added in v0.17.0

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

func (*ListInboxesResponse) Reset added in v0.17.0

func (x *ListInboxesResponse) Reset()

func (*ListInboxesResponse) String added in v0.17.0

func (x *ListInboxesResponse) String() string

type ListMemoCommentsRequest added in v0.16.0

type ListMemoCommentsRequest struct {
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMemoCommentsRequest) Descriptor deprecated added in v0.16.0

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

Deprecated: Use ListMemoCommentsRequest.ProtoReflect.Descriptor instead.

func (*ListMemoCommentsRequest) GetId added in v0.16.0

func (x *ListMemoCommentsRequest) GetId() int32

func (*ListMemoCommentsRequest) ProtoMessage added in v0.16.0

func (*ListMemoCommentsRequest) ProtoMessage()

func (*ListMemoCommentsRequest) ProtoReflect added in v0.16.0

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

func (*ListMemoCommentsRequest) Reset added in v0.16.0

func (x *ListMemoCommentsRequest) Reset()

func (*ListMemoCommentsRequest) String added in v0.16.0

func (x *ListMemoCommentsRequest) String() string

type ListMemoCommentsResponse added in v0.16.0

type ListMemoCommentsResponse struct {
	Memos []*Memo `protobuf:"bytes,1,rep,name=memos,proto3" json:"memos,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMemoCommentsResponse) Descriptor deprecated added in v0.16.0

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

Deprecated: Use ListMemoCommentsResponse.ProtoReflect.Descriptor instead.

func (*ListMemoCommentsResponse) GetMemos added in v0.16.0

func (x *ListMemoCommentsResponse) GetMemos() []*Memo

func (*ListMemoCommentsResponse) ProtoMessage added in v0.16.0

func (*ListMemoCommentsResponse) ProtoMessage()

func (*ListMemoCommentsResponse) ProtoReflect added in v0.16.0

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

func (*ListMemoCommentsResponse) Reset added in v0.16.0

func (x *ListMemoCommentsResponse) Reset()

func (*ListMemoCommentsResponse) String added in v0.16.0

func (x *ListMemoCommentsResponse) String() string

type ListMemoRelationsRequest added in v0.18.2

type ListMemoRelationsRequest struct {
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMemoRelationsRequest) Descriptor deprecated added in v0.18.2

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

Deprecated: Use ListMemoRelationsRequest.ProtoReflect.Descriptor instead.

func (*ListMemoRelationsRequest) GetId added in v0.18.2

func (x *ListMemoRelationsRequest) GetId() int32

func (*ListMemoRelationsRequest) ProtoMessage added in v0.18.2

func (*ListMemoRelationsRequest) ProtoMessage()

func (*ListMemoRelationsRequest) ProtoReflect added in v0.18.2

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

func (*ListMemoRelationsRequest) Reset added in v0.18.2

func (x *ListMemoRelationsRequest) Reset()

func (*ListMemoRelationsRequest) String added in v0.18.2

func (x *ListMemoRelationsRequest) String() string

type ListMemoRelationsResponse added in v0.18.2

type ListMemoRelationsResponse struct {
	Relations []*MemoRelation `protobuf:"bytes,1,rep,name=relations,proto3" json:"relations,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMemoRelationsResponse) Descriptor deprecated added in v0.18.2

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

Deprecated: Use ListMemoRelationsResponse.ProtoReflect.Descriptor instead.

func (*ListMemoRelationsResponse) GetRelations added in v0.18.2

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

func (*ListMemoRelationsResponse) ProtoMessage added in v0.18.2

func (*ListMemoRelationsResponse) ProtoMessage()

func (*ListMemoRelationsResponse) ProtoReflect added in v0.18.2

func (*ListMemoRelationsResponse) Reset added in v0.18.2

func (x *ListMemoRelationsResponse) Reset()

func (*ListMemoRelationsResponse) String added in v0.18.2

func (x *ListMemoRelationsResponse) String() string

type ListMemoResourcesRequest added in v0.18.2

type ListMemoResourcesRequest struct {
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMemoResourcesRequest) Descriptor deprecated added in v0.18.2

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

Deprecated: Use ListMemoResourcesRequest.ProtoReflect.Descriptor instead.

func (*ListMemoResourcesRequest) GetId added in v0.18.2

func (x *ListMemoResourcesRequest) GetId() int32

func (*ListMemoResourcesRequest) ProtoMessage added in v0.18.2

func (*ListMemoResourcesRequest) ProtoMessage()

func (*ListMemoResourcesRequest) ProtoReflect added in v0.18.2

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

func (*ListMemoResourcesRequest) Reset added in v0.18.2

func (x *ListMemoResourcesRequest) Reset()

func (*ListMemoResourcesRequest) String added in v0.18.2

func (x *ListMemoResourcesRequest) String() string

type ListMemoResourcesResponse added in v0.18.2

type ListMemoResourcesResponse struct {
	Resources []*Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMemoResourcesResponse) Descriptor deprecated added in v0.18.2

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

Deprecated: Use ListMemoResourcesResponse.ProtoReflect.Descriptor instead.

func (*ListMemoResourcesResponse) GetResources added in v0.18.2

func (x *ListMemoResourcesResponse) GetResources() []*Resource

func (*ListMemoResourcesResponse) ProtoMessage added in v0.18.2

func (*ListMemoResourcesResponse) ProtoMessage()

func (*ListMemoResourcesResponse) ProtoReflect added in v0.18.2

func (*ListMemoResourcesResponse) Reset added in v0.18.2

func (x *ListMemoResourcesResponse) Reset()

func (*ListMemoResourcesResponse) String added in v0.18.2

func (x *ListMemoResourcesResponse) String() string

type ListMemosRequest

type ListMemosRequest struct {

	// offset is the offset of the first memo to return.
	Offset int32 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	// limit is the maximum number of memos to return.
	Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// Filter is used to filter memos returned in the list.
	// Format: "creator == users/{username} && visibilities == ['PUBLIC', 'PROTECTED']"
	Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMemosRequest) Descriptor deprecated

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

Deprecated: Use ListMemosRequest.ProtoReflect.Descriptor instead.

func (*ListMemosRequest) GetFilter

func (x *ListMemosRequest) GetFilter() string

func (*ListMemosRequest) GetLimit added in v0.18.2

func (x *ListMemosRequest) GetLimit() int32

func (*ListMemosRequest) GetOffset added in v0.18.2

func (x *ListMemosRequest) GetOffset() int32

func (*ListMemosRequest) ProtoMessage

func (*ListMemosRequest) ProtoMessage()

func (*ListMemosRequest) ProtoReflect

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

func (*ListMemosRequest) Reset

func (x *ListMemosRequest) Reset()

func (*ListMemosRequest) String

func (x *ListMemosRequest) String() string

type ListMemosResponse

type ListMemosResponse struct {
	Memos []*Memo `protobuf:"bytes,1,rep,name=memos,proto3" json:"memos,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMemosResponse) Descriptor deprecated

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

Deprecated: Use ListMemosResponse.ProtoReflect.Descriptor instead.

func (*ListMemosResponse) GetMemos

func (x *ListMemosResponse) GetMemos() []*Memo

func (*ListMemosResponse) ProtoMessage

func (*ListMemosResponse) ProtoMessage()

func (*ListMemosResponse) ProtoReflect

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

func (*ListMemosResponse) Reset

func (x *ListMemosResponse) Reset()

func (*ListMemosResponse) String

func (x *ListMemosResponse) String() string

type ListResourcesRequest added in v0.15.0

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

func (*ListResourcesRequest) Descriptor deprecated added in v0.15.0

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

Deprecated: Use ListResourcesRequest.ProtoReflect.Descriptor instead.

func (*ListResourcesRequest) ProtoMessage added in v0.15.0

func (*ListResourcesRequest) ProtoMessage()

func (*ListResourcesRequest) ProtoReflect added in v0.15.0

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

func (*ListResourcesRequest) Reset added in v0.15.0

func (x *ListResourcesRequest) Reset()

func (*ListResourcesRequest) String added in v0.15.0

func (x *ListResourcesRequest) String() string

type ListResourcesResponse added in v0.15.0

type ListResourcesResponse struct {
	Resources []*Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResourcesResponse) Descriptor deprecated added in v0.15.0

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

Deprecated: Use ListResourcesResponse.ProtoReflect.Descriptor instead.

func (*ListResourcesResponse) GetResources added in v0.15.0

func (x *ListResourcesResponse) GetResources() []*Resource

func (*ListResourcesResponse) ProtoMessage added in v0.15.0

func (*ListResourcesResponse) ProtoMessage()

func (*ListResourcesResponse) ProtoReflect added in v0.15.0

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

func (*ListResourcesResponse) Reset added in v0.15.0

func (x *ListResourcesResponse) Reset()

func (*ListResourcesResponse) String added in v0.15.0

func (x *ListResourcesResponse) String() string

type ListTagsRequest

type ListTagsRequest struct {

	// The creator of tags.
	// Format: users/{username}
	User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTagsRequest) Descriptor deprecated

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

Deprecated: Use ListTagsRequest.ProtoReflect.Descriptor instead.

func (*ListTagsRequest) GetUser added in v0.18.0

func (x *ListTagsRequest) GetUser() string

func (*ListTagsRequest) ProtoMessage

func (*ListTagsRequest) ProtoMessage()

func (*ListTagsRequest) ProtoReflect

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

func (*ListTagsRequest) Reset

func (x *ListTagsRequest) Reset()

func (*ListTagsRequest) String

func (x *ListTagsRequest) String() string

type ListTagsResponse

type ListTagsResponse struct {
	Tags []*Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTagsResponse) Descriptor deprecated

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

Deprecated: Use ListTagsResponse.ProtoReflect.Descriptor instead.

func (*ListTagsResponse) GetTags

func (x *ListTagsResponse) GetTags() []*Tag

func (*ListTagsResponse) ProtoMessage

func (*ListTagsResponse) ProtoMessage()

func (*ListTagsResponse) ProtoReflect

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

func (*ListTagsResponse) Reset

func (x *ListTagsResponse) Reset()

func (*ListTagsResponse) String

func (x *ListTagsResponse) String() string

type ListUserAccessTokensRequest added in v0.15.0

type ListUserAccessTokensRequest struct {

	// The name of the user.
	// Format: users/{username}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserAccessTokensRequest) Descriptor deprecated added in v0.15.0

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

Deprecated: Use ListUserAccessTokensRequest.ProtoReflect.Descriptor instead.

func (*ListUserAccessTokensRequest) GetName added in v0.17.1

func (x *ListUserAccessTokensRequest) GetName() string

func (*ListUserAccessTokensRequest) ProtoMessage added in v0.15.0

func (*ListUserAccessTokensRequest) ProtoMessage()

func (*ListUserAccessTokensRequest) ProtoReflect added in v0.15.0

func (*ListUserAccessTokensRequest) Reset added in v0.15.0

func (x *ListUserAccessTokensRequest) Reset()

func (*ListUserAccessTokensRequest) String added in v0.15.0

func (x *ListUserAccessTokensRequest) String() string

type ListUserAccessTokensResponse added in v0.15.0

type ListUserAccessTokensResponse struct {
	AccessTokens []*UserAccessToken `protobuf:"bytes,1,rep,name=access_tokens,json=accessTokens,proto3" json:"access_tokens,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserAccessTokensResponse) Descriptor deprecated added in v0.15.0

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

Deprecated: Use ListUserAccessTokensResponse.ProtoReflect.Descriptor instead.

func (*ListUserAccessTokensResponse) GetAccessTokens added in v0.15.0

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

func (*ListUserAccessTokensResponse) ProtoMessage added in v0.15.0

func (*ListUserAccessTokensResponse) ProtoMessage()

func (*ListUserAccessTokensResponse) ProtoReflect added in v0.15.0

func (*ListUserAccessTokensResponse) Reset added in v0.15.0

func (x *ListUserAccessTokensResponse) Reset()

func (*ListUserAccessTokensResponse) String added in v0.15.0

type ListUsersRequest added in v0.18.2

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

func (*ListUsersRequest) Descriptor deprecated added in v0.18.2

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

Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.

func (*ListUsersRequest) ProtoMessage added in v0.18.2

func (*ListUsersRequest) ProtoMessage()

func (*ListUsersRequest) ProtoReflect added in v0.18.2

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

func (*ListUsersRequest) Reset added in v0.18.2

func (x *ListUsersRequest) Reset()

func (*ListUsersRequest) String added in v0.18.2

func (x *ListUsersRequest) String() string

type ListUsersResponse added in v0.18.2

type ListUsersResponse struct {
	Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUsersResponse) Descriptor deprecated added in v0.18.2

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

Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.

func (*ListUsersResponse) GetUsers added in v0.18.2

func (x *ListUsersResponse) GetUsers() []*User

func (*ListUsersResponse) ProtoMessage added in v0.18.2

func (*ListUsersResponse) ProtoMessage()

func (*ListUsersResponse) ProtoReflect added in v0.18.2

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

func (*ListUsersResponse) Reset added in v0.18.2

func (x *ListUsersResponse) Reset()

func (*ListUsersResponse) String added in v0.18.2

func (x *ListUsersResponse) String() string

type ListWebhooksRequest added in v0.18.0

type ListWebhooksRequest struct {
	CreatorId int32 `protobuf:"varint,1,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWebhooksRequest) Descriptor deprecated added in v0.18.0

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

Deprecated: Use ListWebhooksRequest.ProtoReflect.Descriptor instead.

func (*ListWebhooksRequest) GetCreatorId added in v0.18.0

func (x *ListWebhooksRequest) GetCreatorId() int32

func (*ListWebhooksRequest) ProtoMessage added in v0.18.0

func (*ListWebhooksRequest) ProtoMessage()

func (*ListWebhooksRequest) ProtoReflect added in v0.18.0

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

func (*ListWebhooksRequest) Reset added in v0.18.0

func (x *ListWebhooksRequest) Reset()

func (*ListWebhooksRequest) String added in v0.18.0

func (x *ListWebhooksRequest) String() string

type ListWebhooksResponse added in v0.18.0

type ListWebhooksResponse struct {
	Webhooks []*Webhook `protobuf:"bytes,1,rep,name=webhooks,proto3" json:"webhooks,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWebhooksResponse) Descriptor deprecated added in v0.18.0

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

Deprecated: Use ListWebhooksResponse.ProtoReflect.Descriptor instead.

func (*ListWebhooksResponse) GetWebhooks added in v0.18.0

func (x *ListWebhooksResponse) GetWebhooks() []*Webhook

func (*ListWebhooksResponse) ProtoMessage added in v0.18.0

func (*ListWebhooksResponse) ProtoMessage()

func (*ListWebhooksResponse) ProtoReflect added in v0.18.0

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

func (*ListWebhooksResponse) Reset added in v0.18.0

func (x *ListWebhooksResponse) Reset()

func (*ListWebhooksResponse) String added in v0.18.0

func (x *ListWebhooksResponse) String() string

type MarkdownServiceClient added in v0.18.2

type MarkdownServiceClient interface {
	ParseMarkdown(ctx context.Context, in *ParseMarkdownRequest, opts ...grpc.CallOption) (*ParseMarkdownResponse, error)
}

MarkdownServiceClient is the client API for MarkdownService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMarkdownServiceClient added in v0.18.2

func NewMarkdownServiceClient(cc grpc.ClientConnInterface) MarkdownServiceClient

type MarkdownServiceServer added in v0.18.2

type MarkdownServiceServer interface {
	ParseMarkdown(context.Context, *ParseMarkdownRequest) (*ParseMarkdownResponse, error)
	// contains filtered or unexported methods
}

MarkdownServiceServer is the server API for MarkdownService service. All implementations must embed UnimplementedMarkdownServiceServer for forward compatibility

type MathBlockNode added in v0.18.2

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

func (*MathBlockNode) Descriptor deprecated added in v0.18.2

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

Deprecated: Use MathBlockNode.ProtoReflect.Descriptor instead.

func (*MathBlockNode) GetContent added in v0.18.2

func (x *MathBlockNode) GetContent() string

func (*MathBlockNode) ProtoMessage added in v0.18.2

func (*MathBlockNode) ProtoMessage()

func (*MathBlockNode) ProtoReflect added in v0.18.2

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

func (*MathBlockNode) Reset added in v0.18.2

func (x *MathBlockNode) Reset()

func (*MathBlockNode) String added in v0.18.2

func (x *MathBlockNode) String() string

type MathNode added in v0.18.2

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

func (*MathNode) Descriptor deprecated added in v0.18.2

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

Deprecated: Use MathNode.ProtoReflect.Descriptor instead.

func (*MathNode) GetContent added in v0.18.2

func (x *MathNode) GetContent() string

func (*MathNode) ProtoMessage added in v0.18.2

func (*MathNode) ProtoMessage()

func (*MathNode) ProtoReflect added in v0.18.2

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

func (*MathNode) Reset added in v0.18.2

func (x *MathNode) Reset()

func (*MathNode) String added in v0.18.2

func (x *MathNode) String() string

type Memo

type Memo struct {
	Id        int32     `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	RowStatus RowStatus `protobuf:"varint,2,opt,name=row_status,json=rowStatus,proto3,enum=memos.api.v2.RowStatus" json:"row_status,omitempty"`
	// The name of the creator.
	// Format: users/{username}
	Creator     string                 `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"`
	CreatorId   int32                  `protobuf:"varint,4,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"`
	CreateTime  *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	UpdateTime  *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	DisplayTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=display_time,json=displayTime,proto3" json:"display_time,omitempty"`
	Content     string                 `protobuf:"bytes,8,opt,name=content,proto3" json:"content,omitempty"`
	Nodes       []*Node                `protobuf:"bytes,9,rep,name=nodes,proto3" json:"nodes,omitempty"`
	Visibility  Visibility             `protobuf:"varint,10,opt,name=visibility,proto3,enum=memos.api.v2.Visibility" json:"visibility,omitempty"`
	Pinned      bool                   `protobuf:"varint,11,opt,name=pinned,proto3" json:"pinned,omitempty"`
	ParentId    *int32                 `protobuf:"varint,12,opt,name=parent_id,json=parentId,proto3,oneof" json:"parent_id,omitempty"`
	Resources   []*Resource            `protobuf:"bytes,13,rep,name=resources,proto3" json:"resources,omitempty"`
	Relations   []*MemoRelation        `protobuf:"bytes,14,rep,name=relations,proto3" json:"relations,omitempty"`
	// contains filtered or unexported fields
}

func (*Memo) Descriptor deprecated

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

Deprecated: Use Memo.ProtoReflect.Descriptor instead.

func (*Memo) GetContent

func (x *Memo) GetContent() string

func (*Memo) GetCreateTime added in v0.18.2

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

func (*Memo) GetCreator added in v0.18.2

func (x *Memo) GetCreator() string

func (*Memo) GetCreatorId

func (x *Memo) GetCreatorId() int32

func (*Memo) GetDisplayTime added in v0.18.2

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

func (*Memo) GetId

func (x *Memo) GetId() int32

func (*Memo) GetNodes added in v0.18.2

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

func (*Memo) GetParentId added in v0.18.2

func (x *Memo) GetParentId() int32

func (*Memo) GetPinned

func (x *Memo) GetPinned() bool

func (*Memo) GetRelations added in v0.18.2

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

func (*Memo) GetResources added in v0.18.2

func (x *Memo) GetResources() []*Resource

func (*Memo) GetRowStatus

func (x *Memo) GetRowStatus() RowStatus

func (*Memo) GetUpdateTime added in v0.18.2

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 added in v0.18.2

type MemoRelation struct {
	MemoId        int32             `protobuf:"varint,1,opt,name=memo_id,json=memoId,proto3" json:"memo_id,omitempty"`
	RelatedMemoId int32             `protobuf:"varint,2,opt,name=related_memo_id,json=relatedMemoId,proto3" json:"related_memo_id,omitempty"`
	Type          MemoRelation_Type `protobuf:"varint,3,opt,name=type,proto3,enum=memos.api.v2.MemoRelation_Type" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*MemoRelation) Descriptor deprecated added in v0.18.2

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

Deprecated: Use MemoRelation.ProtoReflect.Descriptor instead.

func (*MemoRelation) GetMemoId added in v0.18.2

func (x *MemoRelation) GetMemoId() int32

func (*MemoRelation) GetRelatedMemoId added in v0.18.2

func (x *MemoRelation) GetRelatedMemoId() int32

func (*MemoRelation) GetType added in v0.18.2

func (x *MemoRelation) GetType() MemoRelation_Type

func (*MemoRelation) ProtoMessage added in v0.18.2

func (*MemoRelation) ProtoMessage()

func (*MemoRelation) ProtoReflect added in v0.18.2

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

func (*MemoRelation) Reset added in v0.18.2

func (x *MemoRelation) Reset()

func (*MemoRelation) String added in v0.18.2

func (x *MemoRelation) String() string

type MemoRelation_Type added in v0.18.2

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

func (MemoRelation_Type) Descriptor added in v0.18.2

func (MemoRelation_Type) Enum added in v0.18.2

func (MemoRelation_Type) EnumDescriptor deprecated added in v0.18.2

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

Deprecated: Use MemoRelation_Type.Descriptor instead.

func (MemoRelation_Type) Number added in v0.18.2

func (MemoRelation_Type) String added in v0.18.2

func (x MemoRelation_Type) String() string

func (MemoRelation_Type) Type added in v0.18.2

type MemoServiceClient

type MemoServiceClient interface {
	// CreateMemo creates a memo.
	CreateMemo(ctx context.Context, in *CreateMemoRequest, opts ...grpc.CallOption) (*CreateMemoResponse, error)
	// ListMemos lists memos with pagination and filter.
	ListMemos(ctx context.Context, in *ListMemosRequest, opts ...grpc.CallOption) (*ListMemosResponse, error)
	// GetMemo gets a memo by id.
	GetMemo(ctx context.Context, in *GetMemoRequest, opts ...grpc.CallOption) (*GetMemoResponse, error)
	// UpdateMemo updates a memo.
	UpdateMemo(ctx context.Context, in *UpdateMemoRequest, opts ...grpc.CallOption) (*UpdateMemoResponse, error)
	// DeleteMemo deletes a memo by id.
	DeleteMemo(ctx context.Context, in *DeleteMemoRequest, opts ...grpc.CallOption) (*DeleteMemoResponse, error)
	// SetMemoResources sets resources for a memo.
	SetMemoResources(ctx context.Context, in *SetMemoResourcesRequest, opts ...grpc.CallOption) (*SetMemoResourcesResponse, error)
	// ListMemoResources lists resources for a memo.
	ListMemoResources(ctx context.Context, in *ListMemoResourcesRequest, opts ...grpc.CallOption) (*ListMemoResourcesResponse, error)
	// SetMemoRelations sets relations for a memo.
	SetMemoRelations(ctx context.Context, in *SetMemoRelationsRequest, opts ...grpc.CallOption) (*SetMemoRelationsResponse, error)
	// ListMemoRelations lists relations for a memo.
	ListMemoRelations(ctx context.Context, in *ListMemoRelationsRequest, opts ...grpc.CallOption) (*ListMemoRelationsResponse, error)
	// CreateMemoComment creates a comment for a memo.
	CreateMemoComment(ctx context.Context, in *CreateMemoCommentRequest, opts ...grpc.CallOption) (*CreateMemoCommentResponse, error)
	// ListMemoComments lists comments for a memo.
	ListMemoComments(ctx context.Context, in *ListMemoCommentsRequest, opts ...grpc.CallOption) (*ListMemoCommentsResponse, error)
	// GetUserMemosStats gets stats of memos for a user.
	GetUserMemosStats(ctx context.Context, in *GetUserMemosStatsRequest, opts ...grpc.CallOption) (*GetUserMemosStatsResponse, error)
}

MemoServiceClient is the client API for MemoService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type MemoServiceServer

type MemoServiceServer interface {
	// CreateMemo creates a memo.
	CreateMemo(context.Context, *CreateMemoRequest) (*CreateMemoResponse, error)
	// ListMemos lists memos with pagination and filter.
	ListMemos(context.Context, *ListMemosRequest) (*ListMemosResponse, error)
	// GetMemo gets a memo by id.
	GetMemo(context.Context, *GetMemoRequest) (*GetMemoResponse, error)
	// UpdateMemo updates a memo.
	UpdateMemo(context.Context, *UpdateMemoRequest) (*UpdateMemoResponse, error)
	// DeleteMemo deletes a memo by id.
	DeleteMemo(context.Context, *DeleteMemoRequest) (*DeleteMemoResponse, error)
	// SetMemoResources sets resources for a memo.
	SetMemoResources(context.Context, *SetMemoResourcesRequest) (*SetMemoResourcesResponse, error)
	// ListMemoResources lists resources for a memo.
	ListMemoResources(context.Context, *ListMemoResourcesRequest) (*ListMemoResourcesResponse, error)
	// SetMemoRelations sets relations for a memo.
	SetMemoRelations(context.Context, *SetMemoRelationsRequest) (*SetMemoRelationsResponse, error)
	// ListMemoRelations lists relations for a memo.
	ListMemoRelations(context.Context, *ListMemoRelationsRequest) (*ListMemoRelationsResponse, error)
	// CreateMemoComment creates a comment for a memo.
	CreateMemoComment(context.Context, *CreateMemoCommentRequest) (*CreateMemoCommentResponse, error)
	// ListMemoComments lists comments for a memo.
	ListMemoComments(context.Context, *ListMemoCommentsRequest) (*ListMemoCommentsResponse, error)
	// GetUserMemosStats gets stats of memos for a user.
	GetUserMemosStats(context.Context, *GetUserMemosStatsRequest) (*GetUserMemosStatsResponse, error)
	// contains filtered or unexported methods
}

MemoServiceServer is the server API for MemoService service. All implementations must embed UnimplementedMemoServiceServer for forward compatibility

type Node added in v0.18.2

type Node struct {
	Type NodeType `protobuf:"varint,1,opt,name=type,proto3,enum=memos.api.v2.NodeType" json:"type,omitempty"`
	// Types that are assignable to Node:
	//
	//	*Node_LineBreakNode
	//	*Node_ParagraphNode
	//	*Node_CodeBlockNode
	//	*Node_HeadingNode
	//	*Node_HorizontalRuleNode
	//	*Node_BlockquoteNode
	//	*Node_OrderedListNode
	//	*Node_UnorderedListNode
	//	*Node_TaskListNode
	//	*Node_MathBlockNode
	//	*Node_TableNode
	//	*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 isNode_Node `protobuf_oneof:"node"`
	// contains filtered or unexported fields
}

func (*Node) Descriptor deprecated added in v0.18.2

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

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) GetAutoLinkNode added in v0.18.2

func (x *Node) GetAutoLinkNode() *AutoLinkNode

func (*Node) GetBlockquoteNode added in v0.18.2

func (x *Node) GetBlockquoteNode() *BlockquoteNode

func (*Node) GetBoldItalicNode added in v0.18.2

func (x *Node) GetBoldItalicNode() *BoldItalicNode

func (*Node) GetBoldNode added in v0.18.2

func (x *Node) GetBoldNode() *BoldNode

func (*Node) GetCodeBlockNode added in v0.18.2

func (x *Node) GetCodeBlockNode() *CodeBlockNode

func (*Node) GetCodeNode added in v0.18.2

func (x *Node) GetCodeNode() *CodeNode

func (*Node) GetEscapingCharacterNode added in v0.18.2

func (x *Node) GetEscapingCharacterNode() *EscapingCharacterNode

func (*Node) GetHeadingNode added in v0.18.2

func (x *Node) GetHeadingNode() *HeadingNode

func (*Node) GetHighlightNode added in v0.18.2

func (x *Node) GetHighlightNode() *HighlightNode

func (*Node) GetHorizontalRuleNode added in v0.18.2

func (x *Node) GetHorizontalRuleNode() *HorizontalRuleNode

func (*Node) GetImageNode added in v0.18.2

func (x *Node) GetImageNode() *ImageNode

func (*Node) GetItalicNode added in v0.18.2

func (x *Node) GetItalicNode() *ItalicNode

func (*Node) GetLineBreakNode added in v0.18.2

func (x *Node) GetLineBreakNode() *LineBreakNode

func (*Node) GetLinkNode added in v0.18.2

func (x *Node) GetLinkNode() *LinkNode

func (*Node) GetMathBlockNode added in v0.18.2

func (x *Node) GetMathBlockNode() *MathBlockNode

func (*Node) GetMathNode added in v0.18.2

func (x *Node) GetMathNode() *MathNode

func (*Node) GetNode added in v0.18.2

func (m *Node) GetNode() isNode_Node

func (*Node) GetOrderedListNode added in v0.18.2

func (x *Node) GetOrderedListNode() *OrderedListNode

func (*Node) GetParagraphNode added in v0.18.2

func (x *Node) GetParagraphNode() *ParagraphNode

func (*Node) GetStrikethroughNode added in v0.18.2

func (x *Node) GetStrikethroughNode() *StrikethroughNode

func (*Node) GetTableNode added in v0.18.2

func (x *Node) GetTableNode() *TableNode

func (*Node) GetTagNode added in v0.18.2

func (x *Node) GetTagNode() *TagNode

func (*Node) GetTaskListNode added in v0.18.2

func (x *Node) GetTaskListNode() *TaskListNode

func (*Node) GetTextNode added in v0.18.2

func (x *Node) GetTextNode() *TextNode

func (*Node) GetType added in v0.18.2

func (x *Node) GetType() NodeType

func (*Node) GetUnorderedListNode added in v0.18.2

func (x *Node) GetUnorderedListNode() *UnorderedListNode

func (*Node) ProtoMessage added in v0.18.2

func (*Node) ProtoMessage()

func (*Node) ProtoReflect added in v0.18.2

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

func (*Node) Reset added in v0.18.2

func (x *Node) Reset()

func (*Node) String added in v0.18.2

func (x *Node) String() string

type NodeType added in v0.18.2

type NodeType int32
const (
	NodeType_NODE_UNSPECIFIED   NodeType = 0
	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_ORDERED_LIST       NodeType = 7
	NodeType_UNORDERED_LIST     NodeType = 8
	NodeType_TASK_LIST          NodeType = 9
	NodeType_MATH_BLOCK         NodeType = 10
	NodeType_TABLE              NodeType = 11
	NodeType_TEXT               NodeType = 12
	NodeType_BOLD               NodeType = 13
	NodeType_ITALIC             NodeType = 14
	NodeType_BOLD_ITALIC        NodeType = 15
	NodeType_CODE               NodeType = 16
	NodeType_IMAGE              NodeType = 17
	NodeType_LINK               NodeType = 18
	NodeType_AUTO_LINK          NodeType = 19
	NodeType_TAG                NodeType = 20
	NodeType_STRIKETHROUGH      NodeType = 21
	NodeType_ESCAPING_CHARACTER NodeType = 22
	NodeType_MATH               NodeType = 23
	NodeType_HIGHLIGHT          NodeType = 24
)

func (NodeType) Descriptor added in v0.18.2

func (NodeType) Descriptor() protoreflect.EnumDescriptor

func (NodeType) Enum added in v0.18.2

func (x NodeType) Enum() *NodeType

func (NodeType) EnumDescriptor deprecated added in v0.18.2

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

Deprecated: Use NodeType.Descriptor instead.

func (NodeType) Number added in v0.18.2

func (x NodeType) Number() protoreflect.EnumNumber

func (NodeType) String added in v0.18.2

func (x NodeType) String() string

func (NodeType) Type added in v0.18.2

type Node_AutoLinkNode added in v0.18.2

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

type Node_BlockquoteNode added in v0.18.2

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

type Node_BoldItalicNode added in v0.18.2

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

type Node_BoldNode added in v0.18.2

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

type Node_CodeBlockNode added in v0.18.2

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

type Node_CodeNode added in v0.18.2

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

type Node_EscapingCharacterNode added in v0.18.2

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

type Node_HeadingNode added in v0.18.2

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

type Node_HighlightNode added in v0.18.2

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

type Node_HorizontalRuleNode added in v0.18.2

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

type Node_ImageNode added in v0.18.2

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

type Node_ItalicNode added in v0.18.2

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

type Node_LineBreakNode added in v0.18.2

type Node_LineBreakNode struct {
	LineBreakNode *LineBreakNode `protobuf:"bytes,2,opt,name=line_break_node,json=lineBreakNode,proto3,oneof"`
}

type Node_LinkNode added in v0.18.2

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

type Node_MathBlockNode added in v0.18.2

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

type Node_MathNode added in v0.18.2

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

type Node_OrderedListNode added in v0.18.2

type Node_OrderedListNode struct {
	OrderedListNode *OrderedListNode `protobuf:"bytes,8,opt,name=ordered_list_node,json=orderedListNode,proto3,oneof"`
}

type Node_ParagraphNode added in v0.18.2

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

type Node_StrikethroughNode added in v0.18.2

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

type Node_TableNode added in v0.18.2

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

type Node_TagNode added in v0.18.2

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

type Node_TaskListNode added in v0.18.2

type Node_TaskListNode struct {
	TaskListNode *TaskListNode `protobuf:"bytes,10,opt,name=task_list_node,json=taskListNode,proto3,oneof"`
}

type Node_TextNode added in v0.18.2

type Node_TextNode struct {
	TextNode *TextNode `protobuf:"bytes,13,opt,name=text_node,json=textNode,proto3,oneof"`
}

type Node_UnorderedListNode added in v0.18.2

type Node_UnorderedListNode struct {
	UnorderedListNode *UnorderedListNode `protobuf:"bytes,9,opt,name=unordered_list_node,json=unorderedListNode,proto3,oneof"`
}

type OrderedListNode added in v0.18.2

type OrderedListNode 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 (*OrderedListNode) Descriptor deprecated added in v0.18.2

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

Deprecated: Use OrderedListNode.ProtoReflect.Descriptor instead.

func (*OrderedListNode) GetChildren added in v0.18.2

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

func (*OrderedListNode) GetIndent added in v0.18.2

func (x *OrderedListNode) GetIndent() int32

func (*OrderedListNode) GetNumber added in v0.18.2

func (x *OrderedListNode) GetNumber() string

func (*OrderedListNode) ProtoMessage added in v0.18.2

func (*OrderedListNode) ProtoMessage()

func (*OrderedListNode) ProtoReflect added in v0.18.2

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

func (*OrderedListNode) Reset added in v0.18.2

func (x *OrderedListNode) Reset()

func (*OrderedListNode) String added in v0.18.2

func (x *OrderedListNode) String() string

type ParagraphNode added in v0.18.2

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

func (*ParagraphNode) Descriptor deprecated added in v0.18.2

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

Deprecated: Use ParagraphNode.ProtoReflect.Descriptor instead.

func (*ParagraphNode) GetChildren added in v0.18.2

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

func (*ParagraphNode) ProtoMessage added in v0.18.2

func (*ParagraphNode) ProtoMessage()

func (*ParagraphNode) ProtoReflect added in v0.18.2

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

func (*ParagraphNode) Reset added in v0.18.2

func (x *ParagraphNode) Reset()

func (*ParagraphNode) String added in v0.18.2

func (x *ParagraphNode) String() string

type ParseMarkdownRequest added in v0.18.2

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

func (*ParseMarkdownRequest) Descriptor deprecated added in v0.18.2

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

Deprecated: Use ParseMarkdownRequest.ProtoReflect.Descriptor instead.

func (*ParseMarkdownRequest) GetMarkdown added in v0.18.2

func (x *ParseMarkdownRequest) GetMarkdown() string

func (*ParseMarkdownRequest) ProtoMessage added in v0.18.2

func (*ParseMarkdownRequest) ProtoMessage()

func (*ParseMarkdownRequest) ProtoReflect added in v0.18.2

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

func (*ParseMarkdownRequest) Reset added in v0.18.2

func (x *ParseMarkdownRequest) Reset()

func (*ParseMarkdownRequest) String added in v0.18.2

func (x *ParseMarkdownRequest) String() string

type ParseMarkdownResponse added in v0.18.2

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

func (*ParseMarkdownResponse) Descriptor deprecated added in v0.18.2

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

Deprecated: Use ParseMarkdownResponse.ProtoReflect.Descriptor instead.

func (*ParseMarkdownResponse) GetNodes added in v0.18.2

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

func (*ParseMarkdownResponse) ProtoMessage added in v0.18.2

func (*ParseMarkdownResponse) ProtoMessage()

func (*ParseMarkdownResponse) ProtoReflect added in v0.18.2

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

func (*ParseMarkdownResponse) Reset added in v0.18.2

func (x *ParseMarkdownResponse) Reset()

func (*ParseMarkdownResponse) String added in v0.18.2

func (x *ParseMarkdownResponse) String() string

type Resource added in v0.15.0

type Resource struct {
	Id           int32                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreateTime   *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	Filename     string                 `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"`
	ExternalLink string                 `protobuf:"bytes,4,opt,name=external_link,json=externalLink,proto3" json:"external_link,omitempty"`
	Type         string                 `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
	Size         int64                  `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"`
	MemoId       *int32                 `protobuf:"varint,7,opt,name=memo_id,json=memoId,proto3,oneof" json:"memo_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Resource) Descriptor deprecated added in v0.15.0

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

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetCreateTime added in v0.18.2

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

func (*Resource) GetFilename added in v0.15.0

func (x *Resource) GetFilename() string

func (*Resource) GetId added in v0.15.0

func (x *Resource) GetId() int32

func (*Resource) GetMemoId added in v0.16.0

func (x *Resource) GetMemoId() int32

func (*Resource) GetSize added in v0.15.0

func (x *Resource) GetSize() int64

func (*Resource) GetType added in v0.15.0

func (x *Resource) GetType() string

func (*Resource) ProtoMessage added in v0.15.0

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect added in v0.15.0

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

func (*Resource) Reset added in v0.15.0

func (x *Resource) Reset()

func (*Resource) String added in v0.15.0

func (x *Resource) String() string

type ResourceServiceClient added in v0.15.0

type ResourceServiceClient interface {
	CreateResource(ctx context.Context, in *CreateResourceRequest, opts ...grpc.CallOption) (*CreateResourceResponse, error)
	ListResources(ctx context.Context, in *ListResourcesRequest, opts ...grpc.CallOption) (*ListResourcesResponse, error)
	UpdateResource(ctx context.Context, in *UpdateResourceRequest, opts ...grpc.CallOption) (*UpdateResourceResponse, error)
	DeleteResource(ctx context.Context, in *DeleteResourceRequest, opts ...grpc.CallOption) (*DeleteResourceResponse, error)
}

ResourceServiceClient is the client API for ResourceService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewResourceServiceClient added in v0.15.0

func NewResourceServiceClient(cc grpc.ClientConnInterface) ResourceServiceClient

type ResourceServiceServer added in v0.15.0

type ResourceServiceServer interface {
	CreateResource(context.Context, *CreateResourceRequest) (*CreateResourceResponse, error)
	ListResources(context.Context, *ListResourcesRequest) (*ListResourcesResponse, error)
	UpdateResource(context.Context, *UpdateResourceRequest) (*UpdateResourceResponse, error)
	DeleteResource(context.Context, *DeleteResourceRequest) (*DeleteResourceResponse, error)
	// contains filtered or unexported methods
}

ResourceServiceServer is the server API for ResourceService service. All implementations must embed UnimplementedResourceServiceServer for forward compatibility

type RowStatus

type RowStatus int32
const (
	RowStatus_ROW_STATUS_UNSPECIFIED RowStatus = 0
	RowStatus_ACTIVE                 RowStatus = 1
	RowStatus_ARCHIVED               RowStatus = 2
)

func (RowStatus) Descriptor

func (RowStatus) Descriptor() protoreflect.EnumDescriptor

func (RowStatus) Enum

func (x RowStatus) Enum() *RowStatus

func (RowStatus) EnumDescriptor deprecated

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

Deprecated: Use RowStatus.Descriptor instead.

func (RowStatus) Number

func (x RowStatus) Number() protoreflect.EnumNumber

func (RowStatus) String

func (x RowStatus) String() string

func (RowStatus) Type

type SetMemoRelationsRequest added in v0.18.2

type SetMemoRelationsRequest struct {
	Id        int32           `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Relations []*MemoRelation `protobuf:"bytes,2,rep,name=relations,proto3" json:"relations,omitempty"`
	// contains filtered or unexported fields
}

func (*SetMemoRelationsRequest) Descriptor deprecated added in v0.18.2

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

Deprecated: Use SetMemoRelationsRequest.ProtoReflect.Descriptor instead.

func (*SetMemoRelationsRequest) GetId added in v0.18.2

func (x *SetMemoRelationsRequest) GetId() int32

func (*SetMemoRelationsRequest) GetRelations added in v0.18.2

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

func (*SetMemoRelationsRequest) ProtoMessage added in v0.18.2

func (*SetMemoRelationsRequest) ProtoMessage()

func (*SetMemoRelationsRequest) ProtoReflect added in v0.18.2

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

func (*SetMemoRelationsRequest) Reset added in v0.18.2

func (x *SetMemoRelationsRequest) Reset()

func (*SetMemoRelationsRequest) String added in v0.18.2

func (x *SetMemoRelationsRequest) String() string

type SetMemoRelationsResponse added in v0.18.2

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

func (*SetMemoRelationsResponse) Descriptor deprecated added in v0.18.2

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

Deprecated: Use SetMemoRelationsResponse.ProtoReflect.Descriptor instead.

func (*SetMemoRelationsResponse) ProtoMessage added in v0.18.2

func (*SetMemoRelationsResponse) ProtoMessage()

func (*SetMemoRelationsResponse) ProtoReflect added in v0.18.2

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

func (*SetMemoRelationsResponse) Reset added in v0.18.2

func (x *SetMemoRelationsResponse) Reset()

func (*SetMemoRelationsResponse) String added in v0.18.2

func (x *SetMemoRelationsResponse) String() string

type SetMemoResourcesRequest added in v0.18.2

type SetMemoResourcesRequest struct {
	Id        int32       `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Resources []*Resource `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

func (*SetMemoResourcesRequest) Descriptor deprecated added in v0.18.2

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

Deprecated: Use SetMemoResourcesRequest.ProtoReflect.Descriptor instead.

func (*SetMemoResourcesRequest) GetId added in v0.18.2

func (x *SetMemoResourcesRequest) GetId() int32

func (*SetMemoResourcesRequest) GetResources added in v0.18.2

func (x *SetMemoResourcesRequest) GetResources() []*Resource

func (*SetMemoResourcesRequest) ProtoMessage added in v0.18.2

func (*SetMemoResourcesRequest) ProtoMessage()

func (*SetMemoResourcesRequest) ProtoReflect added in v0.18.2

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

func (*SetMemoResourcesRequest) Reset added in v0.18.2

func (x *SetMemoResourcesRequest) Reset()

func (*SetMemoResourcesRequest) String added in v0.18.2

func (x *SetMemoResourcesRequest) String() string

type SetMemoResourcesResponse added in v0.18.2

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

func (*SetMemoResourcesResponse) Descriptor deprecated added in v0.18.2

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

Deprecated: Use SetMemoResourcesResponse.ProtoReflect.Descriptor instead.

func (*SetMemoResourcesResponse) ProtoMessage added in v0.18.2

func (*SetMemoResourcesResponse) ProtoMessage()

func (*SetMemoResourcesResponse) ProtoReflect added in v0.18.2

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

func (*SetMemoResourcesResponse) Reset added in v0.18.2

func (x *SetMemoResourcesResponse) Reset()

func (*SetMemoResourcesResponse) String added in v0.18.2

func (x *SetMemoResourcesResponse) String() string

type StrikethroughNode added in v0.18.2

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

func (*StrikethroughNode) Descriptor deprecated added in v0.18.2

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

Deprecated: Use StrikethroughNode.ProtoReflect.Descriptor instead.

func (*StrikethroughNode) GetContent added in v0.18.2

func (x *StrikethroughNode) GetContent() string

func (*StrikethroughNode) ProtoMessage added in v0.18.2

func (*StrikethroughNode) ProtoMessage()

func (*StrikethroughNode) ProtoReflect added in v0.18.2

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

func (*StrikethroughNode) Reset added in v0.18.2

func (x *StrikethroughNode) Reset()

func (*StrikethroughNode) String added in v0.18.2

func (x *StrikethroughNode) String() string

type SystemInfo

type SystemInfo struct {
	Version              string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	Mode                 string `protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,omitempty"`
	AllowRegistration    bool   `protobuf:"varint,3,opt,name=allow_registration,json=allowRegistration,proto3" json:"allow_registration,omitempty"`
	DisablePasswordLogin bool   `protobuf:"varint,4,opt,name=disable_password_login,json=disablePasswordLogin,proto3" json:"disable_password_login,omitempty"`
	AdditionalScript     string `protobuf:"bytes,5,opt,name=additional_script,json=additionalScript,proto3" json:"additional_script,omitempty"`
	AdditionalStyle      string `protobuf:"bytes,6,opt,name=additional_style,json=additionalStyle,proto3" json:"additional_style,omitempty"`
	DbSize               int64  `protobuf:"varint,7,opt,name=db_size,json=dbSize,proto3" json:"db_size,omitempty"`
	// contains filtered or unexported fields
}

func (*SystemInfo) Descriptor deprecated

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

Deprecated: Use SystemInfo.ProtoReflect.Descriptor instead.

func (*SystemInfo) GetAdditionalScript

func (x *SystemInfo) GetAdditionalScript() string

func (*SystemInfo) GetAdditionalStyle

func (x *SystemInfo) GetAdditionalStyle() string

func (*SystemInfo) GetAllowRegistration

func (x *SystemInfo) GetAllowRegistration() bool

func (*SystemInfo) GetDbSize

func (x *SystemInfo) GetDbSize() int64

func (*SystemInfo) GetDisablePasswordLogin

func (x *SystemInfo) GetDisablePasswordLogin() bool

func (*SystemInfo) GetMode

func (x *SystemInfo) GetMode() string

func (*SystemInfo) GetVersion

func (x *SystemInfo) GetVersion() string

func (*SystemInfo) ProtoMessage

func (*SystemInfo) ProtoMessage()

func (*SystemInfo) ProtoReflect

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

func (*SystemInfo) Reset

func (x *SystemInfo) Reset()

func (*SystemInfo) String

func (x *SystemInfo) String() string

type SystemServiceClient

type SystemServiceClient interface {
	GetSystemInfo(ctx context.Context, in *GetSystemInfoRequest, opts ...grpc.CallOption) (*GetSystemInfoResponse, error)
	UpdateSystemInfo(ctx context.Context, in *UpdateSystemInfoRequest, opts ...grpc.CallOption) (*UpdateSystemInfoResponse, error)
}

SystemServiceClient is the client API for SystemService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type SystemServiceServer

type SystemServiceServer interface {
	GetSystemInfo(context.Context, *GetSystemInfoRequest) (*GetSystemInfoResponse, error)
	UpdateSystemInfo(context.Context, *UpdateSystemInfoRequest) (*UpdateSystemInfoResponse, error)
	// contains filtered or unexported methods
}

SystemServiceServer is the server API for SystemService service. All implementations must embed UnimplementedSystemServiceServer for forward compatibility

type TableNode added in v0.18.2

type TableNode struct {
	Header    []string         `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 added in v0.18.2

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

Deprecated: Use TableNode.ProtoReflect.Descriptor instead.

func (*TableNode) GetDelimiter added in v0.18.2

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

func (*TableNode) GetHeader added in v0.18.2

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

func (*TableNode) GetRows added in v0.18.2

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

func (*TableNode) ProtoMessage added in v0.18.2

func (*TableNode) ProtoMessage()

func (*TableNode) ProtoReflect added in v0.18.2

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

func (*TableNode) Reset added in v0.18.2

func (x *TableNode) Reset()

func (*TableNode) String added in v0.18.2

func (x *TableNode) String() string

type TableNode_Row added in v0.18.2

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

func (*TableNode_Row) Descriptor deprecated added in v0.18.2

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

Deprecated: Use TableNode_Row.ProtoReflect.Descriptor instead.

func (*TableNode_Row) GetCells added in v0.18.2

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

func (*TableNode_Row) ProtoMessage added in v0.18.2

func (*TableNode_Row) ProtoMessage()

func (*TableNode_Row) ProtoReflect added in v0.18.2

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

func (*TableNode_Row) Reset added in v0.18.2

func (x *TableNode_Row) Reset()

func (*TableNode_Row) String added in v0.18.2

func (x *TableNode_Row) String() string

type Tag

type Tag struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The creator of tags.
	// Format: users/{username}
	Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	// contains filtered or unexported fields
}

func (*Tag) Descriptor deprecated

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

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetCreator added in v0.17.1

func (x *Tag) GetCreator() string

func (*Tag) GetName

func (x *Tag) GetName() string

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect

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

func (*Tag) Reset

func (x *Tag) Reset()

func (*Tag) String

func (x *Tag) String() string

type TagNode added in v0.18.2

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

func (*TagNode) Descriptor deprecated added in v0.18.2

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

Deprecated: Use TagNode.ProtoReflect.Descriptor instead.

func (*TagNode) GetContent added in v0.18.2

func (x *TagNode) GetContent() string

func (*TagNode) ProtoMessage added in v0.18.2

func (*TagNode) ProtoMessage()

func (*TagNode) ProtoReflect added in v0.18.2

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

func (*TagNode) Reset added in v0.18.2

func (x *TagNode) Reset()

func (*TagNode) String added in v0.18.2

func (x *TagNode) String() string

type TagServiceClient

type TagServiceClient interface {
	UpsertTag(ctx context.Context, in *UpsertTagRequest, opts ...grpc.CallOption) (*UpsertTagResponse, error)
	ListTags(ctx context.Context, in *ListTagsRequest, opts ...grpc.CallOption) (*ListTagsResponse, error)
	DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*DeleteTagResponse, error)
	GetTagSuggestions(ctx context.Context, in *GetTagSuggestionsRequest, opts ...grpc.CallOption) (*GetTagSuggestionsResponse, error)
}

TagServiceClient is the client API for TagService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewTagServiceClient

func NewTagServiceClient(cc grpc.ClientConnInterface) TagServiceClient

type TagServiceServer

type TagServiceServer interface {
	UpsertTag(context.Context, *UpsertTagRequest) (*UpsertTagResponse, error)
	ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error)
	DeleteTag(context.Context, *DeleteTagRequest) (*DeleteTagResponse, error)
	GetTagSuggestions(context.Context, *GetTagSuggestionsRequest) (*GetTagSuggestionsResponse, error)
	// contains filtered or unexported methods
}

TagServiceServer is the server API for TagService service. All implementations must embed UnimplementedTagServiceServer for forward compatibility

type TaskListNode added in v0.18.2

type TaskListNode 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 (*TaskListNode) Descriptor deprecated added in v0.18.2

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

Deprecated: Use TaskListNode.ProtoReflect.Descriptor instead.

func (*TaskListNode) GetChildren added in v0.18.2

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

func (*TaskListNode) GetComplete added in v0.18.2

func (x *TaskListNode) GetComplete() bool

func (*TaskListNode) GetIndent added in v0.18.2

func (x *TaskListNode) GetIndent() int32

func (*TaskListNode) GetSymbol added in v0.18.2

func (x *TaskListNode) GetSymbol() string

func (*TaskListNode) ProtoMessage added in v0.18.2

func (*TaskListNode) ProtoMessage()

func (*TaskListNode) ProtoReflect added in v0.18.2

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

func (*TaskListNode) Reset added in v0.18.2

func (x *TaskListNode) Reset()

func (*TaskListNode) String added in v0.18.2

func (x *TaskListNode) String() string

type TextNode added in v0.18.2

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

func (*TextNode) Descriptor deprecated added in v0.18.2

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

Deprecated: Use TextNode.ProtoReflect.Descriptor instead.

func (*TextNode) GetContent added in v0.18.2

func (x *TextNode) GetContent() string

func (*TextNode) ProtoMessage added in v0.18.2

func (*TextNode) ProtoMessage()

func (*TextNode) ProtoReflect added in v0.18.2

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

func (*TextNode) Reset added in v0.18.2

func (x *TextNode) Reset()

func (*TextNode) String added in v0.18.2

func (x *TextNode) String() string

type UnimplementedActivityServiceServer added in v0.17.0

type UnimplementedActivityServiceServer struct {
}

UnimplementedActivityServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedActivityServiceServer) GetActivity added in v0.17.0

type UnimplementedAuthServiceServer added in v0.18.0

type UnimplementedAuthServiceServer struct {
}

UnimplementedAuthServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAuthServiceServer) GetAuthStatus added in v0.18.0

type UnimplementedInboxServiceServer added in v0.17.0

type UnimplementedInboxServiceServer struct {
}

UnimplementedInboxServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedInboxServiceServer) DeleteInbox added in v0.17.0

func (UnimplementedInboxServiceServer) ListInboxes added in v0.17.0

func (UnimplementedInboxServiceServer) UpdateInbox added in v0.17.0

type UnimplementedMarkdownServiceServer added in v0.18.2

type UnimplementedMarkdownServiceServer struct {
}

UnimplementedMarkdownServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedMarkdownServiceServer) ParseMarkdown added in v0.18.2

type UnimplementedMemoServiceServer

type UnimplementedMemoServiceServer struct {
}

UnimplementedMemoServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedMemoServiceServer) CreateMemo added in v0.16.0

func (UnimplementedMemoServiceServer) CreateMemoComment added in v0.16.0

func (UnimplementedMemoServiceServer) DeleteMemo added in v0.18.2

func (UnimplementedMemoServiceServer) GetMemo

func (UnimplementedMemoServiceServer) GetUserMemosStats added in v0.18.2

func (UnimplementedMemoServiceServer) ListMemoComments added in v0.16.0

func (UnimplementedMemoServiceServer) ListMemoRelations added in v0.18.2

func (UnimplementedMemoServiceServer) ListMemoResources added in v0.18.2

func (UnimplementedMemoServiceServer) ListMemos

func (UnimplementedMemoServiceServer) SetMemoRelations added in v0.18.2

func (UnimplementedMemoServiceServer) SetMemoResources added in v0.18.2

func (UnimplementedMemoServiceServer) UpdateMemo added in v0.18.2

type UnimplementedResourceServiceServer added in v0.15.0

type UnimplementedResourceServiceServer struct {
}

UnimplementedResourceServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedResourceServiceServer) CreateResource added in v0.16.0

func (UnimplementedResourceServiceServer) DeleteResource added in v0.16.0

func (UnimplementedResourceServiceServer) ListResources added in v0.15.0

func (UnimplementedResourceServiceServer) UpdateResource added in v0.16.0

type UnimplementedSystemServiceServer

type UnimplementedSystemServiceServer struct {
}

UnimplementedSystemServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedSystemServiceServer) GetSystemInfo

func (UnimplementedSystemServiceServer) UpdateSystemInfo added in v0.15.0

type UnimplementedTagServiceServer

type UnimplementedTagServiceServer struct {
}

UnimplementedTagServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedTagServiceServer) DeleteTag added in v0.16.0

func (UnimplementedTagServiceServer) GetTagSuggestions added in v0.18.0

func (UnimplementedTagServiceServer) ListTags

func (UnimplementedTagServiceServer) UpsertTag added in v0.16.0

type UnimplementedUserServiceServer

type UnimplementedUserServiceServer struct {
}

UnimplementedUserServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedUserServiceServer) CreateUser added in v0.17.0

func (UnimplementedUserServiceServer) CreateUserAccessToken added in v0.15.0

func (UnimplementedUserServiceServer) DeleteUser added in v0.18.0

func (UnimplementedUserServiceServer) DeleteUserAccessToken added in v0.15.0

func (UnimplementedUserServiceServer) GetUser

func (UnimplementedUserServiceServer) GetUserSetting added in v0.18.0

func (UnimplementedUserServiceServer) ListUserAccessTokens added in v0.15.0

func (UnimplementedUserServiceServer) ListUsers added in v0.18.2

func (UnimplementedUserServiceServer) UpdateUser added in v0.15.0

func (UnimplementedUserServiceServer) UpdateUserSetting added in v0.18.0

type UnimplementedWebhookServiceServer added in v0.18.0

type UnimplementedWebhookServiceServer struct {
}

UnimplementedWebhookServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedWebhookServiceServer) CreateWebhook added in v0.18.0

func (UnimplementedWebhookServiceServer) DeleteWebhook added in v0.18.0

func (UnimplementedWebhookServiceServer) GetWebhook added in v0.18.0

func (UnimplementedWebhookServiceServer) ListWebhooks added in v0.18.0

func (UnimplementedWebhookServiceServer) UpdateWebhook added in v0.18.0

type UnorderedListNode added in v0.18.2

type UnorderedListNode 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 (*UnorderedListNode) Descriptor deprecated added in v0.18.2

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

Deprecated: Use UnorderedListNode.ProtoReflect.Descriptor instead.

func (*UnorderedListNode) GetChildren added in v0.18.2

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

func (*UnorderedListNode) GetIndent added in v0.18.2

func (x *UnorderedListNode) GetIndent() int32

func (*UnorderedListNode) GetSymbol added in v0.18.2

func (x *UnorderedListNode) GetSymbol() string

func (*UnorderedListNode) ProtoMessage added in v0.18.2

func (*UnorderedListNode) ProtoMessage()

func (*UnorderedListNode) ProtoReflect added in v0.18.2

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

func (*UnorderedListNode) Reset added in v0.18.2

func (x *UnorderedListNode) Reset()

func (*UnorderedListNode) String added in v0.18.2

func (x *UnorderedListNode) String() string

type UnsafeActivityServiceServer added in v0.17.0

type UnsafeActivityServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeActivityServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ActivityServiceServer will result in compilation errors.

type UnsafeAuthServiceServer added in v0.18.0

type UnsafeAuthServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAuthServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthServiceServer will result in compilation errors.

type UnsafeInboxServiceServer added in v0.17.0

type UnsafeInboxServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeInboxServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InboxServiceServer will result in compilation errors.

type UnsafeMarkdownServiceServer added in v0.18.2

type UnsafeMarkdownServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeMarkdownServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MarkdownServiceServer will result in compilation errors.

type UnsafeMemoServiceServer

type UnsafeMemoServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeMemoServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MemoServiceServer will result in compilation errors.

type UnsafeResourceServiceServer added in v0.15.0

type UnsafeResourceServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeResourceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResourceServiceServer will result in compilation errors.

type UnsafeSystemServiceServer

type UnsafeSystemServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSystemServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SystemServiceServer will result in compilation errors.

type UnsafeTagServiceServer

type UnsafeTagServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeTagServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TagServiceServer will result in compilation errors.

type UnsafeUserServiceServer

type UnsafeUserServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.

type UnsafeWebhookServiceServer added in v0.18.0

type UnsafeWebhookServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeWebhookServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WebhookServiceServer will result in compilation errors.

type UpdateInboxRequest added in v0.17.0

type UpdateInboxRequest struct {
	Inbox      *Inbox                 `protobuf:"bytes,1,opt,name=inbox,proto3" json:"inbox,omitempty"`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateInboxRequest) Descriptor deprecated added in v0.17.0

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

Deprecated: Use UpdateInboxRequest.ProtoReflect.Descriptor instead.

func (*UpdateInboxRequest) GetInbox added in v0.17.0

func (x *UpdateInboxRequest) GetInbox() *Inbox

func (*UpdateInboxRequest) GetUpdateMask added in v0.17.0

func (x *UpdateInboxRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateInboxRequest) ProtoMessage added in v0.17.0

func (*UpdateInboxRequest) ProtoMessage()

func (*UpdateInboxRequest) ProtoReflect added in v0.17.0

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

func (*UpdateInboxRequest) Reset added in v0.17.0

func (x *UpdateInboxRequest) Reset()

func (*UpdateInboxRequest) String added in v0.17.0

func (x *UpdateInboxRequest) String() string

type UpdateInboxResponse added in v0.17.0

type UpdateInboxResponse struct {
	Inbox *Inbox `protobuf:"bytes,1,opt,name=inbox,proto3" json:"inbox,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateInboxResponse) Descriptor deprecated added in v0.17.0

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

Deprecated: Use UpdateInboxResponse.ProtoReflect.Descriptor instead.

func (*UpdateInboxResponse) GetInbox added in v0.17.0

func (x *UpdateInboxResponse) GetInbox() *Inbox

func (*UpdateInboxResponse) ProtoMessage added in v0.17.0

func (*UpdateInboxResponse) ProtoMessage()

func (*UpdateInboxResponse) ProtoReflect added in v0.17.0

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

func (*UpdateInboxResponse) Reset added in v0.17.0

func (x *UpdateInboxResponse) Reset()

func (*UpdateInboxResponse) String added in v0.17.0

func (x *UpdateInboxResponse) String() string

type UpdateMemoRequest added in v0.18.2

type UpdateMemoRequest struct {
	Id         int32                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Memo       *Memo                  `protobuf:"bytes,2,opt,name=memo,proto3" json:"memo,omitempty"`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateMemoRequest) Descriptor deprecated added in v0.18.2

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

Deprecated: Use UpdateMemoRequest.ProtoReflect.Descriptor instead.

func (*UpdateMemoRequest) GetId added in v0.18.2

func (x *UpdateMemoRequest) GetId() int32

func (*UpdateMemoRequest) GetMemo added in v0.18.2

func (x *UpdateMemoRequest) GetMemo() *Memo

func (*UpdateMemoRequest) GetUpdateMask added in v0.18.2

func (x *UpdateMemoRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateMemoRequest) ProtoMessage added in v0.18.2

func (*UpdateMemoRequest) ProtoMessage()

func (*UpdateMemoRequest) ProtoReflect added in v0.18.2

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

func (*UpdateMemoRequest) Reset added in v0.18.2

func (x *UpdateMemoRequest) Reset()

func (*UpdateMemoRequest) String added in v0.18.2

func (x *UpdateMemoRequest) String() string

type UpdateMemoResponse added in v0.18.2

type UpdateMemoResponse struct {
	Memo *Memo `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateMemoResponse) Descriptor deprecated added in v0.18.2

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

Deprecated: Use UpdateMemoResponse.ProtoReflect.Descriptor instead.

func (*UpdateMemoResponse) GetMemo added in v0.18.2

func (x *UpdateMemoResponse) GetMemo() *Memo

func (*UpdateMemoResponse) ProtoMessage added in v0.18.2

func (*UpdateMemoResponse) ProtoMessage()

func (*UpdateMemoResponse) ProtoReflect added in v0.18.2

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

func (*UpdateMemoResponse) Reset added in v0.18.2

func (x *UpdateMemoResponse) Reset()

func (*UpdateMemoResponse) String added in v0.18.2

func (x *UpdateMemoResponse) String() string

type UpdateResourceRequest added in v0.16.0

type UpdateResourceRequest struct {
	Resource   *Resource              `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateResourceRequest) Descriptor deprecated added in v0.16.0

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

Deprecated: Use UpdateResourceRequest.ProtoReflect.Descriptor instead.

func (*UpdateResourceRequest) GetResource added in v0.16.0

func (x *UpdateResourceRequest) GetResource() *Resource

func (*UpdateResourceRequest) GetUpdateMask added in v0.16.0

func (x *UpdateResourceRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateResourceRequest) ProtoMessage added in v0.16.0

func (*UpdateResourceRequest) ProtoMessage()

func (*UpdateResourceRequest) ProtoReflect added in v0.16.0

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

func (*UpdateResourceRequest) Reset added in v0.16.0

func (x *UpdateResourceRequest) Reset()

func (*UpdateResourceRequest) String added in v0.16.0

func (x *UpdateResourceRequest) String() string

type UpdateResourceResponse added in v0.16.0

type UpdateResourceResponse struct {
	Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateResourceResponse) Descriptor deprecated added in v0.16.0

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

Deprecated: Use UpdateResourceResponse.ProtoReflect.Descriptor instead.

func (*UpdateResourceResponse) GetResource added in v0.16.0

func (x *UpdateResourceResponse) GetResource() *Resource

func (*UpdateResourceResponse) ProtoMessage added in v0.16.0

func (*UpdateResourceResponse) ProtoMessage()

func (*UpdateResourceResponse) ProtoReflect added in v0.16.0

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

func (*UpdateResourceResponse) Reset added in v0.16.0

func (x *UpdateResourceResponse) Reset()

func (*UpdateResourceResponse) String added in v0.16.0

func (x *UpdateResourceResponse) String() string

type UpdateSystemInfoRequest added in v0.15.0

type UpdateSystemInfoRequest struct {

	// System info is the updated data.
	SystemInfo *SystemInfo            `protobuf:"bytes,1,opt,name=system_info,json=systemInfo,proto3" json:"system_info,omitempty"`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSystemInfoRequest) Descriptor deprecated added in v0.15.0

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

Deprecated: Use UpdateSystemInfoRequest.ProtoReflect.Descriptor instead.

func (*UpdateSystemInfoRequest) GetSystemInfo added in v0.15.0

func (x *UpdateSystemInfoRequest) GetSystemInfo() *SystemInfo

func (*UpdateSystemInfoRequest) GetUpdateMask added in v0.15.0

func (x *UpdateSystemInfoRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateSystemInfoRequest) ProtoMessage added in v0.15.0

func (*UpdateSystemInfoRequest) ProtoMessage()

func (*UpdateSystemInfoRequest) ProtoReflect added in v0.15.0

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

func (*UpdateSystemInfoRequest) Reset added in v0.15.0

func (x *UpdateSystemInfoRequest) Reset()

func (*UpdateSystemInfoRequest) String added in v0.15.0

func (x *UpdateSystemInfoRequest) String() string

type UpdateSystemInfoResponse added in v0.15.0

type UpdateSystemInfoResponse struct {
	SystemInfo *SystemInfo `protobuf:"bytes,1,opt,name=system_info,json=systemInfo,proto3" json:"system_info,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSystemInfoResponse) Descriptor deprecated added in v0.15.0

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

Deprecated: Use UpdateSystemInfoResponse.ProtoReflect.Descriptor instead.

func (*UpdateSystemInfoResponse) GetSystemInfo added in v0.15.0

func (x *UpdateSystemInfoResponse) GetSystemInfo() *SystemInfo

func (*UpdateSystemInfoResponse) ProtoMessage added in v0.15.0

func (*UpdateSystemInfoResponse) ProtoMessage()

func (*UpdateSystemInfoResponse) ProtoReflect added in v0.15.0

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

func (*UpdateSystemInfoResponse) Reset added in v0.15.0

func (x *UpdateSystemInfoResponse) Reset()

func (*UpdateSystemInfoResponse) String added in v0.15.0

func (x *UpdateSystemInfoResponse) String() string

type UpdateUserRequest added in v0.15.0

type UpdateUserRequest struct {
	User       *User                  `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserRequest) Descriptor deprecated added in v0.15.0

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

Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserRequest) GetUpdateMask added in v0.15.0

func (x *UpdateUserRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateUserRequest) GetUser added in v0.15.0

func (x *UpdateUserRequest) GetUser() *User

func (*UpdateUserRequest) ProtoMessage added in v0.15.0

func (*UpdateUserRequest) ProtoMessage()

func (*UpdateUserRequest) ProtoReflect added in v0.15.0

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

func (*UpdateUserRequest) Reset added in v0.15.0

func (x *UpdateUserRequest) Reset()

func (*UpdateUserRequest) String added in v0.15.0

func (x *UpdateUserRequest) String() string

type UpdateUserResponse added in v0.15.0

type UpdateUserResponse struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserResponse) Descriptor deprecated added in v0.15.0

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

Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead.

func (*UpdateUserResponse) GetUser added in v0.15.0

func (x *UpdateUserResponse) GetUser() *User

func (*UpdateUserResponse) ProtoMessage added in v0.15.0

func (*UpdateUserResponse) ProtoMessage()

func (*UpdateUserResponse) ProtoReflect added in v0.15.0

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

func (*UpdateUserResponse) Reset added in v0.15.0

func (x *UpdateUserResponse) Reset()

func (*UpdateUserResponse) String added in v0.15.0

func (x *UpdateUserResponse) String() string

type UpdateUserSettingRequest added in v0.18.0

type UpdateUserSettingRequest struct {
	Setting    *UserSetting           `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,omitempty"`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserSettingRequest) Descriptor deprecated added in v0.18.0

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

Deprecated: Use UpdateUserSettingRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserSettingRequest) GetSetting added in v0.18.0

func (x *UpdateUserSettingRequest) GetSetting() *UserSetting

func (*UpdateUserSettingRequest) GetUpdateMask added in v0.18.0

func (x *UpdateUserSettingRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateUserSettingRequest) ProtoMessage added in v0.18.0

func (*UpdateUserSettingRequest) ProtoMessage()

func (*UpdateUserSettingRequest) ProtoReflect added in v0.18.0

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

func (*UpdateUserSettingRequest) Reset added in v0.18.0

func (x *UpdateUserSettingRequest) Reset()

func (*UpdateUserSettingRequest) String added in v0.18.0

func (x *UpdateUserSettingRequest) String() string

type UpdateUserSettingResponse added in v0.18.0

type UpdateUserSettingResponse struct {
	Setting *UserSetting `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserSettingResponse) Descriptor deprecated added in v0.18.0

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

Deprecated: Use UpdateUserSettingResponse.ProtoReflect.Descriptor instead.

func (*UpdateUserSettingResponse) GetSetting added in v0.18.0

func (x *UpdateUserSettingResponse) GetSetting() *UserSetting

func (*UpdateUserSettingResponse) ProtoMessage added in v0.18.0

func (*UpdateUserSettingResponse) ProtoMessage()

func (*UpdateUserSettingResponse) ProtoReflect added in v0.18.0

func (*UpdateUserSettingResponse) Reset added in v0.18.0

func (x *UpdateUserSettingResponse) Reset()

func (*UpdateUserSettingResponse) String added in v0.18.0

func (x *UpdateUserSettingResponse) String() string

type UpdateWebhookRequest added in v0.18.0

type UpdateWebhookRequest struct {
	Webhook    *Webhook               `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,omitempty"`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateWebhookRequest) Descriptor deprecated added in v0.18.0

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

Deprecated: Use UpdateWebhookRequest.ProtoReflect.Descriptor instead.

func (*UpdateWebhookRequest) GetUpdateMask added in v0.18.0

func (x *UpdateWebhookRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateWebhookRequest) GetWebhook added in v0.18.0

func (x *UpdateWebhookRequest) GetWebhook() *Webhook

func (*UpdateWebhookRequest) ProtoMessage added in v0.18.0

func (*UpdateWebhookRequest) ProtoMessage()

func (*UpdateWebhookRequest) ProtoReflect added in v0.18.0

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

func (*UpdateWebhookRequest) Reset added in v0.18.0

func (x *UpdateWebhookRequest) Reset()

func (*UpdateWebhookRequest) String added in v0.18.0

func (x *UpdateWebhookRequest) String() string

type UpdateWebhookResponse added in v0.18.0

type UpdateWebhookResponse struct {
	Webhook *Webhook `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateWebhookResponse) Descriptor deprecated added in v0.18.0

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

Deprecated: Use UpdateWebhookResponse.ProtoReflect.Descriptor instead.

func (*UpdateWebhookResponse) GetWebhook added in v0.18.0

func (x *UpdateWebhookResponse) GetWebhook() *Webhook

func (*UpdateWebhookResponse) ProtoMessage added in v0.18.0

func (*UpdateWebhookResponse) ProtoMessage()

func (*UpdateWebhookResponse) ProtoReflect added in v0.18.0

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

func (*UpdateWebhookResponse) Reset added in v0.18.0

func (x *UpdateWebhookResponse) Reset()

func (*UpdateWebhookResponse) String added in v0.18.0

func (x *UpdateWebhookResponse) String() string

type UpsertTagRequest added in v0.16.0

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

func (*UpsertTagRequest) Descriptor deprecated added in v0.16.0

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

Deprecated: Use UpsertTagRequest.ProtoReflect.Descriptor instead.

func (*UpsertTagRequest) GetName added in v0.16.0

func (x *UpsertTagRequest) GetName() string

func (*UpsertTagRequest) ProtoMessage added in v0.16.0

func (*UpsertTagRequest) ProtoMessage()

func (*UpsertTagRequest) ProtoReflect added in v0.16.0

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

func (*UpsertTagRequest) Reset added in v0.16.0

func (x *UpsertTagRequest) Reset()

func (*UpsertTagRequest) String added in v0.16.0

func (x *UpsertTagRequest) String() string

type UpsertTagResponse added in v0.16.0

type UpsertTagResponse struct {
	Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

func (*UpsertTagResponse) Descriptor deprecated added in v0.16.0

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

Deprecated: Use UpsertTagResponse.ProtoReflect.Descriptor instead.

func (*UpsertTagResponse) GetTag added in v0.16.0

func (x *UpsertTagResponse) GetTag() *Tag

func (*UpsertTagResponse) ProtoMessage added in v0.16.0

func (*UpsertTagResponse) ProtoMessage()

func (*UpsertTagResponse) ProtoReflect added in v0.16.0

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

func (*UpsertTagResponse) Reset added in v0.16.0

func (x *UpsertTagResponse) Reset()

func (*UpsertTagResponse) String added in v0.16.0

func (x *UpsertTagResponse) String() string

type User

type User struct {

	// The name of the user.
	// Format: users/{username}
	Name       string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Id         int32                  `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	Role       User_Role              `protobuf:"varint,3,opt,name=role,proto3,enum=memos.api.v2.User_Role" json:"role,omitempty"`
	Username   string                 `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
	Email      string                 `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	Nickname   string                 `protobuf:"bytes,6,opt,name=nickname,proto3" json:"nickname,omitempty"`
	AvatarUrl  string                 `protobuf:"bytes,7,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	Password   string                 `protobuf:"bytes,8,opt,name=password,proto3" json:"password,omitempty"`
	RowStatus  RowStatus              `protobuf:"varint,9,opt,name=row_status,json=rowStatus,proto3,enum=memos.api.v2.RowStatus" json:"row_status,omitempty"`
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,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) GetCreateTime added in v0.15.0

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

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetId

func (x *User) GetId() int32

func (*User) GetName added in v0.17.1

func (x *User) GetName() string

func (*User) GetNickname

func (x *User) GetNickname() string

func (*User) GetPassword added in v0.15.0

func (x *User) GetPassword() string

func (*User) GetRole

func (x *User) GetRole() User_Role

func (*User) GetRowStatus

func (x *User) GetRowStatus() RowStatus

func (*User) GetUpdateTime added in v0.15.0

func (x *User) GetUpdateTime() *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.15.0

type UserAccessToken struct {
	AccessToken string                 `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	Description string                 `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	IssuedAt    *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`
	ExpiresAt   *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	// contains filtered or unexported fields
}

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

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

Deprecated: Use UserAccessToken.ProtoReflect.Descriptor instead.

func (*UserAccessToken) GetAccessToken added in v0.15.0

func (x *UserAccessToken) GetAccessToken() string

func (*UserAccessToken) GetDescription added in v0.15.0

func (x *UserAccessToken) GetDescription() string

func (*UserAccessToken) GetExpiresAt added in v0.15.0

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

func (*UserAccessToken) GetIssuedAt added in v0.15.0

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

func (*UserAccessToken) ProtoMessage added in v0.15.0

func (*UserAccessToken) ProtoMessage()

func (*UserAccessToken) ProtoReflect added in v0.15.0

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

func (*UserAccessToken) Reset added in v0.15.0

func (x *UserAccessToken) Reset()

func (*UserAccessToken) String added in v0.15.0

func (x *UserAccessToken) String() string

type UserServiceClient

type UserServiceClient interface {
	// ListUsers returns a list of users.
	ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error)
	// GetUser gets a user by name.
	GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error)
	// CreateUser creates a new user.
	CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error)
	// UpdateUser updates a user.
	UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error)
	// DeleteUser deletes a user.
	DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error)
	GetUserSetting(ctx context.Context, in *GetUserSettingRequest, opts ...grpc.CallOption) (*GetUserSettingResponse, error)
	UpdateUserSetting(ctx context.Context, in *UpdateUserSettingRequest, opts ...grpc.CallOption) (*UpdateUserSettingResponse, error)
	// ListUserAccessTokens returns a list of access tokens for a user.
	ListUserAccessTokens(ctx context.Context, in *ListUserAccessTokensRequest, opts ...grpc.CallOption) (*ListUserAccessTokensResponse, error)
	// CreateUserAccessToken creates a new access token for a user.
	CreateUserAccessToken(ctx context.Context, in *CreateUserAccessTokenRequest, opts ...grpc.CallOption) (*CreateUserAccessTokenResponse, error)
	// DeleteUserAccessToken deletes an access token for a user.
	DeleteUserAccessToken(ctx context.Context, in *DeleteUserAccessTokenRequest, opts ...grpc.CallOption) (*DeleteUserAccessTokenResponse, error)
}

UserServiceClient is the client API for UserService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type UserServiceServer

type UserServiceServer interface {
	// ListUsers returns a list of users.
	ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
	// GetUser gets a user by name.
	GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
	// CreateUser creates a new user.
	CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
	// UpdateUser updates a user.
	UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
	// DeleteUser deletes a user.
	DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
	GetUserSetting(context.Context, *GetUserSettingRequest) (*GetUserSettingResponse, error)
	UpdateUserSetting(context.Context, *UpdateUserSettingRequest) (*UpdateUserSettingResponse, error)
	// ListUserAccessTokens returns a list of access tokens for a user.
	ListUserAccessTokens(context.Context, *ListUserAccessTokensRequest) (*ListUserAccessTokensResponse, error)
	// CreateUserAccessToken creates a new access token for a user.
	CreateUserAccessToken(context.Context, *CreateUserAccessTokenRequest) (*CreateUserAccessTokenResponse, error)
	// DeleteUserAccessToken deletes an access token for a user.
	DeleteUserAccessToken(context.Context, *DeleteUserAccessTokenRequest) (*DeleteUserAccessTokenResponse, error)
	// contains filtered or unexported methods
}

UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility

type UserSetting

type UserSetting struct {

	// The name of the user.
	// Format: users/{username}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The preferred locale of the user.
	Locale string `protobuf:"bytes,2,opt,name=locale,proto3" json:"locale,omitempty"`
	// The preferred appearance of the user.
	Appearance string `protobuf:"bytes,3,opt,name=appearance,proto3" json:"appearance,omitempty"`
	// The default visibility of the memo.
	MemoVisibility string `protobuf:"bytes,4,opt,name=memo_visibility,json=memoVisibility,proto3" json:"memo_visibility,omitempty"`
	// The telegram user id of the user.
	TelegramUserId string `protobuf:"bytes,5,opt,name=telegram_user_id,json=telegramUserId,proto3" json:"telegram_user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UserSetting) Descriptor deprecated

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

Deprecated: Use UserSetting.ProtoReflect.Descriptor instead.

func (*UserSetting) GetAppearance added in v0.18.0

func (x *UserSetting) GetAppearance() string

func (*UserSetting) GetLocale added in v0.18.0

func (x *UserSetting) GetLocale() string

func (*UserSetting) GetMemoVisibility added in v0.18.0

func (x *UserSetting) GetMemoVisibility() string

func (*UserSetting) GetName added in v0.18.0

func (x *UserSetting) GetName() string

func (*UserSetting) GetTelegramUserId added in v0.18.0

func (x *UserSetting) GetTelegramUserId() string

func (*UserSetting) ProtoMessage

func (*UserSetting) ProtoMessage()

func (*UserSetting) ProtoReflect

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

func (*UserSetting) Reset

func (x *UserSetting) Reset()

func (*UserSetting) String

func (x *UserSetting) String() string

type User_Role added in v0.15.0

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 added in v0.15.0

func (User_Role) Descriptor() protoreflect.EnumDescriptor

func (User_Role) Enum added in v0.15.0

func (x User_Role) Enum() *User_Role

func (User_Role) EnumDescriptor deprecated added in v0.15.0

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

Deprecated: Use User_Role.Descriptor instead.

func (User_Role) Number added in v0.15.0

func (x User_Role) Number() protoreflect.EnumNumber

func (User_Role) String added in v0.15.0

func (x User_Role) String() string

func (User_Role) Type added in v0.15.0

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 Webhook added in v0.18.0

type Webhook struct {
	Id          int32                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatorId   int32                  `protobuf:"varint,2,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"`
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_time,json=updatedTime,proto3" json:"updated_time,omitempty"`
	RowStatus   RowStatus              `protobuf:"varint,5,opt,name=row_status,json=rowStatus,proto3,enum=memos.api.v2.RowStatus" json:"row_status,omitempty"`
	Name        string                 `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	Url         string                 `protobuf:"bytes,7,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*Webhook) Descriptor deprecated added in v0.18.0

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

Deprecated: Use Webhook.ProtoReflect.Descriptor instead.

func (*Webhook) GetCreatedTime added in v0.18.0

func (x *Webhook) GetCreatedTime() *timestamppb.Timestamp

func (*Webhook) GetCreatorId added in v0.18.0

func (x *Webhook) GetCreatorId() int32

func (*Webhook) GetId added in v0.18.0

func (x *Webhook) GetId() int32

func (*Webhook) GetName added in v0.18.0

func (x *Webhook) GetName() string

func (*Webhook) GetRowStatus added in v0.18.0

func (x *Webhook) GetRowStatus() RowStatus

func (*Webhook) GetUpdatedTime added in v0.18.0

func (x *Webhook) GetUpdatedTime() *timestamppb.Timestamp

func (*Webhook) GetUrl added in v0.18.0

func (x *Webhook) GetUrl() string

func (*Webhook) ProtoMessage added in v0.18.0

func (*Webhook) ProtoMessage()

func (*Webhook) ProtoReflect added in v0.18.0

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

func (*Webhook) Reset added in v0.18.0

func (x *Webhook) Reset()

func (*Webhook) String added in v0.18.0

func (x *Webhook) String() string

type WebhookServiceClient added in v0.18.0

type WebhookServiceClient interface {
	CreateWebhook(ctx context.Context, in *CreateWebhookRequest, opts ...grpc.CallOption) (*CreateWebhookResponse, error)
	GetWebhook(ctx context.Context, in *GetWebhookRequest, opts ...grpc.CallOption) (*GetWebhookResponse, error)
	ListWebhooks(ctx context.Context, in *ListWebhooksRequest, opts ...grpc.CallOption) (*ListWebhooksResponse, error)
	UpdateWebhook(ctx context.Context, in *UpdateWebhookRequest, opts ...grpc.CallOption) (*UpdateWebhookResponse, error)
	DeleteWebhook(ctx context.Context, in *DeleteWebhookRequest, opts ...grpc.CallOption) (*DeleteWebhookResponse, error)
}

WebhookServiceClient is the client API for WebhookService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewWebhookServiceClient added in v0.18.0

func NewWebhookServiceClient(cc grpc.ClientConnInterface) WebhookServiceClient

type WebhookServiceServer added in v0.18.0

type WebhookServiceServer interface {
	CreateWebhook(context.Context, *CreateWebhookRequest) (*CreateWebhookResponse, error)
	GetWebhook(context.Context, *GetWebhookRequest) (*GetWebhookResponse, error)
	ListWebhooks(context.Context, *ListWebhooksRequest) (*ListWebhooksResponse, error)
	UpdateWebhook(context.Context, *UpdateWebhookRequest) (*UpdateWebhookResponse, error)
	DeleteWebhook(context.Context, *DeleteWebhookRequest) (*DeleteWebhookResponse, error)
	// contains filtered or unexported methods
}

WebhookServiceServer is the server API for WebhookService service. All implementations must embed UnimplementedWebhookServiceServer for forward compatibility

Jump to

Keyboard shortcuts

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