apiv2

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: AGPL-3.0 Imports: 18 Imported by: 0

README

Protocol Documentation

Table of Contents

Top

api/v2/common.proto

RowStatus
Name Number Description
ROW_STATUS_UNSPECIFIED 0
NORMAL 1
ARCHIVED 2

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

Top

api/v2/user_service.proto

CreateUserAccessTokenRequest
Field Type Label Description
id int32 id is the user id.
description string description is the description of the access token.
expires_at google.protobuf.Timestamp optional expires_at is the expiration time of the access token. If expires_at is not set, the access token will never expire.

CreateUserAccessTokenResponse
Field Type Label Description
access_token UserAccessToken

CreateUserRequest
Field Type Label Description
user User

CreateUserResponse
Field Type Label Description
user User

DeleteUserAccessTokenRequest
Field Type Label Description
id int32 id is the user id.
access_token string access_token is the access token to delete.

DeleteUserAccessTokenResponse

DeleteUserRequest
Field Type Label Description
id int32

DeleteUserResponse

GetUserRequest
Field Type Label Description
id int32

GetUserResponse
Field Type Label Description
user User

ListUserAccessTokensRequest
Field Type Label Description
id int32 id is the user id.

ListUserAccessTokensResponse
Field Type Label Description
access_tokens UserAccessToken repeated

ListUsersRequest

ListUsersResponse
Field Type Label Description
users User repeated

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

UpdateUserResponse
Field Type Label Description
user User

User
Field Type Label Description
id int32
row_status RowStatus
created_time google.protobuf.Timestamp
updated_time google.protobuf.Timestamp
role Role
email string
nickname string
password string

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

Role
Name Number Description
ROLE_UNSPECIFIED 0
ADMIN 1
USER 2

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

Top

api/v2/auth_service.proto

GetAuthStatusRequest

GetAuthStatusResponse
Field Type Label Description
user User

SignInRequest
Field Type Label Description
email string
password string

SignInResponse
Field Type Label Description
user User

SignOutRequest

SignOutResponse

SignUpRequest
Field Type Label Description
email string
nickname string
password string

SignUpResponse
Field Type Label Description
user User

AuthService
Method Name Request Type Response Type Description
GetAuthStatus GetAuthStatusRequest GetAuthStatusResponse
SignIn SignInRequest SignInResponse
SignUp SignUpRequest SignUpResponse
SignOut SignOutRequest SignOutResponse

Top

api/v2/collection_service.proto

Collection
Field Type Label Description
id int32
creator_id int32
created_time google.protobuf.Timestamp
updated_time google.protobuf.Timestamp
name string
title string
description string
shortcut_ids int32 repeated
visibility Visibility

CreateCollectionRequest
Field Type Label Description
collection Collection

CreateCollectionResponse
Field Type Label Description
collection Collection

DeleteCollectionRequest
Field Type Label Description
id int32

DeleteCollectionResponse

GetCollectionByNameRequest
Field Type Label Description
name string

GetCollectionByNameResponse
Field Type Label Description
collection Collection

GetCollectionRequest
Field Type Label Description
id int32

GetCollectionResponse
Field Type Label Description
collection Collection

ListCollectionsRequest

ListCollectionsResponse
Field Type Label Description
collections Collection repeated

UpdateCollectionRequest
Field Type Label Description
collection Collection
update_mask google.protobuf.FieldMask

UpdateCollectionResponse
Field Type Label Description
collection Collection

CollectionService
Method Name Request Type Response Type Description
ListCollections ListCollectionsRequest ListCollectionsResponse ListCollections returns a list of collections.
GetCollection GetCollectionRequest GetCollectionResponse GetCollection returns a collection by id.
GetCollectionByName GetCollectionByNameRequest GetCollectionByNameResponse GetCollectionByName returns a collection by name.
CreateCollection CreateCollectionRequest CreateCollectionResponse CreateCollection creates a collection.
UpdateCollection UpdateCollectionRequest UpdateCollectionResponse UpdateCollection updates a collection.
DeleteCollection DeleteCollectionRequest DeleteCollectionResponse DeleteCollection deletes a collection by id.

Top

api/v2/memo_service.proto

CreateMemoRequest
Field Type Label Description
memo Memo

CreateMemoResponse
Field Type Label Description
memo Memo

DeleteMemoRequest
Field Type Label Description
id int32

DeleteMemoResponse

GetMemoRequest
Field Type Label Description
id int32

GetMemoResponse
Field Type Label Description
memo Memo

ListMemosRequest

ListMemosResponse
Field Type Label Description
memos Memo repeated

Memo
Field Type Label Description
id int32
creator_id int32
created_time google.protobuf.Timestamp
updated_time google.protobuf.Timestamp
row_status RowStatus
name string
title string
content string
tags string repeated
visibility Visibility

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

UpdateMemoResponse
Field Type Label Description
memo Memo

MemoService
Method Name Request Type Response Type Description
ListMemos ListMemosRequest ListMemosResponse ListMemos returns a list of memos.
GetMemo GetMemoRequest GetMemoResponse GetMemo returns a memo by id.
CreateMemo CreateMemoRequest CreateMemoResponse CreateMemo creates a memo.
UpdateMemo UpdateMemoRequest UpdateMemoResponse UpdateMemo updates a memo.
DeleteMemo DeleteMemoRequest DeleteMemoResponse DeleteMemo deletes a memo by id.

Top

api/v2/shortcut_service.proto

CreateShortcutRequest
Field Type Label Description
shortcut Shortcut

CreateShortcutResponse
Field Type Label Description
shortcut Shortcut

DeleteShortcutRequest
Field Type Label Description
id int32

DeleteShortcutResponse

GetShortcutAnalyticsRequest
Field Type Label Description
id int32

GetShortcutAnalyticsResponse
Field Type Label Description
references GetShortcutAnalyticsResponse.AnalyticsItem repeated
devices GetShortcutAnalyticsResponse.AnalyticsItem repeated
browsers GetShortcutAnalyticsResponse.AnalyticsItem repeated

GetShortcutAnalyticsResponse.AnalyticsItem
Field Type Label Description
name string
count int32

GetShortcutByNameRequest
Field Type Label Description
name string

GetShortcutByNameResponse
Field Type Label Description
shortcut Shortcut

GetShortcutRequest
Field Type Label Description
id int32

GetShortcutResponse
Field Type Label Description
shortcut Shortcut

ListShortcutsRequest

ListShortcutsResponse
Field Type Label Description
shortcuts Shortcut repeated

OpenGraphMetadata
Field Type Label Description
title string
description string
image string

Shortcut
Field Type Label Description
id int32
creator_id int32
created_time google.protobuf.Timestamp
updated_time google.protobuf.Timestamp
row_status RowStatus
name string
link string
title string
tags string repeated
description string
visibility Visibility
view_count int32
og_metadata OpenGraphMetadata

UpdateShortcutRequest
Field Type Label Description
shortcut Shortcut
update_mask google.protobuf.FieldMask

UpdateShortcutResponse
Field Type Label Description
shortcut Shortcut

ShortcutService
Method Name Request Type Response Type Description
ListShortcuts ListShortcutsRequest ListShortcutsResponse ListShortcuts returns a list of shortcuts.
GetShortcut GetShortcutRequest GetShortcutResponse GetShortcut returns a shortcut by id.
GetShortcutByName GetShortcutByNameRequest GetShortcutByNameResponse GetShortcutByName returns a shortcut by name.
CreateShortcut CreateShortcutRequest CreateShortcutResponse CreateShortcut creates a shortcut.
UpdateShortcut UpdateShortcutRequest UpdateShortcutResponse UpdateShortcut updates a shortcut.
DeleteShortcut DeleteShortcutRequest DeleteShortcutResponse DeleteShortcut deletes a shortcut by name.
GetShortcutAnalytics GetShortcutAnalyticsRequest GetShortcutAnalyticsResponse GetShortcutAnalytics returns the analytics for a shortcut.

Top

api/v2/subscription_service.proto

GetSubscriptionRequest

GetSubscriptionResponse
Field Type Label Description
subscription Subscription

Subscription
Field Type Label Description
plan PlanType
started_time google.protobuf.Timestamp
expires_time google.protobuf.Timestamp

UpdateSubscriptionRequest
Field Type Label Description
license_key string

UpdateSubscriptionResponse
Field Type Label Description
subscription Subscription

PlanType
Name Number Description
PLAN_TYPE_UNSPECIFIED 0
FREE 1
PRO 2

SubscriptionService
Method Name Request Type Response Type Description
GetSubscription GetSubscriptionRequest GetSubscriptionResponse
UpdateSubscription UpdateSubscriptionRequest UpdateSubscriptionResponse

Top

api/v2/user_setting_service.proto

GetUserSettingRequest
Field Type Label Description
id int32 id is the user id.

GetUserSettingResponse
Field Type Label Description
user_setting UserSetting

UpdateUserSettingRequest
Field Type Label Description
id int32 id is the user id.
user_setting UserSetting user_setting is the user setting to update.
update_mask google.protobuf.FieldMask update_mask is the field mask to update.

UpdateUserSettingResponse
Field Type Label Description
user_setting UserSetting

UserSetting
Field Type Label Description
id int32 id is the user id.
locale UserSetting.Locale locale is the user locale.
color_theme UserSetting.ColorTheme color_theme is the user color theme.

UserSetting.ColorTheme
Name Number Description
COLOR_THEME_UNSPECIFIED 0
COLOR_THEME_SYSTEM 1
COLOR_THEME_LIGHT 2
COLOR_THEME_DARK 3

UserSetting.Locale
Name Number Description
LOCALE_UNSPECIFIED 0
LOCALE_EN 1
LOCALE_ZH 2

UserSettingService
Method Name Request Type Response Type Description
GetUserSetting GetUserSettingRequest GetUserSettingResponse GetUserSetting returns the user setting.
UpdateUserSetting UpdateUserSettingRequest UpdateUserSettingResponse UpdateUserSetting updates the user setting.

Top

api/v2/workspace_service.proto

AutoBackupWorkspaceSetting
Field Type Label Description
enabled bool Whether auto backup is enabled.
cron_expression string The cron expression for auto backup. For example, "0 0 0 * * *" means backup at 00:00:00 every day. See https://en.wikipedia.org/wiki/Cron for more details.
max_keep int32 The maximum number of backups to keep.

GetWorkspaceProfileRequest

GetWorkspaceProfileResponse
Field Type Label Description
profile WorkspaceProfile The workspace profile.

GetWorkspaceSettingRequest

GetWorkspaceSettingResponse
Field Type Label Description
setting WorkspaceSetting The user setting.

UpdateWorkspaceSettingRequest
Field Type Label Description
setting WorkspaceSetting The user setting.
update_mask google.protobuf.FieldMask The update mask.

UpdateWorkspaceSettingResponse
Field Type Label Description
setting WorkspaceSetting The user setting.

WorkspaceProfile
Field Type Label Description
mode string Current workspace mode: dev, prod.
version string Current workspace version.
plan PlanType The workspace plan.
enable_signup bool Whether to enable other users to sign up.
custom_style string The custom style.
custom_script string The custom script.

WorkspaceSetting
Field Type Label Description
license_key string
enable_signup bool Whether to enable other users to sign up.
instance_url string The instance URL.
custom_style string The custom style.
custom_script string The custom script.
auto_backup AutoBackupWorkspaceSetting The auto backup setting.

WorkspaceService
Method Name Request Type Response Type Description
GetWorkspaceProfile GetWorkspaceProfileRequest GetWorkspaceProfileResponse
GetWorkspaceSetting GetWorkspaceSettingRequest GetWorkspaceSettingResponse
UpdateWorkspaceSetting UpdateWorkspaceSettingRequest UpdateWorkspaceSettingResponse

Scalar Value Types

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

Documentation

Overview

