v1

package
v0.80.3 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2026 License: MIT Imports: 9 Imported by: 0

README

Memos API Design

This API design should follow the guidelines and best practices outlined in the Google API Improvement Proposals (AIPs).

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Activity_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "MEMO_COMMENT",
	}
	Activity_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"MEMO_COMMENT":     1,
	}
)

Enum value maps for Activity_Type.

View Source
var (
	Activity_Level_name = map[int32]string{
		0: "LEVEL_UNSPECIFIED",
		1: "INFO",
		2: "WARN",
		3: "ERROR",
	}
	Activity_Level_value = map[string]int32{
		"LEVEL_UNSPECIFIED": 0,
		"INFO":              1,
		"WARN":              2,
		"ERROR":             3,
	}
)

Enum value maps for Activity_Level.

View Source
var (
	ScheduleQueryMode_name = map[int32]string{
		0: "AUTO",
		1: "STANDARD",
		2: "STRICT",
	}
	ScheduleQueryMode_value = map[string]int32{
		"AUTO":     0,
		"STANDARD": 1,
		"STRICT":   2,
	}
)

Enum value maps for ScheduleQueryMode.

View Source
var (
	AgentType_name = map[int32]string{
		0: "AGENT_TYPE_DEFAULT",
		1: "AGENT_TYPE_MEMO",
		2: "AGENT_TYPE_SCHEDULE",
		3: "AGENT_TYPE_AMAZING",
		4: "AGENT_TYPE_CREATIVE",
	}
	AgentType_value = map[string]int32{
		"AGENT_TYPE_DEFAULT":  0,
		"AGENT_TYPE_MEMO":     1,
		"AGENT_TYPE_SCHEDULE": 2,
		"AGENT_TYPE_AMAZING":  3,
		"AGENT_TYPE_CREATIVE": 4,
	}
)

Enum value maps for AgentType.

View Source
var (
	ReviewQuality_name = map[int32]string{
		0: "REVIEW_QUALITY_UNSPECIFIED",
		1: "REVIEW_QUALITY_AGAIN",
		2: "REVIEW_QUALITY_HARD",
		3: "REVIEW_QUALITY_GOOD",
		4: "REVIEW_QUALITY_EASY",
	}
	ReviewQuality_value = map[string]int32{
		"REVIEW_QUALITY_UNSPECIFIED": 0,
		"REVIEW_QUALITY_AGAIN":       1,
		"REVIEW_QUALITY_HARD":        2,
		"REVIEW_QUALITY_GOOD":        3,
		"REVIEW_QUALITY_EASY":        4,
	}
)

Enum value maps for ReviewQuality.

View Source
var (
	State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "NORMAL",
		2: "ARCHIVED",
	}
	State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"NORMAL":            1,
		"ARCHIVED":          2,
	}
)

Enum value maps for State.

View Source
var (
	Direction_name = map[int32]string{
		0: "DIRECTION_UNSPECIFIED",
		1: "ASC",
		2: "DESC",
	}
	Direction_value = map[string]int32{
		"DIRECTION_UNSPECIFIED": 0,
		"ASC":                   1,
		"DESC":                  2,
	}
)

Enum value maps for Direction.

View Source
var (
	IdentityProvider_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "OAUTH2",
	}
	IdentityProvider_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"OAUTH2":           1,
	}
)

Enum value maps for IdentityProvider_Type.

View Source
var (
	InstanceSetting_Key_name = map[int32]string{
		0: "KEY_UNSPECIFIED",
		1: "GENERAL",
		2: "STORAGE",
		3: "MEMO_RELATED",
	}
	InstanceSetting_Key_value = map[string]int32{
		"KEY_UNSPECIFIED": 0,
		"GENERAL":         1,
		"STORAGE":         2,
		"MEMO_RELATED":    3,
	}
)

Enum value maps for InstanceSetting_Key.

View Source
var (
	InstanceSetting_StorageSetting_StorageType_name = map[int32]string{
		0: "STORAGE_TYPE_UNSPECIFIED",
		1: "DATABASE",
		2: "LOCAL",
		3: "S3",
	}
	InstanceSetting_StorageSetting_StorageType_value = map[string]int32{
		"STORAGE_TYPE_UNSPECIFIED": 0,
		"DATABASE":                 1,
		"LOCAL":                    2,
		"S3":                       3,
	}
)

Enum value maps for InstanceSetting_StorageSetting_StorageType.

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

Enum value maps for Visibility.

View Source
var (
	MemoRelation_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "REFERENCE",
		2: "COMMENT",
	}
	MemoRelation_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"REFERENCE":        1,
		"COMMENT":          2,
	}
)

Enum value maps for MemoRelation_Type.

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

Enum value maps for User_Role.

View Source
var (
	UserSetting_Key_name = map[int32]string{
		0: "KEY_UNSPECIFIED",
		1: "GENERAL",
		4: "WEBHOOKS",
	}
	UserSetting_Key_value = map[string]int32{
		"KEY_UNSPECIFIED": 0,
		"GENERAL":         1,
		"WEBHOOKS":        4,
	}
)

Enum value maps for UserSetting_Key.

View Source
var (
	UserNotification_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "UNREAD",
		2: "ARCHIVED",
	}
	UserNotification_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"UNREAD":             1,
		"ARCHIVED":           2,
	}
)

Enum value maps for UserNotification_Status.

View Source
var (
	UserNotification_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "MEMO_COMMENT",
	}
	UserNotification_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"MEMO_COMMENT":     1,
	}
)

Enum value maps for UserNotification_Type.

View Source
var File_api_v1_activity_service_proto protoreflect.FileDescriptor
View Source
var File_api_v1_ai_service_proto protoreflect.FileDescriptor
View Source
var File_api_v1_attachment_service_proto protoreflect.FileDescriptor
View Source
var File_api_v1_auth_service_proto protoreflect.FileDescriptor
View Source
var File_api_v1_common_proto protoreflect.FileDescriptor
View Source
var File_api_v1_idp_service_proto protoreflect.FileDescriptor
View Source
var File_api_v1_instance_service_proto protoreflect.FileDescriptor
View Source
var File_api_v1_memo_service_proto protoreflect.FileDescriptor
View Source
var File_api_v1_schedule_service_proto protoreflect.FileDescriptor
View Source
var File_api_v1_shortcut_service_proto protoreflect.FileDescriptor
View Source
var File_api_v1_user_service_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AIConversation

type AIConversation struct {
	Id           int32        `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Uid          string       `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
	CreatorId    int32        `protobuf:"varint,3,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"`
	Title        string       `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
	ParrotId     AgentType    `protobuf:"varint,5,opt,name=parrot_id,json=parrotId,proto3,enum=memos.api.v1.AgentType" json:"parrot_id,omitempty"`
	Pinned       bool         `protobuf:"varint,6,opt,name=pinned,proto3" json:"pinned,omitempty"`
	CreatedTs    int64        `protobuf:"varint,7,opt,name=created_ts,json=createdTs,proto3" json:"created_ts,omitempty"`
	UpdatedTs    int64        `protobuf:"varint,8,opt,name=updated_ts,json=updatedTs,proto3" json:"updated_ts,omitempty"`
	Messages     []*AIMessage `protobuf:"bytes,9,rep,name=messages,proto3" json:"messages,omitempty"`
	MessageCount int32        `protobuf:"varint,10,opt,name=message_count,json=messageCount,proto3" json:"message_count,omitempty"` // Total message count (excludes SEPARATOR messages)
	// contains filtered or unexported fields
}

AIConversation represents an AI chat session.

func (*AIConversation) Descriptor deprecated

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

Deprecated: Use AIConversation.ProtoReflect.Descriptor instead.

func (*AIConversation) GetCreatedTs

func (x *AIConversation) GetCreatedTs() int64

func (*AIConversation) GetCreatorId

func (x *AIConversation) GetCreatorId() int32

func (*AIConversation) GetId

func (x *AIConversation) GetId() int32

func (*AIConversation) GetMessageCount

func (x *AIConversation) GetMessageCount() int32

func (*AIConversation) GetMessages

func (x *AIConversation) GetMessages() []*AIMessage

func (*AIConversation) GetParrotId

func (x *AIConversation) GetParrotId() AgentType

func (*AIConversation) GetPinned

func (x *AIConversation) GetPinned() bool

func (*AIConversation) GetTitle

func (x *AIConversation) GetTitle() string

func (*AIConversation) GetUid

func (x *AIConversation) GetUid() string

func (*AIConversation) GetUpdatedTs

func (x *AIConversation) GetUpdatedTs() int64

func (*AIConversation) ProtoMessage

func (*AIConversation) ProtoMessage()

func (*AIConversation) ProtoReflect

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

func (*AIConversation) Reset

func (x *AIConversation) Reset()

func (*AIConversation) String

func (x *AIConversation) String() string

type AIMessage

type AIMessage struct {
	Id             int32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Uid            string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
	ConversationId int32  `protobuf:"varint,3,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
	Type           string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` // "MESSAGE" or "SEPARATOR"
	Role           string `protobuf:"bytes,5,opt,name=role,proto3" json:"role,omitempty"` // "USER", "ASSISTANT", or "SYSTEM"
	Content        string `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"`
	Metadata       string `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty"` // JSON string
	CreatedTs      int64  `protobuf:"varint,8,opt,name=created_ts,json=createdTs,proto3" json:"created_ts,omitempty"`
	// contains filtered or unexported fields
}

AIMessage represents a single message in an AI conversation.

func (*AIMessage) Descriptor deprecated

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

Deprecated: Use AIMessage.ProtoReflect.Descriptor instead.

func (*AIMessage) GetContent

func (x *AIMessage) GetContent() string

func (*AIMessage) GetConversationId

func (x *AIMessage) GetConversationId() int32

func (*AIMessage) GetCreatedTs

func (x *AIMessage) GetCreatedTs() int64

func (*AIMessage) GetId

func (x *AIMessage) GetId() int32

func (*AIMessage) GetMetadata

func (x *AIMessage) GetMetadata() string

func (*AIMessage) GetRole

func (x *AIMessage) GetRole() string

func (*AIMessage) GetType

func (x *AIMessage) GetType() string

func (*AIMessage) GetUid

func (x *AIMessage) GetUid() string

func (*AIMessage) ProtoMessage

func (*AIMessage) ProtoMessage()

func (*AIMessage) ProtoReflect

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

func (*AIMessage) Reset

func (x *AIMessage) Reset()

func (*AIMessage) String

func (x *AIMessage) String() string

type Activity

type Activity struct {

	// The name of the activity.
	// Format: activities/{id}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The name of the creator.
	// Format: users/{user}
	Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	// The type of the activity.
	Type Activity_Type `protobuf:"varint,3,opt,name=type,proto3,enum=memos.api.v1.Activity_Type" json:"type,omitempty"`
	// The level of the activity.
	Level Activity_Level `protobuf:"varint,4,opt,name=level,proto3,enum=memos.api.v1.Activity_Level" json:"level,omitempty"`
	// The create time of the activity.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The payload of the activity.
	Payload *ActivityPayload `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*Activity) Descriptor deprecated

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

Deprecated: Use Activity.ProtoReflect.Descriptor instead.

func (*Activity) GetCreateTime

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

func (*Activity) GetCreator

func (x *Activity) GetCreator() string

func (*Activity) GetLevel

func (x *Activity) GetLevel() Activity_Level

func (*Activity) GetName

func (x *Activity) GetName() string

func (*Activity) GetPayload

func (x *Activity) GetPayload() *ActivityPayload

func (*Activity) GetType

func (x *Activity) GetType() Activity_Type

func (*Activity) ProtoMessage

func (*Activity) ProtoMessage()

func (*Activity) ProtoReflect

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

func (*Activity) Reset

func (x *Activity) Reset()

func (*Activity) String

func (x *Activity) String() string

type ActivityMemoCommentPayload

type ActivityMemoCommentPayload struct {

	// The memo name of comment.
	// Format: memos/{memo}
	Memo string `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
	// The name of related memo.
	// Format: memos/{memo}
	RelatedMemo string `protobuf:"bytes,2,opt,name=related_memo,json=relatedMemo,proto3" json:"related_memo,omitempty"`
	// contains filtered or unexported fields
}

ActivityMemoCommentPayload represents the payload of a memo comment activity.

func (*ActivityMemoCommentPayload) Descriptor deprecated

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

Deprecated: Use ActivityMemoCommentPayload.ProtoReflect.Descriptor instead.

func (*ActivityMemoCommentPayload) GetMemo

func (x *ActivityMemoCommentPayload) GetMemo() string

func (*ActivityMemoCommentPayload) GetRelatedMemo

func (x *ActivityMemoCommentPayload) GetRelatedMemo() string

func (*ActivityMemoCommentPayload) ProtoMessage

func (*ActivityMemoCommentPayload) ProtoMessage()

func (*ActivityMemoCommentPayload) ProtoReflect

func (*ActivityMemoCommentPayload) Reset

func (x *ActivityMemoCommentPayload) Reset()

func (*ActivityMemoCommentPayload) String

func (x *ActivityMemoCommentPayload) String() string

type ActivityPayload

type ActivityPayload struct {

	// Types that are valid to be assigned to Payload:
	//
	//	*ActivityPayload_MemoComment
	Payload isActivityPayload_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

func (*ActivityPayload) Descriptor deprecated

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

Deprecated: Use ActivityPayload.ProtoReflect.Descriptor instead.

func (*ActivityPayload) GetMemoComment

func (x *ActivityPayload) GetMemoComment() *ActivityMemoCommentPayload

func (*ActivityPayload) GetPayload

func (x *ActivityPayload) GetPayload() isActivityPayload_Payload

func (*ActivityPayload) ProtoMessage

func (*ActivityPayload) ProtoMessage()

func (*ActivityPayload) ProtoReflect

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

func (*ActivityPayload) Reset

func (x *ActivityPayload) Reset()

func (*ActivityPayload) String

func (x *ActivityPayload) String() string

type ActivityPayload_MemoComment

type ActivityPayload_MemoComment struct {
	// Memo comment activity payload.
	MemoComment *ActivityMemoCommentPayload `protobuf:"bytes,1,opt,name=memo_comment,json=memoComment,proto3,oneof"`
}

type Activity_Level

type Activity_Level int32

Activity levels.

const (
	// Unspecified level.
	Activity_LEVEL_UNSPECIFIED Activity_Level = 0
	// Info level.
	Activity_INFO Activity_Level = 1
	// Warn level.
	Activity_WARN Activity_Level = 2
	// Error level.
	Activity_ERROR Activity_Level = 3
)

func (Activity_Level) Descriptor

func (Activity_Level) Enum

func (x Activity_Level) Enum() *Activity_Level

func (Activity_Level) EnumDescriptor deprecated

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

Deprecated: Use Activity_Level.Descriptor instead.

func (Activity_Level) Number

func (Activity_Level) String

func (x Activity_Level) String() string

func (Activity_Level) Type

type Activity_Type

type Activity_Type int32

Activity types.

const (
	// Unspecified type.
	Activity_TYPE_UNSPECIFIED Activity_Type = 0
	// Memo comment activity.
	Activity_MEMO_COMMENT Activity_Type = 1
)

func (Activity_Type) Descriptor

func (Activity_Type) Enum

func (x Activity_Type) Enum() *Activity_Type

func (Activity_Type) EnumDescriptor deprecated

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

Deprecated: Use Activity_Type.Descriptor instead.

func (Activity_Type) Number

func (Activity_Type) String

func (x Activity_Type) String() string

func (Activity_Type) Type

type AddContextSeparatorRequest

type AddContextSeparatorRequest struct {
	ConversationId int32 `protobuf:"varint,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
	// contains filtered or unexported fields
}

AddContextSeparatorRequest adds a separator marker to a conversation. This marks the point where the conversation context is cleared. Subsequent chat requests will only include messages after this separator.

func (*AddContextSeparatorRequest) Descriptor deprecated

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

Deprecated: Use AddContextSeparatorRequest.ProtoReflect.Descriptor instead.

func (*AddContextSeparatorRequest) GetConversationId

func (x *AddContextSeparatorRequest) GetConversationId() int32

func (*AddContextSeparatorRequest) ProtoMessage

func (*AddContextSeparatorRequest) ProtoMessage()

func (*AddContextSeparatorRequest) ProtoReflect

func (*AddContextSeparatorRequest) Reset

func (x *AddContextSeparatorRequest) Reset()

func (*AddContextSeparatorRequest) String

func (x *AddContextSeparatorRequest) String() string

type AgentType

type AgentType int32

AgentType specifies the type of AI agent to use for the request.

const (
	AgentType_AGENT_TYPE_DEFAULT  AgentType = 0 // Default behavior (existing logic)
	AgentType_AGENT_TYPE_MEMO     AgentType = 1 // 🦜 Memo Parrot - Note assistant
	AgentType_AGENT_TYPE_SCHEDULE AgentType = 2 // 🦜 Schedule Parrot - Schedule assistant
	AgentType_AGENT_TYPE_AMAZING  AgentType = 3 // 🦜 Amazing Parrot - Comprehensive assistant (Milestone 2)
	AgentType_AGENT_TYPE_CREATIVE AgentType = 4 // 🦜 Creative Parrot - Creative assistant (Milestone 4)
)

func (AgentType) Descriptor

func (AgentType) Descriptor() protoreflect.EnumDescriptor

func (AgentType) Enum

func (x AgentType) Enum() *AgentType

func (AgentType) EnumDescriptor deprecated

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

Deprecated: Use AgentType.Descriptor instead.

func (AgentType) Number

func (x AgentType) Number() protoreflect.EnumNumber

func (AgentType) String

func (x AgentType) String() string

func (AgentType) Type

type AlternativeSlot

type AlternativeSlot struct {
	StartTs int64  `protobuf:"varint,1,opt,name=start_ts,json=startTs,proto3" json:"start_ts,omitempty"`
	EndTs   int64  `protobuf:"varint,2,opt,name=end_ts,json=endTs,proto3" json:"end_ts,omitempty"`
	Label   string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` // "同日稍后", "明天同一时间"
	// contains filtered or unexported fields
}

AlternativeSlot represents an available time slot.

func (*AlternativeSlot) Descriptor deprecated

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

Deprecated: Use AlternativeSlot.ProtoReflect.Descriptor instead.

func (*AlternativeSlot) GetEndTs

func (x *AlternativeSlot) GetEndTs() int64

func (*AlternativeSlot) GetLabel

func (x *AlternativeSlot) GetLabel() string

func (*AlternativeSlot) GetStartTs

func (x *AlternativeSlot) GetStartTs() int64

func (*AlternativeSlot) ProtoMessage

func (*AlternativeSlot) ProtoMessage()

func (*AlternativeSlot) ProtoReflect

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

func (*AlternativeSlot) Reset

func (x *AlternativeSlot) Reset()

func (*AlternativeSlot) String

func (x *AlternativeSlot) String() string

type Attachment

type Attachment struct {

	// The name of the attachment.
	// Format: attachments/{attachment}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The creation timestamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The filename of the attachment.
	Filename string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"`
	// Input only. The content of the attachment.
	Content []byte `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
	// Optional. The external link of the attachment.
	ExternalLink string `protobuf:"bytes,5,opt,name=external_link,json=externalLink,proto3" json:"external_link,omitempty"`
	// The MIME type of the attachment.
	Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"`
	// Output only. The size of the attachment in bytes.
	Size int64 `protobuf:"varint,7,opt,name=size,proto3" json:"size,omitempty"`
	// Optional. The related memo. Refer to `Memo.name`.
	// Format: memos/{memo}
	Memo *string `protobuf:"bytes,8,opt,name=memo,proto3,oneof" json:"memo,omitempty"`
	// contains filtered or unexported fields
}

func (*Attachment) Descriptor deprecated

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

Deprecated: Use Attachment.ProtoReflect.Descriptor instead.

func (*Attachment) GetContent

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

func (*Attachment) GetCreateTime

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

func (*Attachment) GetFilename

func (x *Attachment) GetFilename() string

func (*Attachment) GetMemo

func (x *Attachment) GetMemo() string

func (*Attachment) GetName

func (x *Attachment) GetName() string

func (*Attachment) GetSize

func (x *Attachment) GetSize() int64

func (*Attachment) GetType

func (x *Attachment) GetType() string

func (*Attachment) ProtoMessage

func (*Attachment) ProtoMessage()

func (*Attachment) ProtoReflect

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

func (*Attachment) Reset

func (x *Attachment) Reset()

func (*Attachment) String

func (x *Attachment) String() string

type BatchCreateSchedulesRequest

type BatchCreateSchedulesRequest struct {

	// Batch schedule info from parsing
	Info *BatchScheduleInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	// Whether to skip conflict checking
	SkipConflictCheck bool `protobuf:"varint,2,opt,name=skip_conflict_check,json=skipConflictCheck,proto3" json:"skip_conflict_check,omitempty"`
	// contains filtered or unexported fields
}

BatchCreateSchedulesRequest is the request for BatchCreateSchedules.

func (*BatchCreateSchedulesRequest) Descriptor deprecated

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

Deprecated: Use BatchCreateSchedulesRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateSchedulesRequest) GetInfo

func (*BatchCreateSchedulesRequest) GetSkipConflictCheck

func (x *BatchCreateSchedulesRequest) GetSkipConflictCheck() bool

func (*BatchCreateSchedulesRequest) ProtoMessage

func (*BatchCreateSchedulesRequest) ProtoMessage()

func (*BatchCreateSchedulesRequest) ProtoReflect

func (*BatchCreateSchedulesRequest) Reset

func (x *BatchCreateSchedulesRequest) Reset()

func (*BatchCreateSchedulesRequest) String

func (x *BatchCreateSchedulesRequest) String() string

type BatchCreateSchedulesResponse

type BatchCreateSchedulesResponse struct {

	// Created schedules
	Schedules []*Schedule `protobuf:"bytes,1,rep,name=schedules,proto3" json:"schedules,omitempty"`
	// Number of schedules created
	CreatedCount int32 `protobuf:"varint,2,opt,name=created_count,json=createdCount,proto3" json:"created_count,omitempty"`
	// Schedules that had conflicts (skipped)
	Conflicts []*Schedule `protobuf:"bytes,3,rep,name=conflicts,proto3" json:"conflicts,omitempty"`
	// contains filtered or unexported fields
}

BatchCreateSchedulesResponse is the response for BatchCreateSchedules.

func (*BatchCreateSchedulesResponse) Descriptor deprecated

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

Deprecated: Use BatchCreateSchedulesResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateSchedulesResponse) GetConflicts

func (x *BatchCreateSchedulesResponse) GetConflicts() []*Schedule

func (*BatchCreateSchedulesResponse) GetCreatedCount

func (x *BatchCreateSchedulesResponse) GetCreatedCount() int32

func (*BatchCreateSchedulesResponse) GetSchedules

func (x *BatchCreateSchedulesResponse) GetSchedules() []*Schedule

func (*BatchCreateSchedulesResponse) ProtoMessage

func (*BatchCreateSchedulesResponse) ProtoMessage()

func (*BatchCreateSchedulesResponse) ProtoReflect

func (*BatchCreateSchedulesResponse) Reset

func (x *BatchCreateSchedulesResponse) Reset()

func (*BatchCreateSchedulesResponse) String

type BatchParseScheduleRequest

type BatchParseScheduleRequest struct {

	// Natural language text to parse (e.g., "每周一下午2点例会")
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// Maximum number of preview instances
	PreviewCount int32 `protobuf:"varint,2,opt,name=preview_count,json=previewCount,proto3" json:"preview_count,omitempty"`
	// contains filtered or unexported fields
}

BatchParseScheduleRequest is the request for BatchParseSchedule.

func (*BatchParseScheduleRequest) Descriptor deprecated

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

Deprecated: Use BatchParseScheduleRequest.ProtoReflect.Descriptor instead.

func (*BatchParseScheduleRequest) GetPreviewCount

func (x *BatchParseScheduleRequest) GetPreviewCount() int32

func (*BatchParseScheduleRequest) GetText

func (x *BatchParseScheduleRequest) GetText() string

func (*BatchParseScheduleRequest) ProtoMessage

func (*BatchParseScheduleRequest) ProtoMessage()

func (*BatchParseScheduleRequest) ProtoReflect

func (*BatchParseScheduleRequest) Reset

func (x *BatchParseScheduleRequest) Reset()

func (*BatchParseScheduleRequest) String

func (x *BatchParseScheduleRequest) String() string

type BatchParseScheduleResponse

type BatchParseScheduleResponse struct {

	// Whether the input can be parsed for batch creation
	CanBatchCreate bool `protobuf:"varint,1,opt,name=can_batch_create,json=canBatchCreate,proto3" json:"can_batch_create,omitempty"`
	// Parsed batch schedule info
	Info *BatchScheduleInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	// Preview of schedules to be created
	Preview []*Schedule `protobuf:"bytes,3,rep,name=preview,proto3" json:"preview,omitempty"`
	// Total count of schedules that would be created
	TotalCount int32 `protobuf:"varint,4,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	// Missing required fields
	MissingFields []string `protobuf:"bytes,5,rep,name=missing_fields,json=missingFields,proto3" json:"missing_fields,omitempty"`
	// Parsing confidence (0.0 - 1.0)
	Confidence float64 `protobuf:"fixed64,6,opt,name=confidence,proto3" json:"confidence,omitempty"`
	// contains filtered or unexported fields
}

BatchParseScheduleResponse is the response for BatchParseSchedule.

func (*BatchParseScheduleResponse) Descriptor deprecated

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

Deprecated: Use BatchParseScheduleResponse.ProtoReflect.Descriptor instead.

func (*BatchParseScheduleResponse) GetCanBatchCreate

func (x *BatchParseScheduleResponse) GetCanBatchCreate() bool

func (*BatchParseScheduleResponse) GetConfidence

func (x *BatchParseScheduleResponse) GetConfidence() float64

func (*BatchParseScheduleResponse) GetInfo

func (*BatchParseScheduleResponse) GetMissingFields

func (x *BatchParseScheduleResponse) GetMissingFields() []string

func (*BatchParseScheduleResponse) GetPreview

func (x *BatchParseScheduleResponse) GetPreview() []*Schedule

func (*BatchParseScheduleResponse) GetTotalCount

func (x *BatchParseScheduleResponse) GetTotalCount() int32

func (*BatchParseScheduleResponse) ProtoMessage

func (*BatchParseScheduleResponse) ProtoMessage()

func (*BatchParseScheduleResponse) ProtoReflect

func (*BatchParseScheduleResponse) Reset

func (x *BatchParseScheduleResponse) Reset()

func (*BatchParseScheduleResponse) String

func (x *BatchParseScheduleResponse) String() string

type BatchScheduleInfo

type BatchScheduleInfo struct {
	Title          string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	StartTs        int64  `protobuf:"varint,2,opt,name=start_ts,json=startTs,proto3" json:"start_ts,omitempty"`
	Duration       int32  `protobuf:"varint,3,opt,name=duration,proto3" json:"duration,omitempty"` // Duration in minutes
	Location       string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
	RecurrenceRule string `protobuf:"bytes,5,opt,name=recurrence_rule,json=recurrenceRule,proto3" json:"recurrence_rule,omitempty"` // JSON string of recurrence rule
	EndDateTs      int64  `protobuf:"varint,6,opt,name=end_date_ts,json=endDateTs,proto3" json:"end_date_ts,omitempty"`             // When to stop generating
	Count          int32  `protobuf:"varint,7,opt,name=count,proto3" json:"count,omitempty"`                                        // Max number of instances
	// contains filtered or unexported fields
}

BatchScheduleInfo contains parsed batch schedule information.

func (*BatchScheduleInfo) Descriptor deprecated

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

Deprecated: Use BatchScheduleInfo.ProtoReflect.Descriptor instead.

func (*BatchScheduleInfo) GetCount

func (x *BatchScheduleInfo) GetCount() int32

func (*BatchScheduleInfo) GetDuration

func (x *BatchScheduleInfo) GetDuration() int32

func (*BatchScheduleInfo) GetEndDateTs

func (x *BatchScheduleInfo) GetEndDateTs() int64

func (*BatchScheduleInfo) GetLocation

func (x *BatchScheduleInfo) GetLocation() string

func (*BatchScheduleInfo) GetRecurrenceRule

func (x *BatchScheduleInfo) GetRecurrenceRule() string

func (*BatchScheduleInfo) GetStartTs

func (x *BatchScheduleInfo) GetStartTs() int64

func (*BatchScheduleInfo) GetTitle

func (x *BatchScheduleInfo) GetTitle() string

func (*BatchScheduleInfo) ProtoMessage

func (*BatchScheduleInfo) ProtoMessage()

func (*BatchScheduleInfo) ProtoReflect

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

func (*BatchScheduleInfo) Reset

func (x *BatchScheduleInfo) Reset()

func (*BatchScheduleInfo) String

func (x *BatchScheduleInfo) String() string

type ChatRequest

type ChatRequest struct {
	Message           string            `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	History           []string          `protobuf:"bytes,2,rep,name=history,proto3" json:"history,omitempty"`                               // conversation history
	UserTimezone      string            `protobuf:"bytes,3,opt,name=user_timezone,json=userTimezone,proto3" json:"user_timezone,omitempty"` // User's timezone in IANA format (e.g., "Asia/Shanghai"). Defaults to UTC if not provided.
	ScheduleQueryMode ScheduleQueryMode ``                                                                                                  // Schedule query mode (optional, defaults to AUTO)
	/* 151-byte string literal not displayed */
	AgentType          AgentType `protobuf:"varint,5,opt,name=agent_type,json=agentType,proto3,enum=memos.api.v1.AgentType" json:"agent_type,omitempty"`  // Agent type (optional, defaults to DEFAULT)
	ConversationId     int32     `protobuf:"varint,6,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`               // Conversation ID to persist message to
	IsTempConversation bool      `protobuf:"varint,7,opt,name=is_temp_conversation,json=isTempConversation,proto3" json:"is_temp_conversation,omitempty"` // Whether to create a temporary conversation (true) or fixed conversation (false)
	// contains filtered or unexported fields
}

