apiv2

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 18 Imported by: 1

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.

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 (
	AuthService_GetAuthStatus_FullMethodName = "/memos.api.v2.AuthService/GetAuthStatus"
	AuthService_SignIn_FullMethodName        = "/memos.api.v2.AuthService/SignIn"
	AuthService_SignInWithSSO_FullMethodName = "/memos.api.v2.AuthService/SignInWithSSO"
	AuthService_SignUp_FullMethodName        = "/memos.api.v2.AuthService/SignUp"
	AuthService_SignOut_FullMethodName       = "/memos.api.v2.AuthService/SignOut"
)
View Source
const (
	IdentityProviderService_ListIdentityProviders_FullMethodName  = "/memos.api.v2.IdentityProviderService/ListIdentityProviders"
	IdentityProviderService_GetIdentityProvider_FullMethodName    = "/memos.api.v2.IdentityProviderService/GetIdentityProvider"
	IdentityProviderService_CreateIdentityProvider_FullMethodName = "/memos.api.v2.IdentityProviderService/CreateIdentityProvider"
	IdentityProviderService_UpdateIdentityProvider_FullMethodName = "/memos.api.v2.IdentityProviderService/UpdateIdentityProvider"
	IdentityProviderService_DeleteIdentityProvider_FullMethodName = "/memos.api.v2.IdentityProviderService/DeleteIdentityProvider"
)
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_SearchMemos_FullMethodName        = "/memos.api.v2.MemoService/SearchMemos"
	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_ExportMemos_FullMethodName        = "/memos.api.v2.MemoService/ExportMemos"
	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"
	MemoService_ListMemoReactions_FullMethodName  = "/memos.api.v2.MemoService/ListMemoReactions"
	MemoService_UpsertMemoReaction_FullMethodName = "/memos.api.v2.MemoService/UpsertMemoReaction"
	MemoService_DeleteMemoReaction_FullMethodName = "/memos.api.v2.MemoService/DeleteMemoReaction"
)
View Source
const (
	ResourceService_CreateResource_FullMethodName  = "/memos.api.v2.ResourceService/CreateResource"
	ResourceService_ListResources_FullMethodName   = "/memos.api.v2.ResourceService/ListResources"
	ResourceService_SearchResources_FullMethodName = "/memos.api.v2.ResourceService/SearchResources"
	ResourceService_GetResource_FullMethodName     = "/memos.api.v2.ResourceService/GetResource"
	ResourceService_UpdateResource_FullMethodName  = "/memos.api.v2.ResourceService/UpdateResource"
	ResourceService_DeleteResource_FullMethodName  = "/memos.api.v2.ResourceService/DeleteResource"
)
View Source
const (
	StorageService_CreateStorage_FullMethodName = "/memos.api.v2.StorageService/CreateStorage"
	StorageService_GetStorage_FullMethodName    = "/memos.api.v2.StorageService/GetStorage"
	StorageService_ListStorages_FullMethodName  = "/memos.api.v2.StorageService/ListStorages"
	StorageService_UpdateStorage_FullMethodName = "/memos.api.v2.StorageService/UpdateStorage"
	StorageService_DeleteStorage_FullMethodName = "/memos.api.v2.StorageService/DeleteStorage"
)
View Source
const (
	TagService_UpsertTag_FullMethodName         = "/memos.api.v2.TagService/UpsertTag"
	TagService_BatchUpsertTag_FullMethodName    = "/memos.api.v2.TagService/BatchUpsertTag"
	TagService_ListTags_FullMethodName          = "/memos.api.v2.TagService/ListTags"
	TagService_RenameTag_FullMethodName         = "/memos.api.v2.TagService/RenameTag"
	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_SearchUsers_FullMethodName           = "/memos.api.v2.UserService/SearchUsers"
	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 (
	WorkspaceSettingService_ListWorkspaceSettings_FullMethodName = "/memos.api.v2.WorkspaceSettingService/ListWorkspaceSettings"
	WorkspaceSettingService_GetWorkspaceSetting_FullMethodName   = "/memos.api.v2.WorkspaceSettingService/GetWorkspaceSetting"
	WorkspaceSettingService_SetWorkspaceSetting_FullMethodName   = "/memos.api.v2.WorkspaceSettingService/SetWorkspaceSetting"
)
View Source
const (
	ActivityService_GetActivity_FullMethodName = "/memos.api.v2.ActivityService/GetActivity"
)
View Source
const (
	LinkService_GetLinkMetadata_FullMethodName = "/memos.api.v2.LinkService/GetLinkMetadata"
)
View Source
const (
	WorkspaceService_GetWorkspaceProfile_FullMethodName = "/memos.api.v2.WorkspaceService/GetWorkspaceProfile"
)

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 (
	IdentityProvider_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "OAUTH2",
	}
	IdentityProvider_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"OAUTH2":           1,
	}
)

Enum value maps for IdentityProvider_Type.

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 (
	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 (
	Reaction_Type_name = map[int32]string{
		0:  "TYPE_UNSPECIFIED",
		1:  "THUMBS_UP",
		2:  "THUMBS_DOWN",
		3:  "HEART",
		4:  "FIRE",
		5:  "CLAPPING_HANDS",
		6:  "LAUGH",
		7:  "OK_HAND",
		8:  "ROCKET",
		9:  "EYES",
		10: "THINKING_FACE",
		11: "CLOWN_FACE",
		12: "QUESTION_MARK",
	}
	Reaction_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"THUMBS_UP":        1,
		"THUMBS_DOWN":      2,
		"HEART":            3,
		"FIRE":             4,
		"CLAPPING_HANDS":   5,
		"LAUGH":            6,
		"OK_HAND":          7,
		"ROCKET":           8,
		"EYES":             9,
		"THINKING_FACE":    10,
		"CLOWN_FACE":       11,
		"QUESTION_MARK":    12,
	}
)

Enum value maps for Reaction_Type.

View Source
var (
	Storage_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "S3",
	}
	Storage_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"S3":               1,
	}
)

Enum value maps for Storage_Type.

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

Enum value maps for User_Role.

View Source
var (
	WorkspaceStorageSetting_StorageType_name = map[int32]string{
		0: "STORAGE_TYPE_UNSPECIFIED",
		1: "STORAGE_TYPE_DATABASE",
		2: "STORAGE_TYPE_LOCAL",
		3: "STORAGE_TYPE_EXTERNAL",
	}
	WorkspaceStorageSetting_StorageType_value = map[string]int32{
		"STORAGE_TYPE_UNSPECIFIED": 0,
		"STORAGE_TYPE_DATABASE":    1,
		"STORAGE_TYPE_LOCAL":       2,
		"STORAGE_TYPE_EXTERNAL":    3,
	}
)

Enum value maps for WorkspaceStorageSetting_StorageType.

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,
		},
		{
			MethodName: "SignIn",
			Handler:    _AuthService_SignIn_Handler,
		},
		{
			MethodName: "SignInWithSSO",
			Handler:    _AuthService_SignInWithSSO_Handler,
		},
		{
			MethodName: "SignUp",
			Handler:    _AuthService_SignUp_Handler,
		},
		{
			MethodName: "SignOut",
			Handler:    _AuthService_SignOut_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_idp_service_proto protoreflect.FileDescriptor
View Source
var File_api_v2_inbox_service_proto protoreflect.FileDescriptor
View Source
var File_api_v2_link_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_reaction_service_proto protoreflect.FileDescriptor
View Source
var File_api_v2_resource_service_proto protoreflect.FileDescriptor
View Source
var File_api_v2_storage_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 File_api_v2_workspace_service_proto protoreflect.FileDescriptor
View Source
var File_api_v2_workspace_setting_service_proto protoreflect.FileDescriptor
View Source
var IdentityProviderService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "memos.api.v2.IdentityProviderService",
	HandlerType: (*IdentityProviderServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListIdentityProviders",
			Handler:    _IdentityProviderService_ListIdentityProviders_Handler,
		},
		{
			MethodName: "GetIdentityProvider",
			Handler:    _IdentityProviderService_GetIdentityProvider_Handler,
		},
		{
			MethodName: "CreateIdentityProvider",
			Handler:    _IdentityProviderService_CreateIdentityProvider_Handler,
		},
		{
			MethodName: "UpdateIdentityProvider",
			Handler:    _IdentityProviderService_UpdateIdentityProvider_Handler,
		},
		{
			MethodName: "DeleteIdentityProvider",
			Handler:    _IdentityProviderService_DeleteIdentityProvider_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v2/idp_service.proto",
}

IdentityProviderService_ServiceDesc is the grpc.ServiceDesc for IdentityProviderService 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 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 LinkService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "memos.api.v2.LinkService",
	HandlerType: (*LinkServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetLinkMetadata",
			Handler:    _LinkService_GetLinkMetadata_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v2/link_service.proto",
}

LinkService_ServiceDesc is the grpc.ServiceDesc for LinkService 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: "SearchMemos",
			Handler:    _MemoService_SearchMemos_Handler,
		},
		{
			MethodName: "GetMemo",
			Handler:    _MemoService_GetMemo_Handler,
		},
		{
			MethodName: "UpdateMemo",
			Handler:    _MemoService_UpdateMemo_Handler,
		},
		{
			MethodName: "DeleteMemo",
			Handler:    _MemoService_DeleteMemo_Handler,
		},
		{
			MethodName: "ExportMemos",
			Handler:    _MemoService_ExportMemos_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,
		},
		{
			MethodName: "ListMemoReactions",
			Handler:    _MemoService_ListMemoReactions_Handler,
		},
		{
			MethodName: "UpsertMemoReaction",
			Handler:    _MemoService_UpsertMemoReaction_Handler,
		},
		{
			MethodName: "DeleteMemoReaction",
			Handler:    _MemoService_DeleteMemoReaction_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: "SearchResources",
			Handler:    _ResourceService_SearchResources_Handler,
		},
		{
			MethodName: "GetResource",
			Handler:    _ResourceService_GetResource_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 StorageService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "memos.api.v2.StorageService",
	HandlerType: (*StorageServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateStorage",
			Handler:    _StorageService_CreateStorage_Handler,
		},
		{
			MethodName: "GetStorage",
			Handler:    _StorageService_GetStorage_Handler,
		},
		{
			MethodName: "ListStorages",
			Handler:    _StorageService_ListStorages_Handler,
		},
		{
			MethodName: "UpdateStorage",
			Handler:    _StorageService_UpdateStorage_Handler,
		},
		{
			MethodName: "DeleteStorage",
			Handler:    _StorageService_DeleteStorage_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v2/storage_service.proto",
}

StorageService_ServiceDesc is the grpc.ServiceDesc for StorageService 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: "BatchUpsertTag",
			Handler:    _TagService_BatchUpsertTag_Handler,
		},
		{
			MethodName: "ListTags",
			Handler:    _TagService_ListTags_Handler,
		},
		{
			MethodName: "RenameTag",
			Handler:    _TagService_RenameTag_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: "SearchUsers",
			Handler:    _UserService_SearchUsers_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)

View Source
var WorkspaceService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "memos.api.v2.WorkspaceService",
	HandlerType: (*WorkspaceServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetWorkspaceProfile",
			Handler:    _WorkspaceService_GetWorkspaceProfile_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v2/workspace_service.proto",
}

WorkspaceService_ServiceDesc is the grpc.ServiceDesc for WorkspaceService 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 WorkspaceSettingService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "memos.api.v2.WorkspaceSettingService",
	HandlerType: (*WorkspaceSettingServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListWorkspaceSettings",
			Handler:    _WorkspaceSettingService_ListWorkspaceSettings_Handler,
		},
		{
			MethodName: "GetWorkspaceSetting",
			Handler:    _WorkspaceSettingService_GetWorkspaceSetting_Handler,
		},
		{
			MethodName: "SetWorkspaceSetting",
			Handler:    _WorkspaceSettingService_SetWorkspaceSetting_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v2/workspace_setting_service.proto",
}

WorkspaceSettingService_ServiceDesc is the grpc.ServiceDesc for WorkspaceSettingService 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 RegisterIdentityProviderServiceHandler added in v0.21.0

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

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

func RegisterIdentityProviderServiceHandlerClient added in v0.21.0

func RegisterIdentityProviderServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IdentityProviderServiceClient) error

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

func RegisterIdentityProviderServiceHandlerFromEndpoint added in v0.21.0

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

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

func RegisterIdentityProviderServiceHandlerServer added in v0.21.0

func RegisterIdentityProviderServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IdentityProviderServiceServer) error

RegisterIdentityProviderServiceHandlerServer registers the http handlers for service IdentityProviderService to "mux". UnaryRPC :call IdentityProviderServiceServer 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 RegisterIdentityProviderServiceHandlerFromEndpoint instead.

func RegisterIdentityProviderServiceServer added in v0.21.0

func RegisterIdentityProviderServiceServer(s grpc.ServiceRegistrar, srv IdentityProviderServiceServer)

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

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

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

func RegisterLinkServiceHandlerClient added in v0.21.0

func RegisterLinkServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LinkServiceClient) error

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

func RegisterLinkServiceHandlerFromEndpoint added in v0.21.0

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

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

func RegisterLinkServiceHandlerServer added in v0.21.0

func RegisterLinkServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LinkServiceServer) error

RegisterLinkServiceHandlerServer registers the http handlers for service LinkService to "mux". UnaryRPC :call LinkServiceServer 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 RegisterLinkServiceHandlerFromEndpoint instead.

func RegisterLinkServiceServer added in v0.21.0

func RegisterLinkServiceServer(s grpc.ServiceRegistrar, srv LinkServiceServer)

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

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

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

func RegisterStorageServiceHandlerClient added in v0.21.1

func RegisterStorageServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client StorageServiceClient) error

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

func RegisterStorageServiceHandlerFromEndpoint added in v0.21.1

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

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

func RegisterStorageServiceHandlerServer added in v0.21.1

func RegisterStorageServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server StorageServiceServer) error

RegisterStorageServiceHandlerServer registers the http handlers for service StorageService to "mux". UnaryRPC :call StorageServiceServer 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 RegisterStorageServiceHandlerFromEndpoint instead.

func RegisterStorageServiceServer added in v0.21.1

func RegisterStorageServiceServer(s grpc.ServiceRegistrar, srv StorageServiceServer)

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)

func RegisterWorkspaceServiceHandler added in v0.19.0

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

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

func RegisterWorkspaceServiceHandlerClient added in v0.19.0

func RegisterWorkspaceServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WorkspaceServiceClient) error

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

func RegisterWorkspaceServiceHandlerFromEndpoint added in v0.19.0

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

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

func RegisterWorkspaceServiceHandlerServer added in v0.19.0

func RegisterWorkspaceServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server WorkspaceServiceServer) error

RegisterWorkspaceServiceHandlerServer registers the http handlers for service WorkspaceService to "mux". UnaryRPC :call WorkspaceServiceServer 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 RegisterWorkspaceServiceHandlerFromEndpoint instead.

func RegisterWorkspaceServiceServer added in v0.19.0

func RegisterWorkspaceServiceServer(s grpc.ServiceRegistrar, srv WorkspaceServiceServer)

func RegisterWorkspaceSettingServiceHandler added in v0.20.0

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

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

func RegisterWorkspaceSettingServiceHandlerClient added in v0.20.0

func RegisterWorkspaceSettingServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WorkspaceSettingServiceClient) error

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

func RegisterWorkspaceSettingServiceHandlerFromEndpoint added in v0.20.0

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

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

func RegisterWorkspaceSettingServiceHandlerServer added in v0.20.0

func RegisterWorkspaceSettingServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server WorkspaceSettingServiceServer) error

RegisterWorkspaceSettingServiceHandlerServer registers the http handlers for service WorkspaceSettingService to "mux". UnaryRPC :call WorkspaceSettingServiceServer 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 RegisterWorkspaceSettingServiceHandlerFromEndpoint instead.

