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.
Index ¶
- Constants
- Variables
- func RegisterActivityServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterActivityServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ActivityServiceClient) error
- func RegisterActivityServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterActivityServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ActivityServiceServer) error
- func RegisterActivityServiceServer(s grpc.ServiceRegistrar, srv ActivityServiceServer)
- func RegisterAuthServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAuthServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuthServiceClient) error
- func RegisterAuthServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAuthServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuthServiceServer) error
- func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
- func RegisterInboxServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterInboxServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client InboxServiceClient) error
- func RegisterInboxServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterInboxServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server InboxServiceServer) error
- func RegisterInboxServiceServer(s grpc.ServiceRegistrar, srv InboxServiceServer)
- func RegisterMemoServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterMemoServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MemoServiceClient) error
- func RegisterMemoServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterMemoServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MemoServiceServer) error
- func RegisterMemoServiceServer(s grpc.ServiceRegistrar, srv MemoServiceServer)
- func RegisterResourceServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterResourceServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ResourceServiceClient) error
- func RegisterResourceServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterResourceServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ResourceServiceServer) error
- func RegisterResourceServiceServer(s grpc.ServiceRegistrar, srv ResourceServiceServer)
- func RegisterTagServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterTagServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TagServiceClient) error
- func RegisterTagServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterTagServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TagServiceServer) error
- func RegisterTagServiceServer(s grpc.ServiceRegistrar, srv TagServiceServer)
- func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error
- func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error
- func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
- func RegisterWebhookServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterWebhookServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WebhookServiceClient) error
- func RegisterWebhookServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterWebhookServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server WebhookServiceServer) error
- func RegisterWebhookServiceServer(s grpc.ServiceRegistrar, srv WebhookServiceServer)
- func RegisterWorkspaceServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterWorkspaceServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WorkspaceServiceClient) error
- func RegisterWorkspaceServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterWorkspaceServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server WorkspaceServiceServer) error
- func RegisterWorkspaceServiceServer(s grpc.ServiceRegistrar, srv WorkspaceServiceServer)
- type Activity
- func (*Activity) Descriptor() ([]byte, []int)deprecated
- func (x *Activity) GetCreateTime() *timestamppb.Timestamp
- func (x *Activity) GetCreatorId() int32
- func (x *Activity) GetId() int32
- func (x *Activity) GetLevel() string
- func (x *Activity) GetPayload() *ActivityPayload
- func (x *Activity) GetType() string
- func (*Activity) ProtoMessage()
- func (x *Activity) ProtoReflect() protoreflect.Message
- func (x *Activity) Reset()
- func (x *Activity) String() string
- type ActivityMemoCommentPayload
- func (*ActivityMemoCommentPayload) Descriptor() ([]byte, []int)deprecated
- func (x *ActivityMemoCommentPayload) GetMemoId() int32
- func (x *ActivityMemoCommentPayload) GetRelatedMemoId() int32
- func (*ActivityMemoCommentPayload) ProtoMessage()
- func (x *ActivityMemoCommentPayload) ProtoReflect() protoreflect.Message
- func (x *ActivityMemoCommentPayload) Reset()
- func (x *ActivityMemoCommentPayload) String() string
- type ActivityPayload
- func (*ActivityPayload) Descriptor() ([]byte, []int)deprecated
- func (x *ActivityPayload) GetMemoComment() *ActivityMemoCommentPayload
- func (x *ActivityPayload) GetVersionUpdate() *ActivityVersionUpdatePayload
- func (*ActivityPayload) ProtoMessage()
- func (x *ActivityPayload) ProtoReflect() protoreflect.Message
- func (x *ActivityPayload) Reset()
- func (x *ActivityPayload) String() string
- type ActivityServiceClient
- type ActivityServiceServer
- type ActivityVersionUpdatePayload
- func (*ActivityVersionUpdatePayload) Descriptor() ([]byte, []int)deprecated
- func (x *ActivityVersionUpdatePayload) GetVersion() string
- func (*ActivityVersionUpdatePayload) ProtoMessage()
- func (x *ActivityVersionUpdatePayload) ProtoReflect() protoreflect.Message
- func (x *ActivityVersionUpdatePayload) Reset()
- func (x *ActivityVersionUpdatePayload) String() string
- type AuthServiceClient
- type AuthServiceServer
- type AutoLinkNode
- func (*AutoLinkNode) Descriptor() ([]byte, []int)deprecated
- func (x *AutoLinkNode) GetIsRawText() bool
- func (x *AutoLinkNode) GetUrl() string
- func (*AutoLinkNode) ProtoMessage()
- func (x *AutoLinkNode) ProtoReflect() protoreflect.Message
- func (x *AutoLinkNode) Reset()
- func (x *AutoLinkNode) String() string
- type BatchUpsertTagRequest
- func (*BatchUpsertTagRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchUpsertTagRequest) GetRequests() []*UpsertTagRequest
- func (*BatchUpsertTagRequest) ProtoMessage()
- func (x *BatchUpsertTagRequest) ProtoReflect() protoreflect.Message
- func (x *BatchUpsertTagRequest) Reset()
- func (x *BatchUpsertTagRequest) String() string
- type BatchUpsertTagResponse
- type BlockquoteNode
- type BoldItalicNode
- func (*BoldItalicNode) Descriptor() ([]byte, []int)deprecated
- func (x *BoldItalicNode) GetContent() string
- func (x *BoldItalicNode) GetSymbol() string
- func (*BoldItalicNode) ProtoMessage()
- func (x *BoldItalicNode) ProtoReflect() protoreflect.Message
- func (x *BoldItalicNode) Reset()
- func (x *BoldItalicNode) String() string
- type BoldNode
- type CodeBlockNode
- func (*CodeBlockNode) Descriptor() ([]byte, []int)deprecated
- func (x *CodeBlockNode) GetContent() string
- func (x *CodeBlockNode) GetLanguage() string
- func (*CodeBlockNode) ProtoMessage()
- func (x *CodeBlockNode) ProtoReflect() protoreflect.Message
- func (x *CodeBlockNode) Reset()
- func (x *CodeBlockNode) String() string
- type CodeNode
- type CreateMemoCommentRequest
- func (*CreateMemoCommentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMemoCommentRequest) GetCreate() *CreateMemoRequest
- func (x *CreateMemoCommentRequest) GetId() int32
- func (*CreateMemoCommentRequest) ProtoMessage()
- func (x *CreateMemoCommentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateMemoCommentRequest) Reset()
- func (x *CreateMemoCommentRequest) String() string
- type CreateMemoCommentResponse
- func (*CreateMemoCommentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMemoCommentResponse) GetMemo() *Memo
- func (*CreateMemoCommentResponse) ProtoMessage()
- func (x *CreateMemoCommentResponse) ProtoReflect() protoreflect.Message
- func (x *CreateMemoCommentResponse) Reset()
- func (x *CreateMemoCommentResponse) String() string
- type CreateMemoRequest
- func (*CreateMemoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMemoRequest) GetContent() string
- func (x *CreateMemoRequest) GetVisibility() Visibility
- func (*CreateMemoRequest) ProtoMessage()
- func (x *CreateMemoRequest) ProtoReflect() protoreflect.Message
- func (x *CreateMemoRequest) Reset()
- func (x *CreateMemoRequest) String() string
- type CreateMemoResponse
- type CreateResourceRequest
- func (*CreateResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResourceRequest) GetExternalLink() string
- func (x *CreateResourceRequest) GetFilename() string
- func (x *CreateResourceRequest) GetMemoId() int32
- func (x *CreateResourceRequest) GetType() string
- func (*CreateResourceRequest) ProtoMessage()
- func (x *CreateResourceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateResourceRequest) Reset()
- func (x *CreateResourceRequest) String() string
- type CreateResourceResponse
- func (*CreateResourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResourceResponse) GetResource() *Resource
- func (*CreateResourceResponse) ProtoMessage()
- func (x *CreateResourceResponse) ProtoReflect() protoreflect.Message
- func (x *CreateResourceResponse) Reset()
- func (x *CreateResourceResponse) String() string
- type CreateUserAccessTokenRequest
- func (*CreateUserAccessTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserAccessTokenRequest) GetDescription() string
- func (x *CreateUserAccessTokenRequest) GetExpiresAt() *timestamppb.Timestamp
- func (x *CreateUserAccessTokenRequest) GetName() string
- func (*CreateUserAccessTokenRequest) ProtoMessage()
- func (x *CreateUserAccessTokenRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserAccessTokenRequest) Reset()
- func (x *CreateUserAccessTokenRequest) String() string
- type CreateUserAccessTokenResponse
- func (*CreateUserAccessTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserAccessTokenResponse) GetAccessToken() *UserAccessToken
- func (*CreateUserAccessTokenResponse) ProtoMessage()
- func (x *CreateUserAccessTokenResponse) ProtoReflect() protoreflect.Message
- func (x *CreateUserAccessTokenResponse) Reset()
- func (x *CreateUserAccessTokenResponse) String() string
- type CreateUserRequest
- type CreateUserResponse
- type CreateWebhookRequest
- func (*CreateWebhookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWebhookRequest) GetName() string
- func (x *CreateWebhookRequest) GetUrl() string
- func (*CreateWebhookRequest) ProtoMessage()
- func (x *CreateWebhookRequest) ProtoReflect() protoreflect.Message
- func (x *CreateWebhookRequest) Reset()
- func (x *CreateWebhookRequest) String() string
- type CreateWebhookResponse
- func (*CreateWebhookResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWebhookResponse) GetWebhook() *Webhook
- func (*CreateWebhookResponse) ProtoMessage()
- func (x *CreateWebhookResponse) ProtoReflect() protoreflect.Message
- func (x *CreateWebhookResponse) Reset()
- func (x *CreateWebhookResponse) String() string
- type DeleteInboxRequest
- func (*DeleteInboxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteInboxRequest) GetName() string
- func (*DeleteInboxRequest) ProtoMessage()
- func (x *DeleteInboxRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteInboxRequest) Reset()
- func (x *DeleteInboxRequest) String() string
- type DeleteInboxResponse
- type DeleteMemoRequest
- type DeleteMemoResponse
- type DeleteResourceRequest
- func (*DeleteResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteResourceRequest) GetId() int32
- func (*DeleteResourceRequest) ProtoMessage()
- func (x *DeleteResourceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteResourceRequest) Reset()
- func (x *DeleteResourceRequest) String() string
- type DeleteResourceResponse
- type DeleteTagRequest
- type DeleteTagResponse
- type DeleteUserAccessTokenRequest
- func (*DeleteUserAccessTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserAccessTokenRequest) GetAccessToken() string
- func (x *DeleteUserAccessTokenRequest) GetName() string
- func (*DeleteUserAccessTokenRequest) ProtoMessage()
- func (x *DeleteUserAccessTokenRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserAccessTokenRequest) Reset()
- func (x *DeleteUserAccessTokenRequest) String() string
- type DeleteUserAccessTokenResponse
- func (*DeleteUserAccessTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteUserAccessTokenResponse) ProtoMessage()
- func (x *DeleteUserAccessTokenResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteUserAccessTokenResponse) Reset()
- func (x *DeleteUserAccessTokenResponse) String() string
- type DeleteUserRequest
- type DeleteUserResponse
- type DeleteWebhookRequest
- func (*DeleteWebhookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteWebhookRequest) GetId() int32
- func (*DeleteWebhookRequest) ProtoMessage()
- func (x *DeleteWebhookRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteWebhookRequest) Reset()
- func (x *DeleteWebhookRequest) String() string
- type DeleteWebhookResponse
- type EmbeddedContentNode
- func (*EmbeddedContentNode) Descriptor() ([]byte, []int)deprecated
- func (x *EmbeddedContentNode) GetParams() string
- func (x *EmbeddedContentNode) GetResourceName() string
- func (*EmbeddedContentNode) ProtoMessage()
- func (x *EmbeddedContentNode) ProtoReflect() protoreflect.Message
- func (x *EmbeddedContentNode) Reset()
- func (x *EmbeddedContentNode) String() string
- type EscapingCharacterNode
- func (*EscapingCharacterNode) Descriptor() ([]byte, []int)deprecated
- func (x *EscapingCharacterNode) GetSymbol() string
- func (*EscapingCharacterNode) ProtoMessage()
- func (x *EscapingCharacterNode) ProtoReflect() protoreflect.Message
- func (x *EscapingCharacterNode) Reset()
- func (x *EscapingCharacterNode) String() string
- type ExportMemosRequest
- func (*ExportMemosRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExportMemosRequest) GetFilter() string
- func (*ExportMemosRequest) ProtoMessage()
- func (x *ExportMemosRequest) ProtoReflect() protoreflect.Message
- func (x *ExportMemosRequest) Reset()
- func (x *ExportMemosRequest) String() string
- type ExportMemosResponse
- func (*ExportMemosResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExportMemosResponse) GetFile() []byte
- func (*ExportMemosResponse) ProtoMessage()
- func (x *ExportMemosResponse) ProtoReflect() protoreflect.Message
- func (x *ExportMemosResponse) Reset()
- func (x *ExportMemosResponse) String() string
- type GetActivityRequest
- type GetActivityResponse
- func (*GetActivityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetActivityResponse) GetActivity() *Activity
- func (*GetActivityResponse) ProtoMessage()
- func (x *GetActivityResponse) ProtoReflect() protoreflect.Message
- func (x *GetActivityResponse) Reset()
- func (x *GetActivityResponse) String() string
- type GetAuthStatusRequest
- type GetAuthStatusResponse
- func (*GetAuthStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAuthStatusResponse) GetUser() *User
- func (*GetAuthStatusResponse) ProtoMessage()
- func (x *GetAuthStatusResponse) ProtoReflect() protoreflect.Message
- func (x *GetAuthStatusResponse) Reset()
- func (x *GetAuthStatusResponse) String() string
- type GetMemoByNameRequest
- func (*GetMemoByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMemoByNameRequest) GetName() string
- func (*GetMemoByNameRequest) ProtoMessage()
- func (x *GetMemoByNameRequest) ProtoReflect() protoreflect.Message
- func (x *GetMemoByNameRequest) Reset()
- func (x *GetMemoByNameRequest) String() string
- type GetMemoByNameResponse
- func (*GetMemoByNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMemoByNameResponse) GetMemo() *Memo
- func (*GetMemoByNameResponse) ProtoMessage()
- func (x *GetMemoByNameResponse) ProtoReflect() protoreflect.Message
- func (x *GetMemoByNameResponse) Reset()
- func (x *GetMemoByNameResponse) String() string
- type GetMemoRequest
- type GetMemoResponse
- type GetResourceByNameRequest
- func (*GetResourceByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourceByNameRequest) GetName() string
- func (*GetResourceByNameRequest) ProtoMessage()
- func (x *GetResourceByNameRequest) ProtoReflect() protoreflect.Message
- func (x *GetResourceByNameRequest) Reset()
- func (x *GetResourceByNameRequest) String() string
- type GetResourceByNameResponse
- func (*GetResourceByNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourceByNameResponse) GetResource() *Resource
- func (*GetResourceByNameResponse) ProtoMessage()
- func (x *GetResourceByNameResponse) ProtoReflect() protoreflect.Message
- func (x *GetResourceByNameResponse) Reset()
- func (x *GetResourceByNameResponse) String() string
- type GetResourceRequest
- type GetResourceResponse
- func (*GetResourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourceResponse) GetResource() *Resource
- func (*GetResourceResponse) ProtoMessage()
- func (x *GetResourceResponse) ProtoReflect() protoreflect.Message
- func (x *GetResourceResponse) Reset()
- func (x *GetResourceResponse) String() string
- type GetTagSuggestionsRequest
- func (*GetTagSuggestionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTagSuggestionsRequest) GetUser() string
- func (*GetTagSuggestionsRequest) ProtoMessage()
- func (x *GetTagSuggestionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetTagSuggestionsRequest) Reset()
- func (x *GetTagSuggestionsRequest) String() string
- type GetTagSuggestionsResponse
- func (*GetTagSuggestionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTagSuggestionsResponse) GetTags() []string
- func (*GetTagSuggestionsResponse) ProtoMessage()
- func (x *GetTagSuggestionsResponse) ProtoReflect() protoreflect.Message
- func (x *GetTagSuggestionsResponse) Reset()
- func (x *GetTagSuggestionsResponse) String() string
- type GetUserMemosStatsRequest
- func (*GetUserMemosStatsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserMemosStatsRequest) GetFilter() string
- func (x *GetUserMemosStatsRequest) GetName() string
- func (x *GetUserMemosStatsRequest) GetTimezone() string
- func (*GetUserMemosStatsRequest) ProtoMessage()
- func (x *GetUserMemosStatsRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserMemosStatsRequest) Reset()
- func (x *GetUserMemosStatsRequest) String() string
- type GetUserMemosStatsResponse
- func (*GetUserMemosStatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserMemosStatsResponse) GetStats() map[string]int32
- func (*GetUserMemosStatsResponse) ProtoMessage()
- func (x *GetUserMemosStatsResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserMemosStatsResponse) Reset()
- func (x *GetUserMemosStatsResponse) String() string
- type GetUserRequest
- type GetUserResponse
- type GetUserSettingRequest
- func (*GetUserSettingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserSettingRequest) GetName() string
- func (*GetUserSettingRequest) ProtoMessage()
- func (x *GetUserSettingRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserSettingRequest) Reset()
- func (x *GetUserSettingRequest) String() string
- type GetUserSettingResponse
- func (*GetUserSettingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserSettingResponse) GetSetting() *UserSetting
- func (*GetUserSettingResponse) ProtoMessage()
- func (x *GetUserSettingResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserSettingResponse) Reset()
- func (x *GetUserSettingResponse) String() string
- type GetWebhookRequest
- type GetWebhookResponse
- func (*GetWebhookResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetWebhookResponse) GetWebhook() *Webhook
- func (*GetWebhookResponse) ProtoMessage()
- func (x *GetWebhookResponse) ProtoReflect() protoreflect.Message
- func (x *GetWebhookResponse) Reset()
- func (x *GetWebhookResponse) String() string
- type GetWorkspaceProfileRequest
- type GetWorkspaceProfileResponse
- func (*GetWorkspaceProfileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetWorkspaceProfileResponse) GetWorkspaceProfile() *WorkspaceProfile
- func (*GetWorkspaceProfileResponse) ProtoMessage()
- func (x *GetWorkspaceProfileResponse) ProtoReflect() protoreflect.Message
- func (x *GetWorkspaceProfileResponse) Reset()
- func (x *GetWorkspaceProfileResponse) String() string
- type HeadingNode
- func (*HeadingNode) Descriptor() ([]byte, []int)deprecated
- func (x *HeadingNode) GetChildren() []*Node
- func (x *HeadingNode) GetLevel() int32
- func (*HeadingNode) ProtoMessage()
- func (x *HeadingNode) ProtoReflect() protoreflect.Message
- func (x *HeadingNode) Reset()
- func (x *HeadingNode) String() string
- type HighlightNode
- type HorizontalRuleNode
- func (*HorizontalRuleNode) Descriptor() ([]byte, []int)deprecated
- func (x *HorizontalRuleNode) GetSymbol() string
- func (*HorizontalRuleNode) ProtoMessage()
- func (x *HorizontalRuleNode) ProtoReflect() protoreflect.Message
- func (x *HorizontalRuleNode) Reset()
- func (x *HorizontalRuleNode) String() string
- type ImageNode
- type Inbox
- func (*Inbox) Descriptor() ([]byte, []int)deprecated
- func (x *Inbox) GetActivityId() int32
- func (x *Inbox) GetCreateTime() *timestamppb.Timestamp
- func (x *Inbox) GetName() string
- func (x *Inbox) GetReceiver() string
- func (x *Inbox) GetSender() string
- func (x *Inbox) GetStatus() Inbox_Status
- func (x *Inbox) GetType() Inbox_Type
- func (*Inbox) ProtoMessage()
- func (x *Inbox) ProtoReflect() protoreflect.Message
- func (x *Inbox) Reset()
- func (x *Inbox) String() string
- type InboxServiceClient
- type InboxServiceServer
- type Inbox_Status
- func (Inbox_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Inbox_Status) Enum() *Inbox_Status
- func (Inbox_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Inbox_Status) Number() protoreflect.EnumNumber
- func (x Inbox_Status) String() string
- func (Inbox_Status) Type() protoreflect.EnumType
- type Inbox_Type
- type ItalicNode
- type LineBreakNode
- type LinkNode
- type ListInboxesRequest
- func (*ListInboxesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListInboxesRequest) GetUser() string
- func (*ListInboxesRequest) ProtoMessage()
- func (x *ListInboxesRequest) ProtoReflect() protoreflect.Message
- func (x *ListInboxesRequest) Reset()
- func (x *ListInboxesRequest) String() string
- type ListInboxesResponse
- func (*ListInboxesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListInboxesResponse) GetInboxes() []*Inbox
- func (*ListInboxesResponse) ProtoMessage()
- func (x *ListInboxesResponse) ProtoReflect() protoreflect.Message
- func (x *ListInboxesResponse) Reset()
- func (x *ListInboxesResponse) String() string
- type ListMemoCommentsRequest
- func (*ListMemoCommentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMemoCommentsRequest) GetId() int32
- func (*ListMemoCommentsRequest) ProtoMessage()
- func (x *ListMemoCommentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListMemoCommentsRequest) Reset()
- func (x *ListMemoCommentsRequest) String() string
- type ListMemoCommentsResponse
- func (*ListMemoCommentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMemoCommentsResponse) GetMemos() []*Memo
- func (*ListMemoCommentsResponse) ProtoMessage()
- func (x *ListMemoCommentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListMemoCommentsResponse) Reset()
- func (x *ListMemoCommentsResponse) String() string
- type ListMemoRelationsRequest
- func (*ListMemoRelationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMemoRelationsRequest) GetId() int32
- func (*ListMemoRelationsRequest) ProtoMessage()
- func (x *ListMemoRelationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListMemoRelationsRequest) Reset()
- func (x *ListMemoRelationsRequest) String() string
- type ListMemoRelationsResponse
- func (*ListMemoRelationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMemoRelationsResponse) GetRelations() []*MemoRelation
- func (*ListMemoRelationsResponse) ProtoMessage()
- func (x *ListMemoRelationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListMemoRelationsResponse) Reset()
- func (x *ListMemoRelationsResponse) String() string
- type ListMemoResourcesRequest
- func (*ListMemoResourcesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMemoResourcesRequest) GetId() int32
- func (*ListMemoResourcesRequest) ProtoMessage()
- func (x *ListMemoResourcesRequest) ProtoReflect() protoreflect.Message
- func (x *ListMemoResourcesRequest) Reset()
- func (x *ListMemoResourcesRequest) String() string
- type ListMemoResourcesResponse
- func (*ListMemoResourcesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMemoResourcesResponse) GetResources() []*Resource
- func (*ListMemoResourcesResponse) ProtoMessage()
- func (x *ListMemoResourcesResponse) ProtoReflect() protoreflect.Message
- func (x *ListMemoResourcesResponse) Reset()
- func (x *ListMemoResourcesResponse) String() string
- type ListMemosRequest
- func (*ListMemosRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMemosRequest) GetFilter() string
- func (x *ListMemosRequest) GetPageSize() int32
- func (x *ListMemosRequest) GetPageToken() string
- func (*ListMemosRequest) ProtoMessage()
- func (x *ListMemosRequest) ProtoReflect() protoreflect.Message
- func (x *ListMemosRequest) Reset()
- func (x *ListMemosRequest) String() string
- type ListMemosResponse
- func (*ListMemosResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMemosResponse) GetMemos() []*Memo
- func (x *ListMemosResponse) GetNextPageToken() string
- func (*ListMemosResponse) ProtoMessage()
- func (x *ListMemosResponse) ProtoReflect() protoreflect.Message
- func (x *ListMemosResponse) Reset()
- func (x *ListMemosResponse) String() string
- type ListResourcesRequest
- type ListResourcesResponse
- func (*ListResourcesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourcesResponse) GetResources() []*Resource
- func (*ListResourcesResponse) ProtoMessage()
- func (x *ListResourcesResponse) ProtoReflect() protoreflect.Message
- func (x *ListResourcesResponse) Reset()
- func (x *ListResourcesResponse) String() string
- type ListTagsRequest
- type ListTagsResponse
- type ListUserAccessTokensRequest
- func (*ListUserAccessTokensRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserAccessTokensRequest) GetName() string
- func (*ListUserAccessTokensRequest) ProtoMessage()
- func (x *ListUserAccessTokensRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserAccessTokensRequest) Reset()
- func (x *ListUserAccessTokensRequest) String() string
- type ListUserAccessTokensResponse
- func (*ListUserAccessTokensResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserAccessTokensResponse) GetAccessTokens() []*UserAccessToken
- func (*ListUserAccessTokensResponse) ProtoMessage()
- func (x *ListUserAccessTokensResponse) ProtoReflect() protoreflect.Message
- func (x *ListUserAccessTokensResponse) Reset()
- func (x *ListUserAccessTokensResponse) String() string
- type ListUsersRequest
- type ListUsersResponse
- type ListWebhooksRequest
- func (*ListWebhooksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListWebhooksRequest) GetCreatorId() int32
- func (*ListWebhooksRequest) ProtoMessage()
- func (x *ListWebhooksRequest) ProtoReflect() protoreflect.Message
- func (x *ListWebhooksRequest) Reset()
- func (x *ListWebhooksRequest) String() string
- type ListWebhooksResponse
- func (*ListWebhooksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListWebhooksResponse) GetWebhooks() []*Webhook
- func (*ListWebhooksResponse) ProtoMessage()
- func (x *ListWebhooksResponse) ProtoReflect() protoreflect.Message
- func (x *ListWebhooksResponse) Reset()
- func (x *ListWebhooksResponse) String() string
- type MathBlockNode
- type MathNode
- type Memo
- func (*Memo) Descriptor() ([]byte, []int)deprecated
- func (x *Memo) GetContent() string
- func (x *Memo) GetCreateTime() *timestamppb.Timestamp
- func (x *Memo) GetCreator() string
- func (x *Memo) GetCreatorId() int32
- func (x *Memo) GetDisplayTime() *timestamppb.Timestamp
- func (x *Memo) GetId() int32
- func (x *Memo) GetName() string
- func (x *Memo) GetParentId() int32
- func (x *Memo) GetPinned() bool
- func (x *Memo) GetRelations() []*MemoRelation
- func (x *Memo) GetResources() []*Resource
- func (x *Memo) GetRowStatus() RowStatus
- func (x *Memo) GetUpdateTime() *timestamppb.Timestamp
- func (x *Memo) GetVisibility() Visibility
- func (*Memo) ProtoMessage()
- func (x *Memo) ProtoReflect() protoreflect.Message
- func (x *Memo) Reset()
- func (x *Memo) String() string
- type MemoRelation
- func (*MemoRelation) Descriptor() ([]byte, []int)deprecated
- func (x *MemoRelation) GetMemoId() int32
- func (x *MemoRelation) GetRelatedMemoId() int32
- func (x *MemoRelation) GetType() MemoRelation_Type
- func (*MemoRelation) ProtoMessage()
- func (x *MemoRelation) ProtoReflect() protoreflect.Message
- func (x *MemoRelation) Reset()
- func (x *MemoRelation) String() string
- type MemoRelation_Type
- func (MemoRelation_Type) Descriptor() protoreflect.EnumDescriptor
- func (x MemoRelation_Type) Enum() *MemoRelation_Type
- func (MemoRelation_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x MemoRelation_Type) Number() protoreflect.EnumNumber
- func (x MemoRelation_Type) String() string
- func (MemoRelation_Type) Type() protoreflect.EnumType
- type MemoServiceClient
- type MemoServiceServer
- type MemoService_ExportMemosClient
- type MemoService_ExportMemosServer
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetAutoLinkNode() *AutoLinkNode
- func (x *Node) GetBlockquoteNode() *BlockquoteNode
- func (x *Node) GetBoldItalicNode() *BoldItalicNode
- func (x *Node) GetBoldNode() *BoldNode
- func (x *Node) GetCodeBlockNode() *CodeBlockNode
- func (x *Node) GetCodeNode() *CodeNode
- func (x *Node) GetEmbeddedContentNode() *EmbeddedContentNode
- func (x *Node) GetEscapingCharacterNode() *EscapingCharacterNode
- func (x *Node) GetHeadingNode() *HeadingNode
- func (x *Node) GetHighlightNode() *HighlightNode
- func (x *Node) GetHorizontalRuleNode() *HorizontalRuleNode
- func (x *Node) GetImageNode() *ImageNode
- func (x *Node) GetItalicNode() *ItalicNode
- func (x *Node) GetLineBreakNode() *LineBreakNode
- func (x *Node) GetLinkNode() *LinkNode
- func (x *Node) GetMathBlockNode() *MathBlockNode
- func (x *Node) GetMathNode() *MathNode
- func (m *Node) GetNode() isNode_Node
- func (x *Node) GetOrderedListNode() *OrderedListNode
- func (x *Node) GetParagraphNode() *ParagraphNode
- func (x *Node) GetReferencedContentNode() *ReferencedContentNode
- func (x *Node) GetStrikethroughNode() *StrikethroughNode
- func (x *Node) GetSubscriptNode() *SubscriptNode
- func (x *Node) GetSuperscriptNode() *SuperscriptNode
- func (x *Node) GetTableNode() *TableNode
- func (x *Node) GetTagNode() *TagNode
- func (x *Node) GetTaskListNode() *TaskListNode
- func (x *Node) GetTextNode() *TextNode
- func (x *Node) GetType() NodeType
- func (x *Node) GetUnorderedListNode() *UnorderedListNode
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- type NodeType
- type Node_AutoLinkNode
- type Node_BlockquoteNode
- type Node_BoldItalicNode
- type Node_BoldNode
- type Node_CodeBlockNode
- type Node_CodeNode
- type Node_EmbeddedContentNode
- type Node_EscapingCharacterNode
- type Node_HeadingNode
- type Node_HighlightNode
- type Node_HorizontalRuleNode
- type Node_ImageNode
- type Node_ItalicNode
- type Node_LineBreakNode
- type Node_LinkNode
- type Node_MathBlockNode
- type Node_MathNode
- type Node_OrderedListNode
- type Node_ParagraphNode
- type Node_ReferencedContentNode
- type Node_StrikethroughNode
- type Node_SubscriptNode
- type Node_SuperscriptNode
- type Node_TableNode
- type Node_TagNode
- type Node_TaskListNode
- type Node_TextNode
- type Node_UnorderedListNode
- type OrderedListNode
- func (*OrderedListNode) Descriptor() ([]byte, []int)deprecated
- func (x *OrderedListNode) GetChildren() []*Node
- func (x *OrderedListNode) GetIndent() int32
- func (x *OrderedListNode) GetNumber() string
- func (*OrderedListNode) ProtoMessage()
- func (x *OrderedListNode) ProtoReflect() protoreflect.Message
- func (x *OrderedListNode) Reset()
- func (x *OrderedListNode) String() string
- type PageToken
- type ParagraphNode
- type ReferencedContentNode
- func (*ReferencedContentNode) Descriptor() ([]byte, []int)deprecated
- func (x *ReferencedContentNode) GetParams() string
- func (x *ReferencedContentNode) GetResourceName() string
- func (*ReferencedContentNode) ProtoMessage()
- func (x *ReferencedContentNode) ProtoReflect() protoreflect.Message
- func (x *ReferencedContentNode) Reset()
- func (x *ReferencedContentNode) String() string
- type RenameTagRequest
- func (*RenameTagRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RenameTagRequest) GetNewName() string
- func (x *RenameTagRequest) GetOldName() string
- func (x *RenameTagRequest) GetUser() string
- func (*RenameTagRequest) ProtoMessage()
- func (x *RenameTagRequest) ProtoReflect() protoreflect.Message
- func (x *RenameTagRequest) Reset()
- func (x *RenameTagRequest) String() string
- type RenameTagResponse
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (x *Resource) GetCreateTime() *timestamppb.Timestamp
- func (x *Resource) GetExternalLink() string
- func (x *Resource) GetFilename() string
- func (x *Resource) GetId() int32
- func (x *Resource) GetMemoId() int32
- func (x *Resource) GetName() string
- func (x *Resource) GetSize() int64
- func (x *Resource) GetType() string
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) String() string
- type ResourceServiceClient
- type ResourceServiceServer
- type RowStatus
- type SetMemoRelationsRequest
- func (*SetMemoRelationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetMemoRelationsRequest) GetId() int32
- func (x *SetMemoRelationsRequest) GetRelations() []*MemoRelation
- func (*SetMemoRelationsRequest) ProtoMessage()
- func (x *SetMemoRelationsRequest) ProtoReflect() protoreflect.Message
- func (x *SetMemoRelationsRequest) Reset()
- func (x *SetMemoRelationsRequest) String() string
- type SetMemoRelationsResponse
- type SetMemoResourcesRequest
- func (*SetMemoResourcesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetMemoResourcesRequest) GetId() int32
- func (x *SetMemoResourcesRequest) GetResources() []*Resource
- func (*SetMemoResourcesRequest) ProtoMessage()
- func (x *SetMemoResourcesRequest) ProtoReflect() protoreflect.Message
- func (x *SetMemoResourcesRequest) Reset()
- func (x *SetMemoResourcesRequest) String() string
- type SetMemoResourcesResponse
- type SignInRequest
- func (*SignInRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignInRequest) GetNeverExpire() bool
- func (x *SignInRequest) GetPassword() string
- func (x *SignInRequest) GetUsername() string
- func (*SignInRequest) ProtoMessage()
- func (x *SignInRequest) ProtoReflect() protoreflect.Message
- func (x *SignInRequest) Reset()
- func (x *SignInRequest) String() string
- type SignInResponse
- type SignInWithSSORequest
- func (*SignInWithSSORequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignInWithSSORequest) GetCode() string
- func (x *SignInWithSSORequest) GetIdpId() int32
- func (x *SignInWithSSORequest) GetRedirectUri() string
- func (*SignInWithSSORequest) ProtoMessage()
- func (x *SignInWithSSORequest) ProtoReflect() protoreflect.Message
- func (x *SignInWithSSORequest) Reset()
- func (x *SignInWithSSORequest) String() string
- type SignInWithSSOResponse
- func (*SignInWithSSOResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SignInWithSSOResponse) GetUser() *User
- func (*SignInWithSSOResponse) ProtoMessage()
- func (x *SignInWithSSOResponse) ProtoReflect() protoreflect.Message
- func (x *SignInWithSSOResponse) Reset()
- func (x *SignInWithSSOResponse) String() string
- type SignOutRequest
- type SignOutResponse
- type SignUpRequest
- func (*SignUpRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignUpRequest) GetPassword() string
- func (x *SignUpRequest) GetUsername() string
- func (*SignUpRequest) ProtoMessage()
- func (x *SignUpRequest) ProtoReflect() protoreflect.Message
- func (x *SignUpRequest) Reset()
- func (x *SignUpRequest) String() string
- type SignUpResponse
- type StrikethroughNode
- type SubscriptNode
- type SuperscriptNode
- type TableNode
- func (*TableNode) Descriptor() ([]byte, []int)deprecated
- func (x *TableNode) GetDelimiter() []string
- func (x *TableNode) GetHeader() []string
- func (x *TableNode) GetRows() []*TableNode_Row
- func (*TableNode) ProtoMessage()
- func (x *TableNode) ProtoReflect() protoreflect.Message
- func (x *TableNode) Reset()
- func (x *TableNode) String() string
- type TableNode_Row
- type Tag
- type TagNode
- type TagServiceClient
- type TagServiceServer
- type TaskListNode
- func (*TaskListNode) Descriptor() ([]byte, []int)deprecated
- func (x *TaskListNode) GetChildren() []*Node
- func (x *TaskListNode) GetComplete() bool
- func (x *TaskListNode) GetIndent() int32
- func (x *TaskListNode) GetSymbol() string
- func (*TaskListNode) ProtoMessage()
- func (x *TaskListNode) ProtoReflect() protoreflect.Message
- func (x *TaskListNode) Reset()
- func (x *TaskListNode) String() string
- type TextNode
- type UnimplementedActivityServiceServer
- type UnimplementedAuthServiceServer
- func (UnimplementedAuthServiceServer) GetAuthStatus(context.Context, *GetAuthStatusRequest) (*GetAuthStatusResponse, error)
- func (UnimplementedAuthServiceServer) SignIn(context.Context, *SignInRequest) (*SignInResponse, error)
- func (UnimplementedAuthServiceServer) SignInWithSSO(context.Context, *SignInWithSSORequest) (*SignInWithSSOResponse, error)
- func (UnimplementedAuthServiceServer) SignOut(context.Context, *SignOutRequest) (*SignOutResponse, error)
- func (UnimplementedAuthServiceServer) SignUp(context.Context, *SignUpRequest) (*SignUpResponse, error)
- type UnimplementedInboxServiceServer
- func (UnimplementedInboxServiceServer) DeleteInbox(context.Context, *DeleteInboxRequest) (*DeleteInboxResponse, error)
- func (UnimplementedInboxServiceServer) ListInboxes(context.Context, *ListInboxesRequest) (*ListInboxesResponse, error)
- func (UnimplementedInboxServiceServer) UpdateInbox(context.Context, *UpdateInboxRequest) (*UpdateInboxResponse, error)
- type UnimplementedMemoServiceServer
- func (UnimplementedMemoServiceServer) CreateMemo(context.Context, *CreateMemoRequest) (*CreateMemoResponse, error)
- func (UnimplementedMemoServiceServer) CreateMemoComment(context.Context, *CreateMemoCommentRequest) (*CreateMemoCommentResponse, error)
- func (UnimplementedMemoServiceServer) DeleteMemo(context.Context, *DeleteMemoRequest) (*DeleteMemoResponse, error)
- func (UnimplementedMemoServiceServer) ExportMemos(*ExportMemosRequest, MemoService_ExportMemosServer) error
- func (UnimplementedMemoServiceServer) GetMemo(context.Context, *GetMemoRequest) (*GetMemoResponse, error)
- func (UnimplementedMemoServiceServer) GetMemoByName(context.Context, *GetMemoByNameRequest) (*GetMemoByNameResponse, error)
- func (UnimplementedMemoServiceServer) GetUserMemosStats(context.Context, *GetUserMemosStatsRequest) (*GetUserMemosStatsResponse, error)
- func (UnimplementedMemoServiceServer) ListMemoComments(context.Context, *ListMemoCommentsRequest) (*ListMemoCommentsResponse, error)
- func (UnimplementedMemoServiceServer) ListMemoRelations(context.Context, *ListMemoRelationsRequest) (*ListMemoRelationsResponse, error)
- func (UnimplementedMemoServiceServer) ListMemoResources(context.Context, *ListMemoResourcesRequest) (*ListMemoResourcesResponse, error)
- func (UnimplementedMemoServiceServer) ListMemos(context.Context, *ListMemosRequest) (*ListMemosResponse, error)
- func (UnimplementedMemoServiceServer) SetMemoRelations(context.Context, *SetMemoRelationsRequest) (*SetMemoRelationsResponse, error)
- func (UnimplementedMemoServiceServer) SetMemoResources(context.Context, *SetMemoResourcesRequest) (*SetMemoResourcesResponse, error)
- func (UnimplementedMemoServiceServer) UpdateMemo(context.Context, *UpdateMemoRequest) (*UpdateMemoResponse, error)
- type UnimplementedResourceServiceServer
- func (UnimplementedResourceServiceServer) CreateResource(context.Context, *CreateResourceRequest) (*CreateResourceResponse, error)
- func (UnimplementedResourceServiceServer) DeleteResource(context.Context, *DeleteResourceRequest) (*DeleteResourceResponse, error)
- func (UnimplementedResourceServiceServer) GetResource(context.Context, *GetResourceRequest) (*GetResourceResponse, error)
- func (UnimplementedResourceServiceServer) GetResourceByName(context.Context, *GetResourceByNameRequest) (*GetResourceByNameResponse, error)
- func (UnimplementedResourceServiceServer) ListResources(context.Context, *ListResourcesRequest) (*ListResourcesResponse, error)
- func (UnimplementedResourceServiceServer) UpdateResource(context.Context, *UpdateResourceRequest) (*UpdateResourceResponse, error)
- type UnimplementedTagServiceServer
- func (UnimplementedTagServiceServer) BatchUpsertTag(context.Context, *BatchUpsertTagRequest) (*BatchUpsertTagResponse, error)
- func (UnimplementedTagServiceServer) DeleteTag(context.Context, *DeleteTagRequest) (*DeleteTagResponse, error)
- func (UnimplementedTagServiceServer) GetTagSuggestions(context.Context, *GetTagSuggestionsRequest) (*GetTagSuggestionsResponse, error)
- func (UnimplementedTagServiceServer) ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error)
- func (UnimplementedTagServiceServer) RenameTag(context.Context, *RenameTagRequest) (*RenameTagResponse, error)
- func (UnimplementedTagServiceServer) UpsertTag(context.Context, *UpsertTagRequest) (*UpsertTagResponse, error)
- type UnimplementedUserServiceServer
- func (UnimplementedUserServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
- func (UnimplementedUserServiceServer) CreateUserAccessToken(context.Context, *CreateUserAccessTokenRequest) (*CreateUserAccessTokenResponse, error)
- func (UnimplementedUserServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
- func (UnimplementedUserServiceServer) DeleteUserAccessToken(context.Context, *DeleteUserAccessTokenRequest) (*DeleteUserAccessTokenResponse, error)
- func (UnimplementedUserServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
- func (UnimplementedUserServiceServer) GetUserSetting(context.Context, *GetUserSettingRequest) (*GetUserSettingResponse, error)
- func (UnimplementedUserServiceServer) ListUserAccessTokens(context.Context, *ListUserAccessTokensRequest) (*ListUserAccessTokensResponse, error)
- func (UnimplementedUserServiceServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
- func (UnimplementedUserServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
- func (UnimplementedUserServiceServer) UpdateUserSetting(context.Context, *UpdateUserSettingRequest) (*UpdateUserSettingResponse, error)
- type UnimplementedWebhookServiceServer
- func (UnimplementedWebhookServiceServer) CreateWebhook(context.Context, *CreateWebhookRequest) (*CreateWebhookResponse, error)
- func (UnimplementedWebhookServiceServer) DeleteWebhook(context.Context, *DeleteWebhookRequest) (*DeleteWebhookResponse, error)
- func (UnimplementedWebhookServiceServer) GetWebhook(context.Context, *GetWebhookRequest) (*GetWebhookResponse, error)
- func (UnimplementedWebhookServiceServer) ListWebhooks(context.Context, *ListWebhooksRequest) (*ListWebhooksResponse, error)
- func (UnimplementedWebhookServiceServer) UpdateWebhook(context.Context, *UpdateWebhookRequest) (*UpdateWebhookResponse, error)
- type UnimplementedWorkspaceServiceServer
- func (UnimplementedWorkspaceServiceServer) GetWorkspaceProfile(context.Context, *GetWorkspaceProfileRequest) (*GetWorkspaceProfileResponse, error)
- func (UnimplementedWorkspaceServiceServer) UpdateWorkspaceProfile(context.Context, *UpdateWorkspaceProfileRequest) (*UpdateWorkspaceProfileResponse, error)
- type UnorderedListNode
- func (*UnorderedListNode) Descriptor() ([]byte, []int)deprecated
- func (x *UnorderedListNode) GetChildren() []*Node
- func (x *UnorderedListNode) GetIndent() int32
- func (x *UnorderedListNode) GetSymbol() string
- func (*UnorderedListNode) ProtoMessage()
- func (x *UnorderedListNode) ProtoReflect() protoreflect.Message
- func (x *UnorderedListNode) Reset()
- func (x *UnorderedListNode) String() string
- type UnsafeActivityServiceServer
- type UnsafeAuthServiceServer
- type UnsafeInboxServiceServer
- type UnsafeMemoServiceServer
- type UnsafeResourceServiceServer
- type UnsafeTagServiceServer
- type UnsafeUserServiceServer
- type UnsafeWebhookServiceServer
- type UnsafeWorkspaceServiceServer
- type UpdateInboxRequest
- func (*UpdateInboxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateInboxRequest) GetInbox() *Inbox
- func (x *UpdateInboxRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateInboxRequest) ProtoMessage()
- func (x *UpdateInboxRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateInboxRequest) Reset()
- func (x *UpdateInboxRequest) String() string
- type UpdateInboxResponse
- func (*UpdateInboxResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateInboxResponse) GetInbox() *Inbox
- func (*UpdateInboxResponse) ProtoMessage()
- func (x *UpdateInboxResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateInboxResponse) Reset()
- func (x *UpdateInboxResponse) String() string
- type UpdateMemoRequest
- func (*UpdateMemoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMemoRequest) GetId() int32
- func (x *UpdateMemoRequest) GetMemo() *Memo
- func (x *UpdateMemoRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateMemoRequest) ProtoMessage()
- func (x *UpdateMemoRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateMemoRequest) Reset()
- func (x *UpdateMemoRequest) String() string
- type UpdateMemoResponse
- type UpdateResourceRequest
- func (*UpdateResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResourceRequest) GetResource() *Resource
- func (x *UpdateResourceRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateResourceRequest) ProtoMessage()
- func (x *UpdateResourceRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateResourceRequest) Reset()
- func (x *UpdateResourceRequest) String() string
- type UpdateResourceResponse
- func (*UpdateResourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResourceResponse) GetResource() *Resource
- func (*UpdateResourceResponse) ProtoMessage()
- func (x *UpdateResourceResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateResourceResponse) Reset()
- func (x *UpdateResourceResponse) String() string
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateUserRequest) GetUser() *User
- func (*UpdateUserRequest) ProtoMessage()
- func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRequest) Reset()
- func (x *UpdateUserRequest) String() string
- type UpdateUserResponse
- type UpdateUserSettingRequest
- func (*UpdateUserSettingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserSettingRequest) GetSetting() *UserSetting
- func (x *UpdateUserSettingRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateUserSettingRequest) ProtoMessage()
- func (x *UpdateUserSettingRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserSettingRequest) Reset()
- func (x *UpdateUserSettingRequest) String() string
- type UpdateUserSettingResponse
- func (*UpdateUserSettingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserSettingResponse) GetSetting() *UserSetting
- func (*UpdateUserSettingResponse) ProtoMessage()
- func (x *UpdateUserSettingResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateUserSettingResponse) Reset()
- func (x *UpdateUserSettingResponse) String() string
- type UpdateWebhookRequest
- func (*UpdateWebhookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateWebhookRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateWebhookRequest) GetWebhook() *Webhook
- func (*UpdateWebhookRequest) ProtoMessage()
- func (x *UpdateWebhookRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateWebhookRequest) Reset()
- func (x *UpdateWebhookRequest) String() string
- type UpdateWebhookResponse
- func (*UpdateWebhookResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateWebhookResponse) GetWebhook() *Webhook
- func (*UpdateWebhookResponse) ProtoMessage()
- func (x *UpdateWebhookResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateWebhookResponse) Reset()
- func (x *UpdateWebhookResponse) String() string
- type UpdateWorkspaceProfileRequest
- func (*UpdateWorkspaceProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateWorkspaceProfileRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateWorkspaceProfileRequest) GetWorkspaceProfile() *WorkspaceProfile
- func (*UpdateWorkspaceProfileRequest) ProtoMessage()
- func (x *UpdateWorkspaceProfileRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateWorkspaceProfileRequest) Reset()
- func (x *UpdateWorkspaceProfileRequest) String() string
- type UpdateWorkspaceProfileResponse
- func (*UpdateWorkspaceProfileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateWorkspaceProfileResponse) GetWorkspaceProfile() *WorkspaceProfile
- func (*UpdateWorkspaceProfileResponse) ProtoMessage()
- func (x *UpdateWorkspaceProfileResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateWorkspaceProfileResponse) Reset()
- func (x *UpdateWorkspaceProfileResponse) String() string
- type UpsertTagRequest
- type UpsertTagResponse
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAvatarUrl() string
- func (x *User) GetCreateTime() *timestamppb.Timestamp
- func (x *User) GetEmail() string
- func (x *User) GetId() int32
- func (x *User) GetName() string
- func (x *User) GetNickname() string
- func (x *User) GetPassword() string
- func (x *User) GetRole() User_Role
- func (x *User) GetRowStatus() RowStatus
- func (x *User) GetUpdateTime() *timestamppb.Timestamp
- func (x *User) GetUsername() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserAccessToken
- func (*UserAccessToken) Descriptor() ([]byte, []int)deprecated
- func (x *UserAccessToken) GetAccessToken() string
- func (x *UserAccessToken) GetDescription() string
- func (x *UserAccessToken) GetExpiresAt() *timestamppb.Timestamp
- func (x *UserAccessToken) GetIssuedAt() *timestamppb.Timestamp
- func (*UserAccessToken) ProtoMessage()
- func (x *UserAccessToken) ProtoReflect() protoreflect.Message
- func (x *UserAccessToken) Reset()
- func (x *UserAccessToken) String() string
- type UserServiceClient
- type UserServiceServer
- type UserSetting
- func (*UserSetting) Descriptor() ([]byte, []int)deprecated
- func (x *UserSetting) GetAppearance() string
- func (x *UserSetting) GetLocale() string
- func (x *UserSetting) GetMemoVisibility() string
- func (x *UserSetting) GetName() string
- func (x *UserSetting) GetTelegramUserId() string
- func (*UserSetting) ProtoMessage()
- func (x *UserSetting) ProtoReflect() protoreflect.Message
- func (x *UserSetting) Reset()
- func (x *UserSetting) String() string
- type User_Role
- type Visibility
- type Webhook
- func (*Webhook) Descriptor() ([]byte, []int)deprecated
- func (x *Webhook) GetCreatedTime() *timestamppb.Timestamp
- func (x *Webhook) GetCreatorId() int32
- func (x *Webhook) GetId() int32
- func (x *Webhook) GetName() string
- func (x *Webhook) GetRowStatus() RowStatus
- func (x *Webhook) GetUpdatedTime() *timestamppb.Timestamp
- func (x *Webhook) GetUrl() string
- func (*Webhook) ProtoMessage()
- func (x *Webhook) ProtoReflect() protoreflect.Message
- func (x *Webhook) Reset()
- func (x *Webhook) String() string
- type WebhookServiceClient
- type WebhookServiceServer
- type WorkspaceProfile
- func (*WorkspaceProfile) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceProfile) GetAdditionalScript() string
- func (x *WorkspaceProfile) GetAdditionalStyle() string
- func (x *WorkspaceProfile) GetAllowRegistration() bool
- func (x *WorkspaceProfile) GetDisablePasswordLogin() bool
- func (x *WorkspaceProfile) GetMode() string
- func (x *WorkspaceProfile) GetVersion() string
- func (*WorkspaceProfile) ProtoMessage()
- func (x *WorkspaceProfile) ProtoReflect() protoreflect.Message
- func (x *WorkspaceProfile) Reset()
- func (x *WorkspaceProfile) String() string
- type WorkspaceServiceClient
- type WorkspaceServiceServer
Constants ¶
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" )
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" )
const ( MemoService_CreateMemo_FullMethodName = "/memos.api.v2.MemoService/CreateMemo" MemoService_ListMemos_FullMethodName = "/memos.api.v2.MemoService/ListMemos" MemoService_GetMemo_FullMethodName = "/memos.api.v2.MemoService/GetMemo" MemoService_GetMemoByName_FullMethodName = "/memos.api.v2.MemoService/GetMemoByName" MemoService_UpdateMemo_FullMethodName = "/memos.api.v2.MemoService/UpdateMemo" MemoService_DeleteMemo_FullMethodName = "/memos.api.v2.MemoService/DeleteMemo" MemoService_SetMemoResources_FullMethodName = "/memos.api.v2.MemoService/SetMemoResources" MemoService_ListMemoResources_FullMethodName = "/memos.api.v2.MemoService/ListMemoResources" MemoService_SetMemoRelations_FullMethodName = "/memos.api.v2.MemoService/SetMemoRelations" MemoService_ListMemoRelations_FullMethodName = "/memos.api.v2.MemoService/ListMemoRelations" MemoService_CreateMemoComment_FullMethodName = "/memos.api.v2.MemoService/CreateMemoComment" MemoService_ListMemoComments_FullMethodName = "/memos.api.v2.MemoService/ListMemoComments" MemoService_ExportMemos_FullMethodName = "/memos.api.v2.MemoService/ExportMemos" MemoService_GetUserMemosStats_FullMethodName = "/memos.api.v2.MemoService/GetUserMemosStats" )
const ( ResourceService_CreateResource_FullMethodName = "/memos.api.v2.ResourceService/CreateResource" ResourceService_ListResources_FullMethodName = "/memos.api.v2.ResourceService/ListResources" ResourceService_GetResource_FullMethodName = "/memos.api.v2.ResourceService/GetResource" ResourceService_GetResourceByName_FullMethodName = "/memos.api.v2.ResourceService/GetResourceByName" ResourceService_UpdateResource_FullMethodName = "/memos.api.v2.ResourceService/UpdateResource" ResourceService_DeleteResource_FullMethodName = "/memos.api.v2.ResourceService/DeleteResource" )
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" )
const ( UserService_ListUsers_FullMethodName = "/memos.api.v2.UserService/ListUsers" UserService_GetUser_FullMethodName = "/memos.api.v2.UserService/GetUser" UserService_CreateUser_FullMethodName = "/memos.api.v2.UserService/CreateUser" UserService_UpdateUser_FullMethodName = "/memos.api.v2.UserService/UpdateUser" UserService_DeleteUser_FullMethodName = "/memos.api.v2.UserService/DeleteUser" UserService_GetUserSetting_FullMethodName = "/memos.api.v2.UserService/GetUserSetting" UserService_UpdateUserSetting_FullMethodName = "/memos.api.v2.UserService/UpdateUserSetting" UserService_ListUserAccessTokens_FullMethodName = "/memos.api.v2.UserService/ListUserAccessTokens" UserService_CreateUserAccessToken_FullMethodName = "/memos.api.v2.UserService/CreateUserAccessToken" UserService_DeleteUserAccessToken_FullMethodName = "/memos.api.v2.UserService/DeleteUserAccessToken" )
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" )
const ( WorkspaceService_GetWorkspaceProfile_FullMethodName = "/memos.api.v2.WorkspaceService/GetWorkspaceProfile" WorkspaceService_UpdateWorkspaceProfile_FullMethodName = "/memos.api.v2.WorkspaceService/UpdateWorkspaceProfile" )
const (
ActivityService_GetActivity_FullMethodName = "/memos.api.v2.ActivityService/GetActivity"
)
Variables ¶
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.
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.
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.
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.
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.
var ( NodeType_name = map[int32]string{ 0: "NODE_UNSPECIFIED", 1: "LINE_BREAK", 2: "PARAGRAPH", 3: "CODE_BLOCK", 4: "HEADING", 5: "HORIZONTAL_RULE", 6: "BLOCKQUOTE", 7: "ORDERED_LIST", 8: "UNORDERED_LIST", 9: "TASK_LIST", 10: "MATH_BLOCK", 11: "TABLE", 12: "EMBEDDED_CONTENT", 13: "TEXT", 14: "BOLD", 15: "ITALIC", 16: "BOLD_ITALIC", 17: "CODE", 18: "IMAGE", 19: "LINK", 20: "AUTO_LINK", 21: "TAG", 22: "STRIKETHROUGH", 23: "ESCAPING_CHARACTER", 24: "MATH", 25: "HIGHLIGHT", 26: "SUBSCRIPT", 27: "SUPERSCRIPT", 28: "REFERENCED_CONTENT", } NodeType_value = map[string]int32{ "NODE_UNSPECIFIED": 0, "LINE_BREAK": 1, "PARAGRAPH": 2, "CODE_BLOCK": 3, "HEADING": 4, "HORIZONTAL_RULE": 5, "BLOCKQUOTE": 6, "ORDERED_LIST": 7, "UNORDERED_LIST": 8, "TASK_LIST": 9, "MATH_BLOCK": 10, "TABLE": 11, "EMBEDDED_CONTENT": 12, "TEXT": 13, "BOLD": 14, "ITALIC": 15, "BOLD_ITALIC": 16, "CODE": 17, "IMAGE": 18, "LINK": 19, "AUTO_LINK": 20, "TAG": 21, "STRIKETHROUGH": 22, "ESCAPING_CHARACTER": 23, "MATH": 24, "HIGHLIGHT": 25, "SUBSCRIPT": 26, "SUPERSCRIPT": 27, "REFERENCED_CONTENT": 28, } )
Enum value maps for NodeType.
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.
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)
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)
var File_api_v2_activity_service_proto protoreflect.FileDescriptor
var File_api_v2_auth_service_proto protoreflect.FileDescriptor
var File_api_v2_common_proto protoreflect.FileDescriptor
var File_api_v2_inbox_service_proto protoreflect.FileDescriptor
var File_api_v2_memo_relation_service_proto protoreflect.FileDescriptor
var File_api_v2_memo_service_proto protoreflect.FileDescriptor
var File_api_v2_node_proto protoreflect.FileDescriptor
var File_api_v2_resource_service_proto protoreflect.FileDescriptor
var File_api_v2_tag_service_proto protoreflect.FileDescriptor
var File_api_v2_user_service_proto protoreflect.FileDescriptor
var File_api_v2_webhook_service_proto protoreflect.FileDescriptor
var File_api_v2_workspace_service_proto protoreflect.FileDescriptor
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)
var MemoService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "memos.api.v2.MemoService", HandlerType: (*MemoServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateMemo", Handler: _MemoService_CreateMemo_Handler, }, { MethodName: "ListMemos", Handler: _MemoService_ListMemos_Handler, }, { MethodName: "GetMemo", Handler: _MemoService_GetMemo_Handler, }, { MethodName: "GetMemoByName", Handler: _MemoService_GetMemoByName_Handler, }, { MethodName: "UpdateMemo", Handler: _MemoService_UpdateMemo_Handler, }, { MethodName: "DeleteMemo", Handler: _MemoService_DeleteMemo_Handler, }, { MethodName: "SetMemoResources", Handler: _MemoService_SetMemoResources_Handler, }, { MethodName: "ListMemoResources", Handler: _MemoService_ListMemoResources_Handler, }, { MethodName: "SetMemoRelations", Handler: _MemoService_SetMemoRelations_Handler, }, { MethodName: "ListMemoRelations", Handler: _MemoService_ListMemoRelations_Handler, }, { MethodName: "CreateMemoComment", Handler: _MemoService_CreateMemoComment_Handler, }, { MethodName: "ListMemoComments", Handler: _MemoService_ListMemoComments_Handler, }, { MethodName: "GetUserMemosStats", Handler: _MemoService_GetUserMemosStats_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "ExportMemos", Handler: _MemoService_ExportMemos_Handler, ServerStreams: true, }, }, 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)
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: "GetResource", Handler: _ResourceService_GetResource_Handler, }, { MethodName: "GetResourceByName", Handler: _ResourceService_GetResourceByName_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)
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)
var UserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "memos.api.v2.UserService", HandlerType: (*UserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListUsers", Handler: _UserService_ListUsers_Handler, }, { MethodName: "GetUser", Handler: _UserService_GetUser_Handler, }, { MethodName: "CreateUser", Handler: _UserService_CreateUser_Handler, }, { MethodName: "UpdateUser", Handler: _UserService_UpdateUser_Handler, }, { MethodName: "DeleteUser", Handler: _UserService_DeleteUser_Handler, }, { MethodName: "GetUserSetting", Handler: _UserService_GetUserSetting_Handler, }, { MethodName: "UpdateUserSetting", Handler: _UserService_UpdateUserSetting_Handler, }, { MethodName: "ListUserAccessTokens", Handler: _UserService_ListUserAccessTokens_Handler, }, { MethodName: "CreateUserAccessToken", Handler: _UserService_CreateUserAccessToken_Handler, }, { MethodName: "DeleteUserAccessToken", Handler: _UserService_DeleteUserAccessToken_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v2/user_service.proto", }
UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
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)
var WorkspaceService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "memos.api.v2.WorkspaceService", HandlerType: (*WorkspaceServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetWorkspaceProfile", Handler: _WorkspaceService_GetWorkspaceProfile_Handler, }, { MethodName: "UpdateWorkspaceProfile", Handler: _WorkspaceService_UpdateWorkspaceProfile_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)
Functions ¶
func RegisterActivityServiceHandler ¶ added in v0.17.0
func RegisterActivityServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterActivityServiceHandler registers the http handlers for service ActivityService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterActivityServiceHandlerClient ¶ added in v0.17.0
func RegisterActivityServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ActivityServiceClient) error
RegisterActivityServiceHandlerClient registers the http handlers for service ActivityService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ActivityServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ActivityServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ActivityServiceClient" to call the correct interceptors.
func RegisterActivityServiceHandlerFromEndpoint ¶ added in v0.17.0
func RegisterActivityServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterActivityServiceHandlerFromEndpoint is same as RegisterActivityServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterActivityServiceHandlerServer ¶ added in v0.17.0
func RegisterActivityServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ActivityServiceServer) error
RegisterActivityServiceHandlerServer registers the http handlers for service ActivityService to "mux". UnaryRPC :call ActivityServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterActivityServiceHandlerFromEndpoint instead.
func RegisterActivityServiceServer ¶ added in v0.17.0
func RegisterActivityServiceServer(s grpc.ServiceRegistrar, srv ActivityServiceServer)
func RegisterAuthServiceHandler ¶ added in v0.18.0
func RegisterAuthServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAuthServiceHandler registers the http handlers for service AuthService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAuthServiceHandlerClient ¶ added in v0.18.0
func RegisterAuthServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuthServiceClient) error
RegisterAuthServiceHandlerClient registers the http handlers for service AuthService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AuthServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AuthServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AuthServiceClient" to call the correct interceptors.
func RegisterAuthServiceHandlerFromEndpoint ¶ added in v0.18.0
func RegisterAuthServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAuthServiceHandlerFromEndpoint is same as RegisterAuthServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAuthServiceHandlerServer ¶ added in v0.18.0
func RegisterAuthServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuthServiceServer) error
RegisterAuthServiceHandlerServer registers the http handlers for service AuthService to "mux". UnaryRPC :call AuthServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAuthServiceHandlerFromEndpoint instead.
func RegisterAuthServiceServer ¶ added in v0.18.0
func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
func RegisterInboxServiceHandler ¶ added in v0.17.0
func RegisterInboxServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterInboxServiceHandler registers the http handlers for service InboxService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterInboxServiceHandlerClient ¶ added in v0.17.0
func RegisterInboxServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client InboxServiceClient) error
RegisterInboxServiceHandlerClient registers the http handlers for service InboxService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "InboxServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "InboxServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "InboxServiceClient" to call the correct interceptors.
func RegisterInboxServiceHandlerFromEndpoint ¶ added in v0.17.0
func RegisterInboxServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterInboxServiceHandlerFromEndpoint is same as RegisterInboxServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterInboxServiceHandlerServer ¶ added in v0.17.0
func RegisterInboxServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server InboxServiceServer) error
RegisterInboxServiceHandlerServer registers the http handlers for service InboxService to "mux". UnaryRPC :call InboxServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterInboxServiceHandlerFromEndpoint instead.
func RegisterInboxServiceServer ¶ added in v0.17.0
func RegisterInboxServiceServer(s grpc.ServiceRegistrar, srv InboxServiceServer)
func 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 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)
Types ¶
type Activity ¶ added in v0.17.0
type Activity struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatorId int32 `protobuf:"varint,2,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Level string `protobuf:"bytes,4,opt,name=level,proto3" json:"level,omitempty"` CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` Payload *ActivityPayload `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*Activity) Descriptor
deprecated
added in
v0.17.0
func (*Activity) GetCreateTime ¶ added in v0.17.0
func (x *Activity) GetCreateTime() *timestamppb.Timestamp
func (*Activity) GetCreatorId ¶ added in v0.17.0
func (*Activity) GetPayload ¶ added in v0.17.0
func (x *Activity) GetPayload() *ActivityPayload
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
type ActivityMemoCommentPayload ¶ added in v0.17.0
type ActivityMemoCommentPayload struct { MemoId int32 `protobuf:"varint,1,opt,name=memo_id,json=memoId,proto3" json:"memo_id,omitempty"` RelatedMemoId int32 `protobuf:"varint,2,opt,name=related_memo_id,json=relatedMemoId,proto3" json:"related_memo_id,omitempty"` // contains filtered or unexported fields }
func (*ActivityMemoCommentPayload) Descriptor
deprecated
added in
v0.17.0
func (*ActivityMemoCommentPayload) Descriptor() ([]byte, []int)
Deprecated: Use ActivityMemoCommentPayload.ProtoReflect.Descriptor instead.
func (*ActivityMemoCommentPayload) GetMemoId ¶ added in v0.17.0
func (x *ActivityMemoCommentPayload) GetMemoId() int32
func (*ActivityMemoCommentPayload) GetRelatedMemoId ¶ added in v0.17.0
func (x *ActivityMemoCommentPayload) GetRelatedMemoId() int32
func (*ActivityMemoCommentPayload) ProtoMessage ¶ added in v0.17.0
func (*ActivityMemoCommentPayload) ProtoMessage()
func (*ActivityMemoCommentPayload) ProtoReflect ¶ added in v0.17.0
func (x *ActivityMemoCommentPayload) ProtoReflect() protoreflect.Message
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 { 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 (x *ActivityVersionUpdatePayload) ProtoReflect() protoreflect.Message
func (*ActivityVersionUpdatePayload) Reset ¶ added in v0.17.1
func (x *ActivityVersionUpdatePayload) Reset()
func (*ActivityVersionUpdatePayload) String ¶ added in v0.17.1
func (x *ActivityVersionUpdatePayload) String() string
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 AutoLinkNode ¶ added in v0.18.2
type AutoLinkNode struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` IsRawText bool `protobuf:"varint,2,opt,name=is_raw_text,json=isRawText,proto3" json:"is_raw_text,omitempty"` // contains filtered or unexported fields }
func (*AutoLinkNode) Descriptor
deprecated
added in
v0.18.2
func (*AutoLinkNode) Descriptor() ([]byte, []int)
Deprecated: Use AutoLinkNode.ProtoReflect.Descriptor instead.
func (*AutoLinkNode) GetIsRawText ¶ added in v0.18.2
func (x *AutoLinkNode) GetIsRawText() bool
func (*AutoLinkNode) GetUrl ¶ added in v0.18.2
func (x *AutoLinkNode) GetUrl() string
func (*AutoLinkNode) ProtoMessage ¶ added in v0.18.2
func (*AutoLinkNode) ProtoMessage()
func (*AutoLinkNode) ProtoReflect ¶ added in v0.18.2
func (x *AutoLinkNode) ProtoReflect() protoreflect.Message
func (*AutoLinkNode) Reset ¶ added in v0.18.2
func (x *AutoLinkNode) Reset()
func (*AutoLinkNode) String ¶ added in v0.18.2
func (x *AutoLinkNode) String() string
type 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 BlockquoteNode ¶ added in v0.18.2
type BlockquoteNode struct { Children []*Node `protobuf:"bytes,1,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
func (*BlockquoteNode) Descriptor
deprecated
added in
v0.18.2
func (*BlockquoteNode) Descriptor() ([]byte, []int)
Deprecated: Use BlockquoteNode.ProtoReflect.Descriptor instead.
func (*BlockquoteNode) GetChildren ¶ added in v0.18.2
func (x *BlockquoteNode) GetChildren() []*Node
func (*BlockquoteNode) ProtoMessage ¶ added in v0.18.2
func (*BlockquoteNode) ProtoMessage()
func (*BlockquoteNode) ProtoReflect ¶ added in v0.18.2
func (x *BlockquoteNode) ProtoReflect() protoreflect.Message
func (*BlockquoteNode) Reset ¶ added in v0.18.2
func (x *BlockquoteNode) Reset()
func (*BlockquoteNode) String ¶ added in v0.18.2
func (x *BlockquoteNode) String() string
type BoldItalicNode ¶ added in v0.18.2
type BoldItalicNode struct { Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*BoldItalicNode) Descriptor
deprecated
added in
v0.18.2
func (*BoldItalicNode) Descriptor() ([]byte, []int)
Deprecated: Use BoldItalicNode.ProtoReflect.Descriptor instead.
func (*BoldItalicNode) GetContent ¶ added in v0.18.2
func (x *BoldItalicNode) GetContent() string
func (*BoldItalicNode) GetSymbol ¶ added in v0.18.2
func (x *BoldItalicNode) GetSymbol() string
func (*BoldItalicNode) ProtoMessage ¶ added in v0.18.2
func (*BoldItalicNode) ProtoMessage()
func (*BoldItalicNode) ProtoReflect ¶ added in v0.18.2
func (x *BoldItalicNode) ProtoReflect() protoreflect.Message
func (*BoldItalicNode) Reset ¶ added in v0.18.2
func (x *BoldItalicNode) Reset()
func (*BoldItalicNode) String ¶ added in v0.18.2
func (x *BoldItalicNode) String() string
type BoldNode ¶ added in v0.18.2
type BoldNode struct { Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` Children []*Node `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
func (*BoldNode) Descriptor
deprecated
added in
v0.18.2
func (*BoldNode) GetChildren ¶ added in v0.18.2
func (*BoldNode) ProtoMessage ¶ added in v0.18.2
func (*BoldNode) ProtoMessage()
func (*BoldNode) ProtoReflect ¶ added in v0.18.2
func (x *BoldNode) ProtoReflect() protoreflect.Message
type CodeBlockNode ¶ added in v0.18.2
type CodeBlockNode struct { Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"` Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*CodeBlockNode) Descriptor
deprecated
added in
v0.18.2
func (*CodeBlockNode) Descriptor() ([]byte, []int)
Deprecated: Use CodeBlockNode.ProtoReflect.Descriptor instead.
func (*CodeBlockNode) GetContent ¶ added in v0.18.2
func (x *CodeBlockNode) GetContent() string
func (*CodeBlockNode) GetLanguage ¶ added in v0.18.2
func (x *CodeBlockNode) GetLanguage() string
func (*CodeBlockNode) ProtoMessage ¶ added in v0.18.2
func (*CodeBlockNode) ProtoMessage()
func (*CodeBlockNode) ProtoReflect ¶ added in v0.18.2
func (x *CodeBlockNode) ProtoReflect() protoreflect.Message
func (*CodeBlockNode) Reset ¶ added in v0.18.2
func (x *CodeBlockNode) Reset()
func (*CodeBlockNode) String ¶ added in v0.18.2
func (x *CodeBlockNode) String() string
type CodeNode ¶ added in v0.18.2
type CodeNode struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*CodeNode) Descriptor
deprecated
added in
v0.18.2
func (*CodeNode) GetContent ¶ added in v0.18.2
func (*CodeNode) ProtoMessage ¶ added in v0.18.2
func (*CodeNode) ProtoMessage()
func (*CodeNode) ProtoReflect ¶ added in v0.18.2
func (x *CodeNode) ProtoReflect() protoreflect.Message
type CreateMemoCommentRequest ¶ added in v0.16.0
type CreateMemoCommentRequest struct { // id is the memo id to create comment for. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Create *CreateMemoRequest `protobuf:"bytes,2,opt,name=create,proto3" json:"create,omitempty"` // contains filtered or unexported fields }
func (*CreateMemoCommentRequest) Descriptor
deprecated
added in
v0.16.0
func (*CreateMemoCommentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateMemoCommentRequest.ProtoReflect.Descriptor instead.
func (*CreateMemoCommentRequest) GetCreate ¶ added in v0.16.0
func (x *CreateMemoCommentRequest) GetCreate() *CreateMemoRequest
func (*CreateMemoCommentRequest) GetId ¶ added in v0.16.0
func (x *CreateMemoCommentRequest) GetId() int32
func (*CreateMemoCommentRequest) ProtoMessage ¶ added in v0.16.0
func (*CreateMemoCommentRequest) ProtoMessage()
func (*CreateMemoCommentRequest) ProtoReflect ¶ added in v0.16.0
func (x *CreateMemoCommentRequest) ProtoReflect() protoreflect.Message
func (*CreateMemoCommentRequest) Reset ¶ added in v0.16.0
func (x *CreateMemoCommentRequest) Reset()
func (*CreateMemoCommentRequest) String ¶ added in v0.16.0
func (x *CreateMemoCommentRequest) String() string
type CreateMemoCommentResponse ¶ added in v0.16.0
type CreateMemoCommentResponse struct { Memo *Memo `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"` // contains filtered or unexported fields }
func (*CreateMemoCommentResponse) Descriptor
deprecated
added in
v0.16.0
func (*CreateMemoCommentResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateMemoCommentResponse.ProtoReflect.Descriptor instead.
func (*CreateMemoCommentResponse) GetMemo ¶ added in v0.16.0
func (x *CreateMemoCommentResponse) GetMemo() *Memo
func (*CreateMemoCommentResponse) ProtoMessage ¶ added in v0.16.0
func (*CreateMemoCommentResponse) ProtoMessage()
func (*CreateMemoCommentResponse) ProtoReflect ¶ added in v0.16.0
func (x *CreateMemoCommentResponse) ProtoReflect() protoreflect.Message
func (*CreateMemoCommentResponse) Reset ¶ added in v0.16.0
func (x *CreateMemoCommentResponse) Reset()
func (*CreateMemoCommentResponse) String ¶ added in v0.16.0
func (x *CreateMemoCommentResponse) String() string
type CreateMemoRequest ¶ added in v0.16.0
type CreateMemoRequest struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` Visibility Visibility `protobuf:"varint,2,opt,name=visibility,proto3,enum=memos.api.v2.Visibility" json:"visibility,omitempty"` // contains filtered or unexported fields }
func (*CreateMemoRequest) Descriptor
deprecated
added in
v0.16.0
func (*CreateMemoRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateMemoRequest.ProtoReflect.Descriptor instead.
func (*CreateMemoRequest) GetContent ¶ added in v0.16.0
func (x *CreateMemoRequest) GetContent() string
func (*CreateMemoRequest) GetVisibility ¶ added in v0.16.0
func (x *CreateMemoRequest) GetVisibility() Visibility
func (*CreateMemoRequest) ProtoMessage ¶ added in v0.16.0
func (*CreateMemoRequest) ProtoMessage()
func (*CreateMemoRequest) ProtoReflect ¶ added in v0.16.0
func (x *CreateMemoRequest) ProtoReflect() protoreflect.Message
func (*CreateMemoRequest) Reset ¶ added in v0.16.0
func (x *CreateMemoRequest) Reset()
func (*CreateMemoRequest) String ¶ added in v0.16.0
func (x *CreateMemoRequest) String() string
type CreateMemoResponse ¶ added in v0.16.0
type CreateMemoResponse struct { Memo *Memo `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"` // contains filtered or unexported fields }
func (*CreateMemoResponse) Descriptor
deprecated
added in
v0.16.0
func (*CreateMemoResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateMemoResponse.ProtoReflect.Descriptor instead.
func (*CreateMemoResponse) GetMemo ¶ added in v0.16.0
func (x *CreateMemoResponse) GetMemo() *Memo
func (*CreateMemoResponse) ProtoMessage ¶ added in v0.16.0
func (*CreateMemoResponse) ProtoMessage()
func (*CreateMemoResponse) ProtoReflect ¶ added in v0.16.0
func (x *CreateMemoResponse) ProtoReflect() protoreflect.Message
func (*CreateMemoResponse) Reset ¶ added in v0.16.0
func (x *CreateMemoResponse) Reset()
func (*CreateMemoResponse) String ¶ added in v0.16.0
func (x *CreateMemoResponse) String() string
type CreateResourceRequest ¶ added in v0.16.0
type CreateResourceRequest struct { Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` ExternalLink string `protobuf:"bytes,2,opt,name=external_link,json=externalLink,proto3" json:"external_link,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` MemoId *int32 `protobuf:"varint,4,opt,name=memo_id,json=memoId,proto3,oneof" json:"memo_id,omitempty"` // contains filtered or unexported fields }
func (*CreateResourceRequest) Descriptor
deprecated
added in
v0.16.0
func (*CreateResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateResourceRequest.ProtoReflect.Descriptor instead.
func (*CreateResourceRequest) GetExternalLink ¶ added in v0.16.0
func (x *CreateResourceRequest) GetExternalLink() string
func (*CreateResourceRequest) GetFilename ¶ added in v0.16.0
func (x *CreateResourceRequest) GetFilename() string
func (*CreateResourceRequest) GetMemoId ¶ added in v0.16.0
func (x *CreateResourceRequest) GetMemoId() int32
func (*CreateResourceRequest) GetType ¶ added in v0.16.0
func (x *CreateResourceRequest) GetType() string
func (*CreateResourceRequest) ProtoMessage ¶ added in v0.16.0
func (*CreateResourceRequest) ProtoMessage()
func (*CreateResourceRequest) ProtoReflect ¶ added in v0.16.0
func (x *CreateResourceRequest) ProtoReflect() protoreflect.Message
func (*CreateResourceRequest) Reset ¶ added in v0.16.0
func (x *CreateResourceRequest) Reset()
func (*CreateResourceRequest) String ¶ added in v0.16.0
func (x *CreateResourceRequest) String() string
type CreateResourceResponse ¶ added in v0.16.0
type CreateResourceResponse struct { Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*CreateResourceResponse) Descriptor
deprecated
added in
v0.16.0
func (*CreateResourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateResourceResponse.ProtoReflect.Descriptor instead.
func (*CreateResourceResponse) GetResource ¶ added in v0.16.0
func (x *CreateResourceResponse) GetResource() *Resource
func (*CreateResourceResponse) ProtoMessage ¶ added in v0.16.0
func (*CreateResourceResponse) ProtoMessage()
func (*CreateResourceResponse) ProtoReflect ¶ added in v0.16.0
func (x *CreateResourceResponse) ProtoReflect() protoreflect.Message
func (*CreateResourceResponse) Reset ¶ added in v0.16.0
func (x *CreateResourceResponse) Reset()
func (*CreateResourceResponse) String ¶ added in v0.16.0
func (x *CreateResourceResponse) String() string
type CreateUserAccessTokenRequest ¶ added in v0.15.0
type CreateUserAccessTokenRequest struct { // The name of the user. // Format: users/{username} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3,oneof" json:"expires_at,omitempty"` // contains filtered or unexported fields }
func (*CreateUserAccessTokenRequest) Descriptor
deprecated
added in
v0.15.0
func (*CreateUserAccessTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserAccessTokenRequest.ProtoReflect.Descriptor instead.
func (*CreateUserAccessTokenRequest) GetDescription ¶ added in v0.15.2
func (x *CreateUserAccessTokenRequest) GetDescription() string
func (*CreateUserAccessTokenRequest) GetExpiresAt ¶ added in v0.15.2
func (x *CreateUserAccessTokenRequest) GetExpiresAt() *timestamppb.Timestamp
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 (x *CreateUserAccessTokenRequest) ProtoReflect() protoreflect.Message
func (*CreateUserAccessTokenRequest) Reset ¶ added in v0.15.0
func (x *CreateUserAccessTokenRequest) Reset()
func (*CreateUserAccessTokenRequest) String ¶ added in v0.15.0
func (x *CreateUserAccessTokenRequest) String() string
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 (x *CreateUserAccessTokenResponse) ProtoReflect() protoreflect.Message
func (*CreateUserAccessTokenResponse) Reset ¶ added in v0.15.0
func (x *CreateUserAccessTokenResponse) Reset()
func (*CreateUserAccessTokenResponse) String ¶ added in v0.15.0
func (x *CreateUserAccessTokenResponse) String() string
type CreateUserRequest ¶ added in v0.17.0
type CreateUserRequest struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*CreateUserRequest) Descriptor
deprecated
added in
v0.17.0
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetUser ¶ added in v0.17.0
func (x *CreateUserRequest) GetUser() *User
func (*CreateUserRequest) ProtoMessage ¶ added in v0.17.0
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶ added in v0.17.0
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶ added in v0.17.0
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶ added in v0.17.0
func (x *CreateUserRequest) String() string
type CreateUserResponse ¶ added in v0.17.0
type CreateUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*CreateUserResponse) Descriptor
deprecated
added in
v0.17.0
func (*CreateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.
func (*CreateUserResponse) GetUser ¶ added in v0.17.0
func (x *CreateUserResponse) GetUser() *User
func (*CreateUserResponse) ProtoMessage ¶ added in v0.17.0
func (*CreateUserResponse) ProtoMessage()
func (*CreateUserResponse) ProtoReflect ¶ added in v0.17.0
func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
func (*CreateUserResponse) Reset ¶ added in v0.17.0
func (x *CreateUserResponse) Reset()
func (*CreateUserResponse) String ¶ added in v0.17.0
func (x *CreateUserResponse) String() string
type CreateWebhookRequest ¶ added in v0.18.0
type CreateWebhookRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*CreateWebhookRequest) Descriptor
deprecated
added in
v0.18.0
func (*CreateWebhookRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateWebhookRequest.ProtoReflect.Descriptor instead.
func (*CreateWebhookRequest) GetName ¶ added in v0.18.0
func (x *CreateWebhookRequest) GetName() string
func (*CreateWebhookRequest) GetUrl ¶ added in v0.18.0
func (x *CreateWebhookRequest) GetUrl() string
func (*CreateWebhookRequest) ProtoMessage ¶ added in v0.18.0
func (*CreateWebhookRequest) ProtoMessage()
func (*CreateWebhookRequest) ProtoReflect ¶ added in v0.18.0
func (x *CreateWebhookRequest) ProtoReflect() protoreflect.Message
func (*CreateWebhookRequest) Reset ¶ added in v0.18.0
func (x *CreateWebhookRequest) Reset()
func (*CreateWebhookRequest) String ¶ added in v0.18.0
func (x *CreateWebhookRequest) String() string
type CreateWebhookResponse ¶ added in v0.18.0
type CreateWebhookResponse struct { Webhook *Webhook `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,omitempty"` // contains filtered or unexported fields }
func (*CreateWebhookResponse) Descriptor
deprecated
added in
v0.18.0
func (*CreateWebhookResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateWebhookResponse.ProtoReflect.Descriptor instead.
func (*CreateWebhookResponse) GetWebhook ¶ added in v0.18.0
func (x *CreateWebhookResponse) GetWebhook() *Webhook
func (*CreateWebhookResponse) ProtoMessage ¶ added in v0.18.0
func (*CreateWebhookResponse) ProtoMessage()
func (*CreateWebhookResponse) ProtoReflect ¶ added in v0.18.0
func (x *CreateWebhookResponse) ProtoReflect() protoreflect.Message
func (*CreateWebhookResponse) Reset ¶ added in v0.18.0
func (x *CreateWebhookResponse) Reset()
func (*CreateWebhookResponse) String ¶ added in v0.18.0
func (x *CreateWebhookResponse) String() string
type DeleteInboxRequest ¶ added in v0.17.0
type DeleteInboxRequest struct { // The name of the inbox to delete. // Format: inboxes/{inbox} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteInboxRequest) Descriptor
deprecated
added in
v0.17.0
func (*DeleteInboxRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteInboxRequest.ProtoReflect.Descriptor instead.
func (*DeleteInboxRequest) GetName ¶ added in v0.17.0
func (x *DeleteInboxRequest) GetName() string
func (*DeleteInboxRequest) ProtoMessage ¶ added in v0.17.0
func (*DeleteInboxRequest) ProtoMessage()
func (*DeleteInboxRequest) ProtoReflect ¶ added in v0.17.0
func (x *DeleteInboxRequest) ProtoReflect() protoreflect.Message
func (*DeleteInboxRequest) Reset ¶ added in v0.17.0
func (x *DeleteInboxRequest) Reset()
func (*DeleteInboxRequest) String ¶ added in v0.17.0
func (x *DeleteInboxRequest) String() string
type DeleteInboxResponse ¶ added in v0.17.0
type DeleteInboxResponse struct {
// contains filtered or unexported fields
}
func (*DeleteInboxResponse) Descriptor
deprecated
added in
v0.17.0
func (*DeleteInboxResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteInboxResponse.ProtoReflect.Descriptor instead.
func (*DeleteInboxResponse) ProtoMessage ¶ added in v0.17.0
func (*DeleteInboxResponse) ProtoMessage()
func (*DeleteInboxResponse) ProtoReflect ¶ added in v0.17.0
func (x *DeleteInboxResponse) ProtoReflect() protoreflect.Message
func (*DeleteInboxResponse) Reset ¶ added in v0.17.0
func (x *DeleteInboxResponse) Reset()
func (*DeleteInboxResponse) String ¶ added in v0.17.0
func (x *DeleteInboxResponse) String() string
type DeleteMemoRequest ¶ added in v0.18.2
type DeleteMemoRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteMemoRequest) Descriptor
deprecated
added in
v0.18.2
func (*DeleteMemoRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMemoRequest.ProtoReflect.Descriptor instead.
func (*DeleteMemoRequest) GetId ¶ added in v0.18.2
func (x *DeleteMemoRequest) GetId() int32
func (*DeleteMemoRequest) ProtoMessage ¶ added in v0.18.2
func (*DeleteMemoRequest) ProtoMessage()
func (*DeleteMemoRequest) ProtoReflect ¶ added in v0.18.2
func (x *DeleteMemoRequest) ProtoReflect() protoreflect.Message
func (*DeleteMemoRequest) Reset ¶ added in v0.18.2
func (x *DeleteMemoRequest) Reset()
func (*DeleteMemoRequest) String ¶ added in v0.18.2
func (x *DeleteMemoRequest) String() string
type DeleteMemoResponse ¶ added in v0.18.2
type DeleteMemoResponse struct {
// contains filtered or unexported fields
}
func (*DeleteMemoResponse) Descriptor
deprecated
added in
v0.18.2
func (*DeleteMemoResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMemoResponse.ProtoReflect.Descriptor instead.
func (*DeleteMemoResponse) ProtoMessage ¶ added in v0.18.2
func (*DeleteMemoResponse) ProtoMessage()
func (*DeleteMemoResponse) ProtoReflect ¶ added in v0.18.2
func (x *DeleteMemoResponse) ProtoReflect() protoreflect.Message
func (*DeleteMemoResponse) Reset ¶ added in v0.18.2
func (x *DeleteMemoResponse) Reset()
func (*DeleteMemoResponse) String ¶ added in v0.18.2
func (x *DeleteMemoResponse) String() string
type DeleteResourceRequest ¶ added in v0.16.0
type DeleteResourceRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteResourceRequest) Descriptor
deprecated
added in
v0.16.0
func (*DeleteResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResourceRequest.ProtoReflect.Descriptor instead.
func (*DeleteResourceRequest) GetId ¶ added in v0.16.0
func (x *DeleteResourceRequest) GetId() int32
func (*DeleteResourceRequest) ProtoMessage ¶ added in v0.16.0
func (*DeleteResourceRequest) ProtoMessage()
func (*DeleteResourceRequest) ProtoReflect ¶ added in v0.16.0
func (x *DeleteResourceRequest) ProtoReflect() protoreflect.Message
func (*DeleteResourceRequest) Reset ¶ added in v0.16.0
func (x *DeleteResourceRequest) Reset()
func (*DeleteResourceRequest) String ¶ added in v0.16.0
func (x *DeleteResourceRequest) String() string
type DeleteResourceResponse ¶ added in v0.16.0
type DeleteResourceResponse struct {
// contains filtered or unexported fields
}
func (*DeleteResourceResponse) Descriptor
deprecated
added in
v0.16.0
func (*DeleteResourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResourceResponse.ProtoReflect.Descriptor instead.
func (*DeleteResourceResponse) ProtoMessage ¶ added in v0.16.0
func (*DeleteResourceResponse) ProtoMessage()
func (*DeleteResourceResponse) ProtoReflect ¶ added in v0.16.0
func (x *DeleteResourceResponse) ProtoReflect() protoreflect.Message
func (*DeleteResourceResponse) Reset ¶ added in v0.16.0
func (x *DeleteResourceResponse) Reset()
func (*DeleteResourceResponse) String ¶ added in v0.16.0
func (x *DeleteResourceResponse) String() string
type DeleteTagRequest ¶ added in v0.16.0
type DeleteTagRequest struct { Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*DeleteTagRequest) Descriptor
deprecated
added in
v0.16.0
func (*DeleteTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTagRequest.ProtoReflect.Descriptor instead.
func (*DeleteTagRequest) GetTag ¶ added in v0.16.0
func (x *DeleteTagRequest) GetTag() *Tag
func (*DeleteTagRequest) ProtoMessage ¶ added in v0.16.0
func (*DeleteTagRequest) ProtoMessage()
func (*DeleteTagRequest) ProtoReflect ¶ added in v0.16.0
func (x *DeleteTagRequest) ProtoReflect() protoreflect.Message
func (*DeleteTagRequest) Reset ¶ added in v0.16.0
func (x *DeleteTagRequest) Reset()
func (*DeleteTagRequest) String ¶ added in v0.16.0
func (x *DeleteTagRequest) String() string
type DeleteTagResponse ¶ added in v0.16.0
type DeleteTagResponse struct {
// contains filtered or unexported fields
}
func (*DeleteTagResponse) Descriptor
deprecated
added in
v0.16.0
func (*DeleteTagResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTagResponse.ProtoReflect.Descriptor instead.
func (*DeleteTagResponse) ProtoMessage ¶ added in v0.16.0
func (*DeleteTagResponse) ProtoMessage()
func (*DeleteTagResponse) ProtoReflect ¶ added in v0.16.0
func (x *DeleteTagResponse) ProtoReflect() protoreflect.Message
func (*DeleteTagResponse) Reset ¶ added in v0.16.0
func (x *DeleteTagResponse) Reset()
func (*DeleteTagResponse) String ¶ added in v0.16.0
func (x *DeleteTagResponse) String() string
type DeleteUserAccessTokenRequest ¶ added in v0.15.0
type DeleteUserAccessTokenRequest struct { // The name of the user. // Format: users/{username} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // access_token is the access token to delete. AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserAccessTokenRequest) Descriptor
deprecated
added in
v0.15.0
func (*DeleteUserAccessTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserAccessTokenRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserAccessTokenRequest) GetAccessToken ¶ added in v0.15.0
func (x *DeleteUserAccessTokenRequest) GetAccessToken() string
func (*DeleteUserAccessTokenRequest) GetName ¶ added in v0.17.1
func (x *DeleteUserAccessTokenRequest) GetName() string
func (*DeleteUserAccessTokenRequest) ProtoMessage ¶ added in v0.15.0
func (*DeleteUserAccessTokenRequest) ProtoMessage()
func (*DeleteUserAccessTokenRequest) ProtoReflect ¶ added in v0.15.0
func (x *DeleteUserAccessTokenRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserAccessTokenRequest) Reset ¶ added in v0.15.0
func (x *DeleteUserAccessTokenRequest) Reset()
func (*DeleteUserAccessTokenRequest) String ¶ added in v0.15.0
func (x *DeleteUserAccessTokenRequest) String() string
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 (x *DeleteUserAccessTokenResponse) ProtoReflect() protoreflect.Message
func (*DeleteUserAccessTokenResponse) Reset ¶ added in v0.15.0
func (x *DeleteUserAccessTokenResponse) Reset()
func (*DeleteUserAccessTokenResponse) String ¶ added in v0.15.0
func (x *DeleteUserAccessTokenResponse) String() string
type DeleteUserRequest ¶ added in v0.18.0
type DeleteUserRequest struct { // The name of the user. // Format: users/{username} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserRequest) Descriptor
deprecated
added in
v0.18.0
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetName ¶ added in v0.18.0
func (x *DeleteUserRequest) GetName() string
func (*DeleteUserRequest) ProtoMessage ¶ added in v0.18.0
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶ added in v0.18.0
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶ added in v0.18.0
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶ added in v0.18.0
func (x *DeleteUserRequest) String() string
type DeleteUserResponse ¶ added in v0.18.0
type DeleteUserResponse struct {
// contains filtered or unexported fields
}
func (*DeleteUserResponse) Descriptor
deprecated
added in
v0.18.0
func (*DeleteUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.
func (*DeleteUserResponse) ProtoMessage ¶ added in v0.18.0
func (*DeleteUserResponse) ProtoMessage()
func (*DeleteUserResponse) ProtoReflect ¶ added in v0.18.0
func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message
func (*DeleteUserResponse) Reset ¶ added in v0.18.0
func (x *DeleteUserResponse) Reset()
func (*DeleteUserResponse) String ¶ added in v0.18.0
func (x *DeleteUserResponse) String() string
type DeleteWebhookRequest ¶ added in v0.18.0
type DeleteWebhookRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteWebhookRequest) Descriptor
deprecated
added in
v0.18.0
func (*DeleteWebhookRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteWebhookRequest.ProtoReflect.Descriptor instead.
func (*DeleteWebhookRequest) GetId ¶ added in v0.18.0
func (x *DeleteWebhookRequest) GetId() int32
func (*DeleteWebhookRequest) ProtoMessage ¶ added in v0.18.0
func (*DeleteWebhookRequest) ProtoMessage()
func (*DeleteWebhookRequest) ProtoReflect ¶ added in v0.18.0
func (x *DeleteWebhookRequest) ProtoReflect() protoreflect.Message
func (*DeleteWebhookRequest) Reset ¶ added in v0.18.0
func (x *DeleteWebhookRequest) Reset()
func (*DeleteWebhookRequest) String ¶ added in v0.18.0
func (x *DeleteWebhookRequest) String() string
type DeleteWebhookResponse ¶ added in v0.18.0
type DeleteWebhookResponse struct {
// contains filtered or unexported fields
}
func (*DeleteWebhookResponse) Descriptor
deprecated
added in
v0.18.0
func (*DeleteWebhookResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteWebhookResponse.ProtoReflect.Descriptor instead.
func (*DeleteWebhookResponse) ProtoMessage ¶ added in v0.18.0
func (*DeleteWebhookResponse) ProtoMessage()
func (*DeleteWebhookResponse) ProtoReflect ¶ added in v0.18.0
func (x *DeleteWebhookResponse) ProtoReflect() protoreflect.Message
func (*DeleteWebhookResponse) Reset ¶ added in v0.18.0
func (x *DeleteWebhookResponse) Reset()
func (*DeleteWebhookResponse) String ¶ added in v0.18.0
func (x *DeleteWebhookResponse) String() string
type EmbeddedContentNode ¶ added in v0.19.0
type EmbeddedContentNode struct { ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` Params string `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
func (*EmbeddedContentNode) Descriptor
deprecated
added in
v0.19.0
func (*EmbeddedContentNode) Descriptor() ([]byte, []int)
Deprecated: Use EmbeddedContentNode.ProtoReflect.Descriptor instead.
func (*EmbeddedContentNode) GetParams ¶ added in v0.19.0
func (x *EmbeddedContentNode) GetParams() string
func (*EmbeddedContentNode) GetResourceName ¶ added in v0.19.0
func (x *EmbeddedContentNode) GetResourceName() string
func (*EmbeddedContentNode) ProtoMessage ¶ added in v0.19.0
func (*EmbeddedContentNode) ProtoMessage()
func (*EmbeddedContentNode) ProtoReflect ¶ added in v0.19.0
func (x *EmbeddedContentNode) ProtoReflect() protoreflect.Message
func (*EmbeddedContentNode) Reset ¶ added in v0.19.0
func (x *EmbeddedContentNode) Reset()
func (*EmbeddedContentNode) String ¶ added in v0.19.0
func (x *EmbeddedContentNode) String() string
type EscapingCharacterNode ¶ added in v0.18.2
type EscapingCharacterNode struct { Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` // contains filtered or unexported fields }
func (*EscapingCharacterNode) Descriptor
deprecated
added in
v0.18.2
func (*EscapingCharacterNode) Descriptor() ([]byte, []int)
Deprecated: Use EscapingCharacterNode.ProtoReflect.Descriptor instead.
func (*EscapingCharacterNode) GetSymbol ¶ added in v0.18.2
func (x *EscapingCharacterNode) GetSymbol() string
func (*EscapingCharacterNode) ProtoMessage ¶ added in v0.18.2
func (*EscapingCharacterNode) ProtoMessage()
func (*EscapingCharacterNode) ProtoReflect ¶ added in v0.18.2
func (x *EscapingCharacterNode) ProtoReflect() protoreflect.Message
func (*EscapingCharacterNode) Reset ¶ added in v0.18.2
func (x *EscapingCharacterNode) Reset()
func (*EscapingCharacterNode) String ¶ added in v0.18.2
func (x *EscapingCharacterNode) String() string
type 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 { File []byte `protobuf:"bytes,1,opt,name=file,proto3" json:"file,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) GetFile ¶ added in v0.19.1
func (x *ExportMemosResponse) GetFile() []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 GetActivityRequest ¶ added in v0.17.0
type GetActivityRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetActivityRequest) Descriptor
deprecated
added in
v0.17.0
func (*GetActivityRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetActivityRequest.ProtoReflect.Descriptor instead.
func (*GetActivityRequest) GetId ¶ added in v0.17.0
func (x *GetActivityRequest) GetId() int32
func (*GetActivityRequest) ProtoMessage ¶ added in v0.17.0
func (*GetActivityRequest) ProtoMessage()
func (*GetActivityRequest) ProtoReflect ¶ added in v0.17.0
func (x *GetActivityRequest) ProtoReflect() protoreflect.Message
func (*GetActivityRequest) Reset ¶ added in v0.17.0
func (x *GetActivityRequest) Reset()
func (*GetActivityRequest) String ¶ added in v0.17.0
func (x *GetActivityRequest) String() string
type GetActivityResponse ¶ added in v0.17.0
type GetActivityResponse struct { Activity *Activity `protobuf:"bytes,1,opt,name=activity,proto3" json:"activity,omitempty"` // contains filtered or unexported fields }
func (*GetActivityResponse) Descriptor
deprecated
added in
v0.17.0
func (*GetActivityResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetActivityResponse.ProtoReflect.Descriptor instead.
func (*GetActivityResponse) GetActivity ¶ added in v0.17.0
func (x *GetActivityResponse) GetActivity() *Activity
func (*GetActivityResponse) ProtoMessage ¶ added in v0.17.0
func (*GetActivityResponse) ProtoMessage()
func (*GetActivityResponse) ProtoReflect ¶ added in v0.17.0
func (x *GetActivityResponse) ProtoReflect() protoreflect.Message
func (*GetActivityResponse) Reset ¶ added in v0.17.0
func (x *GetActivityResponse) Reset()
func (*GetActivityResponse) String ¶ added in v0.17.0
func (x *GetActivityResponse) String() string
type GetAuthStatusRequest ¶ added in v0.18.0
type GetAuthStatusRequest struct {
// contains filtered or unexported fields
}
func (*GetAuthStatusRequest) Descriptor
deprecated
added in
v0.18.0
func (*GetAuthStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAuthStatusRequest.ProtoReflect.Descriptor instead.
func (*GetAuthStatusRequest) ProtoMessage ¶ added in v0.18.0
func (*GetAuthStatusRequest) ProtoMessage()
func (*GetAuthStatusRequest) ProtoReflect ¶ added in v0.18.0
func (x *GetAuthStatusRequest) ProtoReflect() protoreflect.Message
func (*GetAuthStatusRequest) Reset ¶ added in v0.18.0
func (x *GetAuthStatusRequest) Reset()
func (*GetAuthStatusRequest) String ¶ added in v0.18.0
func (x *GetAuthStatusRequest) String() string
type GetAuthStatusResponse ¶ added in v0.18.0
type GetAuthStatusResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetAuthStatusResponse) Descriptor
deprecated
added in
v0.18.0
func (*GetAuthStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAuthStatusResponse.ProtoReflect.Descriptor instead.
func (*GetAuthStatusResponse) GetUser ¶ added in v0.18.0
func (x *GetAuthStatusResponse) GetUser() *User
func (*GetAuthStatusResponse) ProtoMessage ¶ added in v0.18.0
func (*GetAuthStatusResponse) ProtoMessage()
func (*GetAuthStatusResponse) ProtoReflect ¶ added in v0.18.0
func (x *GetAuthStatusResponse) ProtoReflect() protoreflect.Message
func (*GetAuthStatusResponse) Reset ¶ added in v0.18.0
func (x *GetAuthStatusResponse) Reset()
func (*GetAuthStatusResponse) String ¶ added in v0.18.0
func (x *GetAuthStatusResponse) String() string
type GetMemoByNameRequest ¶ added in v0.19.0
type GetMemoByNameRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetMemoByNameRequest) Descriptor
deprecated
added in
v0.19.0
func (*GetMemoByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMemoByNameRequest.ProtoReflect.Descriptor instead.
func (*GetMemoByNameRequest) GetName ¶ added in v0.19.0
func (x *GetMemoByNameRequest) GetName() string
func (*GetMemoByNameRequest) ProtoMessage ¶ added in v0.19.0
func (*GetMemoByNameRequest) ProtoMessage()
func (*GetMemoByNameRequest) ProtoReflect ¶ added in v0.19.0
func (x *GetMemoByNameRequest) ProtoReflect() protoreflect.Message
func (*GetMemoByNameRequest) Reset ¶ added in v0.19.0
func (x *GetMemoByNameRequest) Reset()
func (*GetMemoByNameRequest) String ¶ added in v0.19.0
func (x *GetMemoByNameRequest) String() string
type GetMemoByNameResponse ¶ added in v0.19.0
type GetMemoByNameResponse struct { Memo *Memo `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"` // contains filtered or unexported fields }
func (*GetMemoByNameResponse) Descriptor
deprecated
added in
v0.19.0
func (*GetMemoByNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMemoByNameResponse.ProtoReflect.Descriptor instead.
func (*GetMemoByNameResponse) GetMemo ¶ added in v0.19.0
func (x *GetMemoByNameResponse) GetMemo() *Memo
func (*GetMemoByNameResponse) ProtoMessage ¶ added in v0.19.0
func (*GetMemoByNameResponse) ProtoMessage()
func (*GetMemoByNameResponse) ProtoReflect ¶ added in v0.19.0
func (x *GetMemoByNameResponse) ProtoReflect() protoreflect.Message
func (*GetMemoByNameResponse) Reset ¶ added in v0.19.0
func (x *GetMemoByNameResponse) Reset()
func (*GetMemoByNameResponse) String ¶ added in v0.19.0
func (x *GetMemoByNameResponse) String() string
type GetMemoRequest ¶
type GetMemoRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetMemoRequest) Descriptor
deprecated
func (*GetMemoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMemoRequest.ProtoReflect.Descriptor instead.
func (*GetMemoRequest) GetId ¶
func (x *GetMemoRequest) GetId() int32
func (*GetMemoRequest) ProtoMessage ¶
func (*GetMemoRequest) ProtoMessage()
func (*GetMemoRequest) ProtoReflect ¶
func (x *GetMemoRequest) ProtoReflect() protoreflect.Message
func (*GetMemoRequest) Reset ¶
func (x *GetMemoRequest) Reset()
func (*GetMemoRequest) String ¶
func (x *GetMemoRequest) String() string
type GetMemoResponse ¶
type GetMemoResponse struct { Memo *Memo `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"` // contains filtered or unexported fields }
func (*GetMemoResponse) Descriptor
deprecated
func (*GetMemoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMemoResponse.ProtoReflect.Descriptor instead.
func (*GetMemoResponse) GetMemo ¶
func (x *GetMemoResponse) GetMemo() *Memo
func (*GetMemoResponse) ProtoMessage ¶
func (*GetMemoResponse) ProtoMessage()
func (*GetMemoResponse) ProtoReflect ¶
func (x *GetMemoResponse) ProtoReflect() protoreflect.Message
func (*GetMemoResponse) Reset ¶
func (x *GetMemoResponse) Reset()
func (*GetMemoResponse) String ¶
func (x *GetMemoResponse) String() string
type GetResourceByNameRequest ¶ added in v0.19.0
type GetResourceByNameRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetResourceByNameRequest) Descriptor
deprecated
added in
v0.19.0
func (*GetResourceByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetResourceByNameRequest.ProtoReflect.Descriptor instead.
func (*GetResourceByNameRequest) GetName ¶ added in v0.19.0
func (x *GetResourceByNameRequest) GetName() string
func (*GetResourceByNameRequest) ProtoMessage ¶ added in v0.19.0
func (*GetResourceByNameRequest) ProtoMessage()
func (*GetResourceByNameRequest) ProtoReflect ¶ added in v0.19.0
func (x *GetResourceByNameRequest) ProtoReflect() protoreflect.Message
func (*GetResourceByNameRequest) Reset ¶ added in v0.19.0
func (x *GetResourceByNameRequest) Reset()
func (*GetResourceByNameRequest) String ¶ added in v0.19.0
func (x *GetResourceByNameRequest) String() string
type GetResourceByNameResponse ¶ added in v0.19.0
type GetResourceByNameResponse struct { Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*GetResourceByNameResponse) Descriptor
deprecated
added in
v0.19.0
func (*GetResourceByNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResourceByNameResponse.ProtoReflect.Descriptor instead.
func (*GetResourceByNameResponse) GetResource ¶ added in v0.19.0
func (x *GetResourceByNameResponse) GetResource() *Resource
func (*GetResourceByNameResponse) ProtoMessage ¶ added in v0.19.0
func (*GetResourceByNameResponse) ProtoMessage()
func (*GetResourceByNameResponse) ProtoReflect ¶ added in v0.19.0
func (x *GetResourceByNameResponse) ProtoReflect() protoreflect.Message
func (*GetResourceByNameResponse) Reset ¶ added in v0.19.0
func (x *GetResourceByNameResponse) Reset()
func (*GetResourceByNameResponse) String ¶ added in v0.19.0
func (x *GetResourceByNameResponse) String() string
type GetResourceRequest ¶ added in v0.19.0
type GetResourceRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,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) GetId ¶ added in v0.19.0
func (x *GetResourceRequest) GetId() int32
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 GetTagSuggestionsRequest ¶ added in v0.18.0
type GetTagSuggestionsRequest struct { // The creator of tags. // Format: users/{username} User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetTagSuggestionsRequest) Descriptor
deprecated
added in
v0.18.0
func (*GetTagSuggestionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTagSuggestionsRequest.ProtoReflect.Descriptor instead.
func (*GetTagSuggestionsRequest) GetUser ¶ added in v0.18.0
func (x *GetTagSuggestionsRequest) GetUser() string
func (*GetTagSuggestionsRequest) ProtoMessage ¶ added in v0.18.0
func (*GetTagSuggestionsRequest) ProtoMessage()
func (*GetTagSuggestionsRequest) ProtoReflect ¶ added in v0.18.0
func (x *GetTagSuggestionsRequest) ProtoReflect() protoreflect.Message
func (*GetTagSuggestionsRequest) Reset ¶ added in v0.18.0
func (x *GetTagSuggestionsRequest) Reset()
func (*GetTagSuggestionsRequest) String ¶ added in v0.18.0
func (x *GetTagSuggestionsRequest) String() string
type GetTagSuggestionsResponse ¶ added in v0.18.0
type GetTagSuggestionsResponse struct { Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*GetTagSuggestionsResponse) Descriptor
deprecated
added in
v0.18.0
func (*GetTagSuggestionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTagSuggestionsResponse.ProtoReflect.Descriptor instead.
func (*GetTagSuggestionsResponse) GetTags ¶ added in v0.18.0
func (x *GetTagSuggestionsResponse) GetTags() []string
func (*GetTagSuggestionsResponse) ProtoMessage ¶ added in v0.18.0
func (*GetTagSuggestionsResponse) ProtoMessage()
func (*GetTagSuggestionsResponse) ProtoReflect ¶ added in v0.18.0
func (x *GetTagSuggestionsResponse) ProtoReflect() protoreflect.Message
func (*GetTagSuggestionsResponse) Reset ¶ added in v0.18.0
func (x *GetTagSuggestionsResponse) Reset()
func (*GetTagSuggestionsResponse) String ¶ added in v0.18.0
func (x *GetTagSuggestionsResponse) String() string
type GetUserMemosStatsRequest ¶ added in v0.18.2
type GetUserMemosStatsRequest struct { // name is the name of the user to get stats for. // Format: users/{username} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // timezone location // Format: uses tz identifier // https://en.wikipedia.org/wiki/List_of_tz_database_time_zones Timezone string `protobuf:"bytes,2,opt,name=timezone,proto3" json:"timezone,omitempty"` // Same as ListMemosRequest.filter Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*GetUserMemosStatsRequest) Descriptor
deprecated
added in
v0.18.2
func (*GetUserMemosStatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserMemosStatsRequest.ProtoReflect.Descriptor instead.
func (*GetUserMemosStatsRequest) GetFilter ¶ added in v0.18.2
func (x *GetUserMemosStatsRequest) GetFilter() string
func (*GetUserMemosStatsRequest) GetName ¶ added in v0.18.2
func (x *GetUserMemosStatsRequest) GetName() string
func (*GetUserMemosStatsRequest) GetTimezone ¶ added in v0.18.2
func (x *GetUserMemosStatsRequest) GetTimezone() string
func (*GetUserMemosStatsRequest) ProtoMessage ¶ added in v0.18.2
func (*GetUserMemosStatsRequest) ProtoMessage()
func (*GetUserMemosStatsRequest) ProtoReflect ¶ added in v0.18.2
func (x *GetUserMemosStatsRequest) ProtoReflect() protoreflect.Message
func (*GetUserMemosStatsRequest) Reset ¶ added in v0.18.2
func (x *GetUserMemosStatsRequest) Reset()
func (*GetUserMemosStatsRequest) String ¶ added in v0.18.2
func (x *GetUserMemosStatsRequest) String() string
type GetUserMemosStatsResponse ¶ added in v0.18.2
type GetUserMemosStatsResponse struct { // stats is the stats of memo creating/updating activities. // key is the year-month-day string. e.g. "2020-01-01". Stats map[string]int32 `` /* 152-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetUserMemosStatsResponse) Descriptor
deprecated
added in
v0.18.2
func (*GetUserMemosStatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserMemosStatsResponse.ProtoReflect.Descriptor instead.
func (*GetUserMemosStatsResponse) GetStats ¶ added in v0.18.2
func (x *GetUserMemosStatsResponse) GetStats() map[string]int32
func (*GetUserMemosStatsResponse) ProtoMessage ¶ added in v0.18.2
func (*GetUserMemosStatsResponse) ProtoMessage()
func (*GetUserMemosStatsResponse) ProtoReflect ¶ added in v0.18.2
func (x *GetUserMemosStatsResponse) ProtoReflect() protoreflect.Message
func (*GetUserMemosStatsResponse) Reset ¶ added in v0.18.2
func (x *GetUserMemosStatsResponse) Reset()
func (*GetUserMemosStatsResponse) String ¶ added in v0.18.2
func (x *GetUserMemosStatsResponse) String() string
type GetUserRequest ¶
type GetUserRequest struct { // The name of the user. // Format: users/{username} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetName ¶
func (x *GetUserRequest) GetName() string
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (x *GetUserRequest) String() string
type GetUserResponse ¶
type GetUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetUserResponse) Descriptor
deprecated
func (*GetUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.
func (*GetUserResponse) GetUser ¶
func (x *GetUserResponse) GetUser() *User
func (*GetUserResponse) ProtoMessage ¶
func (*GetUserResponse) ProtoMessage()
func (*GetUserResponse) ProtoReflect ¶
func (x *GetUserResponse) ProtoReflect() protoreflect.Message
func (*GetUserResponse) Reset ¶
func (x *GetUserResponse) Reset()
func (*GetUserResponse) String ¶
func (x *GetUserResponse) String() string
type GetUserSettingRequest ¶ added in v0.18.0
type GetUserSettingRequest struct { // The name of the user. // Format: users/{username} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetUserSettingRequest) Descriptor
deprecated
added in
v0.18.0
func (*GetUserSettingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserSettingRequest.ProtoReflect.Descriptor instead.
func (*GetUserSettingRequest) GetName ¶ added in v0.18.0
func (x *GetUserSettingRequest) GetName() string
func (*GetUserSettingRequest) ProtoMessage ¶ added in v0.18.0
func (*GetUserSettingRequest) ProtoMessage()
func (*GetUserSettingRequest) ProtoReflect ¶ added in v0.18.0
func (x *GetUserSettingRequest) ProtoReflect() protoreflect.Message
func (*GetUserSettingRequest) Reset ¶ added in v0.18.0
func (x *GetUserSettingRequest) Reset()
func (*GetUserSettingRequest) String ¶ added in v0.18.0
func (x *GetUserSettingRequest) String() string
type GetUserSettingResponse ¶ added in v0.18.0
type GetUserSettingResponse struct { Setting *UserSetting `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,omitempty"` // contains filtered or unexported fields }
func (*GetUserSettingResponse) Descriptor
deprecated
added in
v0.18.0
func (*GetUserSettingResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserSettingResponse.ProtoReflect.Descriptor instead.
func (*GetUserSettingResponse) GetSetting ¶ added in v0.18.0
func (x *GetUserSettingResponse) GetSetting() *UserSetting
func (*GetUserSettingResponse) ProtoMessage ¶ added in v0.18.0
func (*GetUserSettingResponse) ProtoMessage()
func (*GetUserSettingResponse) ProtoReflect ¶ added in v0.18.0
func (x *GetUserSettingResponse) ProtoReflect() protoreflect.Message
func (*GetUserSettingResponse) Reset ¶ added in v0.18.0
func (x *GetUserSettingResponse) Reset()
func (*GetUserSettingResponse) String ¶ added in v0.18.0
func (x *GetUserSettingResponse) String() string
type GetWebhookRequest ¶ added in v0.18.0
type GetWebhookRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetWebhookRequest) Descriptor
deprecated
added in
v0.18.0
func (*GetWebhookRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetWebhookRequest.ProtoReflect.Descriptor instead.
func (*GetWebhookRequest) GetId ¶ added in v0.18.0
func (x *GetWebhookRequest) GetId() int32
func (*GetWebhookRequest) ProtoMessage ¶ added in v0.18.0
func (*GetWebhookRequest) ProtoMessage()
func (*GetWebhookRequest) ProtoReflect ¶ added in v0.18.0
func (x *GetWebhookRequest) ProtoReflect() protoreflect.Message
func (*GetWebhookRequest) Reset ¶ added in v0.18.0
func (x *GetWebhookRequest) Reset()
func (*GetWebhookRequest) String ¶ added in v0.18.0
func (x *GetWebhookRequest) String() string
type GetWebhookResponse ¶ added in v0.18.0
type GetWebhookResponse struct { Webhook *Webhook `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,omitempty"` // contains filtered or unexported fields }
func (*GetWebhookResponse) Descriptor
deprecated
added in
v0.18.0
func (*GetWebhookResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetWebhookResponse.ProtoReflect.Descriptor instead.
func (*GetWebhookResponse) GetWebhook ¶ added in v0.18.0
func (x *GetWebhookResponse) GetWebhook() *Webhook
func (*GetWebhookResponse) ProtoMessage ¶ added in v0.18.0
func (*GetWebhookResponse) ProtoMessage()
func (*GetWebhookResponse) ProtoReflect ¶ added in v0.18.0
func (x *GetWebhookResponse) ProtoReflect() protoreflect.Message
func (*GetWebhookResponse) Reset ¶ added in v0.18.0
func (x *GetWebhookResponse) Reset()
func (*GetWebhookResponse) String ¶ added in v0.18.0
func (x *GetWebhookResponse) String() string
type 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 (x *GetWorkspaceProfileRequest) ProtoReflect() protoreflect.Message
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 (x *GetWorkspaceProfileResponse) ProtoReflect() protoreflect.Message
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 HeadingNode ¶ added in v0.18.2
type HeadingNode struct { Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"` Children []*Node `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
func (*HeadingNode) Descriptor
deprecated
added in
v0.18.2
func (*HeadingNode) Descriptor() ([]byte, []int)
Deprecated: Use HeadingNode.ProtoReflect.Descriptor instead.
func (*HeadingNode) GetChildren ¶ added in v0.18.2
func (x *HeadingNode) GetChildren() []*Node
func (*HeadingNode) GetLevel ¶ added in v0.18.2
func (x *HeadingNode) GetLevel() int32
func (*HeadingNode) ProtoMessage ¶ added in v0.18.2
func (*HeadingNode) ProtoMessage()
func (*HeadingNode) ProtoReflect ¶ added in v0.18.2
func (x *HeadingNode) ProtoReflect() protoreflect.Message
func (*HeadingNode) Reset ¶ added in v0.18.2
func (x *HeadingNode) Reset()
func (*HeadingNode) String ¶ added in v0.18.2
func (x *HeadingNode) String() string
type HighlightNode ¶ added in v0.18.2
type HighlightNode struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*HighlightNode) Descriptor
deprecated
added in
v0.18.2
func (*HighlightNode) Descriptor() ([]byte, []int)
Deprecated: Use HighlightNode.ProtoReflect.Descriptor instead.
func (*HighlightNode) GetContent ¶ added in v0.18.2
func (x *HighlightNode) GetContent() string
func (*HighlightNode) ProtoMessage ¶ added in v0.18.2
func (*HighlightNode) ProtoMessage()
func (*HighlightNode) ProtoReflect ¶ added in v0.18.2
func (x *HighlightNode) ProtoReflect() protoreflect.Message
func (*HighlightNode) Reset ¶ added in v0.18.2
func (x *HighlightNode) Reset()
func (*HighlightNode) String ¶ added in v0.18.2
func (x *HighlightNode) String() string
type HorizontalRuleNode ¶ added in v0.18.2
type HorizontalRuleNode struct { Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` // contains filtered or unexported fields }
func (*HorizontalRuleNode) Descriptor
deprecated
added in
v0.18.2
func (*HorizontalRuleNode) Descriptor() ([]byte, []int)
Deprecated: Use HorizontalRuleNode.ProtoReflect.Descriptor instead.
func (*HorizontalRuleNode) GetSymbol ¶ added in v0.18.2
func (x *HorizontalRuleNode) GetSymbol() string
func (*HorizontalRuleNode) ProtoMessage ¶ added in v0.18.2
func (*HorizontalRuleNode) ProtoMessage()
func (*HorizontalRuleNode) ProtoReflect ¶ added in v0.18.2
func (x *HorizontalRuleNode) ProtoReflect() protoreflect.Message
func (*HorizontalRuleNode) Reset ¶ added in v0.18.2
func (x *HorizontalRuleNode) Reset()
func (*HorizontalRuleNode) String ¶ added in v0.18.2
func (x *HorizontalRuleNode) String() string
type ImageNode ¶ added in v0.18.2
type ImageNode struct { AltText string `protobuf:"bytes,1,opt,name=alt_text,json=altText,proto3" json:"alt_text,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*ImageNode) Descriptor
deprecated
added in
v0.18.2
func (*ImageNode) GetAltText ¶ added in v0.18.2
func (*ImageNode) ProtoMessage ¶ added in v0.18.2
func (*ImageNode) ProtoMessage()
func (*ImageNode) ProtoReflect ¶ added in v0.18.2
func (x *ImageNode) ProtoReflect() protoreflect.Message
type Inbox ¶ added in v0.17.0
type Inbox struct { // The name of the inbox. // Format: inboxes/{id} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Format: users/{username} Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"` // Format: users/{username} Receiver string `protobuf:"bytes,3,opt,name=receiver,proto3" json:"receiver,omitempty"` Status Inbox_Status `protobuf:"varint,4,opt,name=status,proto3,enum=memos.api.v2.Inbox_Status" json:"status,omitempty"` CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` Type Inbox_Type `protobuf:"varint,6,opt,name=type,proto3,enum=memos.api.v2.Inbox_Type" json:"type,omitempty"` ActivityId *int32 `protobuf:"varint,7,opt,name=activity_id,json=activityId,proto3,oneof" json:"activity_id,omitempty"` // contains filtered or unexported fields }
func (*Inbox) Descriptor
deprecated
added in
v0.17.0
func (*Inbox) GetActivityId ¶ added in v0.17.0
func (*Inbox) GetCreateTime ¶ added in v0.17.0
func (x *Inbox) GetCreateTime() *timestamppb.Timestamp
func (*Inbox) GetReceiver ¶ added in v0.17.0
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
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) Descriptor() protoreflect.EnumDescriptor
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 (x Inbox_Status) Number() protoreflect.EnumNumber
func (Inbox_Status) String ¶ added in v0.17.0
func (x Inbox_Status) String() string
func (Inbox_Status) Type ¶ added in v0.17.0
func (Inbox_Status) Type() protoreflect.EnumType
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
func (Inbox_Type) Type() protoreflect.EnumType
type ItalicNode ¶ added in v0.18.2
type ItalicNode struct { Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*ItalicNode) Descriptor
deprecated
added in
v0.18.2
func (*ItalicNode) Descriptor() ([]byte, []int)
Deprecated: Use ItalicNode.ProtoReflect.Descriptor instead.
func (*ItalicNode) GetContent ¶ added in v0.18.2
func (x *ItalicNode) GetContent() string
func (*ItalicNode) GetSymbol ¶ added in v0.18.2
func (x *ItalicNode) GetSymbol() string
func (*ItalicNode) ProtoMessage ¶ added in v0.18.2
func (*ItalicNode) ProtoMessage()
func (*ItalicNode) ProtoReflect ¶ added in v0.18.2
func (x *ItalicNode) ProtoReflect() protoreflect.Message
func (*ItalicNode) Reset ¶ added in v0.18.2
func (x *ItalicNode) Reset()
func (*ItalicNode) String ¶ added in v0.18.2
func (x *ItalicNode) String() string
type LineBreakNode ¶ added in v0.18.2
type LineBreakNode struct {
// contains filtered or unexported fields
}
func (*LineBreakNode) Descriptor
deprecated
added in
v0.18.2
func (*LineBreakNode) Descriptor() ([]byte, []int)
Deprecated: Use LineBreakNode.ProtoReflect.Descriptor instead.
func (*LineBreakNode) ProtoMessage ¶ added in v0.18.2
func (*LineBreakNode) ProtoMessage()
func (*LineBreakNode) ProtoReflect ¶ added in v0.18.2
func (x *LineBreakNode) ProtoReflect() protoreflect.Message
func (*LineBreakNode) Reset ¶ added in v0.18.2
func (x *LineBreakNode) Reset()
func (*LineBreakNode) String ¶ added in v0.18.2
func (x *LineBreakNode) String() string
type LinkNode ¶ added in v0.18.2
type LinkNode struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*LinkNode) Descriptor
deprecated
added in
v0.18.2
func (*LinkNode) ProtoMessage ¶ added in v0.18.2
func (*LinkNode) ProtoMessage()
func (*LinkNode) ProtoReflect ¶ added in v0.18.2
func (x *LinkNode) ProtoReflect() protoreflect.Message
type ListInboxesRequest ¶ added in v0.17.0
type ListInboxesRequest struct { // Format: users/{username} User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*ListInboxesRequest) Descriptor
deprecated
added in
v0.17.0
func (*ListInboxesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInboxesRequest.ProtoReflect.Descriptor instead.
func (*ListInboxesRequest) GetUser ¶ added in v0.17.0
func (x *ListInboxesRequest) GetUser() string
func (*ListInboxesRequest) ProtoMessage ¶ added in v0.17.0
func (*ListInboxesRequest) ProtoMessage()
func (*ListInboxesRequest) ProtoReflect ¶ added in v0.17.0
func (x *ListInboxesRequest) ProtoReflect() protoreflect.Message
func (*ListInboxesRequest) Reset ¶ added in v0.17.0
func (x *ListInboxesRequest) Reset()
func (*ListInboxesRequest) String ¶ added in v0.17.0
func (x *ListInboxesRequest) String() string
type ListInboxesResponse ¶ added in v0.17.0
type ListInboxesResponse struct { Inboxes []*Inbox `protobuf:"bytes,1,rep,name=inboxes,proto3" json:"inboxes,omitempty"` // contains filtered or unexported fields }
func (*ListInboxesResponse) Descriptor
deprecated
added in
v0.17.0
func (*ListInboxesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListInboxesResponse.ProtoReflect.Descriptor instead.
func (*ListInboxesResponse) GetInboxes ¶ added in v0.17.0
func (x *ListInboxesResponse) GetInboxes() []*Inbox
func (*ListInboxesResponse) ProtoMessage ¶ added in v0.17.0
func (*ListInboxesResponse) ProtoMessage()
func (*ListInboxesResponse) ProtoReflect ¶ added in v0.17.0
func (x *ListInboxesResponse) ProtoReflect() protoreflect.Message
func (*ListInboxesResponse) Reset ¶ added in v0.17.0
func (x *ListInboxesResponse) Reset()
func (*ListInboxesResponse) String ¶ added in v0.17.0
func (x *ListInboxesResponse) String() string
type ListMemoCommentsRequest ¶ added in v0.16.0
type ListMemoCommentsRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ListMemoCommentsRequest) Descriptor
deprecated
added in
v0.16.0
func (*ListMemoCommentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMemoCommentsRequest.ProtoReflect.Descriptor instead.
func (*ListMemoCommentsRequest) GetId ¶ added in v0.16.0
func (x *ListMemoCommentsRequest) GetId() int32
func (*ListMemoCommentsRequest) ProtoMessage ¶ added in v0.16.0
func (*ListMemoCommentsRequest) ProtoMessage()
func (*ListMemoCommentsRequest) ProtoReflect ¶ added in v0.16.0
func (x *ListMemoCommentsRequest) ProtoReflect() protoreflect.Message
func (*ListMemoCommentsRequest) Reset ¶ added in v0.16.0
func (x *ListMemoCommentsRequest) Reset()
func (*ListMemoCommentsRequest) String ¶ added in v0.16.0
func (x *ListMemoCommentsRequest) String() string
type ListMemoCommentsResponse ¶ added in v0.16.0
type ListMemoCommentsResponse struct { Memos []*Memo `protobuf:"bytes,1,rep,name=memos,proto3" json:"memos,omitempty"` // contains filtered or unexported fields }
func (*ListMemoCommentsResponse) Descriptor
deprecated
added in
v0.16.0
func (*ListMemoCommentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMemoCommentsResponse.ProtoReflect.Descriptor instead.
func (*ListMemoCommentsResponse) GetMemos ¶ added in v0.16.0
func (x *ListMemoCommentsResponse) GetMemos() []*Memo
func (*ListMemoCommentsResponse) ProtoMessage ¶ added in v0.16.0
func (*ListMemoCommentsResponse) ProtoMessage()
func (*ListMemoCommentsResponse) ProtoReflect ¶ added in v0.16.0
func (x *ListMemoCommentsResponse) ProtoReflect() protoreflect.Message
func (*ListMemoCommentsResponse) Reset ¶ added in v0.16.0
func (x *ListMemoCommentsResponse) Reset()
func (*ListMemoCommentsResponse) String ¶ added in v0.16.0
func (x *ListMemoCommentsResponse) String() string
type ListMemoRelationsRequest ¶ added in v0.18.2
type ListMemoRelationsRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ListMemoRelationsRequest) Descriptor
deprecated
added in
v0.18.2
func (*ListMemoRelationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMemoRelationsRequest.ProtoReflect.Descriptor instead.
func (*ListMemoRelationsRequest) GetId ¶ added in v0.18.2
func (x *ListMemoRelationsRequest) GetId() int32
func (*ListMemoRelationsRequest) ProtoMessage ¶ added in v0.18.2
func (*ListMemoRelationsRequest) ProtoMessage()
func (*ListMemoRelationsRequest) ProtoReflect ¶ added in v0.18.2
func (x *ListMemoRelationsRequest) ProtoReflect() protoreflect.Message
func (*ListMemoRelationsRequest) Reset ¶ added in v0.18.2
func (x *ListMemoRelationsRequest) Reset()
func (*ListMemoRelationsRequest) String ¶ added in v0.18.2
func (x *ListMemoRelationsRequest) String() string
type ListMemoRelationsResponse ¶ added in v0.18.2
type ListMemoRelationsResponse struct { Relations []*MemoRelation `protobuf:"bytes,1,rep,name=relations,proto3" json:"relations,omitempty"` // contains filtered or unexported fields }
func (*ListMemoRelationsResponse) Descriptor
deprecated
added in
v0.18.2
func (*ListMemoRelationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMemoRelationsResponse.ProtoReflect.Descriptor instead.
func (*ListMemoRelationsResponse) GetRelations ¶ added in v0.18.2
func (x *ListMemoRelationsResponse) GetRelations() []*MemoRelation
func (*ListMemoRelationsResponse) ProtoMessage ¶ added in v0.18.2
func (*ListMemoRelationsResponse) ProtoMessage()
func (*ListMemoRelationsResponse) ProtoReflect ¶ added in v0.18.2
func (x *ListMemoRelationsResponse) ProtoReflect() protoreflect.Message
func (*ListMemoRelationsResponse) Reset ¶ added in v0.18.2
func (x *ListMemoRelationsResponse) Reset()
func (*ListMemoRelationsResponse) String ¶ added in v0.18.2
func (x *ListMemoRelationsResponse) String() string
type ListMemoResourcesRequest ¶ added in v0.18.2
type ListMemoResourcesRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ListMemoResourcesRequest) Descriptor
deprecated
added in
v0.18.2
func (*ListMemoResourcesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMemoResourcesRequest.ProtoReflect.Descriptor instead.
func (*ListMemoResourcesRequest) GetId ¶ added in v0.18.2
func (x *ListMemoResourcesRequest) GetId() int32
func (*ListMemoResourcesRequest) ProtoMessage ¶ added in v0.18.2
func (*ListMemoResourcesRequest) ProtoMessage()
func (*ListMemoResourcesRequest) ProtoReflect ¶ added in v0.18.2
func (x *ListMemoResourcesRequest) ProtoReflect() protoreflect.Message
func (*ListMemoResourcesRequest) Reset ¶ added in v0.18.2
func (x *ListMemoResourcesRequest) Reset()
func (*ListMemoResourcesRequest) String ¶ added in v0.18.2
func (x *ListMemoResourcesRequest) String() string
type ListMemoResourcesResponse ¶ added in v0.18.2
type ListMemoResourcesResponse struct { Resources []*Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` // contains filtered or unexported fields }
func (*ListMemoResourcesResponse) Descriptor
deprecated
added in
v0.18.2
func (*ListMemoResourcesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMemoResourcesResponse.ProtoReflect.Descriptor instead.
func (*ListMemoResourcesResponse) GetResources ¶ added in v0.18.2
func (x *ListMemoResourcesResponse) GetResources() []*Resource
func (*ListMemoResourcesResponse) ProtoMessage ¶ added in v0.18.2
func (*ListMemoResourcesResponse) ProtoMessage()
func (*ListMemoResourcesResponse) ProtoReflect ¶ added in v0.18.2
func (x *ListMemoResourcesResponse) ProtoReflect() protoreflect.Message
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/{username} && visibilities == ['PUBLIC', 'PROTECTED']" Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListMemosRequest) Descriptor
deprecated
func (*ListMemosRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMemosRequest.ProtoReflect.Descriptor instead.
func (*ListMemosRequest) GetFilter ¶
func (x *ListMemosRequest) GetFilter() string
func (*ListMemosRequest) 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 ListTagsRequest ¶
type ListTagsRequest struct { // The creator of tags. // Format: users/{username} User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*ListTagsRequest) Descriptor
deprecated
func (*ListTagsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTagsRequest.ProtoReflect.Descriptor instead.
func (*ListTagsRequest) GetUser ¶ added in v0.18.0
func (x *ListTagsRequest) GetUser() string
func (*ListTagsRequest) ProtoMessage ¶
func (*ListTagsRequest) ProtoMessage()
func (*ListTagsRequest) ProtoReflect ¶
func (x *ListTagsRequest) ProtoReflect() protoreflect.Message
func (*ListTagsRequest) Reset ¶
func (x *ListTagsRequest) Reset()
func (*ListTagsRequest) String ¶
func (x *ListTagsRequest) String() string
type ListTagsResponse ¶
type ListTagsResponse struct { Tags []*Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*ListTagsResponse) Descriptor
deprecated
func (*ListTagsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTagsResponse.ProtoReflect.Descriptor instead.
func (*ListTagsResponse) GetTags ¶
func (x *ListTagsResponse) GetTags() []*Tag
func (*ListTagsResponse) ProtoMessage ¶
func (*ListTagsResponse) ProtoMessage()
func (*ListTagsResponse) ProtoReflect ¶
func (x *ListTagsResponse) ProtoReflect() protoreflect.Message
func (*ListTagsResponse) Reset ¶
func (x *ListTagsResponse) Reset()
func (*ListTagsResponse) String ¶
func (x *ListTagsResponse) String() string
type ListUserAccessTokensRequest ¶ added in v0.15.0
type ListUserAccessTokensRequest struct { // The name of the user. // Format: users/{username} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ListUserAccessTokensRequest) Descriptor
deprecated
added in
v0.15.0
func (*ListUserAccessTokensRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUserAccessTokensRequest.ProtoReflect.Descriptor instead.
func (*ListUserAccessTokensRequest) GetName ¶ added in v0.17.1
func (x *ListUserAccessTokensRequest) GetName() string
func (*ListUserAccessTokensRequest) ProtoMessage ¶ added in v0.15.0
func (*ListUserAccessTokensRequest) ProtoMessage()
func (*ListUserAccessTokensRequest) ProtoReflect ¶ added in v0.15.0
func (x *ListUserAccessTokensRequest) ProtoReflect() protoreflect.Message
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 (x *ListUserAccessTokensResponse) ProtoReflect() protoreflect.Message
func (*ListUserAccessTokensResponse) Reset ¶ added in v0.15.0
func (x *ListUserAccessTokensResponse) Reset()
func (*ListUserAccessTokensResponse) String ¶ added in v0.15.0
func (x *ListUserAccessTokensResponse) String() string
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 MathBlockNode ¶ added in v0.18.2
type MathBlockNode struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*MathBlockNode) Descriptor
deprecated
added in
v0.18.2
func (*MathBlockNode) Descriptor() ([]byte, []int)
Deprecated: Use MathBlockNode.ProtoReflect.Descriptor instead.
func (*MathBlockNode) GetContent ¶ added in v0.18.2
func (x *MathBlockNode) GetContent() string
func (*MathBlockNode) ProtoMessage ¶ added in v0.18.2
func (*MathBlockNode) ProtoMessage()
func (*MathBlockNode) ProtoReflect ¶ added in v0.18.2
func (x *MathBlockNode) ProtoReflect() protoreflect.Message
func (*MathBlockNode) Reset ¶ added in v0.18.2
func (x *MathBlockNode) Reset()
func (*MathBlockNode) String ¶ added in v0.18.2
func (x *MathBlockNode) String() string
type MathNode ¶ added in v0.18.2
type MathNode struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*MathNode) Descriptor
deprecated
added in
v0.18.2
func (*MathNode) GetContent ¶ added in v0.18.2
func (*MathNode) ProtoMessage ¶ added in v0.18.2
func (*MathNode) ProtoMessage()
func (*MathNode) ProtoReflect ¶ added in v0.18.2
func (x *MathNode) ProtoReflect() protoreflect.Message
type Memo ¶
type Memo struct { // id is the system generated unique identifier. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // name is the user provided name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,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/{username} Creator string `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty"` CreatorId int32 `protobuf:"varint,5,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"` CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` DisplayTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=display_time,json=displayTime,proto3" json:"display_time,omitempty"` Content string `protobuf:"bytes,9,opt,name=content,proto3" json:"content,omitempty"` Visibility Visibility `protobuf:"varint,10,opt,name=visibility,proto3,enum=memos.api.v2.Visibility" json:"visibility,omitempty"` Pinned bool `protobuf:"varint,11,opt,name=pinned,proto3" json:"pinned,omitempty"` ParentId *int32 `protobuf:"varint,12,opt,name=parent_id,json=parentId,proto3,oneof" json:"parent_id,omitempty"` Resources []*Resource `protobuf:"bytes,13,rep,name=resources,proto3" json:"resources,omitempty"` Relations []*MemoRelation `protobuf:"bytes,14,rep,name=relations,proto3" json:"relations,omitempty"` // contains filtered or unexported fields }
func (*Memo) Descriptor
deprecated
func (*Memo) GetContent ¶
func (*Memo) GetCreateTime ¶ added in v0.18.2
func (x *Memo) GetCreateTime() *timestamppb.Timestamp
func (*Memo) GetCreator ¶ added in v0.18.2
func (*Memo) GetCreatorId ¶
func (*Memo) GetDisplayTime ¶ added in v0.18.2
func (x *Memo) GetDisplayTime() *timestamppb.Timestamp
func (*Memo) GetParentId ¶ added in v0.18.2
func (*Memo) GetRelations ¶ added in v0.18.2
func (x *Memo) GetRelations() []*MemoRelation
func (*Memo) GetResources ¶ added in v0.18.2
func (*Memo) GetRowStatus ¶
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
type MemoRelation ¶ added in v0.18.2
type MemoRelation struct { MemoId int32 `protobuf:"varint,1,opt,name=memo_id,json=memoId,proto3" json:"memo_id,omitempty"` RelatedMemoId int32 `protobuf:"varint,2,opt,name=related_memo_id,json=relatedMemoId,proto3" json:"related_memo_id,omitempty"` Type MemoRelation_Type `protobuf:"varint,3,opt,name=type,proto3,enum=memos.api.v2.MemoRelation_Type" json:"type,omitempty"` // contains filtered or unexported fields }
func (*MemoRelation) Descriptor
deprecated
added in
v0.18.2
func (*MemoRelation) Descriptor() ([]byte, []int)
Deprecated: Use MemoRelation.ProtoReflect.Descriptor instead.
func (*MemoRelation) GetMemoId ¶ added in v0.18.2
func (x *MemoRelation) GetMemoId() int32
func (*MemoRelation) GetRelatedMemoId ¶ added in v0.18.2
func (x *MemoRelation) GetRelatedMemoId() int32
func (*MemoRelation) GetType ¶ added in v0.18.2
func (x *MemoRelation) GetType() MemoRelation_Type
func (*MemoRelation) ProtoMessage ¶ added in v0.18.2
func (*MemoRelation) ProtoMessage()
func (*MemoRelation) ProtoReflect ¶ added in v0.18.2
func (x *MemoRelation) ProtoReflect() protoreflect.Message
func (*MemoRelation) Reset ¶ added in v0.18.2
func (x *MemoRelation) Reset()
func (*MemoRelation) String ¶ added in v0.18.2
func (x *MemoRelation) String() string
type MemoRelation_Type ¶ added in v0.18.2
type MemoRelation_Type int32
const ( MemoRelation_TYPE_UNSPECIFIED MemoRelation_Type = 0 MemoRelation_REFERENCE MemoRelation_Type = 1 MemoRelation_COMMENT MemoRelation_Type = 2 )
func (MemoRelation_Type) Descriptor ¶ added in v0.18.2
func (MemoRelation_Type) Descriptor() protoreflect.EnumDescriptor
func (MemoRelation_Type) Enum ¶ added in v0.18.2
func (x MemoRelation_Type) Enum() *MemoRelation_Type
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 (x MemoRelation_Type) Number() protoreflect.EnumNumber
func (MemoRelation_Type) String ¶ added in v0.18.2
func (x MemoRelation_Type) String() string
func (MemoRelation_Type) Type ¶ added in v0.18.2
func (MemoRelation_Type) Type() protoreflect.EnumType
type MemoServiceClient ¶
type MemoServiceClient interface { // CreateMemo creates a memo. CreateMemo(ctx context.Context, in *CreateMemoRequest, opts ...grpc.CallOption) (*CreateMemoResponse, error) // ListMemos lists memos with pagination and filter. ListMemos(ctx context.Context, in *ListMemosRequest, opts ...grpc.CallOption) (*ListMemosResponse, error) // GetMemo gets a memo by id. GetMemo(ctx context.Context, in *GetMemoRequest, opts ...grpc.CallOption) (*GetMemoResponse, error) // GetMemoByName gets a memo by name. GetMemoByName(ctx context.Context, in *GetMemoByNameRequest, opts ...grpc.CallOption) (*GetMemoByNameResponse, error) // UpdateMemo updates a memo. UpdateMemo(ctx context.Context, in *UpdateMemoRequest, opts ...grpc.CallOption) (*UpdateMemoResponse, error) // DeleteMemo deletes a memo by id. DeleteMemo(ctx context.Context, in *DeleteMemoRequest, opts ...grpc.CallOption) (*DeleteMemoResponse, error) // SetMemoResources sets resources for a memo. SetMemoResources(ctx context.Context, in *SetMemoResourcesRequest, opts ...grpc.CallOption) (*SetMemoResourcesResponse, error) // ListMemoResources lists resources for a memo. ListMemoResources(ctx context.Context, in *ListMemoResourcesRequest, opts ...grpc.CallOption) (*ListMemoResourcesResponse, error) // SetMemoRelations sets relations for a memo. SetMemoRelations(ctx context.Context, in *SetMemoRelationsRequest, opts ...grpc.CallOption) (*SetMemoRelationsResponse, error) // ListMemoRelations lists relations for a memo. ListMemoRelations(ctx context.Context, in *ListMemoRelationsRequest, opts ...grpc.CallOption) (*ListMemoRelationsResponse, error) // CreateMemoComment creates a comment for a memo. CreateMemoComment(ctx context.Context, in *CreateMemoCommentRequest, opts ...grpc.CallOption) (*CreateMemoCommentResponse, error) // ListMemoComments lists comments for a memo. ListMemoComments(ctx context.Context, in *ListMemoCommentsRequest, opts ...grpc.CallOption) (*ListMemoCommentsResponse, error) // ExportMemos exports memos. ExportMemos(ctx context.Context, in *ExportMemosRequest, opts ...grpc.CallOption) (MemoService_ExportMemosClient, error) // GetUserMemosStats gets stats of memos for a user. GetUserMemosStats(ctx context.Context, in *GetUserMemosStatsRequest, opts ...grpc.CallOption) (*GetUserMemosStatsResponse, error) }
MemoServiceClient is the client API for MemoService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMemoServiceClient ¶
func NewMemoServiceClient(cc grpc.ClientConnInterface) MemoServiceClient
type MemoServiceServer ¶
type MemoServiceServer interface { // CreateMemo creates a memo. CreateMemo(context.Context, *CreateMemoRequest) (*CreateMemoResponse, error) // ListMemos lists memos with pagination and filter. ListMemos(context.Context, *ListMemosRequest) (*ListMemosResponse, error) // GetMemo gets a memo by id. GetMemo(context.Context, *GetMemoRequest) (*GetMemoResponse, error) // GetMemoByName gets a memo by name. GetMemoByName(context.Context, *GetMemoByNameRequest) (*GetMemoByNameResponse, error) // UpdateMemo updates a memo. UpdateMemo(context.Context, *UpdateMemoRequest) (*UpdateMemoResponse, error) // DeleteMemo deletes a memo by id. DeleteMemo(context.Context, *DeleteMemoRequest) (*DeleteMemoResponse, error) // SetMemoResources sets resources for a memo. SetMemoResources(context.Context, *SetMemoResourcesRequest) (*SetMemoResourcesResponse, error) // ListMemoResources lists resources for a memo. ListMemoResources(context.Context, *ListMemoResourcesRequest) (*ListMemoResourcesResponse, error) // SetMemoRelations sets relations for a memo. SetMemoRelations(context.Context, *SetMemoRelationsRequest) (*SetMemoRelationsResponse, error) // ListMemoRelations lists relations for a memo. ListMemoRelations(context.Context, *ListMemoRelationsRequest) (*ListMemoRelationsResponse, error) // CreateMemoComment creates a comment for a memo. CreateMemoComment(context.Context, *CreateMemoCommentRequest) (*CreateMemoCommentResponse, error) // ListMemoComments lists comments for a memo. ListMemoComments(context.Context, *ListMemoCommentsRequest) (*ListMemoCommentsResponse, error) // ExportMemos exports memos. ExportMemos(*ExportMemosRequest, MemoService_ExportMemosServer) error // GetUserMemosStats gets stats of memos for a user. GetUserMemosStats(context.Context, *GetUserMemosStatsRequest) (*GetUserMemosStatsResponse, error) // contains filtered or unexported methods }
MemoServiceServer is the server API for MemoService service. All implementations must embed UnimplementedMemoServiceServer for forward compatibility
type MemoService_ExportMemosClient ¶ added in v0.19.1
type MemoService_ExportMemosClient interface { Recv() (*ExportMemosResponse, error) grpc.ClientStream }
type MemoService_ExportMemosServer ¶ added in v0.19.1
type MemoService_ExportMemosServer interface { Send(*ExportMemosResponse) error grpc.ServerStream }
type Node ¶ added in v0.18.2
type Node struct { Type NodeType `protobuf:"varint,1,opt,name=type,proto3,enum=memos.api.v2.NodeType" json:"type,omitempty"` // Types that are assignable to Node: // // *Node_LineBreakNode // *Node_ParagraphNode // *Node_CodeBlockNode // *Node_HeadingNode // *Node_HorizontalRuleNode // *Node_BlockquoteNode // *Node_OrderedListNode // *Node_UnorderedListNode // *Node_TaskListNode // *Node_MathBlockNode // *Node_TableNode // *Node_EmbeddedContentNode // *Node_TextNode // *Node_BoldNode // *Node_ItalicNode // *Node_BoldItalicNode // *Node_CodeNode // *Node_ImageNode // *Node_LinkNode // *Node_AutoLinkNode // *Node_TagNode // *Node_StrikethroughNode // *Node_EscapingCharacterNode // *Node_MathNode // *Node_HighlightNode // *Node_SubscriptNode // *Node_SuperscriptNode // *Node_ReferencedContentNode Node isNode_Node `protobuf_oneof:"node"` // contains filtered or unexported fields }
func (*Node) Descriptor
deprecated
added in
v0.18.2
func (*Node) GetAutoLinkNode ¶ added in v0.18.2
func (x *Node) GetAutoLinkNode() *AutoLinkNode
func (*Node) GetBlockquoteNode ¶ added in v0.18.2
func (x *Node) GetBlockquoteNode() *BlockquoteNode
func (*Node) GetBoldItalicNode ¶ added in v0.18.2
func (x *Node) GetBoldItalicNode() *BoldItalicNode
func (*Node) GetBoldNode ¶ added in v0.18.2
func (*Node) GetCodeBlockNode ¶ added in v0.18.2
func (x *Node) GetCodeBlockNode() *CodeBlockNode
func (*Node) GetCodeNode ¶ added in v0.18.2
func (*Node) GetEmbeddedContentNode ¶ added in v0.19.0
func (x *Node) GetEmbeddedContentNode() *EmbeddedContentNode
func (*Node) GetEscapingCharacterNode ¶ added in v0.18.2
func (x *Node) GetEscapingCharacterNode() *EscapingCharacterNode
func (*Node) GetHeadingNode ¶ added in v0.18.2
func (x *Node) GetHeadingNode() *HeadingNode
func (*Node) GetHighlightNode ¶ added in v0.18.2
func (x *Node) GetHighlightNode() *HighlightNode
func (*Node) GetHorizontalRuleNode ¶ added in v0.18.2
func (x *Node) GetHorizontalRuleNode() *HorizontalRuleNode
func (*Node) GetImageNode ¶ added in v0.18.2
func (*Node) GetItalicNode ¶ added in v0.18.2
func (x *Node) GetItalicNode() *ItalicNode
func (*Node) GetLineBreakNode ¶ added in v0.18.2
func (x *Node) GetLineBreakNode() *LineBreakNode
func (*Node) GetLinkNode ¶ added in v0.18.2
func (*Node) GetMathBlockNode ¶ added in v0.18.2
func (x *Node) GetMathBlockNode() *MathBlockNode
func (*Node) GetMathNode ¶ added in v0.18.2
func (*Node) GetOrderedListNode ¶ added in v0.18.2
func (x *Node) GetOrderedListNode() *OrderedListNode
func (*Node) GetParagraphNode ¶ added in v0.18.2
func (x *Node) GetParagraphNode() *ParagraphNode
func (*Node) GetReferencedContentNode ¶ added in v0.19.0
func (x *Node) GetReferencedContentNode() *ReferencedContentNode
func (*Node) GetStrikethroughNode ¶ added in v0.18.2
func (x *Node) GetStrikethroughNode() *StrikethroughNode
func (*Node) GetSubscriptNode ¶ added in v0.19.0
func (x *Node) GetSubscriptNode() *SubscriptNode
func (*Node) GetSuperscriptNode ¶ added in v0.19.0
func (x *Node) GetSuperscriptNode() *SuperscriptNode
func (*Node) GetTableNode ¶ added in v0.18.2
func (*Node) GetTagNode ¶ added in v0.18.2
func (*Node) GetTaskListNode ¶ added in v0.18.2
func (x *Node) GetTaskListNode() *TaskListNode
func (*Node) GetTextNode ¶ added in v0.18.2
func (*Node) GetUnorderedListNode ¶ added in v0.18.2
func (x *Node) GetUnorderedListNode() *UnorderedListNode
func (*Node) ProtoMessage ¶ added in v0.18.2
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶ added in v0.18.2
func (x *Node) ProtoReflect() protoreflect.Message
type NodeType ¶ added in v0.18.2
type NodeType int32
const ( NodeType_NODE_UNSPECIFIED NodeType = 0 NodeType_LINE_BREAK NodeType = 1 NodeType_PARAGRAPH NodeType = 2 NodeType_CODE_BLOCK NodeType = 3 NodeType_HEADING NodeType = 4 NodeType_HORIZONTAL_RULE NodeType = 5 NodeType_BLOCKQUOTE NodeType = 6 NodeType_ORDERED_LIST NodeType = 7 NodeType_UNORDERED_LIST NodeType = 8 NodeType_TASK_LIST NodeType = 9 NodeType_MATH_BLOCK NodeType = 10 NodeType_TABLE NodeType = 11 NodeType_EMBEDDED_CONTENT NodeType = 12 NodeType_TEXT NodeType = 13 NodeType_BOLD NodeType = 14 NodeType_ITALIC NodeType = 15 NodeType_BOLD_ITALIC NodeType = 16 NodeType_CODE NodeType = 17 NodeType_IMAGE NodeType = 18 NodeType_LINK NodeType = 19 NodeType_AUTO_LINK NodeType = 20 NodeType_TAG NodeType = 21 NodeType_STRIKETHROUGH NodeType = 22 NodeType_ESCAPING_CHARACTER NodeType = 23 NodeType_MATH NodeType = 24 NodeType_HIGHLIGHT NodeType = 25 NodeType_SUBSCRIPT NodeType = 26 NodeType_SUPERSCRIPT NodeType = 27 NodeType_REFERENCED_CONTENT NodeType = 28 )
func (NodeType) Descriptor ¶ added in v0.18.2
func (NodeType) Descriptor() protoreflect.EnumDescriptor
func (NodeType) EnumDescriptor
deprecated
added in
v0.18.2
func (NodeType) Number ¶ added in v0.18.2
func (x NodeType) Number() protoreflect.EnumNumber
func (NodeType) Type ¶ added in v0.18.2
func (NodeType) Type() protoreflect.EnumType
type Node_AutoLinkNode ¶ added in v0.18.2
type Node_AutoLinkNode struct {
AutoLinkNode *AutoLinkNode `protobuf:"bytes,21,opt,name=auto_link_node,json=autoLinkNode,proto3,oneof"`
}
type Node_BlockquoteNode ¶ added in v0.18.2
type Node_BlockquoteNode struct {
BlockquoteNode *BlockquoteNode `protobuf:"bytes,7,opt,name=blockquote_node,json=blockquoteNode,proto3,oneof"`
}
type Node_BoldItalicNode ¶ added in v0.18.2
type Node_BoldItalicNode struct {
BoldItalicNode *BoldItalicNode `protobuf:"bytes,17,opt,name=bold_italic_node,json=boldItalicNode,proto3,oneof"`
}
type Node_BoldNode ¶ added in v0.18.2
type Node_BoldNode struct {
BoldNode *BoldNode `protobuf:"bytes,15,opt,name=bold_node,json=boldNode,proto3,oneof"`
}
type Node_CodeBlockNode ¶ added in v0.18.2
type Node_CodeBlockNode struct {
CodeBlockNode *CodeBlockNode `protobuf:"bytes,4,opt,name=code_block_node,json=codeBlockNode,proto3,oneof"`
}
type Node_CodeNode ¶ added in v0.18.2
type Node_CodeNode struct {
CodeNode *CodeNode `protobuf:"bytes,18,opt,name=code_node,json=codeNode,proto3,oneof"`
}
type Node_EmbeddedContentNode ¶ added in v0.19.0
type Node_EmbeddedContentNode struct {
EmbeddedContentNode *EmbeddedContentNode `protobuf:"bytes,13,opt,name=embedded_content_node,json=embeddedContentNode,proto3,oneof"`
}
type Node_EscapingCharacterNode ¶ added in v0.18.2
type Node_EscapingCharacterNode struct {
EscapingCharacterNode *EscapingCharacterNode `protobuf:"bytes,24,opt,name=escaping_character_node,json=escapingCharacterNode,proto3,oneof"`
}
type Node_HeadingNode ¶ added in v0.18.2
type Node_HeadingNode struct {
HeadingNode *HeadingNode `protobuf:"bytes,5,opt,name=heading_node,json=headingNode,proto3,oneof"`
}
type Node_HighlightNode ¶ added in v0.18.2
type Node_HighlightNode struct {
HighlightNode *HighlightNode `protobuf:"bytes,26,opt,name=highlight_node,json=highlightNode,proto3,oneof"`
}
type Node_HorizontalRuleNode ¶ added in v0.18.2
type Node_HorizontalRuleNode struct {
HorizontalRuleNode *HorizontalRuleNode `protobuf:"bytes,6,opt,name=horizontal_rule_node,json=horizontalRuleNode,proto3,oneof"`
}
type Node_ImageNode ¶ added in v0.18.2
type Node_ImageNode struct {
ImageNode *ImageNode `protobuf:"bytes,19,opt,name=image_node,json=imageNode,proto3,oneof"`
}
type Node_ItalicNode ¶ added in v0.18.2
type Node_ItalicNode struct {
ItalicNode *ItalicNode `protobuf:"bytes,16,opt,name=italic_node,json=italicNode,proto3,oneof"`
}
type Node_LineBreakNode ¶ added in v0.18.2
type Node_LineBreakNode struct {
LineBreakNode *LineBreakNode `protobuf:"bytes,2,opt,name=line_break_node,json=lineBreakNode,proto3,oneof"`
}
type Node_LinkNode ¶ added in v0.18.2
type Node_LinkNode struct {
LinkNode *LinkNode `protobuf:"bytes,20,opt,name=link_node,json=linkNode,proto3,oneof"`
}
type Node_MathBlockNode ¶ added in v0.18.2
type Node_MathBlockNode struct {
MathBlockNode *MathBlockNode `protobuf:"bytes,11,opt,name=math_block_node,json=mathBlockNode,proto3,oneof"`
}
type Node_MathNode ¶ added in v0.18.2
type Node_MathNode struct {
MathNode *MathNode `protobuf:"bytes,25,opt,name=math_node,json=mathNode,proto3,oneof"`
}
type Node_OrderedListNode ¶ added in v0.18.2
type Node_OrderedListNode struct {
OrderedListNode *OrderedListNode `protobuf:"bytes,8,opt,name=ordered_list_node,json=orderedListNode,proto3,oneof"`
}
type Node_ParagraphNode ¶ added in v0.18.2
type Node_ParagraphNode struct {
ParagraphNode *ParagraphNode `protobuf:"bytes,3,opt,name=paragraph_node,json=paragraphNode,proto3,oneof"`
}
type Node_ReferencedContentNode ¶ added in v0.19.0
type Node_ReferencedContentNode struct {
ReferencedContentNode *ReferencedContentNode `protobuf:"bytes,29,opt,name=referenced_content_node,json=referencedContentNode,proto3,oneof"`
}
type Node_StrikethroughNode ¶ added in v0.18.2
type Node_StrikethroughNode struct {
StrikethroughNode *StrikethroughNode `protobuf:"bytes,23,opt,name=strikethrough_node,json=strikethroughNode,proto3,oneof"`
}
type Node_SubscriptNode ¶ added in v0.19.0
type Node_SubscriptNode struct {
SubscriptNode *SubscriptNode `protobuf:"bytes,27,opt,name=subscript_node,json=subscriptNode,proto3,oneof"`
}
type Node_SuperscriptNode ¶ added in v0.19.0
type Node_SuperscriptNode struct {
SuperscriptNode *SuperscriptNode `protobuf:"bytes,28,opt,name=superscript_node,json=superscriptNode,proto3,oneof"`
}
type Node_TableNode ¶ added in v0.18.2
type Node_TableNode struct {
TableNode *TableNode `protobuf:"bytes,12,opt,name=table_node,json=tableNode,proto3,oneof"`
}
type Node_TagNode ¶ added in v0.18.2
type Node_TagNode struct {
TagNode *TagNode `protobuf:"bytes,22,opt,name=tag_node,json=tagNode,proto3,oneof"`
}
type Node_TaskListNode ¶ added in v0.18.2
type Node_TaskListNode struct {
TaskListNode *TaskListNode `protobuf:"bytes,10,opt,name=task_list_node,json=taskListNode,proto3,oneof"`
}
type Node_TextNode ¶ added in v0.18.2
type Node_TextNode struct {
TextNode *TextNode `protobuf:"bytes,14,opt,name=text_node,json=textNode,proto3,oneof"`
}
type Node_UnorderedListNode ¶ added in v0.18.2
type Node_UnorderedListNode struct {
UnorderedListNode *UnorderedListNode `protobuf:"bytes,9,opt,name=unordered_list_node,json=unorderedListNode,proto3,oneof"`
}
type OrderedListNode ¶ added in v0.18.2
type OrderedListNode struct { Number string `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"` Indent int32 `protobuf:"varint,2,opt,name=indent,proto3" json:"indent,omitempty"` Children []*Node `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
func (*OrderedListNode) Descriptor
deprecated
added in
v0.18.2
func (*OrderedListNode) Descriptor() ([]byte, []int)
Deprecated: Use OrderedListNode.ProtoReflect.Descriptor instead.
func (*OrderedListNode) GetChildren ¶ added in v0.18.2
func (x *OrderedListNode) GetChildren() []*Node
func (*OrderedListNode) GetIndent ¶ added in v0.18.2
func (x *OrderedListNode) GetIndent() int32
func (*OrderedListNode) GetNumber ¶ added in v0.18.2
func (x *OrderedListNode) GetNumber() string
func (*OrderedListNode) ProtoMessage ¶ added in v0.18.2
func (*OrderedListNode) ProtoMessage()
func (*OrderedListNode) ProtoReflect ¶ added in v0.18.2
func (x *OrderedListNode) ProtoReflect() protoreflect.Message
func (*OrderedListNode) Reset ¶ added in v0.18.2
func (x *OrderedListNode) Reset()
func (*OrderedListNode) String ¶ added in v0.18.2
func (x *OrderedListNode) String() string
type 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) ProtoMessage ¶ added in v0.19.0
func (*PageToken) ProtoMessage()
func (*PageToken) ProtoReflect ¶ added in v0.19.0
func (x *PageToken) ProtoReflect() protoreflect.Message
type ParagraphNode ¶ added in v0.18.2
type ParagraphNode struct { Children []*Node `protobuf:"bytes,1,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
func (*ParagraphNode) Descriptor
deprecated
added in
v0.18.2
func (*ParagraphNode) Descriptor() ([]byte, []int)
Deprecated: Use ParagraphNode.ProtoReflect.Descriptor instead.
func (*ParagraphNode) GetChildren ¶ added in v0.18.2
func (x *ParagraphNode) GetChildren() []*Node
func (*ParagraphNode) ProtoMessage ¶ added in v0.18.2
func (*ParagraphNode) ProtoMessage()
func (*ParagraphNode) ProtoReflect ¶ added in v0.18.2
func (x *ParagraphNode) ProtoReflect() protoreflect.Message
func (*ParagraphNode) Reset ¶ added in v0.18.2
func (x *ParagraphNode) Reset()
func (*ParagraphNode) String ¶ added in v0.18.2
func (x *ParagraphNode) String() string
type ReferencedContentNode ¶ added in v0.19.0
type ReferencedContentNode struct { ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` Params string `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
func (*ReferencedContentNode) Descriptor
deprecated
added in
v0.19.0
func (*ReferencedContentNode) Descriptor() ([]byte, []int)
Deprecated: Use ReferencedContentNode.ProtoReflect.Descriptor instead.
func (*ReferencedContentNode) GetParams ¶ added in v0.19.0
func (x *ReferencedContentNode) GetParams() string
func (*ReferencedContentNode) GetResourceName ¶ added in v0.19.0
func (x *ReferencedContentNode) GetResourceName() string
func (*ReferencedContentNode) ProtoMessage ¶ added in v0.19.0
func (*ReferencedContentNode) ProtoMessage()
func (*ReferencedContentNode) ProtoReflect ¶ added in v0.19.0
func (x *ReferencedContentNode) ProtoReflect() protoreflect.Message
func (*ReferencedContentNode) Reset ¶ added in v0.19.0
func (x *ReferencedContentNode) Reset()
func (*ReferencedContentNode) String ¶ added in v0.19.0
func (x *ReferencedContentNode) String() string
type RenameTagRequest ¶ added in v0.19.0
type RenameTagRequest struct { // The creator of tags. // Format: users/{username} 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 { // id is the system generated unique identifier. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // name is the user provided name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,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"` ExternalLink string `protobuf:"bytes,5,opt,name=external_link,json=externalLink,proto3" json:"external_link,omitempty"` Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` Size int64 `protobuf:"varint,7,opt,name=size,proto3" json:"size,omitempty"` MemoId *int32 `protobuf:"varint,8,opt,name=memo_id,json=memoId,proto3,oneof" json:"memo_id,omitempty"` // contains filtered or unexported fields }
func (*Resource) Descriptor
deprecated
added in
v0.15.0
func (*Resource) GetCreateTime ¶ added in v0.18.2
func (x *Resource) GetCreateTime() *timestamppb.Timestamp
func (*Resource) GetExternalLink ¶ added in v0.15.0
func (*Resource) GetFilename ¶ added in v0.15.0
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
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) // GetResource returns a resource by id. GetResource(ctx context.Context, in *GetResourceRequest, opts ...grpc.CallOption) (*GetResourceResponse, error) // GetResourceByName returns a resource by name. GetResourceByName(ctx context.Context, in *GetResourceByNameRequest, opts ...grpc.CallOption) (*GetResourceByNameResponse, error) // UpdateResource updates a resource. UpdateResource(ctx context.Context, in *UpdateResourceRequest, opts ...grpc.CallOption) (*UpdateResourceResponse, error) // DeleteResource deletes a resource by id. 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) // GetResource returns a resource by id. GetResource(context.Context, *GetResourceRequest) (*GetResourceResponse, error) // GetResourceByName returns a resource by name. GetResourceByName(context.Context, *GetResourceByNameRequest) (*GetResourceByNameResponse, error) // UpdateResource updates a resource. UpdateResource(context.Context, *UpdateResourceRequest) (*UpdateResourceResponse, error) // DeleteResource deletes a resource by id. 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
func (RowStatus) Descriptor ¶
func (RowStatus) Descriptor() protoreflect.EnumDescriptor
func (RowStatus) EnumDescriptor
deprecated
func (RowStatus) Number ¶
func (x RowStatus) Number() protoreflect.EnumNumber
func (RowStatus) Type ¶
func (RowStatus) Type() protoreflect.EnumType
type SetMemoRelationsRequest ¶ added in v0.18.2
type SetMemoRelationsRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Relations []*MemoRelation `protobuf:"bytes,2,rep,name=relations,proto3" json:"relations,omitempty"` // contains filtered or unexported fields }
func (*SetMemoRelationsRequest) Descriptor
deprecated
added in
v0.18.2
func (*SetMemoRelationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetMemoRelationsRequest.ProtoReflect.Descriptor instead.
func (*SetMemoRelationsRequest) GetId ¶ added in v0.18.2
func (x *SetMemoRelationsRequest) GetId() int32
func (*SetMemoRelationsRequest) GetRelations ¶ added in v0.18.2
func (x *SetMemoRelationsRequest) GetRelations() []*MemoRelation
func (*SetMemoRelationsRequest) ProtoMessage ¶ added in v0.18.2
func (*SetMemoRelationsRequest) ProtoMessage()
func (*SetMemoRelationsRequest) ProtoReflect ¶ added in v0.18.2
func (x *SetMemoRelationsRequest) ProtoReflect() protoreflect.Message
func (*SetMemoRelationsRequest) Reset ¶ added in v0.18.2
func (x *SetMemoRelationsRequest) Reset()
func (*SetMemoRelationsRequest) String ¶ added in v0.18.2
func (x *SetMemoRelationsRequest) String() string
type SetMemoRelationsResponse ¶ added in v0.18.2
type SetMemoRelationsResponse struct {
// contains filtered or unexported fields
}
func (*SetMemoRelationsResponse) Descriptor
deprecated
added in
v0.18.2
func (*SetMemoRelationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetMemoRelationsResponse.ProtoReflect.Descriptor instead.
func (*SetMemoRelationsResponse) ProtoMessage ¶ added in v0.18.2
func (*SetMemoRelationsResponse) ProtoMessage()
func (*SetMemoRelationsResponse) ProtoReflect ¶ added in v0.18.2
func (x *SetMemoRelationsResponse) ProtoReflect() protoreflect.Message
func (*SetMemoRelationsResponse) Reset ¶ added in v0.18.2
func (x *SetMemoRelationsResponse) Reset()
func (*SetMemoRelationsResponse) String ¶ added in v0.18.2
func (x *SetMemoRelationsResponse) String() string
type SetMemoResourcesRequest ¶ added in v0.18.2
type SetMemoResourcesRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Resources []*Resource `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"` // contains filtered or unexported fields }
func (*SetMemoResourcesRequest) Descriptor
deprecated
added in
v0.18.2
func (*SetMemoResourcesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetMemoResourcesRequest.ProtoReflect.Descriptor instead.
func (*SetMemoResourcesRequest) GetId ¶ added in v0.18.2
func (x *SetMemoResourcesRequest) GetId() int32
func (*SetMemoResourcesRequest) GetResources ¶ added in v0.18.2
func (x *SetMemoResourcesRequest) GetResources() []*Resource
func (*SetMemoResourcesRequest) ProtoMessage ¶ added in v0.18.2
func (*SetMemoResourcesRequest) ProtoMessage()
func (*SetMemoResourcesRequest) ProtoReflect ¶ added in v0.18.2
func (x *SetMemoResourcesRequest) ProtoReflect() protoreflect.Message
func (*SetMemoResourcesRequest) Reset ¶ added in v0.18.2
func (x *SetMemoResourcesRequest) Reset()
func (*SetMemoResourcesRequest) String ¶ added in v0.18.2
func (x *SetMemoResourcesRequest) String() string
type SetMemoResourcesResponse ¶ added in v0.18.2
type SetMemoResourcesResponse struct {
// contains filtered or unexported fields
}
func (*SetMemoResourcesResponse) Descriptor
deprecated
added in
v0.18.2
func (*SetMemoResourcesResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetMemoResourcesResponse.ProtoReflect.Descriptor instead.
func (*SetMemoResourcesResponse) ProtoMessage ¶ added in v0.18.2
func (*SetMemoResourcesResponse) ProtoMessage()
func (*SetMemoResourcesResponse) ProtoReflect ¶ added in v0.18.2
func (x *SetMemoResourcesResponse) ProtoReflect() protoreflect.Message
func (*SetMemoResourcesResponse) Reset ¶ added in v0.18.2
func (x *SetMemoResourcesResponse) Reset()
func (*SetMemoResourcesResponse) String ¶ added in v0.18.2
func (x *SetMemoResourcesResponse) String() string
type SignInRequest ¶ added in v0.19.1
type SignInRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` 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 { IdpId int32 `protobuf:"varint,1,opt,name=idp_id,json=idpId,proto3" json:"idp_id,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` 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 { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` 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 StrikethroughNode ¶ added in v0.18.2
type StrikethroughNode struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*StrikethroughNode) Descriptor
deprecated
added in
v0.18.2
func (*StrikethroughNode) Descriptor() ([]byte, []int)
Deprecated: Use StrikethroughNode.ProtoReflect.Descriptor instead.
func (*StrikethroughNode) GetContent ¶ added in v0.18.2
func (x *StrikethroughNode) GetContent() string
func (*StrikethroughNode) ProtoMessage ¶ added in v0.18.2
func (*StrikethroughNode) ProtoMessage()
func (*StrikethroughNode) ProtoReflect ¶ added in v0.18.2
func (x *StrikethroughNode) ProtoReflect() protoreflect.Message
func (*StrikethroughNode) Reset ¶ added in v0.18.2
func (x *StrikethroughNode) Reset()
func (*StrikethroughNode) String ¶ added in v0.18.2
func (x *StrikethroughNode) String() string
type SubscriptNode ¶ added in v0.19.0
type SubscriptNode struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*SubscriptNode) Descriptor
deprecated
added in
v0.19.0
func (*SubscriptNode) Descriptor() ([]byte, []int)
Deprecated: Use SubscriptNode.ProtoReflect.Descriptor instead.
func (*SubscriptNode) GetContent ¶ added in v0.19.0
func (x *SubscriptNode) GetContent() string
func (*SubscriptNode) ProtoMessage ¶ added in v0.19.0
func (*SubscriptNode) ProtoMessage()
func (*SubscriptNode) ProtoReflect ¶ added in v0.19.0
func (x *SubscriptNode) ProtoReflect() protoreflect.Message
func (*SubscriptNode) Reset ¶ added in v0.19.0
func (x *SubscriptNode) Reset()
func (*SubscriptNode) String ¶ added in v0.19.0
func (x *SubscriptNode) String() string
type SuperscriptNode ¶ added in v0.19.0
type SuperscriptNode struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*SuperscriptNode) Descriptor
deprecated
added in
v0.19.0
func (*SuperscriptNode) Descriptor() ([]byte, []int)
Deprecated: Use SuperscriptNode.ProtoReflect.Descriptor instead.
func (*SuperscriptNode) GetContent ¶ added in v0.19.0
func (x *SuperscriptNode) GetContent() string
func (*SuperscriptNode) ProtoMessage ¶ added in v0.19.0
func (*SuperscriptNode) ProtoMessage()
func (*SuperscriptNode) ProtoReflect ¶ added in v0.19.0
func (x *SuperscriptNode) ProtoReflect() protoreflect.Message
func (*SuperscriptNode) Reset ¶ added in v0.19.0
func (x *SuperscriptNode) Reset()
func (*SuperscriptNode) String ¶ added in v0.19.0
func (x *SuperscriptNode) String() string
type TableNode ¶ added in v0.18.2
type TableNode struct { Header []string `protobuf:"bytes,1,rep,name=header,proto3" json:"header,omitempty"` Delimiter []string `protobuf:"bytes,2,rep,name=delimiter,proto3" json:"delimiter,omitempty"` Rows []*TableNode_Row `protobuf:"bytes,3,rep,name=rows,proto3" json:"rows,omitempty"` // contains filtered or unexported fields }
func (*TableNode) Descriptor
deprecated
added in
v0.18.2
func (*TableNode) GetDelimiter ¶ added in v0.18.2
func (*TableNode) GetRows ¶ added in v0.18.2
func (x *TableNode) GetRows() []*TableNode_Row
func (*TableNode) ProtoMessage ¶ added in v0.18.2
func (*TableNode) ProtoMessage()
func (*TableNode) ProtoReflect ¶ added in v0.18.2
func (x *TableNode) ProtoReflect() protoreflect.Message
type TableNode_Row ¶ added in v0.18.2
type TableNode_Row struct { Cells []string `protobuf:"bytes,1,rep,name=cells,proto3" json:"cells,omitempty"` // contains filtered or unexported fields }
func (*TableNode_Row) Descriptor
deprecated
added in
v0.18.2
func (*TableNode_Row) Descriptor() ([]byte, []int)
Deprecated: Use TableNode_Row.ProtoReflect.Descriptor instead.
func (*TableNode_Row) GetCells ¶ added in v0.18.2
func (x *TableNode_Row) GetCells() []string
func (*TableNode_Row) ProtoMessage ¶ added in v0.18.2
func (*TableNode_Row) ProtoMessage()
func (*TableNode_Row) ProtoReflect ¶ added in v0.18.2
func (x *TableNode_Row) ProtoReflect() protoreflect.Message
func (*TableNode_Row) Reset ¶ added in v0.18.2
func (x *TableNode_Row) Reset()
func (*TableNode_Row) String ¶ added in v0.18.2
func (x *TableNode_Row) String() string
type Tag ¶
type Tag struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The creator of tags. // Format: users/{username} Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` // contains filtered or unexported fields }
func (*Tag) Descriptor
deprecated
func (*Tag) GetCreator ¶ added in v0.17.1
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
func (*Tag) ProtoReflect ¶
func (x *Tag) ProtoReflect() protoreflect.Message
type TagNode ¶ added in v0.18.2
type TagNode struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*TagNode) Descriptor
deprecated
added in
v0.18.2
func (*TagNode) GetContent ¶ added in v0.18.2
func (*TagNode) ProtoMessage ¶ added in v0.18.2
func (*TagNode) ProtoMessage()
func (*TagNode) ProtoReflect ¶ added in v0.18.2
func (x *TagNode) ProtoReflect() protoreflect.Message
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 TaskListNode ¶ added in v0.18.2
type TaskListNode struct { Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` Indent int32 `protobuf:"varint,2,opt,name=indent,proto3" json:"indent,omitempty"` Complete bool `protobuf:"varint,3,opt,name=complete,proto3" json:"complete,omitempty"` Children []*Node `protobuf:"bytes,4,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
func (*TaskListNode) Descriptor
deprecated
added in
v0.18.2
func (*TaskListNode) Descriptor() ([]byte, []int)
Deprecated: Use TaskListNode.ProtoReflect.Descriptor instead.
func (*TaskListNode) GetChildren ¶ added in v0.18.2
func (x *TaskListNode) GetChildren() []*Node
func (*TaskListNode) GetComplete ¶ added in v0.18.2
func (x *TaskListNode) GetComplete() bool
func (*TaskListNode) GetIndent ¶ added in v0.18.2
func (x *TaskListNode) GetIndent() int32
func (*TaskListNode) GetSymbol ¶ added in v0.18.2
func (x *TaskListNode) GetSymbol() string
func (*TaskListNode) ProtoMessage ¶ added in v0.18.2
func (*TaskListNode) ProtoMessage()
func (*TaskListNode) ProtoReflect ¶ added in v0.18.2
func (x *TaskListNode) ProtoReflect() protoreflect.Message
func (*TaskListNode) Reset ¶ added in v0.18.2
func (x *TaskListNode) Reset()
func (*TaskListNode) String ¶ added in v0.18.2
func (x *TaskListNode) String() string
type TextNode ¶ added in v0.18.2
type TextNode struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*TextNode) Descriptor
deprecated
added in
v0.18.2
func (*TextNode) GetContent ¶ added in v0.18.2
func (*TextNode) ProtoMessage ¶ added in v0.18.2
func (*TextNode) ProtoMessage()
func (*TextNode) ProtoReflect ¶ added in v0.18.2
func (x *TextNode) ProtoReflect() protoreflect.Message
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
func (UnimplementedActivityServiceServer) GetActivity(context.Context, *GetActivityRequest) (*GetActivityResponse, error)
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) GetAuthStatus(context.Context, *GetAuthStatusRequest) (*GetAuthStatusResponse, error)
func (UnimplementedAuthServiceServer) SignIn ¶ added in v0.19.1
func (UnimplementedAuthServiceServer) SignIn(context.Context, *SignInRequest) (*SignInResponse, error)
func (UnimplementedAuthServiceServer) SignInWithSSO ¶ added in v0.19.1
func (UnimplementedAuthServiceServer) SignInWithSSO(context.Context, *SignInWithSSORequest) (*SignInWithSSOResponse, error)
func (UnimplementedAuthServiceServer) SignOut ¶ added in v0.19.1
func (UnimplementedAuthServiceServer) SignOut(context.Context, *SignOutRequest) (*SignOutResponse, error)
func (UnimplementedAuthServiceServer) SignUp ¶ added in v0.19.1
func (UnimplementedAuthServiceServer) SignUp(context.Context, *SignUpRequest) (*SignUpResponse, error)
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) DeleteInbox(context.Context, *DeleteInboxRequest) (*DeleteInboxResponse, error)
func (UnimplementedInboxServiceServer) ListInboxes ¶ added in v0.17.0
func (UnimplementedInboxServiceServer) ListInboxes(context.Context, *ListInboxesRequest) (*ListInboxesResponse, error)
func (UnimplementedInboxServiceServer) UpdateInbox ¶ added in v0.17.0
func (UnimplementedInboxServiceServer) UpdateInbox(context.Context, *UpdateInboxRequest) (*UpdateInboxResponse, error)
type UnimplementedMemoServiceServer ¶
type UnimplementedMemoServiceServer struct { }
UnimplementedMemoServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedMemoServiceServer) CreateMemo ¶ added in v0.16.0
func (UnimplementedMemoServiceServer) CreateMemo(context.Context, *CreateMemoRequest) (*CreateMemoResponse, error)
func (UnimplementedMemoServiceServer) CreateMemoComment ¶ added in v0.16.0
func (UnimplementedMemoServiceServer) CreateMemoComment(context.Context, *CreateMemoCommentRequest) (*CreateMemoCommentResponse, error)
func (UnimplementedMemoServiceServer) DeleteMemo ¶ added in v0.18.2
func (UnimplementedMemoServiceServer) DeleteMemo(context.Context, *DeleteMemoRequest) (*DeleteMemoResponse, error)
func (UnimplementedMemoServiceServer) ExportMemos ¶ added in v0.19.1
func (UnimplementedMemoServiceServer) ExportMemos(*ExportMemosRequest, MemoService_ExportMemosServer) error
func (UnimplementedMemoServiceServer) GetMemo ¶
func (UnimplementedMemoServiceServer) GetMemo(context.Context, *GetMemoRequest) (*GetMemoResponse, error)
func (UnimplementedMemoServiceServer) GetMemoByName ¶ added in v0.19.0
func (UnimplementedMemoServiceServer) GetMemoByName(context.Context, *GetMemoByNameRequest) (*GetMemoByNameResponse, error)
func (UnimplementedMemoServiceServer) GetUserMemosStats ¶ added in v0.18.2
func (UnimplementedMemoServiceServer) GetUserMemosStats(context.Context, *GetUserMemosStatsRequest) (*GetUserMemosStatsResponse, error)
func (UnimplementedMemoServiceServer) ListMemoComments ¶ added in v0.16.0
func (UnimplementedMemoServiceServer) ListMemoComments(context.Context, *ListMemoCommentsRequest) (*ListMemoCommentsResponse, error)
func (UnimplementedMemoServiceServer) ListMemoRelations ¶ added in v0.18.2
func (UnimplementedMemoServiceServer) ListMemoRelations(context.Context, *ListMemoRelationsRequest) (*ListMemoRelationsResponse, error)
func (UnimplementedMemoServiceServer) ListMemoResources ¶ added in v0.18.2
func (UnimplementedMemoServiceServer) ListMemoResources(context.Context, *ListMemoResourcesRequest) (*ListMemoResourcesResponse, error)
func (UnimplementedMemoServiceServer) ListMemos ¶
func (UnimplementedMemoServiceServer) ListMemos(context.Context, *ListMemosRequest) (*ListMemosResponse, error)
func (UnimplementedMemoServiceServer) SetMemoRelations ¶ added in v0.18.2
func (UnimplementedMemoServiceServer) SetMemoRelations(context.Context, *SetMemoRelationsRequest) (*SetMemoRelationsResponse, error)
func (UnimplementedMemoServiceServer) SetMemoResources ¶ added in v0.18.2
func (UnimplementedMemoServiceServer) SetMemoResources(context.Context, *SetMemoResourcesRequest) (*SetMemoResourcesResponse, error)
func (UnimplementedMemoServiceServer) UpdateMemo ¶ added in v0.18.2
func (UnimplementedMemoServiceServer) UpdateMemo(context.Context, *UpdateMemoRequest) (*UpdateMemoResponse, error)
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) CreateResource(context.Context, *CreateResourceRequest) (*CreateResourceResponse, error)
func (UnimplementedResourceServiceServer) DeleteResource ¶ added in v0.16.0
func (UnimplementedResourceServiceServer) DeleteResource(context.Context, *DeleteResourceRequest) (*DeleteResourceResponse, error)
func (UnimplementedResourceServiceServer) GetResource ¶ added in v0.19.0
func (UnimplementedResourceServiceServer) GetResource(context.Context, *GetResourceRequest) (*GetResourceResponse, error)
func (UnimplementedResourceServiceServer) GetResourceByName ¶ added in v0.19.0
func (UnimplementedResourceServiceServer) GetResourceByName(context.Context, *GetResourceByNameRequest) (*GetResourceByNameResponse, error)
func (UnimplementedResourceServiceServer) ListResources ¶ added in v0.15.0
func (UnimplementedResourceServiceServer) ListResources(context.Context, *ListResourcesRequest) (*ListResourcesResponse, error)
func (UnimplementedResourceServiceServer) UpdateResource ¶ added in v0.16.0
func (UnimplementedResourceServiceServer) UpdateResource(context.Context, *UpdateResourceRequest) (*UpdateResourceResponse, error)
type UnimplementedTagServiceServer ¶
type UnimplementedTagServiceServer struct { }
UnimplementedTagServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedTagServiceServer) BatchUpsertTag ¶ added in v0.19.1
func (UnimplementedTagServiceServer) BatchUpsertTag(context.Context, *BatchUpsertTagRequest) (*BatchUpsertTagResponse, error)
func (UnimplementedTagServiceServer) DeleteTag ¶ added in v0.16.0
func (UnimplementedTagServiceServer) DeleteTag(context.Context, *DeleteTagRequest) (*DeleteTagResponse, error)
func (UnimplementedTagServiceServer) GetTagSuggestions ¶ added in v0.18.0
func (UnimplementedTagServiceServer) GetTagSuggestions(context.Context, *GetTagSuggestionsRequest) (*GetTagSuggestionsResponse, error)
func (UnimplementedTagServiceServer) ListTags ¶
func (UnimplementedTagServiceServer) ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error)
func (UnimplementedTagServiceServer) RenameTag ¶ added in v0.19.0
func (UnimplementedTagServiceServer) RenameTag(context.Context, *RenameTagRequest) (*RenameTagResponse, error)
func (UnimplementedTagServiceServer) UpsertTag ¶ added in v0.16.0
func (UnimplementedTagServiceServer) UpsertTag(context.Context, *UpsertTagRequest) (*UpsertTagResponse, error)
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct { }
UnimplementedUserServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUserServiceServer) CreateUser ¶ added in v0.17.0
func (UnimplementedUserServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
func (UnimplementedUserServiceServer) CreateUserAccessToken ¶ added in v0.15.0
func (UnimplementedUserServiceServer) CreateUserAccessToken(context.Context, *CreateUserAccessTokenRequest) (*CreateUserAccessTokenResponse, error)
func (UnimplementedUserServiceServer) DeleteUser ¶ added in v0.18.0
func (UnimplementedUserServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
func (UnimplementedUserServiceServer) DeleteUserAccessToken ¶ added in v0.15.0
func (UnimplementedUserServiceServer) DeleteUserAccessToken(context.Context, *DeleteUserAccessTokenRequest) (*DeleteUserAccessTokenResponse, error)
func (UnimplementedUserServiceServer) GetUser ¶
func (UnimplementedUserServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
func (UnimplementedUserServiceServer) GetUserSetting ¶ added in v0.18.0
func (UnimplementedUserServiceServer) GetUserSetting(context.Context, *GetUserSettingRequest) (*GetUserSettingResponse, error)
func (UnimplementedUserServiceServer) ListUserAccessTokens ¶ added in v0.15.0
func (UnimplementedUserServiceServer) ListUserAccessTokens(context.Context, *ListUserAccessTokensRequest) (*ListUserAccessTokensResponse, error)
func (UnimplementedUserServiceServer) ListUsers ¶ added in v0.18.2
func (UnimplementedUserServiceServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
func (UnimplementedUserServiceServer) UpdateUser ¶ added in v0.15.0
func (UnimplementedUserServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
func (UnimplementedUserServiceServer) UpdateUserSetting ¶ added in v0.18.0
func (UnimplementedUserServiceServer) UpdateUserSetting(context.Context, *UpdateUserSettingRequest) (*UpdateUserSettingResponse, error)
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) CreateWebhook(context.Context, *CreateWebhookRequest) (*CreateWebhookResponse, error)
func (UnimplementedWebhookServiceServer) DeleteWebhook ¶ added in v0.18.0
func (UnimplementedWebhookServiceServer) DeleteWebhook(context.Context, *DeleteWebhookRequest) (*DeleteWebhookResponse, error)
func (UnimplementedWebhookServiceServer) GetWebhook ¶ added in v0.18.0
func (UnimplementedWebhookServiceServer) GetWebhook(context.Context, *GetWebhookRequest) (*GetWebhookResponse, error)
func (UnimplementedWebhookServiceServer) ListWebhooks ¶ added in v0.18.0
func (UnimplementedWebhookServiceServer) ListWebhooks(context.Context, *ListWebhooksRequest) (*ListWebhooksResponse, error)
func (UnimplementedWebhookServiceServer) UpdateWebhook ¶ added in v0.18.0
func (UnimplementedWebhookServiceServer) UpdateWebhook(context.Context, *UpdateWebhookRequest) (*UpdateWebhookResponse, error)
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
func (UnimplementedWorkspaceServiceServer) GetWorkspaceProfile(context.Context, *GetWorkspaceProfileRequest) (*GetWorkspaceProfileResponse, error)
func (UnimplementedWorkspaceServiceServer) UpdateWorkspaceProfile ¶ added in v0.19.0
func (UnimplementedWorkspaceServiceServer) UpdateWorkspaceProfile(context.Context, *UpdateWorkspaceProfileRequest) (*UpdateWorkspaceProfileResponse, error)
type UnorderedListNode ¶ added in v0.18.2
type UnorderedListNode struct { Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` Indent int32 `protobuf:"varint,2,opt,name=indent,proto3" json:"indent,omitempty"` Children []*Node `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
func (*UnorderedListNode) Descriptor
deprecated
added in
v0.18.2
func (*UnorderedListNode) Descriptor() ([]byte, []int)
Deprecated: Use UnorderedListNode.ProtoReflect.Descriptor instead.
func (*UnorderedListNode) GetChildren ¶ added in v0.18.2
func (x *UnorderedListNode) GetChildren() []*Node
func (*UnorderedListNode) GetIndent ¶ added in v0.18.2
func (x *UnorderedListNode) GetIndent() int32
func (*UnorderedListNode) GetSymbol ¶ added in v0.18.2
func (x *UnorderedListNode) GetSymbol() string
func (*UnorderedListNode) ProtoMessage ¶ added in v0.18.2
func (*UnorderedListNode) ProtoMessage()
func (*UnorderedListNode) ProtoReflect ¶ added in v0.18.2
func (x *UnorderedListNode) ProtoReflect() protoreflect.Message
func (*UnorderedListNode) Reset ¶ added in v0.18.2
func (x *UnorderedListNode) Reset()
func (*UnorderedListNode) String ¶ added in v0.18.2
func (x *UnorderedListNode) String() string
type UnsafeActivityServiceServer ¶ added in v0.17.0
type UnsafeActivityServiceServer interface {
// contains filtered or unexported methods
}
UnsafeActivityServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ActivityServiceServer will result in compilation errors.
type UnsafeAuthServiceServer ¶ added in v0.18.0
type UnsafeAuthServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAuthServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthServiceServer will result in compilation errors.
type UnsafeInboxServiceServer ¶ added in v0.17.0
type UnsafeInboxServiceServer interface {
// contains filtered or unexported methods
}
UnsafeInboxServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InboxServiceServer will result in compilation errors.
type 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 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 UpdateInboxRequest ¶ added in v0.17.0
type UpdateInboxRequest struct { Inbox *Inbox `protobuf:"bytes,1,opt,name=inbox,proto3" json:"inbox,omitempty"` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateInboxRequest) Descriptor
deprecated
added in
v0.17.0
func (*UpdateInboxRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateInboxRequest.ProtoReflect.Descriptor instead.
func (*UpdateInboxRequest) GetInbox ¶ added in v0.17.0
func (x *UpdateInboxRequest) GetInbox() *Inbox
func (*UpdateInboxRequest) GetUpdateMask ¶ added in v0.17.0
func (x *UpdateInboxRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateInboxRequest) ProtoMessage ¶ added in v0.17.0
func (*UpdateInboxRequest) ProtoMessage()
func (*UpdateInboxRequest) ProtoReflect ¶ added in v0.17.0
func (x *UpdateInboxRequest) ProtoReflect() protoreflect.Message
func (*UpdateInboxRequest) Reset ¶ added in v0.17.0
func (x *UpdateInboxRequest) Reset()
func (*UpdateInboxRequest) String ¶ added in v0.17.0
func (x *UpdateInboxRequest) String() string
type UpdateInboxResponse ¶ added in v0.17.0
type UpdateInboxResponse struct { Inbox *Inbox `protobuf:"bytes,1,opt,name=inbox,proto3" json:"inbox,omitempty"` // contains filtered or unexported fields }
func (*UpdateInboxResponse) Descriptor
deprecated
added in
v0.17.0
func (*UpdateInboxResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateInboxResponse.ProtoReflect.Descriptor instead.
func (*UpdateInboxResponse) GetInbox ¶ added in v0.17.0
func (x *UpdateInboxResponse) GetInbox() *Inbox
func (*UpdateInboxResponse) ProtoMessage ¶ added in v0.17.0
func (*UpdateInboxResponse) ProtoMessage()
func (*UpdateInboxResponse) ProtoReflect ¶ added in v0.17.0
func (x *UpdateInboxResponse) ProtoReflect() protoreflect.Message
func (*UpdateInboxResponse) Reset ¶ added in v0.17.0
func (x *UpdateInboxResponse) Reset()
func (*UpdateInboxResponse) String ¶ added in v0.17.0
func (x *UpdateInboxResponse) String() string
type UpdateMemoRequest ¶ added in v0.18.2
type UpdateMemoRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Memo *Memo `protobuf:"bytes,2,opt,name=memo,proto3" json:"memo,omitempty"` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateMemoRequest) Descriptor
deprecated
added in
v0.18.2
func (*UpdateMemoRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMemoRequest.ProtoReflect.Descriptor instead.
func (*UpdateMemoRequest) GetId ¶ added in v0.18.2
func (x *UpdateMemoRequest) GetId() int32
func (*UpdateMemoRequest) GetMemo ¶ added in v0.18.2
func (x *UpdateMemoRequest) GetMemo() *Memo
func (*UpdateMemoRequest) GetUpdateMask ¶ added in v0.18.2
func (x *UpdateMemoRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateMemoRequest) ProtoMessage ¶ added in v0.18.2
func (*UpdateMemoRequest) ProtoMessage()
func (*UpdateMemoRequest) ProtoReflect ¶ added in v0.18.2
func (x *UpdateMemoRequest) ProtoReflect() protoreflect.Message
func (*UpdateMemoRequest) Reset ¶ added in v0.18.2
func (x *UpdateMemoRequest) Reset()
func (*UpdateMemoRequest) String ¶ added in v0.18.2
func (x *UpdateMemoRequest) String() string
type UpdateMemoResponse ¶ added in v0.18.2
type UpdateMemoResponse struct { Memo *Memo `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"` // contains filtered or unexported fields }
func (*UpdateMemoResponse) Descriptor
deprecated
added in
v0.18.2
func (*UpdateMemoResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMemoResponse.ProtoReflect.Descriptor instead.
func (*UpdateMemoResponse) GetMemo ¶ added in v0.18.2
func (x *UpdateMemoResponse) GetMemo() *Memo
func (*UpdateMemoResponse) ProtoMessage ¶ added in v0.18.2
func (*UpdateMemoResponse) ProtoMessage()
func (*UpdateMemoResponse) ProtoReflect ¶ added in v0.18.2
func (x *UpdateMemoResponse) ProtoReflect() protoreflect.Message
func (*UpdateMemoResponse) Reset ¶ added in v0.18.2
func (x *UpdateMemoResponse) Reset()
func (*UpdateMemoResponse) String ¶ added in v0.18.2
func (x *UpdateMemoResponse) String() string
type UpdateResourceRequest ¶ added in v0.16.0
type UpdateResourceRequest struct { Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateResourceRequest) Descriptor
deprecated
added in
v0.16.0
func (*UpdateResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResourceRequest.ProtoReflect.Descriptor instead.
func (*UpdateResourceRequest) GetResource ¶ added in v0.16.0
func (x *UpdateResourceRequest) GetResource() *Resource
func (*UpdateResourceRequest) GetUpdateMask ¶ added in v0.16.0
func (x *UpdateResourceRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateResourceRequest) ProtoMessage ¶ added in v0.16.0
func (*UpdateResourceRequest) ProtoMessage()
func (*UpdateResourceRequest) ProtoReflect ¶ added in v0.16.0
func (x *UpdateResourceRequest) ProtoReflect() protoreflect.Message
func (*UpdateResourceRequest) Reset ¶ added in v0.16.0
func (x *UpdateResourceRequest) Reset()
func (*UpdateResourceRequest) String ¶ added in v0.16.0
func (x *UpdateResourceRequest) String() string
type UpdateResourceResponse ¶ added in v0.16.0
type UpdateResourceResponse struct { Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*UpdateResourceResponse) Descriptor
deprecated
added in
v0.16.0
func (*UpdateResourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResourceResponse.ProtoReflect.Descriptor instead.
func (*UpdateResourceResponse) GetResource ¶ added in v0.16.0
func (x *UpdateResourceResponse) GetResource() *Resource
func (*UpdateResourceResponse) ProtoMessage ¶ added in v0.16.0
func (*UpdateResourceResponse) ProtoMessage()
func (*UpdateResourceResponse) ProtoReflect ¶ added in v0.16.0
func (x *UpdateResourceResponse) ProtoReflect() protoreflect.Message
func (*UpdateResourceResponse) Reset ¶ added in v0.16.0
func (x *UpdateResourceResponse) Reset()
func (*UpdateResourceResponse) String ¶ added in v0.16.0
func (x *UpdateResourceResponse) String() string
type 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 (x *UpdateUserSettingResponse) ProtoReflect() protoreflect.Message
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 UpdateWorkspaceProfileRequest ¶ added in v0.19.0
type UpdateWorkspaceProfileRequest struct { // System info is the updated data. WorkspaceProfile *WorkspaceProfile `protobuf:"bytes,1,opt,name=workspace_profile,json=workspaceProfile,proto3" json:"workspace_profile,omitempty"` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateWorkspaceProfileRequest) Descriptor
deprecated
added in
v0.19.0
func (*UpdateWorkspaceProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateWorkspaceProfileRequest.ProtoReflect.Descriptor instead.
func (*UpdateWorkspaceProfileRequest) GetUpdateMask ¶ added in v0.19.0
func (x *UpdateWorkspaceProfileRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateWorkspaceProfileRequest) GetWorkspaceProfile ¶ added in v0.19.0
func (x *UpdateWorkspaceProfileRequest) GetWorkspaceProfile() *WorkspaceProfile
func (*UpdateWorkspaceProfileRequest) ProtoMessage ¶ added in v0.19.0
func (*UpdateWorkspaceProfileRequest) ProtoMessage()
func (*UpdateWorkspaceProfileRequest) ProtoReflect ¶ added in v0.19.0
func (x *UpdateWorkspaceProfileRequest) ProtoReflect() protoreflect.Message
func (*UpdateWorkspaceProfileRequest) Reset ¶ added in v0.19.0
func (x *UpdateWorkspaceProfileRequest) Reset()
func (*UpdateWorkspaceProfileRequest) String ¶ added in v0.19.0
func (x *UpdateWorkspaceProfileRequest) String() string
type UpdateWorkspaceProfileResponse ¶ added in v0.19.0
type UpdateWorkspaceProfileResponse struct { WorkspaceProfile *WorkspaceProfile `protobuf:"bytes,1,opt,name=workspace_profile,json=workspaceProfile,proto3" json:"workspace_profile,omitempty"` // contains filtered or unexported fields }
func (*UpdateWorkspaceProfileResponse) Descriptor
deprecated
added in
v0.19.0
func (*UpdateWorkspaceProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateWorkspaceProfileResponse.ProtoReflect.Descriptor instead.
func (*UpdateWorkspaceProfileResponse) GetWorkspaceProfile ¶ added in v0.19.0
func (x *UpdateWorkspaceProfileResponse) GetWorkspaceProfile() *WorkspaceProfile
func (*UpdateWorkspaceProfileResponse) ProtoMessage ¶ added in v0.19.0
func (*UpdateWorkspaceProfileResponse) ProtoMessage()
func (*UpdateWorkspaceProfileResponse) ProtoReflect ¶ added in v0.19.0
func (x *UpdateWorkspaceProfileResponse) ProtoReflect() protoreflect.Message
func (*UpdateWorkspaceProfileResponse) Reset ¶ added in v0.19.0
func (x *UpdateWorkspaceProfileResponse) Reset()
func (*UpdateWorkspaceProfileResponse) String ¶ added in v0.19.0
func (x *UpdateWorkspaceProfileResponse) String() string
type UpsertTagRequest ¶ added in v0.16.0
type UpsertTagRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*UpsertTagRequest) Descriptor
deprecated
added in
v0.16.0
func (*UpsertTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpsertTagRequest.ProtoReflect.Descriptor instead.
func (*UpsertTagRequest) GetName ¶ added in v0.16.0
func (x *UpsertTagRequest) GetName() string
func (*UpsertTagRequest) ProtoMessage ¶ added in v0.16.0
func (*UpsertTagRequest) ProtoMessage()
func (*UpsertTagRequest) ProtoReflect ¶ added in v0.16.0
func (x *UpsertTagRequest) ProtoReflect() protoreflect.Message
func (*UpsertTagRequest) Reset ¶ added in v0.16.0
func (x *UpsertTagRequest) Reset()
func (*UpsertTagRequest) String ¶ added in v0.16.0
func (x *UpsertTagRequest) String() string
type UpsertTagResponse ¶ added in v0.16.0
type UpsertTagResponse struct { Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*UpsertTagResponse) Descriptor
deprecated
added in
v0.16.0
func (*UpsertTagResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpsertTagResponse.ProtoReflect.Descriptor instead.
func (*UpsertTagResponse) GetTag ¶ added in v0.16.0
func (x *UpsertTagResponse) GetTag() *Tag
func (*UpsertTagResponse) ProtoMessage ¶ added in v0.16.0
func (*UpsertTagResponse) ProtoMessage()
func (*UpsertTagResponse) ProtoReflect ¶ added in v0.16.0
func (x *UpsertTagResponse) ProtoReflect() protoreflect.Message
func (*UpsertTagResponse) Reset ¶ added in v0.16.0
func (x *UpsertTagResponse) Reset()
func (*UpsertTagResponse) String ¶ added in v0.16.0
func (x *UpsertTagResponse) String() string
type User ¶
type User struct { // The name of the user. // Format: users/{username} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Role User_Role `protobuf:"varint,3,opt,name=role,proto3,enum=memos.api.v2.User_Role" json:"role,omitempty"` Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` Nickname string `protobuf:"bytes,6,opt,name=nickname,proto3" json:"nickname,omitempty"` AvatarUrl string `protobuf:"bytes,7,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` Password string `protobuf:"bytes,8,opt,name=password,proto3" json:"password,omitempty"` RowStatus RowStatus `protobuf:"varint,9,opt,name=row_status,json=rowStatus,proto3,enum=memos.api.v2.RowStatus" json:"row_status,omitempty"` CreateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` UpdateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetAvatarUrl ¶
func (*User) GetCreateTime ¶ added in v0.15.0
func (x *User) GetCreateTime() *timestamppb.Timestamp
func (*User) GetNickname ¶
func (*User) GetPassword ¶ added in v0.15.0
func (*User) GetRowStatus ¶
func (*User) GetUpdateTime ¶ added in v0.15.0
func (x *User) GetUpdateTime() *timestamppb.Timestamp
func (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserAccessToken ¶ added in v0.15.0
type UserAccessToken struct { AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` IssuedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"` ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // contains filtered or unexported fields }
func (*UserAccessToken) Descriptor
deprecated
added in
v0.15.0
func (*UserAccessToken) Descriptor() ([]byte, []int)
Deprecated: Use UserAccessToken.ProtoReflect.Descriptor instead.
func (*UserAccessToken) GetAccessToken ¶ added in v0.15.0
func (x *UserAccessToken) GetAccessToken() string
func (*UserAccessToken) GetDescription ¶ added in v0.15.0
func (x *UserAccessToken) GetDescription() string
func (*UserAccessToken) GetExpiresAt ¶ added in v0.15.0
func (x *UserAccessToken) GetExpiresAt() *timestamppb.Timestamp
func (*UserAccessToken) GetIssuedAt ¶ added in v0.15.0
func (x *UserAccessToken) GetIssuedAt() *timestamppb.Timestamp
func (*UserAccessToken) ProtoMessage ¶ added in v0.15.0
func (*UserAccessToken) ProtoMessage()
func (*UserAccessToken) ProtoReflect ¶ added in v0.15.0
func (x *UserAccessToken) ProtoReflect() protoreflect.Message
func (*UserAccessToken) Reset ¶ added in v0.15.0
func (x *UserAccessToken) Reset()
func (*UserAccessToken) String ¶ added in v0.15.0
func (x *UserAccessToken) String() string
type UserServiceClient ¶
type UserServiceClient interface { // ListUsers returns a list of users. ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error) // GetUser gets a user by name. GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) // CreateUser creates a new user. CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error) // UpdateUser updates a user. UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error) // DeleteUser deletes a user. DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error) // GetUserSetting 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.
func NewUserServiceClient ¶
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
type UserServiceServer ¶
type UserServiceServer interface { // ListUsers returns a list of users. ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error) // GetUser gets a user by name. GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) // CreateUser creates a new user. CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error) // UpdateUser updates a user. UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error) // DeleteUser deletes a user. DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error) // GetUserSetting 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/{username} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The preferred locale of the user. Locale string `protobuf:"bytes,2,opt,name=locale,proto3" json:"locale,omitempty"` // The preferred appearance of the user. Appearance string `protobuf:"bytes,3,opt,name=appearance,proto3" json:"appearance,omitempty"` // The default visibility of the memo. MemoVisibility string `protobuf:"bytes,4,opt,name=memo_visibility,json=memoVisibility,proto3" json:"memo_visibility,omitempty"` // The telegram user id of the user. TelegramUserId string `protobuf:"bytes,5,opt,name=telegram_user_id,json=telegramUserId,proto3" json:"telegram_user_id,omitempty"` // contains filtered or unexported fields }
func (*UserSetting) Descriptor
deprecated
func (*UserSetting) Descriptor() ([]byte, []int)
Deprecated: Use UserSetting.ProtoReflect.Descriptor instead.
func (*UserSetting) GetAppearance ¶ added in v0.18.0
func (x *UserSetting) GetAppearance() string
func (*UserSetting) GetLocale ¶ added in v0.18.0
func (x *UserSetting) GetLocale() string
func (*UserSetting) GetMemoVisibility ¶ added in v0.18.0
func (x *UserSetting) GetMemoVisibility() string
func (*UserSetting) GetName ¶ added in v0.18.0
func (x *UserSetting) GetName() string
func (*UserSetting) GetTelegramUserId ¶ added in v0.18.0
func (x *UserSetting) GetTelegramUserId() string
func (*UserSetting) ProtoMessage ¶
func (*UserSetting) ProtoMessage()
func (*UserSetting) ProtoReflect ¶
func (x *UserSetting) ProtoReflect() protoreflect.Message
func (*UserSetting) Reset ¶
func (x *UserSetting) Reset()
func (*UserSetting) String ¶
func (x *UserSetting) String() string
type User_Role ¶ added in v0.15.0
type User_Role int32
func (User_Role) Descriptor ¶ added in v0.15.0
func (User_Role) Descriptor() protoreflect.EnumDescriptor
func (User_Role) EnumDescriptor
deprecated
added in
v0.15.0
func (User_Role) Number ¶ added in v0.15.0
func (x User_Role) Number() protoreflect.EnumNumber
func (User_Role) Type ¶ added in v0.15.0
func (User_Role) Type() protoreflect.EnumType
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 ¶
func (Visibility) Type() protoreflect.EnumType
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) GetCreatedTime ¶ added in v0.18.0
func (x *Webhook) GetCreatedTime() *timestamppb.Timestamp
func (*Webhook) GetCreatorId ¶ added in v0.18.0
func (*Webhook) GetRowStatus ¶ added in v0.18.0
func (*Webhook) GetUpdatedTime ¶ added in v0.18.0
func (x *Webhook) GetUpdatedTime() *timestamppb.Timestamp
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
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 WorkspaceProfile ¶ added in v0.19.0
type WorkspaceProfile struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Mode string `protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,omitempty"` AllowRegistration bool `protobuf:"varint,3,opt,name=allow_registration,json=allowRegistration,proto3" json:"allow_registration,omitempty"` DisablePasswordLogin bool `protobuf:"varint,4,opt,name=disable_password_login,json=disablePasswordLogin,proto3" json:"disable_password_login,omitempty"` AdditionalScript string `protobuf:"bytes,5,opt,name=additional_script,json=additionalScript,proto3" json:"additional_script,omitempty"` AdditionalStyle string `protobuf:"bytes,6,opt,name=additional_style,json=additionalStyle,proto3" json:"additional_style,omitempty"` // 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) GetAdditionalScript ¶ added in v0.19.0
func (x *WorkspaceProfile) GetAdditionalScript() string
func (*WorkspaceProfile) GetAdditionalStyle ¶ added in v0.19.0
func (x *WorkspaceProfile) GetAdditionalStyle() string
func (*WorkspaceProfile) GetAllowRegistration ¶ added in v0.19.0
func (x *WorkspaceProfile) GetAllowRegistration() bool
func (*WorkspaceProfile) GetDisablePasswordLogin ¶ added in v0.19.0
func (x *WorkspaceProfile) GetDisablePasswordLogin() bool
func (*WorkspaceProfile) GetMode ¶ added in v0.19.0
func (x *WorkspaceProfile) GetMode() 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) // UpdateWorkspaceProfile updates the workspace profile. UpdateWorkspaceProfile(ctx context.Context, in *UpdateWorkspaceProfileRequest, opts ...grpc.CallOption) (*UpdateWorkspaceProfileResponse, 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) // UpdateWorkspaceProfile updates the workspace profile. UpdateWorkspaceProfile(context.Context, *UpdateWorkspaceProfileRequest) (*UpdateWorkspaceProfileResponse, error) // contains filtered or unexported methods }
WorkspaceServiceServer is the server API for WorkspaceService service. All implementations must embed UnimplementedWorkspaceServiceServer for forward compatibility
Source Files
¶
- activity_service.pb.go
- activity_service.pb.gw.go
- activity_service_grpc.pb.go
- auth_service.pb.go
- auth_service.pb.gw.go
- auth_service_grpc.pb.go
- common.pb.go
- inbox_service.pb.go
- inbox_service.pb.gw.go
- inbox_service_grpc.pb.go
- memo_relation_service.pb.go
- memo_service.pb.go
- memo_service.pb.gw.go
- memo_service_grpc.pb.go
- node.pb.go
- resource_service.pb.go
- resource_service.pb.gw.go
- resource_service_grpc.pb.go
- tag_service.pb.go
- tag_service.pb.gw.go
- tag_service_grpc.pb.go
- user_service.pb.go
- user_service.pb.gw.go
- user_service_grpc.pb.go
- webhook_service.pb.go
- webhook_service.pb.gw.go
- webhook_service_grpc.pb.go
- workspace_service.pb.go
- workspace_service.pb.gw.go
- workspace_service_grpc.pb.go