Package apiv2 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package apiv2 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package apiv2 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package apiv2 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package apiv2 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package apiv2 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package apiv2 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package apiv2 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	AuthService_GetAuthStatus_FullMethodName = "/slash.api.v2.AuthService/GetAuthStatus"
	AuthService_SignIn_FullMethodName        = "/slash.api.v2.AuthService/SignIn"
	AuthService_SignUp_FullMethodName        = "/slash.api.v2.AuthService/SignUp"
	AuthService_SignOut_FullMethodName       = "/slash.api.v2.AuthService/SignOut"
)
View Source
const (
	CollectionService_ListCollections_FullMethodName     = "/slash.api.v2.CollectionService/ListCollections"
	CollectionService_GetCollection_FullMethodName       = "/slash.api.v2.CollectionService/GetCollection"
	CollectionService_GetCollectionByName_FullMethodName = "/slash.api.v2.CollectionService/GetCollectionByName"
	CollectionService_CreateCollection_FullMethodName    = "/slash.api.v2.CollectionService/CreateCollection"
	CollectionService_UpdateCollection_FullMethodName    = "/slash.api.v2.CollectionService/UpdateCollection"
	CollectionService_DeleteCollection_FullMethodName    = "/slash.api.v2.CollectionService/DeleteCollection"
)
View Source
const (
	MemoService_ListMemos_FullMethodName  = "/slash.api.v2.MemoService/ListMemos"
	MemoService_GetMemo_FullMethodName    = "/slash.api.v2.MemoService/GetMemo"
	MemoService_CreateMemo_FullMethodName = "/slash.api.v2.MemoService/CreateMemo"
	MemoService_UpdateMemo_FullMethodName = "/slash.api.v2.MemoService/UpdateMemo"
	MemoService_DeleteMemo_FullMethodName = "/slash.api.v2.MemoService/DeleteMemo"
)
View Source
const (
	ShortcutService_ListShortcuts_FullMethodName        = "/slash.api.v2.ShortcutService/ListShortcuts"
	ShortcutService_GetShortcut_FullMethodName          = "/slash.api.v2.ShortcutService/GetShortcut"
	ShortcutService_GetShortcutByName_FullMethodName    = "/slash.api.v2.ShortcutService/GetShortcutByName"
	ShortcutService_CreateShortcut_FullMethodName       = "/slash.api.v2.ShortcutService/CreateShortcut"
	ShortcutService_UpdateShortcut_FullMethodName       = "/slash.api.v2.ShortcutService/UpdateShortcut"
	ShortcutService_DeleteShortcut_FullMethodName       = "/slash.api.v2.ShortcutService/DeleteShortcut"
	ShortcutService_GetShortcutAnalytics_FullMethodName = "/slash.api.v2.ShortcutService/GetShortcutAnalytics"
)
View Source
const (
	SubscriptionService_GetSubscription_FullMethodName    = "/slash.api.v2.SubscriptionService/GetSubscription"
	SubscriptionService_UpdateSubscription_FullMethodName = "/slash.api.v2.SubscriptionService/UpdateSubscription"
)
View Source
const (
	UserService_ListUsers_FullMethodName             = "/slash.api.v2.UserService/ListUsers"
	UserService_GetUser_FullMethodName               = "/slash.api.v2.UserService/GetUser"
	UserService_CreateUser_FullMethodName            = "/slash.api.v2.UserService/CreateUser"
	UserService_UpdateUser_FullMethodName            = "/slash.api.v2.UserService/UpdateUser"
	UserService_DeleteUser_FullMethodName            = "/slash.api.v2.UserService/DeleteUser"
	UserService_ListUserAccessTokens_FullMethodName  = "/slash.api.v2.UserService/ListUserAccessTokens"
	UserService_CreateUserAccessToken_FullMethodName = "/slash.api.v2.UserService/CreateUserAccessToken"
	UserService_DeleteUserAccessToken_FullMethodName = "/slash.api.v2.UserService/DeleteUserAccessToken"
)
View Source
const (
	UserSettingService_GetUserSetting_FullMethodName    = "/slash.api.v2.UserSettingService/GetUserSetting"
	UserSettingService_UpdateUserSetting_FullMethodName = "/slash.api.v2.UserSettingService/UpdateUserSetting"
)
View Source
const (
	WorkspaceService_GetWorkspaceProfile_FullMethodName    = "/slash.api.v2.WorkspaceService/GetWorkspaceProfile"
	WorkspaceService_GetWorkspaceSetting_FullMethodName    = "/slash.api.v2.WorkspaceService/GetWorkspaceSetting"
	WorkspaceService_UpdateWorkspaceSetting_FullMethodName = "/slash.api.v2.WorkspaceService/UpdateWorkspaceSetting"
)

Variables

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

Enum value maps for RowStatus.

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

Enum value maps for Visibility.

View Source
var (
	PlanType_name = map[int32]string{
		0: "PLAN_TYPE_UNSPECIFIED",
		1: "FREE",
		2: "PRO",
	}
	PlanType_value = map[string]int32{
		"PLAN_TYPE_UNSPECIFIED": 0,
		"FREE":                  1,
		"PRO":                   2,
	}
)

Enum value maps for PlanType.

View Source
var (
	Role_name = map[int32]string{
		0: "ROLE_UNSPECIFIED",
		1: "ADMIN",
		2: "USER",
	}
	Role_value = map[string]int32{
		"ROLE_UNSPECIFIED": 0,
		"ADMIN":            1,
		"USER":             2,
	}
)

Enum value maps for Role.

View Source
var (
	UserSetting_Locale_name = map[int32]string{
		0: "LOCALE_UNSPECIFIED",
		1: "LOCALE_EN",
		2: "LOCALE_ZH",
	}
	UserSetting_Locale_value = map[string]int32{
		"LOCALE_UNSPECIFIED": 0,
		"LOCALE_EN":          1,
		"LOCALE_ZH":          2,
	}
)

Enum value maps for UserSetting_Locale.

View Source
var (
	UserSetting_ColorTheme_name = map[int32]string{
		0: "COLOR_THEME_UNSPECIFIED",
		1: "COLOR_THEME_SYSTEM",
		2: "COLOR_THEME_LIGHT",
		3: "COLOR_THEME_DARK",
	}
	UserSetting_ColorTheme_value = map[string]int32{
		"COLOR_THEME_UNSPECIFIED": 0,
		"COLOR_THEME_SYSTEM":      1,
		"COLOR_THEME_LIGHT":       2,
		"COLOR_THEME_DARK":        3,
	}
)

Enum value maps for UserSetting_ColorTheme.

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

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

View Source
var CollectionService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "slash.api.v2.CollectionService",
	HandlerType: (*CollectionServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListCollections",
			Handler:    _CollectionService_ListCollections_Handler,
		},
		{
			MethodName: "GetCollection",
			Handler:    _CollectionService_GetCollection_Handler,
		},
		{
			MethodName: "GetCollectionByName",
			Handler:    _CollectionService_GetCollectionByName_Handler,
		},
		{
			MethodName: "CreateCollection",
			Handler:    _CollectionService_CreateCollection_Handler,
		},
		{
			MethodName: "UpdateCollection",
			Handler:    _CollectionService_UpdateCollection_Handler,
		},
		{
			MethodName: "DeleteCollection",
			Handler:    _CollectionService_DeleteCollection_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v2/collection_service.proto",
}

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

View Source
var File_api_v2_auth_service_proto protoreflect.FileDescriptor
View Source
var File_api_v2_collection_service_proto protoreflect.FileDescriptor
View Source
var File_api_v2_common_proto protoreflect.FileDescriptor
View Source
var File_api_v2_memo_service_proto protoreflect.FileDescriptor
View Source
var File_api_v2_shortcut_service_proto protoreflect.FileDescriptor
View Source
var File_api_v2_subscription_service_proto protoreflect.FileDescriptor
View Source
var File_api_v2_user_service_proto protoreflect.FileDescriptor
View Source
var File_api_v2_user_setting_service_proto protoreflect.FileDescriptor
View Source
var File_api_v2_workspace_service_proto protoreflect.FileDescriptor
View Source
var MemoService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "slash.api.v2.MemoService",
	HandlerType: (*MemoServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListMemos",
			Handler:    _MemoService_ListMemos_Handler,
		},
		{
			MethodName: "GetMemo",
			Handler:    _MemoService_GetMemo_Handler,
		},
		{
			MethodName: "CreateMemo",
			Handler:    _MemoService_CreateMemo_Handler,
		},
		{
			MethodName: "UpdateMemo",
			Handler:    _MemoService_UpdateMemo_Handler,
		},
		{
			MethodName: "DeleteMemo",
			Handler:    _MemoService_DeleteMemo_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v2/memo_service.proto",
}

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

View Source
var ShortcutService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "slash.api.v2.ShortcutService",
	HandlerType: (*ShortcutServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListShortcuts",
			Handler:    _ShortcutService_ListShortcuts_Handler,
		},
		{
			MethodName: "GetShortcut",
			Handler:    _ShortcutService_GetShortcut_Handler,
		},
		{
			MethodName: "GetShortcutByName",
			Handler:    _ShortcutService_GetShortcutByName_Handler,
		},
		{
			MethodName: "CreateShortcut",
			Handler:    _ShortcutService_CreateShortcut_Handler,
		},
		{
			MethodName: "UpdateShortcut",
			Handler:    _ShortcutService_UpdateShortcut_Handler,
		},
		{
			MethodName: "DeleteShortcut",
			Handler:    _ShortcutService_DeleteShortcut_Handler,
		},
		{
			MethodName: "GetShortcutAnalytics",
			Handler:    _ShortcutService_GetShortcutAnalytics_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v2/shortcut_service.proto",
}

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

View Source
var SubscriptionService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "slash.api.v2.SubscriptionService",
	HandlerType: (*SubscriptionServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetSubscription",
			Handler:    _SubscriptionService_GetSubscription_Handler,
		},
		{
			MethodName: "UpdateSubscription",
			Handler:    _SubscriptionService_UpdateSubscription_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v2/subscription_service.proto",
}

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

View Source
var UserService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "slash.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: "ListUserAccessTokens",
			Handler:    _UserService_ListUserAccessTokens_Handler,
		},
		{
			MethodName: "CreateUserAccessToken",
			Handler:    _UserService_CreateUserAccessToken_Handler,
		},
		{
			MethodName: "DeleteUserAccessToken",
			Handler:    _UserService_DeleteUserAccessToken_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v2/user_service.proto",
}

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

View Source
var UserSettingService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "slash.api.v2.UserSettingService",
	HandlerType: (*UserSettingServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetUserSetting",
			Handler:    _UserSettingService_GetUserSetting_Handler,
		},
		{
			MethodName: "UpdateUserSetting",
			Handler:    _UserSettingService_UpdateUserSetting_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v2/user_setting_service.proto",
}

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

View Source
var WorkspaceService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "slash.api.v2.WorkspaceService",
	HandlerType: (*WorkspaceServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetWorkspaceProfile",
			Handler:    _WorkspaceService_GetWorkspaceProfile_Handler,
		},
		{
			MethodName: "GetWorkspaceSetting",
			Handler:    _WorkspaceService_GetWorkspaceSetting_Handler,
		},
		{
			MethodName: "UpdateWorkspaceSetting",
			Handler:    _WorkspaceService_UpdateWorkspaceSetting_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 RegisterAuthServiceHandler

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

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

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

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

func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)

func RegisterCollectionServiceHandler

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

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

func RegisterCollectionServiceHandlerClient

func RegisterCollectionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CollectionServiceClient) error

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

func RegisterCollectionServiceHandlerFromEndpoint

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

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

func RegisterCollectionServiceHandlerServer

func RegisterCollectionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CollectionServiceServer) error

RegisterCollectionServiceHandlerServer registers the http handlers for service CollectionService to "mux". UnaryRPC :call CollectionServiceServer 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 RegisterCollectionServiceHandlerFromEndpoint instead.

func RegisterCollectionServiceServer

func RegisterCollectionServiceServer(s grpc.ServiceRegistrar, srv CollectionServiceServer)

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 RegisterShortcutServiceHandler

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

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

func RegisterShortcutServiceHandlerClient

func RegisterShortcutServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ShortcutServiceClient) error

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

func RegisterShortcutServiceHandlerFromEndpoint

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

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

func RegisterShortcutServiceHandlerServer

func RegisterShortcutServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ShortcutServiceServer) error

RegisterShortcutServiceHandlerServer registers the http handlers for service ShortcutService to "mux". UnaryRPC :call ShortcutServiceServer 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 RegisterShortcutServiceHandlerFromEndpoint instead.

func RegisterShortcutServiceServer

func RegisterShortcutServiceServer(s grpc.ServiceRegistrar, srv ShortcutServiceServer)

func RegisterSubscriptionServiceHandler

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

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

func RegisterSubscriptionServiceHandlerClient

func RegisterSubscriptionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SubscriptionServiceClient) error

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

func RegisterSubscriptionServiceHandlerFromEndpoint

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

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

func RegisterSubscriptionServiceHandlerServer

func RegisterSubscriptionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SubscriptionServiceServer) error

RegisterSubscriptionServiceHandlerServer registers the http handlers for service SubscriptionService to "mux". UnaryRPC :call SubscriptionServiceServer 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 RegisterSubscriptionServiceHandlerFromEndpoint instead.

func RegisterSubscriptionServiceServer

func RegisterSubscriptionServiceServer(s grpc.ServiceRegistrar, srv SubscriptionServiceServer)

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 RegisterUserSettingServiceHandler

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

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

func RegisterUserSettingServiceHandlerClient

func RegisterUserSettingServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserSettingServiceClient) error

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

func RegisterUserSettingServiceHandlerFromEndpoint

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

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

func RegisterUserSettingServiceHandlerServer

func RegisterUserSettingServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserSettingServiceServer) error

RegisterUserSettingServiceHandlerServer registers the http handlers for service UserSettingService to "mux". UnaryRPC :call UserSettingServiceServer 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 RegisterUserSettingServiceHandlerFromEndpoint instead.

func RegisterUserSettingServiceServer

func RegisterUserSettingServiceServer(s grpc.ServiceRegistrar, srv UserSettingServiceServer)

func RegisterWorkspaceServiceHandler

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

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

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

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

func RegisterWorkspaceServiceServer(s grpc.ServiceRegistrar, srv WorkspaceServiceServer)

Types

type AuthServiceClient