func RegisterWorkspaceSettingServiceServer added in v0.20.0

func RegisterWorkspaceSettingServiceServer(s grpc.ServiceRegistrar, srv WorkspaceSettingServiceServer)

Types

type Activity added in v0.17.0

type Activity struct {

	// The system-generated unique identifier for the activity.
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// The system-generated unique identifier for the user who created the activity.
	CreatorId int32 `protobuf:"varint,2,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"`
	// The type of the activity.
	Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	// The level of the activity.
	Level string `protobuf:"bytes,4,opt,name=level,proto3" json:"level,omitempty"`
	// The create time of the activity.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The payload of the activity.
	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 {

	// The memo id of comment.
	MemoId int32 `protobuf:"varint,1,opt,name=memo_id,json=memoId,proto3" json:"memo_id,omitempty"`
	// The memo id of related memo.
	RelatedMemoId int32 `protobuf:"varint,2,opt,name=related_memo_id,json=relatedMemoId,proto3" json:"related_memo_id,omitempty"`
	// contains filtered or unexported fields
}

ActivityMemoCommentPayload represents the payload of a memo comment activity.

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 returns the activity with the given id.
	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 returns the activity with the given id.
	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 {

	// The updated version of memos.
	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 returns the current auth status of the user.
	GetAuthStatus(ctx context.Context, in *GetAuthStatusRequest, opts ...grpc.CallOption) (*GetAuthStatusResponse, error)
	// SignIn signs in the user with the given username and password.
	SignIn(ctx context.Context, in *SignInRequest, opts ...grpc.CallOption) (*SignInResponse, error)
	// SignInWithSSO signs in the user with the given SSO code.
	SignInWithSSO(ctx context.Context, in *SignInWithSSORequest, opts ...grpc.CallOption) (*SignInWithSSOResponse, error)
	// SignUp signs up the user with the given username and password.
	SignUp(ctx context.Context, in *SignUpRequest, opts ...grpc.CallOption) (*SignUpResponse, error)
	// SignOut signs out the user.
	SignOut(ctx context.Context, in *SignOutRequest, opts ...grpc.CallOption) (*SignOutResponse, 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 returns the current auth status of the user.
	GetAuthStatus(context.Context, *GetAuthStatusRequest) (*GetAuthStatusResponse, error)
	// SignIn signs in the user with the given username and password.
	SignIn(context.Context, *SignInRequest) (*SignInResponse, error)
	// SignInWithSSO signs in the user with the given SSO code.
	SignInWithSSO(context.Context, *SignInWithSSORequest) (*SignInWithSSOResponse, error)
	// SignUp signs up the user with the given username and password.
	SignUp(context.Context, *SignUpRequest) (*SignUpResponse, error)
	// SignOut signs out the user.
	SignOut(context.Context, *SignOutRequest) (*SignOutResponse, error)
	// contains filtered or unexported methods
}

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

type BatchUpsertTagRequest added in v0.19.1

type BatchUpsertTagRequest struct {
	Requests []*UpsertTagRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchUpsertTagRequest) Descriptor deprecated added in v0.19.1

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

Deprecated: Use BatchUpsertTagRequest.ProtoReflect.Descriptor instead.

func (*BatchUpsertTagRequest) GetRequests added in v0.19.1

func (x *BatchUpsertTagRequest) GetRequests() []*UpsertTagRequest

func (*BatchUpsertTagRequest) ProtoMessage added in v0.19.1

func (*BatchUpsertTagRequest) ProtoMessage()

func (*BatchUpsertTagRequest) ProtoReflect added in v0.19.1

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

func (*BatchUpsertTagRequest) Reset added in v0.19.1

func (x *BatchUpsertTagRequest) Reset()

func (*BatchUpsertTagRequest) String added in v0.19.1

func (x *BatchUpsertTagRequest) String() string

type BatchUpsertTagResponse added in v0.19.1

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

func (*BatchUpsertTagResponse) Descriptor deprecated added in v0.19.1

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

Deprecated: Use BatchUpsertTagResponse.ProtoReflect.Descriptor instead.

func (*BatchUpsertTagResponse) ProtoMessage added in v0.19.1

func (*BatchUpsertTagResponse) ProtoMessage()

func (*BatchUpsertTagResponse) ProtoReflect added in v0.19.1

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

func (*BatchUpsertTagResponse) Reset added in v0.19.1

func (x *BatchUpsertTagResponse) Reset()

func (*BatchUpsertTagResponse) String added in v0.19.1

func (x *BatchUpsertTagResponse) String() string

type CreateIdentityProviderRequest added in v0.21.0

type CreateIdentityProviderRequest struct {

	// The identityProvider to create.
	IdentityProvider *IdentityProvider `protobuf:"bytes,1,opt,name=identity_provider,json=identityProvider,proto3" json:"identity_provider,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateIdentityProviderRequest) Descriptor deprecated added in v0.21.0

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

Deprecated: Use CreateIdentityProviderRequest.ProtoReflect.Descriptor instead.

func (*CreateIdentityProviderRequest) GetIdentityProvider added in v0.21.0

func (x *CreateIdentityProviderRequest) GetIdentityProvider() *IdentityProvider

func (*CreateIdentityProviderRequest) ProtoMessage added in v0.21.0

func (*CreateIdentityProviderRequest) ProtoMessage()

func (*CreateIdentityProviderRequest) ProtoReflect added in v0.21.0

func (*CreateIdentityProviderRequest) Reset added in v0.21.0

func (x *CreateIdentityProviderRequest) Reset()

func (*CreateIdentityProviderRequest) String added in v0.21.0

type CreateIdentityProviderResponse added in v0.21.0

type CreateIdentityProviderResponse struct {

	// The created identityProvider.
	IdentityProvider *IdentityProvider `protobuf:"bytes,1,opt,name=identity_provider,json=identityProvider,proto3" json:"identity_provider,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateIdentityProviderResponse) Descriptor deprecated added in v0.21.0

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

Deprecated: Use CreateIdentityProviderResponse.ProtoReflect.Descriptor instead.

func (*CreateIdentityProviderResponse) GetIdentityProvider added in v0.21.0

func (x *CreateIdentityProviderResponse) GetIdentityProvider() *IdentityProvider

func (*CreateIdentityProviderResponse) ProtoMessage added in v0.21.0

func (*CreateIdentityProviderResponse) ProtoMessage()

func (*CreateIdentityProviderResponse) ProtoReflect added in v0.21.0

func (*CreateIdentityProviderResponse) Reset added in v0.21.0

func (x *CreateIdentityProviderResponse) Reset()

func (*CreateIdentityProviderResponse) String added in v0.21.0

type CreateMemoCommentRequest added in v0.16.0

type CreateMemoCommentRequest struct {

	// The name of the memo.
	// Format: memos/{id}
	Name    string             `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Comment *CreateMemoRequest `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,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) GetComment added in v0.21.0

func (*CreateMemoCommentRequest) GetName added in v0.21.0

func (x *CreateMemoCommentRequest) GetName() string

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 {
	Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,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 (*CreateResourceRequest) GetResource added in v0.21.1

func (x *CreateResourceRequest) GetResource() *Resource

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

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

func (*CreateStorageRequest) Descriptor deprecated added in v0.21.1

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

Deprecated: Use CreateStorageRequest.ProtoReflect.Descriptor instead.

func (*CreateStorageRequest) GetStorage added in v0.21.1

func (x *CreateStorageRequest) GetStorage() *Storage

func (*CreateStorageRequest) ProtoMessage added in v0.21.1

func (*CreateStorageRequest) ProtoMessage()

func (*CreateStorageRequest) ProtoReflect added in v0.21.1

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

func (*CreateStorageRequest) Reset added in v0.21.1

func (x *CreateStorageRequest) Reset()

func (*CreateStorageRequest) String added in v0.21.1

func (x *CreateStorageRequest) String() string

type CreateStorageResponse added in v0.21.1

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

func (*CreateStorageResponse) Descriptor deprecated added in v0.21.1

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

Deprecated: Use CreateStorageResponse.ProtoReflect.Descriptor instead.

func (*CreateStorageResponse) GetStorage added in v0.21.1

func (x *CreateStorageResponse) GetStorage() *Storage

func (*CreateStorageResponse) ProtoMessage added in v0.21.1

func (*CreateStorageResponse) ProtoMessage()

func (*CreateStorageResponse) ProtoReflect added in v0.21.1

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

func (*CreateStorageResponse) Reset added in v0.21.1

func (x *CreateStorageResponse) Reset()

func (*CreateStorageResponse) String added in v0.21.1

func (x *CreateStorageResponse) String() string

type CreateUserAccessTokenRequest added in v0.15.0

type CreateUserAccessTokenRequest struct {

	// The name of the user.
	// Format: users/{id}
	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 DeleteIdentityProviderRequest added in v0.21.0

type DeleteIdentityProviderRequest struct {

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

func (*DeleteIdentityProviderRequest) Descriptor deprecated added in v0.21.0

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

Deprecated: Use DeleteIdentityProviderRequest.ProtoReflect.Descriptor instead.

func (*DeleteIdentityProviderRequest) GetName added in v0.21.0

func (*DeleteIdentityProviderRequest) ProtoMessage added in v0.21.0

func (*DeleteIdentityProviderRequest) ProtoMessage()

func (*DeleteIdentityProviderRequest) ProtoReflect added in v0.21.0

func (*DeleteIdentityProviderRequest) Reset added in v0.21.0

func (x *DeleteIdentityProviderRequest) Reset()

func (*DeleteIdentityProviderRequest) String added in v0.21.0

type DeleteIdentityProviderResponse added in v0.21.0

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

func (*DeleteIdentityProviderResponse) Descriptor deprecated added in v0.21.0

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

Deprecated: Use DeleteIdentityProviderResponse.ProtoReflect.Descriptor instead.

func (*DeleteIdentityProviderResponse) ProtoMessage added in v0.21.0

func (*DeleteIdentityProviderResponse) ProtoMessage()

func (*DeleteIdentityProviderResponse) ProtoReflect added in v0.21.0

func (*DeleteIdentityProviderResponse) Reset added in v0.21.0

func (x *DeleteIdentityProviderResponse) Reset()

func (*DeleteIdentityProviderResponse) String added in v0.21.0

type DeleteInboxRequest added in v0.17.0

type DeleteInboxRequest struct {

	// The name of the inbox to delete.
	// Format: inboxes/{id}
	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 DeleteMemoReactionRequest added in v0.20.0

type DeleteMemoReactionRequest struct {
	ReactionId int32 `protobuf:"varint,1,opt,name=reaction_id,json=reactionId,proto3" json:"reaction_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteMemoReactionRequest) Descriptor deprecated added in v0.20.0

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

Deprecated: Use DeleteMemoReactionRequest.ProtoReflect.Descriptor instead.

func (*DeleteMemoReactionRequest) GetReactionId added in v0.20.0

func (x *DeleteMemoReactionRequest) GetReactionId() int32

func (*DeleteMemoReactionRequest) ProtoMessage added in v0.20.0

func (*DeleteMemoReactionRequest) ProtoMessage()

func (*DeleteMemoReactionRequest) ProtoReflect added in v0.20.0

func (*DeleteMemoReactionRequest) Reset added in v0.20.0

func (x *DeleteMemoReactionRequest) Reset()

func (*DeleteMemoReactionRequest) String added in v0.20.0

func (x *DeleteMemoReactionRequest) String() string

type DeleteMemoReactionResponse added in v0.20.0

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

func (*DeleteMemoReactionResponse) Descriptor deprecated added in v0.20.0

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

Deprecated: Use DeleteMemoReactionResponse.ProtoReflect.Descriptor instead.

func (*DeleteMemoReactionResponse) ProtoMessage added in v0.20.0

func (*DeleteMemoReactionResponse) ProtoMessage()

func (*DeleteMemoReactionResponse) ProtoReflect added in v0.20.0

func (*DeleteMemoReactionResponse) Reset added in v0.20.0

func (x *DeleteMemoReactionResponse) Reset()

func (*DeleteMemoReactionResponse) String added in v0.20.0

func (x *DeleteMemoReactionResponse) String() string

type DeleteMemoRequest added in v0.18.2

type DeleteMemoRequest struct {

	// The name of the memo.
	// Format: memos/{id}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,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) GetName added in v0.21.0

func (x *DeleteMemoRequest) GetName() string

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 {

	// The name of the resource.
	// Format: resources/{id}
	// id is the system generated unique identifier.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,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) GetName added in v0.21.0

func (x *DeleteResourceRequest) GetName() string

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

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

func (*DeleteStorageRequest) Descriptor deprecated added in v0.21.1

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

Deprecated: Use DeleteStorageRequest.ProtoReflect.Descriptor instead.

func (*DeleteStorageRequest) GetId added in v0.21.1

func (x *DeleteStorageRequest) GetId() int32

func (*DeleteStorageRequest) ProtoMessage added in v0.21.1

func (*DeleteStorageRequest) ProtoMessage()

func (*DeleteStorageRequest) ProtoReflect added in v0.21.1

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

func (*DeleteStorageRequest) Reset added in v0.21.1

func (x *DeleteStorageRequest) Reset()

func (*DeleteStorageRequest) String added in v0.21.1

func (x *DeleteStorageRequest) String() string

type DeleteStorageResponse added in v0.21.1

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

func (*DeleteStorageResponse) Descriptor deprecated added in v0.21.1

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

Deprecated: Use DeleteStorageResponse.ProtoReflect.Descriptor instead.

func (*DeleteStorageResponse) ProtoMessage added in v0.21.1

func (*DeleteStorageResponse) ProtoMessage()

func (*DeleteStorageResponse) ProtoReflect added in v0.21.1

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

func (*DeleteStorageResponse) Reset added in v0.21.1

func (x *DeleteStorageResponse) Reset()

func (*DeleteStorageResponse) String added in v0.21.1

func (x *DeleteStorageResponse) 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/{id}
	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/{id}
	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 ExportMemosRequest added in v0.19.1

type ExportMemosRequest struct {

	// Same as ListMemosRequest.filter
	Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportMemosRequest) Descriptor deprecated added in v0.19.1

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

Deprecated: Use ExportMemosRequest.ProtoReflect.Descriptor instead.

func (*ExportMemosRequest) GetFilter added in v0.19.1

func (x *ExportMemosRequest) GetFilter() string

func (*ExportMemosRequest) ProtoMessage added in v0.19.1

func (*ExportMemosRequest) ProtoMessage()

func (*ExportMemosRequest) ProtoReflect added in v0.19.1

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

func (*ExportMemosRequest) Reset added in v0.19.1

func (x *ExportMemosRequest) Reset()

func (*ExportMemosRequest) String added in v0.19.1

func (x *ExportMemosRequest) String() string

type ExportMemosResponse added in v0.19.1

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

func (*ExportMemosResponse) Descriptor deprecated added in v0.19.1

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

Deprecated: Use ExportMemosResponse.ProtoReflect.Descriptor instead.

func (*ExportMemosResponse) GetContent added in v0.20.0

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

func (*ExportMemosResponse) ProtoMessage added in v0.19.1

func (*ExportMemosResponse) ProtoMessage()

func (*ExportMemosResponse) ProtoReflect added in v0.19.1

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

func (*ExportMemosResponse) Reset added in v0.19.1

func (x *ExportMemosResponse) Reset()

func (*ExportMemosResponse) String added in v0.19.1

func (x *ExportMemosResponse) String() string

type FieldMapping added in v0.21.1

type FieldMapping struct {
	Identifier  string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Email       string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldMapping) Descriptor deprecated added in v0.21.1

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

Deprecated: Use FieldMapping.ProtoReflect.Descriptor instead.

func (*FieldMapping) GetDisplayName added in v0.21.1

func (x *FieldMapping) GetDisplayName() string

func (*FieldMapping) GetEmail added in v0.21.1

func (x *FieldMapping) GetEmail() string

func (*FieldMapping) GetIdentifier added in v0.21.1

func (x *FieldMapping) GetIdentifier() string

func (*FieldMapping) ProtoMessage added in v0.21.1

func (*FieldMapping) ProtoMessage()

func (*FieldMapping) ProtoReflect added in v0.21.1

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

func (*FieldMapping) Reset added in v0.21.1

func (x *FieldMapping) Reset()

func (*FieldMapping) String added in v0.21.1

func (x *FieldMapping) String() string

type GetActivityRequest added in v0.17.0

type GetActivityRequest struct {

	// The system-generated unique identifier for the activity.
	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 GetIdentityProviderRequest added in v0.21.0

type GetIdentityProviderRequest struct {

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

func (*GetIdentityProviderRequest) Descriptor deprecated added in v0.21.0

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

Deprecated: Use GetIdentityProviderRequest.ProtoReflect.Descriptor instead.

func (*GetIdentityProviderRequest) GetName added in v0.21.0

func (x *GetIdentityProviderRequest) GetName() string

func (*GetIdentityProviderRequest) ProtoMessage added in v0.21.0

func (*GetIdentityProviderRequest) ProtoMessage()

func (*GetIdentityProviderRequest) ProtoReflect added in v0.21.0

func (*GetIdentityProviderRequest) Reset added in v0.21.0

func (x *GetIdentityProviderRequest) Reset()

func (*GetIdentityProviderRequest) String added in v0.21.0

func (x *GetIdentityProviderRequest) String() string

type GetIdentityProviderResponse added in v0.21.0

type GetIdentityProviderResponse struct {

	// The identityProvider.
	IdentityProvider *IdentityProvider `protobuf:"bytes,1,opt,name=identity_provider,json=identityProvider,proto3" json:"identity_provider,omitempty"`
	// contains filtered or unexported fields
}

func (*GetIdentityProviderResponse) Descriptor deprecated added in v0.21.0

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

Deprecated: Use GetIdentityProviderResponse.ProtoReflect.Descriptor instead.

func (*GetIdentityProviderResponse) GetIdentityProvider added in v0.21.0

func (x *GetIdentityProviderResponse) GetIdentityProvider() *IdentityProvider

func (*GetIdentityProviderResponse) ProtoMessage added in v0.21.0

func (*GetIdentityProviderResponse) ProtoMessage()

func (*GetIdentityProviderResponse) ProtoReflect added in v0.21.0

func (*GetIdentityProviderResponse) Reset added in v0.21.0

func (x *GetIdentityProviderResponse) Reset()

func (*GetIdentityProviderResponse) String added in v0.21.0

func (x *GetIdentityProviderResponse) String() string

type GetLinkMetadataRequest added in v0.21.0

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

func (*GetLinkMetadataRequest) Descriptor deprecated added in v0.21.0

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

Deprecated: Use GetLinkMetadataRequest.ProtoReflect.Descriptor instead.

func (x *GetLinkMetadataRequest) GetLink() string

func (*GetLinkMetadataRequest) ProtoMessage added in v0.21.0

func (*GetLinkMetadataRequest) ProtoMessage()

func (*GetLinkMetadataRequest) ProtoReflect added in v0.21.0

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

func (*GetLinkMetadataRequest) Reset added in v0.21.0

func (x *GetLinkMetadataRequest) Reset()

func (*GetLinkMetadataRequest) String added in v0.21.0

func (x *GetLinkMetadataRequest) String() string

type GetLinkMetadataResponse added in v0.21.0

type GetLinkMetadataResponse struct {
	LinkMetadata *LinkMetadata `protobuf:"bytes,1,opt,name=link_metadata,json=linkMetadata,proto3" json:"link_metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLinkMetadataResponse) Descriptor deprecated added in v0.21.0

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

Deprecated: Use GetLinkMetadataResponse.ProtoReflect.Descriptor instead.

func (*GetLinkMetadataResponse) GetLinkMetadata added in v0.21.0

func (x *GetLinkMetadataResponse) GetLinkMetadata() *LinkMetadata

func (*GetLinkMetadataResponse) ProtoMessage added in v0.21.0

func (*GetLinkMetadataResponse) ProtoMessage()

func (*GetLinkMetadataResponse) ProtoReflect added in v0.21.0

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

func (*GetLinkMetadataResponse) Reset added in v0.21.0

func (x *GetLinkMetadataResponse) Reset()

func (*GetLinkMetadataResponse) String added in v0.21.0

func (x *GetLinkMetadataResponse) String() string

type GetMemoRequest

type GetMemoRequest struct {

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

func (*GetMemoRequest) Descriptor deprecated

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

Deprecated: Use GetMemoRequest.ProtoReflect.Descriptor instead.

func (*GetMemoRequest) GetName added in v0.21.0

func (x *GetMemoRequest) GetName() string

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

type GetResourceRequest struct {

	// The name of the resource.
	// Format: resources/{id}
	// id is the system generated unique identifier.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResourceRequest) Descriptor deprecated added in v0.19.0

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

Deprecated: Use GetResourceRequest.ProtoReflect.Descriptor instead.

func (*GetResourceRequest) GetName added in v0.21.0

func (x *GetResourceRequest) GetName() string

func (*GetResourceRequest) ProtoMessage added in v0.19.0

func (*GetResourceRequest) ProtoMessage()

func (*GetResourceRequest) ProtoReflect added in v0.19.0

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

func (*GetResourceRequest) Reset added in v0.19.0

func (x *GetResourceRequest) Reset()

func (*GetResourceRequest) String added in v0.19.0

func (x *GetResourceRequest) String() string

type GetResourceResponse added in v0.19.0

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

func (*GetResourceResponse) Descriptor deprecated added in v0.19.0

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

Deprecated: Use GetResourceResponse.ProtoReflect.Descriptor instead.

func (*GetResourceResponse) GetResource added in v0.19.0

func (x *GetResourceResponse) GetResource() *Resource

func (*GetResourceResponse) ProtoMessage added in v0.19.0

func (*GetResourceResponse) ProtoMessage()

func (*GetResourceResponse) ProtoReflect added in v0.19.0

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

func (*GetResourceResponse) Reset added in v0.19.0

func (x *GetResourceResponse) Reset()

func (*GetResourceResponse) String added in v0.19.0

func (x *GetResourceResponse) String() string

type GetStorageRequest added in v0.21.1

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

func (*GetStorageRequest) Descriptor deprecated added in v0.21.1

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

Deprecated: Use GetStorageRequest.ProtoReflect.Descriptor instead.

func (*GetStorageRequest) GetId added in v0.21.1

func (x *GetStorageRequest) GetId() int32

func (*GetStorageRequest) ProtoMessage added in v0.21.1

func (*GetStorageRequest) ProtoMessage()

func (*GetStorageRequest) ProtoReflect added in v0.21.1

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

func (*GetStorageRequest) Reset added in v0.21.1

func (x *GetStorageRequest) Reset()

func (*GetStorageRequest) String added in v0.21.1

func (x *GetStorageRequest) String() string

type GetStorageResponse added in v0.21.1

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

func (*GetStorageResponse) Descriptor deprecated added in v0.21.1

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

Deprecated: Use GetStorageResponse.ProtoReflect.Descriptor instead.

func (*GetStorageResponse) GetStorage added in v0.21.1

func (x *GetStorageResponse) GetStorage() *Storage

func (*GetStorageResponse) ProtoMessage added in v0.21.1

func (*GetStorageResponse) ProtoMessage()

func (*GetStorageResponse) ProtoReflect added in v0.21.1

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

func (*GetStorageResponse) Reset added in v0.21.1

func (x *GetStorageResponse) Reset()

func (*GetStorageResponse) String added in v0.21.1

func (x *GetStorageResponse) String() string

type GetTagSuggestionsRequest added in v0.18.0

type GetTagSuggestionsRequest struct {

	// The creator of tags.
	// Format: users/{id}
	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/{id}
	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/{id}
	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/{id}
	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 GetWorkspaceProfileRequest added in v0.19.0

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

func (*GetWorkspaceProfileRequest) Descriptor deprecated added in v0.19.0

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

Deprecated: Use GetWorkspaceProfileRequest.ProtoReflect.Descriptor instead.

func (*GetWorkspaceProfileRequest) ProtoMessage added in v0.19.0

func (*GetWorkspaceProfileRequest) ProtoMessage()

func (*GetWorkspaceProfileRequest) ProtoReflect added in v0.19.0

func (*GetWorkspaceProfileRequest) Reset added in v0.19.0

func (x *GetWorkspaceProfileRequest) Reset()

func (*GetWorkspaceProfileRequest) String added in v0.19.0

func (x *GetWorkspaceProfileRequest) String() string

type GetWorkspaceProfileResponse added in v0.19.0

type GetWorkspaceProfileResponse struct {
	WorkspaceProfile *WorkspaceProfile `protobuf:"bytes,1,opt,name=workspace_profile,json=workspaceProfile,proto3" json:"workspace_profile,omitempty"`
	// contains filtered or unexported fields
}

func (*GetWorkspaceProfileResponse) Descriptor deprecated added in v0.19.0

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

Deprecated: Use GetWorkspaceProfileResponse.ProtoReflect.Descriptor instead.

func (*GetWorkspaceProfileResponse) GetWorkspaceProfile added in v0.19.0

func (x *GetWorkspaceProfileResponse) GetWorkspaceProfile() *WorkspaceProfile

func (*GetWorkspaceProfileResponse) ProtoMessage added in v0.19.0

func (*GetWorkspaceProfileResponse) ProtoMessage()

func (*GetWorkspaceProfileResponse) ProtoReflect added in v0.19.0

func (*GetWorkspaceProfileResponse) Reset added in v0.19.0

func (x *GetWorkspaceProfileResponse) Reset()

func (*GetWorkspaceProfileResponse) String added in v0.19.0

func (x *GetWorkspaceProfileResponse) String() string

type GetWorkspaceSettingRequest added in v0.20.0

type GetWorkspaceSettingRequest struct {

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

func (*GetWorkspaceSettingRequest) Descriptor deprecated added in v0.20.0

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

Deprecated: Use GetWorkspaceSettingRequest.ProtoReflect.Descriptor instead.

func (*GetWorkspaceSettingRequest) GetName added in v0.20.0

func (x *GetWorkspaceSettingRequest) GetName() string

func (*GetWorkspaceSettingRequest) ProtoMessage added in v0.20.0

func (*GetWorkspaceSettingRequest) ProtoMessage()

func (*GetWorkspaceSettingRequest) ProtoReflect added in v0.20.0

func (*GetWorkspaceSettingRequest) Reset added in v0.20.0

func (x *GetWorkspaceSettingRequest) Reset()

func (*GetWorkspaceSettingRequest) String added in v0.20.0

func (x *GetWorkspaceSettingRequest) String() string

type GetWorkspaceSettingResponse added in v0.20.0

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

func (*GetWorkspaceSettingResponse) Descriptor deprecated added in v0.20.0

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

Deprecated: Use GetWorkspaceSettingResponse.ProtoReflect.Descriptor instead.

func (*GetWorkspaceSettingResponse) GetSetting added in v0.20.0

func (*GetWorkspaceSettingResponse) ProtoMessage added in v0.20.0

func (*GetWorkspaceSettingResponse) ProtoMessage()

func (*GetWorkspaceSettingResponse) ProtoReflect added in v0.20.0

func (*GetWorkspaceSettingResponse) Reset added in v0.20.0

func (x *GetWorkspaceSettingResponse) Reset()

func (*GetWorkspaceSettingResponse) String added in v0.20.0

func (x *GetWorkspaceSettingResponse) String() string

type IdentityProvider added in v0.21.0

type IdentityProvider struct {

	// The name of the identityProvider.
	// Format: identityProviders/{id}
	Name             string                  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type             IdentityProvider_Type   `protobuf:"varint,2,opt,name=type,proto3,enum=memos.api.v2.IdentityProvider_Type" json:"type,omitempty"`
	Title            string                  `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	IdentifierFilter string                  `protobuf:"bytes,4,opt,name=identifier_filter,json=identifierFilter,proto3" json:"identifier_filter,omitempty"`
	Config           *IdentityProviderConfig `protobuf:"bytes,5,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*IdentityProvider) Descriptor deprecated added in v0.21.0

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

Deprecated: Use IdentityProvider.ProtoReflect.Descriptor instead.

func (*IdentityProvider) GetConfig added in v0.21.0

func (x *IdentityProvider) GetConfig() *IdentityProviderConfig

func (*IdentityProvider) GetIdentifierFilter added in v0.21.0

func (x *IdentityProvider) GetIdentifierFilter() string

func (*IdentityProvider) GetName added in v0.21.0

func (x *IdentityProvider) GetName() string

func (*IdentityProvider) GetTitle added in v0.21.0

func (x *IdentityProvider) GetTitle() string

func (*IdentityProvider) GetType added in v0.21.0

func (*IdentityProvider) ProtoMessage added in v0.21.0

func (*IdentityProvider) ProtoMessage()

func (*IdentityProvider) ProtoReflect added in v0.21.0

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

func (*IdentityProvider) Reset added in v0.21.0

func (x *IdentityProvider) Reset()

func (*IdentityProvider) String added in v0.21.0

func (x *IdentityProvider) String() string

type IdentityProviderConfig added in v0.21.1

type IdentityProviderConfig struct {

	// Types that are assignable to Config:
	//
	//	*IdentityProviderConfig_Oauth2Config
	Config isIdentityProviderConfig_Config `protobuf_oneof:"config"`
	// contains filtered or unexported fields
}

func (*IdentityProviderConfig) Descriptor deprecated added in v0.21.1

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

Deprecated: Use IdentityProviderConfig.ProtoReflect.Descriptor instead.

func (*IdentityProviderConfig) GetConfig added in v0.21.1

func (m *IdentityProviderConfig) GetConfig() isIdentityProviderConfig_Config

func (*IdentityProviderConfig) GetOauth2Config added in v0.21.1

func (x *IdentityProviderConfig) GetOauth2Config() *OAuth2Config

func (*IdentityProviderConfig) ProtoMessage added in v0.21.1

func (*IdentityProviderConfig) ProtoMessage()

func (*IdentityProviderConfig) ProtoReflect added in v0.21.1

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

func (*IdentityProviderConfig) Reset added in v0.21.1

func (x *IdentityProviderConfig) Reset()

func (*IdentityProviderConfig) String added in v0.21.1

func (x *IdentityProviderConfig) String() string

type IdentityProviderConfig_Oauth2Config added in v0.21.1

type IdentityProviderConfig_Oauth2Config struct {
	Oauth2Config *OAuth2Config `protobuf:"bytes,1,opt,name=oauth2_config,json=oauth2Config,proto3,oneof"`
}

type IdentityProviderServiceClient added in v0.21.0

type IdentityProviderServiceClient interface {
	// ListIdentityProviders lists identity providers.
	ListIdentityProviders(ctx context.Context, in *ListIdentityProvidersRequest, opts ...grpc.CallOption) (*ListIdentityProvidersResponse, error)
	// GetIdentityProvider gets an identity provider.
	GetIdentityProvider(ctx context.Context, in *GetIdentityProviderRequest, opts ...grpc.CallOption) (*GetIdentityProviderResponse, error)
	// CreateIdentityProvider creates an identity provider.
	CreateIdentityProvider(ctx context.Context, in *CreateIdentityProviderRequest, opts ...grpc.CallOption) (*CreateIdentityProviderResponse, error)
	// UpdateIdentityProvider updates an identity provider.
	UpdateIdentityProvider(ctx context.Context, in *UpdateIdentityProviderRequest, opts ...grpc.CallOption) (*UpdateIdentityProviderResponse, error)
	// DeleteIdentityProvider deletes an identity provider.
	DeleteIdentityProvider(ctx context.Context, in *DeleteIdentityProviderRequest, opts ...grpc.CallOption) (*DeleteIdentityProviderResponse, error)
}

IdentityProviderServiceClient is the client API for IdentityProviderService 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 NewIdentityProviderServiceClient added in v0.21.0

func NewIdentityProviderServiceClient(cc grpc.ClientConnInterface) IdentityProviderServiceClient

type IdentityProviderServiceServer added in v0.21.0

type IdentityProviderServiceServer interface {
	// ListIdentityProviders lists identity providers.
	ListIdentityProviders(context.Context, *ListIdentityProvidersRequest) (*ListIdentityProvidersResponse, error)
	// GetIdentityProvider gets an identity provider.
	GetIdentityProvider(context.Context, *GetIdentityProviderRequest) (*GetIdentityProviderResponse, error)
	// CreateIdentityProvider creates an identity provider.
	CreateIdentityProvider(context.Context, *CreateIdentityProviderRequest) (*CreateIdentityProviderResponse, error)
	// UpdateIdentityProvider updates an identity provider.
	UpdateIdentityProvider(context.Context, *UpdateIdentityProviderRequest) (*UpdateIdentityProviderResponse, error)
	// DeleteIdentityProvider deletes an identity provider.
	DeleteIdentityProvider(context.Context, *DeleteIdentityProviderRequest) (*DeleteIdentityProviderResponse, error)
	// contains filtered or unexported methods
}

IdentityProviderServiceServer is the server API for IdentityProviderService service. All implementations must embed UnimplementedIdentityProviderServiceServer for forward compatibility

type IdentityProvider_Type added in v0.21.0

type IdentityProvider_Type int32
const (
	IdentityProvider_TYPE_UNSPECIFIED IdentityProvider_Type = 0
	IdentityProvider_OAUTH2           IdentityProvider_Type = 1
)

func (IdentityProvider_Type) Descriptor added in v0.21.0

func (IdentityProvider_Type) Enum added in v0.21.0

func (IdentityProvider_Type) EnumDescriptor deprecated added in v0.21.0

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

Deprecated: Use IdentityProvider_Type.Descriptor instead.

func (IdentityProvider_Type) Number added in v0.21.0

func (IdentityProvider_Type) String added in v0.21.0

func (x IdentityProvider_Type) String() string

func (IdentityProvider_Type) Type added in v0.21.0

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/{id}
	Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
	// Format: users/{id}
	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 lists inboxes for a user.
	ListInboxes(ctx context.Context, in *ListInboxesRequest, opts ...grpc.CallOption) (*ListInboxesResponse, error)
	// UpdateInbox updates an inbox.
	UpdateInbox(ctx context.Context, in *UpdateInboxRequest, opts ...grpc.CallOption) (*UpdateInboxResponse, error)
	// DeleteInbox deletes an inbox.
	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 lists inboxes for a user.
	ListInboxes(context.Context, *ListInboxesRequest) (*ListInboxesResponse, error)
	// UpdateInbox updates an inbox.
	UpdateInbox(context.Context, *UpdateInboxRequest) (*UpdateInboxResponse, error)
	// DeleteInbox deletes an inbox.
	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 LinkMetadata added in v0.21.0

type LinkMetadata struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Image       string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

func (*LinkMetadata) Descriptor deprecated added in v0.21.0

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

Deprecated: Use LinkMetadata.ProtoReflect.Descriptor instead.

func (*LinkMetadata) GetDescription added in v0.21.0

func (x *LinkMetadata) GetDescription() string

func (*LinkMetadata) GetImage added in v0.21.0

func (x *LinkMetadata) GetImage() string

func (*LinkMetadata) GetTitle added in v0.21.0

func (x *LinkMetadata) GetTitle() string

func (*LinkMetadata) ProtoMessage added in v0.21.0

func (*LinkMetadata) ProtoMessage()

func (*LinkMetadata) ProtoReflect added in v0.21.0

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

func (*LinkMetadata) Reset added in v0.21.0

func (x *LinkMetadata) Reset()

func (*LinkMetadata) String added in v0.21.0

func (x *LinkMetadata) String() string

type LinkServiceClient added in v0.21.0

type LinkServiceClient interface {
	// GetLinkMetadata returns metadata for a given link.
	GetLinkMetadata(ctx context.Context, in *GetLinkMetadataRequest, opts ...grpc.CallOption) (*GetLinkMetadataResponse, error)
}

LinkServiceClient is the client API for LinkService 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 NewLinkServiceClient added in v0.21.0

func NewLinkServiceClient(cc grpc.ClientConnInterface) LinkServiceClient

type LinkServiceServer added in v0.21.0

type LinkServiceServer interface {
	// GetLinkMetadata returns metadata for a given link.
	GetLinkMetadata(context.Context, *GetLinkMetadataRequest) (*GetLinkMetadataResponse, error)
	// contains filtered or unexported methods
}

LinkServiceServer is the server API for LinkService service. All implementations must embed UnimplementedLinkServiceServer for forward compatibility

type ListIdentityProvidersRequest added in v0.21.0

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

func (*ListIdentityProvidersRequest) Descriptor deprecated added in v0.21.0

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

Deprecated: Use ListIdentityProvidersRequest.ProtoReflect.Descriptor instead.

func (*ListIdentityProvidersRequest) ProtoMessage added in v0.21.0

func (*ListIdentityProvidersRequest) ProtoMessage()

func (*ListIdentityProvidersRequest) ProtoReflect added in v0.21.0

func (*ListIdentityProvidersRequest) Reset added in v0.21.0

func (x *ListIdentityProvidersRequest) Reset()

func (*ListIdentityProvidersRequest) String added in v0.21.0

type ListIdentityProvidersResponse added in v0.21.0

type ListIdentityProvidersResponse struct {
	IdentityProviders []*IdentityProvider `protobuf:"bytes,1,rep,name=identity_providers,json=identityProviders,proto3" json:"identity_providers,omitempty"`
	// contains filtered or unexported fields
}

func (*ListIdentityProvidersResponse) Descriptor deprecated added in v0.21.0

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

Deprecated: Use ListIdentityProvidersResponse.ProtoReflect.Descriptor instead.

func (*ListIdentityProvidersResponse) GetIdentityProviders added in v0.21.0

func (x *ListIdentityProvidersResponse) GetIdentityProviders() []*IdentityProvider

func (*ListIdentityProvidersResponse) ProtoMessage added in v0.21.0

func (*ListIdentityProvidersResponse) ProtoMessage()

func (*ListIdentityProvidersResponse) ProtoReflect added in v0.21.0

func (*ListIdentityProvidersResponse) Reset added in v0.21.0

func (x *ListIdentityProvidersResponse) Reset()

func (*ListIdentityProvidersResponse) String added in v0.21.0

type ListInboxesRequest added in v0.17.0

type ListInboxesRequest struct {

	// Format: users/{id}
	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 {

	// The name of the memo.
	// Format: memos/{id}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,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) GetName added in v0.21.0

func (x *ListMemoCommentsRequest) GetName() string

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

type ListMemoReactionsRequest struct {

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

func (*ListMemoReactionsRequest) Descriptor deprecated added in v0.20.0

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

Deprecated: Use ListMemoReactionsRequest.ProtoReflect.Descriptor instead.

func (*ListMemoReactionsRequest) GetName added in v0.21.0

func (x *ListMemoReactionsRequest) GetName() string

func (*ListMemoReactionsRequest) ProtoMessage added in v0.20.0

func (*ListMemoReactionsRequest) ProtoMessage()

func (*ListMemoReactionsRequest) ProtoReflect added in v0.20.0

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

func (*ListMemoReactionsRequest) Reset added in v0.20.0

func (x *ListMemoReactionsRequest) Reset()

func (*ListMemoReactionsRequest) String added in v0.20.0

func (x *ListMemoReactionsRequest) String() string

type ListMemoReactionsResponse added in v0.20.0

type ListMemoReactionsResponse struct {
	Reactions []*Reaction `protobuf:"bytes,1,rep,name=reactions,proto3" json:"reactions,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMemoReactionsResponse) Descriptor deprecated added in v0.20.0

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

Deprecated: Use ListMemoReactionsResponse.ProtoReflect.Descriptor instead.

func (*ListMemoReactionsResponse) GetReactions added in v0.20.0

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

func (*ListMemoReactionsResponse) ProtoMessage added in v0.20.0

func (*ListMemoReactionsResponse) ProtoMessage()

func (*ListMemoReactionsResponse) ProtoReflect added in v0.20.0

func (*ListMemoReactionsResponse) Reset added in v0.20.0

func (x *ListMemoReactionsResponse) Reset()

func (*ListMemoReactionsResponse) String added in v0.20.0

func (x *ListMemoReactionsResponse) String() string

type ListMemoRelationsRequest added in v0.18.2

type ListMemoRelationsRequest struct {

	// The name of the memo.
	// Format: memos/{id}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,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) GetName added in v0.21.0

func (x *ListMemoRelationsRequest) GetName() string

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 {

	// The name of the memo.
	// Format: memos/{id}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,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) GetName added in v0.21.0

func (x *ListMemoResourcesRequest) GetName() string

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 {

	// The maximum number of memos to return.
	PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListMemos` call.
	// Provide this to retrieve the subsequent page.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Filter is used to filter memos returned in the list.
	// Format: "creator == users/{uid} && 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) GetPageSize

func (x *ListMemosRequest) GetPageSize() int32

func (*ListMemosRequest) GetPageToken added in v0.19.0

func (x *ListMemosRequest) GetPageToken() string

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"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,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) GetNextPageToken added in v0.19.0

func (x *ListMemosResponse) GetNextPageToken() string

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

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

func (*ListStoragesRequest) Descriptor deprecated added in v0.21.1

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

Deprecated: Use ListStoragesRequest.ProtoReflect.Descriptor instead.

func (*ListStoragesRequest) ProtoMessage added in v0.21.1

func (*ListStoragesRequest) ProtoMessage()

func (*ListStoragesRequest) ProtoReflect added in v0.21.1

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

func (*ListStoragesRequest) Reset added in v0.21.1

func (x *ListStoragesRequest) Reset()

func (*ListStoragesRequest) String added in v0.21.1

func (x *ListStoragesRequest) String() string

type ListStoragesResponse added in v0.21.1

type ListStoragesResponse struct {
	Storages []*Storage `protobuf:"bytes,1,rep,name=storages,proto3" json:"storages,omitempty"`
	// contains filtered or unexported fields
}

func (*ListStoragesResponse) Descriptor deprecated added in v0.21.1

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

Deprecated: Use ListStoragesResponse.ProtoReflect.Descriptor instead.

func (*ListStoragesResponse) GetStorages added in v0.21.1

func (x *ListStoragesResponse) GetStorages() []*Storage

func (*ListStoragesResponse) ProtoMessage added in v0.21.1

func (*ListStoragesResponse) ProtoMessage()

func (*ListStoragesResponse) ProtoReflect added in v0.21.1

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

func (*ListStoragesResponse) Reset added in v0.21.1

func (x *ListStoragesResponse) Reset()

func (*ListStoragesResponse) String added in v0.21.1

func (x *ListStoragesResponse) String() string

type ListTagsRequest

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

func (*ListTagsRequest) Descriptor deprecated

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

Deprecated: Use ListTagsRequest.ProtoReflect.Descriptor instead.

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/{id}
	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 ListWorkspaceSettingsRequest added in v0.21.1

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

func (*ListWorkspaceSettingsRequest) Descriptor deprecated added in v0.21.1

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

Deprecated: Use ListWorkspaceSettingsRequest.ProtoReflect.Descriptor instead.

func (*ListWorkspaceSettingsRequest) ProtoMessage added in v0.21.1

func (*ListWorkspaceSettingsRequest) ProtoMessage()

func (*ListWorkspaceSettingsRequest) ProtoReflect added in v0.21.1

func (*ListWorkspaceSettingsRequest) Reset added in v0.21.1

func (x *ListWorkspaceSettingsRequest) Reset()

func (*ListWorkspaceSettingsRequest) String added in v0.21.1

type ListWorkspaceSettingsResponse added in v0.21.1

type ListWorkspaceSettingsResponse struct {
	Settings []*WorkspaceSetting `protobuf:"bytes,1,rep,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWorkspaceSettingsResponse) Descriptor deprecated added in v0.21.1

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

Deprecated: Use ListWorkspaceSettingsResponse.ProtoReflect.Descriptor instead.

func (*ListWorkspaceSettingsResponse) GetSettings added in v0.21.1

func (x *ListWorkspaceSettingsResponse) GetSettings() []*WorkspaceSetting

func (*ListWorkspaceSettingsResponse) ProtoMessage added in v0.21.1

func (*ListWorkspaceSettingsResponse) ProtoMessage()

func (*ListWorkspaceSettingsResponse) ProtoReflect added in v0.21.1

func (*ListWorkspaceSettingsResponse) Reset added in v0.21.1

func (x *ListWorkspaceSettingsResponse) Reset()

func (*ListWorkspaceSettingsResponse) String added in v0.21.1

type Memo

type Memo struct {

	// The name of the memo.
	// Format: memos/{id}
	// id is the system generated id.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The user defined id of the memo.
	Uid       string    `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
	RowStatus RowStatus `protobuf:"varint,3,opt,name=row_status,json=rowStatus,proto3,enum=memos.api.v2.RowStatus" json:"row_status,omitempty"`
	// The name of the creator.
	// Format: users/{id}
	Creator     string                 `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,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,78,opt,name=display_time,json=displayTime,proto3" json:"display_time,omitempty"`
	Content     string                 `protobuf:"bytes,8,opt,name=content,proto3" json:"content,omitempty"`
	Visibility  Visibility             `protobuf:"varint,9,opt,name=visibility,proto3,enum=memos.api.v2.Visibility" json:"visibility,omitempty"`
	Pinned      bool                   `protobuf:"varint,10,opt,name=pinned,proto3" json:"pinned,omitempty"`
	ParentId    *int32                 `protobuf:"varint,11,opt,name=parent_id,json=parentId,proto3,oneof" json:"parent_id,omitempty"`
	Resources   []*Resource            `protobuf:"bytes,12,rep,name=resources,proto3" json:"resources,omitempty"`
	Relations   []*MemoRelation        `protobuf:"bytes,13,rep,name=relations,proto3" json:"relations,omitempty"`
	Reactions   []*Reaction            `protobuf:"bytes,14,rep,name=reactions,proto3" json:"reactions,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) GetDisplayTime added in v0.18.2

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

func (*Memo) GetName added in v0.19.0

func (x *Memo) GetName() string

func (*Memo) GetParentId added in v0.18.2

func (x *Memo) GetParentId() int32

func (*Memo) GetPinned

func (x *Memo) GetPinned() bool

func (*Memo) GetReactions added in v0.20.0

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

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) GetUid added in v0.21.0

func (x *Memo) GetUid() string

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 {

	// The name of memo.
	// Format: "memos/{uid}"
	Memo string `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
	// The name of related memo.
	// Format: "memos/{uid}"
	RelatedMemo string            `protobuf:"bytes,2,opt,name=related_memo,json=relatedMemo,proto3" json:"related_memo,omitempty"`
	Type        MemoRelation_Type `protobuf:"varint,3,opt,name=type,proto3,enum=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) GetMemo added in v0.21.0

func (x *MemoRelation) GetMemo() string

func (*MemoRelation) GetRelatedMemo added in v0.21.0

func (x *MemoRelation) GetRelatedMemo() string

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)
	// SearchMemos searches memos.
	SearchMemos(ctx context.Context, in *SearchMemosRequest, opts ...grpc.CallOption) (*SearchMemosResponse, error)
	// GetMemo gets a memo.
	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.
	DeleteMemo(ctx context.Context, in *DeleteMemoRequest, opts ...grpc.CallOption) (*DeleteMemoResponse, error)
	// ExportMemos exports memos.
	ExportMemos(ctx context.Context, in *ExportMemosRequest, opts ...grpc.CallOption) (*ExportMemosResponse, 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)
	// ListMemoReactions lists reactions for a memo.
	ListMemoReactions(ctx context.Context, in *ListMemoReactionsRequest, opts ...grpc.CallOption) (*ListMemoReactionsResponse, error)
	// UpsertMemoReaction upserts a reaction for a memo.
	UpsertMemoReaction(ctx context.Context, in *UpsertMemoReactionRequest, opts ...grpc.CallOption) (*UpsertMemoReactionResponse, error)
	// DeleteMemoReaction deletes a reaction for a memo.
	DeleteMemoReaction(ctx context.Context, in *DeleteMemoReactionRequest, opts ...grpc.CallOption) (*DeleteMemoReactionResponse, 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)
	// SearchMemos searches memos.
	SearchMemos(context.Context, *SearchMemosRequest) (*SearchMemosResponse, error)
	// GetMemo gets a memo.
	GetMemo(context.Context, *GetMemoRequest) (*GetMemoResponse, error)
	// UpdateMemo updates a memo.
	UpdateMemo(context.Context, *UpdateMemoRequest) (*UpdateMemoResponse, error)
	// DeleteMemo deletes a memo.
	DeleteMemo(context.Context, *DeleteMemoRequest) (*DeleteMemoResponse, error)
	// ExportMemos exports memos.
	ExportMemos(context.Context, *ExportMemosRequest) (*ExportMemosResponse, 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)
	// ListMemoReactions lists reactions for a memo.
	ListMemoReactions(context.Context, *ListMemoReactionsRequest) (*ListMemoReactionsResponse, error)
	// UpsertMemoReaction upserts a reaction for a memo.
	UpsertMemoReaction(context.Context, *UpsertMemoReactionRequest) (*UpsertMemoReactionResponse, error)
	// DeleteMemoReaction deletes a reaction for a memo.
	DeleteMemoReaction(context.Context, *DeleteMemoReactionRequest) (*DeleteMemoReactionResponse, error)
	// contains filtered or unexported methods
}

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

type OAuth2Config added in v0.21.1

type OAuth2Config struct {
	ClientId     string        `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ClientSecret string        `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	AuthUrl      string        `protobuf:"bytes,3,opt,name=auth_url,json=authUrl,proto3" json:"auth_url,omitempty"`
	TokenUrl     string        `protobuf:"bytes,4,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"`
	UserInfoUrl  string        `protobuf:"bytes,5,opt,name=user_info_url,json=userInfoUrl,proto3" json:"user_info_url,omitempty"`
	Scopes       []string      `protobuf:"bytes,6,rep,name=scopes,proto3" json:"scopes,omitempty"`
	FieldMapping *FieldMapping `protobuf:"bytes,7,opt,name=field_mapping,json=fieldMapping,proto3" json:"field_mapping,omitempty"`
	// contains filtered or unexported fields
}

func (*OAuth2Config) Descriptor deprecated added in v0.21.1

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

Deprecated: Use OAuth2Config.ProtoReflect.Descriptor instead.

func (*OAuth2Config) GetAuthUrl added in v0.21.1

func (x *OAuth2Config) GetAuthUrl() string

func (*OAuth2Config) GetClientId added in v0.21.1

func (x *OAuth2Config) GetClientId() string

func (*OAuth2Config) GetClientSecret added in v0.21.1

func (x *OAuth2Config) GetClientSecret() string

func (*OAuth2Config) GetFieldMapping added in v0.21.1

func (x *OAuth2Config) GetFieldMapping() *FieldMapping

func (*OAuth2Config) GetScopes added in v0.21.1

func (x *OAuth2Config) GetScopes() []string

func (*OAuth2Config) GetTokenUrl added in v0.21.1

func (x *OAuth2Config) GetTokenUrl() string

func (*OAuth2Config) GetUserInfoUrl added in v0.21.1

func (x *OAuth2Config) GetUserInfoUrl() string

func (*OAuth2Config) ProtoMessage added in v0.21.1

func (*OAuth2Config) ProtoMessage()

func (*OAuth2Config) ProtoReflect added in v0.21.1

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

func (*OAuth2Config) Reset added in v0.21.1

func (x *OAuth2Config) Reset()

func (*OAuth2Config) String added in v0.21.1

func (x *OAuth2Config) String() string

type PageToken added in v0.19.0

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

Used internally for obfuscating the page token.

func (*PageToken) Descriptor deprecated added in v0.19.0

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

Deprecated: Use PageToken.ProtoReflect.Descriptor instead.

func (*PageToken) GetLimit added in v0.19.0

func (x *PageToken) GetLimit() int32

func (*PageToken) GetOffset added in v0.19.0

func (x *PageToken) GetOffset() int32

func (*PageToken) ProtoMessage added in v0.19.0

func (*PageToken) ProtoMessage()

func (*PageToken) ProtoReflect added in v0.19.0

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

func (*PageToken) Reset added in v0.19.0

func (x *PageToken) Reset()

func (*PageToken) String added in v0.19.0

func (x *PageToken) String() string

type Reaction added in v0.20.0

type Reaction struct {
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// The name of the creator.
	// Format: users/{id}
	Creator      string        `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	ContentId    string        `protobuf:"bytes,3,opt,name=content_id,json=contentId,proto3" json:"content_id,omitempty"`
	ReactionType Reaction_Type `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Reaction) Descriptor deprecated added in v0.20.0

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

Deprecated: Use Reaction.ProtoReflect.Descriptor instead.

func (*Reaction) GetContentId added in v0.20.0

func (x *Reaction) GetContentId() string

func (*Reaction) GetCreator added in v0.20.0

func (x *Reaction) GetCreator() string

func (*Reaction) GetId added in v0.20.0

func (x *Reaction) GetId() int32

func (*Reaction) GetReactionType added in v0.20.0

func (x *Reaction) GetReactionType() Reaction_Type

func (*Reaction) ProtoMessage added in v0.20.0

func (*Reaction) ProtoMessage()

func (*Reaction) ProtoReflect added in v0.20.0

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

func (*Reaction) Reset added in v0.20.0

func (x *Reaction) Reset()

func (*Reaction) String added in v0.20.0

func (x *Reaction) String() string

type Reaction_Type added in v0.20.0

type Reaction_Type int32
const (
	Reaction_TYPE_UNSPECIFIED Reaction_Type = 0
	Reaction_THUMBS_UP        Reaction_Type = 1
	Reaction_THUMBS_DOWN      Reaction_Type = 2
	Reaction_HEART            Reaction_Type = 3
	Reaction_FIRE             Reaction_Type = 4
	Reaction_CLAPPING_HANDS   Reaction_Type = 5
	Reaction_LAUGH            Reaction_Type = 6
	Reaction_OK_HAND          Reaction_Type = 7
	Reaction_ROCKET           Reaction_Type = 8
	Reaction_EYES             Reaction_Type = 9
	Reaction_THINKING_FACE    Reaction_Type = 10
	Reaction_CLOWN_FACE       Reaction_Type = 11
	Reaction_QUESTION_MARK    Reaction_Type = 12
)

func (Reaction_Type) Descriptor added in v0.20.0

func (Reaction_Type) Enum added in v0.20.0

func (x Reaction_Type) Enum() *Reaction_Type

func (Reaction_Type) EnumDescriptor deprecated added in v0.20.0

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

Deprecated: Use Reaction_Type.Descriptor instead.

func (Reaction_Type) Number added in v0.20.0

func (Reaction_Type) String added in v0.20.0

func (x Reaction_Type) String() string

func (Reaction_Type) Type added in v0.20.0

type RenameTagRequest added in v0.19.0

type RenameTagRequest struct {

	// The creator of tags.
	// Format: users/{id}
	User    string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	OldName string `protobuf:"bytes,2,opt,name=old_name,json=oldName,proto3" json:"old_name,omitempty"`
	NewName string `protobuf:"bytes,3,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"`
	// contains filtered or unexported fields
}

func (*RenameTagRequest) Descriptor deprecated added in v0.19.0

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

Deprecated: Use RenameTagRequest.ProtoReflect.Descriptor instead.

func (*RenameTagRequest) GetNewName added in v0.19.0

func (x *RenameTagRequest) GetNewName() string

func (*RenameTagRequest) GetOldName added in v0.19.0

func (x *RenameTagRequest) GetOldName() string

func (*RenameTagRequest) GetUser added in v0.19.0

func (x *RenameTagRequest) GetUser() string

func (*RenameTagRequest) ProtoMessage added in v0.19.0

func (*RenameTagRequest) ProtoMessage()

func (*RenameTagRequest) ProtoReflect added in v0.19.0

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

func (*RenameTagRequest) Reset added in v0.19.0

func (x *RenameTagRequest) Reset()

func (*RenameTagRequest) String added in v0.19.0

func (x *RenameTagRequest) String() string

type RenameTagResponse added in v0.19.0

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

func (*RenameTagResponse) Descriptor deprecated added in v0.19.0

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

Deprecated: Use RenameTagResponse.ProtoReflect.Descriptor instead.

func (*RenameTagResponse) GetTag added in v0.19.0

func (x *RenameTagResponse) GetTag() *Tag

func (*RenameTagResponse) ProtoMessage added in v0.19.0

func (*RenameTagResponse) ProtoMessage()

func (*RenameTagResponse) ProtoReflect added in v0.19.0

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

func (*RenameTagResponse) Reset added in v0.19.0

func (x *RenameTagResponse) Reset()

func (*RenameTagResponse) String added in v0.19.0

func (x *RenameTagResponse) String() string

type Resource added in v0.15.0

type Resource struct {

	// The name of the resource.
	// Format: resources/{id}
	// id is the system generated unique identifier.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The user defined id of the resource.
	Uid          string                 `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
	CreateTime   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	Filename     string                 `protobuf:"bytes,4,opt,name=filename,proto3" json:"filename,omitempty"`
	Content      []byte                 `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"`
	ExternalLink string                 `protobuf:"bytes,6,opt,name=external_link,json=externalLink,proto3" json:"external_link,omitempty"`
	Type         string                 `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"`
	Size         int64                  `protobuf:"varint,8,opt,name=size,proto3" json:"size,omitempty"`
	// The related memo.
	// Format: memos/{id}
	Memo *string `protobuf:"bytes,9,opt,name=memo,proto3,oneof" json:"memo,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) GetContent added in v0.21.1

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

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) GetMemo added in v0.21.0

func (x *Resource) GetMemo() string

func (*Resource) GetName added in v0.19.0

func (x *Resource) GetName() string

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) GetUid added in v0.21.0

func (x *Resource) GetUid() 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 creates a new resource.
	CreateResource(ctx context.Context, in *CreateResourceRequest, opts ...grpc.CallOption) (*CreateResourceResponse, error)
	// ListResources lists all resources.
	ListResources(ctx context.Context, in *ListResourcesRequest, opts ...grpc.CallOption) (*ListResourcesResponse, error)
	// SearchResources searches memos.
	SearchResources(ctx context.Context, in *SearchResourcesRequest, opts ...grpc.CallOption) (*SearchResourcesResponse, error)
	// GetResource returns a resource by name.
	GetResource(ctx context.Context, in *GetResourceRequest, opts ...grpc.CallOption) (*GetResourceResponse, error)
	// UpdateResource updates a resource.
	UpdateResource(ctx context.Context, in *UpdateResourceRequest, opts ...grpc.CallOption) (*UpdateResourceResponse, error)
	// DeleteResource deletes a resource by name.
	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 creates a new resource.
	CreateResource(context.Context, *CreateResourceRequest) (*CreateResourceResponse, error)
	// ListResources lists all resources.
	ListResources(context.Context, *ListResourcesRequest) (*ListResourcesResponse, error)
	// SearchResources searches memos.
	SearchResources(context.Context, *SearchResourcesRequest) (*SearchResourcesResponse, error)
	// GetResource returns a resource by name.
	GetResource(context.Context, *GetResourceRequest) (*GetResourceResponse, error)
	// UpdateResource updates a resource.
	UpdateResource(context.Context, *UpdateResourceRequest) (*UpdateResourceResponse, error)
	// DeleteResource deletes a resource by name.
	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 S3Config added in v0.21.1

type S3Config struct {
	EndPoint  string `protobuf:"bytes,1,opt,name=end_point,json=endPoint,proto3" json:"end_point,omitempty"`
	Path      string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Region    string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`
	AccessKey string `protobuf:"bytes,4,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"`
	SecretKey string `protobuf:"bytes,5,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
	Bucket    string `protobuf:"bytes,6,opt,name=bucket,proto3" json:"bucket,omitempty"`
	UrlPrefix string `protobuf:"bytes,7,opt,name=url_prefix,json=urlPrefix,proto3" json:"url_prefix,omitempty"`
	UrlSuffix string `protobuf:"bytes,8,opt,name=url_suffix,json=urlSuffix,proto3" json:"url_suffix,omitempty"`
	PreSign   bool   `protobuf:"varint,9,opt,name=pre_sign,json=preSign,proto3" json:"pre_sign,omitempty"`
	// contains filtered or unexported fields
}

func (*S3Config) Descriptor deprecated added in v0.21.1

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

Deprecated: Use S3Config.ProtoReflect.Descriptor instead.

func (*S3Config) GetAccessKey added in v0.21.1

func (x *S3Config) GetAccessKey() string

func (*S3Config) GetBucket added in v0.21.1

func (x *S3Config) GetBucket() string

func (*S3Config) GetEndPoint added in v0.21.1

func (x *S3Config) GetEndPoint() string

func (*S3Config) GetPath added in v0.21.1

func (x *S3Config) GetPath() string

func (*S3Config) GetPreSign added in v0.21.1

func (x *S3Config) GetPreSign() bool

func (*S3Config) GetRegion added in v0.21.1

func (x *S3Config) GetRegion() string

func (*S3Config) GetSecretKey added in v0.21.1

func (x *S3Config) GetSecretKey() string

func (*S3Config) GetUrlPrefix added in v0.21.1

func (x *S3Config) GetUrlPrefix() string

func (*S3Config) GetUrlSuffix added in v0.21.1

func (x *S3Config) GetUrlSuffix() string

func (*S3Config) ProtoMessage added in v0.21.1

func (*S3Config) ProtoMessage()

func (*S3Config) ProtoReflect added in v0.21.1

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

func (*S3Config) Reset added in v0.21.1

func (x *S3Config) Reset()

func (*S3Config) String added in v0.21.1

func (x *S3Config) String() string

type SearchMemosRequest added in v0.21.0

type SearchMemosRequest struct {

	// Filter is used to filter memos returned.
	// Format: "creator == users/{uid} && visibilities == ['PUBLIC', 'PROTECTED']"
	Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchMemosRequest) Descriptor deprecated added in v0.21.0

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

Deprecated: Use SearchMemosRequest.ProtoReflect.Descriptor instead.

func (*SearchMemosRequest) GetFilter added in v0.21.0

func (x *SearchMemosRequest) GetFilter() string

func (*SearchMemosRequest) ProtoMessage added in v0.21.0

func (*SearchMemosRequest) ProtoMessage()

func (*SearchMemosRequest) ProtoReflect added in v0.21.0

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

func (*SearchMemosRequest) Reset added in v0.21.0

func (x *SearchMemosRequest) Reset()

func (*SearchMemosRequest) String added in v0.21.0

func (x *SearchMemosRequest) String() string

type SearchMemosResponse added in v0.21.0

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

func (*SearchMemosResponse) Descriptor deprecated added in v0.21.0

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

Deprecated: Use SearchMemosResponse.ProtoReflect.Descriptor instead.

func (*SearchMemosResponse) GetMemos added in v0.21.0

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

func (*SearchMemosResponse) ProtoMessage added in v0.21.0

func (*SearchMemosResponse) ProtoMessage()

func (*SearchMemosResponse) ProtoReflect added in v0.21.0

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

func (*SearchMemosResponse) Reset added in v0.21.0

func (x *SearchMemosResponse) Reset()

func (*SearchMemosResponse) String added in v0.21.0

func (x *SearchMemosResponse) String() string

type SearchResourcesRequest added in v0.21.0

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

func (*SearchResourcesRequest) Descriptor deprecated added in v0.21.0

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

Deprecated: Use SearchResourcesRequest.ProtoReflect.Descriptor instead.

func (*SearchResourcesRequest) GetFilter added in v0.21.0

func (x *SearchResourcesRequest) GetFilter() string

func (*SearchResourcesRequest) ProtoMessage added in v0.21.0

func (*SearchResourcesRequest) ProtoMessage()

func (*SearchResourcesRequest) ProtoReflect added in v0.21.0

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

func (*SearchResourcesRequest) Reset added in v0.21.0

func (x *SearchResourcesRequest) Reset()

func (*SearchResourcesRequest) String added in v0.21.0

func (x *SearchResourcesRequest) String() string

type SearchResourcesResponse added in v0.21.0

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

func (*SearchResourcesResponse) Descriptor deprecated added in v0.21.0

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

Deprecated: Use SearchResourcesResponse.ProtoReflect.Descriptor instead.

func (*SearchResourcesResponse) GetResources added in v0.21.0

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

func (*SearchResourcesResponse) ProtoMessage added in v0.21.0

func (*SearchResourcesResponse) ProtoMessage()

func (*SearchResourcesResponse) ProtoReflect added in v0.21.0

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

func (*SearchResourcesResponse) Reset added in v0.21.0

func (x *SearchResourcesResponse) Reset()

func (*SearchResourcesResponse) String added in v0.21.0

func (x *SearchResourcesResponse) String() string

type SearchUsersRequest added in v0.21.0

type SearchUsersRequest struct {

	// Filter is used to filter users returned in the list.
	// Format: "username == frank"
	Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchUsersRequest) Descriptor deprecated added in v0.21.0

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

Deprecated: Use SearchUsersRequest.ProtoReflect.Descriptor instead.

func (*SearchUsersRequest) GetFilter added in v0.21.0

func (x *SearchUsersRequest) GetFilter() string

func (*SearchUsersRequest) ProtoMessage added in v0.21.0

func (*SearchUsersRequest) ProtoMessage()

func (*SearchUsersRequest) ProtoReflect added in v0.21.0

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

func (*SearchUsersRequest) Reset added in v0.21.0

func (x *SearchUsersRequest) Reset()

func (*SearchUsersRequest) String added in v0.21.0

func (x *SearchUsersRequest) String() string

type SearchUsersResponse added in v0.21.0

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

func (*SearchUsersResponse) Descriptor deprecated added in v0.21.0

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

Deprecated: Use SearchUsersResponse.ProtoReflect.Descriptor instead.

func (*SearchUsersResponse) GetUsers added in v0.21.0

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

func (*SearchUsersResponse) ProtoMessage added in v0.21.0

func (*SearchUsersResponse) ProtoMessage()

func (*SearchUsersResponse) ProtoReflect added in v0.21.0

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

func (*SearchUsersResponse) Reset added in v0.21.0

func (x *SearchUsersResponse) Reset()

func (*SearchUsersResponse) String added in v0.21.0

func (x *SearchUsersResponse) String() string

type SetMemoRelationsRequest added in v0.18.2

type SetMemoRelationsRequest struct {

	// The name of the memo.
	// Format: memos/{id}
	Name      string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,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) GetName added in v0.21.0

func (x *SetMemoRelationsRequest) GetName() string

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 {

	// The name of the memo.
	// Format: memos/{id}
	Name      string      `protobuf:"bytes,1,opt,name=name,proto3" json:"name,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) GetName added in v0.21.0

func (x *SetMemoResourcesRequest) GetName() string

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

type SetWorkspaceSettingRequest struct {

	// setting is the setting to update.
	Setting *WorkspaceSetting `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,omitempty"`
	// contains filtered or unexported fields
}

func (*SetWorkspaceSettingRequest) Descriptor deprecated added in v0.20.0

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

Deprecated: Use SetWorkspaceSettingRequest.ProtoReflect.Descriptor instead.

func (*SetWorkspaceSettingRequest) GetSetting added in v0.20.0

func (*SetWorkspaceSettingRequest) ProtoMessage added in v0.20.0

func (*SetWorkspaceSettingRequest) ProtoMessage()

func (*SetWorkspaceSettingRequest) ProtoReflect added in v0.20.0

func (*SetWorkspaceSettingRequest) Reset added in v0.20.0

func (x *SetWorkspaceSettingRequest) Reset()

func (*SetWorkspaceSettingRequest) String added in v0.20.0

func (x *SetWorkspaceSettingRequest) String() string

type SetWorkspaceSettingResponse added in v0.20.0

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

func (*SetWorkspaceSettingResponse) Descriptor deprecated added in v0.20.0

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

Deprecated: Use SetWorkspaceSettingResponse.ProtoReflect.Descriptor instead.

func (*SetWorkspaceSettingResponse) GetSetting added in v0.20.0

func (*SetWorkspaceSettingResponse) ProtoMessage added in v0.20.0

func (*SetWorkspaceSettingResponse) ProtoMessage()

func (*SetWorkspaceSettingResponse) ProtoReflect added in v0.20.0

func (*SetWorkspaceSettingResponse) Reset added in v0.20.0

func (x *SetWorkspaceSettingResponse) Reset()

func (*SetWorkspaceSettingResponse) String added in v0.20.0

func (x *SetWorkspaceSettingResponse) String() string

type SignInRequest added in v0.19.1

type SignInRequest struct {

	// The username to sign in with.
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// The password to sign in with.
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// Whether the session should never expire.
	NeverExpire bool `protobuf:"varint,3,opt,name=never_expire,json=neverExpire,proto3" json:"never_expire,omitempty"`
	// contains filtered or unexported fields
}

func (*SignInRequest) Descriptor deprecated added in v0.19.1

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

Deprecated: Use SignInRequest.ProtoReflect.Descriptor instead.

func (*SignInRequest) GetNeverExpire added in v0.19.1

func (x *SignInRequest) GetNeverExpire() bool

func (*SignInRequest) GetPassword added in v0.19.1

func (x *SignInRequest) GetPassword() string

func (*SignInRequest) GetUsername added in v0.19.1

func (x *SignInRequest) GetUsername() string

func (*SignInRequest) ProtoMessage added in v0.19.1

func (*SignInRequest) ProtoMessage()

func (*SignInRequest) ProtoReflect added in v0.19.1

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

func (*SignInRequest) Reset added in v0.19.1

func (x *SignInRequest) Reset()

func (*SignInRequest) String added in v0.19.1

func (x *SignInRequest) String() string

type SignInResponse added in v0.19.1

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

func (*SignInResponse) Descriptor deprecated added in v0.19.1

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

Deprecated: Use SignInResponse.ProtoReflect.Descriptor instead.

func (*SignInResponse) GetUser added in v0.19.1

func (x *SignInResponse) GetUser() *User

func (*SignInResponse) ProtoMessage added in v0.19.1

func (*SignInResponse) ProtoMessage()

func (*SignInResponse) ProtoReflect added in v0.19.1

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

func (*SignInResponse) Reset added in v0.19.1

func (x *SignInResponse) Reset()

func (*SignInResponse) String added in v0.19.1

func (x *SignInResponse) String() string

type SignInWithSSORequest added in v0.19.1

type SignInWithSSORequest struct {

	// The ID of the SSO provider.
	IdpId int32 `protobuf:"varint,1,opt,name=idp_id,json=idpId,proto3" json:"idp_id,omitempty"`
	// The code to sign in with.
	Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	// The redirect URI.
	RedirectUri string `protobuf:"bytes,3,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
	// contains filtered or unexported fields
}

func (*SignInWithSSORequest) Descriptor deprecated added in v0.19.1

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

Deprecated: Use SignInWithSSORequest.ProtoReflect.Descriptor instead.

func (*SignInWithSSORequest) GetCode added in v0.19.1

func (x *SignInWithSSORequest) GetCode() string

func (*SignInWithSSORequest) GetIdpId added in v0.19.1

func (x *SignInWithSSORequest) GetIdpId() int32

func (*SignInWithSSORequest) GetRedirectUri added in v0.19.1

func (x *SignInWithSSORequest) GetRedirectUri() string

func (*SignInWithSSORequest) ProtoMessage added in v0.19.1

func (*SignInWithSSORequest) ProtoMessage()

func (*SignInWithSSORequest) ProtoReflect added in v0.19.1

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

func (*SignInWithSSORequest) Reset added in v0.19.1

func (x *SignInWithSSORequest) Reset()

func (*SignInWithSSORequest) String added in v0.19.1

func (x *SignInWithSSORequest) String() string

type SignInWithSSOResponse added in v0.19.1

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

func (*SignInWithSSOResponse) Descriptor deprecated added in v0.19.1

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

Deprecated: Use SignInWithSSOResponse.ProtoReflect.Descriptor instead.

func (*SignInWithSSOResponse) GetUser added in v0.19.1

func (x *SignInWithSSOResponse) GetUser() *User

func (*SignInWithSSOResponse) ProtoMessage added in v0.19.1

func (*SignInWithSSOResponse) ProtoMessage()

func (*SignInWithSSOResponse) ProtoReflect added in v0.19.1

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

func (*SignInWithSSOResponse) Reset added in v0.19.1

func (x *SignInWithSSOResponse) Reset()

func (*SignInWithSSOResponse) String added in v0.19.1

func (x *SignInWithSSOResponse) String() string

type SignOutRequest added in v0.19.1

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

func (*SignOutRequest) Descriptor deprecated added in v0.19.1

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

Deprecated: Use SignOutRequest.ProtoReflect.Descriptor instead.

func (*SignOutRequest) ProtoMessage added in v0.19.1

func (*SignOutRequest) ProtoMessage()

func (*SignOutRequest) ProtoReflect added in v0.19.1

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

func (*SignOutRequest) Reset added in v0.19.1

func (x *SignOutRequest) Reset()

func (*SignOutRequest) String added in v0.19.1

func (x *SignOutRequest) String() string

type SignOutResponse added in v0.19.1

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

func (*SignOutResponse) Descriptor deprecated added in v0.19.1

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

Deprecated: Use SignOutResponse.ProtoReflect.Descriptor instead.

func (*SignOutResponse) ProtoMessage added in v0.19.1

func (*SignOutResponse) ProtoMessage()

func (*SignOutResponse) ProtoReflect added in v0.19.1

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

func (*SignOutResponse) Reset added in v0.19.1

func (x *SignOutResponse) Reset()

func (*SignOutResponse) String added in v0.19.1

func (x *SignOutResponse) String() string

type SignUpRequest added in v0.19.1

type SignUpRequest struct {

	// The username to sign up with.
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// The password to sign up with.
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*SignUpRequest) Descriptor deprecated added in v0.19.1

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

Deprecated: Use SignUpRequest.ProtoReflect.Descriptor instead.

func (*SignUpRequest) GetPassword added in v0.19.1

func (x *SignUpRequest) GetPassword() string

func (*SignUpRequest) GetUsername added in v0.19.1

func (x *SignUpRequest) GetUsername() string

func (*SignUpRequest) ProtoMessage added in v0.19.1

func (*SignUpRequest) ProtoMessage()

func (*SignUpRequest) ProtoReflect added in v0.19.1

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

func (*SignUpRequest) Reset added in v0.19.1

func (x *SignUpRequest) Reset()

func (*SignUpRequest) String added in v0.19.1

func (x *SignUpRequest) String() string

type SignUpResponse added in v0.19.1

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

func (*SignUpResponse) Descriptor deprecated added in v0.19.1

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

Deprecated: Use SignUpResponse.ProtoReflect.Descriptor instead.

func (*SignUpResponse) GetUser added in v0.19.1

func (x *SignUpResponse) GetUser() *User

func (*SignUpResponse) ProtoMessage added in v0.19.1

func (*SignUpResponse) ProtoMessage()

func (*SignUpResponse) ProtoReflect added in v0.19.1

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

func (*SignUpResponse) Reset added in v0.19.1

func (x *SignUpResponse) Reset()

func (*SignUpResponse) String added in v0.19.1

func (x *SignUpResponse) String() string

type Storage added in v0.21.1

type Storage struct {
	Id     int32          `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Title  string         `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Type   Storage_Type   `protobuf:"varint,3,opt,name=type,proto3,enum=memos.api.v2.Storage_Type" json:"type,omitempty"`
	Config *StorageConfig `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*Storage) Descriptor deprecated added in v0.21.1

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

Deprecated: Use Storage.ProtoReflect.Descriptor instead.

func (*Storage) GetConfig added in v0.21.1

func (x *Storage) GetConfig() *StorageConfig

func (*Storage) GetId added in v0.21.1

func (x *Storage) GetId() int32

func (*Storage) GetTitle added in v0.21.1

func (x *Storage) GetTitle() string

func (*Storage) GetType added in v0.21.1

func (x *Storage) GetType() Storage_Type

func (*Storage) ProtoMessage added in v0.21.1

func (*Storage) ProtoMessage()

func (*Storage) ProtoReflect added in v0.21.1

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

func (*Storage) Reset added in v0.21.1

func (x *Storage) Reset()

func (*Storage) String added in v0.21.1

func (x *Storage) String() string

type StorageConfig added in v0.21.1

type StorageConfig struct {

	// Types that are assignable to Config:
	//
	//	*StorageConfig_S3Config
	Config isStorageConfig_Config `protobuf_oneof:"config"`
	// contains filtered or unexported fields
}

func (*StorageConfig) Descriptor deprecated added in v0.21.1

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

Deprecated: Use StorageConfig.ProtoReflect.Descriptor instead.

func (*StorageConfig) GetConfig added in v0.21.1

func (m *StorageConfig) GetConfig() isStorageConfig_Config

func (*StorageConfig) GetS3Config added in v0.21.1

func (x *StorageConfig) GetS3Config() *S3Config

func (*StorageConfig) ProtoMessage added in v0.21.1

func (*StorageConfig) ProtoMessage()

func (*StorageConfig) ProtoReflect added in v0.21.1

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

func (*StorageConfig) Reset added in v0.21.1

func (x *StorageConfig) Reset()

func (*StorageConfig) String added in v0.21.1

func (x *StorageConfig) String() string

type StorageConfig_S3Config added in v0.21.1

type StorageConfig_S3Config struct {
	S3Config *S3Config `protobuf:"bytes,1,opt,name=s3_config,json=s3Config,proto3,oneof"`
}

type StorageServiceClient added in v0.21.1

type StorageServiceClient interface {
	// CreateStorage creates a new storage.
	CreateStorage(ctx context.Context, in *CreateStorageRequest, opts ...grpc.CallOption) (*CreateStorageResponse, error)
	// GetStorage returns a storage by id.
	GetStorage(ctx context.Context, in *GetStorageRequest, opts ...grpc.CallOption) (*GetStorageResponse, error)
	// ListStorages returns a list of storages.
	ListStorages(ctx context.Context, in *ListStoragesRequest, opts ...grpc.CallOption) (*ListStoragesResponse, error)
	// UpdateStorage updates a storage.
	UpdateStorage(ctx context.Context, in *UpdateStorageRequest, opts ...grpc.CallOption) (*UpdateStorageResponse, error)
	// DeleteStorage deletes a storage by id.
	DeleteStorage(ctx context.Context, in *DeleteStorageRequest, opts ...grpc.CallOption) (*DeleteStorageResponse, error)
}

StorageServiceClient is the client API for StorageService 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 NewStorageServiceClient added in v0.21.1

func NewStorageServiceClient(cc grpc.ClientConnInterface) StorageServiceClient

type StorageServiceServer added in v0.21.1

type StorageServiceServer interface {
	// CreateStorage creates a new storage.
	CreateStorage(context.Context, *CreateStorageRequest) (*CreateStorageResponse, error)
	// GetStorage returns a storage by id.
	GetStorage(context.Context, *GetStorageRequest) (*GetStorageResponse, error)
	// ListStorages returns a list of storages.
	ListStorages(context.Context, *ListStoragesRequest) (*ListStoragesResponse, error)
	// UpdateStorage updates a storage.
	UpdateStorage(context.Context, *UpdateStorageRequest) (*UpdateStorageResponse, error)
	// DeleteStorage deletes a storage by id.
	DeleteStorage(context.Context, *DeleteStorageRequest) (*DeleteStorageResponse, error)
	// contains filtered or unexported methods
}

StorageServiceServer is the server API for StorageService service. All implementations must embed UnimplementedStorageServiceServer for forward compatibility

type Storage_Type added in v0.21.1

type Storage_Type int32
const (
	Storage_TYPE_UNSPECIFIED Storage_Type = 0
	Storage_S3               Storage_Type = 1
)

func (Storage_Type) Descriptor added in v0.21.1

func (Storage_Type) Enum added in v0.21.1

func (x Storage_Type) Enum() *Storage_Type

func (Storage_Type) EnumDescriptor deprecated added in v0.21.1

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

Deprecated: Use Storage_Type.Descriptor instead.

func (Storage_Type) Number added in v0.21.1

func (Storage_Type) String added in v0.21.1

func (x Storage_Type) String() string

func (Storage_Type) Type added in v0.21.1

type Tag

type Tag struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The creator of tags.
	// Format: users/{id}
	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 TagServiceClient

type TagServiceClient interface {
	// UpsertTag upserts a tag.
	UpsertTag(ctx context.Context, in *UpsertTagRequest, opts ...grpc.CallOption) (*UpsertTagResponse, error)
	// BatchUpsertTag upserts multiple tags.
	BatchUpsertTag(ctx context.Context, in *BatchUpsertTagRequest, opts ...grpc.CallOption) (*BatchUpsertTagResponse, error)
	// ListTags lists tags.
	ListTags(ctx context.Context, in *ListTagsRequest, opts ...grpc.CallOption) (*ListTagsResponse, error)
	// RenameTag renames a tag.
	// All related memos will be updated.
	RenameTag(ctx context.Context, in *RenameTagRequest, opts ...grpc.CallOption) (*RenameTagResponse, error)
	// DeleteTag deletes a tag.
	DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*DeleteTagResponse, error)
	// GetTagSuggestions gets tag suggestions from the user's memos.
	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 upserts a tag.
	UpsertTag(context.Context, *UpsertTagRequest) (*UpsertTagResponse, error)
	// BatchUpsertTag upserts multiple tags.
	BatchUpsertTag(context.Context, *BatchUpsertTagRequest) (*BatchUpsertTagResponse, error)
	// ListTags lists tags.
	ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error)
	// RenameTag renames a tag.
	// All related memos will be updated.
	RenameTag(context.Context, *RenameTagRequest) (*RenameTagResponse, error)
	// DeleteTag deletes a tag.
	DeleteTag(context.Context, *DeleteTagRequest) (*DeleteTagResponse, error)
	// GetTagSuggestions gets tag suggestions from the user's memos.
	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 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

func (UnimplementedAuthServiceServer) SignIn added in v0.19.1

func (UnimplementedAuthServiceServer) SignInWithSSO added in v0.19.1

func (UnimplementedAuthServiceServer) SignOut added in v0.19.1

func (UnimplementedAuthServiceServer) SignUp added in v0.19.1

type UnimplementedIdentityProviderServiceServer added in v0.21.0

type UnimplementedIdentityProviderServiceServer struct {
}

UnimplementedIdentityProviderServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedIdentityProviderServiceServer) CreateIdentityProvider added in v0.21.0

func (UnimplementedIdentityProviderServiceServer) DeleteIdentityProvider added in v0.21.0

func (UnimplementedIdentityProviderServiceServer) GetIdentityProvider added in v0.21.0

func (UnimplementedIdentityProviderServiceServer) ListIdentityProviders added in v0.21.0

func (UnimplementedIdentityProviderServiceServer) UpdateIdentityProvider added in v0.21.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 UnimplementedLinkServiceServer added in v0.21.0

type UnimplementedLinkServiceServer struct {
}

UnimplementedLinkServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedLinkServiceServer) GetLinkMetadata added in v0.21.0

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) DeleteMemoReaction added in v0.20.0

func (UnimplementedMemoServiceServer) ExportMemos added in v0.19.1

func (UnimplementedMemoServiceServer) GetMemo

func (UnimplementedMemoServiceServer) GetUserMemosStats added in v0.18.2

func (UnimplementedMemoServiceServer) ListMemoComments added in v0.16.0

func (UnimplementedMemoServiceServer) ListMemoReactions added in v0.20.0

func (UnimplementedMemoServiceServer) ListMemoRelations added in v0.18.2

func (UnimplementedMemoServiceServer) ListMemoResources added in v0.18.2

func (UnimplementedMemoServiceServer) ListMemos

func (UnimplementedMemoServiceServer) SearchMemos added in v0.21.0

func (UnimplementedMemoServiceServer) SetMemoRelations added in v0.18.2

func (UnimplementedMemoServiceServer) SetMemoResources added in v0.18.2

func (UnimplementedMemoServiceServer) UpdateMemo added in v0.18.2

func (UnimplementedMemoServiceServer) UpsertMemoReaction added in v0.20.0

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) GetResource added in v0.19.0

func (UnimplementedResourceServiceServer) ListResources added in v0.15.0

func (UnimplementedResourceServiceServer) SearchResources added in v0.21.0

func (UnimplementedResourceServiceServer) UpdateResource added in v0.16.0

type UnimplementedStorageServiceServer added in v0.21.1

type UnimplementedStorageServiceServer struct {
}

UnimplementedStorageServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedStorageServiceServer) CreateStorage added in v0.21.1

func (UnimplementedStorageServiceServer) DeleteStorage added in v0.21.1

func (UnimplementedStorageServiceServer) GetStorage added in v0.21.1

func (UnimplementedStorageServiceServer) ListStorages added in v0.21.1

func (UnimplementedStorageServiceServer) UpdateStorage added in v0.21.1

type UnimplementedTagServiceServer

type UnimplementedTagServiceServer struct {
}

UnimplementedTagServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedTagServiceServer) BatchUpsertTag added in v0.19.1

func (UnimplementedTagServiceServer) DeleteTag added in v0.16.0

func (UnimplementedTagServiceServer) GetTagSuggestions added in v0.18.0

func (UnimplementedTagServiceServer) ListTags

func (UnimplementedTagServiceServer) RenameTag added in v0.19.0

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) SearchUsers added in v0.21.0

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

type UnimplementedWorkspaceServiceServer struct {
}

UnimplementedWorkspaceServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedWorkspaceServiceServer) GetWorkspaceProfile added in v0.19.0

type UnimplementedWorkspaceSettingServiceServer added in v0.20.0

type UnimplementedWorkspaceSettingServiceServer struct {
}

UnimplementedWorkspaceSettingServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedWorkspaceSettingServiceServer) GetWorkspaceSetting added in v0.20.0

func (UnimplementedWorkspaceSettingServiceServer) ListWorkspaceSettings added in v0.21.1

func (UnimplementedWorkspaceSettingServiceServer) SetWorkspaceSetting added in v0.20.0

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

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

UnsafeIdentityProviderServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IdentityProviderServiceServer 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 UnsafeLinkServiceServer added in v0.21.0

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

UnsafeLinkServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LinkServiceServer 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 UnsafeStorageServiceServer added in v0.21.1

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

UnsafeStorageServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StorageServiceServer 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 UnsafeWorkspaceServiceServer added in v0.19.0

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

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

type UnsafeWorkspaceSettingServiceServer added in v0.20.0

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

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

type UpdateIdentityProviderRequest added in v0.21.0

type UpdateIdentityProviderRequest struct {

	// The identityProvider to update.
	IdentityProvider *IdentityProvider `protobuf:"bytes,1,opt,name=identity_provider,json=identityProvider,proto3" json:"identity_provider,omitempty"`
	// The update mask applies to the resource. Only the top level fields of
	// IdentityProvider are supported.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateIdentityProviderRequest) Descriptor deprecated added in v0.21.0

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

Deprecated: Use UpdateIdentityProviderRequest.ProtoReflect.Descriptor instead.

func (*UpdateIdentityProviderRequest) GetIdentityProvider added in v0.21.0

func (x *UpdateIdentityProviderRequest) GetIdentityProvider() *IdentityProvider

func (*UpdateIdentityProviderRequest) GetUpdateMask added in v0.21.0

func (*UpdateIdentityProviderRequest) ProtoMessage added in v0.21.0

func (*UpdateIdentityProviderRequest) ProtoMessage()

func (*UpdateIdentityProviderRequest) ProtoReflect added in v0.21.0

func (*UpdateIdentityProviderRequest) Reset added in v0.21.0

func (x *UpdateIdentityProviderRequest) Reset()

func (*UpdateIdentityProviderRequest) String added in v0.21.0

type UpdateIdentityProviderResponse added in v0.21.0

type UpdateIdentityProviderResponse struct {

	// The updated identityProvider.
	IdentityProvider *IdentityProvider `protobuf:"bytes,1,opt,name=identity_provider,json=identityProvider,proto3" json:"identity_provider,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateIdentityProviderResponse) Descriptor deprecated added in v0.21.0

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

Deprecated: Use UpdateIdentityProviderResponse.ProtoReflect.Descriptor instead.

func (*UpdateIdentityProviderResponse) GetIdentityProvider added in v0.21.0

func (x *UpdateIdentityProviderResponse) GetIdentityProvider() *IdentityProvider

func (*UpdateIdentityProviderResponse) ProtoMessage added in v0.21.0

func (*UpdateIdentityProviderResponse) ProtoMessage()

func (*UpdateIdentityProviderResponse) ProtoReflect added in v0.21.0

func (*UpdateIdentityProviderResponse) Reset added in v0.21.0

func (x *UpdateIdentityProviderResponse) Reset()

func (*UpdateIdentityProviderResponse) String added in v0.21.0

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 {
	Memo       *Memo                  `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,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) 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 UpdateStorageRequest added in v0.21.1

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

func (*UpdateStorageRequest) Descriptor deprecated added in v0.21.1

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

Deprecated: Use UpdateStorageRequest.ProtoReflect.Descriptor instead.

func (*UpdateStorageRequest) GetStorage added in v0.21.1

func (x *UpdateStorageRequest) GetStorage() *Storage

func (*UpdateStorageRequest) GetUpdateMask added in v0.21.1

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

func (*UpdateStorageRequest) ProtoMessage added in v0.21.1

func (*UpdateStorageRequest) ProtoMessage()

func (*UpdateStorageRequest) ProtoReflect added in v0.21.1

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

func (*UpdateStorageRequest) Reset added in v0.21.1

func (x *UpdateStorageRequest) Reset()

func (*UpdateStorageRequest) String added in v0.21.1

func (x *UpdateStorageRequest) String() string

type UpdateStorageResponse added in v0.21.1

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

func (*UpdateStorageResponse) Descriptor deprecated added in v0.21.1

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

Deprecated: Use UpdateStorageResponse.ProtoReflect.Descriptor instead.

func (*UpdateStorageResponse) GetStorage added in v0.21.1

func (x *UpdateStorageResponse) GetStorage() *Storage

func (*UpdateStorageResponse) ProtoMessage added in v0.21.1

func (*UpdateStorageResponse) ProtoMessage()

func (*UpdateStorageResponse) ProtoReflect added in v0.21.1

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

func (*UpdateStorageResponse) Reset added in v0.21.1

func (x *UpdateStorageResponse) Reset()

func (*UpdateStorageResponse) String added in v0.21.1

func (x *UpdateStorageResponse) 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 UpsertMemoReactionRequest added in v0.20.0

type UpsertMemoReactionRequest struct {

	// The name of the memo.
	// Format: memos/{id}
	Name     string    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Reaction *Reaction `protobuf:"bytes,2,opt,name=reaction,proto3" json:"reaction,omitempty"`
	// contains filtered or unexported fields
}

func (*UpsertMemoReactionRequest) Descriptor deprecated added in v0.20.0

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

Deprecated: Use UpsertMemoReactionRequest.ProtoReflect.Descriptor instead.

func (*UpsertMemoReactionRequest) GetName added in v0.21.0

func (x *UpsertMemoReactionRequest) GetName() string

func (*UpsertMemoReactionRequest) GetReaction added in v0.20.0

func (x *UpsertMemoReactionRequest) GetReaction() *Reaction

func (*UpsertMemoReactionRequest) ProtoMessage added in v0.20.0

func (*UpsertMemoReactionRequest) ProtoMessage()

func (*UpsertMemoReactionRequest) ProtoReflect added in v0.20.0

func (*UpsertMemoReactionRequest) Reset added in v0.20.0

func (x *UpsertMemoReactionRequest) Reset()

func (*UpsertMemoReactionRequest) String added in v0.20.0

func (x *UpsertMemoReactionRequest) String() string

type UpsertMemoReactionResponse added in v0.20.0

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

func (*UpsertMemoReactionResponse) Descriptor deprecated added in v0.20.0

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

Deprecated: Use UpsertMemoReactionResponse.ProtoReflect.Descriptor instead.

func (*UpsertMemoReactionResponse) GetReaction added in v0.20.0

func (x *UpsertMemoReactionResponse) GetReaction() *Reaction

func (*UpsertMemoReactionResponse) ProtoMessage added in v0.20.0

func (*UpsertMemoReactionResponse) ProtoMessage()

func (*UpsertMemoReactionResponse) ProtoReflect added in v0.20.0

func (*UpsertMemoReactionResponse) Reset added in v0.20.0

func (x *UpsertMemoReactionResponse) Reset()

func (*UpsertMemoReactionResponse) String added in v0.20.0

func (x *UpsertMemoReactionResponse) 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/{id}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The system generated uid of the user.
	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"`
	Description string                 `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
	Password    string                 `protobuf:"bytes,9,opt,name=password,proto3" json:"password,omitempty"`
	RowStatus   RowStatus              `protobuf:"varint,10,opt,name=row_status,json=rowStatus,proto3,enum=memos.api.v2.RowStatus" json:"row_status,omitempty"`
	CreateTime  *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	UpdateTime  *timestamppb.Timestamp `protobuf:"bytes,12,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) GetDescription added in v0.21.0

func (x *User) GetDescription() string

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)
	// SearchUsers searches users by filter.
	SearchUsers(ctx context.Context, in *SearchUsersRequest, opts ...grpc.CallOption) (*SearchUsersResponse, 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 gets the setting of a user.
	GetUserSetting(ctx context.Context, in *GetUserSettingRequest, opts ...grpc.CallOption) (*GetUserSettingResponse, error)
	// UpdateUserSetting updates the setting of a user.
	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)
	// SearchUsers searches users by filter.
	SearchUsers(context.Context, *SearchUsersRequest) (*SearchUsersResponse, 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 gets the setting of a user.
	GetUserSetting(context.Context, *GetUserSettingRequest) (*GetUserSettingResponse, error)
	// UpdateUserSetting updates the setting of a user.
	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/{id}
	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"`
	// 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) 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 creates a new webhook.
	CreateWebhook(ctx context.Context, in *CreateWebhookRequest, opts ...grpc.CallOption) (*CreateWebhookResponse, error)
	// GetWebhook returns a webhook by id.
	GetWebhook(ctx context.Context, in *GetWebhookRequest, opts ...grpc.CallOption) (*GetWebhookResponse, error)
	// ListWebhooks returns a list of webhooks.
	ListWebhooks(ctx context.Context, in *ListWebhooksRequest, opts ...grpc.CallOption) (*ListWebhooksResponse, error)
	// UpdateWebhook updates a webhook.
	UpdateWebhook(ctx context.Context, in *UpdateWebhookRequest, opts ...grpc.CallOption) (*UpdateWebhookResponse, error)
	// DeleteWebhook deletes a webhook by id.
	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 creates a new webhook.
	CreateWebhook(context.Context, *CreateWebhookRequest) (*CreateWebhookResponse, error)
	// GetWebhook returns a webhook by id.
	GetWebhook(context.Context, *GetWebhookRequest) (*GetWebhookResponse, error)
	// ListWebhooks returns a list of webhooks.
	ListWebhooks(context.Context, *ListWebhooksRequest) (*ListWebhooksResponse, error)
	// UpdateWebhook updates a webhook.
	UpdateWebhook(context.Context, *UpdateWebhookRequest) (*UpdateWebhookResponse, error)
	// DeleteWebhook deletes a webhook by id.
	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

type WorkspaceCustomProfile added in v0.21.1

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

func (*WorkspaceCustomProfile) Descriptor deprecated added in v0.21.1

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

Deprecated: Use WorkspaceCustomProfile.ProtoReflect.Descriptor instead.

func (*WorkspaceCustomProfile) GetAppearance added in v0.21.1

func (x *WorkspaceCustomProfile) GetAppearance() string

func (*WorkspaceCustomProfile) GetDescription added in v0.21.1

func (x *WorkspaceCustomProfile) GetDescription() string

func (*WorkspaceCustomProfile) GetLocale added in v0.21.1

func (x *WorkspaceCustomProfile) GetLocale() string

func (*WorkspaceCustomProfile) GetLogoUrl added in v0.21.1

func (x *WorkspaceCustomProfile) GetLogoUrl() string

func (*WorkspaceCustomProfile) GetTitle added in v0.21.1

func (x *WorkspaceCustomProfile) GetTitle() string

func (*WorkspaceCustomProfile) ProtoMessage added in v0.21.1

func (*WorkspaceCustomProfile) ProtoMessage()

func (*WorkspaceCustomProfile) ProtoReflect added in v0.21.1

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

func (*WorkspaceCustomProfile) Reset added in v0.21.1

func (x *WorkspaceCustomProfile) Reset()

func (*WorkspaceCustomProfile) String added in v0.21.1

func (x *WorkspaceCustomProfile) String() string

type WorkspaceGeneralSetting added in v0.20.0

type WorkspaceGeneralSetting struct {

	// instance_url is the instance URL.
	InstanceUrl string `protobuf:"bytes,1,opt,name=instance_url,json=instanceUrl,proto3" json:"instance_url,omitempty"`
	// disallow_signup is the flag to disallow signup.
	DisallowSignup bool `protobuf:"varint,2,opt,name=disallow_signup,json=disallowSignup,proto3" json:"disallow_signup,omitempty"`
	// disallow_password_login is the flag to disallow password login.
	DisallowPasswordLogin bool `` /* 127-byte string literal not displayed */
	// additional_script is the additional script.
	AdditionalScript string `protobuf:"bytes,4,opt,name=additional_script,json=additionalScript,proto3" json:"additional_script,omitempty"`
	// additional_style is the additional style.
	AdditionalStyle string `protobuf:"bytes,5,opt,name=additional_style,json=additionalStyle,proto3" json:"additional_style,omitempty"`
	// custom_profile is the custom profile.
	CustomProfile *WorkspaceCustomProfile `protobuf:"bytes,6,opt,name=custom_profile,json=customProfile,proto3" json:"custom_profile,omitempty"`
	// contains filtered or unexported fields
}

func (*WorkspaceGeneralSetting) Descriptor deprecated added in v0.20.0

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

Deprecated: Use WorkspaceGeneralSetting.ProtoReflect.Descriptor instead.

func (*WorkspaceGeneralSetting) GetAdditionalScript added in v0.20.0

func (x *WorkspaceGeneralSetting) GetAdditionalScript() string

func (*WorkspaceGeneralSetting) GetAdditionalStyle added in v0.20.0

func (x *WorkspaceGeneralSetting) GetAdditionalStyle() string

func (*WorkspaceGeneralSetting) GetCustomProfile added in v0.21.1

func (x *WorkspaceGeneralSetting) GetCustomProfile() *WorkspaceCustomProfile

func (*WorkspaceGeneralSetting) GetDisallowPasswordLogin added in v0.20.0

func (x *WorkspaceGeneralSetting) GetDisallowPasswordLogin() bool

func (*WorkspaceGeneralSetting) GetDisallowSignup added in v0.20.0

func (x *WorkspaceGeneralSetting) GetDisallowSignup() bool

func (*WorkspaceGeneralSetting) GetInstanceUrl added in v0.20.0

func (x *WorkspaceGeneralSetting) GetInstanceUrl() string

func (*WorkspaceGeneralSetting) ProtoMessage added in v0.20.0

func (*WorkspaceGeneralSetting) ProtoMessage()

func (*WorkspaceGeneralSetting) ProtoReflect added in v0.20.0

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

func (*WorkspaceGeneralSetting) Reset added in v0.20.0

func (x *WorkspaceGeneralSetting) Reset()

func (*WorkspaceGeneralSetting) String added in v0.20.0

func (x *WorkspaceGeneralSetting) String() string

type WorkspaceMemoRelatedSetting added in v0.21.1

type WorkspaceMemoRelatedSetting struct {

	// disallow_public_share disallows set memo as public visible.
	DisallowPublicVisible bool `` /* 127-byte string literal not displayed */
	// display_with_update_time orders and displays memo with update time.
	DisplayWithUpdateTime bool `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*WorkspaceMemoRelatedSetting) Descriptor deprecated added in v0.21.1

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

Deprecated: Use WorkspaceMemoRelatedSetting.ProtoReflect.Descriptor instead.

func (*WorkspaceMemoRelatedSetting) GetDisallowPublicVisible added in v0.21.1

func (x *WorkspaceMemoRelatedSetting) GetDisallowPublicVisible() bool

func (*WorkspaceMemoRelatedSetting) GetDisplayWithUpdateTime added in v0.21.1

func (x *WorkspaceMemoRelatedSetting) GetDisplayWithUpdateTime() bool

func (*WorkspaceMemoRelatedSetting) ProtoMessage added in v0.21.1

func (*WorkspaceMemoRelatedSetting) ProtoMessage()

func (*WorkspaceMemoRelatedSetting) ProtoReflect added in v0.21.1

func (*WorkspaceMemoRelatedSetting) Reset added in v0.21.1

func (x *WorkspaceMemoRelatedSetting) Reset()

func (*WorkspaceMemoRelatedSetting) String added in v0.21.1

func (x *WorkspaceMemoRelatedSetting) String() string

type WorkspaceProfile added in v0.19.0

type WorkspaceProfile struct {

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

func (*WorkspaceProfile) Descriptor deprecated added in v0.19.0

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

Deprecated: Use WorkspaceProfile.ProtoReflect.Descriptor instead.

func (*WorkspaceProfile) GetMode added in v0.19.0

func (x *WorkspaceProfile) GetMode() string

func (*WorkspaceProfile) GetOwner added in v0.21.0

func (x *WorkspaceProfile) GetOwner() string

func (*WorkspaceProfile) GetVersion added in v0.19.0

func (x *WorkspaceProfile) GetVersion() string

func (*WorkspaceProfile) ProtoMessage added in v0.19.0

func (*WorkspaceProfile) ProtoMessage()

func (*WorkspaceProfile) ProtoReflect added in v0.19.0

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

func (*WorkspaceProfile) Reset added in v0.19.0

func (x *WorkspaceProfile) Reset()

func (*WorkspaceProfile) String added in v0.19.0

func (x *WorkspaceProfile) String() string

type WorkspaceServiceClient added in v0.19.0

type WorkspaceServiceClient interface {
	// GetWorkspaceProfile returns the workspace profile.
	GetWorkspaceProfile(ctx context.Context, in *GetWorkspaceProfileRequest, opts ...grpc.CallOption) (*GetWorkspaceProfileResponse, error)
}

WorkspaceServiceClient is the client API for WorkspaceService 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 NewWorkspaceServiceClient added in v0.19.0

func NewWorkspaceServiceClient(cc grpc.ClientConnInterface) WorkspaceServiceClient

type WorkspaceServiceServer added in v0.19.0

type WorkspaceServiceServer interface {
	// GetWorkspaceProfile returns the workspace profile.
	GetWorkspaceProfile(context.Context, *GetWorkspaceProfileRequest) (*GetWorkspaceProfileResponse, error)
	// contains filtered or unexported methods
}

WorkspaceServiceServer is the server API for WorkspaceService service. All implementations must embed UnimplementedWorkspaceServiceServer for forward compatibility

type WorkspaceSetting added in v0.20.0

type WorkspaceSetting struct {

	// name is the name of the setting.
	// Format: settings/{setting}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are assignable to Value:
	//
	//	*WorkspaceSetting_GeneralSetting
	//	*WorkspaceSetting_StorageSetting
	//	*WorkspaceSetting_MemoRelatedSetting
	Value isWorkspaceSetting_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*WorkspaceSetting) Descriptor deprecated added in v0.20.0

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

Deprecated: Use WorkspaceSetting.ProtoReflect.Descriptor instead.

func (*WorkspaceSetting) GetGeneralSetting added in v0.20.0

func (x *WorkspaceSetting) GetGeneralSetting() *WorkspaceGeneralSetting

func (*WorkspaceSetting) GetMemoRelatedSetting added in v0.21.1

func (x *WorkspaceSetting) GetMemoRelatedSetting() *WorkspaceMemoRelatedSetting

func (*WorkspaceSetting) GetName added in v0.20.0

func (x *WorkspaceSetting) GetName() string

func (*WorkspaceSetting) GetStorageSetting added in v0.21.1

func (x *WorkspaceSetting) GetStorageSetting() *WorkspaceStorageSetting

func (*WorkspaceSetting) GetValue added in v0.20.0

func (m *WorkspaceSetting) GetValue() isWorkspaceSetting_Value

func (*WorkspaceSetting) ProtoMessage added in v0.20.0

func (*WorkspaceSetting) ProtoMessage()

func (*WorkspaceSetting) ProtoReflect added in v0.20.0

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

func (*WorkspaceSetting) Reset added in v0.20.0

func (x *WorkspaceSetting) Reset()

func (*WorkspaceSetting) String added in v0.20.0

func (x *WorkspaceSetting) String() string

type WorkspaceSettingServiceClient added in v0.20.0

type WorkspaceSettingServiceClient interface {
	// ListWorkspaceSetting returns the list of settings.
	ListWorkspaceSettings(ctx context.Context, in *ListWorkspaceSettingsRequest, opts ...grpc.CallOption) (*ListWorkspaceSettingsResponse, error)
	// GetWorkspaceSetting returns the setting by name.
	GetWorkspaceSetting(ctx context.Context, in *GetWorkspaceSettingRequest, opts ...grpc.CallOption) (*GetWorkspaceSettingResponse, error)
	// SetWorkspaceSetting updates the setting.
	SetWorkspaceSetting(ctx context.Context, in *SetWorkspaceSettingRequest, opts ...grpc.CallOption) (*SetWorkspaceSettingResponse, error)
}

WorkspaceSettingServiceClient is the client API for WorkspaceSettingService 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 NewWorkspaceSettingServiceClient added in v0.20.0

func NewWorkspaceSettingServiceClient(cc grpc.ClientConnInterface) WorkspaceSettingServiceClient

type WorkspaceSettingServiceServer added in v0.20.0

type WorkspaceSettingServiceServer interface {
	// ListWorkspaceSetting returns the list of settings.
	ListWorkspaceSettings(context.Context, *ListWorkspaceSettingsRequest) (*ListWorkspaceSettingsResponse, error)
	// GetWorkspaceSetting returns the setting by name.
	GetWorkspaceSetting(context.Context, *GetWorkspaceSettingRequest) (*GetWorkspaceSettingResponse, error)
	// SetWorkspaceSetting updates the setting.
	SetWorkspaceSetting(context.Context, *SetWorkspaceSettingRequest) (*SetWorkspaceSettingResponse, error)
	// contains filtered or unexported methods
}

WorkspaceSettingServiceServer is the server API for WorkspaceSettingService service. All implementations must embed UnimplementedWorkspaceSettingServiceServer for forward compatibility

type WorkspaceSetting_GeneralSetting added in v0.20.0

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

type WorkspaceSetting_MemoRelatedSetting added in v0.21.1

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

type WorkspaceSetting_StorageSetting added in v0.21.1

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

type WorkspaceStorageSetting added in v0.21.1

type WorkspaceStorageSetting struct {

	// storage_type is the storage type.
	StorageType WorkspaceStorageSetting_StorageType `` /* 149-byte string literal not displayed */
	// The id of actived external storage.
	ActivedExternalStorageId *int32 `` /* 144-byte string literal not displayed */
	// The template of local storage path.
	// e.g. assets/{timestamp}_{filename}
	LocalStoragePathTemplate string `` /* 137-byte string literal not displayed */
	// The max upload size in megabytes.
	UploadSizeLimitMb int64 `protobuf:"varint,4,opt,name=upload_size_limit_mb,json=uploadSizeLimitMb,proto3" json:"upload_size_limit_mb,omitempty"`
	// contains filtered or unexported fields
}

func (*WorkspaceStorageSetting) Descriptor deprecated added in v0.21.1

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

Deprecated: Use WorkspaceStorageSetting.ProtoReflect.Descriptor instead.

func (*WorkspaceStorageSetting) GetActivedExternalStorageId added in v0.21.1

func (x *WorkspaceStorageSetting) GetActivedExternalStorageId() int32

func (*WorkspaceStorageSetting) GetLocalStoragePathTemplate added in v0.21.1

func (x *WorkspaceStorageSetting) GetLocalStoragePathTemplate() string

func (*WorkspaceStorageSetting) GetStorageType added in v0.21.1

func (*WorkspaceStorageSetting) GetUploadSizeLimitMb added in v0.21.1

func (x *WorkspaceStorageSetting) GetUploadSizeLimitMb() int64

func (*WorkspaceStorageSetting) ProtoMessage added in v0.21.1

func (*WorkspaceStorageSetting) ProtoMessage()

func (*WorkspaceStorageSetting) ProtoReflect added in v0.21.1

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

func (*WorkspaceStorageSetting) Reset added in v0.21.1

func (x *WorkspaceStorageSetting) Reset()

func (*WorkspaceStorageSetting) String added in v0.21.1

func (x *WorkspaceStorageSetting) String() string

type WorkspaceStorageSetting_StorageType added in v0.21.1

type WorkspaceStorageSetting_StorageType int32
const (
	WorkspaceStorageSetting_STORAGE_TYPE_UNSPECIFIED WorkspaceStorageSetting_StorageType = 0
	// STORAGE_TYPE_DATABASE is the database storage type.
	WorkspaceStorageSetting_STORAGE_TYPE_DATABASE WorkspaceStorageSetting_StorageType = 1
	// STORAGE_TYPE_LOCAL is the local storage type.
	WorkspaceStorageSetting_STORAGE_TYPE_LOCAL WorkspaceStorageSetting_StorageType = 2
	// STORAGE_TYPE_EXTERNAL is the external storage type.
	WorkspaceStorageSetting_STORAGE_TYPE_EXTERNAL WorkspaceStorageSetting_StorageType = 3
)

func (WorkspaceStorageSetting_StorageType) Descriptor added in v0.21.1

func (WorkspaceStorageSetting_StorageType) Enum added in v0.21.1

func (WorkspaceStorageSetting_StorageType) EnumDescriptor deprecated added in v0.21.1

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

Deprecated: Use WorkspaceStorageSetting_StorageType.Descriptor instead.

func (WorkspaceStorageSetting_StorageType) Number added in v0.21.1

func (WorkspaceStorageSetting_StorageType) String added in v0.21.1

func (WorkspaceStorageSetting_StorageType) Type added in v0.21.1

Jump to

Keyboard shortcuts

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