Documentation ¶
Index ¶
- Variables
- type AccessTokensUserSetting
- func (*AccessTokensUserSetting) Descriptor() ([]byte, []int)deprecated
- func (x *AccessTokensUserSetting) GetAccessTokens() []*AccessTokensUserSetting_AccessToken
- func (*AccessTokensUserSetting) ProtoMessage()
- func (x *AccessTokensUserSetting) ProtoReflect() protoreflect.Message
- func (x *AccessTokensUserSetting) Reset()
- func (x *AccessTokensUserSetting) String() string
- type AccessTokensUserSetting_AccessToken
- func (*AccessTokensUserSetting_AccessToken) Descriptor() ([]byte, []int)deprecated
- func (x *AccessTokensUserSetting_AccessToken) GetAccessToken() string
- func (x *AccessTokensUserSetting_AccessToken) GetDescription() string
- func (*AccessTokensUserSetting_AccessToken) ProtoMessage()
- func (x *AccessTokensUserSetting_AccessToken) ProtoReflect() protoreflect.Message
- func (x *AccessTokensUserSetting_AccessToken) Reset()
- func (x *AccessTokensUserSetting_AccessToken) String() string
- type ActivityMemoCommentPayload
- func (*ActivityMemoCommentPayload) Descriptor() ([]byte, []int)deprecated
- func (x *ActivityMemoCommentPayload) GetMemoId() int32
- func (x *ActivityMemoCommentPayload) GetRelatedMemoId() int32
- func (*ActivityMemoCommentPayload) ProtoMessage()
- func (x *ActivityMemoCommentPayload) ProtoReflect() protoreflect.Message
- func (x *ActivityMemoCommentPayload) Reset()
- func (x *ActivityMemoCommentPayload) String() string
- type ActivityPayload
- func (*ActivityPayload) Descriptor() ([]byte, []int)deprecated
- func (x *ActivityPayload) GetMemoComment() *ActivityMemoCommentPayload
- func (x *ActivityPayload) GetVersionUpdate() *ActivityVersionUpdatePayload
- func (*ActivityPayload) ProtoMessage()
- func (x *ActivityPayload) ProtoReflect() protoreflect.Message
- func (x *ActivityPayload) Reset()
- func (x *ActivityPayload) String() string
- type ActivityVersionUpdatePayload
- func (*ActivityVersionUpdatePayload) Descriptor() ([]byte, []int)deprecated
- func (x *ActivityVersionUpdatePayload) GetVersion() string
- func (*ActivityVersionUpdatePayload) ProtoMessage()
- func (x *ActivityVersionUpdatePayload) ProtoReflect() protoreflect.Message
- func (x *ActivityVersionUpdatePayload) Reset()
- func (x *ActivityVersionUpdatePayload) String() string
- type FieldMapping
- func (*FieldMapping) Descriptor() ([]byte, []int)deprecated
- func (x *FieldMapping) GetDisplayName() string
- func (x *FieldMapping) GetEmail() string
- func (x *FieldMapping) GetIdentifier() string
- func (*FieldMapping) ProtoMessage()
- func (x *FieldMapping) ProtoReflect() protoreflect.Message
- func (x *FieldMapping) Reset()
- func (x *FieldMapping) String() string
- type IdentityProvider
- func (*IdentityProvider) Descriptor() ([]byte, []int)deprecated
- func (x *IdentityProvider) GetConfig() *IdentityProviderConfig
- func (x *IdentityProvider) GetId() int32
- func (x *IdentityProvider) GetIdentifierFilter() string
- func (x *IdentityProvider) GetName() string
- func (x *IdentityProvider) GetType() IdentityProvider_Type
- func (*IdentityProvider) ProtoMessage()
- func (x *IdentityProvider) ProtoReflect() protoreflect.Message
- func (x *IdentityProvider) Reset()
- func (x *IdentityProvider) String() string
- type IdentityProviderConfig
- func (*IdentityProviderConfig) Descriptor() ([]byte, []int)deprecated
- func (m *IdentityProviderConfig) GetConfig() isIdentityProviderConfig_Config
- func (x *IdentityProviderConfig) GetOauth2Config() *OAuth2Config
- func (*IdentityProviderConfig) ProtoMessage()
- func (x *IdentityProviderConfig) ProtoReflect() protoreflect.Message
- func (x *IdentityProviderConfig) Reset()
- func (x *IdentityProviderConfig) String() string
- type IdentityProviderConfig_Oauth2Config
- type IdentityProvider_Type
- func (IdentityProvider_Type) Descriptor() protoreflect.EnumDescriptor
- func (x IdentityProvider_Type) Enum() *IdentityProvider_Type
- func (IdentityProvider_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x IdentityProvider_Type) Number() protoreflect.EnumNumber
- func (x IdentityProvider_Type) String() string
- func (IdentityProvider_Type) Type() protoreflect.EnumType
- type InboxMessage
- func (*InboxMessage) Descriptor() ([]byte, []int)deprecated
- func (x *InboxMessage) GetActivityId() int32
- func (x *InboxMessage) GetType() InboxMessage_Type
- func (*InboxMessage) ProtoMessage()
- func (x *InboxMessage) ProtoReflect() protoreflect.Message
- func (x *InboxMessage) Reset()
- func (x *InboxMessage) String() string
- type InboxMessage_Type
- func (InboxMessage_Type) Descriptor() protoreflect.EnumDescriptor
- func (x InboxMessage_Type) Enum() *InboxMessage_Type
- func (InboxMessage_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x InboxMessage_Type) Number() protoreflect.EnumNumber
- func (x InboxMessage_Type) String() string
- func (InboxMessage_Type) Type() protoreflect.EnumType
- type MemoPayload
- func (*MemoPayload) Descriptor() ([]byte, []int)deprecated
- func (x *MemoPayload) GetLocation() *MemoPayload_Location
- func (x *MemoPayload) GetProperty() *MemoPayload_Property
- func (*MemoPayload) ProtoMessage()
- func (x *MemoPayload) ProtoReflect() protoreflect.Message
- func (x *MemoPayload) Reset()
- func (x *MemoPayload) String() string
- type MemoPayload_Location
- func (*MemoPayload_Location) Descriptor() ([]byte, []int)deprecated
- func (x *MemoPayload_Location) GetLatitude() float64
- func (x *MemoPayload_Location) GetLongitude() float64
- func (x *MemoPayload_Location) GetPlaceholder() string
- func (*MemoPayload_Location) ProtoMessage()
- func (x *MemoPayload_Location) ProtoReflect() protoreflect.Message
- func (x *MemoPayload_Location) Reset()
- func (x *MemoPayload_Location) String() string
- type MemoPayload_Property
- func (*MemoPayload_Property) Descriptor() ([]byte, []int)deprecated
- func (x *MemoPayload_Property) GetHasCode() bool
- func (x *MemoPayload_Property) GetHasIncompleteTasks() bool
- func (x *MemoPayload_Property) GetHasLink() bool
- func (x *MemoPayload_Property) GetHasTaskList() bool
- func (x *MemoPayload_Property) GetTags() []string
- func (*MemoPayload_Property) ProtoMessage()
- func (x *MemoPayload_Property) ProtoReflect() protoreflect.Message
- func (x *MemoPayload_Property) Reset()
- func (x *MemoPayload_Property) String() string
- type OAuth2Config
- func (*OAuth2Config) Descriptor() ([]byte, []int)deprecated
- func (x *OAuth2Config) GetAuthUrl() string
- func (x *OAuth2Config) GetClientId() string
- func (x *OAuth2Config) GetClientSecret() string
- func (x *OAuth2Config) GetFieldMapping() *FieldMapping
- func (x *OAuth2Config) GetScopes() []string
- func (x *OAuth2Config) GetTokenUrl() string
- func (x *OAuth2Config) GetUserInfoUrl() string
- func (*OAuth2Config) ProtoMessage()
- func (x *OAuth2Config) ProtoReflect() protoreflect.Message
- func (x *OAuth2Config) Reset()
- func (x *OAuth2Config) String() string
- type ResourcePayload
- func (*ResourcePayload) Descriptor() ([]byte, []int)deprecated
- func (m *ResourcePayload) GetPayload() isResourcePayload_Payload
- func (x *ResourcePayload) GetS3Object() *ResourcePayload_S3Object
- func (*ResourcePayload) ProtoMessage()
- func (x *ResourcePayload) ProtoReflect() protoreflect.Message
- func (x *ResourcePayload) Reset()
- func (x *ResourcePayload) String() string
- type ResourcePayload_S3Object
- func (*ResourcePayload_S3Object) Descriptor() ([]byte, []int)deprecated
- func (x *ResourcePayload_S3Object) GetKey() string
- func (x *ResourcePayload_S3Object) GetLastPresignedTime() *timestamppb.Timestamp
- func (x *ResourcePayload_S3Object) GetS3Config() *StorageS3Config
- func (*ResourcePayload_S3Object) ProtoMessage()
- func (x *ResourcePayload_S3Object) ProtoReflect() protoreflect.Message
- func (x *ResourcePayload_S3Object) Reset()
- func (x *ResourcePayload_S3Object) String() string
- type ResourcePayload_S3Object_
- type ResourceStorageType
- func (ResourceStorageType) Descriptor() protoreflect.EnumDescriptor
- func (x ResourceStorageType) Enum() *ResourceStorageType
- func (ResourceStorageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResourceStorageType) Number() protoreflect.EnumNumber
- func (x ResourceStorageType) String() string
- func (ResourceStorageType) Type() protoreflect.EnumType
- type StorageS3Config
- func (*StorageS3Config) Descriptor() ([]byte, []int)deprecated
- func (x *StorageS3Config) GetAccessKeyId() string
- func (x *StorageS3Config) GetAccessKeySecret() string
- func (x *StorageS3Config) GetBucket() string
- func (x *StorageS3Config) GetEndpoint() string
- func (x *StorageS3Config) GetRegion() string
- func (*StorageS3Config) ProtoMessage()
- func (x *StorageS3Config) ProtoReflect() protoreflect.Message
- func (x *StorageS3Config) Reset()
- func (x *StorageS3Config) String() string
- type UserSetting
- func (*UserSetting) Descriptor() ([]byte, []int)deprecated
- func (x *UserSetting) GetAccessTokens() *AccessTokensUserSetting
- func (x *UserSetting) GetAppearance() string
- func (x *UserSetting) GetKey() UserSettingKey
- func (x *UserSetting) GetLocale() string
- func (x *UserSetting) GetMemoVisibility() string
- func (x *UserSetting) GetUserId() int32
- func (m *UserSetting) GetValue() isUserSetting_Value
- func (*UserSetting) ProtoMessage()
- func (x *UserSetting) ProtoReflect() protoreflect.Message
- func (x *UserSetting) Reset()
- func (x *UserSetting) String() string
- type UserSettingKey
- func (UserSettingKey) Descriptor() protoreflect.EnumDescriptor
- func (x UserSettingKey) Enum() *UserSettingKey
- func (UserSettingKey) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserSettingKey) Number() protoreflect.EnumNumber
- func (x UserSettingKey) String() string
- func (UserSettingKey) Type() protoreflect.EnumType
- type UserSetting_AccessTokens
- type UserSetting_Appearance
- type UserSetting_Locale
- type UserSetting_MemoVisibility
- type WorkspaceBasicSetting
- func (*WorkspaceBasicSetting) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceBasicSetting) GetSchemaVersion() string
- func (x *WorkspaceBasicSetting) GetSecretKey() string
- func (*WorkspaceBasicSetting) ProtoMessage()
- func (x *WorkspaceBasicSetting) ProtoReflect() protoreflect.Message
- func (x *WorkspaceBasicSetting) Reset()
- func (x *WorkspaceBasicSetting) String() string
- type WorkspaceCustomProfile
- func (*WorkspaceCustomProfile) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceCustomProfile) GetAppearance() string
- func (x *WorkspaceCustomProfile) GetDescription() string
- func (x *WorkspaceCustomProfile) GetLocale() string
- func (x *WorkspaceCustomProfile) GetLogoUrl() string
- func (x *WorkspaceCustomProfile) GetTitle() string
- func (*WorkspaceCustomProfile) ProtoMessage()
- func (x *WorkspaceCustomProfile) ProtoReflect() protoreflect.Message
- func (x *WorkspaceCustomProfile) Reset()
- func (x *WorkspaceCustomProfile) String() string
- type WorkspaceGeneralSetting
- func (*WorkspaceGeneralSetting) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceGeneralSetting) GetAdditionalScript() string
- func (x *WorkspaceGeneralSetting) GetAdditionalStyle() string
- func (x *WorkspaceGeneralSetting) GetCustomProfile() *WorkspaceCustomProfile
- func (x *WorkspaceGeneralSetting) GetDisallowChangeNickname() bool
- func (x *WorkspaceGeneralSetting) GetDisallowChangeUsername() bool
- func (x *WorkspaceGeneralSetting) GetDisallowPasswordAuth() bool
- func (x *WorkspaceGeneralSetting) GetDisallowUserRegistration() bool
- func (x *WorkspaceGeneralSetting) GetWeekStartDayOffset() int32
- func (*WorkspaceGeneralSetting) ProtoMessage()
- func (x *WorkspaceGeneralSetting) ProtoReflect() protoreflect.Message
- func (x *WorkspaceGeneralSetting) Reset()
- func (x *WorkspaceGeneralSetting) String() string
- type WorkspaceMemoRelatedSetting
- func (*WorkspaceMemoRelatedSetting) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceMemoRelatedSetting) GetContentLengthLimit() int32
- func (x *WorkspaceMemoRelatedSetting) GetDefaultVisibility() string
- func (x *WorkspaceMemoRelatedSetting) GetDisableMarkdownShortcuts() bool
- func (x *WorkspaceMemoRelatedSetting) GetDisallowPublicVisibility() bool
- func (x *WorkspaceMemoRelatedSetting) GetDisplayWithUpdateTime() bool
- func (x *WorkspaceMemoRelatedSetting) GetEnableAutoCompact() bool
- func (x *WorkspaceMemoRelatedSetting) GetEnableComment() bool
- func (x *WorkspaceMemoRelatedSetting) GetEnableDoubleClickEdit() bool
- func (x *WorkspaceMemoRelatedSetting) GetEnableLinkPreview() bool
- func (x *WorkspaceMemoRelatedSetting) GetEnableLocation() bool
- func (x *WorkspaceMemoRelatedSetting) GetReactions() []string
- func (*WorkspaceMemoRelatedSetting) ProtoMessage()
- func (x *WorkspaceMemoRelatedSetting) ProtoReflect() protoreflect.Message
- func (x *WorkspaceMemoRelatedSetting) Reset()
- func (x *WorkspaceMemoRelatedSetting) String() string
- type WorkspaceSetting
- func (*WorkspaceSetting) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceSetting) GetBasicSetting() *WorkspaceBasicSetting
- func (x *WorkspaceSetting) GetGeneralSetting() *WorkspaceGeneralSetting
- func (x *WorkspaceSetting) GetKey() WorkspaceSettingKey
- func (x *WorkspaceSetting) GetMemoRelatedSetting() *WorkspaceMemoRelatedSetting
- func (x *WorkspaceSetting) GetStorageSetting() *WorkspaceStorageSetting
- func (m *WorkspaceSetting) GetValue() isWorkspaceSetting_Value
- func (*WorkspaceSetting) ProtoMessage()
- func (x *WorkspaceSetting) ProtoReflect() protoreflect.Message
- func (x *WorkspaceSetting) Reset()
- func (x *WorkspaceSetting) String() string
- type WorkspaceSettingKey
- func (WorkspaceSettingKey) Descriptor() protoreflect.EnumDescriptor
- func (x WorkspaceSettingKey) Enum() *WorkspaceSettingKey
- func (WorkspaceSettingKey) EnumDescriptor() ([]byte, []int)deprecated
- func (x WorkspaceSettingKey) Number() protoreflect.EnumNumber
- func (x WorkspaceSettingKey) String() string
- func (WorkspaceSettingKey) Type() protoreflect.EnumType
- type WorkspaceSetting_BasicSetting
- type WorkspaceSetting_GeneralSetting
- type WorkspaceSetting_MemoRelatedSetting
- type WorkspaceSetting_StorageSetting
- type WorkspaceStorageSetting
- func (*WorkspaceStorageSetting) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceStorageSetting) GetFilepathTemplate() string
- func (x *WorkspaceStorageSetting) GetS3Config() *StorageS3Config
- func (x *WorkspaceStorageSetting) GetStorageType() WorkspaceStorageSetting_StorageType
- func (x *WorkspaceStorageSetting) GetUploadSizeLimitMb() int64
- func (*WorkspaceStorageSetting) ProtoMessage()
- func (x *WorkspaceStorageSetting) ProtoReflect() protoreflect.Message
- func (x *WorkspaceStorageSetting) Reset()
- func (x *WorkspaceStorageSetting) String() string
- type WorkspaceStorageSetting_StorageType
- func (WorkspaceStorageSetting_StorageType) Descriptor() protoreflect.EnumDescriptor
- func (x WorkspaceStorageSetting_StorageType) Enum() *WorkspaceStorageSetting_StorageType
- func (WorkspaceStorageSetting_StorageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x WorkspaceStorageSetting_StorageType) Number() protoreflect.EnumNumber
- func (x WorkspaceStorageSetting_StorageType) String() string
- func (WorkspaceStorageSetting_StorageType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( IdentityProvider_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "OAUTH2", } IdentityProvider_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "OAUTH2": 1, } )
Enum value maps for IdentityProvider_Type.
var ( InboxMessage_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "MEMO_COMMENT", 2: "VERSION_UPDATE", } InboxMessage_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "MEMO_COMMENT": 1, "VERSION_UPDATE": 2, } )
Enum value maps for InboxMessage_Type.
var ( ResourceStorageType_name = map[int32]string{ 0: "RESOURCE_STORAGE_TYPE_UNSPECIFIED", 1: "LOCAL", 2: "S3", 3: "EXTERNAL", } ResourceStorageType_value = map[string]int32{ "RESOURCE_STORAGE_TYPE_UNSPECIFIED": 0, "LOCAL": 1, "S3": 2, "EXTERNAL": 3, } )
Enum value maps for ResourceStorageType.
var ( UserSettingKey_name = map[int32]string{ 0: "USER_SETTING_KEY_UNSPECIFIED", 1: "ACCESS_TOKENS", 2: "LOCALE", 3: "APPEARANCE", 4: "MEMO_VISIBILITY", } UserSettingKey_value = map[string]int32{ "USER_SETTING_KEY_UNSPECIFIED": 0, "ACCESS_TOKENS": 1, "LOCALE": 2, "APPEARANCE": 3, "MEMO_VISIBILITY": 4, } )
Enum value maps for UserSettingKey.
var ( WorkspaceSettingKey_name = map[int32]string{ 0: "WORKSPACE_SETTING_KEY_UNSPECIFIED", 1: "BASIC", 2: "GENERAL", 3: "STORAGE", 4: "MEMO_RELATED", } WorkspaceSettingKey_value = map[string]int32{ "WORKSPACE_SETTING_KEY_UNSPECIFIED": 0, "BASIC": 1, "GENERAL": 2, "STORAGE": 3, "MEMO_RELATED": 4, } )
Enum value maps for WorkspaceSettingKey.
var ( WorkspaceStorageSetting_StorageType_name = map[int32]string{ 0: "STORAGE_TYPE_UNSPECIFIED", 1: "DATABASE", 2: "LOCAL", 3: "S3", } WorkspaceStorageSetting_StorageType_value = map[string]int32{ "STORAGE_TYPE_UNSPECIFIED": 0, "DATABASE": 1, "LOCAL": 2, "S3": 3, } )
Enum value maps for WorkspaceStorageSetting_StorageType.
var File_store_activity_proto protoreflect.FileDescriptor
var File_store_idp_proto protoreflect.FileDescriptor
var File_store_inbox_proto protoreflect.FileDescriptor
var File_store_memo_proto protoreflect.FileDescriptor
var File_store_resource_proto protoreflect.FileDescriptor
var File_store_user_setting_proto protoreflect.FileDescriptor
var File_store_workspace_setting_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AccessTokensUserSetting ¶
type AccessTokensUserSetting struct { AccessTokens []*AccessTokensUserSetting_AccessToken `protobuf:"bytes,1,rep,name=access_tokens,json=accessTokens,proto3" json:"access_tokens,omitempty"` // contains filtered or unexported fields }
func (*AccessTokensUserSetting) Descriptor
deprecated
func (*AccessTokensUserSetting) Descriptor() ([]byte, []int)
Deprecated: Use AccessTokensUserSetting.ProtoReflect.Descriptor instead.
func (*AccessTokensUserSetting) GetAccessTokens ¶
func (x *AccessTokensUserSetting) GetAccessTokens() []*AccessTokensUserSetting_AccessToken
func (*AccessTokensUserSetting) ProtoMessage ¶
func (*AccessTokensUserSetting) ProtoMessage()
func (*AccessTokensUserSetting) ProtoReflect ¶
func (x *AccessTokensUserSetting) ProtoReflect() protoreflect.Message
func (*AccessTokensUserSetting) Reset ¶
func (x *AccessTokensUserSetting) Reset()
func (*AccessTokensUserSetting) String ¶
func (x *AccessTokensUserSetting) String() string
type AccessTokensUserSetting_AccessToken ¶
type AccessTokensUserSetting_AccessToken struct { // The access token is a JWT token. // Including expiration time, issuer, etc. AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // A description for the access token. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*AccessTokensUserSetting_AccessToken) Descriptor
deprecated
func (*AccessTokensUserSetting_AccessToken) Descriptor() ([]byte, []int)
Deprecated: Use AccessTokensUserSetting_AccessToken.ProtoReflect.Descriptor instead.
func (*AccessTokensUserSetting_AccessToken) GetAccessToken ¶
func (x *AccessTokensUserSetting_AccessToken) GetAccessToken() string
func (*AccessTokensUserSetting_AccessToken) GetDescription ¶
func (x *AccessTokensUserSetting_AccessToken) GetDescription() string
func (*AccessTokensUserSetting_AccessToken) ProtoMessage ¶
func (*AccessTokensUserSetting_AccessToken) ProtoMessage()
func (*AccessTokensUserSetting_AccessToken) ProtoReflect ¶
func (x *AccessTokensUserSetting_AccessToken) ProtoReflect() protoreflect.Message
func (*AccessTokensUserSetting_AccessToken) Reset ¶
func (x *AccessTokensUserSetting_AccessToken) Reset()
func (*AccessTokensUserSetting_AccessToken) String ¶
func (x *AccessTokensUserSetting_AccessToken) String() string
type ActivityMemoCommentPayload ¶ added in v0.17.0
type ActivityMemoCommentPayload struct { MemoId int32 `protobuf:"varint,1,opt,name=memo_id,json=memoId,proto3" json:"memo_id,omitempty"` RelatedMemoId int32 `protobuf:"varint,2,opt,name=related_memo_id,json=relatedMemoId,proto3" json:"related_memo_id,omitempty"` // contains filtered or unexported fields }
func (*ActivityMemoCommentPayload) Descriptor
deprecated
added in
v0.17.0
func (*ActivityMemoCommentPayload) Descriptor() ([]byte, []int)
Deprecated: Use ActivityMemoCommentPayload.ProtoReflect.Descriptor instead.
func (*ActivityMemoCommentPayload) GetMemoId ¶ added in v0.17.0
func (x *ActivityMemoCommentPayload) GetMemoId() int32
func (*ActivityMemoCommentPayload) GetRelatedMemoId ¶ added in v0.17.0
func (x *ActivityMemoCommentPayload) GetRelatedMemoId() int32
func (*ActivityMemoCommentPayload) ProtoMessage ¶ added in v0.17.0
func (*ActivityMemoCommentPayload) ProtoMessage()
func (*ActivityMemoCommentPayload) ProtoReflect ¶ added in v0.17.0
func (x *ActivityMemoCommentPayload) ProtoReflect() protoreflect.Message
func (*ActivityMemoCommentPayload) Reset ¶ added in v0.17.0
func (x *ActivityMemoCommentPayload) Reset()
func (*ActivityMemoCommentPayload) String ¶ added in v0.17.0
func (x *ActivityMemoCommentPayload) String() string
type ActivityPayload ¶ added in v0.17.0
type ActivityPayload struct { MemoComment *ActivityMemoCommentPayload `protobuf:"bytes,1,opt,name=memo_comment,json=memoComment,proto3" json:"memo_comment,omitempty"` VersionUpdate *ActivityVersionUpdatePayload `protobuf:"bytes,2,opt,name=version_update,json=versionUpdate,proto3" json:"version_update,omitempty"` // contains filtered or unexported fields }
func (*ActivityPayload) Descriptor
deprecated
added in
v0.17.0
func (*ActivityPayload) Descriptor() ([]byte, []int)
Deprecated: Use ActivityPayload.ProtoReflect.Descriptor instead.
func (*ActivityPayload) GetMemoComment ¶ added in v0.17.0
func (x *ActivityPayload) GetMemoComment() *ActivityMemoCommentPayload
func (*ActivityPayload) GetVersionUpdate ¶ added in v0.17.1
func (x *ActivityPayload) GetVersionUpdate() *ActivityVersionUpdatePayload
func (*ActivityPayload) ProtoMessage ¶ added in v0.17.0
func (*ActivityPayload) ProtoMessage()
func (*ActivityPayload) ProtoReflect ¶ added in v0.17.0
func (x *ActivityPayload) ProtoReflect() protoreflect.Message
func (*ActivityPayload) Reset ¶ added in v0.17.0
func (x *ActivityPayload) Reset()
func (*ActivityPayload) String ¶ added in v0.17.0
func (x *ActivityPayload) String() string
type ActivityVersionUpdatePayload ¶ added in v0.17.1
type ActivityVersionUpdatePayload struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*ActivityVersionUpdatePayload) Descriptor
deprecated
added in
v0.17.1
func (*ActivityVersionUpdatePayload) Descriptor() ([]byte, []int)
Deprecated: Use ActivityVersionUpdatePayload.ProtoReflect.Descriptor instead.
func (*ActivityVersionUpdatePayload) GetVersion ¶ added in v0.17.1
func (x *ActivityVersionUpdatePayload) GetVersion() string
func (*ActivityVersionUpdatePayload) ProtoMessage ¶ added in v0.17.1
func (*ActivityVersionUpdatePayload) ProtoMessage()
func (*ActivityVersionUpdatePayload) ProtoReflect ¶ added in v0.17.1
func (x *ActivityVersionUpdatePayload) ProtoReflect() protoreflect.Message
func (*ActivityVersionUpdatePayload) Reset ¶ added in v0.17.1
func (x *ActivityVersionUpdatePayload) Reset()
func (*ActivityVersionUpdatePayload) String ¶ added in v0.17.1
func (x *ActivityVersionUpdatePayload) String() string
type FieldMapping ¶ added in v0.21.1
type FieldMapping struct { Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*FieldMapping) Descriptor
deprecated
added in
v0.21.1
func (*FieldMapping) Descriptor() ([]byte, []int)
Deprecated: Use FieldMapping.ProtoReflect.Descriptor instead.
func (*FieldMapping) GetDisplayName ¶ added in v0.21.1
func (x *FieldMapping) GetDisplayName() string
func (*FieldMapping) GetEmail ¶ added in v0.21.1
func (x *FieldMapping) GetEmail() string
func (*FieldMapping) GetIdentifier ¶ added in v0.21.1
func (x *FieldMapping) GetIdentifier() string
func (*FieldMapping) ProtoMessage ¶ added in v0.21.1
func (*FieldMapping) ProtoMessage()
func (*FieldMapping) ProtoReflect ¶ added in v0.21.1
func (x *FieldMapping) ProtoReflect() protoreflect.Message
func (*FieldMapping) Reset ¶ added in v0.21.1
func (x *FieldMapping) Reset()
func (*FieldMapping) String ¶ added in v0.21.1
func (x *FieldMapping) String() string
type IdentityProvider ¶ added in v0.21.1
type IdentityProvider struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Type IdentityProvider_Type `protobuf:"varint,3,opt,name=type,proto3,enum=memos.store.IdentityProvider_Type" json:"type,omitempty"` IdentifierFilter string `protobuf:"bytes,4,opt,name=identifier_filter,json=identifierFilter,proto3" json:"identifier_filter,omitempty"` Config *IdentityProviderConfig `protobuf:"bytes,5,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*IdentityProvider) Descriptor
deprecated
added in
v0.21.1
func (*IdentityProvider) Descriptor() ([]byte, []int)
Deprecated: Use IdentityProvider.ProtoReflect.Descriptor instead.
func (*IdentityProvider) GetConfig ¶ added in v0.21.1
func (x *IdentityProvider) GetConfig() *IdentityProviderConfig
func (*IdentityProvider) GetId ¶ added in v0.21.1
func (x *IdentityProvider) GetId() int32
func (*IdentityProvider) GetIdentifierFilter ¶ added in v0.21.1
func (x *IdentityProvider) GetIdentifierFilter() string
func (*IdentityProvider) GetName ¶ added in v0.21.1
func (x *IdentityProvider) GetName() string
func (*IdentityProvider) GetType ¶ added in v0.21.1
func (x *IdentityProvider) GetType() IdentityProvider_Type
func (*IdentityProvider) ProtoMessage ¶ added in v0.21.1
func (*IdentityProvider) ProtoMessage()
func (*IdentityProvider) ProtoReflect ¶ added in v0.21.1
func (x *IdentityProvider) ProtoReflect() protoreflect.Message
func (*IdentityProvider) Reset ¶ added in v0.21.1
func (x *IdentityProvider) Reset()
func (*IdentityProvider) String ¶ added in v0.21.1
func (x *IdentityProvider) String() string
type IdentityProviderConfig ¶ added in v0.21.0
type IdentityProviderConfig struct { // Types that are assignable to Config: // // *IdentityProviderConfig_Oauth2Config Config isIdentityProviderConfig_Config `protobuf_oneof:"config"` // contains filtered or unexported fields }
func (*IdentityProviderConfig) Descriptor
deprecated
added in
v0.21.0
func (*IdentityProviderConfig) Descriptor() ([]byte, []int)
Deprecated: Use IdentityProviderConfig.ProtoReflect.Descriptor instead.
func (*IdentityProviderConfig) GetConfig ¶ added in v0.21.0
func (m *IdentityProviderConfig) GetConfig() isIdentityProviderConfig_Config
func (*IdentityProviderConfig) GetOauth2Config ¶ added in v0.21.1
func (x *IdentityProviderConfig) GetOauth2Config() *OAuth2Config
func (*IdentityProviderConfig) ProtoMessage ¶ added in v0.21.0
func (*IdentityProviderConfig) ProtoMessage()
func (*IdentityProviderConfig) ProtoReflect ¶ added in v0.21.0
func (x *IdentityProviderConfig) ProtoReflect() protoreflect.Message
func (*IdentityProviderConfig) Reset ¶ added in v0.21.0
func (x *IdentityProviderConfig) Reset()
func (*IdentityProviderConfig) String ¶ added in v0.21.0
func (x *IdentityProviderConfig) String() string
type IdentityProviderConfig_Oauth2Config ¶ added in v0.21.1
type IdentityProviderConfig_Oauth2Config struct {
Oauth2Config *OAuth2Config `protobuf:"bytes,1,opt,name=oauth2_config,json=oauth2Config,proto3,oneof"`
}
type IdentityProvider_Type ¶ added in v0.21.1
type IdentityProvider_Type int32
const ( IdentityProvider_TYPE_UNSPECIFIED IdentityProvider_Type = 0 IdentityProvider_OAUTH2 IdentityProvider_Type = 1 )
func (IdentityProvider_Type) Descriptor ¶ added in v0.21.1
func (IdentityProvider_Type) Descriptor() protoreflect.EnumDescriptor
func (IdentityProvider_Type) Enum ¶ added in v0.21.1
func (x IdentityProvider_Type) Enum() *IdentityProvider_Type
func (IdentityProvider_Type) EnumDescriptor
deprecated
added in
v0.21.1
func (IdentityProvider_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use IdentityProvider_Type.Descriptor instead.
func (IdentityProvider_Type) Number ¶ added in v0.21.1
func (x IdentityProvider_Type) Number() protoreflect.EnumNumber
func (IdentityProvider_Type) String ¶ added in v0.21.1
func (x IdentityProvider_Type) String() string
func (IdentityProvider_Type) Type ¶ added in v0.21.1
func (IdentityProvider_Type) Type() protoreflect.EnumType
type InboxMessage ¶ added in v0.17.0
type InboxMessage struct { Type InboxMessage_Type `protobuf:"varint,1,opt,name=type,proto3,enum=memos.store.InboxMessage_Type" json:"type,omitempty"` ActivityId *int32 `protobuf:"varint,2,opt,name=activity_id,json=activityId,proto3,oneof" json:"activity_id,omitempty"` // contains filtered or unexported fields }
func (*InboxMessage) Descriptor
deprecated
added in
v0.17.0
func (*InboxMessage) Descriptor() ([]byte, []int)
Deprecated: Use InboxMessage.ProtoReflect.Descriptor instead.
func (*InboxMessage) GetActivityId ¶ added in v0.17.0
func (x *InboxMessage) GetActivityId() int32
func (*InboxMessage) GetType ¶ added in v0.17.0
func (x *InboxMessage) GetType() InboxMessage_Type
func (*InboxMessage) ProtoMessage ¶ added in v0.17.0
func (*InboxMessage) ProtoMessage()
func (*InboxMessage) ProtoReflect ¶ added in v0.17.0
func (x *InboxMessage) ProtoReflect() protoreflect.Message
func (*InboxMessage) Reset ¶ added in v0.17.0
func (x *InboxMessage) Reset()
func (*InboxMessage) String ¶ added in v0.17.0
func (x *InboxMessage) String() string
type InboxMessage_Type ¶ added in v0.17.0
type InboxMessage_Type int32
const ( InboxMessage_TYPE_UNSPECIFIED InboxMessage_Type = 0 InboxMessage_MEMO_COMMENT InboxMessage_Type = 1 InboxMessage_VERSION_UPDATE InboxMessage_Type = 2 )
func (InboxMessage_Type) Descriptor ¶ added in v0.17.0
func (InboxMessage_Type) Descriptor() protoreflect.EnumDescriptor
func (InboxMessage_Type) Enum ¶ added in v0.17.0
func (x InboxMessage_Type) Enum() *InboxMessage_Type
func (InboxMessage_Type) EnumDescriptor
deprecated
added in
v0.17.0
func (InboxMessage_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use InboxMessage_Type.Descriptor instead.
func (InboxMessage_Type) Number ¶ added in v0.17.0
func (x InboxMessage_Type) Number() protoreflect.EnumNumber
func (InboxMessage_Type) String ¶ added in v0.17.0
func (x InboxMessage_Type) String() string
func (InboxMessage_Type) Type ¶ added in v0.17.0
func (InboxMessage_Type) Type() protoreflect.EnumType
type MemoPayload ¶ added in v0.22.0
type MemoPayload struct { Property *MemoPayload_Property `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` Location *MemoPayload_Location `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
func (*MemoPayload) Descriptor
deprecated
added in
v0.22.0
func (*MemoPayload) Descriptor() ([]byte, []int)
Deprecated: Use MemoPayload.ProtoReflect.Descriptor instead.
func (*MemoPayload) GetLocation ¶ added in v0.23.0
func (x *MemoPayload) GetLocation() *MemoPayload_Location
func (*MemoPayload) GetProperty ¶ added in v0.22.0
func (x *MemoPayload) GetProperty() *MemoPayload_Property
func (*MemoPayload) ProtoMessage ¶ added in v0.22.0
func (*MemoPayload) ProtoMessage()
func (*MemoPayload) ProtoReflect ¶ added in v0.22.0
func (x *MemoPayload) ProtoReflect() protoreflect.Message
func (*MemoPayload) Reset ¶ added in v0.22.0
func (x *MemoPayload) Reset()
func (*MemoPayload) String ¶ added in v0.22.0
func (x *MemoPayload) String() string
type MemoPayload_Location ¶ added in v0.23.0
type MemoPayload_Location struct { Placeholder string `protobuf:"bytes,1,opt,name=placeholder,proto3" json:"placeholder,omitempty"` Latitude float64 `protobuf:"fixed64,2,opt,name=latitude,proto3" json:"latitude,omitempty"` Longitude float64 `protobuf:"fixed64,3,opt,name=longitude,proto3" json:"longitude,omitempty"` // contains filtered or unexported fields }
func (*MemoPayload_Location) Descriptor
deprecated
added in
v0.23.0
func (*MemoPayload_Location) Descriptor() ([]byte, []int)
Deprecated: Use MemoPayload_Location.ProtoReflect.Descriptor instead.
func (*MemoPayload_Location) GetLatitude ¶ added in v0.23.0
func (x *MemoPayload_Location) GetLatitude() float64
func (*MemoPayload_Location) GetLongitude ¶ added in v0.23.0
func (x *MemoPayload_Location) GetLongitude() float64
func (*MemoPayload_Location) GetPlaceholder ¶ added in v0.23.0
func (x *MemoPayload_Location) GetPlaceholder() string
func (*MemoPayload_Location) ProtoMessage ¶ added in v0.23.0
func (*MemoPayload_Location) ProtoMessage()
func (*MemoPayload_Location) ProtoReflect ¶ added in v0.23.0
func (x *MemoPayload_Location) ProtoReflect() protoreflect.Message
func (*MemoPayload_Location) Reset ¶ added in v0.23.0
func (x *MemoPayload_Location) Reset()
func (*MemoPayload_Location) String ¶ added in v0.23.0
func (x *MemoPayload_Location) String() string
type MemoPayload_Property ¶ added in v0.22.0
type MemoPayload_Property struct { Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` HasLink bool `protobuf:"varint,2,opt,name=has_link,json=hasLink,proto3" json:"has_link,omitempty"` HasTaskList bool `protobuf:"varint,3,opt,name=has_task_list,json=hasTaskList,proto3" json:"has_task_list,omitempty"` HasCode bool `protobuf:"varint,4,opt,name=has_code,json=hasCode,proto3" json:"has_code,omitempty"` HasIncompleteTasks bool `protobuf:"varint,5,opt,name=has_incomplete_tasks,json=hasIncompleteTasks,proto3" json:"has_incomplete_tasks,omitempty"` // contains filtered or unexported fields }
func (*MemoPayload_Property) Descriptor
deprecated
added in
v0.22.0
func (*MemoPayload_Property) Descriptor() ([]byte, []int)
Deprecated: Use MemoPayload_Property.ProtoReflect.Descriptor instead.
func (*MemoPayload_Property) GetHasCode ¶ added in v0.22.1
func (x *MemoPayload_Property) GetHasCode() bool
func (*MemoPayload_Property) GetHasIncompleteTasks ¶ added in v0.22.2
func (x *MemoPayload_Property) GetHasIncompleteTasks() bool
func (*MemoPayload_Property) GetHasLink ¶ added in v0.22.0
func (x *MemoPayload_Property) GetHasLink() bool
func (*MemoPayload_Property) GetHasTaskList ¶ added in v0.22.0
func (x *MemoPayload_Property) GetHasTaskList() bool
func (*MemoPayload_Property) GetTags ¶ added in v0.22.0
func (x *MemoPayload_Property) GetTags() []string
func (*MemoPayload_Property) ProtoMessage ¶ added in v0.22.0
func (*MemoPayload_Property) ProtoMessage()
func (*MemoPayload_Property) ProtoReflect ¶ added in v0.22.0
func (x *MemoPayload_Property) ProtoReflect() protoreflect.Message
func (*MemoPayload_Property) Reset ¶ added in v0.22.0
func (x *MemoPayload_Property) Reset()
func (*MemoPayload_Property) String ¶ added in v0.22.0
func (x *MemoPayload_Property) String() string
type OAuth2Config ¶ added in v0.21.1
type OAuth2Config struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` AuthUrl string `protobuf:"bytes,3,opt,name=auth_url,json=authUrl,proto3" json:"auth_url,omitempty"` TokenUrl string `protobuf:"bytes,4,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"` UserInfoUrl string `protobuf:"bytes,5,opt,name=user_info_url,json=userInfoUrl,proto3" json:"user_info_url,omitempty"` Scopes []string `protobuf:"bytes,6,rep,name=scopes,proto3" json:"scopes,omitempty"` FieldMapping *FieldMapping `protobuf:"bytes,7,opt,name=field_mapping,json=fieldMapping,proto3" json:"field_mapping,omitempty"` // contains filtered or unexported fields }
func (*OAuth2Config) Descriptor
deprecated
added in
v0.21.1
func (*OAuth2Config) Descriptor() ([]byte, []int)
Deprecated: Use OAuth2Config.ProtoReflect.Descriptor instead.
func (*OAuth2Config) GetAuthUrl ¶ added in v0.21.1
func (x *OAuth2Config) GetAuthUrl() string
func (*OAuth2Config) GetClientId ¶ added in v0.21.1
func (x *OAuth2Config) GetClientId() string
func (*OAuth2Config) GetClientSecret ¶ added in v0.21.1
func (x *OAuth2Config) GetClientSecret() string
func (*OAuth2Config) GetFieldMapping ¶ added in v0.21.1
func (x *OAuth2Config) GetFieldMapping() *FieldMapping
func (*OAuth2Config) GetScopes ¶ added in v0.21.1
func (x *OAuth2Config) GetScopes() []string
func (*OAuth2Config) GetTokenUrl ¶ added in v0.21.1
func (x *OAuth2Config) GetTokenUrl() string
func (*OAuth2Config) GetUserInfoUrl ¶ added in v0.21.1
func (x *OAuth2Config) GetUserInfoUrl() string
func (*OAuth2Config) ProtoMessage ¶ added in v0.21.1
func (*OAuth2Config) ProtoMessage()
func (*OAuth2Config) ProtoReflect ¶ added in v0.21.1
func (x *OAuth2Config) ProtoReflect() protoreflect.Message
func (*OAuth2Config) Reset ¶ added in v0.21.1
func (x *OAuth2Config) Reset()
func (*OAuth2Config) String ¶ added in v0.21.1
func (x *OAuth2Config) String() string
type ResourcePayload ¶ added in v0.22.0
type ResourcePayload struct { // Types that are assignable to Payload: // // *ResourcePayload_S3Object_ Payload isResourcePayload_Payload `protobuf_oneof:"payload"` // contains filtered or unexported fields }
func (*ResourcePayload) Descriptor
deprecated
added in
v0.22.0
func (*ResourcePayload) Descriptor() ([]byte, []int)
Deprecated: Use ResourcePayload.ProtoReflect.Descriptor instead.
func (*ResourcePayload) GetPayload ¶ added in v0.22.0
func (m *ResourcePayload) GetPayload() isResourcePayload_Payload
func (*ResourcePayload) GetS3Object ¶ added in v0.22.0
func (x *ResourcePayload) GetS3Object() *ResourcePayload_S3Object
func (*ResourcePayload) ProtoMessage ¶ added in v0.22.0
func (*ResourcePayload) ProtoMessage()
func (*ResourcePayload) ProtoReflect ¶ added in v0.22.0
func (x *ResourcePayload) ProtoReflect() protoreflect.Message
func (*ResourcePayload) Reset ¶ added in v0.22.0
func (x *ResourcePayload) Reset()
func (*ResourcePayload) String ¶ added in v0.22.0
func (x *ResourcePayload) String() string
type ResourcePayload_S3Object ¶ added in v0.22.0
type ResourcePayload_S3Object struct { S3Config *StorageS3Config `protobuf:"bytes,1,opt,name=s3_config,json=s3Config,proto3" json:"s3_config,omitempty"` // key is the S3 object key. Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // last_presigned_time is the last time the object was presigned. // This is used to determine if the presigned URL is still valid. LastPresignedTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_presigned_time,json=lastPresignedTime,proto3" json:"last_presigned_time,omitempty"` // contains filtered or unexported fields }
func (*ResourcePayload_S3Object) Descriptor
deprecated
added in
v0.22.0
func (*ResourcePayload_S3Object) Descriptor() ([]byte, []int)
Deprecated: Use ResourcePayload_S3Object.ProtoReflect.Descriptor instead.
func (*ResourcePayload_S3Object) GetKey ¶ added in v0.22.0
func (x *ResourcePayload_S3Object) GetKey() string
func (*ResourcePayload_S3Object) GetLastPresignedTime ¶ added in v0.22.0
func (x *ResourcePayload_S3Object) GetLastPresignedTime() *timestamppb.Timestamp
func (*ResourcePayload_S3Object) GetS3Config ¶ added in v0.22.0
func (x *ResourcePayload_S3Object) GetS3Config() *StorageS3Config
func (*ResourcePayload_S3Object) ProtoMessage ¶ added in v0.22.0
func (*ResourcePayload_S3Object) ProtoMessage()
func (*ResourcePayload_S3Object) ProtoReflect ¶ added in v0.22.0
func (x *ResourcePayload_S3Object) ProtoReflect() protoreflect.Message
func (*ResourcePayload_S3Object) Reset ¶ added in v0.22.0
func (x *ResourcePayload_S3Object) Reset()
func (*ResourcePayload_S3Object) String ¶ added in v0.22.0
func (x *ResourcePayload_S3Object) String() string
type ResourcePayload_S3Object_ ¶ added in v0.22.0
type ResourcePayload_S3Object_ struct {
S3Object *ResourcePayload_S3Object `protobuf:"bytes,1,opt,name=s3_object,json=s3Object,proto3,oneof"`
}
type ResourceStorageType ¶ added in v0.22.0
type ResourceStorageType int32
const ( ResourceStorageType_RESOURCE_STORAGE_TYPE_UNSPECIFIED ResourceStorageType = 0 ResourceStorageType_LOCAL ResourceStorageType = 1 ResourceStorageType_S3 ResourceStorageType = 2 ResourceStorageType_EXTERNAL ResourceStorageType = 3 )
func (ResourceStorageType) Descriptor ¶ added in v0.22.0
func (ResourceStorageType) Descriptor() protoreflect.EnumDescriptor
func (ResourceStorageType) Enum ¶ added in v0.22.0
func (x ResourceStorageType) Enum() *ResourceStorageType
func (ResourceStorageType) EnumDescriptor
deprecated
added in
v0.22.0
func (ResourceStorageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResourceStorageType.Descriptor instead.
func (ResourceStorageType) Number ¶ added in v0.22.0
func (x ResourceStorageType) Number() protoreflect.EnumNumber
func (ResourceStorageType) String ¶ added in v0.22.0
func (x ResourceStorageType) String() string
func (ResourceStorageType) Type ¶ added in v0.22.0
func (ResourceStorageType) Type() protoreflect.EnumType
type StorageS3Config ¶ added in v0.22.0
type StorageS3Config struct { AccessKeyId string `protobuf:"bytes,1,opt,name=access_key_id,json=accessKeyId,proto3" json:"access_key_id,omitempty"` AccessKeySecret string `protobuf:"bytes,2,opt,name=access_key_secret,json=accessKeySecret,proto3" json:"access_key_secret,omitempty"` Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"` Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` Bucket string `protobuf:"bytes,5,opt,name=bucket,proto3" json:"bucket,omitempty"` // contains filtered or unexported fields }
Reference: https://developers.cloudflare.com/r2/examples/aws/aws-sdk-go/
func (*StorageS3Config) Descriptor
deprecated
added in
v0.22.0
func (*StorageS3Config) Descriptor() ([]byte, []int)
Deprecated: Use StorageS3Config.ProtoReflect.Descriptor instead.
func (*StorageS3Config) GetAccessKeyId ¶ added in v0.22.0
func (x *StorageS3Config) GetAccessKeyId() string
func (*StorageS3Config) GetAccessKeySecret ¶ added in v0.22.0
func (x *StorageS3Config) GetAccessKeySecret() string
func (*StorageS3Config) GetBucket ¶ added in v0.22.0
func (x *StorageS3Config) GetBucket() string
func (*StorageS3Config) GetEndpoint ¶ added in v0.22.0
func (x *StorageS3Config) GetEndpoint() string
func (*StorageS3Config) GetRegion ¶ added in v0.22.0
func (x *StorageS3Config) GetRegion() string
func (*StorageS3Config) ProtoMessage ¶ added in v0.22.0
func (*StorageS3Config) ProtoMessage()
func (*StorageS3Config) ProtoReflect ¶ added in v0.22.0
func (x *StorageS3Config) ProtoReflect() protoreflect.Message
func (*StorageS3Config) Reset ¶ added in v0.22.0
func (x *StorageS3Config) Reset()
func (*StorageS3Config) String ¶ added in v0.22.0
func (x *StorageS3Config) String() string
type UserSetting ¶
type UserSetting struct { UserId int32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Key UserSettingKey `protobuf:"varint,2,opt,name=key,proto3,enum=memos.store.UserSettingKey" json:"key,omitempty"` // Types that are assignable to Value: // // *UserSetting_AccessTokens // *UserSetting_Locale // *UserSetting_Appearance // *UserSetting_MemoVisibility Value isUserSetting_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*UserSetting) Descriptor
deprecated
func (*UserSetting) Descriptor() ([]byte, []int)
Deprecated: Use UserSetting.ProtoReflect.Descriptor instead.
func (*UserSetting) GetAccessTokens ¶
func (x *UserSetting) GetAccessTokens() *AccessTokensUserSetting
func (*UserSetting) GetAppearance ¶ added in v0.18.0
func (x *UserSetting) GetAppearance() string
func (*UserSetting) GetKey ¶
func (x *UserSetting) GetKey() UserSettingKey
func (*UserSetting) GetLocale ¶ added in v0.18.0
func (x *UserSetting) GetLocale() string
func (*UserSetting) GetMemoVisibility ¶ added in v0.18.0
func (x *UserSetting) GetMemoVisibility() string
func (*UserSetting) GetUserId ¶
func (x *UserSetting) GetUserId() int32
func (*UserSetting) GetValue ¶
func (m *UserSetting) GetValue() isUserSetting_Value
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 UserSettingKey ¶
type UserSettingKey int32
const ( UserSettingKey_USER_SETTING_KEY_UNSPECIFIED UserSettingKey = 0 // Access tokens for the user. UserSettingKey_ACCESS_TOKENS UserSettingKey = 1 // The locale of the user. UserSettingKey_LOCALE UserSettingKey = 2 // The appearance of the user. UserSettingKey_APPEARANCE UserSettingKey = 3 // The visibility of the memo. UserSettingKey_MEMO_VISIBILITY UserSettingKey = 4 )
func (UserSettingKey) Descriptor ¶
func (UserSettingKey) Descriptor() protoreflect.EnumDescriptor
func (UserSettingKey) Enum ¶
func (x UserSettingKey) Enum() *UserSettingKey
func (UserSettingKey) EnumDescriptor
deprecated
func (UserSettingKey) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserSettingKey.Descriptor instead.
func (UserSettingKey) Number ¶
func (x UserSettingKey) Number() protoreflect.EnumNumber
func (UserSettingKey) String ¶
func (x UserSettingKey) String() string
func (UserSettingKey) Type ¶
func (UserSettingKey) Type() protoreflect.EnumType
type UserSetting_AccessTokens ¶
type UserSetting_AccessTokens struct {
AccessTokens *AccessTokensUserSetting `protobuf:"bytes,3,opt,name=access_tokens,json=accessTokens,proto3,oneof"`
}
type UserSetting_Appearance ¶ added in v0.18.0
type UserSetting_Appearance struct {
Appearance string `protobuf:"bytes,5,opt,name=appearance,proto3,oneof"`
}
type UserSetting_Locale ¶ added in v0.18.0
type UserSetting_Locale struct {
Locale string `protobuf:"bytes,4,opt,name=locale,proto3,oneof"`
}
type UserSetting_MemoVisibility ¶ added in v0.18.0
type UserSetting_MemoVisibility struct {
MemoVisibility string `protobuf:"bytes,6,opt,name=memo_visibility,json=memoVisibility,proto3,oneof"`
}
type WorkspaceBasicSetting ¶ added in v0.21.1
type WorkspaceBasicSetting struct { // The secret key for workspace. Mainly used for session management. SecretKey string `protobuf:"bytes,1,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"` // The current schema version of database. SchemaVersion string `protobuf:"bytes,2,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"` // contains filtered or unexported fields }
func (*WorkspaceBasicSetting) Descriptor
deprecated
added in
v0.21.1
func (*WorkspaceBasicSetting) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceBasicSetting.ProtoReflect.Descriptor instead.
func (*WorkspaceBasicSetting) GetSchemaVersion ¶ added in v0.23.0
func (x *WorkspaceBasicSetting) GetSchemaVersion() string
func (*WorkspaceBasicSetting) GetSecretKey ¶ added in v0.21.1
func (x *WorkspaceBasicSetting) GetSecretKey() string
func (*WorkspaceBasicSetting) ProtoMessage ¶ added in v0.21.1
func (*WorkspaceBasicSetting) ProtoMessage()
func (*WorkspaceBasicSetting) ProtoReflect ¶ added in v0.21.1
func (x *WorkspaceBasicSetting) ProtoReflect() protoreflect.Message
func (*WorkspaceBasicSetting) Reset ¶ added in v0.21.1
func (x *WorkspaceBasicSetting) Reset()
func (*WorkspaceBasicSetting) String ¶ added in v0.21.1
func (x *WorkspaceBasicSetting) String() string
type WorkspaceCustomProfile ¶ added in v0.21.1
type WorkspaceCustomProfile struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` LogoUrl string `protobuf:"bytes,3,opt,name=logo_url,json=logoUrl,proto3" json:"logo_url,omitempty"` Locale string `protobuf:"bytes,4,opt,name=locale,proto3" json:"locale,omitempty"` Appearance string `protobuf:"bytes,5,opt,name=appearance,proto3" json:"appearance,omitempty"` // contains filtered or unexported fields }
func (*WorkspaceCustomProfile) Descriptor
deprecated
added in
v0.21.1
func (*WorkspaceCustomProfile) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceCustomProfile.ProtoReflect.Descriptor instead.
func (*WorkspaceCustomProfile) GetAppearance ¶ added in v0.21.1
func (x *WorkspaceCustomProfile) GetAppearance() string
func (*WorkspaceCustomProfile) GetDescription ¶ added in v0.21.1
func (x *WorkspaceCustomProfile) GetDescription() string
func (*WorkspaceCustomProfile) GetLocale ¶ added in v0.21.1
func (x *WorkspaceCustomProfile) GetLocale() string
func (*WorkspaceCustomProfile) GetLogoUrl ¶ added in v0.21.1
func (x *WorkspaceCustomProfile) GetLogoUrl() string
func (*WorkspaceCustomProfile) GetTitle ¶ added in v0.21.1
func (x *WorkspaceCustomProfile) GetTitle() string
func (*WorkspaceCustomProfile) ProtoMessage ¶ added in v0.21.1
func (*WorkspaceCustomProfile) ProtoMessage()
func (*WorkspaceCustomProfile) ProtoReflect ¶ added in v0.21.1
func (x *WorkspaceCustomProfile) ProtoReflect() protoreflect.Message
func (*WorkspaceCustomProfile) Reset ¶ added in v0.21.1
func (x *WorkspaceCustomProfile) Reset()
func (*WorkspaceCustomProfile) String ¶ added in v0.21.1
func (x *WorkspaceCustomProfile) String() string
type WorkspaceGeneralSetting ¶ added in v0.19.1
type WorkspaceGeneralSetting struct { // disallow_user_registration disallows user registration. DisallowUserRegistration bool `` /* 136-byte string literal not displayed */ // disallow_password_auth disallows password authentication. DisallowPasswordAuth bool `protobuf:"varint,2,opt,name=disallow_password_auth,json=disallowPasswordAuth,proto3" json:"disallow_password_auth,omitempty"` // additional_script is the additional script. AdditionalScript string `protobuf:"bytes,3,opt,name=additional_script,json=additionalScript,proto3" json:"additional_script,omitempty"` // additional_style is the additional style. AdditionalStyle string `protobuf:"bytes,4,opt,name=additional_style,json=additionalStyle,proto3" json:"additional_style,omitempty"` // custom_profile is the custom profile. CustomProfile *WorkspaceCustomProfile `protobuf:"bytes,5,opt,name=custom_profile,json=customProfile,proto3" json:"custom_profile,omitempty"` // week_start_day_offset is the week start day offset from Sunday. // 0: Sunday, 1: Monday, 2: Tuesday, 3: Wednesday, 4: Thursday, 5: Friday, 6: Saturday // Default is Sunday. WeekStartDayOffset int32 `protobuf:"varint,6,opt,name=week_start_day_offset,json=weekStartDayOffset,proto3" json:"week_start_day_offset,omitempty"` // disallow_change_username disallows changing username. DisallowChangeUsername bool `` /* 130-byte string literal not displayed */ // disallow_change_nickname disallows changing nickname. DisallowChangeNickname bool `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
func (*WorkspaceGeneralSetting) Descriptor
deprecated
added in
v0.19.1
func (*WorkspaceGeneralSetting) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceGeneralSetting.ProtoReflect.Descriptor instead.
func (*WorkspaceGeneralSetting) GetAdditionalScript ¶ added in v0.20.0
func (x *WorkspaceGeneralSetting) GetAdditionalScript() string
func (*WorkspaceGeneralSetting) GetAdditionalStyle ¶ added in v0.20.0
func (x *WorkspaceGeneralSetting) GetAdditionalStyle() string
func (*WorkspaceGeneralSetting) GetCustomProfile ¶ added in v0.21.1
func (x *WorkspaceGeneralSetting) GetCustomProfile() *WorkspaceCustomProfile
func (*WorkspaceGeneralSetting) GetDisallowChangeNickname ¶ added in v0.23.0
func (x *WorkspaceGeneralSetting) GetDisallowChangeNickname() bool
func (*WorkspaceGeneralSetting) GetDisallowChangeUsername ¶ added in v0.23.0
func (x *WorkspaceGeneralSetting) GetDisallowChangeUsername() bool
func (*WorkspaceGeneralSetting) GetDisallowPasswordAuth ¶ added in v0.22.5
func (x *WorkspaceGeneralSetting) GetDisallowPasswordAuth() bool
func (*WorkspaceGeneralSetting) GetDisallowUserRegistration ¶ added in v0.22.5
func (x *WorkspaceGeneralSetting) GetDisallowUserRegistration() bool
func (*WorkspaceGeneralSetting) GetWeekStartDayOffset ¶ added in v0.22.5
func (x *WorkspaceGeneralSetting) GetWeekStartDayOffset() int32
func (*WorkspaceGeneralSetting) ProtoMessage ¶ added in v0.19.1
func (*WorkspaceGeneralSetting) ProtoMessage()
func (*WorkspaceGeneralSetting) ProtoReflect ¶ added in v0.19.1
func (x *WorkspaceGeneralSetting) ProtoReflect() protoreflect.Message
func (*WorkspaceGeneralSetting) Reset ¶ added in v0.19.1
func (x *WorkspaceGeneralSetting) Reset()
func (*WorkspaceGeneralSetting) String ¶ added in v0.19.1
func (x *WorkspaceGeneralSetting) String() string
type WorkspaceMemoRelatedSetting ¶ added in v0.21.1
type WorkspaceMemoRelatedSetting struct { // disallow_public_visibility disallows set memo as public visibility. DisallowPublicVisibility bool `` /* 136-byte string literal not displayed */ // display_with_update_time orders and displays memo with update time. DisplayWithUpdateTime bool `` /* 129-byte string literal not displayed */ // content_length_limit is the limit of content length. Unit is byte. ContentLengthLimit int32 `protobuf:"varint,3,opt,name=content_length_limit,json=contentLengthLimit,proto3" json:"content_length_limit,omitempty"` // enable_auto_compact enables auto compact for large content. EnableAutoCompact bool `protobuf:"varint,4,opt,name=enable_auto_compact,json=enableAutoCompact,proto3" json:"enable_auto_compact,omitempty"` // enable_double_click_edit enables editing on double click. EnableDoubleClickEdit bool `` /* 129-byte string literal not displayed */ // enable_link_preview enables links preview. EnableLinkPreview bool `protobuf:"varint,6,opt,name=enable_link_preview,json=enableLinkPreview,proto3" json:"enable_link_preview,omitempty"` // enable_comment enables comment. EnableComment bool `protobuf:"varint,7,opt,name=enable_comment,json=enableComment,proto3" json:"enable_comment,omitempty"` // enable_location enables setting location for memo. EnableLocation bool `protobuf:"varint,8,opt,name=enable_location,json=enableLocation,proto3" json:"enable_location,omitempty"` // default_visibility set the global memos default visibility. DefaultVisibility string `protobuf:"bytes,9,opt,name=default_visibility,json=defaultVisibility,proto3" json:"default_visibility,omitempty"` // reactions is the list of reactions. Reactions []string `protobuf:"bytes,10,rep,name=reactions,proto3" json:"reactions,omitempty"` // disable markdown shortcuts DisableMarkdownShortcuts bool `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
func (*WorkspaceMemoRelatedSetting) Descriptor
deprecated
added in
v0.21.1
func (*WorkspaceMemoRelatedSetting) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceMemoRelatedSetting.ProtoReflect.Descriptor instead.
func (*WorkspaceMemoRelatedSetting) GetContentLengthLimit ¶ added in v0.22.0
func (x *WorkspaceMemoRelatedSetting) GetContentLengthLimit() int32
func (*WorkspaceMemoRelatedSetting) GetDefaultVisibility ¶ added in v0.23.0
func (x *WorkspaceMemoRelatedSetting) GetDefaultVisibility() string
func (*WorkspaceMemoRelatedSetting) GetDisableMarkdownShortcuts ¶ added in v0.23.0
func (x *WorkspaceMemoRelatedSetting) GetDisableMarkdownShortcuts() bool
func (*WorkspaceMemoRelatedSetting) GetDisallowPublicVisibility ¶ added in v0.22.3
func (x *WorkspaceMemoRelatedSetting) GetDisallowPublicVisibility() bool
func (*WorkspaceMemoRelatedSetting) GetDisplayWithUpdateTime ¶ added in v0.21.1
func (x *WorkspaceMemoRelatedSetting) GetDisplayWithUpdateTime() bool
func (*WorkspaceMemoRelatedSetting) GetEnableAutoCompact ¶ added in v0.22.1
func (x *WorkspaceMemoRelatedSetting) GetEnableAutoCompact() bool
func (*WorkspaceMemoRelatedSetting) GetEnableComment ¶ added in v0.22.5
func (x *WorkspaceMemoRelatedSetting) GetEnableComment() bool
func (*WorkspaceMemoRelatedSetting) GetEnableDoubleClickEdit ¶ added in v0.22.1
func (x *WorkspaceMemoRelatedSetting) GetEnableDoubleClickEdit() bool
func (*WorkspaceMemoRelatedSetting) GetEnableLinkPreview ¶ added in v0.22.3
func (x *WorkspaceMemoRelatedSetting) GetEnableLinkPreview() bool
func (*WorkspaceMemoRelatedSetting) GetEnableLocation ¶ added in v0.23.0
func (x *WorkspaceMemoRelatedSetting) GetEnableLocation() bool
func (*WorkspaceMemoRelatedSetting) GetReactions ¶ added in v0.23.0
func (x *WorkspaceMemoRelatedSetting) GetReactions() []string
func (*WorkspaceMemoRelatedSetting) ProtoMessage ¶ added in v0.21.1
func (*WorkspaceMemoRelatedSetting) ProtoMessage()
func (*WorkspaceMemoRelatedSetting) ProtoReflect ¶ added in v0.21.1
func (x *WorkspaceMemoRelatedSetting) ProtoReflect() protoreflect.Message
func (*WorkspaceMemoRelatedSetting) Reset ¶ added in v0.21.1
func (x *WorkspaceMemoRelatedSetting) Reset()
func (*WorkspaceMemoRelatedSetting) String ¶ added in v0.21.1
func (x *WorkspaceMemoRelatedSetting) String() string
type WorkspaceSetting ¶ added in v0.20.0
type WorkspaceSetting struct { Key WorkspaceSettingKey `protobuf:"varint,1,opt,name=key,proto3,enum=memos.store.WorkspaceSettingKey" json:"key,omitempty"` // Types that are assignable to Value: // // *WorkspaceSetting_BasicSetting // *WorkspaceSetting_GeneralSetting // *WorkspaceSetting_StorageSetting // *WorkspaceSetting_MemoRelatedSetting Value isWorkspaceSetting_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*WorkspaceSetting) Descriptor
deprecated
added in
v0.20.0
func (*WorkspaceSetting) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceSetting.ProtoReflect.Descriptor instead.
func (*WorkspaceSetting) GetBasicSetting ¶ added in v0.21.1
func (x *WorkspaceSetting) GetBasicSetting() *WorkspaceBasicSetting
func (*WorkspaceSetting) GetGeneralSetting ¶ added in v0.21.1
func (x *WorkspaceSetting) GetGeneralSetting() *WorkspaceGeneralSetting
func (*WorkspaceSetting) GetKey ¶ added in v0.20.0
func (x *WorkspaceSetting) GetKey() WorkspaceSettingKey
func (*WorkspaceSetting) GetMemoRelatedSetting ¶ added in v0.21.1
func (x *WorkspaceSetting) GetMemoRelatedSetting() *WorkspaceMemoRelatedSetting
func (*WorkspaceSetting) GetStorageSetting ¶ added in v0.21.1
func (x *WorkspaceSetting) GetStorageSetting() *WorkspaceStorageSetting
func (*WorkspaceSetting) GetValue ¶ added in v0.20.0
func (m *WorkspaceSetting) GetValue() isWorkspaceSetting_Value
func (*WorkspaceSetting) ProtoMessage ¶ added in v0.20.0
func (*WorkspaceSetting) ProtoMessage()
func (*WorkspaceSetting) ProtoReflect ¶ added in v0.20.0
func (x *WorkspaceSetting) ProtoReflect() protoreflect.Message
func (*WorkspaceSetting) Reset ¶ added in v0.20.0
func (x *WorkspaceSetting) Reset()
func (*WorkspaceSetting) String ¶ added in v0.20.0
func (x *WorkspaceSetting) String() string
type WorkspaceSettingKey ¶ added in v0.18.2
type WorkspaceSettingKey int32
const ( WorkspaceSettingKey_WORKSPACE_SETTING_KEY_UNSPECIFIED WorkspaceSettingKey = 0 // BASIC is the key for basic settings. WorkspaceSettingKey_BASIC WorkspaceSettingKey = 1 // GENERAL is the key for general settings. WorkspaceSettingKey_GENERAL WorkspaceSettingKey = 2 // STORAGE is the key for storage settings. WorkspaceSettingKey_STORAGE WorkspaceSettingKey = 3 // MEMO_RELATED is the key for memo related settings. WorkspaceSettingKey_MEMO_RELATED WorkspaceSettingKey = 4 )
func (WorkspaceSettingKey) Descriptor ¶ added in v0.18.2
func (WorkspaceSettingKey) Descriptor() protoreflect.EnumDescriptor
func (WorkspaceSettingKey) Enum ¶ added in v0.18.2
func (x WorkspaceSettingKey) Enum() *WorkspaceSettingKey
func (WorkspaceSettingKey) EnumDescriptor
deprecated
added in
v0.18.2
func (WorkspaceSettingKey) EnumDescriptor() ([]byte, []int)
Deprecated: Use WorkspaceSettingKey.Descriptor instead.
func (WorkspaceSettingKey) Number ¶ added in v0.18.2
func (x WorkspaceSettingKey) Number() protoreflect.EnumNumber
func (WorkspaceSettingKey) String ¶ added in v0.18.2
func (x WorkspaceSettingKey) String() string
func (WorkspaceSettingKey) Type ¶ added in v0.18.2
func (WorkspaceSettingKey) Type() protoreflect.EnumType
type WorkspaceSetting_BasicSetting ¶ added in v0.21.1
type WorkspaceSetting_BasicSetting struct {
BasicSetting *WorkspaceBasicSetting `protobuf:"bytes,2,opt,name=basic_setting,json=basicSetting,proto3,oneof"`
}
type WorkspaceSetting_GeneralSetting ¶ added in v0.21.1
type WorkspaceSetting_GeneralSetting struct {
GeneralSetting *WorkspaceGeneralSetting `protobuf:"bytes,3,opt,name=general_setting,json=generalSetting,proto3,oneof"`
}
type WorkspaceSetting_MemoRelatedSetting ¶ added in v0.21.1
type WorkspaceSetting_MemoRelatedSetting struct {
MemoRelatedSetting *WorkspaceMemoRelatedSetting `protobuf:"bytes,5,opt,name=memo_related_setting,json=memoRelatedSetting,proto3,oneof"`
}
type WorkspaceSetting_StorageSetting ¶ added in v0.21.1
type WorkspaceSetting_StorageSetting struct {
StorageSetting *WorkspaceStorageSetting `protobuf:"bytes,4,opt,name=storage_setting,json=storageSetting,proto3,oneof"`
}
type WorkspaceStorageSetting ¶ added in v0.21.1
type WorkspaceStorageSetting struct { // storage_type is the storage type. StorageType WorkspaceStorageSetting_StorageType `` /* 148-byte string literal not displayed */ // The template of file path. // e.g. assets/{timestamp}_{filename} FilepathTemplate string `protobuf:"bytes,2,opt,name=filepath_template,json=filepathTemplate,proto3" json:"filepath_template,omitempty"` // The max upload size in megabytes. UploadSizeLimitMb int64 `protobuf:"varint,3,opt,name=upload_size_limit_mb,json=uploadSizeLimitMb,proto3" json:"upload_size_limit_mb,omitempty"` // The S3 config. S3Config *StorageS3Config `protobuf:"bytes,4,opt,name=s3_config,json=s3Config,proto3" json:"s3_config,omitempty"` // contains filtered or unexported fields }
func (*WorkspaceStorageSetting) Descriptor
deprecated
added in
v0.21.1
func (*WorkspaceStorageSetting) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceStorageSetting.ProtoReflect.Descriptor instead.
func (*WorkspaceStorageSetting) GetFilepathTemplate ¶ added in v0.22.0
func (x *WorkspaceStorageSetting) GetFilepathTemplate() string
func (*WorkspaceStorageSetting) GetS3Config ¶ added in v0.22.0
func (x *WorkspaceStorageSetting) GetS3Config() *StorageS3Config
func (*WorkspaceStorageSetting) GetStorageType ¶ added in v0.21.1
func (x *WorkspaceStorageSetting) GetStorageType() WorkspaceStorageSetting_StorageType
func (*WorkspaceStorageSetting) GetUploadSizeLimitMb ¶ added in v0.21.1
func (x *WorkspaceStorageSetting) GetUploadSizeLimitMb() int64
func (*WorkspaceStorageSetting) ProtoMessage ¶ added in v0.21.1
func (*WorkspaceStorageSetting) ProtoMessage()
func (*WorkspaceStorageSetting) ProtoReflect ¶ added in v0.21.1
func (x *WorkspaceStorageSetting) ProtoReflect() protoreflect.Message
func (*WorkspaceStorageSetting) Reset ¶ added in v0.21.1
func (x *WorkspaceStorageSetting) Reset()
func (*WorkspaceStorageSetting) String ¶ added in v0.21.1
func (x *WorkspaceStorageSetting) String() string
type WorkspaceStorageSetting_StorageType ¶ added in v0.21.1
type WorkspaceStorageSetting_StorageType int32
const ( WorkspaceStorageSetting_STORAGE_TYPE_UNSPECIFIED WorkspaceStorageSetting_StorageType = 0 // STORAGE_TYPE_DATABASE is the database storage type. WorkspaceStorageSetting_DATABASE WorkspaceStorageSetting_StorageType = 1 // STORAGE_TYPE_LOCAL is the local storage type. WorkspaceStorageSetting_LOCAL WorkspaceStorageSetting_StorageType = 2 // STORAGE_TYPE_S3 is the S3 storage type. WorkspaceStorageSetting_S3 WorkspaceStorageSetting_StorageType = 3 )
func (WorkspaceStorageSetting_StorageType) Descriptor ¶ added in v0.21.1
func (WorkspaceStorageSetting_StorageType) Descriptor() protoreflect.EnumDescriptor
func (WorkspaceStorageSetting_StorageType) Enum ¶ added in v0.21.1
func (x WorkspaceStorageSetting_StorageType) Enum() *WorkspaceStorageSetting_StorageType
func (WorkspaceStorageSetting_StorageType) EnumDescriptor
deprecated
added in
v0.21.1
func (WorkspaceStorageSetting_StorageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use WorkspaceStorageSetting_StorageType.Descriptor instead.
func (WorkspaceStorageSetting_StorageType) Number ¶ added in v0.21.1
func (x WorkspaceStorageSetting_StorageType) Number() protoreflect.EnumNumber
func (WorkspaceStorageSetting_StorageType) String ¶ added in v0.21.1
func (x WorkspaceStorageSetting_StorageType) String() string
func (WorkspaceStorageSetting_StorageType) Type ¶ added in v0.21.1
func (WorkspaceStorageSetting_StorageType) Type() protoreflect.EnumType