type AuthServiceClient interface {
	GetAuthStatus(ctx context.Context, in *GetAuthStatusRequest, opts ...grpc.CallOption) (*GetAuthStatusResponse, error)
	SignIn(ctx context.Context, in *SignInRequest, opts ...grpc.CallOption) (*SignInResponse, error)
	SignUp(ctx context.Context, in *SignUpRequest, opts ...grpc.CallOption) (*SignUpResponse, error)
	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.

type AuthServiceServer

type AuthServiceServer interface {
	GetAuthStatus(context.Context, *GetAuthStatusRequest) (*GetAuthStatusResponse, error)
	SignIn(context.Context, *SignInRequest) (*SignInResponse, error)
	SignUp(context.Context, *SignUpRequest) (*SignUpResponse, error)
	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 AutoBackupWorkspaceSetting

type AutoBackupWorkspaceSetting struct {

	// Whether auto backup is enabled.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// The cron expression for auto backup.
	// For example, "0 0 0 * * *" means backup at 00:00:00 every day.
	// See https://en.wikipedia.org/wiki/Cron for more details.
	CronExpression string `protobuf:"bytes,2,opt,name=cron_expression,json=cronExpression,proto3" json:"cron_expression,omitempty"`
	// The maximum number of backups to keep.
	MaxKeep int32 `protobuf:"varint,3,opt,name=max_keep,json=maxKeep,proto3" json:"max_keep,omitempty"`
	// contains filtered or unexported fields
}

func (*AutoBackupWorkspaceSetting) Descriptor deprecated

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

Deprecated: Use AutoBackupWorkspaceSetting.ProtoReflect.Descriptor instead.

func (*AutoBackupWorkspaceSetting) GetCronExpression

func (x *AutoBackupWorkspaceSetting) GetCronExpression() string

func (*AutoBackupWorkspaceSetting) GetEnabled

func (x *AutoBackupWorkspaceSetting) GetEnabled() bool

func (*AutoBackupWorkspaceSetting) GetMaxKeep

func (x *AutoBackupWorkspaceSetting) GetMaxKeep() int32

func (*AutoBackupWorkspaceSetting) ProtoMessage

func (*AutoBackupWorkspaceSetting) ProtoMessage()

func (*AutoBackupWorkspaceSetting) ProtoReflect

func (*AutoBackupWorkspaceSetting) Reset

func (x *AutoBackupWorkspaceSetting) Reset()

func (*AutoBackupWorkspaceSetting) String

func (x *AutoBackupWorkspaceSetting) String() string

type Collection

type Collection 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"`
	Name        string                 `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	Title       string                 `protobuf:"bytes,7,opt,name=title,proto3" json:"title,omitempty"`
	Description string                 `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
	ShortcutIds []int32                `protobuf:"varint,9,rep,packed,name=shortcut_ids,json=shortcutIds,proto3" json:"shortcut_ids,omitempty"`
	Visibility  Visibility             `protobuf:"varint,10,opt,name=visibility,proto3,enum=slash.api.v2.Visibility" json:"visibility,omitempty"`
	// contains filtered or unexported fields
}

func (*Collection) Descriptor deprecated

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

Deprecated: Use Collection.ProtoReflect.Descriptor instead.

func (*Collection) GetCreatedTime

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

func (*Collection) GetCreatorId

func (x *Collection) GetCreatorId() int32

func (*Collection) GetDescription

func (x *Collection) GetDescription() string

func (*Collection) GetId

func (x *Collection) GetId() int32

func (*Collection) GetName

func (x *Collection) GetName() string

func (*Collection) GetShortcutIds

func (x *Collection) GetShortcutIds() []int32

func (*Collection) GetTitle

func (x *Collection) GetTitle() string

func (*Collection) GetUpdatedTime

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

func (*Collection) GetVisibility

func (x *Collection) GetVisibility() Visibility

func (*Collection) ProtoMessage

func (*Collection) ProtoMessage()

func (*Collection) ProtoReflect

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

func (*Collection) Reset

func (x *Collection) Reset()

func (*Collection) String

func (x *Collection) String() string

type CollectionServiceClient

type CollectionServiceClient interface {
	// ListCollections returns a list of collections.
	ListCollections(ctx context.Context, in *ListCollectionsRequest, opts ...grpc.CallOption) (*ListCollectionsResponse, error)
	// GetCollection returns a collection by id.
	GetCollection(ctx context.Context, in *GetCollectionRequest, opts ...grpc.CallOption) (*GetCollectionResponse, error)
	// GetCollectionByName returns a collection by name.
	GetCollectionByName(ctx context.Context, in *GetCollectionByNameRequest, opts ...grpc.CallOption) (*GetCollectionByNameResponse, error)
	// CreateCollection creates a collection.
	CreateCollection(ctx context.Context, in *CreateCollectionRequest, opts ...grpc.CallOption) (*CreateCollectionResponse, error)
	// UpdateCollection updates a collection.
	UpdateCollection(ctx context.Context, in *UpdateCollectionRequest, opts ...grpc.CallOption) (*UpdateCollectionResponse, error)
	// DeleteCollection deletes a collection by id.
	DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error)
}

CollectionServiceClient is the client API for CollectionService service.

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

type CollectionServiceServer

type CollectionServiceServer interface {
	// ListCollections returns a list of collections.
	ListCollections(context.Context, *ListCollectionsRequest) (*ListCollectionsResponse, error)
	// GetCollection returns a collection by id.
	GetCollection(context.Context, *GetCollectionRequest) (*GetCollectionResponse, error)
	// GetCollectionByName returns a collection by name.
	GetCollectionByName(context.Context, *GetCollectionByNameRequest) (*GetCollectionByNameResponse, error)
	// CreateCollection creates a collection.
	CreateCollection(context.Context, *CreateCollectionRequest) (*CreateCollectionResponse, error)
	// UpdateCollection updates a collection.
	UpdateCollection(context.Context, *UpdateCollectionRequest) (*UpdateCollectionResponse, error)
	// DeleteCollection deletes a collection by id.
	DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error)
	// contains filtered or unexported methods
}

CollectionServiceServer is the server API for CollectionService service. All implementations must embed UnimplementedCollectionServiceServer for forward compatibility

type CreateCollectionRequest

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

func (*CreateCollectionRequest) Descriptor deprecated

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

Deprecated: Use CreateCollectionRequest.ProtoReflect.Descriptor instead.

func (*CreateCollectionRequest) GetCollection

func (x *CreateCollectionRequest) GetCollection() *Collection

func (*CreateCollectionRequest) ProtoMessage

func (*CreateCollectionRequest) ProtoMessage()

func (*CreateCollectionRequest) ProtoReflect

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

func (*CreateCollectionRequest) Reset

func (x *CreateCollectionRequest) Reset()

func (*CreateCollectionRequest) String

func (x *CreateCollectionRequest) String() string

type CreateCollectionResponse

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

func (*CreateCollectionResponse) Descriptor deprecated

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

Deprecated: Use CreateCollectionResponse.ProtoReflect.Descriptor instead.

func (*CreateCollectionResponse) GetCollection

func (x *CreateCollectionResponse) GetCollection() *Collection

func (*CreateCollectionResponse) ProtoMessage

func (*CreateCollectionResponse) ProtoMessage()

func (*CreateCollectionResponse) ProtoReflect

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

func (*CreateCollectionResponse) Reset

func (x *CreateCollectionResponse) Reset()

func (*CreateCollectionResponse) String

func (x *CreateCollectionResponse) String() string

type CreateMemoRequest

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

func (*CreateMemoRequest) Descriptor deprecated

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

Deprecated: Use CreateMemoRequest.ProtoReflect.Descriptor instead.

func (*CreateMemoRequest) GetMemo

func (x *CreateMemoRequest) GetMemo() *Memo

func (*CreateMemoRequest) ProtoMessage

func (*CreateMemoRequest) ProtoMessage()

func (*CreateMemoRequest) ProtoReflect

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

func (*CreateMemoRequest) Reset

func (x *CreateMemoRequest) Reset()

func (*CreateMemoRequest) String

func (x *CreateMemoRequest) String() string

type CreateMemoResponse

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

func (*CreateMemoResponse) Descriptor deprecated

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

Deprecated: Use CreateMemoResponse.ProtoReflect.Descriptor instead.

func (*CreateMemoResponse) GetMemo

func (x *CreateMemoResponse) GetMemo() *Memo

func (*CreateMemoResponse) ProtoMessage

func (*CreateMemoResponse) ProtoMessage()

func (*CreateMemoResponse) ProtoReflect

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

func (*CreateMemoResponse) Reset

func (x *CreateMemoResponse) Reset()

func (*CreateMemoResponse) String

func (x *CreateMemoResponse) String() string

type CreateShortcutRequest

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

func (*CreateShortcutRequest) Descriptor deprecated

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

Deprecated: Use CreateShortcutRequest.ProtoReflect.Descriptor instead.

func (*CreateShortcutRequest) GetShortcut

func (x *CreateShortcutRequest) GetShortcut() *Shortcut

func (*CreateShortcutRequest) ProtoMessage

func (*CreateShortcutRequest) ProtoMessage()

func (*CreateShortcutRequest) ProtoReflect

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

func (*CreateShortcutRequest) Reset

func (x *CreateShortcutRequest) Reset()

func (*CreateShortcutRequest) String

func (x *CreateShortcutRequest) String() string

type CreateShortcutResponse

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

func (*CreateShortcutResponse) Descriptor deprecated

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

Deprecated: Use CreateShortcutResponse.ProtoReflect.Descriptor instead.

func (*CreateShortcutResponse) GetShortcut

func (x *CreateShortcutResponse) GetShortcut() *Shortcut

func (*CreateShortcutResponse) ProtoMessage

func (*CreateShortcutResponse) ProtoMessage()

func (*CreateShortcutResponse) ProtoReflect

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

func (*CreateShortcutResponse) Reset

func (x *CreateShortcutResponse) Reset()

func (*CreateShortcutResponse) String

func (x *CreateShortcutResponse) String() string

type CreateUserAccessTokenRequest

type CreateUserAccessTokenRequest struct {

	// id is the user id.
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// description is the description of the access token.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// expires_at is the expiration time of the access token.
	// If expires_at is not set, the access token will never expire.
	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

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

Deprecated: Use CreateUserAccessTokenRequest.ProtoReflect.Descriptor instead.

func (*CreateUserAccessTokenRequest) GetDescription

func (x *CreateUserAccessTokenRequest) GetDescription() string

func (*CreateUserAccessTokenRequest) GetExpiresAt

func (*CreateUserAccessTokenRequest) GetId

func (*CreateUserAccessTokenRequest) ProtoMessage

func (*CreateUserAccessTokenRequest) ProtoMessage()

func (*CreateUserAccessTokenRequest) ProtoReflect

func (*CreateUserAccessTokenRequest) Reset

func (x *CreateUserAccessTokenRequest) Reset()

func (*CreateUserAccessTokenRequest) String

type CreateUserAccessTokenResponse

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

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

Deprecated: Use CreateUserAccessTokenResponse.ProtoReflect.Descriptor instead.

func (*CreateUserAccessTokenResponse) GetAccessToken

func (x *CreateUserAccessTokenResponse) GetAccessToken() *UserAccessToken

func (*CreateUserAccessTokenResponse) ProtoMessage

func (*CreateUserAccessTokenResponse) ProtoMessage()

func (*CreateUserAccessTokenResponse) ProtoReflect

func (*CreateUserAccessTokenResponse) Reset

func (x *CreateUserAccessTokenResponse) Reset()

func (*CreateUserAccessTokenResponse) String

type CreateUserRequest

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

func (*CreateUserRequest) Descriptor deprecated

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

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetUser

func (x *CreateUserRequest) GetUser() *User

func (*CreateUserRequest) ProtoMessage

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) ProtoReflect

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

func (*CreateUserRequest) Reset

func (x *CreateUserRequest) Reset()

func (*CreateUserRequest) String

func (x *CreateUserRequest) String() string

type CreateUserResponse

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

func (*CreateUserResponse) Descriptor deprecated

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

Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.

func (*CreateUserResponse) GetUser

func (x *CreateUserResponse) GetUser() *User

func (*CreateUserResponse) ProtoMessage

func (*CreateUserResponse) ProtoMessage()

func (*CreateUserResponse) ProtoReflect

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

func (*CreateUserResponse) Reset

func (x *CreateUserResponse) Reset()

func (*CreateUserResponse) String

func (x *CreateUserResponse) String() string

type DeleteCollectionRequest

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

func (*DeleteCollectionRequest) Descriptor deprecated

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

Deprecated: Use DeleteCollectionRequest.ProtoReflect.Descriptor instead.

func (*DeleteCollectionRequest) GetId

func (x *DeleteCollectionRequest) GetId() int32

func (*DeleteCollectionRequest) ProtoMessage

func (*DeleteCollectionRequest) ProtoMessage()

func (*DeleteCollectionRequest) ProtoReflect

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

func (*DeleteCollectionRequest) Reset

func (x *DeleteCollectionRequest) Reset()

func (*DeleteCollectionRequest) String

func (x *DeleteCollectionRequest) String() string

type DeleteCollectionResponse

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

func (*DeleteCollectionResponse) Descriptor deprecated

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

Deprecated: Use DeleteCollectionResponse.ProtoReflect.Descriptor instead.

func (*DeleteCollectionResponse) ProtoMessage

func (*DeleteCollectionResponse) ProtoMessage()

func (*DeleteCollectionResponse) ProtoReflect

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

func (*DeleteCollectionResponse) Reset

func (x *DeleteCollectionResponse) Reset()

func (*DeleteCollectionResponse) String

func (x *DeleteCollectionResponse) String() string

type DeleteMemoRequest

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

func (*DeleteMemoRequest) Descriptor deprecated

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

Deprecated: Use DeleteMemoRequest.ProtoReflect.Descriptor instead.