ChatRequest is the request for Chat.

func (*ChatRequest) Descriptor deprecated

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

Deprecated: Use ChatRequest.ProtoReflect.Descriptor instead.

func (*ChatRequest) GetAgentType

func (x *ChatRequest) GetAgentType() AgentType

func (*ChatRequest) GetConversationId

func (x *ChatRequest) GetConversationId() int32

func (*ChatRequest) GetHistory

func (x *ChatRequest) GetHistory() []string

func (*ChatRequest) GetIsTempConversation

func (x *ChatRequest) GetIsTempConversation() bool

func (*ChatRequest) GetMessage

func (x *ChatRequest) GetMessage() string

func (*ChatRequest) GetScheduleQueryMode

func (x *ChatRequest) GetScheduleQueryMode() ScheduleQueryMode

func (*ChatRequest) GetUserTimezone

func (x *ChatRequest) GetUserTimezone() string

func (*ChatRequest) ProtoMessage

func (*ChatRequest) ProtoMessage()

func (*ChatRequest) ProtoReflect

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

func (*ChatRequest) Reset

func (x *ChatRequest) Reset()

func (*ChatRequest) String

func (x *ChatRequest) String() string

type ChatResponse

type ChatResponse struct {
	Content                string                  `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // streaming content chunk
	Sources                []string                `protobuf:"bytes,2,rep,name=sources,proto3" json:"sources,omitempty"` // citation sources memos/{id}
	Done                   bool                    `protobuf:"varint,3,opt,name=done,proto3" json:"done,omitempty"`      // stream end marker
	ScheduleCreationIntent *ScheduleCreationIntent ``                                                                    // AI-detected schedule creation intent (sent in final chunk)
	/* 129-byte string literal not displayed */
	ScheduleQueryResult *ScheduleQueryResult `protobuf:"bytes,5,opt,name=schedule_query_result,json=scheduleQueryResult,proto3" json:"schedule_query_result,omitempty"` // AI-detected schedule query result (sent in final chunk)
	// Agent event signaling (for schedule agent integration)
	EventType string `protobuf:"bytes,6,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"` // Event type: "thinking", "tool_use", "tool_result", "answer", "error", "schedule_updated"
	EventData string `protobuf:"bytes,7,opt,name=event_data,json=eventData,proto3" json:"event_data,omitempty"` // Event data (JSON or plain text depending on event type)
	// contains filtered or unexported fields
}

ChatResponse is the response for Chat.

func (*ChatResponse) Descriptor deprecated

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

Deprecated: Use ChatResponse.ProtoReflect.Descriptor instead.

func (*ChatResponse) GetContent

func (x *ChatResponse) GetContent() string

func (*ChatResponse) GetDone

func (x *ChatResponse) GetDone() bool

func (*ChatResponse) GetEventData

func (x *ChatResponse) GetEventData() string

func (*ChatResponse) GetEventType

func (x *ChatResponse) GetEventType() string

func (*ChatResponse) GetScheduleCreationIntent

func (x *ChatResponse) GetScheduleCreationIntent() *ScheduleCreationIntent

func (*ChatResponse) GetScheduleQueryResult

func (x *ChatResponse) GetScheduleQueryResult() *ScheduleQueryResult

func (*ChatResponse) GetSources

func (x *ChatResponse) GetSources() []string

func (*ChatResponse) ProtoMessage

func (*ChatResponse) ProtoMessage()

func (*ChatResponse) ProtoReflect

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

func (*ChatResponse) Reset

func (x *ChatResponse) Reset()

func (*ChatResponse) String

func (x *ChatResponse) String() string

type CheckConflictRequest

type CheckConflictRequest struct {
	StartTs      int64    `protobuf:"varint,1,opt,name=start_ts,json=startTs,proto3" json:"start_ts,omitempty"`
	EndTs        int64    `protobuf:"varint,2,opt,name=end_ts,json=endTs,proto3" json:"end_ts,omitempty"`
	ExcludeNames []string `protobuf:"bytes,3,rep,name=exclude_names,json=excludeNames,proto3" json:"exclude_names,omitempty"` // Schedules to exclude from conflict check
	// contains filtered or unexported fields
}

CheckConflictRequest is the request for CheckConflict.

func (*CheckConflictRequest) Descriptor deprecated

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

Deprecated: Use CheckConflictRequest.ProtoReflect.Descriptor instead.

func (*CheckConflictRequest) GetEndTs

func (x *CheckConflictRequest) GetEndTs() int64

func (*CheckConflictRequest) GetExcludeNames

func (x *CheckConflictRequest) GetExcludeNames() []string

func (*CheckConflictRequest) GetStartTs

func (x *CheckConflictRequest) GetStartTs() int64

func (*CheckConflictRequest) ProtoMessage

func (*CheckConflictRequest) ProtoMessage()

func (*CheckConflictRequest) ProtoReflect

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

func (*CheckConflictRequest) Reset

func (x *CheckConflictRequest) Reset()

func (*CheckConflictRequest) String

func (x *CheckConflictRequest) String() string

type CheckConflictResponse

type CheckConflictResponse struct {
	Conflicts []*Schedule `protobuf:"bytes,1,rep,name=conflicts,proto3" json:"conflicts,omitempty"`
	// contains filtered or unexported fields
}

CheckConflictResponse is the response for CheckConflict.

func (*CheckConflictResponse) Descriptor deprecated

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

Deprecated: Use CheckConflictResponse.ProtoReflect.Descriptor instead.

func (*CheckConflictResponse) GetConflicts

func (x *CheckConflictResponse) GetConflicts() []*Schedule

func (*CheckConflictResponse) ProtoMessage

func (*CheckConflictResponse) ProtoMessage()

func (*CheckConflictResponse) ProtoReflect

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

func (*CheckConflictResponse) Reset

func (x *CheckConflictResponse) Reset()

func (*CheckConflictResponse) String

func (x *CheckConflictResponse) String() string

type ClearConversationMessagesRequest

type ClearConversationMessagesRequest struct {
	ConversationId int32 `protobuf:"varint,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
	// contains filtered or unexported fields
}

ClearConversationMessagesRequest is the request for ClearConversationMessages.

func (*ClearConversationMessagesRequest) Descriptor deprecated

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

Deprecated: Use ClearConversationMessagesRequest.ProtoReflect.Descriptor instead.

func (*ClearConversationMessagesRequest) GetConversationId

func (x *ClearConversationMessagesRequest) GetConversationId() int32

func (*ClearConversationMessagesRequest) ProtoMessage

func (*ClearConversationMessagesRequest) ProtoMessage()

func (*ClearConversationMessagesRequest) ProtoReflect

func (*ClearConversationMessagesRequest) Reset

func (*ClearConversationMessagesRequest) String

type CreateAIConversationRequest