func (*DeleteMemoRequest) GetId

func (x *DeleteMemoRequest) GetId() int32

func (*DeleteMemoRequest) ProtoMessage

func (*DeleteMemoRequest) ProtoMessage()

func (*DeleteMemoRequest) ProtoReflect

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

func (*DeleteMemoRequest) Reset

func (x *DeleteMemoRequest) Reset()

func (*DeleteMemoRequest) String

func (x *DeleteMemoRequest) String() string

type DeleteMemoResponse

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

func (*DeleteMemoResponse) Descriptor deprecated

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

Deprecated: Use DeleteMemoResponse.ProtoReflect.Descriptor instead.

func (*DeleteMemoResponse) ProtoMessage

func (*DeleteMemoResponse) ProtoMessage()

func (*DeleteMemoResponse) ProtoReflect

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

func (*DeleteMemoResponse) Reset

func (x *DeleteMemoResponse) Reset()

func (*DeleteMemoResponse) String

func (x *DeleteMemoResponse) String() string

type DeleteShortcutRequest

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

func (*DeleteShortcutRequest) Descriptor deprecated

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

Deprecated: Use DeleteShortcutRequest.ProtoReflect.Descriptor instead.

func (*DeleteShortcutRequest) GetId

func (x *DeleteShortcutRequest) GetId() int32

func (*DeleteShortcutRequest) ProtoMessage

func (*DeleteShortcutRequest) ProtoMessage()

func (*DeleteShortcutRequest) ProtoReflect

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

func (*DeleteShortcutRequest) Reset

func (x *DeleteShortcutRequest) Reset()

func (*DeleteShortcutRequest) String

func (x *DeleteShortcutRequest) String() string

type DeleteShortcutResponse

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

func (*DeleteShortcutResponse) Descriptor deprecated

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

Deprecated: Use DeleteShortcutResponse.ProtoReflect.Descriptor instead.

func (*DeleteShortcutResponse) ProtoMessage

func (*DeleteShortcutResponse) ProtoMessage()

func (*DeleteShortcutResponse) ProtoReflect

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

func (*DeleteShortcutResponse) Reset

func (x *DeleteShortcutResponse) Reset()

func (*DeleteShortcutResponse) String

func (x *DeleteShortcutResponse) String() string

type DeleteUserAccessTokenRequest

type DeleteUserAccessTokenRequest struct {

	// id is the user id.
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,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

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

Deprecated: Use DeleteUserAccessTokenRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserAccessTokenRequest) GetAccessToken

func (x *DeleteUserAccessTokenRequest) GetAccessToken() string

func (*DeleteUserAccessTokenRequest) GetId

func (*DeleteUserAccessTokenRequest) ProtoMessage

func (*DeleteUserAccessTokenRequest) ProtoMessage()

func (*DeleteUserAccessTokenRequest) ProtoReflect

func (*DeleteUserAccessTokenRequest) Reset

func (x *DeleteUserAccessTokenRequest) Reset()

func (*DeleteUserAccessTokenRequest) String

type DeleteUserAccessTokenResponse

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

func (*DeleteUserAccessTokenResponse) Descriptor deprecated

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

Deprecated: Use DeleteUserAccessTokenResponse.ProtoReflect.Descriptor instead.

func (*DeleteUserAccessTokenResponse) ProtoMessage

func (*DeleteUserAccessTokenResponse) ProtoMessage()

func (*DeleteUserAccessTokenResponse) ProtoReflect

func (*DeleteUserAccessTokenResponse) Reset

func (x *DeleteUserAccessTokenResponse) Reset()

func (*DeleteUserAccessTokenResponse) String

type DeleteUserRequest

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

func (*DeleteUserRequest) Descriptor deprecated

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

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetId

func (x *DeleteUserRequest) GetId() int32

func (*DeleteUserRequest) ProtoMessage

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) ProtoReflect

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

func (*DeleteUserRequest) Reset

func (x *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String

func (x *DeleteUserRequest) String() string

type DeleteUserResponse

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

func (*DeleteUserResponse) Descriptor deprecated

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

Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.

func (*DeleteUserResponse) ProtoMessage

func (*DeleteUserResponse) ProtoMessage()

func (*DeleteUserResponse) ProtoReflect

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

func (*DeleteUserResponse) Reset

func (x *DeleteUserResponse) Reset()

func (*DeleteUserResponse) String

func (x *DeleteUserResponse) String() string

type GetAuthStatusRequest

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

func (*GetAuthStatusRequest) Descriptor deprecated

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

Deprecated: Use GetAuthStatusRequest.ProtoReflect.Descriptor instead.

func (*GetAuthStatusRequest) ProtoMessage

func (*GetAuthStatusRequest) ProtoMessage()

func (*GetAuthStatusRequest) ProtoReflect

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

func (*GetAuthStatusRequest) Reset

func (x *GetAuthStatusRequest) Reset()

func (*GetAuthStatusRequest) String

func (x *GetAuthStatusRequest) String() string

type GetAuthStatusResponse

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

func (*GetAuthStatusResponse) Descriptor deprecated

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

Deprecated: Use GetAuthStatusResponse.ProtoReflect.Descriptor instead.

func (*GetAuthStatusResponse) GetUser

func (x *GetAuthStatusResponse) GetUser() *User

func (*GetAuthStatusResponse) ProtoMessage

func (*GetAuthStatusResponse) ProtoMessage()

func (*GetAuthStatusResponse) ProtoReflect

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

func (*GetAuthStatusResponse) Reset

func (x *GetAuthStatusResponse) Reset()

func (*GetAuthStatusResponse) String

func (x *GetAuthStatusResponse) String() string

type GetCollectionByNameRequest

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

func (*GetCollectionByNameRequest) Descriptor deprecated

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

Deprecated: Use GetCollectionByNameRequest.ProtoReflect.Descriptor instead.

func (*GetCollectionByNameRequest) GetName

func (x *GetCollectionByNameRequest) GetName() string

func (*GetCollectionByNameRequest) ProtoMessage

func (*GetCollectionByNameRequest) ProtoMessage()

func (*GetCollectionByNameRequest) ProtoReflect

func (*GetCollectionByNameRequest) Reset

func (x *GetCollectionByNameRequest) Reset()

func (*GetCollectionByNameRequest) String

func (x *GetCollectionByNameRequest) String() string

type GetCollectionByNameResponse

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

func (*GetCollectionByNameResponse) Descriptor deprecated

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

Deprecated: Use GetCollectionByNameResponse.ProtoReflect.Descriptor instead.

func (*GetCollectionByNameResponse) GetCollection

func (x *GetCollectionByNameResponse) GetCollection() *Collection

func (*GetCollectionByNameResponse) ProtoMessage

func (*GetCollectionByNameResponse) ProtoMessage()

func (*GetCollectionByNameResponse) ProtoReflect

func (*GetCollectionByNameResponse) Reset

func (x *GetCollectionByNameResponse) Reset()

func (*GetCollectionByNameResponse) String

func (x *GetCollectionByNameResponse) String() string

type GetCollectionRequest

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

func (*GetCollectionRequest) Descriptor deprecated

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

Deprecated: Use GetCollectionRequest.ProtoReflect.Descriptor instead.

func (*GetCollectionRequest) GetId

func (x *GetCollectionRequest) GetId() int32

func (*GetCollectionRequest) ProtoMessage

func (*GetCollectionRequest) ProtoMessage()

func (*GetCollectionRequest) ProtoReflect

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

func (*GetCollectionRequest) Reset

func (x *GetCollectionRequest) Reset()

func (*GetCollectionRequest) String

func (x *GetCollectionRequest) String() string

type GetCollectionResponse

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

func (*GetCollectionResponse) Descriptor deprecated

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

Deprecated: Use GetCollectionResponse.ProtoReflect.Descriptor instead.

func (*GetCollectionResponse) GetCollection

func (x *GetCollectionResponse) GetCollection() *Collection

func (*GetCollectionResponse) ProtoMessage

func (*GetCollectionResponse) ProtoMessage()

func (*GetCollectionResponse) ProtoReflect

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

func (*GetCollectionResponse) Reset

func (x *GetCollectionResponse) Reset()

func (*GetCollectionResponse) String

func (x *GetCollectionResponse) 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 GetShortcutAnalyticsRequest

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

func (*GetShortcutAnalyticsRequest) Descriptor deprecated

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

Deprecated: Use GetShortcutAnalyticsRequest.ProtoReflect.Descriptor instead.

func (*GetShortcutAnalyticsRequest) GetId

func (*GetShortcutAnalyticsRequest) ProtoMessage

func (*GetShortcutAnalyticsRequest) ProtoMessage()

func (*GetShortcutAnalyticsRequest) ProtoReflect

func (*GetShortcutAnalyticsRequest) Reset

func (x *GetShortcutAnalyticsRequest) Reset()

func (*GetShortcutAnalyticsRequest) String

func (x *GetShortcutAnalyticsRequest) String() string

type GetShortcutAnalyticsResponse

type GetShortcutAnalyticsResponse struct {
	References []*GetShortcutAnalyticsResponse_AnalyticsItem `protobuf:"bytes,1,rep,name=references,proto3" json:"references,omitempty"`
	Devices    []*GetShortcutAnalyticsResponse_AnalyticsItem `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"`
	Browsers   []*GetShortcutAnalyticsResponse_AnalyticsItem `protobuf:"bytes,3,rep,name=browsers,proto3" json:"browsers,omitempty"`
	// contains filtered or unexported fields
}

func (*GetShortcutAnalyticsResponse) Descriptor deprecated

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

Deprecated: Use GetShortcutAnalyticsResponse.ProtoReflect.Descriptor instead.

func (*GetShortcutAnalyticsResponse) GetBrowsers

func (*GetShortcutAnalyticsResponse) GetDevices

func (*GetShortcutAnalyticsResponse) GetReferences

func (*GetShortcutAnalyticsResponse) ProtoMessage

func (*GetShortcutAnalyticsResponse) ProtoMessage()

func (*GetShortcutAnalyticsResponse) ProtoReflect

func (*GetShortcutAnalyticsResponse) Reset

func (x *GetShortcutAnalyticsResponse) Reset()

func (*GetShortcutAnalyticsResponse) String

type GetShortcutAnalyticsResponse_AnalyticsItem

type GetShortcutAnalyticsResponse_AnalyticsItem struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Count int32  `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*GetShortcutAnalyticsResponse_AnalyticsItem) Descriptor deprecated

Deprecated: Use GetShortcutAnalyticsResponse_AnalyticsItem.ProtoReflect.Descriptor instead.

func (*GetShortcutAnalyticsResponse_AnalyticsItem) GetCount

func (*GetShortcutAnalyticsResponse_AnalyticsItem) GetName

func (*GetShortcutAnalyticsResponse_AnalyticsItem) ProtoMessage

func (*GetShortcutAnalyticsResponse_AnalyticsItem) ProtoReflect

func (*GetShortcutAnalyticsResponse_AnalyticsItem) Reset

func (*GetShortcutAnalyticsResponse_AnalyticsItem) String

type GetShortcutByNameRequest

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

func (*GetShortcutByNameRequest) Descriptor deprecated

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

Deprecated: Use GetShortcutByNameRequest.ProtoReflect.Descriptor instead.

func (*GetShortcutByNameRequest) GetName

func (x *GetShortcutByNameRequest) GetName() string

func (*GetShortcutByNameRequest) ProtoMessage

func (*GetShortcutByNameRequest) ProtoMessage()

func (*GetShortcutByNameRequest) ProtoReflect

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

func (*GetShortcutByNameRequest) Reset

func (x *GetShortcutByNameRequest) Reset()

func (*GetShortcutByNameRequest) String

func (x *GetShortcutByNameRequest) String() string

type GetShortcutByNameResponse

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

func (*GetShortcutByNameResponse) Descriptor deprecated

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

Deprecated: Use GetShortcutByNameResponse.ProtoReflect.Descriptor instead.

func (*GetShortcutByNameResponse) GetShortcut

func (x *GetShortcutByNameResponse) GetShortcut() *Shortcut

func (*GetShortcutByNameResponse) ProtoMessage

func (*GetShortcutByNameResponse) ProtoMessage()

func (*GetShortcutByNameResponse) ProtoReflect

func (*GetShortcutByNameResponse) Reset

func (x *GetShortcutByNameResponse) Reset()

func (*GetShortcutByNameResponse) String

func (x *GetShortcutByNameResponse) String() string

type GetShortcutRequest

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

func (*GetShortcutRequest) Descriptor deprecated

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

Deprecated: Use GetShortcutRequest.ProtoReflect.Descriptor instead.

func (*GetShortcutRequest) GetId

func (x *GetShortcutRequest) GetId() int32

func (*GetShortcutRequest) ProtoMessage

func (*GetShortcutRequest) ProtoMessage()

func (*GetShortcutRequest) ProtoReflect

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

func (*GetShortcutRequest) Reset

func (x *GetShortcutRequest) Reset()

func (*GetShortcutRequest) String

func (x *GetShortcutRequest) String() string

type GetShortcutResponse

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

func (*GetShortcutResponse) Descriptor deprecated

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

Deprecated: Use GetShortcutResponse.ProtoReflect.Descriptor instead.

func (*GetShortcutResponse) GetShortcut

func (x *GetShortcutResponse) GetShortcut() *Shortcut

func (*GetShortcutResponse) ProtoMessage

func (*GetShortcutResponse) ProtoMessage()

func (*GetShortcutResponse) ProtoReflect

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

func (*GetShortcutResponse) Reset

func (x *GetShortcutResponse) Reset()

func (*GetShortcutResponse) String

func (x *GetShortcutResponse) String() string

type GetSubscriptionRequest

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

func (*GetSubscriptionRequest) Descriptor deprecated

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

Deprecated: Use GetSubscriptionRequest.ProtoReflect.Descriptor instead.

func (*GetSubscriptionRequest) ProtoMessage

func (*GetSubscriptionRequest) ProtoMessage()

func (*GetSubscriptionRequest) ProtoReflect

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

func (*GetSubscriptionRequest) Reset

func (x *GetSubscriptionRequest) Reset()

func (*GetSubscriptionRequest) String

func (x *GetSubscriptionRequest) String() string

type GetSubscriptionResponse

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

func (*GetSubscriptionResponse) Descriptor deprecated

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

Deprecated: Use GetSubscriptionResponse.ProtoReflect.Descriptor instead.

func (*GetSubscriptionResponse) GetSubscription

func (x *GetSubscriptionResponse) GetSubscription() *Subscription

func (*GetSubscriptionResponse) ProtoMessage

func (*GetSubscriptionResponse) ProtoMessage()

func (*GetSubscriptionResponse) ProtoReflect

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

func (*GetSubscriptionResponse) Reset

func (x *GetSubscriptionResponse) Reset()

func (*GetSubscriptionResponse) String

func (x *GetSubscriptionResponse) String() string

type GetUserRequest

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

func (*GetUserRequest) Descriptor deprecated

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

Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.

func (*GetUserRequest) GetId

func (x *GetUserRequest) GetId() int32

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

type GetUserSettingRequest struct {

	// id is the user id.
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserSettingRequest) Descriptor deprecated

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

Deprecated: Use GetUserSettingRequest.ProtoReflect.Descriptor instead.

func (*GetUserSettingRequest) GetId

func (x *GetUserSettingRequest) GetId() int32

func (*GetUserSettingRequest) ProtoMessage

func (*GetUserSettingRequest) ProtoMessage()

func (*GetUserSettingRequest) ProtoReflect

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

func (*GetUserSettingRequest) Reset

func (x *GetUserSettingRequest) Reset()

func (*GetUserSettingRequest) String

func (x *GetUserSettingRequest) String() string

type GetUserSettingResponse

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

func (*GetUserSettingResponse) Descriptor deprecated

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

Deprecated: Use GetUserSettingResponse.ProtoReflect.Descriptor instead.

func (*GetUserSettingResponse) GetUserSetting

func (x *GetUserSettingResponse) GetUserSetting() *UserSetting

func (*GetUserSettingResponse) ProtoMessage

func (*GetUserSettingResponse) ProtoMessage()

func (*GetUserSettingResponse) ProtoReflect

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

func (*GetUserSettingResponse) Reset

func (x *GetUserSettingResponse) Reset()

func (*GetUserSettingResponse) String

func (x *GetUserSettingResponse) String() string

type GetWorkspaceProfileRequest

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

func (*GetWorkspaceProfileRequest) Descriptor deprecated

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

Deprecated: Use GetWorkspaceProfileRequest.ProtoReflect.Descriptor instead.

func (*GetWorkspaceProfileRequest) ProtoMessage

func (*GetWorkspaceProfileRequest) ProtoMessage()

func (*GetWorkspaceProfileRequest) ProtoReflect

func (*GetWorkspaceProfileRequest) Reset

func (x *GetWorkspaceProfileRequest) Reset()

func (*GetWorkspaceProfileRequest) String

func (x *GetWorkspaceProfileRequest) String() string

type GetWorkspaceProfileResponse

type GetWorkspaceProfileResponse struct {

	// The workspace profile.
	Profile *WorkspaceProfile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
	// contains filtered or unexported fields
}

func (*GetWorkspaceProfileResponse) Descriptor deprecated

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

Deprecated: Use GetWorkspaceProfileResponse.ProtoReflect.Descriptor instead.

func (*GetWorkspaceProfileResponse) GetProfile

func (*GetWorkspaceProfileResponse) ProtoMessage

func (*GetWorkspaceProfileResponse) ProtoMessage()

func (*GetWorkspaceProfileResponse) ProtoReflect

func (*GetWorkspaceProfileResponse) Reset

func (x *GetWorkspaceProfileResponse) Reset()

func (*GetWorkspaceProfileResponse) String

func (x *GetWorkspaceProfileResponse) String() string

type GetWorkspaceSettingRequest

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

func (*GetWorkspaceSettingRequest) Descriptor deprecated

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

Deprecated: Use GetWorkspaceSettingRequest.ProtoReflect.Descriptor instead.

func (*GetWorkspaceSettingRequest) ProtoMessage

func (*GetWorkspaceSettingRequest) ProtoMessage()

func (*GetWorkspaceSettingRequest) ProtoReflect

func (*GetWorkspaceSettingRequest) Reset

func (x *GetWorkspaceSettingRequest) Reset()

func (*GetWorkspaceSettingRequest) String

func (x *GetWorkspaceSettingRequest) String() string

type GetWorkspaceSettingResponse

type GetWorkspaceSettingResponse struct {

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

func (*GetWorkspaceSettingResponse) Descriptor deprecated

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

Deprecated: Use GetWorkspaceSettingResponse.ProtoReflect.Descriptor instead.

func (*GetWorkspaceSettingResponse) GetSetting

func (*GetWorkspaceSettingResponse) ProtoMessage

func (*GetWorkspaceSettingResponse) ProtoMessage()

func (*GetWorkspaceSettingResponse) ProtoReflect

func (*GetWorkspaceSettingResponse) Reset

func (x *GetWorkspaceSettingResponse) Reset()

func (*GetWorkspaceSettingResponse) String

func (x *GetWorkspaceSettingResponse) String() string

type ListCollectionsRequest

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

func (*ListCollectionsRequest) Descriptor deprecated

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

Deprecated: Use ListCollectionsRequest.ProtoReflect.Descriptor instead.

func (*ListCollectionsRequest) ProtoMessage

func (*ListCollectionsRequest) ProtoMessage()

func (*ListCollectionsRequest) ProtoReflect

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

func (*ListCollectionsRequest) Reset

func (x *ListCollectionsRequest) Reset()

func (*ListCollectionsRequest) String

func (x *ListCollectionsRequest) String() string

type ListCollectionsResponse

type ListCollectionsResponse struct {
	Collections []*Collection `protobuf:"bytes,1,rep,name=collections,proto3" json:"collections,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCollectionsResponse) Descriptor deprecated

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

Deprecated: Use ListCollectionsResponse.ProtoReflect.Descriptor instead.

func (*ListCollectionsResponse) GetCollections

func (x *ListCollectionsResponse) GetCollections() []*Collection

func (*ListCollectionsResponse) ProtoMessage

func (*ListCollectionsResponse) ProtoMessage()

func (*ListCollectionsResponse) ProtoReflect

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

func (*ListCollectionsResponse) Reset

func (x *ListCollectionsResponse) Reset()

func (*ListCollectionsResponse) String

func (x *ListCollectionsResponse) String() string

type ListMemosRequest

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

func (*ListMemosRequest) Descriptor deprecated

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

Deprecated: Use ListMemosRequest.ProtoReflect.Descriptor instead.

func (*ListMemosRequest) ProtoMessage

func (*ListMemosRequest) ProtoMessage()

func (*ListMemosRequest) ProtoReflect

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

func (*ListMemosRequest) Reset

func (x *ListMemosRequest) Reset()

func (*ListMemosRequest) String

func (x *ListMemosRequest) String() string

type ListMemosResponse

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

func (*ListMemosResponse) Descriptor deprecated

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

Deprecated: Use ListMemosResponse.ProtoReflect.Descriptor instead.

func (*ListMemosResponse) GetMemos

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

func (*ListMemosResponse) ProtoMessage

func (*ListMemosResponse) ProtoMessage()

func (*ListMemosResponse) ProtoReflect

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

func (*ListMemosResponse) Reset

func (x *ListMemosResponse) Reset()

func (*ListMemosResponse) String

func (x *ListMemosResponse) String() string

type ListShortcutsRequest

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

func (*ListShortcutsRequest) Descriptor deprecated

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

Deprecated: Use ListShortcutsRequest.ProtoReflect.Descriptor instead.

func (*ListShortcutsRequest) ProtoMessage

func (*ListShortcutsRequest) ProtoMessage()

func (*ListShortcutsRequest) ProtoReflect

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

func (*ListShortcutsRequest) Reset

func (x *ListShortcutsRequest) Reset()

func (*ListShortcutsRequest) String

func (x *ListShortcutsRequest) String() string

type ListShortcutsResponse

type ListShortcutsResponse struct {
	Shortcuts []*Shortcut `protobuf:"bytes,1,rep,name=shortcuts,proto3" json:"shortcuts,omitempty"`
	// contains filtered or unexported fields
}

func (*ListShortcutsResponse) Descriptor deprecated

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

Deprecated: Use ListShortcutsResponse.ProtoReflect.Descriptor instead.

func (*ListShortcutsResponse) GetShortcuts

func (x *ListShortcutsResponse) GetShortcuts() []*Shortcut

func (*ListShortcutsResponse) ProtoMessage

func (*ListShortcutsResponse) ProtoMessage()

func (*ListShortcutsResponse) ProtoReflect

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

func (*ListShortcutsResponse) Reset

func (x *ListShortcutsResponse) Reset()

func (*ListShortcutsResponse) String

func (x *ListShortcutsResponse) String() string

type ListUserAccessTokensRequest

type ListUserAccessTokensRequest struct {

	// id is the user id.
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserAccessTokensRequest) Descriptor deprecated

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

Deprecated: Use ListUserAccessTokensRequest.ProtoReflect.Descriptor instead.

func (*ListUserAccessTokensRequest) GetId

func (*ListUserAccessTokensRequest) ProtoMessage

func (*ListUserAccessTokensRequest) ProtoMessage()

func (*ListUserAccessTokensRequest) ProtoReflect

func (*ListUserAccessTokensRequest) Reset

func (x *ListUserAccessTokensRequest) Reset()

func (*ListUserAccessTokensRequest) String

func (x *ListUserAccessTokensRequest) String() string

type ListUserAccessTokensResponse

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

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

Deprecated: Use ListUserAccessTokensResponse.ProtoReflect.Descriptor instead.

func (*ListUserAccessTokensResponse) GetAccessTokens

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

func (*ListUserAccessTokensResponse) ProtoMessage

func (*ListUserAccessTokensResponse) ProtoMessage()

func (*ListUserAccessTokensResponse) ProtoReflect

func (*ListUserAccessTokensResponse) Reset

func (x *ListUserAccessTokensResponse) Reset()

func (*ListUserAccessTokensResponse) String

type ListUsersRequest

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

func (*ListUsersRequest) Descriptor deprecated

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

Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.

func (*ListUsersRequest) ProtoMessage

func (*ListUsersRequest) ProtoMessage()

func (*ListUsersRequest) ProtoReflect

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

func (*ListUsersRequest) Reset

func (x *ListUsersRequest) Reset()

func (*ListUsersRequest) String

func (x *ListUsersRequest) String() string

type ListUsersResponse

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

func (*ListUsersResponse) Descriptor deprecated

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

Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.

func (*ListUsersResponse) GetUsers

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

func (*ListUsersResponse) ProtoMessage

func (*ListUsersResponse) ProtoMessage()

func (*ListUsersResponse) ProtoReflect

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

func (*ListUsersResponse) Reset

func (x *ListUsersResponse) Reset()

func (*ListUsersResponse) String

func (x *ListUsersResponse) String() string

type Memo

type Memo 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=slash.api.v2.RowStatus" json:"row_status,omitempty"`
	Name        string                 `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	Title       string                 `protobuf:"bytes,7,opt,name=title,proto3" json:"title,omitempty"`
	Content     string                 `protobuf:"bytes,8,opt,name=content,proto3" json:"content,omitempty"`
	Tags        []string               `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty"`
	Visibility  Visibility             `protobuf:"varint,10,opt,name=visibility,proto3,enum=slash.api.v2.Visibility" json:"visibility,omitempty"`
	// contains filtered or unexported fields
}

func (*Memo) Descriptor deprecated

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

Deprecated: Use Memo.ProtoReflect.Descriptor instead.

func (*Memo) GetContent

func (x *Memo) GetContent() string

func (*Memo) GetCreatedTime

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

func (*Memo) GetCreatorId

func (x *Memo) GetCreatorId() int32

func (*Memo) GetId

func (x *Memo) GetId() int32

func (*Memo) GetName

func (x *Memo) GetName() string

func (*Memo) GetRowStatus

func (x *Memo) GetRowStatus() RowStatus

func (*Memo) GetTags

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

func (*Memo) GetTitle

func (x *Memo) GetTitle() string

func (*Memo) GetUpdatedTime

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

func (*Memo) GetVisibility

func (x *Memo) GetVisibility() Visibility

func (*Memo) ProtoMessage

func (*Memo) ProtoMessage()

func (*Memo) ProtoReflect

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

func (*Memo) Reset

func (x *Memo) Reset()

func (*Memo) String

func (x *Memo) String() string

type MemoServiceClient