type CreateAIConversationRequest struct {
	Title    string    `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	ParrotId AgentType `protobuf:"varint,2,opt,name=parrot_id,json=parrotId,proto3,enum=memos.api.v1.AgentType" json:"parrot_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAIConversationRequest) Descriptor deprecated

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

Deprecated: Use CreateAIConversationRequest.ProtoReflect.Descriptor instead.

func (*CreateAIConversationRequest) GetParrotId

func (x *CreateAIConversationRequest) GetParrotId() AgentType

func (*CreateAIConversationRequest) GetTitle

func (x *CreateAIConversationRequest) GetTitle() string

func (*CreateAIConversationRequest) ProtoMessage

func (*CreateAIConversationRequest) ProtoMessage()

func (*CreateAIConversationRequest) ProtoReflect

func (*CreateAIConversationRequest) Reset

func (x *CreateAIConversationRequest) Reset()

func (*CreateAIConversationRequest) String

func (x *CreateAIConversationRequest) String() string

type CreateAttachmentRequest

type CreateAttachmentRequest struct {

	// Required. The attachment to create.
	Attachment *Attachment `protobuf:"bytes,1,opt,name=attachment,proto3" json:"attachment,omitempty"`
	// Optional. The attachment ID to use for this attachment.
	// If empty, a unique ID will be generated.
	AttachmentId string `protobuf:"bytes,2,opt,name=attachment_id,json=attachmentId,proto3" json:"attachment_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAttachmentRequest) Descriptor deprecated

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

Deprecated: Use CreateAttachmentRequest.ProtoReflect.Descriptor instead.

func (*CreateAttachmentRequest) GetAttachment

func (x *CreateAttachmentRequest) GetAttachment() *Attachment

func (*CreateAttachmentRequest) GetAttachmentId

func (x *CreateAttachmentRequest) GetAttachmentId() string

func (*CreateAttachmentRequest) ProtoMessage

func (*CreateAttachmentRequest) ProtoMessage()

func (*CreateAttachmentRequest) ProtoReflect

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

func (*CreateAttachmentRequest) Reset

func (x *CreateAttachmentRequest) Reset()

func (*CreateAttachmentRequest) String

func (x *CreateAttachmentRequest) String() string

type CreateIdentityProviderRequest

type CreateIdentityProviderRequest struct {

	// Required. The identity provider to create.
	IdentityProvider *IdentityProvider `protobuf:"bytes,1,opt,name=identity_provider,json=identityProvider,proto3" json:"identity_provider,omitempty"`
	// Optional. The ID to use for the identity provider, which will become the final component of the resource name.
	// If not provided, the system will generate one.
	IdentityProviderId string `protobuf:"bytes,2,opt,name=identity_provider_id,json=identityProviderId,proto3" json:"identity_provider_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateIdentityProviderRequest) Descriptor deprecated

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

Deprecated: Use CreateIdentityProviderRequest.ProtoReflect.Descriptor instead.

func (*CreateIdentityProviderRequest) GetIdentityProvider

func (x *CreateIdentityProviderRequest) GetIdentityProvider() *IdentityProvider

func (*CreateIdentityProviderRequest) GetIdentityProviderId

func (x *CreateIdentityProviderRequest) GetIdentityProviderId() string

func (*CreateIdentityProviderRequest) ProtoMessage

func (*CreateIdentityProviderRequest) ProtoMessage()

func (*CreateIdentityProviderRequest) ProtoReflect

func (*CreateIdentityProviderRequest) Reset

func (x *CreateIdentityProviderRequest) Reset()

func (*CreateIdentityProviderRequest) String

type CreateMemoCommentRequest

type CreateMemoCommentRequest struct {

	// Required. The resource name of the memo.
	// Format: memos/{memo}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The comment to create.
	Comment *Memo `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"`
	// Optional. The comment ID to use.
	CommentId string `protobuf:"bytes,3,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateMemoCommentRequest) Descriptor deprecated

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

Deprecated: Use CreateMemoCommentRequest.ProtoReflect.Descriptor instead.

func (*CreateMemoCommentRequest) GetComment

func (x *CreateMemoCommentRequest) GetComment() *Memo

func (*CreateMemoCommentRequest) GetCommentId

func (x *CreateMemoCommentRequest) GetCommentId() string

func (*CreateMemoCommentRequest) GetName

func (x *CreateMemoCommentRequest) GetName() string

func (*CreateMemoCommentRequest) ProtoMessage

func (*CreateMemoCommentRequest) ProtoMessage()

func (*CreateMemoCommentRequest) ProtoReflect

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

func (*CreateMemoCommentRequest) Reset

func (x *CreateMemoCommentRequest) Reset()

func (*CreateMemoCommentRequest) String

func (x *CreateMemoCommentRequest) String() string

type CreateMemoRequest

type CreateMemoRequest struct {

	// Required. The memo to create.
	Memo *Memo `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
	// Optional. The memo ID to use for this memo.
	// If empty, a unique ID will be generated.
	MemoId string `protobuf:"bytes,2,opt,name=memo_id,json=memoId,proto3" json:"memo_id,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) GetMemoId

func (x *CreateMemoRequest) GetMemoId() string

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 CreatePersonalAccessTokenRequest

type CreatePersonalAccessTokenRequest struct {

	// Required. The parent resource where this token will be created.
	// Format: users/{user}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Description of the personal access token.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Optional. Expiration duration in days (0 = never expires).
	ExpiresInDays int32 `protobuf:"varint,3,opt,name=expires_in_days,json=expiresInDays,proto3" json:"expires_in_days,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePersonalAccessTokenRequest) Descriptor deprecated

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

Deprecated: Use CreatePersonalAccessTokenRequest.ProtoReflect.Descriptor instead.

func (*CreatePersonalAccessTokenRequest) GetDescription

func (x *CreatePersonalAccessTokenRequest) GetDescription() string

func (*CreatePersonalAccessTokenRequest) GetExpiresInDays

func (x *CreatePersonalAccessTokenRequest) GetExpiresInDays() int32

func (*CreatePersonalAccessTokenRequest) GetParent

func (*CreatePersonalAccessTokenRequest) ProtoMessage

func (*CreatePersonalAccessTokenRequest) ProtoMessage()

func (*CreatePersonalAccessTokenRequest) ProtoReflect

func (*CreatePersonalAccessTokenRequest) Reset

func (*CreatePersonalAccessTokenRequest) String

type CreatePersonalAccessTokenResponse

type CreatePersonalAccessTokenResponse struct {

	// The personal access token metadata.
	PersonalAccessToken *PersonalAccessToken `protobuf:"bytes,1,opt,name=personal_access_token,json=personalAccessToken,proto3" json:"personal_access_token,omitempty"`
	// The actual token value - only returned on creation.
	// This is the only time the token value will be visible.
	Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePersonalAccessTokenResponse) Descriptor deprecated

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

Deprecated: Use CreatePersonalAccessTokenResponse.ProtoReflect.Descriptor instead.

func (*CreatePersonalAccessTokenResponse) GetPersonalAccessToken

func (x *CreatePersonalAccessTokenResponse) GetPersonalAccessToken() *PersonalAccessToken

func (*CreatePersonalAccessTokenResponse) GetToken

func (*CreatePersonalAccessTokenResponse) ProtoMessage

func (*CreatePersonalAccessTokenResponse) ProtoMessage()

func (*CreatePersonalAccessTokenResponse) ProtoReflect

func (*CreatePersonalAccessTokenResponse) Reset

func (*CreatePersonalAccessTokenResponse) String

type CreateScheduleRequest

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

CreateScheduleRequest is the request for CreateSchedule.

func (*CreateScheduleRequest) Descriptor deprecated

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

Deprecated: Use CreateScheduleRequest.ProtoReflect.Descriptor instead.

func (*CreateScheduleRequest) GetSchedule

func (x *CreateScheduleRequest) GetSchedule() *Schedule

func (*CreateScheduleRequest) ProtoMessage

func (*CreateScheduleRequest) ProtoMessage()

func (*CreateScheduleRequest) ProtoReflect

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

func (*CreateScheduleRequest) Reset

func (x *CreateScheduleRequest) Reset()

func (*CreateScheduleRequest) String

func (x *CreateScheduleRequest) String() string

type CreateShortcutRequest

type CreateShortcutRequest struct {

	// Required. The parent resource where this shortcut will be created.
	// Format: users/{user}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The shortcut to create.
	Shortcut *Shortcut `protobuf:"bytes,2,opt,name=shortcut,proto3" json:"shortcut,omitempty"`
	// Optional. If set, validate the request, but do not actually create the shortcut.
	ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateShortcutRequest) Descriptor deprecated

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

Deprecated: Use CreateShortcutRequest.ProtoReflect.Descriptor instead.

func (*CreateShortcutRequest) GetParent

func (x *CreateShortcutRequest) GetParent() string

func (*CreateShortcutRequest) GetShortcut

func (x *CreateShortcutRequest) GetShortcut() *Shortcut

func (*CreateShortcutRequest) GetValidateOnly

func (x *CreateShortcutRequest) GetValidateOnly() bool

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 CreateUserRequest

type CreateUserRequest struct {

	// Required. The user to create.
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// Optional. The user ID to use for this user.
	// If empty, a unique ID will be generated.
	// Must match the pattern [a-z0-9-]+
	UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// Optional. If set, validate the request but don't actually create the user.
	ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// Optional. An idempotency token that can be used to ensure that multiple
	// requests to create a user have the same result.
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserRequest) Descriptor deprecated

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

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetRequestId

func (x *CreateUserRequest) GetRequestId() string

func (*CreateUserRequest) GetUser

func (x *CreateUserRequest) GetUser() *User

func (*CreateUserRequest) GetUserId

func (x *CreateUserRequest) GetUserId() string

func (*CreateUserRequest) GetValidateOnly

func (x *CreateUserRequest) GetValidateOnly() bool

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 CreateUserWebhookRequest

type CreateUserWebhookRequest struct {

	// The parent user resource.
	// Format: users/{user}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The webhook to create.
	Webhook *UserWebhook `protobuf:"bytes,2,opt,name=webhook,proto3" json:"webhook,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserWebhookRequest) Descriptor deprecated

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

Deprecated: Use CreateUserWebhookRequest.ProtoReflect.Descriptor instead.

func (*CreateUserWebhookRequest) GetParent

func (x *CreateUserWebhookRequest) GetParent() string

func (*CreateUserWebhookRequest) GetWebhook

func (x *CreateUserWebhookRequest) GetWebhook() *UserWebhook

func (*CreateUserWebhookRequest) ProtoMessage

func (*CreateUserWebhookRequest) ProtoMessage()

func (*CreateUserWebhookRequest) ProtoReflect

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

func (*CreateUserWebhookRequest) Reset

func (x *CreateUserWebhookRequest) Reset()

func (*CreateUserWebhookRequest) String

func (x *CreateUserWebhookRequest) String() string

type DeleteAIConversationRequest

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

func (*DeleteAIConversationRequest) Descriptor deprecated

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

Deprecated: Use DeleteAIConversationRequest.ProtoReflect.Descriptor instead.

func (*DeleteAIConversationRequest) GetId

func (*DeleteAIConversationRequest) ProtoMessage

func (*DeleteAIConversationRequest) ProtoMessage()

func (*DeleteAIConversationRequest) ProtoReflect

func (*DeleteAIConversationRequest) Reset

func (x *DeleteAIConversationRequest) Reset()

func (*DeleteAIConversationRequest) String

func (x *DeleteAIConversationRequest) String() string

type DeleteAttachmentRequest

type DeleteAttachmentRequest struct {

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

func (*DeleteAttachmentRequest) Descriptor deprecated

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

Deprecated: Use DeleteAttachmentRequest.ProtoReflect.Descriptor instead.

func (*DeleteAttachmentRequest) GetName

func (x *DeleteAttachmentRequest) GetName() string

func (*DeleteAttachmentRequest) ProtoMessage

func (*DeleteAttachmentRequest) ProtoMessage()

func (*DeleteAttachmentRequest) ProtoReflect

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

func (*DeleteAttachmentRequest) Reset

func (x *DeleteAttachmentRequest) Reset()

func (*DeleteAttachmentRequest) String

func (x *DeleteAttachmentRequest) String() string

type DeleteIdentityProviderRequest

type DeleteIdentityProviderRequest struct {

	// Required. The resource name of the identity provider to delete.
	// Format: identity-providers/{idp}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteIdentityProviderRequest) Descriptor deprecated

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

Deprecated: Use DeleteIdentityProviderRequest.ProtoReflect.Descriptor instead.

func (*DeleteIdentityProviderRequest) GetName

func (*DeleteIdentityProviderRequest) ProtoMessage

func (*DeleteIdentityProviderRequest) ProtoMessage()

func (*DeleteIdentityProviderRequest) ProtoReflect

func (*DeleteIdentityProviderRequest) Reset

func (x *DeleteIdentityProviderRequest) Reset()

func (*DeleteIdentityProviderRequest) String

type DeleteMemoReactionRequest

type DeleteMemoReactionRequest struct {

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

func (*DeleteMemoReactionRequest) Descriptor deprecated

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

Deprecated: Use DeleteMemoReactionRequest.ProtoReflect.Descriptor instead.

func (*DeleteMemoReactionRequest) GetName

func (x *DeleteMemoReactionRequest) GetName() string

func (*DeleteMemoReactionRequest) ProtoMessage

func (*DeleteMemoReactionRequest) ProtoMessage()

func (*DeleteMemoReactionRequest) ProtoReflect

func (*DeleteMemoReactionRequest) Reset

func (x *DeleteMemoReactionRequest) Reset()

func (*DeleteMemoReactionRequest) String

func (x *DeleteMemoReactionRequest) String() string

type DeleteMemoRequest

type DeleteMemoRequest struct {

	// Required. The resource name of the memo to delete.
	// Format: memos/{memo}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. If set to true, the memo will be deleted even if it has associated data.
	Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteMemoRequest) Descriptor deprecated

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

Deprecated: Use DeleteMemoRequest.ProtoReflect.Descriptor instead.

func (*DeleteMemoRequest) GetForce

func (x *DeleteMemoRequest) GetForce() bool

func (*DeleteMemoRequest) GetName

func (x *DeleteMemoRequest) GetName() string

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 DeletePersonalAccessTokenRequest

type DeletePersonalAccessTokenRequest struct {

	// Required. The resource name of the personal access token to delete.
	// Format: users/{user}/personalAccessTokens/{personal_access_token}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePersonalAccessTokenRequest) Descriptor deprecated

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

Deprecated: Use DeletePersonalAccessTokenRequest.ProtoReflect.Descriptor instead.

func (*DeletePersonalAccessTokenRequest) GetName

func (*DeletePersonalAccessTokenRequest) ProtoMessage

func (*DeletePersonalAccessTokenRequest) ProtoMessage()

func (*DeletePersonalAccessTokenRequest) ProtoReflect

func (*DeletePersonalAccessTokenRequest) Reset

func (*DeletePersonalAccessTokenRequest) String

type DeleteScheduleRequest

type DeleteScheduleRequest struct {

	// Format: schedules/{uid}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

DeleteScheduleRequest is the request for DeleteSchedule.

func (*DeleteScheduleRequest) Descriptor deprecated

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

Deprecated: Use DeleteScheduleRequest.ProtoReflect.Descriptor instead.

func (*DeleteScheduleRequest) GetName

func (x *DeleteScheduleRequest) GetName() string

func (*DeleteScheduleRequest) ProtoMessage

func (*DeleteScheduleRequest) ProtoMessage()

func (*DeleteScheduleRequest) ProtoReflect

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

func (*DeleteScheduleRequest) Reset

func (x *DeleteScheduleRequest) Reset()

func (*DeleteScheduleRequest) String

func (x *DeleteScheduleRequest) String() string

type DeleteShortcutRequest

type DeleteShortcutRequest struct {

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

func (*DeleteShortcutRequest) Descriptor deprecated

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

Deprecated: Use DeleteShortcutRequest.ProtoReflect.Descriptor instead.

func (*DeleteShortcutRequest) GetName

func (x *DeleteShortcutRequest) GetName() string

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 DeleteUserNotificationRequest

type DeleteUserNotificationRequest struct {

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

func (*DeleteUserNotificationRequest) Descriptor deprecated

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

Deprecated: Use DeleteUserNotificationRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserNotificationRequest) GetName

func (*DeleteUserNotificationRequest) ProtoMessage

func (*DeleteUserNotificationRequest) ProtoMessage()

func (*DeleteUserNotificationRequest) ProtoReflect

func (*DeleteUserNotificationRequest) Reset

func (x *DeleteUserNotificationRequest) Reset()

func (*DeleteUserNotificationRequest) String

type DeleteUserRequest

type DeleteUserRequest struct {

	// Required. The resource name of the user to delete.
	// Format: users/{user}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. If set to true, the user will be deleted even if they have associated data.
	Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserRequest) Descriptor deprecated

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

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetForce

func (x *DeleteUserRequest) GetForce() bool

func (*DeleteUserRequest) GetName

func (x *DeleteUserRequest) GetName() string

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 DeleteUserWebhookRequest

type DeleteUserWebhookRequest struct {

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

func (*DeleteUserWebhookRequest) Descriptor deprecated

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

Deprecated: Use DeleteUserWebhookRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserWebhookRequest) GetName

func (x *DeleteUserWebhookRequest) GetName() string

func (*DeleteUserWebhookRequest) ProtoMessage

func (*DeleteUserWebhookRequest) ProtoMessage()

func (*DeleteUserWebhookRequest) ProtoReflect

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

func (*DeleteUserWebhookRequest) Reset

func (x *DeleteUserWebhookRequest) Reset()

func (*DeleteUserWebhookRequest) String

func (x *DeleteUserWebhookRequest) String() string

type DetectDuplicatesRequest

type DetectDuplicatesRequest struct {
	Title   string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`            // Memo title (optional)
	Content string   `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`        // Memo content
	Tags    []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"`              // Memo tags (optional)
	TopK    int32    `protobuf:"varint,4,opt,name=top_k,json=topK,proto3" json:"top_k,omitempty"` // Max results to return (default: 5)
	// contains filtered or unexported fields
}

DetectDuplicatesRequest is the request for DetectDuplicates.

func (*DetectDuplicatesRequest) Descriptor deprecated

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

Deprecated: Use DetectDuplicatesRequest.ProtoReflect.Descriptor instead.

func (*DetectDuplicatesRequest) GetContent

func (x *DetectDuplicatesRequest) GetContent() string

func (*DetectDuplicatesRequest) GetTags

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

func (*DetectDuplicatesRequest) GetTitle

func (x *DetectDuplicatesRequest) GetTitle() string

func (*DetectDuplicatesRequest) GetTopK

func (x *DetectDuplicatesRequest) GetTopK() int32

func (*DetectDuplicatesRequest) ProtoMessage

func (*DetectDuplicatesRequest) ProtoMessage()

func (*DetectDuplicatesRequest) ProtoReflect

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

func (*DetectDuplicatesRequest) Reset

func (x *DetectDuplicatesRequest) Reset()

func (*DetectDuplicatesRequest) String

func (x *DetectDuplicatesRequest) String() string

type DetectDuplicatesResponse

type DetectDuplicatesResponse struct {
	HasDuplicate bool           `protobuf:"varint,1,opt,name=has_duplicate,json=hasDuplicate,proto3" json:"has_duplicate,omitempty"` // Whether duplicates were found (>90% similarity)
	HasRelated   bool           `protobuf:"varint,2,opt,name=has_related,json=hasRelated,proto3" json:"has_related,omitempty"`       // Whether related memos were found (70-90% similarity)
	Duplicates   []*SimilarMemo `protobuf:"bytes,3,rep,name=duplicates,proto3" json:"duplicates,omitempty"`                          // Duplicate memos
	Related      []*SimilarMemo `protobuf:"bytes,4,rep,name=related,proto3" json:"related,omitempty"`                                // Related memos
	LatencyMs    int64          `protobuf:"varint,5,opt,name=latency_ms,json=latencyMs,proto3" json:"latency_ms,omitempty"`          // Detection latency in milliseconds
	// contains filtered or unexported fields
}

DetectDuplicatesResponse is the response for DetectDuplicates.

func (*DetectDuplicatesResponse) Descriptor deprecated

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

Deprecated: Use DetectDuplicatesResponse.ProtoReflect.Descriptor instead.

func (*DetectDuplicatesResponse) GetDuplicates

func (x *DetectDuplicatesResponse) GetDuplicates() []*SimilarMemo

func (*DetectDuplicatesResponse) GetHasDuplicate

func (x *DetectDuplicatesResponse) GetHasDuplicate() bool

func (*DetectDuplicatesResponse) GetHasRelated

func (x *DetectDuplicatesResponse) GetHasRelated() bool

func (*DetectDuplicatesResponse) GetLatencyMs

func (x *DetectDuplicatesResponse) GetLatencyMs() int64

func (*DetectDuplicatesResponse) GetRelated

func (x *DetectDuplicatesResponse) GetRelated() []*SimilarMemo

func (*DetectDuplicatesResponse) ProtoMessage

func (*DetectDuplicatesResponse) ProtoMessage()

func (*DetectDuplicatesResponse) ProtoReflect

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

func (*DetectDuplicatesResponse) Reset

func (x *DetectDuplicatesResponse) Reset()

func (*DetectDuplicatesResponse) String

func (x *DetectDuplicatesResponse) String() string

type Direction

type Direction int32
const (
	Direction_DIRECTION_UNSPECIFIED Direction = 0
	Direction_ASC                   Direction = 1
	Direction_DESC                  Direction = 2
)

func (Direction) Descriptor

func (Direction) Descriptor() protoreflect.EnumDescriptor

func (Direction) Enum

func (x Direction) Enum() *Direction

func (Direction) EnumDescriptor deprecated

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

Deprecated: Use Direction.Descriptor instead.

func (Direction) Number

func (x Direction) Number() protoreflect.EnumNumber

func (Direction) String

func (x Direction) String() string

func (Direction) Type

type FieldMapping

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"`
	AvatarUrl   string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldMapping) Descriptor deprecated

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

Deprecated: Use FieldMapping.ProtoReflect.Descriptor instead.

func (*FieldMapping) GetAvatarUrl

func (x *FieldMapping) GetAvatarUrl() string

func (*FieldMapping) GetDisplayName

func (x *FieldMapping) GetDisplayName() string

func (*FieldMapping) GetEmail

func (x *FieldMapping) GetEmail() string

func (*FieldMapping) GetIdentifier

func (x *FieldMapping) GetIdentifier() string

func (*FieldMapping) ProtoMessage

func (*FieldMapping) ProtoMessage()

func (*FieldMapping) ProtoReflect

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

func (*FieldMapping) Reset

func (x *FieldMapping) Reset()

func (*FieldMapping) String

func (x *FieldMapping) String() string

type GetAIConversationRequest

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

func (*GetAIConversationRequest) Descriptor deprecated

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

Deprecated: Use GetAIConversationRequest.ProtoReflect.Descriptor instead.

func (*GetAIConversationRequest) GetId

func (x *GetAIConversationRequest) GetId() int32

func (*GetAIConversationRequest) ProtoMessage

func (*GetAIConversationRequest) ProtoMessage()

func (*GetAIConversationRequest) ProtoReflect

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

func (*GetAIConversationRequest) Reset

func (x *GetAIConversationRequest) Reset()

func (*GetAIConversationRequest) String

func (x *GetAIConversationRequest) String() string

type GetActivityRequest

type GetActivityRequest struct {

	// The name of the activity.
	// Format: activities/{id}, id is the system generated auto-incremented id.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetActivityRequest) Descriptor deprecated

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

Deprecated: Use GetActivityRequest.ProtoReflect.Descriptor instead.

func (*GetActivityRequest) GetName

func (x *GetActivityRequest) GetName() string

func (*GetActivityRequest) ProtoMessage

func (*GetActivityRequest) ProtoMessage()

func (*GetActivityRequest) ProtoReflect

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

func (*GetActivityRequest) Reset

func (x *GetActivityRequest) Reset()

func (*GetActivityRequest) String

func (x *GetActivityRequest) String() string

type GetAttachmentRequest

type GetAttachmentRequest struct {

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

func (*GetAttachmentRequest) Descriptor deprecated

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

Deprecated: Use GetAttachmentRequest.ProtoReflect.Descriptor instead.

func (*GetAttachmentRequest) GetName

func (x *GetAttachmentRequest) GetName() string

func (*GetAttachmentRequest) ProtoMessage

func (*GetAttachmentRequest) ProtoMessage()

func (*GetAttachmentRequest) ProtoReflect

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

func (*GetAttachmentRequest) Reset

func (x *GetAttachmentRequest) Reset()

func (*GetAttachmentRequest) String

func (x *GetAttachmentRequest) String() string

type GetCurrentUserRequest

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

func (*GetCurrentUserRequest) Descriptor deprecated

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

Deprecated: Use GetCurrentUserRequest.ProtoReflect.Descriptor instead.

func (*GetCurrentUserRequest) ProtoMessage

func (*GetCurrentUserRequest) ProtoMessage()

func (*GetCurrentUserRequest) ProtoReflect

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

func (*GetCurrentUserRequest) Reset

func (x *GetCurrentUserRequest) Reset()

func (*GetCurrentUserRequest) String

func (x *GetCurrentUserRequest) String() string

type GetCurrentUserResponse

type GetCurrentUserResponse struct {

	// The authenticated user's information.
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCurrentUserResponse) Descriptor deprecated

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

Deprecated: Use GetCurrentUserResponse.ProtoReflect.Descriptor instead.

func (*GetCurrentUserResponse) GetUser

func (x *GetCurrentUserResponse) GetUser() *User

func (*GetCurrentUserResponse) ProtoMessage

func (*GetCurrentUserResponse) ProtoMessage()

func (*GetCurrentUserResponse) ProtoReflect

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

func (*GetCurrentUserResponse) Reset

func (x *GetCurrentUserResponse) Reset()

func (*GetCurrentUserResponse) String

func (x *GetCurrentUserResponse) String() string

type GetDueReviewsRequest

type GetDueReviewsRequest struct {
	Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` // Max items to return (default: 20)
	// contains filtered or unexported fields
}

GetDueReviewsRequest is the request for GetDueReviews.

func (*GetDueReviewsRequest) Descriptor deprecated

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

Deprecated: Use GetDueReviewsRequest.ProtoReflect.Descriptor instead.

func (*GetDueReviewsRequest) GetLimit

func (x *GetDueReviewsRequest) GetLimit() int32

func (*GetDueReviewsRequest) ProtoMessage

func (*GetDueReviewsRequest) ProtoMessage()

func (*GetDueReviewsRequest) ProtoReflect

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

func (*GetDueReviewsRequest) Reset

func (x *GetDueReviewsRequest) Reset()

func (*GetDueReviewsRequest) String

func (x *GetDueReviewsRequest) String() string

type GetDueReviewsResponse

type GetDueReviewsResponse struct {
	Items    []*ReviewItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	TotalDue int32         `protobuf:"varint,2,opt,name=total_due,json=totalDue,proto3" json:"total_due,omitempty"` // Total items due for review
	// contains filtered or unexported fields
}

GetDueReviewsResponse is the response for GetDueReviews.

func (*GetDueReviewsResponse) Descriptor deprecated

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

Deprecated: Use GetDueReviewsResponse.ProtoReflect.Descriptor instead.

func (*GetDueReviewsResponse) GetItems

func (x *GetDueReviewsResponse) GetItems() []*ReviewItem

func (*GetDueReviewsResponse) GetTotalDue

func (x *GetDueReviewsResponse) GetTotalDue() int32

func (*GetDueReviewsResponse) ProtoMessage

func (*GetDueReviewsResponse) ProtoMessage()

func (*GetDueReviewsResponse) ProtoReflect

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

func (*GetDueReviewsResponse) Reset

func (x *GetDueReviewsResponse) Reset()

func (*GetDueReviewsResponse) String

func (x *GetDueReviewsResponse) String() string

type GetIdentityProviderRequest

type GetIdentityProviderRequest struct {

	// Required. The resource name of the identity provider to get.
	// Format: identity-providers/{idp}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetIdentityProviderRequest) Descriptor deprecated

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

Deprecated: Use GetIdentityProviderRequest.ProtoReflect.Descriptor instead.

func (*GetIdentityProviderRequest) GetName

func (x *GetIdentityProviderRequest) GetName() string

func (*GetIdentityProviderRequest) ProtoMessage

func (*GetIdentityProviderRequest) ProtoMessage()

func (*GetIdentityProviderRequest) ProtoReflect

func (*GetIdentityProviderRequest) Reset

func (x *GetIdentityProviderRequest) Reset()

func (*GetIdentityProviderRequest) String

func (x *GetIdentityProviderRequest) String() string

type GetInstanceProfileRequest

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

Request for instance profile.

func (*GetInstanceProfileRequest) Descriptor deprecated

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

Deprecated: Use GetInstanceProfileRequest.ProtoReflect.Descriptor instead.

func (*GetInstanceProfileRequest) ProtoMessage

func (*GetInstanceProfileRequest) ProtoMessage()

func (*GetInstanceProfileRequest) ProtoReflect

func (*GetInstanceProfileRequest) Reset

func (x *GetInstanceProfileRequest) Reset()

func (*GetInstanceProfileRequest) String

func (x *GetInstanceProfileRequest) String() string

type GetInstanceSettingRequest

type GetInstanceSettingRequest struct {

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

Request message for GetInstanceSetting method.

func (*GetInstanceSettingRequest) Descriptor deprecated

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

Deprecated: Use GetInstanceSettingRequest.ProtoReflect.Descriptor instead.

func (*GetInstanceSettingRequest) GetName

func (x *GetInstanceSettingRequest) GetName() string

func (*GetInstanceSettingRequest) ProtoMessage

func (*GetInstanceSettingRequest) ProtoMessage()

func (*GetInstanceSettingRequest) ProtoReflect

func (*GetInstanceSettingRequest) Reset

func (x *GetInstanceSettingRequest) Reset()

func (*GetInstanceSettingRequest) String

func (x *GetInstanceSettingRequest) String() string

type GetKnowledgeGraphRequest

type GetKnowledgeGraphRequest struct {
	Tags          []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`                                          // Filter by tags (optional)
	MinImportance float64  `protobuf:"fixed64,2,opt,name=min_importance,json=minImportance,proto3" json:"min_importance,omitempty"` // Minimum importance score (optional, 0-1)
	Clusters      []int32  `protobuf:"varint,3,rep,packed,name=clusters,proto3" json:"clusters,omitempty"`                          // Filter by cluster IDs (optional)
	// contains filtered or unexported fields
}

GetKnowledgeGraphRequest is the request for GetKnowledgeGraph.

func (*GetKnowledgeGraphRequest) Descriptor deprecated

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

Deprecated: Use GetKnowledgeGraphRequest.ProtoReflect.Descriptor instead.

func (*GetKnowledgeGraphRequest) GetClusters

func (x *GetKnowledgeGraphRequest) GetClusters() []int32

func (*GetKnowledgeGraphRequest) GetMinImportance

func (x *GetKnowledgeGraphRequest) GetMinImportance() float64

func (*GetKnowledgeGraphRequest) GetTags

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

func (*GetKnowledgeGraphRequest) ProtoMessage

func (*GetKnowledgeGraphRequest) ProtoMessage()

func (*GetKnowledgeGraphRequest) ProtoReflect

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

func (*GetKnowledgeGraphRequest) Reset

func (x *GetKnowledgeGraphRequest) Reset()

func (*GetKnowledgeGraphRequest) String

func (x *GetKnowledgeGraphRequest) String() string

type GetKnowledgeGraphResponse

type GetKnowledgeGraphResponse struct {
	Nodes   []*GraphNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`                     // Graph nodes
	Edges   []*GraphEdge `protobuf:"bytes,2,rep,name=edges,proto3" json:"edges,omitempty"`                     // Graph edges
	Stats   *GraphStats  `protobuf:"bytes,3,opt,name=stats,proto3" json:"stats,omitempty"`                     // Graph statistics
	BuildMs int64        `protobuf:"varint,4,opt,name=build_ms,json=buildMs,proto3" json:"build_ms,omitempty"` // Build latency in milliseconds
	// contains filtered or unexported fields
}

GetKnowledgeGraphResponse is the response for GetKnowledgeGraph.

func (*GetKnowledgeGraphResponse) Descriptor deprecated

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

Deprecated: Use GetKnowledgeGraphResponse.ProtoReflect.Descriptor instead.

func (*GetKnowledgeGraphResponse) GetBuildMs

func (x *GetKnowledgeGraphResponse) GetBuildMs() int64

func (*GetKnowledgeGraphResponse) GetEdges

func (x *GetKnowledgeGraphResponse) GetEdges() []*GraphEdge

func (*GetKnowledgeGraphResponse) GetNodes

func (x *GetKnowledgeGraphResponse) GetNodes() []*GraphNode

func (*GetKnowledgeGraphResponse) GetStats

func (x *GetKnowledgeGraphResponse) GetStats() *GraphStats

func (*GetKnowledgeGraphResponse) ProtoMessage

func (*GetKnowledgeGraphResponse) ProtoMessage()

func (*GetKnowledgeGraphResponse) ProtoReflect

func (*GetKnowledgeGraphResponse) Reset

func (x *GetKnowledgeGraphResponse) Reset()

func (*GetKnowledgeGraphResponse) String

func (x *GetKnowledgeGraphResponse) String() string

type GetMemoRequest

type GetMemoRequest struct {

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

func (*GetMemoRequest) Descriptor deprecated

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

Deprecated: Use GetMemoRequest.ProtoReflect.Descriptor instead.

func (*GetMemoRequest) GetName

func (x *GetMemoRequest) GetName() string

func (*GetMemoRequest) ProtoMessage

func (*GetMemoRequest) ProtoMessage()

func (*GetMemoRequest) ProtoReflect

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

func (*GetMemoRequest) Reset

func (x *GetMemoRequest) Reset()

func (*GetMemoRequest) String

func (x *GetMemoRequest) String() string

type GetParrotSelfCognitionRequest

type GetParrotSelfCognitionRequest struct {
	AgentType AgentType `protobuf:"varint,1,opt,name=agent_type,json=agentType,proto3,enum=memos.api.v1.AgentType" json:"agent_type,omitempty"` // Agent type
	// contains filtered or unexported fields
}

GetParrotSelfCognitionRequest is the request for GetParrotSelfCognition.

func (*GetParrotSelfCognitionRequest) Descriptor deprecated

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

Deprecated: Use GetParrotSelfCognitionRequest.ProtoReflect.Descriptor instead.

func (*GetParrotSelfCognitionRequest) GetAgentType

func (x *GetParrotSelfCognitionRequest) GetAgentType() AgentType

func (*GetParrotSelfCognitionRequest) ProtoMessage

func (*GetParrotSelfCognitionRequest) ProtoMessage()

func (*GetParrotSelfCognitionRequest) ProtoReflect

func (*GetParrotSelfCognitionRequest) Reset

func (x *GetParrotSelfCognitionRequest) Reset()

func (*GetParrotSelfCognitionRequest) String

type GetParrotSelfCognitionResponse

type GetParrotSelfCognitionResponse struct {
	SelfCognition *ParrotSelfCognition `protobuf:"bytes,1,opt,name=self_cognition,json=selfCognition,proto3" json:"self_cognition,omitempty"` // Parrot's metacognitive information
	// contains filtered or unexported fields
}

GetParrotSelfCognitionResponse is the response for GetParrotSelfCognition.

func (*GetParrotSelfCognitionResponse) Descriptor deprecated

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

Deprecated: Use GetParrotSelfCognitionResponse.ProtoReflect.Descriptor instead.

func (*GetParrotSelfCognitionResponse) GetSelfCognition

func (x *GetParrotSelfCognitionResponse) GetSelfCognition() *ParrotSelfCognition

func (*GetParrotSelfCognitionResponse) ProtoMessage

func (*GetParrotSelfCognitionResponse) ProtoMessage()

func (*GetParrotSelfCognitionResponse) ProtoReflect

func (*GetParrotSelfCognitionResponse) Reset

func (x *GetParrotSelfCognitionResponse) Reset()

func (*GetParrotSelfCognitionResponse) String

type GetRelatedMemosRequest

type GetRelatedMemosRequest struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`    // memos/{id}
	Limit int32  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // default: 5
	// contains filtered or unexported fields
}

GetRelatedMemosRequest is the request for GetRelatedMemos.

func (*GetRelatedMemosRequest) Descriptor deprecated

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

Deprecated: Use GetRelatedMemosRequest.ProtoReflect.Descriptor instead.

func (*GetRelatedMemosRequest) GetLimit

func (x *GetRelatedMemosRequest) GetLimit() int32

func (*GetRelatedMemosRequest) GetName

func (x *GetRelatedMemosRequest) GetName() string

func (*GetRelatedMemosRequest) ProtoMessage

func (*GetRelatedMemosRequest) ProtoMessage()

func (*GetRelatedMemosRequest) ProtoReflect

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

func (*GetRelatedMemosRequest) Reset

func (x *GetRelatedMemosRequest) Reset()

func (*GetRelatedMemosRequest) String

func (x *GetRelatedMemosRequest) String() string

type GetRelatedMemosResponse

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

GetRelatedMemosResponse is the response for GetRelatedMemos.

func (*GetRelatedMemosResponse) Descriptor deprecated

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

Deprecated: Use GetRelatedMemosResponse.ProtoReflect.Descriptor instead.

func (*GetRelatedMemosResponse) GetMemos

func (x *GetRelatedMemosResponse) GetMemos() []*SearchResult

func (*GetRelatedMemosResponse) ProtoMessage

func (*GetRelatedMemosResponse) ProtoMessage()

func (*GetRelatedMemosResponse) ProtoReflect

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

func (*GetRelatedMemosResponse) Reset

func (x *GetRelatedMemosResponse) Reset()

func (*GetRelatedMemosResponse) String

func (x *GetRelatedMemosResponse) String() string

type GetReviewStatsRequest

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

GetReviewStatsRequest is the request for GetReviewStats.

func (*GetReviewStatsRequest) Descriptor deprecated

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

Deprecated: Use GetReviewStatsRequest.ProtoReflect.Descriptor instead.

func (*GetReviewStatsRequest) ProtoMessage

func (*GetReviewStatsRequest) ProtoMessage()

func (*GetReviewStatsRequest) ProtoReflect

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

func (*GetReviewStatsRequest) Reset

func (x *GetReviewStatsRequest) Reset()

func (*GetReviewStatsRequest) String

func (x *GetReviewStatsRequest) String() string

type GetReviewStatsResponse

type GetReviewStatsResponse struct {
	TotalMemos      int32 `protobuf:"varint,1,opt,name=total_memos,json=totalMemos,proto3" json:"total_memos,omitempty"`                // Total memos in review system
	DueToday        int32 `protobuf:"varint,2,opt,name=due_today,json=dueToday,proto3" json:"due_today,omitempty"`                      // Memos due for review today
	ReviewedToday   int32 `protobuf:"varint,3,opt,name=reviewed_today,json=reviewedToday,proto3" json:"reviewed_today,omitempty"`       // Memos reviewed today
	NewMemos        int32 `protobuf:"varint,4,opt,name=new_memos,json=newMemos,proto3" json:"new_memos,omitempty"`                      // Memos never reviewed
	MasteredMemos   int32 `protobuf:"varint,5,opt,name=mastered_memos,json=masteredMemos,proto3" json:"mastered_memos,omitempty"`       // Memos with interval > 30 days
	StreakDays      int32 `protobuf:"varint,6,opt,name=streak_days,json=streakDays,proto3" json:"streak_days,omitempty"`                // Consecutive days of review
	TotalReviews    int32 `protobuf:"varint,7,opt,name=total_reviews,json=totalReviews,proto3" json:"total_reviews,omitempty"`          // Total review count
	AverageAccuracy int32 `protobuf:"varint,8,opt,name=average_accuracy,json=averageAccuracy,proto3" json:"average_accuracy,omitempty"` // Average accuracy percentage
	// contains filtered or unexported fields
}

GetReviewStatsResponse is the response for GetReviewStats.

func (*GetReviewStatsResponse) Descriptor deprecated

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

Deprecated: Use GetReviewStatsResponse.ProtoReflect.Descriptor instead.

func (*GetReviewStatsResponse) GetAverageAccuracy

func (x *GetReviewStatsResponse) GetAverageAccuracy() int32

func (*GetReviewStatsResponse) GetDueToday

func (x *GetReviewStatsResponse) GetDueToday() int32

func (*GetReviewStatsResponse) GetMasteredMemos

func (x *GetReviewStatsResponse) GetMasteredMemos() int32

func (*GetReviewStatsResponse) GetNewMemos

func (x *GetReviewStatsResponse) GetNewMemos() int32

func (*GetReviewStatsResponse) GetReviewedToday

func (x *GetReviewStatsResponse) GetReviewedToday() int32

func (*GetReviewStatsResponse) GetStreakDays

func (x *GetReviewStatsResponse) GetStreakDays() int32

func (*GetReviewStatsResponse) GetTotalMemos

func (x *GetReviewStatsResponse) GetTotalMemos() int32

func (*GetReviewStatsResponse) GetTotalReviews

func (x *GetReviewStatsResponse) GetTotalReviews() int32

func (*GetReviewStatsResponse) ProtoMessage

func (*GetReviewStatsResponse) ProtoMessage()

func (*GetReviewStatsResponse) ProtoReflect

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

func (*GetReviewStatsResponse) Reset

func (x *GetReviewStatsResponse) Reset()

func (*GetReviewStatsResponse) String

func (x *GetReviewStatsResponse) String() string

type GetScheduleRequest

type GetScheduleRequest struct {

	// Format: schedules/{uid}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetScheduleRequest is the request for GetSchedule.

func (*GetScheduleRequest) Descriptor deprecated

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

Deprecated: Use GetScheduleRequest.ProtoReflect.Descriptor instead.

func (*GetScheduleRequest) GetName

func (x *GetScheduleRequest) GetName() string

func (*GetScheduleRequest) ProtoMessage

func (*GetScheduleRequest) ProtoMessage()

func (*GetScheduleRequest) ProtoReflect

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

func (*GetScheduleRequest) Reset

func (x *GetScheduleRequest) Reset()

func (*GetScheduleRequest) String

func (x *GetScheduleRequest) String() string

type GetShortcutRequest

type GetShortcutRequest struct {

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

func (*GetShortcutRequest) Descriptor deprecated

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

Deprecated: Use GetShortcutRequest.ProtoReflect.Descriptor instead.

func (*GetShortcutRequest) GetName

func (x *GetShortcutRequest) GetName() string

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 GetUserRequest

type GetUserRequest struct {

	// Required. The resource name of the user.
	// Supports both numeric IDs and username strings:
	//   - users/{id}       (e.g., users/101)
	//   - users/{username} (e.g., users/steven)
	//
	// Format: users/{id_or_username}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. The fields to return in the response.
	// If not specified, all fields are returned.
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserRequest) Descriptor deprecated

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

Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.

func (*GetUserRequest) GetName

func (x *GetUserRequest) GetName() string

func (*GetUserRequest) GetReadMask

func (x *GetUserRequest) GetReadMask() *fieldmaskpb.FieldMask

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 GetUserSettingRequest

type GetUserSettingRequest struct {

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

func (*GetUserSettingRequest) Descriptor deprecated

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

Deprecated: Use GetUserSettingRequest.ProtoReflect.Descriptor instead.

func (*GetUserSettingRequest) GetName

func (x *GetUserSettingRequest) GetName() string

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 GetUserStatsRequest

type GetUserStatsRequest struct {

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

func (*GetUserStatsRequest) Descriptor deprecated

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

Deprecated: Use GetUserStatsRequest.ProtoReflect.Descriptor instead.

func (*GetUserStatsRequest) GetName

func (x *GetUserStatsRequest) GetName() string

func (*GetUserStatsRequest) ProtoMessage

func (*GetUserStatsRequest) ProtoMessage()

func (*GetUserStatsRequest) ProtoReflect

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

func (*GetUserStatsRequest) Reset

func (x *GetUserStatsRequest) Reset()

func (*GetUserStatsRequest) String

func (x *GetUserStatsRequest) String() string

type GraphEdge

type GraphEdge struct {
	Source string  `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`   // Source node ID
	Target string  `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`   // Target node ID
	Type   string  `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`       // Edge type ("link", "tag_co", "semantic")
	Weight float64 `protobuf:"fixed64,4,opt,name=weight,proto3" json:"weight,omitempty"` // Edge weight (0-1)
	// contains filtered or unexported fields
}

GraphEdge represents an edge in the knowledge graph.

func (*GraphEdge) Descriptor deprecated

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

Deprecated: Use GraphEdge.ProtoReflect.Descriptor instead.

func (*GraphEdge) GetSource

func (x *GraphEdge) GetSource() string

func (*GraphEdge) GetTarget

func (x *GraphEdge) GetTarget() string

func (*GraphEdge) GetType

func (x *GraphEdge) GetType() string

func (*GraphEdge) GetWeight

func (x *GraphEdge) GetWeight() float64

func (*GraphEdge) ProtoMessage

func (*GraphEdge) ProtoMessage()

func (*GraphEdge) ProtoReflect

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

func (*GraphEdge) Reset

func (x *GraphEdge) Reset()

func (*GraphEdge) String

func (x *GraphEdge) String() string

type GraphNode

type GraphNode struct {
	Id         string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                 // Node ID (memo UID)
	Label      string   `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`                           // Node label (memo title)
	Type       string   `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`                             // Node type ("memo" or "tag")
	Tags       []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"`                             // Node tags
	Importance float64  `protobuf:"fixed64,5,opt,name=importance,proto3" json:"importance,omitempty"`               // Importance score (0-1, PageRank)
	Cluster    int32    `protobuf:"varint,6,opt,name=cluster,proto3" json:"cluster,omitempty"`                      // Community cluster ID
	CreatedTs  int64    `protobuf:"varint,7,opt,name=created_ts,json=createdTs,proto3" json:"created_ts,omitempty"` // Creation timestamp
	// contains filtered or unexported fields
}

GraphNode represents a node in the knowledge graph.

func (*GraphNode) Descriptor deprecated

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

Deprecated: Use GraphNode.ProtoReflect.Descriptor instead.

func (*GraphNode) GetCluster

func (x *GraphNode) GetCluster() int32

func (*GraphNode) GetCreatedTs

func (x *GraphNode) GetCreatedTs() int64

func (*GraphNode) GetId

func (x *GraphNode) GetId() string

func (*GraphNode) GetImportance

func (x *GraphNode) GetImportance() float64

func (*GraphNode) GetLabel

func (x *GraphNode) GetLabel() string

func (*GraphNode) GetTags

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

func (*GraphNode) GetType

func (x *GraphNode) GetType() string

func (*GraphNode) ProtoMessage

func (*GraphNode) ProtoMessage()

func (*GraphNode) ProtoReflect

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

func (*GraphNode) Reset

func (x *GraphNode) Reset()

func (*GraphNode) String

func (x *GraphNode) String() string

type GraphStats

type GraphStats struct {
	NodeCount     int32 `protobuf:"varint,1,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"`             // Total node count
	EdgeCount     int32 `protobuf:"varint,2,opt,name=edge_count,json=edgeCount,proto3" json:"edge_count,omitempty"`             // Total edge count
	ClusterCount  int32 `protobuf:"varint,3,opt,name=cluster_count,json=clusterCount,proto3" json:"cluster_count,omitempty"`    // Number of communities
	LinkEdges     int32 `protobuf:"varint,4,opt,name=link_edges,json=linkEdges,proto3" json:"link_edges,omitempty"`             // Explicit link edge count
	TagEdges      int32 `protobuf:"varint,5,opt,name=tag_edges,json=tagEdges,proto3" json:"tag_edges,omitempty"`                // Tag co-occurrence edge count
	SemanticEdges int32 `protobuf:"varint,6,opt,name=semantic_edges,json=semanticEdges,proto3" json:"semantic_edges,omitempty"` // Semantic similarity edge count
	// contains filtered or unexported fields
}

GraphStats contains graph statistics.

func (*GraphStats) Descriptor deprecated

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

Deprecated: Use GraphStats.ProtoReflect.Descriptor instead.

func (*GraphStats) GetClusterCount

func (x *GraphStats) GetClusterCount() int32

func (*GraphStats) GetEdgeCount

func (x *GraphStats) GetEdgeCount() int32

func (*GraphStats) GetLinkEdges

func (x *GraphStats) GetLinkEdges() int32

func (*GraphStats) GetNodeCount

func (x *GraphStats) GetNodeCount() int32

func (*GraphStats) GetSemanticEdges

func (x *GraphStats) GetSemanticEdges() int32

func (*GraphStats) GetTagEdges

func (x *GraphStats) GetTagEdges() int32

func (*GraphStats) ProtoMessage

func (*GraphStats) ProtoMessage()

func (*GraphStats) ProtoReflect

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

func (*GraphStats) Reset

func (x *GraphStats) Reset()

func (*GraphStats) String

func (x *GraphStats) String() string

type Highlight

type Highlight struct {

	// Start position in the snippet (character index).
	Start int32 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
	// End position in the snippet (character index).
	End int32 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
	// The matched text.
	MatchedText string `protobuf:"bytes,3,opt,name=matched_text,json=matchedText,proto3" json:"matched_text,omitempty"`
	// contains filtered or unexported fields
}

Highlight represents a highlighted match position.

func (*Highlight) Descriptor deprecated

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

Deprecated: Use Highlight.ProtoReflect.Descriptor instead.

func (*Highlight) GetEnd

func (x *Highlight) GetEnd() int32

func (*Highlight) GetMatchedText

func (x *Highlight) GetMatchedText() string

func (*Highlight) GetStart

func (x *Highlight) GetStart() int32

func (*Highlight) ProtoMessage

func (*Highlight) ProtoMessage()

func (*Highlight) ProtoReflect

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

func (*Highlight) Reset

func (x *Highlight) Reset()

func (*Highlight) String

func (x *Highlight) String() string

type HighlightedMemo

type HighlightedMemo struct {

	// The resource name of the memo. Format: memos/{memo}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The snippet of the memo content with highlight context.
	Snippet string `protobuf:"bytes,2,opt,name=snippet,proto3" json:"snippet,omitempty"`
	// The relevance score (0-1).
	Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"`
	// The highlight positions within the snippet.
	Highlights []*Highlight `protobuf:"bytes,4,rep,name=highlights,proto3" json:"highlights,omitempty"`
	// The creation timestamp in seconds.
	CreatedTs int64 `protobuf:"varint,5,opt,name=created_ts,json=createdTs,proto3" json:"created_ts,omitempty"`
	// contains filtered or unexported fields
}

HighlightedMemo represents a memo with highlighted search matches.

func (*HighlightedMemo) Descriptor deprecated

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

Deprecated: Use HighlightedMemo.ProtoReflect.Descriptor instead.

func (*HighlightedMemo) GetCreatedTs

func (x *HighlightedMemo) GetCreatedTs() int64

func (*HighlightedMemo) GetHighlights

func (x *HighlightedMemo) GetHighlights() []*Highlight

func (*HighlightedMemo) GetName

func (x *HighlightedMemo) GetName() string

func (*HighlightedMemo) GetScore

func (x *HighlightedMemo) GetScore() float32

func (*HighlightedMemo) GetSnippet

func (x *HighlightedMemo) GetSnippet() string

func (*HighlightedMemo) ProtoMessage

func (*HighlightedMemo) ProtoMessage()

func (*HighlightedMemo) ProtoReflect

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

func (*HighlightedMemo) Reset

func (x *HighlightedMemo) Reset()

func (*HighlightedMemo) String

func (x *HighlightedMemo) String() string

type IdentityProvider

type IdentityProvider struct {

	// The resource name of the identity provider.
	// Format: identity-providers/{idp}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The type of the identity provider.
	Type IdentityProvider_Type `protobuf:"varint,2,opt,name=type,proto3,enum=memos.api.v1.IdentityProvider_Type" json:"type,omitempty"`
	// Required. The display title of the identity provider.
	Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	// Optional. Filter applied to user identifiers.
	IdentifierFilter string `protobuf:"bytes,4,opt,name=identifier_filter,json=identifierFilter,proto3" json:"identifier_filter,omitempty"`
	// Required. Configuration for the identity provider.
	Config *IdentityProviderConfig `protobuf:"bytes,5,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*IdentityProvider) Descriptor deprecated

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

Deprecated: Use IdentityProvider.ProtoReflect.Descriptor instead.

func (*IdentityProvider) GetConfig

func (x *IdentityProvider) GetConfig() *IdentityProviderConfig

func (*IdentityProvider) GetIdentifierFilter

func (x *IdentityProvider) GetIdentifierFilter() string

func (*IdentityProvider) GetName

func (x *IdentityProvider) GetName() string

func (*IdentityProvider) GetTitle

func (x *IdentityProvider) GetTitle() string

func (*IdentityProvider) GetType

func (*IdentityProvider) ProtoMessage

func (*IdentityProvider) ProtoMessage()

func (*IdentityProvider) ProtoReflect

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

func (*IdentityProvider) Reset

func (x *IdentityProvider) Reset()

func (*IdentityProvider) String

func (x *IdentityProvider) String() string

type IdentityProviderConfig

type IdentityProviderConfig struct {

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

func (*IdentityProviderConfig) Descriptor deprecated

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

Deprecated: Use IdentityProviderConfig.ProtoReflect.Descriptor instead.

func (*IdentityProviderConfig) GetConfig

func (x *IdentityProviderConfig) GetConfig() isIdentityProviderConfig_Config

func (*IdentityProviderConfig) GetOauth2Config

func (x *IdentityProviderConfig) GetOauth2Config() *OAuth2Config

func (*IdentityProviderConfig) ProtoMessage

func (*IdentityProviderConfig) ProtoMessage()

func (*IdentityProviderConfig) ProtoReflect

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

func (*IdentityProviderConfig) Reset

func (x *IdentityProviderConfig) Reset()

func (*IdentityProviderConfig) String

func (x *IdentityProviderConfig) String() string

type IdentityProviderConfig_Oauth2Config

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

type IdentityProvider_Type

type IdentityProvider_Type int32
const (
	IdentityProvider_TYPE_UNSPECIFIED IdentityProvider_Type = 0
	// OAuth2 identity provider.
	IdentityProvider_OAUTH2 IdentityProvider_Type = 1
)

func (IdentityProvider_Type) Descriptor

func (IdentityProvider_Type) Enum

func (IdentityProvider_Type) EnumDescriptor deprecated

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

Deprecated: Use IdentityProvider_Type.Descriptor instead.

func (IdentityProvider_Type) Number

func (IdentityProvider_Type) String

func (x IdentityProvider_Type) String() string

func (IdentityProvider_Type) Type

type InstanceProfile

type InstanceProfile struct {

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

Instance profile message containing basic instance information.

func (*InstanceProfile) Descriptor deprecated

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

Deprecated: Use InstanceProfile.ProtoReflect.Descriptor instead.

func (*InstanceProfile) GetInstanceUrl

func (x *InstanceProfile) GetInstanceUrl() string

func (*InstanceProfile) GetMode

func (x *InstanceProfile) GetMode() string

func (*InstanceProfile) GetOwner

func (x *InstanceProfile) GetOwner() string

func (*InstanceProfile) GetVersion

func (x *InstanceProfile) GetVersion() string

func (*InstanceProfile) ProtoMessage

func (*InstanceProfile) ProtoMessage()

func (*InstanceProfile) ProtoReflect

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

func (*InstanceProfile) Reset

func (x *InstanceProfile) Reset()

func (*InstanceProfile) String

func (x *InstanceProfile) String() string

type InstanceSetting

type InstanceSetting struct {

	// The name of the instance setting.
	// Format: instance/settings/{setting}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are valid to be assigned to Value:
	//
	//	*InstanceSetting_GeneralSetting_
	//	*InstanceSetting_StorageSetting_
	//	*InstanceSetting_MemoRelatedSetting_
	Value isInstanceSetting_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

An instance setting resource.

func (*InstanceSetting) Descriptor deprecated

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

Deprecated: Use InstanceSetting.ProtoReflect.Descriptor instead.

func (*InstanceSetting) GetGeneralSetting

func (x *InstanceSetting) GetGeneralSetting() *InstanceSetting_GeneralSetting

func (*InstanceSetting) GetMemoRelatedSetting

func (x *InstanceSetting) GetMemoRelatedSetting() *InstanceSetting_MemoRelatedSetting

func (*InstanceSetting) GetName

func (x *InstanceSetting) GetName() string

func (*InstanceSetting) GetStorageSetting

func (x *InstanceSetting) GetStorageSetting() *InstanceSetting_StorageSetting

func (*InstanceSetting) GetValue

func (x *InstanceSetting) GetValue() isInstanceSetting_Value

func (*InstanceSetting) ProtoMessage

func (*InstanceSetting) ProtoMessage()

func (*InstanceSetting) ProtoReflect

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

func (*InstanceSetting) Reset

func (x *InstanceSetting) Reset()

func (*InstanceSetting) String

func (x *InstanceSetting) String() string

type InstanceSetting_GeneralSetting

type InstanceSetting_GeneralSetting 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,3,opt,name=disallow_password_auth,json=disallowPasswordAuth,proto3" json:"disallow_password_auth,omitempty"`
	// additional_script is the additional script.
	AdditionalScript string `protobuf:"bytes,4,opt,name=additional_script,json=additionalScript,proto3" json:"additional_script,omitempty"`
	// additional_style is the additional style.
	AdditionalStyle string `protobuf:"bytes,5,opt,name=additional_style,json=additionalStyle,proto3" json:"additional_style,omitempty"`
	// custom_profile is the custom profile.
	CustomProfile *InstanceSetting_GeneralSetting_CustomProfile `protobuf:"bytes,6,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,7,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
}

General instance settings configuration.

func (*InstanceSetting_GeneralSetting) Descriptor deprecated

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

Deprecated: Use InstanceSetting_GeneralSetting.ProtoReflect.Descriptor instead.

func (*InstanceSetting_GeneralSetting) GetAdditionalScript

func (x *InstanceSetting_GeneralSetting) GetAdditionalScript() string

func (*InstanceSetting_GeneralSetting) GetAdditionalStyle

func (x *InstanceSetting_GeneralSetting) GetAdditionalStyle() string

func (*InstanceSetting_GeneralSetting) GetCustomProfile

func (*InstanceSetting_GeneralSetting) GetDisallowChangeNickname

func (x *InstanceSetting_GeneralSetting) GetDisallowChangeNickname() bool

func (*InstanceSetting_GeneralSetting) GetDisallowChangeUsername

func (x *InstanceSetting_GeneralSetting) GetDisallowChangeUsername() bool

func (*InstanceSetting_GeneralSetting) GetDisallowPasswordAuth

func (x *InstanceSetting_GeneralSetting) GetDisallowPasswordAuth() bool

func (*InstanceSetting_GeneralSetting) GetDisallowUserRegistration

func (x *InstanceSetting_GeneralSetting) GetDisallowUserRegistration() bool

func (*InstanceSetting_GeneralSetting) GetWeekStartDayOffset

func (x *InstanceSetting_GeneralSetting) GetWeekStartDayOffset() int32

func (*InstanceSetting_GeneralSetting) ProtoMessage

func (*InstanceSetting_GeneralSetting) ProtoMessage()

func (*InstanceSetting_GeneralSetting) ProtoReflect

func (*InstanceSetting_GeneralSetting) Reset

func (x *InstanceSetting_GeneralSetting) Reset()

func (*InstanceSetting_GeneralSetting) String

type InstanceSetting_GeneralSetting_

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

type InstanceSetting_GeneralSetting_CustomProfile

type InstanceSetting_GeneralSetting_CustomProfile 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"`
	// contains filtered or unexported fields
}

Custom profile configuration for instance branding.

func (*InstanceSetting_GeneralSetting_CustomProfile) Descriptor deprecated

Deprecated: Use InstanceSetting_GeneralSetting_CustomProfile.ProtoReflect.Descriptor instead.

func (*InstanceSetting_GeneralSetting_CustomProfile) GetDescription

func (*InstanceSetting_GeneralSetting_CustomProfile) GetLogoUrl

func (*InstanceSetting_GeneralSetting_CustomProfile) GetTitle

func (*InstanceSetting_GeneralSetting_CustomProfile) ProtoMessage

func (*InstanceSetting_GeneralSetting_CustomProfile) ProtoReflect

func (*InstanceSetting_GeneralSetting_CustomProfile) Reset

func (*InstanceSetting_GeneralSetting_CustomProfile) String

type InstanceSetting_Key

type InstanceSetting_Key int32

Enumeration of instance setting keys.

const (
	InstanceSetting_KEY_UNSPECIFIED InstanceSetting_Key = 0
	// GENERAL is the key for general settings.
	InstanceSetting_GENERAL InstanceSetting_Key = 1
	// STORAGE is the key for storage settings.
	InstanceSetting_STORAGE InstanceSetting_Key = 2
	// MEMO_RELATED is the key for memo related settings.
	InstanceSetting_MEMO_RELATED InstanceSetting_Key = 3
)

func (InstanceSetting_Key) Descriptor

func (InstanceSetting_Key) Enum

func (InstanceSetting_Key) EnumDescriptor deprecated

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

Deprecated: Use InstanceSetting_Key.Descriptor instead.

func (InstanceSetting_Key) Number

func (InstanceSetting_Key) String

func (x InstanceSetting_Key) String() string

func (InstanceSetting_Key) Type

type InstanceSetting_MemoRelatedSetting

type InstanceSetting_MemoRelatedSetting 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_double_click_edit enables editing on double click.
	EnableDoubleClickEdit bool `` /* 129-byte string literal not displayed */
	// reactions is the list of reactions.
	Reactions []string `protobuf:"bytes,7,rep,name=reactions,proto3" json:"reactions,omitempty"`
	// contains filtered or unexported fields
}

Memo-related instance settings and policies.

func (*InstanceSetting_MemoRelatedSetting) Descriptor deprecated

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

Deprecated: Use InstanceSetting_MemoRelatedSetting.ProtoReflect.Descriptor instead.

func (*InstanceSetting_MemoRelatedSetting) GetContentLengthLimit

func (x *InstanceSetting_MemoRelatedSetting) GetContentLengthLimit() int32

func (*InstanceSetting_MemoRelatedSetting) GetDisallowPublicVisibility

func (x *InstanceSetting_MemoRelatedSetting) GetDisallowPublicVisibility() bool

func (*InstanceSetting_MemoRelatedSetting) GetDisplayWithUpdateTime

func (x *InstanceSetting_MemoRelatedSetting) GetDisplayWithUpdateTime() bool

func (*InstanceSetting_MemoRelatedSetting) GetEnableDoubleClickEdit

func (x *InstanceSetting_MemoRelatedSetting) GetEnableDoubleClickEdit() bool

func (*InstanceSetting_MemoRelatedSetting) GetReactions

func (x *InstanceSetting_MemoRelatedSetting) GetReactions() []string

func (*InstanceSetting_MemoRelatedSetting) ProtoMessage

func (*InstanceSetting_MemoRelatedSetting) ProtoMessage()

func (*InstanceSetting_MemoRelatedSetting) ProtoReflect

func (*InstanceSetting_MemoRelatedSetting) Reset

func (*InstanceSetting_MemoRelatedSetting) String

type InstanceSetting_MemoRelatedSetting_

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

type InstanceSetting_StorageSetting

type InstanceSetting_StorageSetting struct {

	// storage_type is the storage type.
	StorageType InstanceSetting_StorageSetting_StorageType `` /* 156-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 *InstanceSetting_StorageSetting_S3Config `protobuf:"bytes,4,opt,name=s3_config,json=s3Config,proto3" json:"s3_config,omitempty"`
	// contains filtered or unexported fields
}

Storage configuration settings for instance attachments.

func (*InstanceSetting_StorageSetting) Descriptor deprecated

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

Deprecated: Use InstanceSetting_StorageSetting.ProtoReflect.Descriptor instead.

func (*InstanceSetting_StorageSetting) GetFilepathTemplate

func (x *InstanceSetting_StorageSetting) GetFilepathTemplate() string

func (*InstanceSetting_StorageSetting) GetS3Config

func (*InstanceSetting_StorageSetting) GetStorageType

func (*InstanceSetting_StorageSetting) GetUploadSizeLimitMb

func (x *InstanceSetting_StorageSetting) GetUploadSizeLimitMb() int64

func (*InstanceSetting_StorageSetting) ProtoMessage

func (*InstanceSetting_StorageSetting) ProtoMessage()

func (*InstanceSetting_StorageSetting) ProtoReflect

func (*InstanceSetting_StorageSetting) Reset

func (x *InstanceSetting_StorageSetting) Reset()

func (*InstanceSetting_StorageSetting) String

type InstanceSetting_StorageSetting_

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

type InstanceSetting_StorageSetting_S3Config

type InstanceSetting_StorageSetting_S3Config 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"`
	UsePathStyle    bool   `protobuf:"varint,6,opt,name=use_path_style,json=usePathStyle,proto3" json:"use_path_style,omitempty"`
	// contains filtered or unexported fields
}

S3 configuration for cloud storage backend. Reference: https://developers.cloudflare.com/r2/examples/aws/aws-sdk-go/

func (*InstanceSetting_StorageSetting_S3Config) Descriptor deprecated

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

Deprecated: Use InstanceSetting_StorageSetting_S3Config.ProtoReflect.Descriptor instead.

func (*InstanceSetting_StorageSetting_S3Config) GetAccessKeyId

func (x *InstanceSetting_StorageSetting_S3Config) GetAccessKeyId() string

func (*InstanceSetting_StorageSetting_S3Config) GetAccessKeySecret

func (x *InstanceSetting_StorageSetting_S3Config) GetAccessKeySecret() string

func (*InstanceSetting_StorageSetting_S3Config) GetBucket

func (*InstanceSetting_StorageSetting_S3Config) GetEndpoint

func (*InstanceSetting_StorageSetting_S3Config) GetRegion

func (*InstanceSetting_StorageSetting_S3Config) GetUsePathStyle

func (x *InstanceSetting_StorageSetting_S3Config) GetUsePathStyle() bool

func (*InstanceSetting_StorageSetting_S3Config) ProtoMessage

func (*InstanceSetting_StorageSetting_S3Config) ProtoReflect

func (*InstanceSetting_StorageSetting_S3Config) Reset

func (*InstanceSetting_StorageSetting_S3Config) String

type InstanceSetting_StorageSetting_StorageType

type InstanceSetting_StorageSetting_StorageType int32

Storage type enumeration for different storage backends.

const (
	InstanceSetting_StorageSetting_STORAGE_TYPE_UNSPECIFIED InstanceSetting_StorageSetting_StorageType = 0
	// DATABASE is the database storage type.
	InstanceSetting_StorageSetting_DATABASE InstanceSetting_StorageSetting_StorageType = 1
	// LOCAL is the local storage type.
	InstanceSetting_StorageSetting_LOCAL InstanceSetting_StorageSetting_StorageType = 2
	// S3 is the S3 storage type.
	InstanceSetting_StorageSetting_S3 InstanceSetting_StorageSetting_StorageType = 3
)

func (InstanceSetting_StorageSetting_StorageType) Descriptor

func (InstanceSetting_StorageSetting_StorageType) Enum

func (InstanceSetting_StorageSetting_StorageType) EnumDescriptor deprecated

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

Deprecated: Use InstanceSetting_StorageSetting_StorageType.Descriptor instead.

func (InstanceSetting_StorageSetting_StorageType) Number

func (InstanceSetting_StorageSetting_StorageType) String

func (InstanceSetting_StorageSetting_StorageType) Type

type LinkMemosRequest

type LinkMemosRequest struct {
	MemoName_1 string `protobuf:"bytes,1,opt,name=memo_name_1,json=memoName1,proto3" json:"memo_name_1,omitempty"` // First memo name (memos/{uid})
	MemoName_2 string `protobuf:"bytes,2,opt,name=memo_name_2,json=memoName2,proto3" json:"memo_name_2,omitempty"` // Second memo name (memos/{uid})
	// contains filtered or unexported fields
}

LinkMemosRequest is the request for LinkMemos.

func (*LinkMemosRequest) Descriptor deprecated

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

Deprecated: Use LinkMemosRequest.ProtoReflect.Descriptor instead.

func (*LinkMemosRequest) GetMemoName_1

func (x *LinkMemosRequest) GetMemoName_1() string

func (*LinkMemosRequest) GetMemoName_2

func (x *LinkMemosRequest) GetMemoName_2() string

func (*LinkMemosRequest) ProtoMessage

func (*LinkMemosRequest) ProtoMessage()

func (*LinkMemosRequest) ProtoReflect

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

func (*LinkMemosRequest) Reset

func (x *LinkMemosRequest) Reset()

func (*LinkMemosRequest) String

func (x *LinkMemosRequest) String() string

type LinkMemosResponse

type LinkMemosResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // Whether linking was successful
	// contains filtered or unexported fields
}

LinkMemosResponse is the response for LinkMemos.

func (*LinkMemosResponse) Descriptor deprecated

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

Deprecated: Use LinkMemosResponse.ProtoReflect.Descriptor instead.

func (*LinkMemosResponse) GetSuccess

func (x *LinkMemosResponse) GetSuccess() bool

func (*LinkMemosResponse) ProtoMessage

func (*LinkMemosResponse) ProtoMessage()

func (*LinkMemosResponse) ProtoReflect

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

func (*LinkMemosResponse) Reset

func (x *LinkMemosResponse) Reset()

func (*LinkMemosResponse) String

func (x *LinkMemosResponse) String() string

type ListAIConversationsRequest

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

func (*ListAIConversationsRequest) Descriptor deprecated

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

Deprecated: Use ListAIConversationsRequest.ProtoReflect.Descriptor instead.

func (*ListAIConversationsRequest) ProtoMessage

func (*ListAIConversationsRequest) ProtoMessage()

func (*ListAIConversationsRequest) ProtoReflect

func (*ListAIConversationsRequest) Reset

func (x *ListAIConversationsRequest) Reset()

func (*ListAIConversationsRequest) String

func (x *ListAIConversationsRequest) String() string

type ListAIConversationsResponse

type ListAIConversationsResponse struct {
	Conversations []*AIConversation `protobuf:"bytes,1,rep,name=conversations,proto3" json:"conversations,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAIConversationsResponse) Descriptor deprecated

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

Deprecated: Use ListAIConversationsResponse.ProtoReflect.Descriptor instead.

func (*ListAIConversationsResponse) GetConversations

func (x *ListAIConversationsResponse) GetConversations() []*AIConversation

func (*ListAIConversationsResponse) ProtoMessage

func (*ListAIConversationsResponse) ProtoMessage()

func (*ListAIConversationsResponse) ProtoReflect

func (*ListAIConversationsResponse) Reset

func (x *ListAIConversationsResponse) Reset()

func (*ListAIConversationsResponse) String

func (x *ListAIConversationsResponse) String() string

type ListActivitiesRequest

type ListActivitiesRequest struct {

	// The maximum number of activities to return.
	// The service may return fewer than this value.
	// If unspecified, at most 100 activities will be returned.
	// The maximum value is 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListActivities` call.
	// Provide this to retrieve the subsequent page.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListActivitiesRequest) Descriptor deprecated

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

Deprecated: Use ListActivitiesRequest.ProtoReflect.Descriptor instead.

func (*ListActivitiesRequest) GetPageSize

func (x *ListActivitiesRequest) GetPageSize() int32

func (*ListActivitiesRequest) GetPageToken

func (x *ListActivitiesRequest) GetPageToken() string

func (*ListActivitiesRequest) ProtoMessage

func (*ListActivitiesRequest) ProtoMessage()

func (*ListActivitiesRequest) ProtoReflect

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

func (*ListActivitiesRequest) Reset

func (x *ListActivitiesRequest) Reset()

func (*ListActivitiesRequest) String

func (x *ListActivitiesRequest) String() string

type ListActivitiesResponse

type ListActivitiesResponse struct {

	// The activities.
	Activities []*Activity `protobuf:"bytes,1,rep,name=activities,proto3" json:"activities,omitempty"`
	// A token to retrieve the next page of results.
	// Pass this value in the page_token field in the subsequent call to `ListActivities`
	// method to retrieve the next page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListActivitiesResponse) Descriptor deprecated

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

Deprecated: Use ListActivitiesResponse.ProtoReflect.Descriptor instead.

func (*ListActivitiesResponse) GetActivities

func (x *ListActivitiesResponse) GetActivities() []*Activity

func (*ListActivitiesResponse) GetNextPageToken

func (x *ListActivitiesResponse) GetNextPageToken() string

func (*ListActivitiesResponse) ProtoMessage

func (*ListActivitiesResponse) ProtoMessage()

func (*ListActivitiesResponse) ProtoReflect

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

func (*ListActivitiesResponse) Reset

func (x *ListActivitiesResponse) Reset()

func (*ListActivitiesResponse) String

func (x *ListActivitiesResponse) String() string

type ListAllUserStatsRequest

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

func (*ListAllUserStatsRequest) Descriptor deprecated

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

Deprecated: Use ListAllUserStatsRequest.ProtoReflect.Descriptor instead.

func (*ListAllUserStatsRequest) ProtoMessage

func (*ListAllUserStatsRequest) ProtoMessage()

func (*ListAllUserStatsRequest) ProtoReflect

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

func (*ListAllUserStatsRequest) Reset

func (x *ListAllUserStatsRequest) Reset()

func (*ListAllUserStatsRequest) String

func (x *ListAllUserStatsRequest) String() string

type ListAllUserStatsResponse

type ListAllUserStatsResponse struct {

	// The list of user statistics.
	Stats []*UserStats `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAllUserStatsResponse) Descriptor deprecated

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

Deprecated: Use ListAllUserStatsResponse.ProtoReflect.Descriptor instead.

func (*ListAllUserStatsResponse) GetStats

func (x *ListAllUserStatsResponse) GetStats() []*UserStats

func (*ListAllUserStatsResponse) ProtoMessage

func (*ListAllUserStatsResponse) ProtoMessage()

func (*ListAllUserStatsResponse) ProtoReflect

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

func (*ListAllUserStatsResponse) Reset

func (x *ListAllUserStatsResponse) Reset()

func (*ListAllUserStatsResponse) String

func (x *ListAllUserStatsResponse) String() string

type ListAttachmentsRequest

type ListAttachmentsRequest struct {

	// Optional. The maximum number of attachments to return.
	// The service may return fewer than this value.
	// If unspecified, at most 50 attachments will be returned.
	// The maximum value is 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListAttachments` call.
	// Provide this to retrieve the subsequent page.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. Filter to apply to the list results.
	// Example: "mime_type==\"image/png\"" or "filename.contains(\"test\")"
	// Supported operators: =, !=, <, <=, >, >=, : (contains), in
	// Supported fields: filename, mime_type, create_time, memo
	Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. The order to sort results by.
	// Example: "create_time desc" or "filename asc"
	OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAttachmentsRequest) Descriptor deprecated

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

Deprecated: Use ListAttachmentsRequest.ProtoReflect.Descriptor instead.

func (*ListAttachmentsRequest) GetFilter

func (x *ListAttachmentsRequest) GetFilter() string

func (*ListAttachmentsRequest) GetOrderBy

func (x *ListAttachmentsRequest) GetOrderBy() string

func (*ListAttachmentsRequest) GetPageSize

func (x *ListAttachmentsRequest) GetPageSize() int32

func (*ListAttachmentsRequest) GetPageToken

func (x *ListAttachmentsRequest) GetPageToken() string

func (*ListAttachmentsRequest) ProtoMessage

func (*ListAttachmentsRequest) ProtoMessage()

func (*ListAttachmentsRequest) ProtoReflect

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

func (*ListAttachmentsRequest) Reset

func (x *ListAttachmentsRequest) Reset()

func (*ListAttachmentsRequest) String

func (x *ListAttachmentsRequest) String() string

type ListAttachmentsResponse

type ListAttachmentsResponse struct {

	// The list of attachments.
	Attachments []*Attachment `protobuf:"bytes,1,rep,name=attachments,proto3" json:"attachments,omitempty"`
	// A token that can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// The total count of attachments (may be approximate).
	TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAttachmentsResponse) Descriptor deprecated

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

Deprecated: Use ListAttachmentsResponse.ProtoReflect.Descriptor instead.

func (*ListAttachmentsResponse) GetAttachments

func (x *ListAttachmentsResponse) GetAttachments() []*Attachment

func (*ListAttachmentsResponse) GetNextPageToken

func (x *ListAttachmentsResponse) GetNextPageToken() string

func (*ListAttachmentsResponse) GetTotalSize

func (x *ListAttachmentsResponse) GetTotalSize() int32

func (*ListAttachmentsResponse) ProtoMessage

func (*ListAttachmentsResponse) ProtoMessage()

func (*ListAttachmentsResponse) ProtoReflect

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

func (*ListAttachmentsResponse) Reset

func (x *ListAttachmentsResponse) Reset()

func (*ListAttachmentsResponse) String

func (x *ListAttachmentsResponse) String() string

type ListIdentityProvidersRequest

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

func (*ListIdentityProvidersRequest) Descriptor deprecated

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

Deprecated: Use ListIdentityProvidersRequest.ProtoReflect.Descriptor instead.

func (*ListIdentityProvidersRequest) ProtoMessage

func (*ListIdentityProvidersRequest) ProtoMessage()

func (*ListIdentityProvidersRequest) ProtoReflect

func (*ListIdentityProvidersRequest) Reset

func (x *ListIdentityProvidersRequest) Reset()

func (*ListIdentityProvidersRequest) String

type ListIdentityProvidersResponse

type ListIdentityProvidersResponse struct {

	// The list of identity providers.
	IdentityProviders []*IdentityProvider `protobuf:"bytes,1,rep,name=identity_providers,json=identityProviders,proto3" json:"identity_providers,omitempty"`
	// contains filtered or unexported fields
}

func (*ListIdentityProvidersResponse) Descriptor deprecated

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

Deprecated: Use ListIdentityProvidersResponse.ProtoReflect.Descriptor instead.

func (*ListIdentityProvidersResponse) GetIdentityProviders

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

func (*ListIdentityProvidersResponse) ProtoMessage

func (*ListIdentityProvidersResponse) ProtoMessage()

func (*ListIdentityProvidersResponse) ProtoReflect

func (*ListIdentityProvidersResponse) Reset

func (x *ListIdentityProvidersResponse) Reset()

func (*ListIdentityProvidersResponse) String

type ListMemoAttachmentsRequest

type ListMemoAttachmentsRequest struct {

	// Required. The resource name of the memo.
	// Format: memos/{memo}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. The maximum number of attachments to return.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token for pagination.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMemoAttachmentsRequest) Descriptor deprecated

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

Deprecated: Use ListMemoAttachmentsRequest.ProtoReflect.Descriptor instead.

func (*ListMemoAttachmentsRequest) GetName

func (x *ListMemoAttachmentsRequest) GetName() string

func (*ListMemoAttachmentsRequest) GetPageSize

func (x *ListMemoAttachmentsRequest) GetPageSize() int32

func (*ListMemoAttachmentsRequest) GetPageToken

func (x *ListMemoAttachmentsRequest) GetPageToken() string

func (*ListMemoAttachmentsRequest) ProtoMessage

func (*ListMemoAttachmentsRequest) ProtoMessage()

func (*ListMemoAttachmentsRequest) ProtoReflect

func (*ListMemoAttachmentsRequest) Reset

func (x *ListMemoAttachmentsRequest) Reset()

func (*ListMemoAttachmentsRequest) String

func (x *ListMemoAttachmentsRequest) String() string

type ListMemoAttachmentsResponse

type ListMemoAttachmentsResponse struct {

	// The list of attachments.
	Attachments []*Attachment `protobuf:"bytes,1,rep,name=attachments,proto3" json:"attachments,omitempty"`
	// A token for the next page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMemoAttachmentsResponse) Descriptor deprecated

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

Deprecated: Use ListMemoAttachmentsResponse.ProtoReflect.Descriptor instead.

func (*ListMemoAttachmentsResponse) GetAttachments

func (x *ListMemoAttachmentsResponse) GetAttachments() []*Attachment

func (*ListMemoAttachmentsResponse) GetNextPageToken

func (x *ListMemoAttachmentsResponse) GetNextPageToken() string

func (*ListMemoAttachmentsResponse) ProtoMessage

func (*ListMemoAttachmentsResponse) ProtoMessage()

func (*ListMemoAttachmentsResponse) ProtoReflect

func (*ListMemoAttachmentsResponse) Reset

func (x *ListMemoAttachmentsResponse) Reset()

func (*ListMemoAttachmentsResponse) String

func (x *ListMemoAttachmentsResponse) String() string

type ListMemoCommentsRequest

type ListMemoCommentsRequest struct {

	// Required. The resource name of the memo.
	// Format: memos/{memo}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. The maximum number of comments to return.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token for pagination.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. The order to sort results by.
	OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMemoCommentsRequest) Descriptor deprecated

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

Deprecated: Use ListMemoCommentsRequest.ProtoReflect.Descriptor instead.

func (*ListMemoCommentsRequest) GetName

func (x *ListMemoCommentsRequest) GetName() string

func (*ListMemoCommentsRequest) GetOrderBy

func (x *ListMemoCommentsRequest) GetOrderBy() string

func (*ListMemoCommentsRequest) GetPageSize

func (x *ListMemoCommentsRequest) GetPageSize() int32

func (*ListMemoCommentsRequest) GetPageToken

func (x *ListMemoCommentsRequest) GetPageToken() string

func (*ListMemoCommentsRequest) ProtoMessage

func (*ListMemoCommentsRequest) ProtoMessage()

func (*ListMemoCommentsRequest) ProtoReflect

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

func (*ListMemoCommentsRequest) Reset

func (x *ListMemoCommentsRequest) Reset()

func (*ListMemoCommentsRequest) String

func (x *ListMemoCommentsRequest) String() string

type ListMemoCommentsResponse

type ListMemoCommentsResponse struct {

	// The list of comment memos.
	Memos []*Memo `protobuf:"bytes,1,rep,name=memos,proto3" json:"memos,omitempty"`
	// A token for the next page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// The total count of comments.
	TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMemoCommentsResponse) Descriptor deprecated

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

Deprecated: Use ListMemoCommentsResponse.ProtoReflect.Descriptor instead.

func (*ListMemoCommentsResponse) GetMemos

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

func (*ListMemoCommentsResponse) GetNextPageToken

func (x *ListMemoCommentsResponse) GetNextPageToken() string

func (*ListMemoCommentsResponse) GetTotalSize

func (x *ListMemoCommentsResponse) GetTotalSize() int32

func (*ListMemoCommentsResponse) ProtoMessage

func (*ListMemoCommentsResponse) ProtoMessage()

func (*ListMemoCommentsResponse) ProtoReflect

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

func (*ListMemoCommentsResponse) Reset

func (x *ListMemoCommentsResponse) Reset()

func (*ListMemoCommentsResponse) String

func (x *ListMemoCommentsResponse) String() string

type ListMemoReactionsRequest

type ListMemoReactionsRequest struct {

	// Required. The resource name of the memo.
	// Format: memos/{memo}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. The maximum number of reactions to return.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token for pagination.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMemoReactionsRequest) Descriptor deprecated

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

Deprecated: Use ListMemoReactionsRequest.ProtoReflect.Descriptor instead.

func (*ListMemoReactionsRequest) GetName

func (x *ListMemoReactionsRequest) GetName() string

func (*ListMemoReactionsRequest) GetPageSize

func (x *ListMemoReactionsRequest) GetPageSize() int32

func (*ListMemoReactionsRequest) GetPageToken

func (x *ListMemoReactionsRequest) GetPageToken() string

func (*ListMemoReactionsRequest) ProtoMessage

func (*ListMemoReactionsRequest) ProtoMessage()

func (*ListMemoReactionsRequest) ProtoReflect

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

func (*ListMemoReactionsRequest) Reset

func (x *ListMemoReactionsRequest) Reset()

func (*ListMemoReactionsRequest) String

func (x *ListMemoReactionsRequest) String() string

type ListMemoReactionsResponse

type ListMemoReactionsResponse struct {

	// The list of reactions.
	Reactions []*Reaction `protobuf:"bytes,1,rep,name=reactions,proto3" json:"reactions,omitempty"`
	// A token for the next page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// The total count of reactions.
	TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMemoReactionsResponse) Descriptor deprecated

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

Deprecated: Use ListMemoReactionsResponse.ProtoReflect.Descriptor instead.

func (*ListMemoReactionsResponse) GetNextPageToken

func (x *ListMemoReactionsResponse) GetNextPageToken() string

func (*ListMemoReactionsResponse) GetReactions

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

func (*ListMemoReactionsResponse) GetTotalSize

func (x *ListMemoReactionsResponse) GetTotalSize() int32

func (*ListMemoReactionsResponse) ProtoMessage

func (*ListMemoReactionsResponse) ProtoMessage()

func (*ListMemoReactionsResponse) ProtoReflect

func (*ListMemoReactionsResponse) Reset

func (x *ListMemoReactionsResponse) Reset()

func (*ListMemoReactionsResponse) String

func (x *ListMemoReactionsResponse) String() string

type ListMemoRelationsRequest

type ListMemoRelationsRequest struct {

	// Required. The resource name of the memo.
	// Format: memos/{memo}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. The maximum number of relations to return.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token for pagination.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMemoRelationsRequest) Descriptor deprecated

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

Deprecated: Use ListMemoRelationsRequest.ProtoReflect.Descriptor instead.

func (*ListMemoRelationsRequest) GetName

func (x *ListMemoRelationsRequest) GetName() string

func (*ListMemoRelationsRequest) GetPageSize

func (x *ListMemoRelationsRequest) GetPageSize() int32

func (*ListMemoRelationsRequest) GetPageToken

func (x *ListMemoRelationsRequest) GetPageToken() string

func (*ListMemoRelationsRequest) ProtoMessage

func (*ListMemoRelationsRequest) ProtoMessage()

func (*ListMemoRelationsRequest) ProtoReflect

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

func (*ListMemoRelationsRequest) Reset

func (x *ListMemoRelationsRequest) Reset()

func (*ListMemoRelationsRequest) String

func (x *ListMemoRelationsRequest) String() string

type ListMemoRelationsResponse

type ListMemoRelationsResponse struct {

	// The list of relations.
	Relations []*MemoRelation `protobuf:"bytes,1,rep,name=relations,proto3" json:"relations,omitempty"`
	// A token for the next page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMemoRelationsResponse) Descriptor deprecated

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

Deprecated: Use ListMemoRelationsResponse.ProtoReflect.Descriptor instead.

func (*ListMemoRelationsResponse) GetNextPageToken

func (x *ListMemoRelationsResponse) GetNextPageToken() string

func (*ListMemoRelationsResponse) GetRelations

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

func (*ListMemoRelationsResponse) ProtoMessage

func (*ListMemoRelationsResponse) ProtoMessage()

func (*ListMemoRelationsResponse) ProtoReflect

func (*ListMemoRelationsResponse) Reset

func (x *ListMemoRelationsResponse) Reset()

func (*ListMemoRelationsResponse) String

func (x *ListMemoRelationsResponse) String() string

type ListMemosRequest

type ListMemosRequest struct {

	// Optional. The maximum number of memos to return.
	// The service may return fewer than this value.
	// If unspecified, at most 50 memos will be returned.
	// The maximum value is 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListMemos` call.
	// Provide this to retrieve the subsequent page.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. The state of the memos to list.
	// Default to `NORMAL`. Set to `ARCHIVED` to list archived memos.
	State State `protobuf:"varint,3,opt,name=state,proto3,enum=memos.api.v1.State" json:"state,omitempty"`
	// Optional. The order to sort results by.
	// Default to "display_time desc".
	// Supports comma-separated list of fields following AIP-132.
	// Example: "pinned desc, display_time desc" or "create_time asc"
	// Supported fields: pinned, display_time, create_time, update_time, name
	OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// Optional. Filter to apply to the list results.
	// Filter is a CEL expression to filter memos.
	// Refer to `Shortcut.filter`.
	Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. If true, show deleted memos in the response.
	ShowDeleted bool `protobuf:"varint,6,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMemosRequest) Descriptor deprecated

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

Deprecated: Use ListMemosRequest.ProtoReflect.Descriptor instead.

func (*ListMemosRequest) GetFilter

func (x *ListMemosRequest) GetFilter() string

func (*ListMemosRequest) GetOrderBy

func (x *ListMemosRequest) GetOrderBy() string

func (*ListMemosRequest) GetPageSize

func (x *ListMemosRequest) GetPageSize() int32

func (*ListMemosRequest) GetPageToken

func (x *ListMemosRequest) GetPageToken() string

func (*ListMemosRequest) GetShowDeleted

func (x *ListMemosRequest) GetShowDeleted() bool

func (*ListMemosRequest) GetState

func (x *ListMemosRequest) GetState() State

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 {

	// The list of memos.
	Memos []*Memo `protobuf:"bytes,1,rep,name=memos,proto3" json:"memos,omitempty"`
	// A token that can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMemosResponse) Descriptor deprecated

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

Deprecated: Use ListMemosResponse.ProtoReflect.Descriptor instead.

func (*ListMemosResponse) GetMemos

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

func (*ListMemosResponse) GetNextPageToken

func (x *ListMemosResponse) GetNextPageToken() string

func (*ListMemosResponse) ProtoMessage

func (*ListMemosResponse) ProtoMessage()

func (*ListMemosResponse) ProtoReflect

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

func (*ListMemosResponse) Reset

func (x *ListMemosResponse) Reset()

func (*ListMemosResponse) String

func (x *ListMemosResponse) String() string

type ListMessagesRequest

type ListMessagesRequest struct {
	ConversationId int32  `protobuf:"varint,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`  // Conversation ID
	Limit          int32  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`                                          // Max messages to return (default: 100, max: 100)
	LastMessageUid string `protobuf:"bytes,3,opt,name=last_message_uid,json=lastMessageUid,proto3" json:"last_message_uid,omitempty"` // Last message UID from previous page (for incremental sync)
	// contains filtered or unexported fields
}

ListMessagesRequest is the request for ListMessages.

func (*ListMessagesRequest) Descriptor deprecated

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

Deprecated: Use ListMessagesRequest.ProtoReflect.Descriptor instead.

func (*ListMessagesRequest) GetConversationId

func (x *ListMessagesRequest) GetConversationId() int32

func (*ListMessagesRequest) GetLastMessageUid

func (x *ListMessagesRequest) GetLastMessageUid() string

func (*ListMessagesRequest) GetLimit

func (x *ListMessagesRequest) GetLimit() int32

func (*ListMessagesRequest) ProtoMessage

func (*ListMessagesRequest) ProtoMessage()

func (*ListMessagesRequest) ProtoReflect

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

func (*ListMessagesRequest) Reset

func (x *ListMessagesRequest) Reset()

func (*ListMessagesRequest) String

func (x *ListMessagesRequest) String() string

type ListMessagesResponse

type ListMessagesResponse struct {
	Messages         []*AIMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`                                           // Messages in the conversation
	HasMore          bool         `protobuf:"varint,2,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"`                             // Whether more messages exist before this page
	TotalCount       int32        `protobuf:"varint,3,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`                    // Total count of MSG messages (excludes SEP/SUMMARY)
	LatestMessageUid string       `protobuf:"bytes,4,opt,name=latest_message_uid,json=latestMessageUid,proto3" json:"latest_message_uid,omitempty"` // UID of the latest message for sync validation
	SyncRequired     bool         `protobuf:"varint,5,opt,name=sync_required,json=syncRequired,proto3" json:"sync_required,omitempty"`              // Whether client should re-sync (UID not found)
	// contains filtered or unexported fields
}

ListMessagesResponse is the response for ListMessages.

func (*ListMessagesResponse) Descriptor deprecated

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

Deprecated: Use ListMessagesResponse.ProtoReflect.Descriptor instead.

func (*ListMessagesResponse) GetHasMore

func (x *ListMessagesResponse) GetHasMore() bool

func (*ListMessagesResponse) GetLatestMessageUid

func (x *ListMessagesResponse) GetLatestMessageUid() string

func (*ListMessagesResponse) GetMessages

func (x *ListMessagesResponse) GetMessages() []*AIMessage

func (*ListMessagesResponse) GetSyncRequired

func (x *ListMessagesResponse) GetSyncRequired() bool

func (*ListMessagesResponse) GetTotalCount

func (x *ListMessagesResponse) GetTotalCount() int32

func (*ListMessagesResponse) ProtoMessage

func (*ListMessagesResponse) ProtoMessage()

func (*ListMessagesResponse) ProtoReflect

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

func (*ListMessagesResponse) Reset

func (x *ListMessagesResponse) Reset()

func (*ListMessagesResponse) String

func (x *ListMessagesResponse) String() string

type ListParrotsRequest

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

ListParrotsRequest is the request for ListParrots.

func (*ListParrotsRequest) Descriptor deprecated

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

Deprecated: Use ListParrotsRequest.ProtoReflect.Descriptor instead.

func (*ListParrotsRequest) ProtoMessage

func (*ListParrotsRequest) ProtoMessage()

func (*ListParrotsRequest) ProtoReflect

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

func (*ListParrotsRequest) Reset

func (x *ListParrotsRequest) Reset()

func (*ListParrotsRequest) String

func (x *ListParrotsRequest) String() string

type ListParrotsResponse

type ListParrotsResponse struct {
	Parrots []*ParrotInfo `protobuf:"bytes,1,rep,name=parrots,proto3" json:"parrots,omitempty"` // All available parrots
	// contains filtered or unexported fields
}

ListParrotsResponse is the response for ListParrots.

func (*ListParrotsResponse) Descriptor deprecated

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

Deprecated: Use ListParrotsResponse.ProtoReflect.Descriptor instead.

func (*ListParrotsResponse) GetParrots

func (x *ListParrotsResponse) GetParrots() []*ParrotInfo

func (*ListParrotsResponse) ProtoMessage

func (*ListParrotsResponse) ProtoMessage()

func (*ListParrotsResponse) ProtoReflect

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

func (*ListParrotsResponse) Reset

func (x *ListParrotsResponse) Reset()

func (*ListParrotsResponse) String

func (x *ListParrotsResponse) String() string

type ListPersonalAccessTokensRequest

type ListPersonalAccessTokensRequest struct {

	// Required. The parent resource whose personal access tokens will be listed.
	// Format: users/{user}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of tokens to return.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token for pagination.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPersonalAccessTokensRequest) Descriptor deprecated

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

Deprecated: Use ListPersonalAccessTokensRequest.ProtoReflect.Descriptor instead.

func (*ListPersonalAccessTokensRequest) GetPageSize

func (x *ListPersonalAccessTokensRequest) GetPageSize() int32

func (*ListPersonalAccessTokensRequest) GetPageToken

func (x *ListPersonalAccessTokensRequest) GetPageToken() string

func (*ListPersonalAccessTokensRequest) GetParent

func (x *ListPersonalAccessTokensRequest) GetParent() string

func (*ListPersonalAccessTokensRequest) ProtoMessage

func (*ListPersonalAccessTokensRequest) ProtoMessage()

func (*ListPersonalAccessTokensRequest) ProtoReflect

func (*ListPersonalAccessTokensRequest) Reset

func (*ListPersonalAccessTokensRequest) String

type ListPersonalAccessTokensResponse

type ListPersonalAccessTokensResponse struct {

	// The list of personal access tokens.
	PersonalAccessTokens []*PersonalAccessToken `protobuf:"bytes,1,rep,name=personal_access_tokens,json=personalAccessTokens,proto3" json:"personal_access_tokens,omitempty"`
	// A token for the next page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// The total count of personal access tokens.
	TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPersonalAccessTokensResponse) Descriptor deprecated

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

Deprecated: Use ListPersonalAccessTokensResponse.ProtoReflect.Descriptor instead.

func (*ListPersonalAccessTokensResponse) GetNextPageToken

func (x *ListPersonalAccessTokensResponse) GetNextPageToken() string

func (*ListPersonalAccessTokensResponse) GetPersonalAccessTokens

func (x *ListPersonalAccessTokensResponse) GetPersonalAccessTokens() []*PersonalAccessToken

func (*ListPersonalAccessTokensResponse) GetTotalSize

func (x *ListPersonalAccessTokensResponse) GetTotalSize() int32

func (*ListPersonalAccessTokensResponse) ProtoMessage

func (*ListPersonalAccessTokensResponse) ProtoMessage()

func (*ListPersonalAccessTokensResponse) ProtoReflect

func (*ListPersonalAccessTokensResponse) Reset

func (*ListPersonalAccessTokensResponse) String

type ListSchedulesRequest

type ListSchedulesRequest struct {

	// Format: users/{id}. Filter by creator.
	Creator   string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	StartTs   int64  `protobuf:"varint,2,opt,name=start_ts,json=startTs,proto3" json:"start_ts,omitempty"`
	EndTs     int64  `protobuf:"varint,3,opt,name=end_ts,json=endTs,proto3" json:"end_ts,omitempty"`
	State     string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
	PageSize  int32  `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

ListSchedulesRequest is the request for ListSchedules.

func (*ListSchedulesRequest) Descriptor deprecated

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

Deprecated: Use ListSchedulesRequest.ProtoReflect.Descriptor instead.

func (*ListSchedulesRequest) GetCreator

func (x *ListSchedulesRequest) GetCreator() string

func (*ListSchedulesRequest) GetEndTs

func (x *ListSchedulesRequest) GetEndTs() int64

func (*ListSchedulesRequest) GetPageSize

func (x *ListSchedulesRequest) GetPageSize() int32

func (*ListSchedulesRequest) GetPageToken

func (x *ListSchedulesRequest) GetPageToken() string

func (*ListSchedulesRequest) GetStartTs

func (x *ListSchedulesRequest) GetStartTs() int64

func (*ListSchedulesRequest) GetState

func (x *ListSchedulesRequest) GetState() string

func (*ListSchedulesRequest) ProtoMessage

func (*ListSchedulesRequest) ProtoMessage()

func (*ListSchedulesRequest) ProtoReflect

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

func (*ListSchedulesRequest) Reset

func (x *ListSchedulesRequest) Reset()

func (*ListSchedulesRequest) String

func (x *ListSchedulesRequest) String() string

type ListSchedulesResponse

type ListSchedulesResponse struct {
	Schedules     []*Schedule `protobuf:"bytes,1,rep,name=schedules,proto3" json:"schedules,omitempty"`
	NextPageToken string      `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// truncated indicates whether the results were truncated due to instance limits
	Truncated bool `protobuf:"varint,3,opt,name=truncated,proto3" json:"truncated,omitempty"`
	// contains filtered or unexported fields
}

ListSchedulesResponse is the response for ListSchedules.

func (*ListSchedulesResponse) Descriptor deprecated

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

Deprecated: Use ListSchedulesResponse.ProtoReflect.Descriptor instead.

func (*ListSchedulesResponse) GetNextPageToken

func (x *ListSchedulesResponse) GetNextPageToken() string

func (*ListSchedulesResponse) GetSchedules

func (x *ListSchedulesResponse) GetSchedules() []*Schedule

func (*ListSchedulesResponse) GetTruncated

func (x *ListSchedulesResponse) GetTruncated() bool

func (*ListSchedulesResponse) ProtoMessage

func (*ListSchedulesResponse) ProtoMessage()

func (*ListSchedulesResponse) ProtoReflect

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

func (*ListSchedulesResponse) Reset

func (x *ListSchedulesResponse) Reset()

func (*ListSchedulesResponse) String

func (x *ListSchedulesResponse) String() string

type ListShortcutsRequest

type ListShortcutsRequest struct {

	// Required. The parent resource where shortcuts are listed.
	// Format: users/{user}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

func (*ListShortcutsRequest) Descriptor deprecated

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

Deprecated: Use ListShortcutsRequest.ProtoReflect.Descriptor instead.

func (*ListShortcutsRequest) GetParent

func (x *ListShortcutsRequest) GetParent() string

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 {

	// The list of shortcuts.
	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 ListUserNotificationsRequest

type ListUserNotificationsRequest struct {

	// The parent user resource.
	// Format: users/{user}
	Parent    string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	PageSize  int32  `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	Filter    string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserNotificationsRequest) Descriptor deprecated

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

Deprecated: Use ListUserNotificationsRequest.ProtoReflect.Descriptor instead.

func (*ListUserNotificationsRequest) GetFilter

func (x *ListUserNotificationsRequest) GetFilter() string

func (*ListUserNotificationsRequest) GetPageSize

func (x *ListUserNotificationsRequest) GetPageSize() int32

func (*ListUserNotificationsRequest) GetPageToken

func (x *ListUserNotificationsRequest) GetPageToken() string

func (*ListUserNotificationsRequest) GetParent

func (x *ListUserNotificationsRequest) GetParent() string

func (*ListUserNotificationsRequest) ProtoMessage

func (*ListUserNotificationsRequest) ProtoMessage()

func (*ListUserNotificationsRequest) ProtoReflect

func (*ListUserNotificationsRequest) Reset

func (x *ListUserNotificationsRequest) Reset()

func (*ListUserNotificationsRequest) String

type ListUserNotificationsResponse

type ListUserNotificationsResponse struct {
	Notifications []*UserNotification `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"`
	NextPageToken string              `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserNotificationsResponse) Descriptor deprecated

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

Deprecated: Use ListUserNotificationsResponse.ProtoReflect.Descriptor instead.

func (*ListUserNotificationsResponse) GetNextPageToken

func (x *ListUserNotificationsResponse) GetNextPageToken() string

func (*ListUserNotificationsResponse) GetNotifications

func (x *ListUserNotificationsResponse) GetNotifications() []*UserNotification

func (*ListUserNotificationsResponse) ProtoMessage

func (*ListUserNotificationsResponse) ProtoMessage()

func (*ListUserNotificationsResponse) ProtoReflect

func (*ListUserNotificationsResponse) Reset

func (x *ListUserNotificationsResponse) Reset()

func (*ListUserNotificationsResponse) String

type ListUserSettingsRequest

type ListUserSettingsRequest struct {

	// Required. The parent resource whose settings will be listed.
	// Format: users/{user}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of settings to return.
	// The service may return fewer than this value.
	// If unspecified, at most 50 settings will be returned.
	// The maximum value is 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListUserSettings` call.
	// Provide this to retrieve the subsequent page.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request message for ListUserSettings method.

func (*ListUserSettingsRequest) Descriptor deprecated

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

Deprecated: Use ListUserSettingsRequest.ProtoReflect.Descriptor instead.

func (*ListUserSettingsRequest) GetPageSize

func (x *ListUserSettingsRequest) GetPageSize() int32

func (*ListUserSettingsRequest) GetPageToken

func (x *ListUserSettingsRequest) GetPageToken() string

func (*ListUserSettingsRequest) GetParent

func (x *ListUserSettingsRequest) GetParent() string

func (*ListUserSettingsRequest) ProtoMessage

func (*ListUserSettingsRequest) ProtoMessage()

func (*ListUserSettingsRequest) ProtoReflect

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

func (*ListUserSettingsRequest) Reset

func (x *ListUserSettingsRequest) Reset()

func (*ListUserSettingsRequest) String

func (x *ListUserSettingsRequest) String() string

type ListUserSettingsResponse

type ListUserSettingsResponse struct {

	// The list of user settings.
	Settings []*UserSetting `protobuf:"bytes,1,rep,name=settings,proto3" json:"settings,omitempty"`
	// A token that can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// The total count of settings (may be approximate).
	TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

Response message for ListUserSettings method.

func (*ListUserSettingsResponse) Descriptor deprecated

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

Deprecated: Use ListUserSettingsResponse.ProtoReflect.Descriptor instead.

func (*ListUserSettingsResponse) GetNextPageToken

func (x *ListUserSettingsResponse) GetNextPageToken() string

func (*ListUserSettingsResponse) GetSettings

func (x *ListUserSettingsResponse) GetSettings() []*UserSetting

func (*ListUserSettingsResponse) GetTotalSize

func (x *ListUserSettingsResponse) GetTotalSize() int32

func (*ListUserSettingsResponse) ProtoMessage

func (*ListUserSettingsResponse) ProtoMessage()

func (*ListUserSettingsResponse) ProtoReflect

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

func (*ListUserSettingsResponse) Reset

func (x *ListUserSettingsResponse) Reset()

func (*ListUserSettingsResponse) String

func (x *ListUserSettingsResponse) String() string

type ListUserWebhooksRequest

type ListUserWebhooksRequest struct {

	// The parent user resource.
	// Format: users/{user}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserWebhooksRequest) Descriptor deprecated

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

Deprecated: Use ListUserWebhooksRequest.ProtoReflect.Descriptor instead.

func (*ListUserWebhooksRequest) GetParent

func (x *ListUserWebhooksRequest) GetParent() string

func (*ListUserWebhooksRequest) ProtoMessage

func (*ListUserWebhooksRequest) ProtoMessage()

func (*ListUserWebhooksRequest) ProtoReflect

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

func (*ListUserWebhooksRequest) Reset

func (x *ListUserWebhooksRequest) Reset()

func (*ListUserWebhooksRequest) String

func (x *ListUserWebhooksRequest) String() string

type ListUserWebhooksResponse

type ListUserWebhooksResponse struct {

	// The list of webhooks.
	Webhooks []*UserWebhook `protobuf:"bytes,1,rep,name=webhooks,proto3" json:"webhooks,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserWebhooksResponse) Descriptor deprecated

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

Deprecated: Use ListUserWebhooksResponse.ProtoReflect.Descriptor instead.

func (*ListUserWebhooksResponse) GetWebhooks

func (x *ListUserWebhooksResponse) GetWebhooks() []*UserWebhook

func (*ListUserWebhooksResponse) ProtoMessage

func (*ListUserWebhooksResponse) ProtoMessage()

func (*ListUserWebhooksResponse) ProtoReflect

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

func (*ListUserWebhooksResponse) Reset

func (x *ListUserWebhooksResponse) Reset()

func (*ListUserWebhooksResponse) String

func (x *ListUserWebhooksResponse) String() string

type ListUsersRequest

type ListUsersRequest struct {

	// Optional. The maximum number of users to return.
	// The service may return fewer than this value.
	// If unspecified, at most 50 users will be returned.
	// The maximum value is 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListUsers` call.
	// Provide this to retrieve the subsequent page.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. Filter to apply to the list results.
	// Example: "username == 'steven'"
	// Supported operators: ==
	// Supported fields: username
	Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. If true, show deleted users in the response.
	ShowDeleted bool `protobuf:"varint,4,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUsersRequest) Descriptor deprecated

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

Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.

func (*ListUsersRequest) GetFilter

func (x *ListUsersRequest) GetFilter() string

func (*ListUsersRequest) GetPageSize

func (x *ListUsersRequest) GetPageSize() int32

func (*ListUsersRequest) GetPageToken

func (x *ListUsersRequest) GetPageToken() string

func (*ListUsersRequest) GetShowDeleted

func (x *ListUsersRequest) GetShowDeleted() bool

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 {

	// The list of users.
	Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// A token that can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// The total count of users (may be approximate).
	TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUsersResponse) Descriptor deprecated

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

Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.

func (*ListUsersResponse) GetNextPageToken

func (x *ListUsersResponse) GetNextPageToken() string

func (*ListUsersResponse) GetTotalSize

func (x *ListUsersResponse) GetTotalSize() int32

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 Location

type Location struct {

	// A placeholder text for the location.
	Placeholder string `protobuf:"bytes,1,opt,name=placeholder,proto3" json:"placeholder,omitempty"`
	// The latitude of the location.
	Latitude float64 `protobuf:"fixed64,2,opt,name=latitude,proto3" json:"latitude,omitempty"`
	// The longitude of the location.
	Longitude float64 `protobuf:"fixed64,3,opt,name=longitude,proto3" json:"longitude,omitempty"`
	// contains filtered or unexported fields
}

func (*Location) Descriptor deprecated

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

Deprecated: Use Location.ProtoReflect.Descriptor instead.

func (*Location) GetLatitude

func (x *Location) GetLatitude() float64

func (*Location) GetLongitude

func (x *Location) GetLongitude() float64

func (*Location) GetPlaceholder

func (x *Location) GetPlaceholder() string

func (*Location) ProtoMessage

func (*Location) ProtoMessage()

func (*Location) ProtoReflect

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

func (*Location) Reset

func (x *Location) Reset()

func (*Location) String

func (x *Location) String() string

type Memo

type Memo struct {

	// The resource name of the memo.
	// Format: memos/{memo}, memo is the user defined id or uuid.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The state of the memo.
	State State `protobuf:"varint,2,opt,name=state,proto3,enum=memos.api.v1.State" json:"state,omitempty"`
	// The name of the creator.
	// Format: users/{user}
	Creator string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"`
	// The creation timestamp.
	// If not set on creation, the server will set it to the current time.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The last update timestamp.
	// If not set on creation, the server will set it to the current time.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// The display timestamp of the memo.
	DisplayTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=display_time,json=displayTime,proto3" json:"display_time,omitempty"`
	// Required. The content of the memo in Markdown format.
	Content string `protobuf:"bytes,7,opt,name=content,proto3" json:"content,omitempty"`
	// The visibility of the memo.
	Visibility Visibility `protobuf:"varint,9,opt,name=visibility,proto3,enum=memos.api.v1.Visibility" json:"visibility,omitempty"`
	// Output only. The tags extracted from the content.
	Tags []string `protobuf:"bytes,10,rep,name=tags,proto3" json:"tags,omitempty"`
	// Whether the memo is pinned.
	Pinned bool `protobuf:"varint,11,opt,name=pinned,proto3" json:"pinned,omitempty"`
	// Optional. The attachments of the memo.
	Attachments []*Attachment `protobuf:"bytes,12,rep,name=attachments,proto3" json:"attachments,omitempty"`
	// Optional. The relations of the memo.
	Relations []*MemoRelation `protobuf:"bytes,13,rep,name=relations,proto3" json:"relations,omitempty"`
	// Output only. The reactions to the memo.
	Reactions []*Reaction `protobuf:"bytes,14,rep,name=reactions,proto3" json:"reactions,omitempty"`
	// Output only. The computed properties of the memo.
	Property *Memo_Property `protobuf:"bytes,15,opt,name=property,proto3" json:"property,omitempty"`
	// Output only. The name of the parent memo.
	// Format: memos/{memo}
	Parent *string `protobuf:"bytes,16,opt,name=parent,proto3,oneof" json:"parent,omitempty"`
	// Output only. The snippet of the memo content. Plain text only.
	Snippet string `protobuf:"bytes,17,opt,name=snippet,proto3" json:"snippet,omitempty"`
	// Optional. The location of the memo.
	Location *Location `protobuf:"bytes,18,opt,name=location,proto3,oneof" json:"location,omitempty"`
	// contains filtered or unexported fields
}

func (*Memo) Descriptor deprecated

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

Deprecated: Use Memo.ProtoReflect.Descriptor instead.

func (*Memo) GetAttachments

func (x *Memo) GetAttachments() []*Attachment

func (*Memo) GetContent

func (x *Memo) GetContent() string

func (*Memo) GetCreateTime

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

func (*Memo) GetCreator

func (x *Memo) GetCreator() string

func (*Memo) GetDisplayTime

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

func (*Memo) GetLocation

func (x *Memo) GetLocation() *Location

func (*Memo) GetName

func (x *Memo) GetName() string

func (*Memo) GetParent

func (x *Memo) GetParent() string

func (*Memo) GetPinned

func (x *Memo) GetPinned() bool

func (*Memo) GetProperty

func (x *Memo) GetProperty() *Memo_Property

func (*Memo) GetReactions

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

func (*Memo) GetRelations

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

func (*Memo) GetSnippet

func (x *Memo) GetSnippet() string

func (*Memo) GetState

func (x *Memo) GetState() State

func (*Memo) GetTags

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

func (*Memo) GetUpdateTime

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

func (*Memo) GetVisibility

func (x *Memo) GetVisibility() Visibility

func (*Memo) ProtoMessage

func (*Memo) ProtoMessage()

func (*Memo) ProtoReflect

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

func (*Memo) Reset

func (x *Memo) Reset()

func (*Memo) String

func (x *Memo) String() string

type MemoRelation

type MemoRelation struct {

	// The memo in the relation.
	Memo *MemoRelation_Memo `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
	// The related memo.
	RelatedMemo *MemoRelation_Memo `protobuf:"bytes,2,opt,name=related_memo,json=relatedMemo,proto3" json:"related_memo,omitempty"`
	Type        MemoRelation_Type  `protobuf:"varint,3,opt,name=type,proto3,enum=memos.api.v1.MemoRelation_Type" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*MemoRelation) Descriptor deprecated

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

Deprecated: Use MemoRelation.ProtoReflect.Descriptor instead.

func (*MemoRelation) GetMemo

func (x *MemoRelation) GetMemo() *MemoRelation_Memo

func (*MemoRelation) GetRelatedMemo

func (x *MemoRelation) GetRelatedMemo() *MemoRelation_Memo

func (*MemoRelation) GetType

func (x *MemoRelation) GetType() MemoRelation_Type

func (*MemoRelation) ProtoMessage

func (*MemoRelation) ProtoMessage()

func (*MemoRelation) ProtoReflect

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

func (*MemoRelation) Reset

func (x *MemoRelation) Reset()

func (*MemoRelation) String

func (x *MemoRelation) String() string

type MemoRelation_Memo

type MemoRelation_Memo struct {

	// The resource name of the memo.
	// Format: memos/{memo}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The snippet of the memo content. Plain text only.
	Snippet string `protobuf:"bytes,2,opt,name=snippet,proto3" json:"snippet,omitempty"`
	// contains filtered or unexported fields
}

Memo reference in relations.

func (*MemoRelation_Memo) Descriptor deprecated

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

Deprecated: Use MemoRelation_Memo.ProtoReflect.Descriptor instead.

func (*MemoRelation_Memo) GetName

func (x *MemoRelation_Memo) GetName() string

func (*MemoRelation_Memo) GetSnippet

func (x *MemoRelation_Memo) GetSnippet() string

func (*MemoRelation_Memo) ProtoMessage

func (*MemoRelation_Memo) ProtoMessage()

func (*MemoRelation_Memo) ProtoReflect

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

func (*MemoRelation_Memo) Reset

func (x *MemoRelation_Memo) Reset()

func (*MemoRelation_Memo) String

func (x *MemoRelation_Memo) String() string

type MemoRelation_Type

type MemoRelation_Type int32

The type of the relation.

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

func (MemoRelation_Type) Descriptor

func (MemoRelation_Type) Enum

func (MemoRelation_Type) EnumDescriptor deprecated

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

Deprecated: Use MemoRelation_Type.Descriptor instead.

func (MemoRelation_Type) Number

func (MemoRelation_Type) String

func (x MemoRelation_Type) String() string

func (MemoRelation_Type) Type

type Memo_Property

type Memo_Property struct {
	HasLink            bool `protobuf:"varint,1,opt,name=has_link,json=hasLink,proto3" json:"has_link,omitempty"`
	HasTaskList        bool `protobuf:"varint,2,opt,name=has_task_list,json=hasTaskList,proto3" json:"has_task_list,omitempty"`
	HasCode            bool `protobuf:"varint,3,opt,name=has_code,json=hasCode,proto3" json:"has_code,omitempty"`
	HasIncompleteTasks bool `protobuf:"varint,4,opt,name=has_incomplete_tasks,json=hasIncompleteTasks,proto3" json:"has_incomplete_tasks,omitempty"`
	// contains filtered or unexported fields
}

Computed properties of a memo.

func (*Memo_Property) Descriptor deprecated

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

Deprecated: Use Memo_Property.ProtoReflect.Descriptor instead.

func (*Memo_Property) GetHasCode

func (x *Memo_Property) GetHasCode() bool

func (*Memo_Property) GetHasIncompleteTasks

func (x *Memo_Property) GetHasIncompleteTasks() bool
func (x *Memo_Property) GetHasLink() bool

func (*Memo_Property) GetHasTaskList

func (x *Memo_Property) GetHasTaskList() bool

func (*Memo_Property) ProtoMessage

func (*Memo_Property) ProtoMessage()

func (*Memo_Property) ProtoReflect

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

func (*Memo_Property) Reset

func (x *Memo_Property) Reset()

func (*Memo_Property) String

func (x *Memo_Property) String() string

type MergeMemosRequest

type MergeMemosRequest struct {
	SourceName string `protobuf:"bytes,1,opt,name=source_name,json=sourceName,proto3" json:"source_name,omitempty"` // Source memo name (memos/{uid})
	TargetName string `protobuf:"bytes,2,opt,name=target_name,json=targetName,proto3" json:"target_name,omitempty"` // Target memo name (memos/{uid})
	// contains filtered or unexported fields
}

MergeMemosRequest is the request for MergeMemos.

func (*MergeMemosRequest) Descriptor deprecated

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

Deprecated: Use MergeMemosRequest.ProtoReflect.Descriptor instead.

func (*MergeMemosRequest) GetSourceName

func (x *MergeMemosRequest) GetSourceName() string

func (*MergeMemosRequest) GetTargetName

func (x *MergeMemosRequest) GetTargetName() string

func (*MergeMemosRequest) ProtoMessage

func (*MergeMemosRequest) ProtoMessage()

func (*MergeMemosRequest) ProtoReflect

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

func (*MergeMemosRequest) Reset

func (x *MergeMemosRequest) Reset()

func (*MergeMemosRequest) String

func (x *MergeMemosRequest) String() string

type MergeMemosResponse

type MergeMemosResponse struct {
	MergedName string `protobuf:"bytes,1,opt,name=merged_name,json=mergedName,proto3" json:"merged_name,omitempty"` // Merged memo name
	// contains filtered or unexported fields
}

MergeMemosResponse is the response for MergeMemos.

func (*MergeMemosResponse) Descriptor deprecated

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

Deprecated: Use MergeMemosResponse.ProtoReflect.Descriptor instead.

func (*MergeMemosResponse) GetMergedName

func (x *MergeMemosResponse) GetMergedName() string

func (*MergeMemosResponse) ProtoMessage

func (*MergeMemosResponse) ProtoMessage()

func (*MergeMemosResponse) ProtoReflect

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

func (*MergeMemosResponse) Reset

func (x *MergeMemosResponse) Reset()

func (*MergeMemosResponse) String

func (x *MergeMemosResponse) String() string

type OAuth2Config

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

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

Deprecated: Use OAuth2Config.ProtoReflect.Descriptor instead.

func (*OAuth2Config) GetAuthUrl

func (x *OAuth2Config) GetAuthUrl() string

func (*OAuth2Config) GetClientId

func (x *OAuth2Config) GetClientId() string

func (*OAuth2Config) GetClientSecret

func (x *OAuth2Config) GetClientSecret() string

func (*OAuth2Config) GetFieldMapping

func (x *OAuth2Config) GetFieldMapping() *FieldMapping

func (*OAuth2Config) GetScopes

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

func (*OAuth2Config) GetTokenUrl

func (x *OAuth2Config) GetTokenUrl() string

func (*OAuth2Config) GetUserInfoUrl

func (x *OAuth2Config) GetUserInfoUrl() string

func (*OAuth2Config) ProtoMessage

func (*OAuth2Config) ProtoMessage()

func (*OAuth2Config) ProtoReflect

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

func (*OAuth2Config) Reset

func (x *OAuth2Config) Reset()

func (*OAuth2Config) String

func (x *OAuth2Config) String() string

type PageToken

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

Used internally for obfuscating the page token.

func (*PageToken) Descriptor deprecated

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

Deprecated: Use PageToken.ProtoReflect.Descriptor instead.

func (*PageToken) GetLimit

func (x *PageToken) GetLimit() int32

func (*PageToken) GetOffset

func (x *PageToken) GetOffset() int32

func (*PageToken) ProtoMessage

func (*PageToken) ProtoMessage()

func (*PageToken) ProtoReflect

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

func (*PageToken) Reset

func (x *PageToken) Reset()

func (*PageToken) String

func (x *PageToken) String() string

type ParrotInfo

type ParrotInfo struct {
	AgentType     AgentType            `protobuf:"varint,1,opt,name=agent_type,json=agentType,proto3,enum=memos.api.v1.AgentType" json:"agent_type,omitempty"` // Agent type enum
	Name          string               `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                                                         // Parrot name
	SelfCognition *ParrotSelfCognition `protobuf:"bytes,3,opt,name=self_cognition,json=selfCognition,proto3" json:"self_cognition,omitempty"`                  // Full metacognitive information
	// contains filtered or unexported fields
}

ParrotInfo represents basic information about a parrot.

func (*ParrotInfo) Descriptor deprecated

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

Deprecated: Use ParrotInfo.ProtoReflect.Descriptor instead.

func (*ParrotInfo) GetAgentType

func (x *ParrotInfo) GetAgentType() AgentType

func (*ParrotInfo) GetName

func (x *ParrotInfo) GetName() string

func (*ParrotInfo) GetSelfCognition

func (x *ParrotInfo) GetSelfCognition() *ParrotSelfCognition

func (*ParrotInfo) ProtoMessage

func (*ParrotInfo) ProtoMessage()

func (*ParrotInfo) ProtoReflect

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

func (*ParrotInfo) Reset

func (x *ParrotInfo) Reset()

func (*ParrotInfo) String

func (x *ParrotInfo) String() string

type ParrotSelfCognition

type ParrotSelfCognition struct {
	Name             string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                                                 // Parrot name (e.g., "schedule", "memo", "creative", "amazing")
	Emoji            string   `protobuf:"bytes,2,opt,name=emoji,proto3" json:"emoji,omitempty"`                                               // Visual representation (e.g., "🦜")
	Title            string   `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`                                               // Formal title (e.g., "金刚 - 日程助手鹦鹉")
	Personality      []string `protobuf:"bytes,4,rep,name=personality,proto3" json:"personality,omitempty"`                                   // Character traits
	Capabilities     []string `protobuf:"bytes,5,rep,name=capabilities,proto3" json:"capabilities,omitempty"`                                 // What the parrot can do
	Limitations      []string `protobuf:"bytes,6,rep,name=limitations,proto3" json:"limitations,omitempty"`                                   // What the parrot cannot do
	WorkingStyle     string   `protobuf:"bytes,7,opt,name=working_style,json=workingStyle,proto3" json:"working_style,omitempty"`             // How the parrot approaches tasks
	FavoriteTools    []string `protobuf:"bytes,8,rep,name=favorite_tools,json=favoriteTools,proto3" json:"favorite_tools,omitempty"`          // Tools the parrot frequently uses
	SelfIntroduction string   `protobuf:"bytes,9,opt,name=self_introduction,json=selfIntroduction,proto3" json:"self_introduction,omitempty"` // First-person introduction
	FunFact          string   `protobuf:"bytes,10,opt,name=fun_fact,json=funFact,proto3" json:"fun_fact,omitempty"`                           // Interesting fact about the parrot
	// contains filtered or unexported fields
}

ParrotSelfCognition represents a parrot's metacognitive understanding of itself.

func (*ParrotSelfCognition) Descriptor deprecated

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

Deprecated: Use ParrotSelfCognition.ProtoReflect.Descriptor instead.

func (*ParrotSelfCognition) GetCapabilities

func (x *ParrotSelfCognition) GetCapabilities() []string

func (*ParrotSelfCognition) GetEmoji

func (x *ParrotSelfCognition) GetEmoji() string

func (*ParrotSelfCognition) GetFavoriteTools

func (x *ParrotSelfCognition) GetFavoriteTools() []string

func (*ParrotSelfCognition) GetFunFact

func (x *ParrotSelfCognition) GetFunFact() string

func (*ParrotSelfCognition) GetLimitations

func (x *ParrotSelfCognition) GetLimitations() []string

func (*ParrotSelfCognition) GetName

func (x *ParrotSelfCognition) GetName() string

func (*ParrotSelfCognition) GetPersonality

func (x *ParrotSelfCognition) GetPersonality() []string

func (*ParrotSelfCognition) GetSelfIntroduction

func (x *ParrotSelfCognition) GetSelfIntroduction() string

func (*ParrotSelfCognition) GetTitle

func (x *ParrotSelfCognition) GetTitle() string

func (*ParrotSelfCognition) GetWorkingStyle

func (x *ParrotSelfCognition) GetWorkingStyle() string

func (*ParrotSelfCognition) ProtoMessage

func (*ParrotSelfCognition) ProtoMessage()

func (*ParrotSelfCognition) ProtoReflect

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

func (*ParrotSelfCognition) Reset

func (x *ParrotSelfCognition) Reset()

func (*ParrotSelfCognition) String

func (x *ParrotSelfCognition) String() string

type ParseAndCreateScheduleRequest

type ParseAndCreateScheduleRequest struct {

	// Natural language text to parse
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// Whether to auto-confirm and create the schedule
	AutoConfirm bool `protobuf:"varint,2,opt,name=auto_confirm,json=autoConfirm,proto3" json:"auto_confirm,omitempty"`
	// contains filtered or unexported fields
}

ParseAndCreateScheduleRequest is the request for ParseAndCreateSchedule.

func (*ParseAndCreateScheduleRequest) Descriptor deprecated

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

Deprecated: Use ParseAndCreateScheduleRequest.ProtoReflect.Descriptor instead.

func (*ParseAndCreateScheduleRequest) GetAutoConfirm

func (x *ParseAndCreateScheduleRequest) GetAutoConfirm() bool

func (*ParseAndCreateScheduleRequest) GetText

func (*ParseAndCreateScheduleRequest) ProtoMessage

func (*ParseAndCreateScheduleRequest) ProtoMessage()

func (*ParseAndCreateScheduleRequest) ProtoReflect

func (*ParseAndCreateScheduleRequest) Reset

func (x *ParseAndCreateScheduleRequest) Reset()

func (*ParseAndCreateScheduleRequest) String

type ParseAndCreateScheduleResponse

type ParseAndCreateScheduleResponse struct {

	// Parsed schedule (always returned)
	ParsedSchedule *Schedule `protobuf:"bytes,1,opt,name=parsed_schedule,json=parsedSchedule,proto3" json:"parsed_schedule,omitempty"`
	// Created schedule (only returned when auto_confirm is true and no conflicts)
	CreatedSchedule *Schedule `protobuf:"bytes,2,opt,name=created_schedule,json=createdSchedule,proto3" json:"created_schedule,omitempty"`
	// Conflicting schedules (only returned when auto_confirm is true and conflicts exist)
	Conflicts []*Schedule `protobuf:"bytes,3,rep,name=conflicts,proto3" json:"conflicts,omitempty"`
	// contains filtered or unexported fields
}

ParseAndCreateScheduleResponse is the response for ParseAndCreateSchedule.

func (*ParseAndCreateScheduleResponse) Descriptor deprecated

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

Deprecated: Use ParseAndCreateScheduleResponse.ProtoReflect.Descriptor instead.

func (*ParseAndCreateScheduleResponse) GetConflicts

func (x *ParseAndCreateScheduleResponse) GetConflicts() []*Schedule

func (*ParseAndCreateScheduleResponse) GetCreatedSchedule

func (x *ParseAndCreateScheduleResponse) GetCreatedSchedule() *Schedule

func (*ParseAndCreateScheduleResponse) GetParsedSchedule

func (x *ParseAndCreateScheduleResponse) GetParsedSchedule() *Schedule

func (*ParseAndCreateScheduleResponse) ProtoMessage

func (*ParseAndCreateScheduleResponse) ProtoMessage()

func (*ParseAndCreateScheduleResponse) ProtoReflect

func (*ParseAndCreateScheduleResponse) Reset

func (x *ParseAndCreateScheduleResponse) Reset()

func (*ParseAndCreateScheduleResponse) String

type PersonalAccessToken

type PersonalAccessToken struct {

	// The resource name of the personal access token.
	// Format: users/{user}/personalAccessTokens/{personal_access_token}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The description of the token.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. The creation timestamp.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Optional. The expiration timestamp.
	ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	// Output only. The last used timestamp.
	LastUsedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_used_at,json=lastUsedAt,proto3" json:"last_used_at,omitempty"`
	// contains filtered or unexported fields
}

PersonalAccessToken represents a long-lived token for API/script access. PATs are distinct from short-lived JWT access tokens used for session authentication.

func (*PersonalAccessToken) Descriptor deprecated

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

Deprecated: Use PersonalAccessToken.ProtoReflect.Descriptor instead.

func (*PersonalAccessToken) GetCreatedAt

func (x *PersonalAccessToken) GetCreatedAt() *timestamppb.Timestamp

func (*PersonalAccessToken) GetDescription

func (x *PersonalAccessToken) GetDescription() string

func (*PersonalAccessToken) GetExpiresAt

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

func (*PersonalAccessToken) GetLastUsedAt

func (x *PersonalAccessToken) GetLastUsedAt() *timestamppb.Timestamp

func (*PersonalAccessToken) GetName

func (x *PersonalAccessToken) GetName() string

func (*PersonalAccessToken) ProtoMessage

func (*PersonalAccessToken) ProtoMessage()

func (*PersonalAccessToken) ProtoReflect

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

func (*PersonalAccessToken) Reset

func (x *PersonalAccessToken) Reset()

func (*PersonalAccessToken) String

func (x *PersonalAccessToken) String() string

type PrecheckError

type PrecheckError struct {
	Code    string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`       // Error code like "TIME_CONFLICT"
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // Human-readable message
	Field   string `protobuf:"bytes,3,opt,name=field,proto3" json:"field,omitempty"`     // Field that caused the error
	// contains filtered or unexported fields
}

PrecheckError represents a validation error.

func (*PrecheckError) Descriptor deprecated

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

Deprecated: Use PrecheckError.ProtoReflect.Descriptor instead.

func (*PrecheckError) GetCode

func (x *PrecheckError) GetCode() string

func (*PrecheckError) GetField

func (x *PrecheckError) GetField() string

func (*PrecheckError) GetMessage

func (x *PrecheckError) GetMessage() string

func (*PrecheckError) ProtoMessage

func (*PrecheckError) ProtoMessage()

func (*PrecheckError) ProtoReflect

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

func (*PrecheckError) Reset

func (x *PrecheckError) Reset()

func (*PrecheckError) String

func (x *PrecheckError) String() string

type PrecheckScheduleRequest

type PrecheckScheduleRequest struct {
	Title    string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	StartTs  int64  `protobuf:"varint,2,opt,name=start_ts,json=startTs,proto3" json:"start_ts,omitempty"`
	EndTs    int64  `protobuf:"varint,3,opt,name=end_ts,json=endTs,proto3" json:"end_ts,omitempty"`
	Duration int32  `protobuf:"varint,4,opt,name=duration,proto3" json:"duration,omitempty"` // Duration in minutes
	Location string `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

PrecheckScheduleRequest is the request for PrecheckSchedule.

func (*PrecheckScheduleRequest) Descriptor deprecated

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

Deprecated: Use PrecheckScheduleRequest.ProtoReflect.Descriptor instead.

func (*PrecheckScheduleRequest) GetDuration

func (x *PrecheckScheduleRequest) GetDuration() int32

func (*PrecheckScheduleRequest) GetEndTs

func (x *PrecheckScheduleRequest) GetEndTs() int64

func (*PrecheckScheduleRequest) GetLocation

func (x *PrecheckScheduleRequest) GetLocation() string

func (*PrecheckScheduleRequest) GetStartTs

func (x *PrecheckScheduleRequest) GetStartTs() int64

func (*PrecheckScheduleRequest) GetTitle

func (x *PrecheckScheduleRequest) GetTitle() string

func (*PrecheckScheduleRequest) ProtoMessage

func (*PrecheckScheduleRequest) ProtoMessage()

func (*PrecheckScheduleRequest) ProtoReflect

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

func (*PrecheckScheduleRequest) Reset

func (x *PrecheckScheduleRequest) Reset()

func (*PrecheckScheduleRequest) String

func (x *PrecheckScheduleRequest) String() string

type PrecheckScheduleResponse

type PrecheckScheduleResponse struct {
	Valid       bool                  `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
	Errors      []*PrecheckError      `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
	Warnings    []*PrecheckWarning    `protobuf:"bytes,3,rep,name=warnings,proto3" json:"warnings,omitempty"`
	Suggestions []*PrecheckSuggestion `protobuf:"bytes,4,rep,name=suggestions,proto3" json:"suggestions,omitempty"`
	// contains filtered or unexported fields
}

PrecheckScheduleResponse is the response for PrecheckSchedule.

func (*PrecheckScheduleResponse) Descriptor deprecated

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

Deprecated: Use PrecheckScheduleResponse.ProtoReflect.Descriptor instead.

func (*PrecheckScheduleResponse) GetErrors

func (x *PrecheckScheduleResponse) GetErrors() []*PrecheckError

func (*PrecheckScheduleResponse) GetSuggestions

func (x *PrecheckScheduleResponse) GetSuggestions() []*PrecheckSuggestion

func (*PrecheckScheduleResponse) GetValid

func (x *PrecheckScheduleResponse) GetValid() bool

func (*PrecheckScheduleResponse) GetWarnings

func (x *PrecheckScheduleResponse) GetWarnings() []*PrecheckWarning

func (*PrecheckScheduleResponse) ProtoMessage

func (*PrecheckScheduleResponse) ProtoMessage()

func (*PrecheckScheduleResponse) ProtoReflect

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

func (*PrecheckScheduleResponse) Reset

func (x *PrecheckScheduleResponse) Reset()

func (*PrecheckScheduleResponse) String

func (x *PrecheckScheduleResponse) String() string

type PrecheckSuggestion

type PrecheckSuggestion struct {
	Type string           `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // "alternative_time"
	Slot *AlternativeSlot `protobuf:"bytes,2,opt,name=slot,proto3" json:"slot,omitempty"` // Alternative time slot
	// contains filtered or unexported fields
}

PrecheckSuggestion represents a suggestion for schedule correction.

func (*PrecheckSuggestion) Descriptor deprecated

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

Deprecated: Use PrecheckSuggestion.ProtoReflect.Descriptor instead.

func (*PrecheckSuggestion) GetSlot

func (x *PrecheckSuggestion) GetSlot() *AlternativeSlot

func (*PrecheckSuggestion) GetType

func (x *PrecheckSuggestion) GetType() string

func (*PrecheckSuggestion) ProtoMessage

func (*PrecheckSuggestion) ProtoMessage()

func (*PrecheckSuggestion) ProtoReflect

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

func (*PrecheckSuggestion) Reset

func (x *PrecheckSuggestion) Reset()

func (*PrecheckSuggestion) String

func (x *PrecheckSuggestion) String() string

type PrecheckWarning

type PrecheckWarning struct {
	Code    string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`       // Warning code like "OUTSIDE_WORK_HOURS"
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // Human-readable message
	// contains filtered or unexported fields
}

PrecheckWarning represents a validation warning.

func (*PrecheckWarning) Descriptor deprecated

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

Deprecated: Use PrecheckWarning.ProtoReflect.Descriptor instead.

func (*PrecheckWarning) GetCode

func (x *PrecheckWarning) GetCode() string

func (*PrecheckWarning) GetMessage

func (x *PrecheckWarning) GetMessage() string

func (*PrecheckWarning) ProtoMessage

func (*PrecheckWarning) ProtoMessage()

func (*PrecheckWarning) ProtoReflect

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

func (*PrecheckWarning) Reset

func (x *PrecheckWarning) Reset()

func (*PrecheckWarning) String

func (x *PrecheckWarning) String() string

type Reaction

type Reaction struct {

	// The resource name of the reaction.
	// Format: memos/{memo}/reactions/{reaction}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The resource name of the creator.
	// Format: users/{user}
	Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	// The resource name of the content.
	// For memo reactions, this should be the memo's resource name.
	// Format: memos/{memo}
	ContentId string `protobuf:"bytes,3,opt,name=content_id,json=contentId,proto3" json:"content_id,omitempty"`
	// Required. The type of reaction (e.g., "👍", "❤️", "😄").
	ReactionType string `protobuf:"bytes,4,opt,name=reaction_type,json=reactionType,proto3" json:"reaction_type,omitempty"`
	// Output only. The creation timestamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// contains filtered or unexported fields
}

func (*Reaction) Descriptor deprecated

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

Deprecated: Use Reaction.ProtoReflect.Descriptor instead.

func (*Reaction) GetContentId

func (x *Reaction) GetContentId() string

func (*Reaction) GetCreateTime

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

func (*Reaction) GetCreator

func (x *Reaction) GetCreator() string

func (*Reaction) GetName

func (x *Reaction) GetName() string

func (*Reaction) GetReactionType

func (x *Reaction) GetReactionType() string

func (*Reaction) ProtoMessage

func (*Reaction) ProtoMessage()

func (*Reaction) ProtoReflect

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

func (*Reaction) Reset

func (x *Reaction) Reset()

func (*Reaction) String

func (x *Reaction) String() string

type RecordReviewRequest

type RecordReviewRequest struct {
	MemoUid string        `protobuf:"bytes,1,opt,name=memo_uid,json=memoUid,proto3" json:"memo_uid,omitempty"`
	Quality ReviewQuality `protobuf:"varint,2,opt,name=quality,proto3,enum=memos.api.v1.ReviewQuality" json:"quality,omitempty"`
	// contains filtered or unexported fields
}

RecordReviewRequest is the request for RecordReview.

func (*RecordReviewRequest) Descriptor deprecated

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

Deprecated: Use RecordReviewRequest.ProtoReflect.Descriptor instead.

func (*RecordReviewRequest) GetMemoUid

func (x *RecordReviewRequest) GetMemoUid() string

func (*RecordReviewRequest) GetQuality

func (x *RecordReviewRequest) GetQuality() ReviewQuality

func (*RecordReviewRequest) ProtoMessage

func (*RecordReviewRequest) ProtoMessage()

func (*RecordReviewRequest) ProtoReflect

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

func (*RecordReviewRequest) Reset

func (x *RecordReviewRequest) Reset()

func (*RecordReviewRequest) String

func (x *RecordReviewRequest) String() string

type RefreshTokenRequest

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

func (*RefreshTokenRequest) Descriptor deprecated

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

Deprecated: Use RefreshTokenRequest.ProtoReflect.Descriptor instead.

func (*RefreshTokenRequest) ProtoMessage

func (*RefreshTokenRequest) ProtoMessage()

func (*RefreshTokenRequest) ProtoReflect

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

func (*RefreshTokenRequest) Reset

func (x *RefreshTokenRequest) Reset()

func (*RefreshTokenRequest) String

func (x *RefreshTokenRequest) String() string

type RefreshTokenResponse

type RefreshTokenResponse struct {

	// The new short-lived access token.
	AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	// When the access token expires.
	ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	// contains filtered or unexported fields
}

func (*RefreshTokenResponse) Descriptor deprecated

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

Deprecated: Use RefreshTokenResponse.ProtoReflect.Descriptor instead.

func (*RefreshTokenResponse) GetAccessToken

func (x *RefreshTokenResponse) GetAccessToken() string

func (*RefreshTokenResponse) GetExpiresAt

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

func (*RefreshTokenResponse) ProtoMessage

func (*RefreshTokenResponse) ProtoMessage()

func (*RefreshTokenResponse) ProtoReflect

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

func (*RefreshTokenResponse) Reset

func (x *RefreshTokenResponse) Reset()

func (*RefreshTokenResponse) String

func (x *RefreshTokenResponse) String() string

type Reminder

type Reminder struct {
	Type  string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // "before" or "at"
	Value int32  `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	Unit  string `protobuf:"bytes,3,opt,name=unit,proto3" json:"unit,omitempty"` // "minutes", "hours", "days"
	// contains filtered or unexported fields
}

Reminder represents a schedule reminder.

func (*Reminder) Descriptor deprecated

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

Deprecated: Use Reminder.ProtoReflect.Descriptor instead.

func (*Reminder) GetType

func (x *Reminder) GetType() string

func (*Reminder) GetUnit

func (x *Reminder) GetUnit() string

func (*Reminder) GetValue

func (x *Reminder) GetValue() int32

func (*Reminder) ProtoMessage

func (*Reminder) ProtoMessage()

func (*Reminder) ProtoReflect

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

func (*Reminder) Reset

func (x *Reminder) Reset()

func (*Reminder) String

func (x *Reminder) String() string

type ReviewItem

type ReviewItem struct {
	MemoUid      string   `protobuf:"bytes,1,opt,name=memo_uid,json=memoUid,proto3" json:"memo_uid,omitempty"`                   // Memo UID
	MemoName     string   `protobuf:"bytes,2,opt,name=memo_name,json=memoName,proto3" json:"memo_name,omitempty"`                // memos/{uid} format
	Title        string   `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`                                      // Memo title
	Snippet      string   `protobuf:"bytes,4,opt,name=snippet,proto3" json:"snippet,omitempty"`                                  // Content snippet
	Tags         []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"`                                        // Memo tags
	LastReviewTs int64    `protobuf:"varint,6,opt,name=last_review_ts,json=lastReviewTs,proto3" json:"last_review_ts,omitempty"` // Last review timestamp
	ReviewCount  int32    `protobuf:"varint,7,opt,name=review_count,json=reviewCount,proto3" json:"review_count,omitempty"`      // Total review count
	NextReviewTs int64    `protobuf:"varint,8,opt,name=next_review_ts,json=nextReviewTs,proto3" json:"next_review_ts,omitempty"` // Next scheduled review timestamp
	Priority     float64  `protobuf:"fixed64,9,opt,name=priority,proto3" json:"priority,omitempty"`                              // Computed priority score
	CreatedTs    int64    `protobuf:"varint,10,opt,name=created_ts,json=createdTs,proto3" json:"created_ts,omitempty"`           // Memo creation timestamp
	// contains filtered or unexported fields
}

ReviewItem represents a memo in the review queue.

func (*ReviewItem) Descriptor deprecated

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

Deprecated: Use ReviewItem.ProtoReflect.Descriptor instead.

func (*ReviewItem) GetCreatedTs

func (x *ReviewItem) GetCreatedTs() int64

func (*ReviewItem) GetLastReviewTs

func (x *ReviewItem) GetLastReviewTs() int64

func (*ReviewItem) GetMemoName

func (x *ReviewItem) GetMemoName() string

func (*ReviewItem) GetMemoUid

func (x *ReviewItem) GetMemoUid() string

func (*ReviewItem) GetNextReviewTs

func (x *ReviewItem) GetNextReviewTs() int64

func (*ReviewItem) GetPriority

func (x *ReviewItem) GetPriority() float64

func (*ReviewItem) GetReviewCount

func (x *ReviewItem) GetReviewCount() int32

func (*ReviewItem) GetSnippet

func (x *ReviewItem) GetSnippet() string

func (*ReviewItem) GetTags

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

func (*ReviewItem) GetTitle

func (x *ReviewItem) GetTitle() string

func (*ReviewItem) ProtoMessage

func (*ReviewItem) ProtoMessage()

func (*ReviewItem) ProtoReflect

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

func (*ReviewItem) Reset

func (x *ReviewItem) Reset()

func (*ReviewItem) String

func (x *ReviewItem) String() string

type ReviewQuality

type ReviewQuality int32

ReviewQuality represents the user's assessment of recall difficulty.

const (
	ReviewQuality_REVIEW_QUALITY_UNSPECIFIED ReviewQuality = 0
	ReviewQuality_REVIEW_QUALITY_AGAIN       ReviewQuality = 1 // Complete blackout
	ReviewQuality_REVIEW_QUALITY_HARD        ReviewQuality = 2 // Correct with difficulty
	ReviewQuality_REVIEW_QUALITY_GOOD        ReviewQuality = 3 // Correct with hesitation
	ReviewQuality_REVIEW_QUALITY_EASY        ReviewQuality = 4 // Perfect response
)

func (ReviewQuality) Descriptor

func (ReviewQuality) Enum

func (x ReviewQuality) Enum() *ReviewQuality

func (ReviewQuality) EnumDescriptor deprecated

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

Deprecated: Use ReviewQuality.Descriptor instead.

func (ReviewQuality) Number

func (ReviewQuality) String

func (x ReviewQuality) String() string

func (ReviewQuality) Type

type Schedule

type Schedule struct {

	// Format: schedules/{uid}
	Name            string      `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Title           string      `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Description     string      `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Location        string      `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
	StartTs         int64       `protobuf:"varint,5,opt,name=start_ts,json=startTs,proto3" json:"start_ts,omitempty"` // Unix timestamp in seconds
	EndTs           int64       `protobuf:"varint,6,opt,name=end_ts,json=endTs,proto3" json:"end_ts,omitempty"`
	AllDay          bool        `protobuf:"varint,7,opt,name=all_day,json=allDay,proto3" json:"all_day,omitempty"`
	Timezone        string      `protobuf:"bytes,8,opt,name=timezone,proto3" json:"timezone,omitempty"`
	RecurrenceRule  string      `protobuf:"bytes,9,opt,name=recurrence_rule,json=recurrenceRule,proto3" json:"recurrence_rule,omitempty"` // JSON string
	RecurrenceEndTs int64       `protobuf:"varint,10,opt,name=recurrence_end_ts,json=recurrenceEndTs,proto3" json:"recurrence_end_ts,omitempty"`
	Reminders       []*Reminder `protobuf:"bytes,11,rep,name=reminders,proto3" json:"reminders,omitempty"`
	Creator         string      `protobuf:"bytes,12,opt,name=creator,proto3" json:"creator,omitempty"` // Format: users/{id}
	CreatedTs       int64       `protobuf:"varint,13,opt,name=created_ts,json=createdTs,proto3" json:"created_ts,omitempty"`
	UpdatedTs       int64       `protobuf:"varint,14,opt,name=updated_ts,json=updatedTs,proto3" json:"updated_ts,omitempty"`
	State           string      `protobuf:"bytes,15,opt,name=state,proto3" json:"state,omitempty"` // NORMAL, ARCHIVED
	// contains filtered or unexported fields
}

Schedule represents a schedule event.

func (*Schedule) Descriptor deprecated

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

Deprecated: Use Schedule.ProtoReflect.Descriptor instead.

func (*Schedule) GetAllDay

func (x *Schedule) GetAllDay() bool

func (*Schedule) GetCreatedTs

func (x *Schedule) GetCreatedTs() int64

func (*Schedule) GetCreator

func (x *Schedule) GetCreator() string

func (*Schedule) GetDescription

func (x *Schedule) GetDescription() string

func (*Schedule) GetEndTs

func (x *Schedule) GetEndTs() int64

func (*Schedule) GetLocation

func (x *Schedule) GetLocation() string

func (*Schedule) GetName

func (x *Schedule) GetName() string

func (*Schedule) GetRecurrenceEndTs

func (x *Schedule) GetRecurrenceEndTs() int64

func (*Schedule) GetRecurrenceRule

func (x *Schedule) GetRecurrenceRule() string

func (*Schedule) GetReminders

func (x *Schedule) GetReminders() []*Reminder

func (*Schedule) GetStartTs

func (x *Schedule) GetStartTs() int64

func (*Schedule) GetState

func (x *Schedule) GetState() string

func (*Schedule) GetTimezone

func (x *Schedule) GetTimezone() string

func (*Schedule) GetTitle

func (x *Schedule) GetTitle() string

func (*Schedule) GetUpdatedTs

func (x *Schedule) GetUpdatedTs() int64

func (*Schedule) ProtoMessage

func (*Schedule) ProtoMessage()

func (*Schedule) ProtoReflect

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

func (*Schedule) Reset

func (x *Schedule) Reset()

func (*Schedule) String

func (x *Schedule) String() string

type ScheduleAgentChatRequest

type ScheduleAgentChatRequest struct {
	Message      string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`                               // User's message
	UserTimezone string `protobuf:"bytes,2,opt,name=user_timezone,json=userTimezone,proto3" json:"user_timezone,omitempty"` // User's timezone in IANA format (e.g., "Asia/Shanghai")
	// contains filtered or unexported fields
}

ScheduleAgentChatRequest is the request for schedule agent chat.

func (*ScheduleAgentChatRequest) Descriptor deprecated

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

Deprecated: Use ScheduleAgentChatRequest.ProtoReflect.Descriptor instead.

func (*ScheduleAgentChatRequest) GetMessage

func (x *ScheduleAgentChatRequest) GetMessage() string

func (*ScheduleAgentChatRequest) GetUserTimezone

func (x *ScheduleAgentChatRequest) GetUserTimezone() string

func (*ScheduleAgentChatRequest) ProtoMessage

func (*ScheduleAgentChatRequest) ProtoMessage()

func (*ScheduleAgentChatRequest) ProtoReflect

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

func (*ScheduleAgentChatRequest) Reset

func (x *ScheduleAgentChatRequest) Reset()

func (*ScheduleAgentChatRequest) String

func (x *ScheduleAgentChatRequest) String() string

type ScheduleAgentChatResponse

type ScheduleAgentChatResponse struct {
	Response string `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` // Agent's response
	// contains filtered or unexported fields
}

ScheduleAgentChatResponse is the response for schedule agent chat (non-streaming).

func (*ScheduleAgentChatResponse) Descriptor deprecated

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

Deprecated: Use ScheduleAgentChatResponse.ProtoReflect.Descriptor instead.

func (*ScheduleAgentChatResponse) GetResponse

func (x *ScheduleAgentChatResponse) GetResponse() string

func (*ScheduleAgentChatResponse) ProtoMessage

func (*ScheduleAgentChatResponse) ProtoMessage()

func (*ScheduleAgentChatResponse) ProtoReflect

func (*ScheduleAgentChatResponse) Reset

func (x *ScheduleAgentChatResponse) Reset()

func (*ScheduleAgentChatResponse) String

func (x *ScheduleAgentChatResponse) String() string

type ScheduleAgentStreamResponse

type ScheduleAgentStreamResponse struct {
	Event   string `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`     // JSON-encoded event with "type" and "data" fields
	Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // Streaming content chunk
	Done    bool   `protobuf:"varint,3,opt,name=done,proto3" json:"done,omitempty"`      // Stream end marker
	// contains filtered or unexported fields
}

ScheduleAgentStreamResponse is the streaming response for schedule agent chat.

func (*ScheduleAgentStreamResponse) Descriptor deprecated

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

Deprecated: Use ScheduleAgentStreamResponse.ProtoReflect.Descriptor instead.

func (*ScheduleAgentStreamResponse) GetContent

func (x *ScheduleAgentStreamResponse) GetContent() string

func (*ScheduleAgentStreamResponse) GetDone

func (x *ScheduleAgentStreamResponse) GetDone() bool

func (*ScheduleAgentStreamResponse) GetEvent

func (x *ScheduleAgentStreamResponse) GetEvent() string

func (*ScheduleAgentStreamResponse) ProtoMessage

func (*ScheduleAgentStreamResponse) ProtoMessage()

func (*ScheduleAgentStreamResponse) ProtoReflect

func (*ScheduleAgentStreamResponse) Reset

func (x *ScheduleAgentStreamResponse) Reset()

func (*ScheduleAgentStreamResponse) String

func (x *ScheduleAgentStreamResponse) String() string

type ScheduleCreationIntent

type ScheduleCreationIntent struct {
	Detected            bool   `protobuf:"varint,1,opt,name=detected,proto3" json:"detected,omitempty"`                                                 // Whether user wants to create a schedule
	ScheduleDescription string `protobuf:"bytes,2,opt,name=schedule_description,json=scheduleDescription,proto3" json:"schedule_description,omitempty"` // Natural language description of the schedule (e.g., "明天下午2点开会")
	Reasoning           string `protobuf:"bytes,3,opt,name=reasoning,proto3" json:"reasoning,omitempty"`                                                // AI's reasoning for intent detection (optional, for debugging)
	// contains filtered or unexported fields
}

ScheduleCreationIntent represents AI's analysis of user's intent to create a schedule.

func (*ScheduleCreationIntent) Descriptor deprecated

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

Deprecated: Use ScheduleCreationIntent.ProtoReflect.Descriptor instead.

func (*ScheduleCreationIntent) GetDetected

func (x *ScheduleCreationIntent) GetDetected() bool

func (*ScheduleCreationIntent) GetReasoning

func (x *ScheduleCreationIntent) GetReasoning() string

func (*ScheduleCreationIntent) GetScheduleDescription

func (x *ScheduleCreationIntent) GetScheduleDescription() string

func (*ScheduleCreationIntent) ProtoMessage

func (*ScheduleCreationIntent) ProtoMessage()

func (*ScheduleCreationIntent) ProtoReflect

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

func (*ScheduleCreationIntent) Reset

func (x *ScheduleCreationIntent) Reset()

func (*ScheduleCreationIntent) String

func (x *ScheduleCreationIntent) String() string

type ScheduleQueryMode

type ScheduleQueryMode int32

ScheduleQueryMode specifies the query mode for schedule filtering.

const (
	ScheduleQueryMode_AUTO     ScheduleQueryMode = 0 // Auto-select query mode based on query type (relative time → STANDARD, absolute time → STRICT)
	ScheduleQueryMode_STANDARD ScheduleQueryMode = 1 // Standard mode: return schedules that have any part within the query range
	ScheduleQueryMode_STRICT   ScheduleQueryMode = 2 // Strict mode: return only schedules completely within the query range
)

func (ScheduleQueryMode) Descriptor

func (ScheduleQueryMode) Enum

func (ScheduleQueryMode) EnumDescriptor deprecated

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

Deprecated: Use ScheduleQueryMode.Descriptor instead.

func (ScheduleQueryMode) Number

func (ScheduleQueryMode) String

func (x ScheduleQueryMode) String() string

func (ScheduleQueryMode) Type

type ScheduleQueryResult

type ScheduleQueryResult struct {
	Detected             bool               `protobuf:"varint,1,opt,name=detected,proto3" json:"detected,omitempty"`                                                      // Whether the user's intent is to query schedules
	Schedules            []*ScheduleSummary `protobuf:"bytes,2,rep,name=schedules,proto3" json:"schedules,omitempty"`                                                     // Queried schedules matching the user's intent
	TimeRangeDescription string             `protobuf:"bytes,3,opt,name=time_range_description,json=timeRangeDescription,proto3" json:"time_range_description,omitempty"` // Human-readable time range description (e.g., "未来7天", "本周")
	QueryType            string             `protobuf:"bytes,4,opt,name=query_type,json=queryType,proto3" json:"query_type,omitempty"`                                    // Type of query (e.g., "upcoming", "range", "filter")
	// contains filtered or unexported fields
}

ScheduleQueryResult contains the result of schedule query intent detection and the queried schedules.

func (*ScheduleQueryResult) Descriptor deprecated

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

Deprecated: Use ScheduleQueryResult.ProtoReflect.Descriptor instead.

func (*ScheduleQueryResult) GetDetected

func (x *ScheduleQueryResult) GetDetected() bool

func (*ScheduleQueryResult) GetQueryType

func (x *ScheduleQueryResult) GetQueryType() string

func (*ScheduleQueryResult) GetSchedules

func (x *ScheduleQueryResult) GetSchedules() []*ScheduleSummary

func (*ScheduleQueryResult) GetTimeRangeDescription

func (x *ScheduleQueryResult) GetTimeRangeDescription() string

func (*ScheduleQueryResult) ProtoMessage

func (*ScheduleQueryResult) ProtoMessage()

func (*ScheduleQueryResult) ProtoReflect

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

func (*ScheduleQueryResult) Reset

func (x *ScheduleQueryResult) Reset()

func (*ScheduleQueryResult) String

func (x *ScheduleQueryResult) String() string

type ScheduleSummary

type ScheduleSummary struct {
	Uid            string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`                                             // Schedule unique identifier in format "schedules/{uid}"
	Title          string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`                                         // Schedule title
	StartTs        int64  `protobuf:"varint,3,opt,name=start_ts,json=startTs,proto3" json:"start_ts,omitempty"`                     // Start timestamp (Unix timestamp in seconds)
	EndTs          int64  `protobuf:"varint,4,opt,name=end_ts,json=endTs,proto3" json:"end_ts,omitempty"`                           // End timestamp (Unix timestamp in seconds, 0 if not set)
	AllDay         bool   `protobuf:"varint,5,opt,name=all_day,json=allDay,proto3" json:"all_day,omitempty"`                        // Whether this is an all-day event
	Location       string `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"`                                   // Event location (optional)
	RecurrenceRule string `protobuf:"bytes,7,opt,name=recurrence_rule,json=recurrenceRule,proto3" json:"recurrence_rule,omitempty"` // Recurrence rule in JSON format (empty if not recurring)
	Status         string `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`                                       // Schedule status (e.g., "ACTIVE", "CANCELLED")
	// contains filtered or unexported fields
}

ScheduleSummary represents a simplified schedule for query results. This avoids circular dependencies with the full Schedule message in schedule_service.proto.

func (*ScheduleSummary) Descriptor deprecated

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

Deprecated: Use ScheduleSummary.ProtoReflect.Descriptor instead.

func (*ScheduleSummary) GetAllDay

func (x *ScheduleSummary) GetAllDay() bool

func (*ScheduleSummary) GetEndTs

func (x *ScheduleSummary) GetEndTs() int64

func (*ScheduleSummary) GetLocation

func (x *ScheduleSummary) GetLocation() string

func (*ScheduleSummary) GetRecurrenceRule

func (x *ScheduleSummary) GetRecurrenceRule() string

func (*ScheduleSummary) GetStartTs

func (x *ScheduleSummary) GetStartTs() int64

func (*ScheduleSummary) GetStatus

func (x *ScheduleSummary) GetStatus() string

func (*ScheduleSummary) GetTitle

func (x *ScheduleSummary) GetTitle() string

func (*ScheduleSummary) GetUid

func (x *ScheduleSummary) GetUid() string

func (*ScheduleSummary) ProtoMessage

func (*ScheduleSummary) ProtoMessage()

func (*ScheduleSummary) ProtoReflect

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

func (*ScheduleSummary) Reset

func (x *ScheduleSummary) Reset()

func (*ScheduleSummary) String

func (x *ScheduleSummary) String() string

type SearchResult

type SearchResult struct {
	Name    string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`       // memos/{id}
	Snippet string  `protobuf:"bytes,2,opt,name=snippet,proto3" json:"snippet,omitempty"` // content snippet
	Score   float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"`   // relevance score
	// contains filtered or unexported fields
}

SearchResult represents a single search result.

func (*SearchResult) Descriptor deprecated

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

Deprecated: Use SearchResult.ProtoReflect.Descriptor instead.

func (*SearchResult) GetName

func (x *SearchResult) GetName() string

func (*SearchResult) GetScore

func (x *SearchResult) GetScore() float32

func (*SearchResult) GetSnippet

func (x *SearchResult) GetSnippet() string

func (*SearchResult) ProtoMessage

func (*SearchResult) ProtoMessage()

func (*SearchResult) ProtoReflect

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

func (*SearchResult) Reset

func (x *SearchResult) Reset()

func (*SearchResult) String

func (x *SearchResult) String() string

type SearchWithHighlightRequest

type SearchWithHighlightRequest struct {

	// Required. The search query.
	Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// Optional. Maximum number of results to return. Default: 20, Max: 100.
	Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// Optional. Number of characters to include around each match. Default: 50.
	ContextChars int32 `protobuf:"varint,3,opt,name=context_chars,json=contextChars,proto3" json:"context_chars,omitempty"`
	// contains filtered or unexported fields
}

SearchWithHighlightRequest is the request for SearchWithHighlight.

func (*SearchWithHighlightRequest) Descriptor deprecated

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

Deprecated: Use SearchWithHighlightRequest.ProtoReflect.Descriptor instead.

func (*SearchWithHighlightRequest) GetContextChars

func (x *SearchWithHighlightRequest) GetContextChars() int32

func (*SearchWithHighlightRequest) GetLimit

func (x *SearchWithHighlightRequest) GetLimit() int32

func (*SearchWithHighlightRequest) GetQuery

func (x *SearchWithHighlightRequest) GetQuery() string

func (*SearchWithHighlightRequest) ProtoMessage

func (*SearchWithHighlightRequest) ProtoMessage()

func (*SearchWithHighlightRequest) ProtoReflect

func (*SearchWithHighlightRequest) Reset

func (x *SearchWithHighlightRequest) Reset()

func (*SearchWithHighlightRequest) String

func (x *SearchWithHighlightRequest) String() string

type SearchWithHighlightResponse

type SearchWithHighlightResponse struct {

	// The list of highlighted memos.
	Memos []*HighlightedMemo `protobuf:"bytes,1,rep,name=memos,proto3" json:"memos,omitempty"`
	// contains filtered or unexported fields
}

SearchWithHighlightResponse is the response for SearchWithHighlight.

func (*SearchWithHighlightResponse) Descriptor deprecated

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

Deprecated: Use SearchWithHighlightResponse.ProtoReflect.Descriptor instead.

func (*SearchWithHighlightResponse) GetMemos

func (*SearchWithHighlightResponse) ProtoMessage

func (*SearchWithHighlightResponse) ProtoMessage()

func (*SearchWithHighlightResponse) ProtoReflect

func (*SearchWithHighlightResponse) Reset

func (x *SearchWithHighlightResponse) Reset()

func (*SearchWithHighlightResponse) String

func (x *SearchWithHighlightResponse) String() string

type SemanticSearchRequest

type SemanticSearchRequest struct {
	Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Limit int32  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // default: 10, max: 50
	// contains filtered or unexported fields
}

SemanticSearchRequest is the request for SemanticSearch.

func (*SemanticSearchRequest) Descriptor deprecated

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

Deprecated: Use SemanticSearchRequest.ProtoReflect.Descriptor instead.

func (*SemanticSearchRequest) GetLimit

func (x *SemanticSearchRequest) GetLimit() int32

func (*SemanticSearchRequest) GetQuery

func (x *SemanticSearchRequest) GetQuery() string

func (*SemanticSearchRequest) ProtoMessage

func (*SemanticSearchRequest) ProtoMessage()

func (*SemanticSearchRequest) ProtoReflect

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

func (*SemanticSearchRequest) Reset

func (x *SemanticSearchRequest) Reset()

func (*SemanticSearchRequest) String

func (x *SemanticSearchRequest) String() string

type SemanticSearchResponse

type SemanticSearchResponse struct {
	Results []*SearchResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

SemanticSearchResponse is the response for SemanticSearch.

func (*SemanticSearchResponse) Descriptor deprecated

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

Deprecated: Use SemanticSearchResponse.ProtoReflect.Descriptor instead.

func (*SemanticSearchResponse) GetResults

func (x *SemanticSearchResponse) GetResults() []*SearchResult

func (*SemanticSearchResponse) ProtoMessage

func (*SemanticSearchResponse) ProtoMessage()

func (*SemanticSearchResponse) ProtoReflect

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

func (*SemanticSearchResponse) Reset

func (x *SemanticSearchResponse) Reset()

func (*SemanticSearchResponse) String

func (x *SemanticSearchResponse) String() string

type SetMemoAttachmentsRequest

type SetMemoAttachmentsRequest struct {

	// Required. The resource name of the memo.
	// Format: memos/{memo}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The attachments to set for the memo.
	Attachments []*Attachment `protobuf:"bytes,2,rep,name=attachments,proto3" json:"attachments,omitempty"`
	// contains filtered or unexported fields
}

func (*SetMemoAttachmentsRequest) Descriptor deprecated

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

Deprecated: Use SetMemoAttachmentsRequest.ProtoReflect.Descriptor instead.

func (*SetMemoAttachmentsRequest) GetAttachments

func (x *SetMemoAttachmentsRequest) GetAttachments() []*Attachment

func (*SetMemoAttachmentsRequest) GetName

func (x *SetMemoAttachmentsRequest) GetName() string

func (*SetMemoAttachmentsRequest) ProtoMessage

func (*SetMemoAttachmentsRequest) ProtoMessage()

func (*SetMemoAttachmentsRequest) ProtoReflect

func (*SetMemoAttachmentsRequest) Reset

func (x *SetMemoAttachmentsRequest) Reset()

func (*SetMemoAttachmentsRequest) String

func (x *SetMemoAttachmentsRequest) String() string

type SetMemoRelationsRequest

type SetMemoRelationsRequest struct {

	// Required. The resource name of the memo.
	// Format: memos/{memo}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The relations to set for the memo.
	Relations []*MemoRelation `protobuf:"bytes,2,rep,name=relations,proto3" json:"relations,omitempty"`
	// contains filtered or unexported fields
}

func (*SetMemoRelationsRequest) Descriptor deprecated

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

Deprecated: Use SetMemoRelationsRequest.ProtoReflect.Descriptor instead.

func (*SetMemoRelationsRequest) GetName

func (x *SetMemoRelationsRequest) GetName() string

func (*SetMemoRelationsRequest) GetRelations

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

func (*SetMemoRelationsRequest) ProtoMessage

func (*SetMemoRelationsRequest) ProtoMessage()

func (*SetMemoRelationsRequest) ProtoReflect

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

func (*SetMemoRelationsRequest) Reset

func (x *SetMemoRelationsRequest) Reset()

func (*SetMemoRelationsRequest) String

func (x *SetMemoRelationsRequest) String() string

type Shortcut

type Shortcut struct {

	// The resource name of the shortcut.
	// Format: users/{user}/shortcuts/{shortcut}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The title of the shortcut.
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// The filter expression for the shortcut.
	Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*Shortcut) Descriptor deprecated

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

Deprecated: Use Shortcut.ProtoReflect.Descriptor instead.

func (*Shortcut) GetFilter

func (x *Shortcut) GetFilter() string

func (*Shortcut) GetName

func (x *Shortcut) GetName() string

func (*Shortcut) GetTitle

func (x *Shortcut) GetTitle() string

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 SignInRequest

type SignInRequest struct {

	// Authentication credentials. Provide one method.
	//
	// Types that are valid to be assigned to Credentials:
	//
	//	*SignInRequest_PasswordCredentials_
	//	*SignInRequest_SsoCredentials
	Credentials isSignInRequest_Credentials `protobuf_oneof:"credentials"`
	// contains filtered or unexported fields
}

func (*SignInRequest) Descriptor deprecated

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

Deprecated: Use SignInRequest.ProtoReflect.Descriptor instead.

func (*SignInRequest) GetCredentials

func (x *SignInRequest) GetCredentials() isSignInRequest_Credentials

func (*SignInRequest) GetPasswordCredentials

func (x *SignInRequest) GetPasswordCredentials() *SignInRequest_PasswordCredentials

func (*SignInRequest) GetSsoCredentials

func (x *SignInRequest) GetSsoCredentials() *SignInRequest_SSOCredentials

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 SignInRequest_PasswordCredentials

type SignInRequest_PasswordCredentials struct {

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

Nested message for password-based authentication credentials.

func (*SignInRequest_PasswordCredentials) Descriptor deprecated

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

Deprecated: Use SignInRequest_PasswordCredentials.ProtoReflect.Descriptor instead.

func (*SignInRequest_PasswordCredentials) GetPassword

func (x *SignInRequest_PasswordCredentials) GetPassword() string

func (*SignInRequest_PasswordCredentials) GetUsername

func (x *SignInRequest_PasswordCredentials) GetUsername() string

func (*SignInRequest_PasswordCredentials) ProtoMessage

func (*SignInRequest_PasswordCredentials) ProtoMessage()

func (*SignInRequest_PasswordCredentials) ProtoReflect

func (*SignInRequest_PasswordCredentials) Reset

func (*SignInRequest_PasswordCredentials) String

type SignInRequest_PasswordCredentials_

type SignInRequest_PasswordCredentials_ struct {
	// Username and password authentication.
	PasswordCredentials *SignInRequest_PasswordCredentials `protobuf:"bytes,1,opt,name=password_credentials,json=passwordCredentials,proto3,oneof"`
}

type SignInRequest_SSOCredentials

type SignInRequest_SSOCredentials struct {

	// The ID of the SSO provider.
	IdpId int32 `protobuf:"varint,1,opt,name=idp_id,json=idpId,proto3" json:"idp_id,omitempty"`
	// The authorization code from the SSO provider.
	Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	// The redirect URI used in the SSO flow.
	RedirectUri string `protobuf:"bytes,3,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
	// The PKCE code verifier for enhanced security (RFC 7636).
	// Optional - enables PKCE flow protection against authorization code interception.
	CodeVerifier string `protobuf:"bytes,4,opt,name=code_verifier,json=codeVerifier,proto3" json:"code_verifier,omitempty"`
	// contains filtered or unexported fields
}

Nested message for SSO authentication credentials.

func (*SignInRequest_SSOCredentials) Descriptor deprecated

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

Deprecated: Use SignInRequest_SSOCredentials.ProtoReflect.Descriptor instead.

func (*SignInRequest_SSOCredentials) GetCode

func (x *SignInRequest_SSOCredentials) GetCode() string

func (*SignInRequest_SSOCredentials) GetCodeVerifier

func (x *SignInRequest_SSOCredentials) GetCodeVerifier() string

func (*SignInRequest_SSOCredentials) GetIdpId

func (x *SignInRequest_SSOCredentials) GetIdpId() int32

func (*SignInRequest_SSOCredentials) GetRedirectUri

func (x *SignInRequest_SSOCredentials) GetRedirectUri() string

func (*SignInRequest_SSOCredentials) ProtoMessage

func (*SignInRequest_SSOCredentials) ProtoMessage()

func (*SignInRequest_SSOCredentials) ProtoReflect

func (*SignInRequest_SSOCredentials) Reset

func (x *SignInRequest_SSOCredentials) Reset()

func (*SignInRequest_SSOCredentials) String

type SignInRequest_SsoCredentials

type SignInRequest_SsoCredentials struct {
	// SSO provider authentication.
	SsoCredentials *SignInRequest_SSOCredentials `protobuf:"bytes,2,opt,name=sso_credentials,json=ssoCredentials,proto3,oneof"`
}

type SignInResponse

type SignInResponse struct {

	// The authenticated user's information.
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// The short-lived access token for API requests.
	// Store in memory only, not in localStorage.
	AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	// When the access token expires.
	// Client should call RefreshToken before this time.
	AccessTokenExpiresAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=access_token_expires_at,json=accessTokenExpiresAt,proto3" json:"access_token_expires_at,omitempty"`
	// contains filtered or unexported fields
}

func (*SignInResponse) Descriptor deprecated

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

Deprecated: Use SignInResponse.ProtoReflect.Descriptor instead.

func (*SignInResponse) GetAccessToken

func (x *SignInResponse) GetAccessToken() string

func (*SignInResponse) GetAccessTokenExpiresAt

func (x *SignInResponse) GetAccessTokenExpiresAt() *timestamppb.Timestamp

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 SimilarMemo

type SimilarMemo struct {
	Id         string               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                   // Memo ID
	Name       string               `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                               // Memo resource name (memos/{uid})
	Title      string               `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`                             // Memo title
	Snippet    string               `protobuf:"bytes,4,opt,name=snippet,proto3" json:"snippet,omitempty"`                         // Content snippet
	Similarity float64              `protobuf:"fixed64,5,opt,name=similarity,proto3" json:"similarity,omitempty"`                 // Similarity score (0-1)
	SharedTags []string             `protobuf:"bytes,6,rep,name=shared_tags,json=sharedTags,proto3" json:"shared_tags,omitempty"` // Tags shared with input
	Level      string               `protobuf:"bytes,7,opt,name=level,proto3" json:"level,omitempty"`                             // "duplicate" or "related"
	Breakdown  *SimilarityBreakdown `protobuf:"bytes,8,opt,name=breakdown,proto3" json:"breakdown,omitempty"`                     // Similarity breakdown
	// contains filtered or unexported fields
}

SimilarMemo represents a memo similar to the input.

func (*SimilarMemo) Descriptor deprecated

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

Deprecated: Use SimilarMemo.ProtoReflect.Descriptor instead.

func (*SimilarMemo) GetBreakdown

func (x *SimilarMemo) GetBreakdown() *SimilarityBreakdown

func (*SimilarMemo) GetId

func (x *SimilarMemo) GetId() string

func (*SimilarMemo) GetLevel

func (x *SimilarMemo) GetLevel() string

func (*SimilarMemo) GetName

func (x *SimilarMemo) GetName() string

func (*SimilarMemo) GetSharedTags

func (x *SimilarMemo) GetSharedTags() []string

func (*SimilarMemo) GetSimilarity

func (x *SimilarMemo) GetSimilarity() float64

func (*SimilarMemo) GetSnippet

func (x *SimilarMemo) GetSnippet() string

func (*SimilarMemo) GetTitle

func (x *SimilarMemo) GetTitle() string

func (*SimilarMemo) ProtoMessage

func (*SimilarMemo) ProtoMessage()

func (*SimilarMemo) ProtoReflect

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

func (*SimilarMemo) Reset

func (x *SimilarMemo) Reset()

func (*SimilarMemo) String

func (x *SimilarMemo) String() string

type SimilarityBreakdown

type SimilarityBreakdown struct {
	Vector     float64 `protobuf:"fixed64,1,opt,name=vector,proto3" json:"vector,omitempty"`                             // Vector similarity score
	TagCoOccur float64 `protobuf:"fixed64,2,opt,name=tag_co_occur,json=tagCoOccur,proto3" json:"tag_co_occur,omitempty"` // Tag co-occurrence score
	TimeProx   float64 `protobuf:"fixed64,3,opt,name=time_prox,json=timeProx,proto3" json:"time_prox,omitempty"`         // Time proximity score
	// contains filtered or unexported fields
}

SimilarityBreakdown shows how similarity was calculated.

func (*SimilarityBreakdown) Descriptor deprecated

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

Deprecated: Use SimilarityBreakdown.ProtoReflect.Descriptor instead.

func (*SimilarityBreakdown) GetTagCoOccur

func (x *SimilarityBreakdown) GetTagCoOccur() float64

func (*SimilarityBreakdown) GetTimeProx

func (x *SimilarityBreakdown) GetTimeProx() float64

func (*SimilarityBreakdown) GetVector

func (x *SimilarityBreakdown) GetVector() float64

func (*SimilarityBreakdown) ProtoMessage

func (*SimilarityBreakdown) ProtoMessage()

func (*SimilarityBreakdown) ProtoReflect

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

func (*SimilarityBreakdown) Reset

func (x *SimilarityBreakdown) Reset()

func (*SimilarityBreakdown) String

func (x *SimilarityBreakdown) String() string

type State

type State int32
const (
	State_STATE_UNSPECIFIED State = 0
	State_NORMAL            State = 1
	State_ARCHIVED          State = 2
)

func (State) Descriptor

func (State) Descriptor() protoreflect.EnumDescriptor

func (State) Enum

func (x State) Enum() *State

func (State) EnumDescriptor deprecated

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

Deprecated: Use State.Descriptor instead.

func (State) Number

func (x State) Number() protoreflect.EnumNumber

func (State) String

func (x State) String() string

func (State) Type

func (State) Type() protoreflect.EnumType

type SuggestTagsRequest

type SuggestTagsRequest struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	Limit   int32  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // default: 5
	// contains filtered or unexported fields
}

SuggestTagsRequest is the request for SuggestTags.

func (*SuggestTagsRequest) Descriptor deprecated

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

Deprecated: Use SuggestTagsRequest.ProtoReflect.Descriptor instead.

func (*SuggestTagsRequest) GetContent

func (x *SuggestTagsRequest) GetContent() string

func (*SuggestTagsRequest) GetLimit

func (x *SuggestTagsRequest) GetLimit() int32

func (*SuggestTagsRequest) ProtoMessage

func (*SuggestTagsRequest) ProtoMessage()

func (*SuggestTagsRequest) ProtoReflect

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

func (*SuggestTagsRequest) Reset

func (x *SuggestTagsRequest) Reset()

func (*SuggestTagsRequest) String

func (x *SuggestTagsRequest) String() string

type SuggestTagsResponse

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

SuggestTagsResponse is the response for SuggestTags.

func (*SuggestTagsResponse) Descriptor deprecated

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

Deprecated: Use SuggestTagsResponse.ProtoReflect.Descriptor instead.

func (*SuggestTagsResponse) GetTags

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

func (*SuggestTagsResponse) ProtoMessage

func (*SuggestTagsResponse) ProtoMessage()

func (*SuggestTagsResponse) ProtoReflect

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

func (*SuggestTagsResponse) Reset

func (x *SuggestTagsResponse) Reset()

func (*SuggestTagsResponse) String

func (x *SuggestTagsResponse) String() string

type UpdateAIConversationRequest

type UpdateAIConversationRequest struct {
	Id     int32   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Title  *string `protobuf:"bytes,2,opt,name=title,proto3,oneof" json:"title,omitempty"`
	Pinned *bool   `protobuf:"varint,3,opt,name=pinned,proto3,oneof" json:"pinned,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAIConversationRequest) Descriptor deprecated

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

Deprecated: Use UpdateAIConversationRequest.ProtoReflect.Descriptor instead.

func (*UpdateAIConversationRequest) GetId

func (*UpdateAIConversationRequest) GetPinned

func (x *UpdateAIConversationRequest) GetPinned() bool

func (*UpdateAIConversationRequest) GetTitle

func (x *UpdateAIConversationRequest) GetTitle() string

func (*UpdateAIConversationRequest) ProtoMessage

func (*UpdateAIConversationRequest) ProtoMessage()

func (*UpdateAIConversationRequest) ProtoReflect

func (*UpdateAIConversationRequest) Reset

func (x *UpdateAIConversationRequest) Reset()

func (*UpdateAIConversationRequest) String

func (x *UpdateAIConversationRequest) String() string

type UpdateAttachmentRequest

type UpdateAttachmentRequest struct {

	// Required. The attachment which replaces the attachment on the server.
	Attachment *Attachment `protobuf:"bytes,1,opt,name=attachment,proto3" json:"attachment,omitempty"`
	// Required. The list of fields to update.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAttachmentRequest) Descriptor deprecated

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

Deprecated: Use UpdateAttachmentRequest.ProtoReflect.Descriptor instead.

func (*UpdateAttachmentRequest) GetAttachment

func (x *UpdateAttachmentRequest) GetAttachment() *Attachment

func (*UpdateAttachmentRequest) GetUpdateMask

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

func (*UpdateAttachmentRequest) ProtoMessage

func (*UpdateAttachmentRequest) ProtoMessage()

func (*UpdateAttachmentRequest) ProtoReflect

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

func (*UpdateAttachmentRequest) Reset

func (x *UpdateAttachmentRequest) Reset()

func (*UpdateAttachmentRequest) String

func (x *UpdateAttachmentRequest) String() string

type UpdateIdentityProviderRequest

type UpdateIdentityProviderRequest struct {

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

func (*UpdateIdentityProviderRequest) Descriptor deprecated

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

Deprecated: Use UpdateIdentityProviderRequest.ProtoReflect.Descriptor instead.

func (*UpdateIdentityProviderRequest) GetIdentityProvider

func (x *UpdateIdentityProviderRequest) GetIdentityProvider() *IdentityProvider

func (*UpdateIdentityProviderRequest) GetUpdateMask

func (*UpdateIdentityProviderRequest) ProtoMessage

func (*UpdateIdentityProviderRequest) ProtoMessage()

func (*UpdateIdentityProviderRequest) ProtoReflect

func (*UpdateIdentityProviderRequest) Reset

func (x *UpdateIdentityProviderRequest) Reset()

func (*UpdateIdentityProviderRequest) String

type UpdateInstanceSettingRequest

type UpdateInstanceSettingRequest struct {

	// The instance setting resource which replaces the resource on the server.
	Setting *InstanceSetting `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,omitempty"`
	// The list of fields to update.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request message for UpdateInstanceSetting method.

func (*UpdateInstanceSettingRequest) Descriptor deprecated

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

Deprecated: Use UpdateInstanceSettingRequest.ProtoReflect.Descriptor instead.

func (*UpdateInstanceSettingRequest) GetSetting

func (*UpdateInstanceSettingRequest) GetUpdateMask

func (*UpdateInstanceSettingRequest) ProtoMessage

func (*UpdateInstanceSettingRequest) ProtoMessage()

func (*UpdateInstanceSettingRequest) ProtoReflect

func (*UpdateInstanceSettingRequest) Reset

func (x *UpdateInstanceSettingRequest) Reset()

func (*UpdateInstanceSettingRequest) String

type UpdateMemoRequest

type UpdateMemoRequest struct {

	// Required. The memo to update.
	// The `name` field is required.
	Memo *Memo `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
	// Required. The list of fields to update.
	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 UpdateScheduleRequest

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

UpdateScheduleRequest is the request for UpdateSchedule.

func (*UpdateScheduleRequest) Descriptor deprecated

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

Deprecated: Use UpdateScheduleRequest.ProtoReflect.Descriptor instead.

func (*UpdateScheduleRequest) GetSchedule

func (x *UpdateScheduleRequest) GetSchedule() *Schedule

func (*UpdateScheduleRequest) GetUpdateMask

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

func (*UpdateScheduleRequest) ProtoMessage

func (*UpdateScheduleRequest) ProtoMessage()

func (*UpdateScheduleRequest) ProtoReflect

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

func (*UpdateScheduleRequest) Reset

func (x *UpdateScheduleRequest) Reset()

func (*UpdateScheduleRequest) String

func (x *UpdateScheduleRequest) String() string

type UpdateShortcutRequest

type UpdateShortcutRequest struct {

	// Required. The shortcut resource which replaces the resource on the server.
	Shortcut *Shortcut `protobuf:"bytes,1,opt,name=shortcut,proto3" json:"shortcut,omitempty"`
	// Optional. The list of fields to update.
	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 UpdateUserNotificationRequest

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

func (*UpdateUserNotificationRequest) Descriptor deprecated

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

Deprecated: Use UpdateUserNotificationRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserNotificationRequest) GetNotification

func (x *UpdateUserNotificationRequest) GetNotification() *UserNotification

func (*UpdateUserNotificationRequest) GetUpdateMask

func (*UpdateUserNotificationRequest) ProtoMessage

func (*UpdateUserNotificationRequest) ProtoMessage()

func (*UpdateUserNotificationRequest) ProtoReflect

func (*UpdateUserNotificationRequest) Reset

func (x *UpdateUserNotificationRequest) Reset()

func (*UpdateUserNotificationRequest) String

type UpdateUserRequest

type UpdateUserRequest struct {

	// Required. The user to update.
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// Required. The list of fields to update.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Optional. If set to true, allows updating sensitive fields.
	AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserRequest) Descriptor deprecated

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

Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserRequest) GetAllowMissing

func (x *UpdateUserRequest) GetAllowMissing() bool

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 UpdateUserSettingRequest

type UpdateUserSettingRequest struct {

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

func (*UpdateUserSettingRequest) Descriptor deprecated

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

Deprecated: Use UpdateUserSettingRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserSettingRequest) GetSetting

func (x *UpdateUserSettingRequest) GetSetting() *UserSetting

func (*UpdateUserSettingRequest) GetUpdateMask

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

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 UpdateUserWebhookRequest

type UpdateUserWebhookRequest struct {

	// The webhook to update.
	Webhook *UserWebhook `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,omitempty"`
	// The list of fields to update.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserWebhookRequest) Descriptor deprecated

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

Deprecated: Use UpdateUserWebhookRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserWebhookRequest) GetUpdateMask

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

func (*UpdateUserWebhookRequest) GetWebhook

func (x *UpdateUserWebhookRequest) GetWebhook() *UserWebhook

func (*UpdateUserWebhookRequest) ProtoMessage

func (*UpdateUserWebhookRequest) ProtoMessage()

func (*UpdateUserWebhookRequest) ProtoReflect

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

func (*UpdateUserWebhookRequest) Reset

func (x *UpdateUserWebhookRequest) Reset()

func (*UpdateUserWebhookRequest) String

func (x *UpdateUserWebhookRequest) String() string

type UpsertMemoReactionRequest

type UpsertMemoReactionRequest struct {

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

func (*UpsertMemoReactionRequest) Descriptor deprecated

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

Deprecated: Use UpsertMemoReactionRequest.ProtoReflect.Descriptor instead.

func (*UpsertMemoReactionRequest) GetName

func (x *UpsertMemoReactionRequest) GetName() string

func (*UpsertMemoReactionRequest) GetReaction

func (x *UpsertMemoReactionRequest) GetReaction() *Reaction

func (*UpsertMemoReactionRequest) ProtoMessage

func (*UpsertMemoReactionRequest) ProtoMessage()

func (*UpsertMemoReactionRequest) ProtoReflect

func (*UpsertMemoReactionRequest) Reset

func (x *UpsertMemoReactionRequest) Reset()

func (*UpsertMemoReactionRequest) String

func (x *UpsertMemoReactionRequest) String() string

type User

type User struct {

	// The resource name of the user.
	// Format: users/{user}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The role of the user.
	Role User_Role `protobuf:"varint,2,opt,name=role,proto3,enum=memos.api.v1.User_Role" json:"role,omitempty"`
	// Required. The unique username for login.
	Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	// Optional. The email address of the user.
	Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	// Optional. The display name of the user.
	DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional. The avatar URL of the user.
	AvatarUrl string `protobuf:"bytes,6,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	// Optional. The description of the user.
	Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
	// Input only. The password for the user.
	Password string `protobuf:"bytes,8,opt,name=password,proto3" json:"password,omitempty"`
	// The state of the user.
	State State `protobuf:"varint,9,opt,name=state,proto3,enum=memos.api.v1.State" json:"state,omitempty"`
	// Output only. The creation timestamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The last update timestamp.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAvatarUrl

func (x *User) GetAvatarUrl() string

func (*User) GetCreateTime

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

func (*User) GetDescription

func (x *User) GetDescription() string

func (*User) GetDisplayName

func (x *User) GetDisplayName() string

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetName

func (x *User) GetName() string

func (*User) GetPassword

func (x *User) GetPassword() string

func (*User) GetRole

func (x *User) GetRole() User_Role

func (*User) GetState

func (x *User) GetState() State

func (*User) GetUpdateTime

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

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type UserNotification

type UserNotification struct {

	// The resource name of the notification.
	// Format: users/{user}/notifications/{notification}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The sender of the notification.
	// Format: users/{user}
	Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
	// The status of the notification.
	Status UserNotification_Status `protobuf:"varint,3,opt,name=status,proto3,enum=memos.api.v1.UserNotification_Status" json:"status,omitempty"`
	// The creation timestamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The type of the notification.
	Type UserNotification_Type `protobuf:"varint,5,opt,name=type,proto3,enum=memos.api.v1.UserNotification_Type" json:"type,omitempty"`
	// The activity ID associated with this notification.
	ActivityId *int32 `protobuf:"varint,6,opt,name=activity_id,json=activityId,proto3,oneof" json:"activity_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UserNotification) Descriptor deprecated

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

Deprecated: Use UserNotification.ProtoReflect.Descriptor instead.

func (*UserNotification) GetActivityId

func (x *UserNotification) GetActivityId() int32

func (*UserNotification) GetCreateTime

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

func (*UserNotification) GetName

func (x *UserNotification) GetName() string

func (*UserNotification) GetSender

func (x *UserNotification) GetSender() string

func (*UserNotification) GetStatus

func (*UserNotification) GetType

func (*UserNotification) ProtoMessage

func (*UserNotification) ProtoMessage()

func (*UserNotification) ProtoReflect

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

func (*UserNotification) Reset

func (x *UserNotification) Reset()

func (*UserNotification) String

func (x *UserNotification) String() string

type UserNotification_Status

type UserNotification_Status int32
const (
	UserNotification_STATUS_UNSPECIFIED UserNotification_Status = 0
	UserNotification_UNREAD             UserNotification_Status = 1
	UserNotification_ARCHIVED           UserNotification_Status = 2
)

func (UserNotification_Status) Descriptor

func (UserNotification_Status) Enum

func (UserNotification_Status) EnumDescriptor deprecated

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

Deprecated: Use UserNotification_Status.Descriptor instead.

func (UserNotification_Status) Number

func (UserNotification_Status) String

func (x UserNotification_Status) String() string

func (UserNotification_Status) Type

type UserNotification_Type

type UserNotification_Type int32
const (
	UserNotification_TYPE_UNSPECIFIED UserNotification_Type = 0
	UserNotification_MEMO_COMMENT     UserNotification_Type = 1
)

func (UserNotification_Type) Descriptor

func (UserNotification_Type) Enum

func (UserNotification_Type) EnumDescriptor deprecated

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

Deprecated: Use UserNotification_Type.Descriptor instead.

func (UserNotification_Type) Number

func (UserNotification_Type) String

func (x UserNotification_Type) String() string

func (UserNotification_Type) Type

type UserSetting

type UserSetting struct {

	// The name of the user setting.
	// Format: users/{user}/settings/{setting}, {setting} is the key for the setting.
	// For example, "users/123/settings/GENERAL" for general settings.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are valid to be assigned to Value:
	//
	//	*UserSetting_GeneralSetting_
	//	*UserSetting_WebhooksSetting_
	Value isUserSetting_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

User settings message

func (*UserSetting) Descriptor deprecated

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

Deprecated: Use UserSetting.ProtoReflect.Descriptor instead.

func (*UserSetting) GetGeneralSetting

func (x *UserSetting) GetGeneralSetting() *UserSetting_GeneralSetting

func (*UserSetting) GetName

func (x *UserSetting) GetName() string

func (*UserSetting) GetValue

func (x *UserSetting) GetValue() isUserSetting_Value

func (*UserSetting) GetWebhooksSetting

func (x *UserSetting) GetWebhooksSetting() *UserSetting_WebhooksSetting

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 UserSetting_GeneralSetting

type UserSetting_GeneralSetting struct {

	// The preferred locale of the user.
	Locale string `protobuf:"bytes,1,opt,name=locale,proto3" json:"locale,omitempty"`
	// The default visibility of the memo.
	MemoVisibility string `protobuf:"bytes,3,opt,name=memo_visibility,json=memoVisibility,proto3" json:"memo_visibility,omitempty"`
	// The preferred theme of the user.
	// This references a CSS file in the web/public/themes/ directory.
	// If not set, the default theme will be used.
	Theme string `protobuf:"bytes,4,opt,name=theme,proto3" json:"theme,omitempty"`
	// contains filtered or unexported fields
}

General user settings configuration.

func (*UserSetting_GeneralSetting) Descriptor deprecated

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

Deprecated: Use UserSetting_GeneralSetting.ProtoReflect.Descriptor instead.

func (*UserSetting_GeneralSetting) GetLocale

func (x *UserSetting_GeneralSetting) GetLocale() string

func (*UserSetting_GeneralSetting) GetMemoVisibility

func (x *UserSetting_GeneralSetting) GetMemoVisibility() string

func (*UserSetting_GeneralSetting) GetTheme

func (x *UserSetting_GeneralSetting) GetTheme() string

func (*UserSetting_GeneralSetting) ProtoMessage

func (*UserSetting_GeneralSetting) ProtoMessage()

func (*UserSetting_GeneralSetting) ProtoReflect

func (*UserSetting_GeneralSetting) Reset

func (x *UserSetting_GeneralSetting) Reset()

func (*UserSetting_GeneralSetting) String

func (x *UserSetting_GeneralSetting) String() string

type UserSetting_GeneralSetting_

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

type UserSetting_Key

type UserSetting_Key int32

Enumeration of user setting keys.

const (
	UserSetting_KEY_UNSPECIFIED UserSetting_Key = 0
	// GENERAL is the key for general user settings.
	UserSetting_GENERAL UserSetting_Key = 1
	// WEBHOOKS is the key for user webhooks.
	UserSetting_WEBHOOKS UserSetting_Key = 4
)

func (UserSetting_Key) Descriptor

func (UserSetting_Key) Enum

func (x UserSetting_Key) Enum() *UserSetting_Key

func (UserSetting_Key) EnumDescriptor deprecated

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

Deprecated: Use UserSetting_Key.Descriptor instead.

func (UserSetting_Key) Number

func (UserSetting_Key) String

func (x UserSetting_Key) String() string

func (UserSetting_Key) Type

type UserSetting_WebhooksSetting

type UserSetting_WebhooksSetting struct {

	// List of user webhooks.
	Webhooks []*UserWebhook `protobuf:"bytes,1,rep,name=webhooks,proto3" json:"webhooks,omitempty"`
	// contains filtered or unexported fields
}

User webhooks configuration.

func (*UserSetting_WebhooksSetting) Descriptor deprecated

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

Deprecated: Use UserSetting_WebhooksSetting.ProtoReflect.Descriptor instead.

func (*UserSetting_WebhooksSetting) GetWebhooks

func (x *UserSetting_WebhooksSetting) GetWebhooks() []*UserWebhook

func (*UserSetting_WebhooksSetting) ProtoMessage

func (*UserSetting_WebhooksSetting) ProtoMessage()

func (*UserSetting_WebhooksSetting) ProtoReflect

func (*UserSetting_WebhooksSetting) Reset

func (x *UserSetting_WebhooksSetting) Reset()

func (*UserSetting_WebhooksSetting) String

func (x *UserSetting_WebhooksSetting) String() string

type UserSetting_WebhooksSetting_

type UserSetting_WebhooksSetting_ struct {
	WebhooksSetting *UserSetting_WebhooksSetting `protobuf:"bytes,5,opt,name=webhooks_setting,json=webhooksSetting,proto3,oneof"`
}

type UserStats

type UserStats struct {

	// The resource name of the user whose stats these are.
	// Format: users/{user}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The timestamps when the memos were displayed.
	MemoDisplayTimestamps []*timestamppb.Timestamp `` /* 126-byte string literal not displayed */
	// The stats of memo types.
	MemoTypeStats *UserStats_MemoTypeStats `protobuf:"bytes,3,opt,name=memo_type_stats,json=memoTypeStats,proto3" json:"memo_type_stats,omitempty"`
	// The count of tags.
	TagCount map[string]int32 `` /* 160-byte string literal not displayed */
	// The pinned memos of the user.
	PinnedMemos []string `protobuf:"bytes,5,rep,name=pinned_memos,json=pinnedMemos,proto3" json:"pinned_memos,omitempty"`
	// Total memo count.
	TotalMemoCount int32 `protobuf:"varint,6,opt,name=total_memo_count,json=totalMemoCount,proto3" json:"total_memo_count,omitempty"`
	// contains filtered or unexported fields
}

User statistics messages

func (*UserStats) Descriptor deprecated

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

Deprecated: Use UserStats.ProtoReflect.Descriptor instead.

func (*UserStats) GetMemoDisplayTimestamps

func (x *UserStats) GetMemoDisplayTimestamps() []*timestamppb.Timestamp

func (*UserStats) GetMemoTypeStats

func (x *UserStats) GetMemoTypeStats() *UserStats_MemoTypeStats

func (*UserStats) GetName

func (x *UserStats) GetName() string

func (*UserStats) GetPinnedMemos

func (x *UserStats) GetPinnedMemos() []string

func (*UserStats) GetTagCount

func (x *UserStats) GetTagCount() map[string]int32

func (*UserStats) GetTotalMemoCount

func (x *UserStats) GetTotalMemoCount() int32

func (*UserStats) ProtoMessage

func (*UserStats) ProtoMessage()

func (*UserStats) ProtoReflect

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

func (*UserStats) Reset

func (x *UserStats) Reset()

func (*UserStats) String

func (x *UserStats) String() string

type UserStats_MemoTypeStats

type UserStats_MemoTypeStats struct {
	LinkCount int32 `protobuf:"varint,1,opt,name=link_count,json=linkCount,proto3" json:"link_count,omitempty"`
	CodeCount int32 `protobuf:"varint,2,opt,name=code_count,json=codeCount,proto3" json:"code_count,omitempty"`
	TodoCount int32 `protobuf:"varint,3,opt,name=todo_count,json=todoCount,proto3" json:"todo_count,omitempty"`
	UndoCount int32 `protobuf:"varint,4,opt,name=undo_count,json=undoCount,proto3" json:"undo_count,omitempty"`
	// contains filtered or unexported fields
}

Memo type statistics.

func (*UserStats_MemoTypeStats) Descriptor deprecated

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

Deprecated: Use UserStats_MemoTypeStats.ProtoReflect.Descriptor instead.

func (*UserStats_MemoTypeStats) GetCodeCount

func (x *UserStats_MemoTypeStats) GetCodeCount() int32

func (*UserStats_MemoTypeStats) GetLinkCount

func (x *UserStats_MemoTypeStats) GetLinkCount() int32

func (*UserStats_MemoTypeStats) GetTodoCount

func (x *UserStats_MemoTypeStats) GetTodoCount() int32

func (*UserStats_MemoTypeStats) GetUndoCount

func (x *UserStats_MemoTypeStats) GetUndoCount() int32

func (*UserStats_MemoTypeStats) ProtoMessage

func (*UserStats_MemoTypeStats) ProtoMessage()

func (*UserStats_MemoTypeStats) ProtoReflect

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

func (*UserStats_MemoTypeStats) Reset

func (x *UserStats_MemoTypeStats) Reset()

func (*UserStats_MemoTypeStats) String

func (x *UserStats_MemoTypeStats) String() string

type UserWebhook

type UserWebhook struct {

	// The name of the webhook.
	// Format: users/{user}/webhooks/{webhook}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The URL to send the webhook to.
	Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// Optional. Human-readable name for the webhook.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// The creation time of the webhook.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The last update time of the webhook.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

UserWebhook represents a webhook owned by a user.

func (*UserWebhook) Descriptor deprecated

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

Deprecated: Use UserWebhook.ProtoReflect.Descriptor instead.

func (*UserWebhook) GetCreateTime

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

func (*UserWebhook) GetDisplayName

func (x *UserWebhook) GetDisplayName() string

func (*UserWebhook) GetName

func (x *UserWebhook) GetName() string

func (*UserWebhook) GetUpdateTime

func (x *UserWebhook) GetUpdateTime() *timestamppb.Timestamp

func (*UserWebhook) GetUrl

func (x *UserWebhook) GetUrl() string

func (*UserWebhook) ProtoMessage

func (*UserWebhook) ProtoMessage()

func (*UserWebhook) ProtoReflect

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

func (*UserWebhook) Reset

func (x *UserWebhook) Reset()

func (*UserWebhook) String

func (x *UserWebhook) String() string

type User_Role

type User_Role int32

User role enumeration.

const (
	// Unspecified role.
	User_ROLE_UNSPECIFIED User_Role = 0
	// Host role with full system access.
	User_HOST User_Role = 1
	// Admin role with administrative privileges.
	User_ADMIN User_Role = 2
	// Regular user role.
	User_USER User_Role = 3
)

func (User_Role) Descriptor

func (User_Role) Descriptor() protoreflect.EnumDescriptor

func (User_Role) Enum

func (x User_Role) Enum() *User_Role

func (User_Role) EnumDescriptor deprecated

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

Deprecated: Use User_Role.Descriptor instead.

func (User_Role) Number

func (x User_Role) Number() protoreflect.EnumNumber

func (User_Role) String

func (x User_Role) String() string

func (User_Role) Type

type Visibility

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

func (Visibility) Descriptor

func (Visibility) Descriptor() protoreflect.EnumDescriptor

func (Visibility) Enum

func (x Visibility) Enum() *Visibility

func (Visibility) EnumDescriptor deprecated

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

Deprecated: Use Visibility.Descriptor instead.

func (Visibility) Number

func (x Visibility) Number() protoreflect.EnumNumber

func (Visibility) String

func (x Visibility) String() string

func (Visibility) Type

Jump to

Keyboard shortcuts

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