type MemoServiceClient interface {
	// ListMemos returns a list of memos.
	ListMemos(ctx context.Context, in *ListMemosRequest, opts ...grpc.CallOption) (*ListMemosResponse, error)
	// GetMemo returns a memo by id.
	GetMemo(ctx context.Context, in *GetMemoRequest, opts ...grpc.CallOption) (*GetMemoResponse, error)
	// CreateMemo creates a memo.
	CreateMemo(ctx context.Context, in *CreateMemoRequest, opts ...grpc.CallOption) (*CreateMemoResponse, 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)
}

MemoServiceClient is the client API for MemoService service.

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

type MemoServiceServer

type MemoServiceServer interface {
	// ListMemos returns a list of memos.
	ListMemos(context.Context, *ListMemosRequest) (*ListMemosResponse, error)
	// GetMemo returns a memo by id.
	GetMemo(context.Context, *GetMemoRequest) (*GetMemoResponse, error)
	// CreateMemo creates a memo.
	CreateMemo(context.Context, *CreateMemoRequest) (*CreateMemoResponse, error)
	// UpdateMemo updates a memo.
	UpdateMemo(context.Context, *UpdateMemoRequest) (*UpdateMemoResponse, error)
	// DeleteMemo deletes a memo by id.
	DeleteMemo(context.Context, *DeleteMemoRequest) (*DeleteMemoResponse, error)
	// contains filtered or unexported methods
}

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

type OpenGraphMetadata

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

func (*OpenGraphMetadata) Descriptor deprecated

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

Deprecated: Use OpenGraphMetadata.ProtoReflect.Descriptor instead.

func (*OpenGraphMetadata) GetDescription

func (x *OpenGraphMetadata) GetDescription() string

func (*OpenGraphMetadata) GetImage

func (x *OpenGraphMetadata) GetImage() string

func (*OpenGraphMetadata) GetTitle

func (x *OpenGraphMetadata) GetTitle() string

func (*OpenGraphMetadata) ProtoMessage

func (*OpenGraphMetadata) ProtoMessage()

func (*OpenGraphMetadata) ProtoReflect

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

func (*OpenGraphMetadata) Reset

func (x *OpenGraphMetadata) Reset()

func (*OpenGraphMetadata) String

func (x *OpenGraphMetadata) String() string

type PlanType

type PlanType int32
const (
	PlanType_PLAN_TYPE_UNSPECIFIED PlanType = 0
	PlanType_FREE                  PlanType = 1
	PlanType_PRO                   PlanType = 2
)

func (PlanType) Descriptor

func (PlanType) Descriptor() protoreflect.EnumDescriptor

func (PlanType) Enum

func (x PlanType) Enum() *PlanType

func (PlanType) EnumDescriptor deprecated

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

Deprecated: Use PlanType.Descriptor instead.

func (PlanType) Number

func (x PlanType) Number() protoreflect.EnumNumber

func (PlanType) String

func (x PlanType) String() string

func (PlanType) Type

type Role

type Role int32
const (
	Role_ROLE_UNSPECIFIED Role = 0
	Role_ADMIN            Role = 1
	Role_USER             Role = 2
)

func (Role) Descriptor

func (Role) Descriptor() protoreflect.EnumDescriptor

func (Role) Enum

func (x Role) Enum() *Role

func (Role) EnumDescriptor deprecated

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

Deprecated: Use Role.Descriptor instead.

func (Role) Number

func (x Role) Number() protoreflect.EnumNumber

func (Role) String

func (x Role) String() string

func (Role) Type

func (Role) Type() protoreflect.EnumType

type RowStatus

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

func (RowStatus) Descriptor

func (RowStatus) Descriptor() protoreflect.EnumDescriptor

func (RowStatus) Enum

func (x RowStatus) Enum() *RowStatus

func (RowStatus) EnumDescriptor deprecated

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

Deprecated: Use RowStatus.Descriptor instead.

func (RowStatus) Number

func (x RowStatus) Number() protoreflect.EnumNumber

func (RowStatus) String

func (x RowStatus) String() string

func (RowStatus) Type

type Shortcut

type Shortcut 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=slash.api.v2.RowStatus" json:"row_status,omitempty"`
	Name        string                 `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	Link        string                 `protobuf:"bytes,7,opt,name=link,proto3" json:"link,omitempty"`
	Title       string                 `protobuf:"bytes,8,opt,name=title,proto3" json:"title,omitempty"`
	Tags        []string               `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty"`
	Description string                 `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"`
	Visibility  Visibility             `protobuf:"varint,11,opt,name=visibility,proto3,enum=slash.api.v2.Visibility" json:"visibility,omitempty"`
	ViewCount   int32                  `protobuf:"varint,12,opt,name=view_count,json=viewCount,proto3" json:"view_count,omitempty"`
	OgMetadata  *OpenGraphMetadata     `protobuf:"bytes,13,opt,name=og_metadata,json=ogMetadata,proto3" json:"og_metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*Shortcut) Descriptor deprecated

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

Deprecated: Use Shortcut.ProtoReflect.Descriptor instead.

func (*Shortcut) GetCreatedTime

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

func (*Shortcut) GetCreatorId

func (x *Shortcut) GetCreatorId() int32

func (*Shortcut) GetDescription

func (x *Shortcut) GetDescription() string

func (*Shortcut) GetId

func (x *Shortcut) GetId() int32
func (x *Shortcut) GetLink() string

func (*Shortcut) GetName

func (x *Shortcut) GetName() string

func (*Shortcut) GetOgMetadata

func (x *Shortcut) GetOgMetadata() *OpenGraphMetadata

func (*Shortcut) GetRowStatus

func (x *Shortcut) GetRowStatus() RowStatus

func (*Shortcut) GetTags

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

func (*Shortcut) GetTitle

func (x *Shortcut) GetTitle() string

func (*Shortcut) GetUpdatedTime

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

func (*Shortcut) GetViewCount

func (x *Shortcut) GetViewCount() int32

func (*Shortcut) GetVisibility

func (x *Shortcut) GetVisibility() Visibility

func (*Shortcut) ProtoMessage

func (*Shortcut) ProtoMessage()

func (*Shortcut) ProtoReflect

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

func (*Shortcut) Reset

func (x *Shortcut) Reset()

func (*Shortcut) String

func (x *Shortcut) String() string

type ShortcutServiceClient

type ShortcutServiceClient interface {
	// ListShortcuts returns a list of shortcuts.
	ListShortcuts(ctx context.Context, in *ListShortcutsRequest, opts ...grpc.CallOption) (*ListShortcutsResponse, error)
	// GetShortcut returns a shortcut by id.
	GetShortcut(ctx context.Context, in *GetShortcutRequest, opts ...grpc.CallOption) (*GetShortcutResponse, error)
	// GetShortcutByName returns a shortcut by name.
	GetShortcutByName(ctx context.Context, in *GetShortcutByNameRequest, opts ...grpc.CallOption) (*GetShortcutByNameResponse, error)
	// CreateShortcut creates a shortcut.
	CreateShortcut(ctx context.Context, in *CreateShortcutRequest, opts ...grpc.CallOption) (*CreateShortcutResponse, error)
	// UpdateShortcut updates a shortcut.
	UpdateShortcut(ctx context.Context, in *UpdateShortcutRequest, opts ...grpc.CallOption) (*UpdateShortcutResponse, error)
	// DeleteShortcut deletes a shortcut by name.
	DeleteShortcut(ctx context.Context, in *DeleteShortcutRequest, opts ...grpc.CallOption) (*DeleteShortcutResponse, error)
	// GetShortcutAnalytics returns the analytics for a shortcut.
	GetShortcutAnalytics(ctx context.Context, in *GetShortcutAnalyticsRequest, opts ...grpc.CallOption) (*GetShortcutAnalyticsResponse, error)
}

ShortcutServiceClient is the client API for ShortcutService service.

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

type ShortcutServiceServer

type ShortcutServiceServer interface {
	// ListShortcuts returns a list of shortcuts.
	ListShortcuts(context.Context, *ListShortcutsRequest) (*ListShortcutsResponse, error)
	// GetShortcut returns a shortcut by id.
	GetShortcut(context.Context, *GetShortcutRequest) (*GetShortcutResponse, error)
	// GetShortcutByName returns a shortcut by name.
	GetShortcutByName(context.Context, *GetShortcutByNameRequest) (*GetShortcutByNameResponse, error)
	// CreateShortcut creates a shortcut.
	CreateShortcut(context.Context, *CreateShortcutRequest) (*CreateShortcutResponse, error)
	// UpdateShortcut updates a shortcut.
	UpdateShortcut(context.Context, *UpdateShortcutRequest) (*UpdateShortcutResponse, error)
	// DeleteShortcut deletes a shortcut by name.
	DeleteShortcut(context.Context, *DeleteShortcutRequest) (*DeleteShortcutResponse, error)
	// GetShortcutAnalytics returns the analytics for a shortcut.
	GetShortcutAnalytics(context.Context, *GetShortcutAnalyticsRequest) (*GetShortcutAnalyticsResponse, error)
	// contains filtered or unexported methods
}

ShortcutServiceServer is the server API for ShortcutService service. All implementations must embed UnimplementedShortcutServiceServer for forward compatibility

type SignInRequest

type SignInRequest struct {
	Email    string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*SignInRequest) Descriptor deprecated

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

Deprecated: Use SignInRequest.ProtoReflect.Descriptor instead.

func (*SignInRequest) GetEmail

func (x *SignInRequest) GetEmail() string

func (*SignInRequest) GetPassword

func (x *SignInRequest) GetPassword() string

func (*SignInRequest) ProtoMessage

func (*SignInRequest) ProtoMessage()

func (*SignInRequest) ProtoReflect

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

func (*SignInRequest) Reset

func (x *SignInRequest) Reset()

func (*SignInRequest) String

func (x *SignInRequest) String() string

type SignInResponse

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

func (*SignInResponse) Descriptor deprecated

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

Deprecated: Use SignInResponse.ProtoReflect.Descriptor instead.

func (*SignInResponse) GetUser

func (x *SignInResponse) GetUser() *User

func (*SignInResponse) ProtoMessage

func (*SignInResponse) ProtoMessage()

func (*SignInResponse) ProtoReflect

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

func (*SignInResponse) Reset

func (x *SignInResponse) Reset()

func (*SignInResponse) String

func (x *SignInResponse) String() string

type SignOutRequest

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

func (*SignOutRequest) Descriptor deprecated

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

Deprecated: Use SignOutRequest.ProtoReflect.Descriptor instead.

func (*SignOutRequest) ProtoMessage

func (*SignOutRequest) ProtoMessage()

func (*SignOutRequest) ProtoReflect

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

func (*SignOutRequest) Reset

func (x *SignOutRequest) Reset()

func (*SignOutRequest) String

func (x *SignOutRequest) String() string

type SignOutResponse

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

func (*SignOutResponse) Descriptor deprecated

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

Deprecated: Use SignOutResponse.ProtoReflect.Descriptor instead.

func (*SignOutResponse) ProtoMessage

func (*SignOutResponse) ProtoMessage()

func (*SignOutResponse) ProtoReflect

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

func (*SignOutResponse) Reset

func (x *SignOutResponse) Reset()

func (*SignOutResponse) String

func (x *SignOutResponse) String() string

type SignUpRequest

type SignUpRequest struct {
	Email    string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*SignUpRequest) Descriptor deprecated

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

Deprecated: Use SignUpRequest.ProtoReflect.Descriptor instead.

func (*SignUpRequest) GetEmail

func (x *SignUpRequest) GetEmail() string

func (*SignUpRequest) GetNickname

func (x *SignUpRequest) GetNickname() string

func (*SignUpRequest) GetPassword

func (x *SignUpRequest) GetPassword() string

func (*SignUpRequest) ProtoMessage

func (*SignUpRequest) ProtoMessage()

func (*SignUpRequest) ProtoReflect

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

func (*SignUpRequest) Reset

func (x *SignUpRequest) Reset()

func (*SignUpRequest) String

func (x *SignUpRequest) String() string

type SignUpResponse

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

func (*SignUpResponse) Descriptor deprecated

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

Deprecated: Use SignUpResponse.ProtoReflect.Descriptor instead.

func (*SignUpResponse) GetUser

func (x *SignUpResponse) GetUser() *User

func (*SignUpResponse) ProtoMessage

func (*SignUpResponse) ProtoMessage()

func (*SignUpResponse) ProtoReflect

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

func (*SignUpResponse) Reset

func (x *SignUpResponse) Reset()

func (*SignUpResponse) String

func (x *SignUpResponse) String() string

type Subscription

type Subscription struct {
	Plan        PlanType               `protobuf:"varint,1,opt,name=plan,proto3,enum=slash.api.v2.PlanType" json:"plan,omitempty"`
	StartedTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=started_time,json=startedTime,proto3" json:"started_time,omitempty"`
	ExpiresTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_time,json=expiresTime,proto3" json:"expires_time,omitempty"`
	// contains filtered or unexported fields
}

func (*Subscription) Descriptor deprecated

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

Deprecated: Use Subscription.ProtoReflect.Descriptor instead.

func (*Subscription) GetExpiresTime

func (x *Subscription) GetExpiresTime() *timestamppb.Timestamp

func (*Subscription) GetPlan

func (x *Subscription) GetPlan() PlanType

func (*Subscription) GetStartedTime

func (x *Subscription) GetStartedTime() *timestamppb.Timestamp

func (*Subscription) ProtoMessage

func (*Subscription) ProtoMessage()

func (*Subscription) ProtoReflect

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

func (*Subscription) Reset

func (x *Subscription) Reset()

func (*Subscription) String

func (x *Subscription) String() string

type SubscriptionServiceClient

type SubscriptionServiceClient interface {
	GetSubscription(ctx context.Context, in *GetSubscriptionRequest, opts ...grpc.CallOption) (*GetSubscriptionResponse, error)
	UpdateSubscription(ctx context.Context, in *UpdateSubscriptionRequest, opts ...grpc.CallOption) (*UpdateSubscriptionResponse, error)
}

SubscriptionServiceClient is the client API for SubscriptionService service.

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

type SubscriptionServiceServer

type SubscriptionServiceServer interface {
	GetSubscription(context.Context, *GetSubscriptionRequest) (*GetSubscriptionResponse, error)
	UpdateSubscription(context.Context, *UpdateSubscriptionRequest) (*UpdateSubscriptionResponse, error)
	// contains filtered or unexported methods
}

SubscriptionServiceServer is the server API for SubscriptionService service. All implementations must embed UnimplementedSubscriptionServiceServer for forward compatibility

type UnimplementedAuthServiceServer

type UnimplementedAuthServiceServer struct {
}

UnimplementedAuthServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAuthServiceServer) GetAuthStatus

func (UnimplementedAuthServiceServer) SignIn

func (UnimplementedAuthServiceServer) SignOut

func (UnimplementedAuthServiceServer) SignUp

type UnimplementedCollectionServiceServer

type UnimplementedCollectionServiceServer struct {
}

UnimplementedCollectionServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedCollectionServiceServer) CreateCollection

func (UnimplementedCollectionServiceServer) DeleteCollection

func (UnimplementedCollectionServiceServer) GetCollection

func (UnimplementedCollectionServiceServer) GetCollectionByName

func (UnimplementedCollectionServiceServer) ListCollections

func (UnimplementedCollectionServiceServer) UpdateCollection

type UnimplementedMemoServiceServer

type UnimplementedMemoServiceServer struct {
}

UnimplementedMemoServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedMemoServiceServer) CreateMemo

func (UnimplementedMemoServiceServer) DeleteMemo

func (UnimplementedMemoServiceServer) GetMemo

func (UnimplementedMemoServiceServer) ListMemos

func (UnimplementedMemoServiceServer) UpdateMemo

type UnimplementedShortcutServiceServer

type UnimplementedShortcutServiceServer struct {
}

UnimplementedShortcutServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedShortcutServiceServer) CreateShortcut

func (UnimplementedShortcutServiceServer) DeleteShortcut

func (UnimplementedShortcutServiceServer) GetShortcut

func (UnimplementedShortcutServiceServer) GetShortcutByName

func (UnimplementedShortcutServiceServer) ListShortcuts

func (UnimplementedShortcutServiceServer) UpdateShortcut

type UnimplementedSubscriptionServiceServer

type UnimplementedSubscriptionServiceServer struct {
}

UnimplementedSubscriptionServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedSubscriptionServiceServer) GetSubscription

func (UnimplementedSubscriptionServiceServer) UpdateSubscription

type UnimplementedUserServiceServer

type UnimplementedUserServiceServer struct {
}

UnimplementedUserServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedUserServiceServer) CreateUser

func (UnimplementedUserServiceServer) DeleteUser

func (UnimplementedUserServiceServer) GetUser

func (UnimplementedUserServiceServer) ListUsers

func (UnimplementedUserServiceServer) UpdateUser

type UnimplementedUserSettingServiceServer

type UnimplementedUserSettingServiceServer struct {
}

UnimplementedUserSettingServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedUserSettingServiceServer) GetUserSetting

func (UnimplementedUserSettingServiceServer) UpdateUserSetting

type UnimplementedWorkspaceServiceServer

type UnimplementedWorkspaceServiceServer struct {
}

UnimplementedWorkspaceServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedWorkspaceServiceServer) GetWorkspaceProfile

func (UnimplementedWorkspaceServiceServer) GetWorkspaceSetting

type UnsafeAuthServiceServer

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 UnsafeCollectionServiceServer

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

UnsafeCollectionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CollectionServiceServer 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 UnsafeShortcutServiceServer

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

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

type UnsafeSubscriptionServiceServer

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

UnsafeSubscriptionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SubscriptionServiceServer 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 UnsafeUserSettingServiceServer

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

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

type UnsafeWorkspaceServiceServer

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 UpdateCollectionRequest

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

func (*UpdateCollectionRequest) Descriptor deprecated

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

Deprecated: Use UpdateCollectionRequest.ProtoReflect.Descriptor instead.

func (*UpdateCollectionRequest) GetCollection

func (x *UpdateCollectionRequest) GetCollection() *Collection

func (*UpdateCollectionRequest) GetUpdateMask

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

func (*UpdateCollectionRequest) ProtoMessage

func (*UpdateCollectionRequest) ProtoMessage()

func (*UpdateCollectionRequest) ProtoReflect

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

func (*UpdateCollectionRequest) Reset

func (x *UpdateCollectionRequest) Reset()

func (*UpdateCollectionRequest) String

func (x *UpdateCollectionRequest) String() string

type UpdateCollectionResponse

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

func (*UpdateCollectionResponse) Descriptor deprecated

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

Deprecated: Use UpdateCollectionResponse.ProtoReflect.Descriptor instead.

func (*UpdateCollectionResponse) GetCollection

func (x *UpdateCollectionResponse) GetCollection() *Collection

func (*UpdateCollectionResponse) ProtoMessage

func (*UpdateCollectionResponse) ProtoMessage()

func (*UpdateCollectionResponse) ProtoReflect

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

func (*UpdateCollectionResponse) Reset

func (x *UpdateCollectionResponse) Reset()

func (*UpdateCollectionResponse) String

func (x *UpdateCollectionResponse) String() string

type UpdateMemoRequest

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

func (*UpdateMemoRequest) Descriptor deprecated

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

Deprecated: Use UpdateMemoRequest.ProtoReflect.Descriptor instead.

func (*UpdateMemoRequest) GetMemo

func (x *UpdateMemoRequest) GetMemo() *Memo

func (*UpdateMemoRequest) GetUpdateMask

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

func (*UpdateMemoRequest) ProtoMessage

func (*UpdateMemoRequest) ProtoMessage()

func (*UpdateMemoRequest) ProtoReflect

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

func (*UpdateMemoRequest) Reset

func (x *UpdateMemoRequest) Reset()

func (*UpdateMemoRequest) String

func (x *UpdateMemoRequest) String() string

type UpdateMemoResponse

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

func (*UpdateMemoResponse) Descriptor deprecated

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

Deprecated: Use UpdateMemoResponse.ProtoReflect.Descriptor instead.

func (*UpdateMemoResponse) GetMemo

func (x *UpdateMemoResponse) GetMemo() *Memo

func (*UpdateMemoResponse) ProtoMessage

func (*UpdateMemoResponse) ProtoMessage()

func (*UpdateMemoResponse) ProtoReflect

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

func (*UpdateMemoResponse) Reset

func (x *UpdateMemoResponse) Reset()

func (*UpdateMemoResponse) String

func (x *UpdateMemoResponse) String() string

type UpdateShortcutRequest

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

func (*UpdateShortcutRequest) Descriptor deprecated

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

Deprecated: Use UpdateShortcutRequest.ProtoReflect.Descriptor instead.

func (*UpdateShortcutRequest) GetShortcut

func (x *UpdateShortcutRequest) GetShortcut() *Shortcut

func (*UpdateShortcutRequest) GetUpdateMask

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

func (*UpdateShortcutRequest) ProtoMessage

func (*UpdateShortcutRequest) ProtoMessage()

func (*UpdateShortcutRequest) ProtoReflect

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

func (*UpdateShortcutRequest) Reset

func (x *UpdateShortcutRequest) Reset()

func (*UpdateShortcutRequest) String

func (x *UpdateShortcutRequest) String() string

type UpdateShortcutResponse

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

func (*UpdateShortcutResponse) Descriptor deprecated

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

Deprecated: Use UpdateShortcutResponse.ProtoReflect.Descriptor instead.

func (*UpdateShortcutResponse) GetShortcut

func (x *UpdateShortcutResponse) GetShortcut() *Shortcut

func (*UpdateShortcutResponse) ProtoMessage

func (*UpdateShortcutResponse) ProtoMessage()

func (*UpdateShortcutResponse) ProtoReflect

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

func (*UpdateShortcutResponse) Reset

func (x *UpdateShortcutResponse) Reset()

func (*UpdateShortcutResponse) String

func (x *UpdateShortcutResponse) String() string

type UpdateSubscriptionRequest

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

func (*UpdateSubscriptionRequest) Descriptor deprecated

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

Deprecated: Use UpdateSubscriptionRequest.ProtoReflect.Descriptor instead.

func (*UpdateSubscriptionRequest) GetLicenseKey

func (x *UpdateSubscriptionRequest) GetLicenseKey() string

func (*UpdateSubscriptionRequest) ProtoMessage

func (*UpdateSubscriptionRequest) ProtoMessage()

func (*UpdateSubscriptionRequest) ProtoReflect

func (*UpdateSubscriptionRequest) Reset

func (x *UpdateSubscriptionRequest) Reset()

func (*UpdateSubscriptionRequest) String

func (x *UpdateSubscriptionRequest) String() string

type UpdateSubscriptionResponse

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

func (*UpdateSubscriptionResponse) Descriptor deprecated

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

Deprecated: Use UpdateSubscriptionResponse.ProtoReflect.Descriptor instead.

func (*UpdateSubscriptionResponse) GetSubscription

func (x *UpdateSubscriptionResponse) GetSubscription() *Subscription

func (*UpdateSubscriptionResponse) ProtoMessage

func (*UpdateSubscriptionResponse) ProtoMessage()

func (*UpdateSubscriptionResponse) ProtoReflect

func (*UpdateSubscriptionResponse) Reset

func (x *UpdateSubscriptionResponse) Reset()

func (*UpdateSubscriptionResponse) String

func (x *UpdateSubscriptionResponse) String() string

type UpdateUserRequest

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

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

Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserRequest) GetUpdateMask

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

func (*UpdateUserRequest) GetUser

func (x *UpdateUserRequest) GetUser() *User

func (*UpdateUserRequest) ProtoMessage

func (*UpdateUserRequest) ProtoMessage()

func (*UpdateUserRequest) ProtoReflect

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

func (*UpdateUserRequest) Reset

func (x *UpdateUserRequest) Reset()

func (*UpdateUserRequest) String

func (x *UpdateUserRequest) String() string

type UpdateUserResponse

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

func (*UpdateUserResponse) Descriptor deprecated

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

Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead.

func (*UpdateUserResponse) GetUser

func (x *UpdateUserResponse) GetUser() *User

func (*UpdateUserResponse) ProtoMessage

func (*UpdateUserResponse) ProtoMessage()

func (*UpdateUserResponse) ProtoReflect

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

func (*UpdateUserResponse) Reset

func (x *UpdateUserResponse) Reset()

func (*UpdateUserResponse) String

func (x *UpdateUserResponse) String() string

type UpdateUserSettingRequest

type UpdateUserSettingRequest struct {

	// id is the user id.
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// user_setting is the user setting to update.
	UserSetting *UserSetting `protobuf:"bytes,2,opt,name=user_setting,json=userSetting,proto3" json:"user_setting,omitempty"`
	// update_mask is the field mask to update.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserSettingRequest) Descriptor deprecated

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

Deprecated: Use UpdateUserSettingRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserSettingRequest) GetId

func (x *UpdateUserSettingRequest) GetId() int32

func (*UpdateUserSettingRequest) GetUpdateMask

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

func (*UpdateUserSettingRequest) GetUserSetting

func (x *UpdateUserSettingRequest) GetUserSetting() *UserSetting

func (*UpdateUserSettingRequest) ProtoMessage

func (*UpdateUserSettingRequest) ProtoMessage()

func (*UpdateUserSettingRequest) ProtoReflect

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

func (*UpdateUserSettingRequest) Reset

func (x *UpdateUserSettingRequest) Reset()

func (*UpdateUserSettingRequest) String

func (x *UpdateUserSettingRequest) String() string

type UpdateUserSettingResponse

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

func (*UpdateUserSettingResponse) Descriptor deprecated

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

Deprecated: Use UpdateUserSettingResponse.ProtoReflect.Descriptor instead.

func (*UpdateUserSettingResponse) GetUserSetting

func (x *UpdateUserSettingResponse) GetUserSetting() *UserSetting

func (*UpdateUserSettingResponse) ProtoMessage

func (*UpdateUserSettingResponse) ProtoMessage()

func (*UpdateUserSettingResponse) ProtoReflect

func (*UpdateUserSettingResponse) Reset

func (x *UpdateUserSettingResponse) Reset()

func (*UpdateUserSettingResponse) String

func (x *UpdateUserSettingResponse) String() string

type UpdateWorkspaceSettingRequest

type UpdateWorkspaceSettingRequest struct {

	// The user setting.
	Setting *WorkspaceSetting `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,omitempty"`
	// The update mask.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateWorkspaceSettingRequest) Descriptor deprecated

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

Deprecated: Use UpdateWorkspaceSettingRequest.ProtoReflect.Descriptor instead.

func (*UpdateWorkspaceSettingRequest) GetSetting

func (*UpdateWorkspaceSettingRequest) GetUpdateMask

func (*UpdateWorkspaceSettingRequest) ProtoMessage

func (*UpdateWorkspaceSettingRequest) ProtoMessage()

func (*UpdateWorkspaceSettingRequest) ProtoReflect

func (*UpdateWorkspaceSettingRequest) Reset

func (x *UpdateWorkspaceSettingRequest) Reset()

func (*UpdateWorkspaceSettingRequest) String

type UpdateWorkspaceSettingResponse

type UpdateWorkspaceSettingResponse struct {

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

func (*UpdateWorkspaceSettingResponse) Descriptor deprecated

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

Deprecated: Use UpdateWorkspaceSettingResponse.ProtoReflect.Descriptor instead.

func (*UpdateWorkspaceSettingResponse) GetSetting

func (*UpdateWorkspaceSettingResponse) ProtoMessage

func (*UpdateWorkspaceSettingResponse) ProtoMessage()

func (*UpdateWorkspaceSettingResponse) ProtoReflect

func (*UpdateWorkspaceSettingResponse) Reset

func (x *UpdateWorkspaceSettingResponse) Reset()

func (*UpdateWorkspaceSettingResponse) String

type User

type User struct {
	Id          int32                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	RowStatus   RowStatus              `protobuf:"varint,2,opt,name=row_status,json=rowStatus,proto3,enum=slash.api.v2.RowStatus" json:"row_status,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"`
	Role        Role                   `protobuf:"varint,6,opt,name=role,proto3,enum=slash.api.v2.Role" json:"role,omitempty"`
	Email       string                 `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"`
	Nickname    string                 `protobuf:"bytes,8,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Password    string                 `protobuf:"bytes,9,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetCreatedTime

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

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetId

func (x *User) GetId() int32

func (*User) GetNickname

func (x *User) GetNickname() string

func (*User) GetPassword

func (x *User) GetPassword() string

func (*User) GetRole

func (x *User) GetRole() Role

func (*User) GetRowStatus

func (x *User) GetRowStatus() RowStatus

func (*User) GetUpdatedTime

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

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type UserAccessToken

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

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

Deprecated: Use UserAccessToken.ProtoReflect.Descriptor instead.

func (*UserAccessToken) GetAccessToken

func (x *UserAccessToken) GetAccessToken() string

func (*UserAccessToken) GetDescription

func (x *UserAccessToken) GetDescription() string

func (*UserAccessToken) GetExpiresAt

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

func (*UserAccessToken) GetIssuedAt

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

func (*UserAccessToken) ProtoMessage

func (*UserAccessToken) ProtoMessage()

func (*UserAccessToken) ProtoReflect

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

func (*UserAccessToken) Reset

func (x *UserAccessToken) Reset()

func (*UserAccessToken) String

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 returns a user by id.
	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(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error)
	// DeleteUser deletes a user by id.
	DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error)
	// ListUserAccessTokens returns a list of access tokens for a user.
	ListUserAccessTokens(ctx context.Context, in *ListUserAccessTokensRequest, opts ...grpc.CallOption) (*ListUserAccessTokensResponse, error)
	// CreateUserAccessToken creates a new access token for a user.
	CreateUserAccessToken(ctx context.Context, in *CreateUserAccessTokenRequest, opts ...grpc.CallOption) (*CreateUserAccessTokenResponse, error)
	// DeleteUserAccessToken deletes an access token for a user.
	DeleteUserAccessToken(ctx context.Context, in *DeleteUserAccessTokenRequest, opts ...grpc.CallOption) (*DeleteUserAccessTokenResponse, error)
}

UserServiceClient is the client API for UserService service.

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

type UserServiceServer

type UserServiceServer interface {
	// ListUsers returns a list of users.
	ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
	// GetUser returns a user by id.
	GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
	// CreateUser creates a new user.
	CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
	UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
	// DeleteUser deletes a user by id.
	DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, 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 {

	// id is the user id.
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// locale is the user locale.
	Locale UserSetting_Locale `protobuf:"varint,2,opt,name=locale,proto3,enum=slash.api.v2.UserSetting_Locale" json:"locale,omitempty"`
	// color_theme is the user color theme.
	ColorTheme UserSetting_ColorTheme `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UserSetting) Descriptor deprecated

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

Deprecated: Use UserSetting.ProtoReflect.Descriptor instead.

func (*UserSetting) GetColorTheme

func (x *UserSetting) GetColorTheme() UserSetting_ColorTheme

func (*UserSetting) GetId

func (x *UserSetting) GetId() int32

func (*UserSetting) GetLocale

func (x *UserSetting) GetLocale() UserSetting_Locale

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 UserSettingServiceClient

type UserSettingServiceClient interface {
	// GetUserSetting returns the user setting.
	GetUserSetting(ctx context.Context, in *GetUserSettingRequest, opts ...grpc.CallOption) (*GetUserSettingResponse, error)
	// UpdateUserSetting updates the user setting.
	UpdateUserSetting(ctx context.Context, in *UpdateUserSettingRequest, opts ...grpc.CallOption) (*UpdateUserSettingResponse, error)
}

UserSettingServiceClient is the client API for UserSettingService service.

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

type UserSettingServiceServer

type UserSettingServiceServer interface {
	// GetUserSetting returns the user setting.
	GetUserSetting(context.Context, *GetUserSettingRequest) (*GetUserSettingResponse, error)
	// UpdateUserSetting updates the user setting.
	UpdateUserSetting(context.Context, *UpdateUserSettingRequest) (*UpdateUserSettingResponse, error)
	// contains filtered or unexported methods
}

UserSettingServiceServer is the server API for UserSettingService service. All implementations must embed UnimplementedUserSettingServiceServer for forward compatibility

type UserSetting_ColorTheme

type UserSetting_ColorTheme int32
const (
	UserSetting_COLOR_THEME_UNSPECIFIED UserSetting_ColorTheme = 0
	UserSetting_COLOR_THEME_SYSTEM      UserSetting_ColorTheme = 1
	UserSetting_COLOR_THEME_LIGHT       UserSetting_ColorTheme = 2
	UserSetting_COLOR_THEME_DARK        UserSetting_ColorTheme = 3
)

func (UserSetting_ColorTheme) Descriptor

func (UserSetting_ColorTheme) Enum

func (UserSetting_ColorTheme) EnumDescriptor deprecated

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

Deprecated: Use UserSetting_ColorTheme.Descriptor instead.

func (UserSetting_ColorTheme) Number

func (UserSetting_ColorTheme) String

func (x UserSetting_ColorTheme) String() string

func (UserSetting_ColorTheme) Type

type UserSetting_Locale

type UserSetting_Locale int32
const (
	UserSetting_LOCALE_UNSPECIFIED UserSetting_Locale = 0
	UserSetting_LOCALE_EN          UserSetting_Locale = 1
	UserSetting_LOCALE_ZH          UserSetting_Locale = 2
)

func (UserSetting_Locale) Descriptor

func (UserSetting_Locale) Enum

func (UserSetting_Locale) EnumDescriptor deprecated

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

Deprecated: Use UserSetting_Locale.Descriptor instead.

func (UserSetting_Locale) Number

func (UserSetting_Locale) String

func (x UserSetting_Locale) String() string

func (UserSetting_Locale) Type

type Visibility

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

func (Visibility) Descriptor

func (Visibility) Descriptor() protoreflect.EnumDescriptor

func (Visibility) Enum

func (x Visibility) Enum() *Visibility

func (Visibility) EnumDescriptor deprecated

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

Deprecated: Use Visibility.Descriptor instead.

func (Visibility) Number

func (x Visibility) Number() protoreflect.EnumNumber

func (Visibility) String

func (x Visibility) String() string

func (Visibility) Type

type WorkspaceProfile

type WorkspaceProfile struct {

	// Current workspace mode: dev, prod.
	Mode string `protobuf:"bytes,1,opt,name=mode,proto3" json:"mode,omitempty"`
	// Current workspace version.
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// The workspace plan.
	Plan PlanType `protobuf:"varint,3,opt,name=plan,proto3,enum=slash.api.v2.PlanType" json:"plan,omitempty"`
	// Whether to enable other users to sign up.
	EnableSignup bool `protobuf:"varint,4,opt,name=enable_signup,json=enableSignup,proto3" json:"enable_signup,omitempty"`
	// The custom style.
	CustomStyle string `protobuf:"bytes,5,opt,name=custom_style,json=customStyle,proto3" json:"custom_style,omitempty"`
	// The custom script.
	CustomScript string `protobuf:"bytes,6,opt,name=custom_script,json=customScript,proto3" json:"custom_script,omitempty"`
	// contains filtered or unexported fields
}

func (*WorkspaceProfile) Descriptor deprecated

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

Deprecated: Use WorkspaceProfile.ProtoReflect.Descriptor instead.

func (*WorkspaceProfile) GetCustomScript

func (x *WorkspaceProfile) GetCustomScript() string

func (*WorkspaceProfile) GetCustomStyle

func (x *WorkspaceProfile) GetCustomStyle() string

func (*WorkspaceProfile) GetEnableSignup

func (x *WorkspaceProfile) GetEnableSignup() bool

func (*WorkspaceProfile) GetMode

func (x *WorkspaceProfile) GetMode() string

func (*WorkspaceProfile) GetPlan

func (x *WorkspaceProfile) GetPlan() PlanType

func (*WorkspaceProfile) GetVersion

func (x *WorkspaceProfile) GetVersion() string

func (*WorkspaceProfile) ProtoMessage

func (*WorkspaceProfile) ProtoMessage()

func (*WorkspaceProfile) ProtoReflect

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

func (*WorkspaceProfile) Reset

func (x *WorkspaceProfile) Reset()

func (*WorkspaceProfile) String

func (x *WorkspaceProfile) String() string

type WorkspaceServiceClient

type WorkspaceServiceClient interface {
	GetWorkspaceProfile(ctx context.Context, in *GetWorkspaceProfileRequest, opts ...grpc.CallOption) (*GetWorkspaceProfileResponse, error)
	GetWorkspaceSetting(ctx context.Context, in *GetWorkspaceSettingRequest, opts ...grpc.CallOption) (*GetWorkspaceSettingResponse, error)
	UpdateWorkspaceSetting(ctx context.Context, in *UpdateWorkspaceSettingRequest, opts ...grpc.CallOption) (*UpdateWorkspaceSettingResponse, 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.

type WorkspaceServiceServer

type WorkspaceServiceServer interface {
	GetWorkspaceProfile(context.Context, *GetWorkspaceProfileRequest) (*GetWorkspaceProfileResponse, error)
	GetWorkspaceSetting(context.Context, *GetWorkspaceSettingRequest) (*GetWorkspaceSettingResponse, error)
	UpdateWorkspaceSetting(context.Context, *UpdateWorkspaceSettingRequest) (*UpdateWorkspaceSettingResponse, error)
	// contains filtered or unexported methods
}

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

type WorkspaceSetting

type WorkspaceSetting struct {
	LicenseKey string `protobuf:"bytes,1,opt,name=license_key,json=licenseKey,proto3" json:"license_key,omitempty"`
	// Whether to enable other users to sign up.
	EnableSignup bool `protobuf:"varint,2,opt,name=enable_signup,json=enableSignup,proto3" json:"enable_signup,omitempty"`
	// The instance URL.
	InstanceUrl string `protobuf:"bytes,3,opt,name=instance_url,json=instanceUrl,proto3" json:"instance_url,omitempty"`
	// The custom style.
	CustomStyle string `protobuf:"bytes,4,opt,name=custom_style,json=customStyle,proto3" json:"custom_style,omitempty"`
	// The custom script.
	CustomScript string `protobuf:"bytes,5,opt,name=custom_script,json=customScript,proto3" json:"custom_script,omitempty"`
	// The auto backup setting.
	AutoBackup *AutoBackupWorkspaceSetting `protobuf:"bytes,6,opt,name=auto_backup,json=autoBackup,proto3" json:"auto_backup,omitempty"`
	// contains filtered or unexported fields
}

func (*WorkspaceSetting) Descriptor deprecated

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

Deprecated: Use WorkspaceSetting.ProtoReflect.Descriptor instead.

func (*WorkspaceSetting) GetAutoBackup

func (x *WorkspaceSetting) GetAutoBackup() *AutoBackupWorkspaceSetting

func (*WorkspaceSetting) GetCustomScript

func (x *WorkspaceSetting) GetCustomScript() string

func (*WorkspaceSetting) GetCustomStyle

func (x *WorkspaceSetting) GetCustomStyle() string

func (*WorkspaceSetting) GetEnableSignup

func (x *WorkspaceSetting) GetEnableSignup() bool

func (*WorkspaceSetting) GetInstanceUrl

func (x *WorkspaceSetting) GetInstanceUrl() string

func (*WorkspaceSetting) GetLicenseKey

func (x *WorkspaceSetting) GetLicenseKey() string

func (*WorkspaceSetting) ProtoMessage

func (*WorkspaceSetting) ProtoMessage()

func (*WorkspaceSetting) ProtoReflect

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

func (*WorkspaceSetting) Reset

func (x *WorkspaceSetting) Reset()

func (*WorkspaceSetting) String

func (x *WorkspaceSetting) String() string

Jump to

Keyboard shortcuts

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