v1

package
v0.6.0-beta Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WebFileType_name = map[int32]string{
		0: "BookmarkFile",
		1: "HtmlFile",
		2: "RawHtmlFile",
		3: "WebArchiveFile",
	}
	WebFileType_value = map[string]int32{
		"BookmarkFile":   0,
		"HtmlFile":       1,
		"RawHtmlFile":    2,
		"WebArchiveFile": 3,
	}
)

Enum value maps for WebFileType.

View Source
var (
	QuickInboxRequest_SourceType_name = map[int32]string{
		0: "UrlSource",
	}
	QuickInboxRequest_SourceType_value = map[string]int32{
		"UrlSource": 0,
	}
)

Enum value maps for QuickInboxRequest_SourceType.

View Source
var (
	EntryFilter_GroupFilter_name = map[int32]string{
		0: "All",
		1: "Group",
		2: "File",
	}
	EntryFilter_GroupFilter_value = map[string]int32{
		"All":   0,
		"Group": 1,
		"File":  2,
	}
)

Enum value maps for EntryFilter_GroupFilter.

View Source
var (
	ListGroupChildrenRequest_EntryOrder_name = map[int32]string{
		0: "Name",
		1: "Kind",
		2: "IsGroup",
		3: "Size",
		4: "CreatedAt",
		5: "ModifiedAt",
	}
	ListGroupChildrenRequest_EntryOrder_value = map[string]int32{
		"Name":       0,
		"Kind":       1,
		"IsGroup":    2,
		"Size":       3,
		"CreatedAt":  4,
		"ModifiedAt": 5,
	}
)

Enum value maps for ListGroupChildrenRequest_EntryOrder.

View Source
var (
	ListDocumentsRequest_DocumentOrder_name = map[int32]string{
		0: "Name",
		1: "Source",
		2: "Marked",
		3: "Unread",
		4: "CreatedAt",
	}
	ListDocumentsRequest_DocumentOrder_value = map[string]int32{
		"Name":      0,
		"Source":    1,
		"Marked":    2,
		"Unread":    3,
		"CreatedAt": 4,
	}
)

Enum value maps for ListDocumentsRequest_DocumentOrder.

View Source
var (
	UpdateDocumentRequest_DocumentMark_name = map[int32]string{
		0: "Unchanged",
		1: "Marked",
		2: "Unmarked",
		3: "Read",
		4: "Unread",
	}
	UpdateDocumentRequest_DocumentMark_value = map[string]int32{
		"Unchanged": 0,
		"Marked":    1,
		"Unmarked":  2,
		"Read":      3,
		"Unread":    4,
	}
)

Enum value maps for UpdateDocumentRequest_DocumentMark.

View Source
var Auth_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.v1.Auth",
	HandlerType: (*AuthServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AccessToken",
			Handler:    _Auth_AccessToken_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cmd/apps/apis/fsapi/v1/fsapi-v1.proto",
}

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

View Source
var Document_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.v1.Document",
	HandlerType: (*DocumentServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListDocuments",
			Handler:    _Document_ListDocuments_Handler,
		},
		{
			MethodName: "GetDocumentParents",
			Handler:    _Document_GetDocumentParents_Handler,
		},
		{
			MethodName: "GetDocumentDetail",
			Handler:    _Document_GetDocumentDetail_Handler,
		},
		{
			MethodName: "UpdateDocument",
			Handler:    _Document_UpdateDocument_Handler,
		},
		{
			MethodName: "SearchDocuments",
			Handler:    _Document_SearchDocuments_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cmd/apps/apis/fsapi/v1/fsapi-v1.proto",
}

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

View Source
var Entries_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.v1.Entries",
	HandlerType: (*EntriesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GroupTree",
			Handler:    _Entries_GroupTree_Handler,
		},
		{
			MethodName: "FindEntryDetail",
			Handler:    _Entries_FindEntryDetail_Handler,
		},
		{
			MethodName: "GetEntryDetail",
			Handler:    _Entries_GetEntryDetail_Handler,
		},
		{
			MethodName: "CreateEntry",
			Handler:    _Entries_CreateEntry_Handler,
		},
		{
			MethodName: "UpdateEntry",
			Handler:    _Entries_UpdateEntry_Handler,
		},
		{
			MethodName: "DeleteEntry",
			Handler:    _Entries_DeleteEntry_Handler,
		},
		{
			MethodName: "DeleteEntries",
			Handler:    _Entries_DeleteEntries_Handler,
		},
		{
			MethodName: "ListGroupChildren",
			Handler:    _Entries_ListGroupChildren_Handler,
		},
		{
			MethodName: "ChangeParent",
			Handler:    _Entries_ChangeParent_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "WriteFile",
			Handler:       _Entries_WriteFile_Handler,
			ClientStreams: true,
		},
		{
			StreamName:    "ReadFile",
			Handler:       _Entries_ReadFile_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "cmd/apps/apis/fsapi/v1/fsapi-v1.proto",
}

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

View Source
var File_cmd_apps_apis_fsapi_v1_fsapi_v1_proto protoreflect.FileDescriptor
View Source
var Inbox_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.v1.Inbox",
	HandlerType: (*InboxServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "QuickInbox",
			Handler:    _Inbox_QuickInbox_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cmd/apps/apis/fsapi/v1/fsapi-v1.proto",
}

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

View Source
var Notify_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.v1.Notify",
	HandlerType: (*NotifyServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetLatestSequence",
			Handler:    _Notify_GetLatestSequence_Handler,
		},
		{
			MethodName: "ListUnSyncedEvent",
			Handler:    _Notify_ListUnSyncedEvent_Handler,
		},
		{
			MethodName: "CommitSyncedEvent",
			Handler:    _Notify_CommitSyncedEvent_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cmd/apps/apis/fsapi/v1/fsapi-v1.proto",
}

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

View Source
var Properties_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.v1.Properties",
	HandlerType: (*PropertiesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddProperty",
			Handler:    _Properties_AddProperty_Handler,
		},
		{
			MethodName: "UpdateProperty",
			Handler:    _Properties_UpdateProperty_Handler,
		},
		{
			MethodName: "DeleteProperty",
			Handler:    _Properties_DeleteProperty_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cmd/apps/apis/fsapi/v1/fsapi-v1.proto",
}

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

View Source
var Room_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.v1.Room",
	HandlerType: (*RoomServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListRooms",
			Handler:    _Room_ListRooms_Handler,
		},
		{
			MethodName: "OpenRoom",
			Handler:    _Room_OpenRoom_Handler,
		},
		{
			MethodName: "UpdateRoom",
			Handler:    _Room_UpdateRoom_Handler,
		},
		{
			MethodName: "DeleteRoom",
			Handler:    _Room_DeleteRoom_Handler,
		},
		{
			MethodName: "ClearRoom",
			Handler:    _Room_ClearRoom_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "ChatInRoom",
			Handler:       _Room_ChatInRoom_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "cmd/apps/apis/fsapi/v1/fsapi-v1.proto",
}

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

View Source
var Workflow_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.v1.Workflow",
	HandlerType: (*WorkflowServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "TriggerWorkflow",
			Handler:    _Workflow_TriggerWorkflow_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cmd/apps/apis/fsapi/v1/fsapi-v1.proto",
}

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

Functions

func RegisterAuthServer

func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer)

func RegisterDocumentServer

func RegisterDocumentServer(s grpc.ServiceRegistrar, srv DocumentServer)

func RegisterEntriesServer

func RegisterEntriesServer(s grpc.ServiceRegistrar, srv EntriesServer)

func RegisterInboxServer

func RegisterInboxServer(s grpc.ServiceRegistrar, srv InboxServer)

func RegisterNotifyServer

func RegisterNotifyServer(s grpc.ServiceRegistrar, srv NotifyServer)

func RegisterPropertiesServer

func RegisterPropertiesServer(s grpc.ServiceRegistrar, srv PropertiesServer)

func RegisterRoomServer

func RegisterRoomServer(s grpc.ServiceRegistrar, srv RoomServer)

func RegisterWorkflowServer

func RegisterWorkflowServer(s grpc.ServiceRegistrar, srv WorkflowServer)

Types

type AccessTokenRequest

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

func (*AccessTokenRequest) Descriptor deprecated

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

Deprecated: Use AccessTokenRequest.ProtoReflect.Descriptor instead.

func (*AccessTokenRequest) GetAccessTokenKey

func (x *AccessTokenRequest) GetAccessTokenKey() string

func (*AccessTokenRequest) GetSecretToken

func (x *AccessTokenRequest) GetSecretToken() string

func (*AccessTokenRequest) ProtoMessage

func (*AccessTokenRequest) ProtoMessage()

func (*AccessTokenRequest) ProtoReflect

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

func (*AccessTokenRequest) Reset

func (x *AccessTokenRequest) Reset()

func (*AccessTokenRequest) String

func (x *AccessTokenRequest) String() string

type AccessTokenResponse

type AccessTokenResponse struct {
	Namespace      string                 `protobuf:"bytes,1,opt,name=Namespace,proto3" json:"Namespace,omitempty"`
	UID            int64                  `protobuf:"varint,2,opt,name=UID,proto3" json:"UID,omitempty"`
	GID            int64                  `protobuf:"varint,3,opt,name=GID,proto3" json:"GID,omitempty"`
	ClientCrt      string                 `protobuf:"bytes,4,opt,name=ClientCrt,proto3" json:"ClientCrt,omitempty"`
	ClientKey      string                 `protobuf:"bytes,5,opt,name=ClientKey,proto3" json:"ClientKey,omitempty"`
	CertExpiration *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=CertExpiration,proto3" json:"CertExpiration,omitempty"`
	// contains filtered or unexported fields
}

func (*AccessTokenResponse) Descriptor deprecated

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

Deprecated: Use AccessTokenResponse.ProtoReflect.Descriptor instead.

func (*AccessTokenResponse) GetCertExpiration

func (x *AccessTokenResponse) GetCertExpiration() *timestamppb.Timestamp

func (*AccessTokenResponse) GetClientCrt

func (x *AccessTokenResponse) GetClientCrt() string

func (*AccessTokenResponse) GetClientKey

func (x *AccessTokenResponse) GetClientKey() string

func (*AccessTokenResponse) GetGID

func (x *AccessTokenResponse) GetGID() int64

func (*AccessTokenResponse) GetNamespace

func (x *AccessTokenResponse) GetNamespace() string

func (*AccessTokenResponse) GetUID

func (x *AccessTokenResponse) GetUID() int64

func (*AccessTokenResponse) ProtoMessage

func (*AccessTokenResponse) ProtoMessage()

func (*AccessTokenResponse) ProtoReflect

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

func (*AccessTokenResponse) Reset

func (x *AccessTokenResponse) Reset()

func (*AccessTokenResponse) String

func (x *AccessTokenResponse) String() string

type AddPropertyRequest

type AddPropertyRequest struct {
	EntryID int64  `protobuf:"varint,1,opt,name=entryID,proto3" json:"entryID,omitempty"`
	Key     string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Value   string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*AddPropertyRequest) Descriptor deprecated

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

Deprecated: Use AddPropertyRequest.ProtoReflect.Descriptor instead.

func (*AddPropertyRequest) GetEntryID

func (x *AddPropertyRequest) GetEntryID() int64

func (*AddPropertyRequest) GetKey

func (x *AddPropertyRequest) GetKey() string

func (*AddPropertyRequest) GetValue

func (x *AddPropertyRequest) GetValue() string

func (*AddPropertyRequest) ProtoMessage

func (*AddPropertyRequest) ProtoMessage()

func (*AddPropertyRequest) ProtoReflect

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

func (*AddPropertyRequest) Reset

func (x *AddPropertyRequest) Reset()

func (*AddPropertyRequest) String

func (x *AddPropertyRequest) String() string

type AddPropertyResponse

type AddPropertyResponse struct {
	Entry      *EntryInfo  `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	Properties []*Property `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

func (*AddPropertyResponse) Descriptor deprecated

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

Deprecated: Use AddPropertyResponse.ProtoReflect.Descriptor instead.

func (*AddPropertyResponse) GetEntry

func (x *AddPropertyResponse) GetEntry() *EntryInfo

func (*AddPropertyResponse) GetProperties

func (x *AddPropertyResponse) GetProperties() []*Property

func (*AddPropertyResponse) ProtoMessage

func (*AddPropertyResponse) ProtoMessage()

func (*AddPropertyResponse) ProtoReflect

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

func (*AddPropertyResponse) Reset

func (x *AddPropertyResponse) Reset()

func (*AddPropertyResponse) String

func (x *AddPropertyResponse) String() string

type AuthClient

type AuthClient interface {
	AccessToken(ctx context.Context, in *AccessTokenRequest, opts ...grpc.CallOption) (*AccessTokenResponse, error)
}

AuthClient is the client API for Auth service.

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

func NewAuthClient

func NewAuthClient(cc grpc.ClientConnInterface) AuthClient

type AuthServer

type AuthServer interface {
	AccessToken(context.Context, *AccessTokenRequest) (*AccessTokenResponse, error)
}

AuthServer is the server API for Auth service. All implementations should embed UnimplementedAuthServer for forward compatibility

type ChangeParentRequest

type ChangeParentRequest struct {
	EntryID     int64                       `protobuf:"varint,1,opt,name=entryID,proto3" json:"entryID,omitempty"`
	NewParentID int64                       `protobuf:"varint,2,opt,name=newParentID,proto3" json:"newParentID,omitempty"`
	NewName     string                      `protobuf:"bytes,3,opt,name=newName,proto3" json:"newName,omitempty"`
	Option      *ChangeParentRequest_Option `protobuf:"bytes,4,opt,name=option,proto3" json:"option,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeParentRequest) Descriptor deprecated

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

Deprecated: Use ChangeParentRequest.ProtoReflect.Descriptor instead.

func (*ChangeParentRequest) GetEntryID

func (x *ChangeParentRequest) GetEntryID() int64

func (*ChangeParentRequest) GetNewName

func (x *ChangeParentRequest) GetNewName() string

func (*ChangeParentRequest) GetNewParentID

func (x *ChangeParentRequest) GetNewParentID() int64

func (*ChangeParentRequest) GetOption

func (*ChangeParentRequest) ProtoMessage

func (*ChangeParentRequest) ProtoMessage()

func (*ChangeParentRequest) ProtoReflect

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

func (*ChangeParentRequest) Reset

func (x *ChangeParentRequest) Reset()

func (*ChangeParentRequest) String

func (x *ChangeParentRequest) String() string

type ChangeParentRequest_Option

type ChangeParentRequest_Option struct {
	Replace  bool `protobuf:"varint,1,opt,name=Replace,proto3" json:"Replace,omitempty"`
	Exchange bool `protobuf:"varint,2,opt,name=Exchange,proto3" json:"Exchange,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeParentRequest_Option) Descriptor deprecated

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

Deprecated: Use ChangeParentRequest_Option.ProtoReflect.Descriptor instead.

func (*ChangeParentRequest_Option) GetExchange

func (x *ChangeParentRequest_Option) GetExchange() bool

func (*ChangeParentRequest_Option) GetReplace

func (x *ChangeParentRequest_Option) GetReplace() bool

func (*ChangeParentRequest_Option) ProtoMessage

func (*ChangeParentRequest_Option) ProtoMessage()

func (*ChangeParentRequest_Option) ProtoReflect

func (*ChangeParentRequest_Option) Reset

func (x *ChangeParentRequest_Option) Reset()

func (*ChangeParentRequest_Option) String

func (x *ChangeParentRequest_Option) String() string

type ChangeParentResponse

type ChangeParentResponse struct {
	Entry *EntryInfo `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeParentResponse) Descriptor deprecated

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

Deprecated: Use ChangeParentResponse.ProtoReflect.Descriptor instead.

func (*ChangeParentResponse) GetEntry

func (x *ChangeParentResponse) GetEntry() *EntryInfo

func (*ChangeParentResponse) ProtoMessage

func (*ChangeParentResponse) ProtoMessage()

func (*ChangeParentResponse) ProtoReflect

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

func (*ChangeParentResponse) Reset

func (x *ChangeParentResponse) Reset()

func (*ChangeParentResponse) String

func (x *ChangeParentResponse) String() string

type ChatRequest

type ChatRequest struct {
	RoomID     int64                  `protobuf:"varint,1,opt,name=roomID,proto3" json:"roomID,omitempty"`
	NewRequest string                 `protobuf:"bytes,3,opt,name=newRequest,proto3" json:"newRequest,omitempty"`
	SendAt     *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=sendAt,proto3" json:"sendAt,omitempty"`
	// contains filtered or unexported fields
}

func (*ChatRequest) Descriptor deprecated

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

Deprecated: Use ChatRequest.ProtoReflect.Descriptor instead.

func (*ChatRequest) GetNewRequest

func (x *ChatRequest) GetNewRequest() string

func (*ChatRequest) GetRoomID

func (x *ChatRequest) GetRoomID() int64

func (*ChatRequest) GetSendAt

func (x *ChatRequest) GetSendAt() *timestamppb.Timestamp

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 {
	RequestID       int64                  `protobuf:"varint,1,opt,name=requestID,proto3" json:"requestID,omitempty"`
	ResponseID      int64                  `protobuf:"varint,2,opt,name=responseID,proto3" json:"responseID,omitempty"`
	ResponseMessage string                 `protobuf:"bytes,3,opt,name=responseMessage,proto3" json:"responseMessage,omitempty"`
	Sender          string                 `protobuf:"bytes,4,opt,name=sender,proto3" json:"sender,omitempty"`
	SendAt          *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=sendAt,proto3" json:"sendAt,omitempty"`
	CreatedAt       *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	// contains filtered or unexported fields
}

func (*ChatResponse) Descriptor deprecated

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

Deprecated: Use ChatResponse.ProtoReflect.Descriptor instead.

func (*ChatResponse) GetCreatedAt

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

func (*ChatResponse) GetRequestID

func (x *ChatResponse) GetRequestID() int64

func (*ChatResponse) GetResponseID

func (x *ChatResponse) GetResponseID() int64

func (*ChatResponse) GetResponseMessage

func (x *ChatResponse) GetResponseMessage() string

func (*ChatResponse) GetSendAt

func (x *ChatResponse) GetSendAt() *timestamppb.Timestamp

func (*ChatResponse) GetSender

func (x *ChatResponse) GetSender() 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 ClearRoomRequest

type ClearRoomRequest struct {
	RoomID int64 `protobuf:"varint,1,opt,name=roomID,proto3" json:"roomID,omitempty"`
	// contains filtered or unexported fields
}

func (*ClearRoomRequest) Descriptor deprecated

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

Deprecated: Use ClearRoomRequest.ProtoReflect.Descriptor instead.

func (*ClearRoomRequest) GetRoomID

func (x *ClearRoomRequest) GetRoomID() int64

func (*ClearRoomRequest) ProtoMessage

func (*ClearRoomRequest) ProtoMessage()

func (*ClearRoomRequest) ProtoReflect

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

func (*ClearRoomRequest) Reset

func (x *ClearRoomRequest) Reset()

func (*ClearRoomRequest) String

func (x *ClearRoomRequest) String() string

type ClearRoomResponse

type ClearRoomResponse struct {
	RoomID int64 `protobuf:"varint,1,opt,name=roomID,proto3" json:"roomID,omitempty"`
	// contains filtered or unexported fields
}

func (*ClearRoomResponse) Descriptor deprecated

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

Deprecated: Use ClearRoomResponse.ProtoReflect.Descriptor instead.

func (*ClearRoomResponse) GetRoomID

func (x *ClearRoomResponse) GetRoomID() int64

func (*ClearRoomResponse) ProtoMessage

func (*ClearRoomResponse) ProtoMessage()

func (*ClearRoomResponse) ProtoReflect

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

func (*ClearRoomResponse) Reset

func (x *ClearRoomResponse) Reset()

func (*ClearRoomResponse) String

func (x *ClearRoomResponse) String() string

type CommitSyncedEventRequest

type CommitSyncedEventRequest struct {
	DeviceID string `protobuf:"bytes,1,opt,name=deviceID,proto3" json:"deviceID,omitempty"`
	Sequence int64  `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
	// contains filtered or unexported fields
}

func (*CommitSyncedEventRequest) Descriptor deprecated

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

Deprecated: Use CommitSyncedEventRequest.ProtoReflect.Descriptor instead.

func (*CommitSyncedEventRequest) GetDeviceID

func (x *CommitSyncedEventRequest) GetDeviceID() string

func (*CommitSyncedEventRequest) GetSequence

func (x *CommitSyncedEventRequest) GetSequence() int64

func (*CommitSyncedEventRequest) ProtoMessage

func (*CommitSyncedEventRequest) ProtoMessage()

func (*CommitSyncedEventRequest) ProtoReflect

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

func (*CommitSyncedEventRequest) Reset

func (x *CommitSyncedEventRequest) Reset()

func (*CommitSyncedEventRequest) String

func (x *CommitSyncedEventRequest) String() string

type CommitSyncedEventResponse

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

func (*CommitSyncedEventResponse) Descriptor deprecated

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

Deprecated: Use CommitSyncedEventResponse.ProtoReflect.Descriptor instead.

func (*CommitSyncedEventResponse) ProtoMessage

func (*CommitSyncedEventResponse) ProtoMessage()

func (*CommitSyncedEventResponse) ProtoReflect

func (*CommitSyncedEventResponse) Reset

func (x *CommitSyncedEventResponse) Reset()

func (*CommitSyncedEventResponse) String

func (x *CommitSyncedEventResponse) String() string

type CreateEntryRequest

type CreateEntryRequest struct {
	ParentID int64                         `protobuf:"varint,1,opt,name=parentID,proto3" json:"parentID,omitempty"`
	Name     string                        `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Kind     string                        `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
	Rss      *CreateEntryRequest_RssConfig `protobuf:"bytes,4,opt,name=rss,proto3" json:"rss,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEntryRequest) Descriptor deprecated

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

Deprecated: Use CreateEntryRequest.ProtoReflect.Descriptor instead.

func (*CreateEntryRequest) GetKind

func (x *CreateEntryRequest) GetKind() string

func (*CreateEntryRequest) GetName

func (x *CreateEntryRequest) GetName() string

func (*CreateEntryRequest) GetParentID

func (x *CreateEntryRequest) GetParentID() int64

func (*CreateEntryRequest) GetRss

func (*CreateEntryRequest) ProtoMessage

func (*CreateEntryRequest) ProtoMessage()

func (*CreateEntryRequest) ProtoReflect

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

func (*CreateEntryRequest) Reset

func (x *CreateEntryRequest) Reset()

func (*CreateEntryRequest) String

func (x *CreateEntryRequest) String() string

type CreateEntryRequest_RssConfig

type CreateEntryRequest_RssConfig struct {
	Feed     string      `protobuf:"bytes,1,opt,name=feed,proto3" json:"feed,omitempty"`
	SiteName string      `protobuf:"bytes,2,opt,name=siteName,proto3" json:"siteName,omitempty"`
	SiteURL  string      `protobuf:"bytes,3,opt,name=siteURL,proto3" json:"siteURL,omitempty"`
	FileType WebFileType `protobuf:"varint,4,opt,name=fileType,proto3,enum=api.v1.WebFileType" json:"fileType,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEntryRequest_RssConfig) Descriptor deprecated

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

Deprecated: Use CreateEntryRequest_RssConfig.ProtoReflect.Descriptor instead.

func (*CreateEntryRequest_RssConfig) GetFeed

func (x *CreateEntryRequest_RssConfig) GetFeed() string

func (*CreateEntryRequest_RssConfig) GetFileType

func (x *CreateEntryRequest_RssConfig) GetFileType() WebFileType

func (*CreateEntryRequest_RssConfig) GetSiteName

func (x *CreateEntryRequest_RssConfig) GetSiteName() string

func (*CreateEntryRequest_RssConfig) GetSiteURL

func (x *CreateEntryRequest_RssConfig) GetSiteURL() string

func (*CreateEntryRequest_RssConfig) ProtoMessage

func (*CreateEntryRequest_RssConfig) ProtoMessage()

func (*CreateEntryRequest_RssConfig) ProtoReflect

func (*CreateEntryRequest_RssConfig) Reset

func (x *CreateEntryRequest_RssConfig) Reset()

func (*CreateEntryRequest_RssConfig) String

type CreateEntryResponse

type CreateEntryResponse struct {
	Entry *EntryInfo `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEntryResponse) Descriptor deprecated

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

Deprecated: Use CreateEntryResponse.ProtoReflect.Descriptor instead.

func (*CreateEntryResponse) GetEntry

func (x *CreateEntryResponse) GetEntry() *EntryInfo

func (*CreateEntryResponse) ProtoMessage

func (*CreateEntryResponse) ProtoMessage()

func (*CreateEntryResponse) ProtoReflect

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

func (*CreateEntryResponse) Reset

func (x *CreateEntryResponse) Reset()

func (*CreateEntryResponse) String

func (x *CreateEntryResponse) String() string

type DeleteEntriesRequest

type DeleteEntriesRequest struct {
	EntryIDs []int64 `protobuf:"varint,1,rep,packed,name=entryIDs,proto3" json:"entryIDs,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteEntriesRequest) Descriptor deprecated

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

Deprecated: Use DeleteEntriesRequest.ProtoReflect.Descriptor instead.

func (*DeleteEntriesRequest) GetEntryIDs

func (x *DeleteEntriesRequest) GetEntryIDs() []int64

func (*DeleteEntriesRequest) ProtoMessage

func (*DeleteEntriesRequest) ProtoMessage()

func (*DeleteEntriesRequest) ProtoReflect

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

func (*DeleteEntriesRequest) Reset

func (x *DeleteEntriesRequest) Reset()

func (*DeleteEntriesRequest) String

func (x *DeleteEntriesRequest) String() string

type DeleteEntriesResponse

type DeleteEntriesResponse struct {
	EntryIDs []int64 `protobuf:"varint,1,rep,packed,name=entryIDs,proto3" json:"entryIDs,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteEntriesResponse) Descriptor deprecated

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

Deprecated: Use DeleteEntriesResponse.ProtoReflect.Descriptor instead.

func (*DeleteEntriesResponse) GetEntryIDs

func (x *DeleteEntriesResponse) GetEntryIDs() []int64

func (*DeleteEntriesResponse) ProtoMessage

func (*DeleteEntriesResponse) ProtoMessage()

func (*DeleteEntriesResponse) ProtoReflect

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

func (*DeleteEntriesResponse) Reset

func (x *DeleteEntriesResponse) Reset()

func (*DeleteEntriesResponse) String

func (x *DeleteEntriesResponse) String() string

type DeleteEntryRequest

type DeleteEntryRequest struct {
	EntryID int64 `protobuf:"varint,1,opt,name=entryID,proto3" json:"entryID,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteEntryRequest) Descriptor deprecated

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

Deprecated: Use DeleteEntryRequest.ProtoReflect.Descriptor instead.

func (*DeleteEntryRequest) GetEntryID

func (x *DeleteEntryRequest) GetEntryID() int64

func (*DeleteEntryRequest) ProtoMessage

func (*DeleteEntryRequest) ProtoMessage()

func (*DeleteEntryRequest) ProtoReflect

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

func (*DeleteEntryRequest) Reset

func (x *DeleteEntryRequest) Reset()

func (*DeleteEntryRequest) String

func (x *DeleteEntryRequest) String() string

type DeleteEntryResponse

type DeleteEntryResponse struct {
	Entry *EntryDetail `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteEntryResponse) Descriptor deprecated

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

Deprecated: Use DeleteEntryResponse.ProtoReflect.Descriptor instead.

func (*DeleteEntryResponse) GetEntry

func (x *DeleteEntryResponse) GetEntry() *EntryDetail

func (*DeleteEntryResponse) ProtoMessage

func (*DeleteEntryResponse) ProtoMessage()

func (*DeleteEntryResponse) ProtoReflect

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

func (*DeleteEntryResponse) Reset

func (x *DeleteEntryResponse) Reset()

func (*DeleteEntryResponse) String

func (x *DeleteEntryResponse) String() string

type DeletePropertyRequest

type DeletePropertyRequest struct {
	EntryID int64  `protobuf:"varint,1,opt,name=entryID,proto3" json:"entryID,omitempty"`
	Key     string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePropertyRequest) Descriptor deprecated

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

Deprecated: Use DeletePropertyRequest.ProtoReflect.Descriptor instead.

func (*DeletePropertyRequest) GetEntryID

func (x *DeletePropertyRequest) GetEntryID() int64

func (*DeletePropertyRequest) GetKey

func (x *DeletePropertyRequest) GetKey() string

func (*DeletePropertyRequest) ProtoMessage

func (*DeletePropertyRequest) ProtoMessage()

func (*DeletePropertyRequest) ProtoReflect

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

func (*DeletePropertyRequest) Reset

func (x *DeletePropertyRequest) Reset()

func (*DeletePropertyRequest) String

func (x *DeletePropertyRequest) String() string

type DeletePropertyResponse

type DeletePropertyResponse struct {
	Entry      *EntryInfo  `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	Properties []*Property `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePropertyResponse) Descriptor deprecated

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

Deprecated: Use DeletePropertyResponse.ProtoReflect.Descriptor instead.

func (*DeletePropertyResponse) GetEntry

func (x *DeletePropertyResponse) GetEntry() *EntryInfo

func (*DeletePropertyResponse) GetProperties

func (x *DeletePropertyResponse) GetProperties() []*Property

func (*DeletePropertyResponse) ProtoMessage

func (*DeletePropertyResponse) ProtoMessage()

func (*DeletePropertyResponse) ProtoReflect

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

func (*DeletePropertyResponse) Reset

func (x *DeletePropertyResponse) Reset()

func (*DeletePropertyResponse) String

func (x *DeletePropertyResponse) String() string

type DeleteRoomRequest

type DeleteRoomRequest struct {
	RoomID int64 `protobuf:"varint,1,opt,name=roomID,proto3" json:"roomID,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRoomRequest) Descriptor deprecated

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

Deprecated: Use DeleteRoomRequest.ProtoReflect.Descriptor instead.

func (*DeleteRoomRequest) GetRoomID

func (x *DeleteRoomRequest) GetRoomID() int64

func (*DeleteRoomRequest) ProtoMessage

func (*DeleteRoomRequest) ProtoMessage()

func (*DeleteRoomRequest) ProtoReflect

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

func (*DeleteRoomRequest) Reset

func (x *DeleteRoomRequest) Reset()

func (*DeleteRoomRequest) String

func (x *DeleteRoomRequest) String() string

type DeleteRoomResponse

type DeleteRoomResponse struct {
	RoomID int64 `protobuf:"varint,1,opt,name=roomID,proto3" json:"roomID,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRoomResponse) Descriptor deprecated

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

Deprecated: Use DeleteRoomResponse.ProtoReflect.Descriptor instead.

func (*DeleteRoomResponse) GetRoomID

func (x *DeleteRoomResponse) GetRoomID() int64

func (*DeleteRoomResponse) ProtoMessage

func (*DeleteRoomResponse) ProtoMessage()

func (*DeleteRoomResponse) ProtoReflect

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

func (*DeleteRoomResponse) Reset

func (x *DeleteRoomResponse) Reset()

func (*DeleteRoomResponse) String

func (x *DeleteRoomResponse) String() string

type DocumentClient

type DocumentClient interface {
	ListDocuments(ctx context.Context, in *ListDocumentsRequest, opts ...grpc.CallOption) (*ListDocumentsResponse, error)
	GetDocumentParents(ctx context.Context, in *GetDocumentParentsRequest, opts ...grpc.CallOption) (*GetDocumentParentsResponse, error)
	GetDocumentDetail(ctx context.Context, in *GetDocumentDetailRequest, opts ...grpc.CallOption) (*GetDocumentDetailResponse, error)
	UpdateDocument(ctx context.Context, in *UpdateDocumentRequest, opts ...grpc.CallOption) (*UpdateDocumentResponse, error)
	SearchDocuments(ctx context.Context, in *SearchDocumentsRequest, opts ...grpc.CallOption) (*SearchDocumentsResponse, error)
}

DocumentClient is the client API for Document service.

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

func NewDocumentClient

func NewDocumentClient(cc grpc.ClientConnInterface) DocumentClient

type DocumentDescribe

type DocumentDescribe struct {
	Id            int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name          string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	EntryID       int64                  `protobuf:"varint,3,opt,name=entryID,proto3" json:"entryID,omitempty"`
	ParentEntryID int64                  `protobuf:"varint,4,opt,name=parentEntryID,proto3" json:"parentEntryID,omitempty"`
	Source        string                 `protobuf:"bytes,5,opt,name=source,proto3" json:"source,omitempty"`
	Marked        bool                   `protobuf:"varint,6,opt,name=marked,proto3" json:"marked,omitempty"`
	Unread        bool                   `protobuf:"varint,7,opt,name=unread,proto3" json:"unread,omitempty"`
	Namespace     string                 `protobuf:"bytes,8,opt,name=namespace,proto3" json:"namespace,omitempty"`
	HtmlContent   string                 `protobuf:"bytes,10,opt,name=htmlContent,proto3" json:"htmlContent,omitempty"`
	KeyWords      []string               `protobuf:"bytes,11,rep,name=keyWords,proto3" json:"keyWords,omitempty"`
	Summary       string                 `protobuf:"bytes,12,opt,name=summary,proto3" json:"summary,omitempty"`
	EntryInfo     *EntryInfo             `protobuf:"bytes,20,opt,name=entryInfo,proto3" json:"entryInfo,omitempty"`
	CreatedAt     *timestamppb.Timestamp `protobuf:"bytes,30,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	ChangedAt     *timestamppb.Timestamp `protobuf:"bytes,31,opt,name=changedAt,proto3" json:"changedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*DocumentDescribe) Descriptor deprecated

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

Deprecated: Use DocumentDescribe.ProtoReflect.Descriptor instead.

func (*DocumentDescribe) GetChangedAt

func (x *DocumentDescribe) GetChangedAt() *timestamppb.Timestamp

func (*DocumentDescribe) GetCreatedAt

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

func (*DocumentDescribe) GetEntryID

func (x *DocumentDescribe) GetEntryID() int64

func (*DocumentDescribe) GetEntryInfo

func (x *DocumentDescribe) GetEntryInfo() *EntryInfo

func (*DocumentDescribe) GetHtmlContent

func (x *DocumentDescribe) GetHtmlContent() string

func (*DocumentDescribe) GetId

func (x *DocumentDescribe) GetId() int64

func (*DocumentDescribe) GetKeyWords

func (x *DocumentDescribe) GetKeyWords() []string

func (*DocumentDescribe) GetMarked

func (x *DocumentDescribe) GetMarked() bool

func (*DocumentDescribe) GetName

func (x *DocumentDescribe) GetName() string

func (*DocumentDescribe) GetNamespace

func (x *DocumentDescribe) GetNamespace() string

func (*DocumentDescribe) GetParentEntryID

func (x *DocumentDescribe) GetParentEntryID() int64

func (*DocumentDescribe) GetSource

func (x *DocumentDescribe) GetSource() string

func (*DocumentDescribe) GetSummary

func (x *DocumentDescribe) GetSummary() string

func (*DocumentDescribe) GetUnread

func (x *DocumentDescribe) GetUnread() bool

func (*DocumentDescribe) ProtoMessage

func (*DocumentDescribe) ProtoMessage()

func (*DocumentDescribe) ProtoReflect

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

func (*DocumentDescribe) Reset

func (x *DocumentDescribe) Reset()

func (*DocumentDescribe) String

func (x *DocumentDescribe) String() string

type DocumentFilter

type DocumentFilter struct {
	FuzzyName      string                 `protobuf:"bytes,1,opt,name=fuzzyName,proto3" json:"fuzzyName,omitempty"`
	ParentEntryID  int64                  `protobuf:"varint,2,opt,name=parentEntryID,proto3" json:"parentEntryID,omitempty"`
	Source         string                 `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	Marked         bool                   `protobuf:"varint,4,opt,name=marked,proto3" json:"marked,omitempty"`
	Unread         bool                   `protobuf:"varint,5,opt,name=unread,proto3" json:"unread,omitempty"`
	CreatedAtStart *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=createdAtStart,proto3" json:"createdAtStart,omitempty"`
	CreatedAtEnd   *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=createdAtEnd,proto3" json:"createdAtEnd,omitempty"`
	ChangedAtStart *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=changedAtStart,proto3" json:"changedAtStart,omitempty"`
	ChangedAtEnd   *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=changedAtEnd,proto3" json:"changedAtEnd,omitempty"`
	// contains filtered or unexported fields
}

func (*DocumentFilter) Descriptor deprecated

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

Deprecated: Use DocumentFilter.ProtoReflect.Descriptor instead.

func (*DocumentFilter) GetChangedAtEnd

func (x *DocumentFilter) GetChangedAtEnd() *timestamppb.Timestamp

func (*DocumentFilter) GetChangedAtStart

func (x *DocumentFilter) GetChangedAtStart() *timestamppb.Timestamp

func (*DocumentFilter) GetCreatedAtEnd

func (x *DocumentFilter) GetCreatedAtEnd() *timestamppb.Timestamp

func (*DocumentFilter) GetCreatedAtStart

func (x *DocumentFilter) GetCreatedAtStart() *timestamppb.Timestamp

func (*DocumentFilter) GetFuzzyName

func (x *DocumentFilter) GetFuzzyName() string

func (*DocumentFilter) GetMarked

func (x *DocumentFilter) GetMarked() bool

func (*DocumentFilter) GetParentEntryID

func (x *DocumentFilter) GetParentEntryID() int64

func (*DocumentFilter) GetSource

func (x *DocumentFilter) GetSource() string

func (*DocumentFilter) GetUnread

func (x *DocumentFilter) GetUnread() bool

func (*DocumentFilter) ProtoMessage

func (*DocumentFilter) ProtoMessage()

func (*DocumentFilter) ProtoReflect

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

func (*DocumentFilter) Reset

func (x *DocumentFilter) Reset()

func (*DocumentFilter) String

func (x *DocumentFilter) String() string

type DocumentInfo

type DocumentInfo struct {
	Id            int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name          string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	EntryID       int64                  `protobuf:"varint,3,opt,name=entryID,proto3" json:"entryID,omitempty"`
	ParentEntryID int64                  `protobuf:"varint,4,opt,name=parentEntryID,proto3" json:"parentEntryID,omitempty"`
	Source        string                 `protobuf:"bytes,5,opt,name=source,proto3" json:"source,omitempty"`
	Marked        bool                   `protobuf:"varint,6,opt,name=marked,proto3" json:"marked,omitempty"`
	Unread        bool                   `protobuf:"varint,7,opt,name=unread,proto3" json:"unread,omitempty"`
	Namespace     string                 `protobuf:"bytes,8,opt,name=namespace,proto3" json:"namespace,omitempty"`
	SubContent    string                 `protobuf:"bytes,9,opt,name=subContent,proto3" json:"subContent,omitempty"`
	CreatedAt     *timestamppb.Timestamp `protobuf:"bytes,30,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	ChangedAt     *timestamppb.Timestamp `protobuf:"bytes,31,opt,name=changedAt,proto3" json:"changedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*DocumentInfo) Descriptor deprecated

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

Deprecated: Use DocumentInfo.ProtoReflect.Descriptor instead.

func (*DocumentInfo) GetChangedAt

func (x *DocumentInfo) GetChangedAt() *timestamppb.Timestamp

func (*DocumentInfo) GetCreatedAt

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

func (*DocumentInfo) GetEntryID

func (x *DocumentInfo) GetEntryID() int64

func (*DocumentInfo) GetId

func (x *DocumentInfo) GetId() int64

func (*DocumentInfo) GetMarked

func (x *DocumentInfo) GetMarked() bool

func (*DocumentInfo) GetName

func (x *DocumentInfo) GetName() string

func (*DocumentInfo) GetNamespace

func (x *DocumentInfo) GetNamespace() string

func (*DocumentInfo) GetParentEntryID

func (x *DocumentInfo) GetParentEntryID() int64

func (*DocumentInfo) GetSource

func (x *DocumentInfo) GetSource() string

func (*DocumentInfo) GetSubContent

func (x *DocumentInfo) GetSubContent() string

func (*DocumentInfo) GetUnread

func (x *DocumentInfo) GetUnread() bool

func (*DocumentInfo) ProtoMessage

func (*DocumentInfo) ProtoMessage()

func (*DocumentInfo) ProtoReflect

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

func (*DocumentInfo) Reset

func (x *DocumentInfo) Reset()

func (*DocumentInfo) String

func (x *DocumentInfo) String() string

type DocumentServer

DocumentServer is the server API for Document service. All implementations should embed UnimplementedDocumentServer for forward compatibility

type EntriesClient

EntriesClient is the client API for Entries service.

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

func NewEntriesClient

func NewEntriesClient(cc grpc.ClientConnInterface) EntriesClient

type EntriesServer

EntriesServer is the server API for Entries service. All implementations should embed UnimplementedEntriesServer for forward compatibility

type Entries_ReadFileClient

type Entries_ReadFileClient interface {
	Recv() (*ReadFileResponse, error)
	grpc.ClientStream
}

type Entries_ReadFileServer

type Entries_ReadFileServer interface {
	Send(*ReadFileResponse) error
	grpc.ServerStream
}

type Entries_WriteFileClient

type Entries_WriteFileClient interface {
	Send(*WriteFileRequest) error
	CloseAndRecv() (*WriteFileResponse, error)
	grpc.ClientStream
}

type Entries_WriteFileServer

type Entries_WriteFileServer interface {
	SendAndClose(*WriteFileResponse) error
	Recv() (*WriteFileRequest, error)
	grpc.ServerStream
}

type EntryDetail

type EntryDetail struct {
	Id         int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name       string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Aliases    string                 `protobuf:"bytes,3,opt,name=aliases,proto3" json:"aliases,omitempty"`
	Parent     *EntryInfo             `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"`
	Kind       string                 `protobuf:"bytes,5,opt,name=kind,proto3" json:"kind,omitempty"`
	IsGroup    bool                   `protobuf:"varint,6,opt,name=isGroup,proto3" json:"isGroup,omitempty"`
	Size       int64                  `protobuf:"varint,10,opt,name=size,proto3" json:"size,omitempty"`
	Version    int64                  `protobuf:"varint,11,opt,name=version,proto3" json:"version,omitempty"`
	Namespace  string                 `protobuf:"bytes,12,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Storage    string                 `protobuf:"bytes,13,opt,name=storage,proto3" json:"storage,omitempty"`
	Access     *EntryDetail_Access    `protobuf:"bytes,14,opt,name=access,proto3" json:"access,omitempty"`
	CreatedAt  *timestamppb.Timestamp `protobuf:"bytes,30,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	ChangedAt  *timestamppb.Timestamp `protobuf:"bytes,31,opt,name=changedAt,proto3" json:"changedAt,omitempty"`
	ModifiedAt *timestamppb.Timestamp `protobuf:"bytes,32,opt,name=modifiedAt,proto3" json:"modifiedAt,omitempty"`
	AccessAt   *timestamppb.Timestamp `protobuf:"bytes,33,opt,name=accessAt,proto3" json:"accessAt,omitempty"`
	// contains filtered or unexported fields
}

func (*EntryDetail) Descriptor deprecated

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

Deprecated: Use EntryDetail.ProtoReflect.Descriptor instead.

func (*EntryDetail) GetAccess

func (x *EntryDetail) GetAccess() *EntryDetail_Access

func (*EntryDetail) GetAccessAt

func (x *EntryDetail) GetAccessAt() *timestamppb.Timestamp

func (*EntryDetail) GetAliases

func (x *EntryDetail) GetAliases() string

func (*EntryDetail) GetChangedAt

func (x *EntryDetail) GetChangedAt() *timestamppb.Timestamp

func (*EntryDetail) GetCreatedAt

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

func (*EntryDetail) GetId

func (x *EntryDetail) GetId() int64

func (*EntryDetail) GetIsGroup

func (x *EntryDetail) GetIsGroup() bool

func (*EntryDetail) GetKind

func (x *EntryDetail) GetKind() string

func (*EntryDetail) GetModifiedAt

func (x *EntryDetail) GetModifiedAt() *timestamppb.Timestamp

func (*EntryDetail) GetName

func (x *EntryDetail) GetName() string

func (*EntryDetail) GetNamespace

func (x *EntryDetail) GetNamespace() string

func (*EntryDetail) GetParent

func (x *EntryDetail) GetParent() *EntryInfo

func (*EntryDetail) GetSize

func (x *EntryDetail) GetSize() int64

func (*EntryDetail) GetStorage

func (x *EntryDetail) GetStorage() string

func (*EntryDetail) GetVersion

func (x *EntryDetail) GetVersion() int64

func (*EntryDetail) ProtoMessage

func (*EntryDetail) ProtoMessage()

func (*EntryDetail) ProtoReflect

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

func (*EntryDetail) Reset

func (x *EntryDetail) Reset()

func (*EntryDetail) String

func (x *EntryDetail) String() string

type EntryDetail_Access

type EntryDetail_Access struct {
	Uid         int64    `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Gid         int64    `protobuf:"varint,2,opt,name=gid,proto3" json:"gid,omitempty"`
	Permissions []string `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

func (*EntryDetail_Access) Descriptor deprecated

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

Deprecated: Use EntryDetail_Access.ProtoReflect.Descriptor instead.

func (*EntryDetail_Access) GetGid

func (x *EntryDetail_Access) GetGid() int64

func (*EntryDetail_Access) GetPermissions

func (x *EntryDetail_Access) GetPermissions() []string

func (*EntryDetail_Access) GetUid

func (x *EntryDetail_Access) GetUid() int64

func (*EntryDetail_Access) ProtoMessage

func (*EntryDetail_Access) ProtoMessage()

func (*EntryDetail_Access) ProtoReflect

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

func (*EntryDetail_Access) Reset

func (x *EntryDetail_Access) Reset()

func (*EntryDetail_Access) String

func (x *EntryDetail_Access) String() string

type EntryFilter

type EntryFilter struct {
	FuzzyName       string                  `protobuf:"bytes,1,opt,name=fuzzyName,proto3" json:"fuzzyName,omitempty"`
	Kind            string                  `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	IsGroup         EntryFilter_GroupFilter `protobuf:"varint,3,opt,name=isGroup,proto3,enum=api.v1.EntryFilter_GroupFilter" json:"isGroup,omitempty"`
	CreatedAtStart  *timestamppb.Timestamp  `protobuf:"bytes,6,opt,name=createdAtStart,proto3" json:"createdAtStart,omitempty"`
	CreatedAtEnd    *timestamppb.Timestamp  `protobuf:"bytes,7,opt,name=createdAtEnd,proto3" json:"createdAtEnd,omitempty"`
	ModifiedAtStart *timestamppb.Timestamp  `protobuf:"bytes,8,opt,name=modifiedAtStart,proto3" json:"modifiedAtStart,omitempty"`
	ModifiedAtEnd   *timestamppb.Timestamp  `protobuf:"bytes,9,opt,name=modifiedAtEnd,proto3" json:"modifiedAtEnd,omitempty"`
	// contains filtered or unexported fields
}

func (*EntryFilter) Descriptor deprecated

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

Deprecated: Use EntryFilter.ProtoReflect.Descriptor instead.

func (*EntryFilter) GetCreatedAtEnd

func (x *EntryFilter) GetCreatedAtEnd() *timestamppb.Timestamp

func (*EntryFilter) GetCreatedAtStart

func (x *EntryFilter) GetCreatedAtStart() *timestamppb.Timestamp

func (*EntryFilter) GetFuzzyName

func (x *EntryFilter) GetFuzzyName() string

func (*EntryFilter) GetIsGroup

func (x *EntryFilter) GetIsGroup() EntryFilter_GroupFilter

func (*EntryFilter) GetKind

func (x *EntryFilter) GetKind() string

func (*EntryFilter) GetModifiedAtEnd

func (x *EntryFilter) GetModifiedAtEnd() *timestamppb.Timestamp

func (*EntryFilter) GetModifiedAtStart

func (x *EntryFilter) GetModifiedAtStart() *timestamppb.Timestamp

func (*EntryFilter) ProtoMessage

func (*EntryFilter) ProtoMessage()

func (*EntryFilter) ProtoReflect

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

func (*EntryFilter) Reset

func (x *EntryFilter) Reset()

func (*EntryFilter) String

func (x *EntryFilter) String() string

type EntryFilter_GroupFilter

type EntryFilter_GroupFilter int32
const (
	EntryFilter_All   EntryFilter_GroupFilter = 0
	EntryFilter_Group EntryFilter_GroupFilter = 1
	EntryFilter_File  EntryFilter_GroupFilter = 2
)

func (EntryFilter_GroupFilter) Descriptor

func (EntryFilter_GroupFilter) Enum

func (EntryFilter_GroupFilter) EnumDescriptor deprecated

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

Deprecated: Use EntryFilter_GroupFilter.Descriptor instead.

func (EntryFilter_GroupFilter) Number

func (EntryFilter_GroupFilter) String

func (x EntryFilter_GroupFilter) String() string

func (EntryFilter_GroupFilter) Type

type EntryInfo

type EntryInfo struct {
	Id         int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name       string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Kind       string                 `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
	IsGroup    bool                   `protobuf:"varint,6,opt,name=isGroup,proto3" json:"isGroup,omitempty"`
	Size       int64                  `protobuf:"varint,7,opt,name=size,proto3" json:"size,omitempty"`
	CreatedAt  *timestamppb.Timestamp `protobuf:"bytes,30,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	ChangedAt  *timestamppb.Timestamp `protobuf:"bytes,31,opt,name=changedAt,proto3" json:"changedAt,omitempty"`
	ModifiedAt *timestamppb.Timestamp `protobuf:"bytes,32,opt,name=modifiedAt,proto3" json:"modifiedAt,omitempty"`
	AccessAt   *timestamppb.Timestamp `protobuf:"bytes,33,opt,name=accessAt,proto3" json:"accessAt,omitempty"`
	// contains filtered or unexported fields
}

func (*EntryInfo) Descriptor deprecated

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

Deprecated: Use EntryInfo.ProtoReflect.Descriptor instead.

func (*EntryInfo) GetAccessAt

func (x *EntryInfo) GetAccessAt() *timestamppb.Timestamp

func (*EntryInfo) GetChangedAt

func (x *EntryInfo) GetChangedAt() *timestamppb.Timestamp

func (*EntryInfo) GetCreatedAt

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

func (*EntryInfo) GetId

func (x *EntryInfo) GetId() int64

func (*EntryInfo) GetIsGroup

func (x *EntryInfo) GetIsGroup() bool

func (*EntryInfo) GetKind

func (x *EntryInfo) GetKind() string

func (*EntryInfo) GetModifiedAt

func (x *EntryInfo) GetModifiedAt() *timestamppb.Timestamp

func (*EntryInfo) GetName

func (x *EntryInfo) GetName() string

func (*EntryInfo) GetSize

func (x *EntryInfo) GetSize() int64

func (*EntryInfo) ProtoMessage

func (*EntryInfo) ProtoMessage()

func (*EntryInfo) ProtoReflect

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

func (*EntryInfo) Reset

func (x *EntryInfo) Reset()

func (*EntryInfo) String

func (x *EntryInfo) String() string

type Event

type Event struct {
	Id              string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type            string                 `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Source          string                 `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	SpecVersion     string                 `protobuf:"bytes,4,opt,name=specVersion,proto3" json:"specVersion,omitempty"`
	DataContentType string                 `protobuf:"bytes,5,opt,name=dataContentType,proto3" json:"dataContentType,omitempty"`
	Data            *Event_EventData       `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"`
	Time            *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=time,proto3" json:"time,omitempty"`
	RefID           int64                  `protobuf:"varint,10,opt,name=refID,proto3" json:"refID,omitempty"`
	RefType         string                 `protobuf:"bytes,11,opt,name=refType,proto3" json:"refType,omitempty"`
	Sequence        int64                  `protobuf:"varint,12,opt,name=sequence,proto3" json:"sequence,omitempty"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetData

func (x *Event) GetData() *Event_EventData

func (*Event) GetDataContentType

func (x *Event) GetDataContentType() string

func (*Event) GetId

func (x *Event) GetId() string

func (*Event) GetRefID

func (x *Event) GetRefID() int64

func (*Event) GetRefType

func (x *Event) GetRefType() string

func (*Event) GetSequence

func (x *Event) GetSequence() int64

func (*Event) GetSource

func (x *Event) GetSource() string

func (*Event) GetSpecVersion

func (x *Event) GetSpecVersion() string

func (*Event) GetTime

func (x *Event) GetTime() *timestamppb.Timestamp

func (*Event) GetType

func (x *Event) GetType() string

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type Event_EventData

type Event_EventData struct {
	Id        int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ParentID  int64  `protobuf:"varint,2,opt,name=parentID,proto3" json:"parentID,omitempty"`
	Kind      string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
	IsGroup   bool   `protobuf:"varint,4,opt,name=isGroup,proto3" json:"isGroup,omitempty"`
	Namespace string `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*Event_EventData) Descriptor deprecated

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

Deprecated: Use Event_EventData.ProtoReflect.Descriptor instead.

func (*Event_EventData) GetId

func (x *Event_EventData) GetId() int64

func (*Event_EventData) GetIsGroup

func (x *Event_EventData) GetIsGroup() bool

func (*Event_EventData) GetKind

func (x *Event_EventData) GetKind() string

func (*Event_EventData) GetNamespace

func (x *Event_EventData) GetNamespace() string

func (*Event_EventData) GetParentID

func (x *Event_EventData) GetParentID() int64

func (*Event_EventData) ProtoMessage

func (*Event_EventData) ProtoMessage()

func (*Event_EventData) ProtoReflect

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

func (*Event_EventData) Reset

func (x *Event_EventData) Reset()

func (*Event_EventData) String

func (x *Event_EventData) String() string

type FindEntryDetailRequest

type FindEntryDetailRequest struct {
	Root     bool   `protobuf:"varint,1,opt,name=root,proto3" json:"root,omitempty"`
	ParentID int64  `protobuf:"varint,2,opt,name=parentID,proto3" json:"parentID,omitempty"`
	Name     string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*FindEntryDetailRequest) Descriptor deprecated

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

Deprecated: Use FindEntryDetailRequest.ProtoReflect.Descriptor instead.

func (*FindEntryDetailRequest) GetName

func (x *FindEntryDetailRequest) GetName() string

func (*FindEntryDetailRequest) GetParentID

func (x *FindEntryDetailRequest) GetParentID() int64

func (*FindEntryDetailRequest) GetRoot

func (x *FindEntryDetailRequest) GetRoot() bool

func (*FindEntryDetailRequest) ProtoMessage

func (*FindEntryDetailRequest) ProtoMessage()

func (*FindEntryDetailRequest) ProtoReflect

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

func (*FindEntryDetailRequest) Reset

func (x *FindEntryDetailRequest) Reset()

func (*FindEntryDetailRequest) String

func (x *FindEntryDetailRequest) String() string

type GetDocumentDetailRequest

type GetDocumentDetailRequest struct {
	DocumentID int64 `protobuf:"varint,1,opt,name=documentID,proto3" json:"documentID,omitempty"`
	EntryID    int64 `protobuf:"varint,2,opt,name=entryID,proto3" json:"entryID,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDocumentDetailRequest) Descriptor deprecated

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

Deprecated: Use GetDocumentDetailRequest.ProtoReflect.Descriptor instead.

func (*GetDocumentDetailRequest) GetDocumentID

func (x *GetDocumentDetailRequest) GetDocumentID() int64

func (*GetDocumentDetailRequest) GetEntryID

func (x *GetDocumentDetailRequest) GetEntryID() int64

func (*GetDocumentDetailRequest) ProtoMessage

func (*GetDocumentDetailRequest) ProtoMessage()

func (*GetDocumentDetailRequest) ProtoReflect

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

func (*GetDocumentDetailRequest) Reset

func (x *GetDocumentDetailRequest) Reset()

func (*GetDocumentDetailRequest) String

func (x *GetDocumentDetailRequest) String() string

type GetDocumentDetailResponse

type GetDocumentDetailResponse struct {
	Document *DocumentDescribe `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDocumentDetailResponse) Descriptor deprecated

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

Deprecated: Use GetDocumentDetailResponse.ProtoReflect.Descriptor instead.

func (*GetDocumentDetailResponse) GetDocument

func (x *GetDocumentDetailResponse) GetDocument() *DocumentDescribe

func (*GetDocumentDetailResponse) ProtoMessage

func (*GetDocumentDetailResponse) ProtoMessage()

func (*GetDocumentDetailResponse) ProtoReflect

func (*GetDocumentDetailResponse) Reset

func (x *GetDocumentDetailResponse) Reset()

func (*GetDocumentDetailResponse) String

func (x *GetDocumentDetailResponse) String() string

type GetDocumentParentsRequest

type GetDocumentParentsRequest struct {
	ParentId int64           `protobuf:"varint,1,opt,name=parentId,proto3" json:"parentId,omitempty"`
	Filter   *DocumentFilter `protobuf:"bytes,10,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDocumentParentsRequest) Descriptor deprecated

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

Deprecated: Use GetDocumentParentsRequest.ProtoReflect.Descriptor instead.

func (*GetDocumentParentsRequest) GetFilter

func (x *GetDocumentParentsRequest) GetFilter() *DocumentFilter

func (*GetDocumentParentsRequest) GetParentId

func (x *GetDocumentParentsRequest) GetParentId() int64

func (*GetDocumentParentsRequest) ProtoMessage

func (*GetDocumentParentsRequest) ProtoMessage()

func (*GetDocumentParentsRequest) ProtoReflect

func (*GetDocumentParentsRequest) Reset

func (x *GetDocumentParentsRequest) Reset()

func (*GetDocumentParentsRequest) String

func (x *GetDocumentParentsRequest) String() string

type GetDocumentParentsResponse

type GetDocumentParentsResponse struct {
	Entries []*EntryInfo `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDocumentParentsResponse) Descriptor deprecated

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

Deprecated: Use GetDocumentParentsResponse.ProtoReflect.Descriptor instead.

func (*GetDocumentParentsResponse) GetEntries

func (x *GetDocumentParentsResponse) GetEntries() []*EntryInfo

func (*GetDocumentParentsResponse) ProtoMessage

func (*GetDocumentParentsResponse) ProtoMessage()

func (*GetDocumentParentsResponse) ProtoReflect

func (*GetDocumentParentsResponse) Reset

func (x *GetDocumentParentsResponse) Reset()

func (*GetDocumentParentsResponse) String

func (x *GetDocumentParentsResponse) String() string

type GetEntryDetailRequest

type GetEntryDetailRequest struct {
	EntryID int64 `protobuf:"varint,1,opt,name=entryID,proto3" json:"entryID,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEntryDetailRequest) Descriptor deprecated

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

Deprecated: Use GetEntryDetailRequest.ProtoReflect.Descriptor instead.

func (*GetEntryDetailRequest) GetEntryID

func (x *GetEntryDetailRequest) GetEntryID() int64

func (*GetEntryDetailRequest) ProtoMessage

func (*GetEntryDetailRequest) ProtoMessage()

func (*GetEntryDetailRequest) ProtoReflect

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

func (*GetEntryDetailRequest) Reset

func (x *GetEntryDetailRequest) Reset()

func (*GetEntryDetailRequest) String

func (x *GetEntryDetailRequest) String() string

type GetEntryDetailResponse

type GetEntryDetailResponse struct {
	Entry      *EntryDetail `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	Properties []*Property  `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEntryDetailResponse) Descriptor deprecated

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

Deprecated: Use GetEntryDetailResponse.ProtoReflect.Descriptor instead.

func (*GetEntryDetailResponse) GetEntry

func (x *GetEntryDetailResponse) GetEntry() *EntryDetail

func (*GetEntryDetailResponse) GetProperties

func (x *GetEntryDetailResponse) GetProperties() []*Property

func (*GetEntryDetailResponse) ProtoMessage

func (*GetEntryDetailResponse) ProtoMessage()

func (*GetEntryDetailResponse) ProtoReflect

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

func (*GetEntryDetailResponse) Reset

func (x *GetEntryDetailResponse) Reset()

func (*GetEntryDetailResponse) String

func (x *GetEntryDetailResponse) String() string

type GetGroupTreeRequest

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

func (*GetGroupTreeRequest) Descriptor deprecated

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

Deprecated: Use GetGroupTreeRequest.ProtoReflect.Descriptor instead.

func (*GetGroupTreeRequest) ProtoMessage

func (*GetGroupTreeRequest) ProtoMessage()

func (*GetGroupTreeRequest) ProtoReflect

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

func (*GetGroupTreeRequest) Reset

func (x *GetGroupTreeRequest) Reset()

func (*GetGroupTreeRequest) String

func (x *GetGroupTreeRequest) String() string

type GetGroupTreeResponse

type GetGroupTreeResponse struct {
	Root *GetGroupTreeResponse_GroupEntry `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGroupTreeResponse) Descriptor deprecated

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

Deprecated: Use GetGroupTreeResponse.ProtoReflect.Descriptor instead.

func (*GetGroupTreeResponse) GetRoot

func (*GetGroupTreeResponse) ProtoMessage

func (*GetGroupTreeResponse) ProtoMessage()

func (*GetGroupTreeResponse) ProtoReflect

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

func (*GetGroupTreeResponse) Reset

func (x *GetGroupTreeResponse) Reset()

func (*GetGroupTreeResponse) String

func (x *GetGroupTreeResponse) String() string

type GetGroupTreeResponse_GroupEntry

type GetGroupTreeResponse_GroupEntry struct {
	Entry    *EntryInfo                         `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	Children []*GetGroupTreeResponse_GroupEntry `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGroupTreeResponse_GroupEntry) Descriptor deprecated

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

Deprecated: Use GetGroupTreeResponse_GroupEntry.ProtoReflect.Descriptor instead.

func (*GetGroupTreeResponse_GroupEntry) GetChildren

func (*GetGroupTreeResponse_GroupEntry) GetEntry

func (*GetGroupTreeResponse_GroupEntry) ProtoMessage

func (*GetGroupTreeResponse_GroupEntry) ProtoMessage()

func (*GetGroupTreeResponse_GroupEntry) ProtoReflect

func (*GetGroupTreeResponse_GroupEntry) Reset

func (*GetGroupTreeResponse_GroupEntry) String

type GetLatestSequenceRequest

type GetLatestSequenceRequest struct {
	StartSequence int64 `protobuf:"varint,1,opt,name=startSequence,proto3" json:"startSequence,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLatestSequenceRequest) Descriptor deprecated

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

Deprecated: Use GetLatestSequenceRequest.ProtoReflect.Descriptor instead.

func (*GetLatestSequenceRequest) GetStartSequence

func (x *GetLatestSequenceRequest) GetStartSequence() int64

func (*GetLatestSequenceRequest) ProtoMessage

func (*GetLatestSequenceRequest) ProtoMessage()

func (*GetLatestSequenceRequest) ProtoReflect

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

func (*GetLatestSequenceRequest) Reset

func (x *GetLatestSequenceRequest) Reset()

func (*GetLatestSequenceRequest) String

func (x *GetLatestSequenceRequest) String() string

type GetLatestSequenceResponse

type GetLatestSequenceResponse struct {
	Sequence   int64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
	NeedRelist bool  `protobuf:"varint,2,opt,name=needRelist,proto3" json:"needRelist,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLatestSequenceResponse) Descriptor deprecated

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

Deprecated: Use GetLatestSequenceResponse.ProtoReflect.Descriptor instead.

func (*GetLatestSequenceResponse) GetNeedRelist

func (x *GetLatestSequenceResponse) GetNeedRelist() bool

func (*GetLatestSequenceResponse) GetSequence

func (x *GetLatestSequenceResponse) GetSequence() int64

func (*GetLatestSequenceResponse) ProtoMessage

func (*GetLatestSequenceResponse) ProtoMessage()

func (*GetLatestSequenceResponse) ProtoReflect

func (*GetLatestSequenceResponse) Reset

func (x *GetLatestSequenceResponse) Reset()

func (*GetLatestSequenceResponse) String

func (x *GetLatestSequenceResponse) String() string

type InboxClient

type InboxClient interface {
	QuickInbox(ctx context.Context, in *QuickInboxRequest, opts ...grpc.CallOption) (*QuickInboxResponse, error)
}

InboxClient is the client API for Inbox service.

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

func NewInboxClient

func NewInboxClient(cc grpc.ClientConnInterface) InboxClient

type InboxServer

type InboxServer interface {
	QuickInbox(context.Context, *QuickInboxRequest) (*QuickInboxResponse, error)
}

InboxServer is the server API for Inbox service. All implementations should embed UnimplementedInboxServer for forward compatibility

type ListDocumentsRequest

type ListDocumentsRequest struct {
	ListAll    bool                               `protobuf:"varint,1,opt,name=listAll,proto3" json:"listAll,omitempty"`
	ParentID   int64                              `protobuf:"varint,2,opt,name=parentID,proto3" json:"parentID,omitempty"`
	Pagination *Pagination                        `protobuf:"bytes,10,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Order      ListDocumentsRequest_DocumentOrder `protobuf:"varint,11,opt,name=order,proto3,enum=api.v1.ListDocumentsRequest_DocumentOrder" json:"order,omitempty"`
	OrderDesc  bool                               `protobuf:"varint,12,opt,name=OrderDesc,proto3" json:"OrderDesc,omitempty"`
	Filter     *DocumentFilter                    `protobuf:"bytes,13,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDocumentsRequest) Descriptor deprecated

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

Deprecated: Use ListDocumentsRequest.ProtoReflect.Descriptor instead.

func (*ListDocumentsRequest) GetFilter

func (x *ListDocumentsRequest) GetFilter() *DocumentFilter

func (*ListDocumentsRequest) GetListAll

func (x *ListDocumentsRequest) GetListAll() bool

func (*ListDocumentsRequest) GetOrder

func (*ListDocumentsRequest) GetOrderDesc

func (x *ListDocumentsRequest) GetOrderDesc() bool

func (*ListDocumentsRequest) GetPagination

func (x *ListDocumentsRequest) GetPagination() *Pagination

func (*ListDocumentsRequest) GetParentID

func (x *ListDocumentsRequest) GetParentID() int64

func (*ListDocumentsRequest) ProtoMessage

func (*ListDocumentsRequest) ProtoMessage()

func (*ListDocumentsRequest) ProtoReflect

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

func (*ListDocumentsRequest) Reset

func (x *ListDocumentsRequest) Reset()

func (*ListDocumentsRequest) String

func (x *ListDocumentsRequest) String() string

type ListDocumentsRequest_DocumentOrder

type ListDocumentsRequest_DocumentOrder int32
const (
	ListDocumentsRequest_Name      ListDocumentsRequest_DocumentOrder = 0
	ListDocumentsRequest_Source    ListDocumentsRequest_DocumentOrder = 1
	ListDocumentsRequest_Marked    ListDocumentsRequest_DocumentOrder = 2
	ListDocumentsRequest_Unread    ListDocumentsRequest_DocumentOrder = 3
	ListDocumentsRequest_CreatedAt ListDocumentsRequest_DocumentOrder = 4
)

func (ListDocumentsRequest_DocumentOrder) Descriptor

func (ListDocumentsRequest_DocumentOrder) Enum

func (ListDocumentsRequest_DocumentOrder) EnumDescriptor deprecated

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

Deprecated: Use ListDocumentsRequest_DocumentOrder.Descriptor instead.

func (ListDocumentsRequest_DocumentOrder) Number

func (ListDocumentsRequest_DocumentOrder) String

func (ListDocumentsRequest_DocumentOrder) Type

type ListDocumentsResponse

type ListDocumentsResponse struct {
	Documents []*DocumentInfo `protobuf:"bytes,1,rep,name=documents,proto3" json:"documents,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDocumentsResponse) Descriptor deprecated

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

Deprecated: Use ListDocumentsResponse.ProtoReflect.Descriptor instead.

func (*ListDocumentsResponse) GetDocuments

func (x *ListDocumentsResponse) GetDocuments() []*DocumentInfo

func (*ListDocumentsResponse) ProtoMessage

func (*ListDocumentsResponse) ProtoMessage()

func (*ListDocumentsResponse) ProtoReflect

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

func (*ListDocumentsResponse) Reset

func (x *ListDocumentsResponse) Reset()

func (*ListDocumentsResponse) String

func (x *ListDocumentsResponse) String() string

type ListGroupChildrenRequest

type ListGroupChildrenRequest struct {
	ParentID   int64                               `protobuf:"varint,1,opt,name=parentID,proto3" json:"parentID,omitempty"`
	Pagination *Pagination                         `protobuf:"bytes,10,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Order      ListGroupChildrenRequest_EntryOrder `protobuf:"varint,11,opt,name=order,proto3,enum=api.v1.ListGroupChildrenRequest_EntryOrder" json:"order,omitempty"`
	OrderDesc  bool                                `protobuf:"varint,12,opt,name=OrderDesc,proto3" json:"OrderDesc,omitempty"`
	Filter     *EntryFilter                        `protobuf:"bytes,13,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListGroupChildrenRequest) Descriptor deprecated

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

Deprecated: Use ListGroupChildrenRequest.ProtoReflect.Descriptor instead.

func (*ListGroupChildrenRequest) GetFilter

func (x *ListGroupChildrenRequest) GetFilter() *EntryFilter

func (*ListGroupChildrenRequest) GetOrder

func (*ListGroupChildrenRequest) GetOrderDesc

func (x *ListGroupChildrenRequest) GetOrderDesc() bool

func (*ListGroupChildrenRequest) GetPagination

func (x *ListGroupChildrenRequest) GetPagination() *Pagination

func (*ListGroupChildrenRequest) GetParentID

func (x *ListGroupChildrenRequest) GetParentID() int64

func (*ListGroupChildrenRequest) ProtoMessage

func (*ListGroupChildrenRequest) ProtoMessage()

func (*ListGroupChildrenRequest) ProtoReflect

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

func (*ListGroupChildrenRequest) Reset

func (x *ListGroupChildrenRequest) Reset()

func (*ListGroupChildrenRequest) String

func (x *ListGroupChildrenRequest) String() string

type ListGroupChildrenRequest_EntryOrder

type ListGroupChildrenRequest_EntryOrder int32
const (
	ListGroupChildrenRequest_Name       ListGroupChildrenRequest_EntryOrder = 0
	ListGroupChildrenRequest_Kind       ListGroupChildrenRequest_EntryOrder = 1
	ListGroupChildrenRequest_IsGroup    ListGroupChildrenRequest_EntryOrder = 2
	ListGroupChildrenRequest_Size       ListGroupChildrenRequest_EntryOrder = 3
	ListGroupChildrenRequest_CreatedAt  ListGroupChildrenRequest_EntryOrder = 4
	ListGroupChildrenRequest_ModifiedAt ListGroupChildrenRequest_EntryOrder = 5
)

func (ListGroupChildrenRequest_EntryOrder) Descriptor

func (ListGroupChildrenRequest_EntryOrder) Enum

func (ListGroupChildrenRequest_EntryOrder) EnumDescriptor deprecated

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

Deprecated: Use ListGroupChildrenRequest_EntryOrder.Descriptor instead.

func (ListGroupChildrenRequest_EntryOrder) Number

func (ListGroupChildrenRequest_EntryOrder) String

func (ListGroupChildrenRequest_EntryOrder) Type

type ListGroupChildrenResponse

type ListGroupChildrenResponse struct {
	Entries []*EntryInfo `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*ListGroupChildrenResponse) Descriptor deprecated

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

Deprecated: Use ListGroupChildrenResponse.ProtoReflect.Descriptor instead.

func (*ListGroupChildrenResponse) GetEntries

func (x *ListGroupChildrenResponse) GetEntries() []*EntryInfo

func (*ListGroupChildrenResponse) ProtoMessage

func (*ListGroupChildrenResponse) ProtoMessage()

func (*ListGroupChildrenResponse) ProtoReflect

func (*ListGroupChildrenResponse) Reset

func (x *ListGroupChildrenResponse) Reset()

func (*ListGroupChildrenResponse) String

func (x *ListGroupChildrenResponse) String() string

type ListRoomsRequest

type ListRoomsRequest struct {
	EntryID int64 `protobuf:"varint,1,opt,name=entryID,proto3" json:"entryID,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRoomsRequest) Descriptor deprecated

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

Deprecated: Use ListRoomsRequest.ProtoReflect.Descriptor instead.

func (*ListRoomsRequest) GetEntryID

func (x *ListRoomsRequest) GetEntryID() int64

func (*ListRoomsRequest) ProtoMessage

func (*ListRoomsRequest) ProtoMessage()

func (*ListRoomsRequest) ProtoReflect

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

func (*ListRoomsRequest) Reset

func (x *ListRoomsRequest) Reset()

func (*ListRoomsRequest) String

func (x *ListRoomsRequest) String() string

type ListRoomsResponse

type ListRoomsResponse struct {
	Rooms []*RoomInfo `protobuf:"bytes,1,rep,name=rooms,proto3" json:"rooms,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRoomsResponse) Descriptor deprecated

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

Deprecated: Use ListRoomsResponse.ProtoReflect.Descriptor instead.

func (*ListRoomsResponse) GetRooms

func (x *ListRoomsResponse) GetRooms() []*RoomInfo

func (*ListRoomsResponse) ProtoMessage

func (*ListRoomsResponse) ProtoMessage()

func (*ListRoomsResponse) ProtoReflect

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

func (*ListRoomsResponse) Reset

func (x *ListRoomsResponse) Reset()

func (*ListRoomsResponse) String

func (x *ListRoomsResponse) String() string

type ListUnSyncedEventRequest

type ListUnSyncedEventRequest struct {
	StartSequence int64 `protobuf:"varint,1,opt,name=startSequence,proto3" json:"startSequence,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUnSyncedEventRequest) Descriptor deprecated

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

Deprecated: Use ListUnSyncedEventRequest.ProtoReflect.Descriptor instead.

func (*ListUnSyncedEventRequest) GetStartSequence

func (x *ListUnSyncedEventRequest) GetStartSequence() int64

func (*ListUnSyncedEventRequest) ProtoMessage

func (*ListUnSyncedEventRequest) ProtoMessage()

func (*ListUnSyncedEventRequest) ProtoReflect

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

func (*ListUnSyncedEventRequest) Reset

func (x *ListUnSyncedEventRequest) Reset()

func (*ListUnSyncedEventRequest) String

func (x *ListUnSyncedEventRequest) String() string

type ListUnSyncedEventResponse

type ListUnSyncedEventResponse struct {
	Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUnSyncedEventResponse) Descriptor deprecated

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

Deprecated: Use ListUnSyncedEventResponse.ProtoReflect.Descriptor instead.

func (*ListUnSyncedEventResponse) GetEvents

func (x *ListUnSyncedEventResponse) GetEvents() []*Event

func (*ListUnSyncedEventResponse) ProtoMessage

func (*ListUnSyncedEventResponse) ProtoMessage()

func (*ListUnSyncedEventResponse) ProtoReflect

func (*ListUnSyncedEventResponse) Reset

func (x *ListUnSyncedEventResponse) Reset()

func (*ListUnSyncedEventResponse) String

func (x *ListUnSyncedEventResponse) String() string

type NotifyClient

type NotifyClient interface {
	GetLatestSequence(ctx context.Context, in *GetLatestSequenceRequest, opts ...grpc.CallOption) (*GetLatestSequenceResponse, error)
	ListUnSyncedEvent(ctx context.Context, in *ListUnSyncedEventRequest, opts ...grpc.CallOption) (*ListUnSyncedEventResponse, error)
	CommitSyncedEvent(ctx context.Context, in *CommitSyncedEventRequest, opts ...grpc.CallOption) (*CommitSyncedEventResponse, error)
}

NotifyClient is the client API for Notify service.

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

func NewNotifyClient

func NewNotifyClient(cc grpc.ClientConnInterface) NotifyClient

type NotifyServer

NotifyServer is the server API for Notify service. All implementations should embed UnimplementedNotifyServer for forward compatibility

type OpenRoomRequest

type OpenRoomRequest struct {
	EntryID int64                   `protobuf:"varint,1,opt,name=entryID,proto3" json:"entryID,omitempty"`
	RoomID  int64                   `protobuf:"varint,2,opt,name=roomID,proto3" json:"roomID,omitempty"`
	Option  *OpenRoomRequest_Option `protobuf:"bytes,3,opt,name=option,proto3" json:"option,omitempty"`
	// contains filtered or unexported fields
}

func (*OpenRoomRequest) Descriptor deprecated

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

Deprecated: Use OpenRoomRequest.ProtoReflect.Descriptor instead.

func (*OpenRoomRequest) GetEntryID

func (x *OpenRoomRequest) GetEntryID() int64

func (*OpenRoomRequest) GetOption

func (x *OpenRoomRequest) GetOption() *OpenRoomRequest_Option

func (*OpenRoomRequest) GetRoomID

func (x *OpenRoomRequest) GetRoomID() int64

func (*OpenRoomRequest) ProtoMessage

func (*OpenRoomRequest) ProtoMessage()

func (*OpenRoomRequest) ProtoReflect

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

func (*OpenRoomRequest) Reset

func (x *OpenRoomRequest) Reset()

func (*OpenRoomRequest) String

func (x *OpenRoomRequest) String() string

type OpenRoomRequest_Option

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

func (*OpenRoomRequest_Option) Descriptor deprecated

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

Deprecated: Use OpenRoomRequest_Option.ProtoReflect.Descriptor instead.

func (*OpenRoomRequest_Option) GetPrompt

func (x *OpenRoomRequest_Option) GetPrompt() string

func (*OpenRoomRequest_Option) ProtoMessage

func (*OpenRoomRequest_Option) ProtoMessage()

func (*OpenRoomRequest_Option) ProtoReflect

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

func (*OpenRoomRequest_Option) Reset

func (x *OpenRoomRequest_Option) Reset()

func (*OpenRoomRequest_Option) String

func (x *OpenRoomRequest_Option) String() string

type OpenRoomResponse

type OpenRoomResponse struct {
	Room *RoomInfo `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"`
	// contains filtered or unexported fields
}

func (*OpenRoomResponse) Descriptor deprecated

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

Deprecated: Use OpenRoomResponse.ProtoReflect.Descriptor instead.

func (*OpenRoomResponse) GetRoom

func (x *OpenRoomResponse) GetRoom() *RoomInfo

func (*OpenRoomResponse) ProtoMessage

func (*OpenRoomResponse) ProtoMessage()

func (*OpenRoomResponse) ProtoReflect

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

func (*OpenRoomResponse) Reset

func (x *OpenRoomResponse) Reset()

func (*OpenRoomResponse) String

func (x *OpenRoomResponse) String() string

type Pagination

type Pagination struct {
	Page     int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize int64 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	// contains filtered or unexported fields
}

func (*Pagination) Descriptor deprecated

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

Deprecated: Use Pagination.ProtoReflect.Descriptor instead.

func (*Pagination) GetPage

func (x *Pagination) GetPage() int64

func (*Pagination) GetPageSize

func (x *Pagination) GetPageSize() int64

func (*Pagination) ProtoMessage

func (*Pagination) ProtoMessage()

func (*Pagination) ProtoReflect

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

func (*Pagination) Reset

func (x *Pagination) Reset()

func (*Pagination) String

func (x *Pagination) String() string

type PropertiesClient

type PropertiesClient interface {
	AddProperty(ctx context.Context, in *AddPropertyRequest, opts ...grpc.CallOption) (*AddPropertyResponse, error)
	UpdateProperty(ctx context.Context, in *UpdatePropertyRequest, opts ...grpc.CallOption) (*UpdatePropertyResponse, error)
	DeleteProperty(ctx context.Context, in *DeletePropertyRequest, opts ...grpc.CallOption) (*DeletePropertyResponse, error)
}

PropertiesClient is the client API for Properties service.

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

func NewPropertiesClient

func NewPropertiesClient(cc grpc.ClientConnInterface) PropertiesClient

type PropertiesServer

PropertiesServer is the server API for Properties service. All implementations should embed UnimplementedPropertiesServer for forward compatibility

type Property

type Property struct {
	Key     string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value   string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Encoded bool   `protobuf:"varint,3,opt,name=encoded,proto3" json:"encoded,omitempty"`
	// contains filtered or unexported fields
}

func (*Property) Descriptor deprecated

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

Deprecated: Use Property.ProtoReflect.Descriptor instead.

func (*Property) GetEncoded

func (x *Property) GetEncoded() bool

func (*Property) GetKey

func (x *Property) GetKey() string

func (*Property) GetValue

func (x *Property) GetValue() string

func (*Property) ProtoMessage

func (*Property) ProtoMessage()

func (*Property) ProtoReflect

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

func (*Property) Reset

func (x *Property) Reset()

func (*Property) String

func (x *Property) String() string

type QuickInboxRequest

type QuickInboxRequest struct {
	SourceType QuickInboxRequest_SourceType `protobuf:"varint,1,opt,name=sourceType,proto3,enum=api.v1.QuickInboxRequest_SourceType" json:"sourceType,omitempty"`
	FileType   WebFileType                  `protobuf:"varint,2,opt,name=fileType,proto3,enum=api.v1.WebFileType" json:"fileType,omitempty"`
	Filename   string                       `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"`
	Url        string                       `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
	Data       []byte                       `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	// url source
	ClutterFree bool `protobuf:"varint,10,opt,name=clutterFree,proto3" json:"clutterFree,omitempty"`
	// contains filtered or unexported fields
}

func (*QuickInboxRequest) Descriptor deprecated

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

Deprecated: Use QuickInboxRequest.ProtoReflect.Descriptor instead.

func (*QuickInboxRequest) GetClutterFree

func (x *QuickInboxRequest) GetClutterFree() bool

func (*QuickInboxRequest) GetData

func (x *QuickInboxRequest) GetData() []byte

func (*QuickInboxRequest) GetFileType

func (x *QuickInboxRequest) GetFileType() WebFileType

func (*QuickInboxRequest) GetFilename

func (x *QuickInboxRequest) GetFilename() string

func (*QuickInboxRequest) GetSourceType

func (*QuickInboxRequest) GetUrl

func (x *QuickInboxRequest) GetUrl() string

func (*QuickInboxRequest) ProtoMessage

func (*QuickInboxRequest) ProtoMessage()

func (*QuickInboxRequest) ProtoReflect

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

func (*QuickInboxRequest) Reset

func (x *QuickInboxRequest) Reset()

func (*QuickInboxRequest) String

func (x *QuickInboxRequest) String() string

type QuickInboxRequest_SourceType

type QuickInboxRequest_SourceType int32
const (
	QuickInboxRequest_UrlSource QuickInboxRequest_SourceType = 0
)

func (QuickInboxRequest_SourceType) Descriptor

func (QuickInboxRequest_SourceType) Enum

func (QuickInboxRequest_SourceType) EnumDescriptor deprecated

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

Deprecated: Use QuickInboxRequest_SourceType.Descriptor instead.

func (QuickInboxRequest_SourceType) Number

func (QuickInboxRequest_SourceType) String

func (QuickInboxRequest_SourceType) Type

type QuickInboxResponse

type QuickInboxResponse struct {
	EntryID int64  `protobuf:"varint,1,opt,name=entryID,proto3" json:"entryID,omitempty"`
	JobID   string `protobuf:"bytes,2,opt,name=jobID,proto3" json:"jobID,omitempty"`
	// contains filtered or unexported fields
}

func (*QuickInboxResponse) Descriptor deprecated

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

Deprecated: Use QuickInboxResponse.ProtoReflect.Descriptor instead.

func (*QuickInboxResponse) GetEntryID

func (x *QuickInboxResponse) GetEntryID() int64

func (*QuickInboxResponse) GetJobID

func (x *QuickInboxResponse) GetJobID() string

func (*QuickInboxResponse) ProtoMessage

func (*QuickInboxResponse) ProtoMessage()

func (*QuickInboxResponse) ProtoReflect

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

func (*QuickInboxResponse) Reset

func (x *QuickInboxResponse) Reset()

func (*QuickInboxResponse) String

func (x *QuickInboxResponse) String() string

type ReadFileRequest

type ReadFileRequest struct {
	EntryID int64 `protobuf:"varint,1,opt,name=entryID,proto3" json:"entryID,omitempty"`
	Off     int64 `protobuf:"varint,2,opt,name=off,proto3" json:"off,omitempty"`
	Len     int64 `protobuf:"varint,3,opt,name=len,proto3" json:"len,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadFileRequest) Descriptor deprecated

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

Deprecated: Use ReadFileRequest.ProtoReflect.Descriptor instead.

func (*ReadFileRequest) GetEntryID

func (x *ReadFileRequest) GetEntryID() int64

func (*ReadFileRequest) GetLen

func (x *ReadFileRequest) GetLen() int64

func (*ReadFileRequest) GetOff

func (x *ReadFileRequest) GetOff() int64

func (*ReadFileRequest) ProtoMessage

func (*ReadFileRequest) ProtoMessage()

func (*ReadFileRequest) ProtoReflect

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

func (*ReadFileRequest) Reset

func (x *ReadFileRequest) Reset()

func (*ReadFileRequest) String

func (x *ReadFileRequest) String() string

type ReadFileResponse

type ReadFileResponse struct {
	Off  int64  `protobuf:"varint,1,opt,name=off,proto3" json:"off,omitempty"`
	Len  int64  `protobuf:"varint,2,opt,name=len,proto3" json:"len,omitempty"`
	Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadFileResponse) Descriptor deprecated

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

Deprecated: Use ReadFileResponse.ProtoReflect.Descriptor instead.

func (*ReadFileResponse) GetData

func (x *ReadFileResponse) GetData() []byte

func (*ReadFileResponse) GetLen

func (x *ReadFileResponse) GetLen() int64

func (*ReadFileResponse) GetOff

func (x *ReadFileResponse) GetOff() int64

func (*ReadFileResponse) ProtoMessage

func (*ReadFileResponse) ProtoMessage()

func (*ReadFileResponse) ProtoReflect

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

func (*ReadFileResponse) Reset

func (x *ReadFileResponse) Reset()

func (*ReadFileResponse) String

func (x *ReadFileResponse) String() string

type RoomClient

type RoomClient interface {
	ListRooms(ctx context.Context, in *ListRoomsRequest, opts ...grpc.CallOption) (*ListRoomsResponse, error)
	OpenRoom(ctx context.Context, in *OpenRoomRequest, opts ...grpc.CallOption) (*OpenRoomResponse, error)
	UpdateRoom(ctx context.Context, in *UpdateRoomRequest, opts ...grpc.CallOption) (*UpdateRoomResponse, error)
	DeleteRoom(ctx context.Context, in *DeleteRoomRequest, opts ...grpc.CallOption) (*DeleteRoomResponse, error)
	ClearRoom(ctx context.Context, in *ClearRoomRequest, opts ...grpc.CallOption) (*ClearRoomResponse, error)
	ChatInRoom(ctx context.Context, in *ChatRequest, opts ...grpc.CallOption) (Room_ChatInRoomClient, error)
}

RoomClient is the client API for Room service.

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

func NewRoomClient

func NewRoomClient(cc grpc.ClientConnInterface) RoomClient

type RoomInfo

type RoomInfo struct {
	Id        int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	EntryID   int64                  `protobuf:"varint,2,opt,name=entryID,proto3" json:"entryID,omitempty"`
	Title     string                 `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	Prompt    string                 `protobuf:"bytes,4,opt,name=prompt,proto3" json:"prompt,omitempty"`
	Namespace string                 `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Messages  []*RoomMessage         `protobuf:"bytes,10,rep,name=messages,proto3" json:"messages,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	// contains filtered or unexported fields
}

func (*RoomInfo) Descriptor deprecated

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

Deprecated: Use RoomInfo.ProtoReflect.Descriptor instead.

func (*RoomInfo) GetCreatedAt

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

func (*RoomInfo) GetEntryID

func (x *RoomInfo) GetEntryID() int64

func (*RoomInfo) GetId

func (x *RoomInfo) GetId() int64

func (*RoomInfo) GetMessages

func (x *RoomInfo) GetMessages() []*RoomMessage

func (*RoomInfo) GetNamespace

func (x *RoomInfo) GetNamespace() string

func (*RoomInfo) GetPrompt

func (x *RoomInfo) GetPrompt() string

func (*RoomInfo) GetTitle

func (x *RoomInfo) GetTitle() string

func (*RoomInfo) ProtoMessage

func (*RoomInfo) ProtoMessage()

func (*RoomInfo) ProtoReflect

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

func (*RoomInfo) Reset

func (x *RoomInfo) Reset()

func (*RoomInfo) String

func (x *RoomInfo) String() string

type RoomMessage

type RoomMessage struct {
	Id        int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	RoomID    int64                  `protobuf:"varint,2,opt,name=roomID,proto3" json:"roomID,omitempty"`
	Sender    string                 `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
	Message   string                 `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	Namespace string                 `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"`
	SendAt    *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=sendAt,proto3" json:"sendAt,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	// contains filtered or unexported fields
}

func (*RoomMessage) Descriptor deprecated

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

Deprecated: Use RoomMessage.ProtoReflect.Descriptor instead.

func (*RoomMessage) GetCreatedAt

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

func (*RoomMessage) GetId

func (x *RoomMessage) GetId() int64

func (*RoomMessage) GetMessage

func (x *RoomMessage) GetMessage() string

func (*RoomMessage) GetNamespace

func (x *RoomMessage) GetNamespace() string

func (*RoomMessage) GetRoomID

func (x *RoomMessage) GetRoomID() int64

func (*RoomMessage) GetSendAt

func (x *RoomMessage) GetSendAt() *timestamppb.Timestamp

func (*RoomMessage) GetSender

func (x *RoomMessage) GetSender() string

func (*RoomMessage) ProtoMessage

func (*RoomMessage) ProtoMessage()

func (*RoomMessage) ProtoReflect

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

func (*RoomMessage) Reset

func (x *RoomMessage) Reset()

func (*RoomMessage) String

func (x *RoomMessage) String() string

type RoomServer

RoomServer is the server API for Room service. All implementations should embed UnimplementedRoomServer for forward compatibility

type Room_ChatInRoomClient

type Room_ChatInRoomClient interface {
	Recv() (*ChatResponse, error)
	grpc.ClientStream
}

type Room_ChatInRoomServer

type Room_ChatInRoomServer interface {
	Send(*ChatResponse) error
	grpc.ServerStream
}

type SearchDocumentsRequest

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

func (*SearchDocumentsRequest) Descriptor deprecated

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

Deprecated: Use SearchDocumentsRequest.ProtoReflect.Descriptor instead.

func (*SearchDocumentsRequest) GetQuery

func (x *SearchDocumentsRequest) GetQuery() string

func (*SearchDocumentsRequest) ProtoMessage

func (*SearchDocumentsRequest) ProtoMessage()

func (*SearchDocumentsRequest) ProtoReflect

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

func (*SearchDocumentsRequest) Reset

func (x *SearchDocumentsRequest) Reset()

func (*SearchDocumentsRequest) String

func (x *SearchDocumentsRequest) String() string

type SearchDocumentsResponse

type SearchDocumentsResponse struct {
	Documents []*DocumentInfo `protobuf:"bytes,1,rep,name=documents,proto3" json:"documents,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchDocumentsResponse) Descriptor deprecated

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

Deprecated: Use SearchDocumentsResponse.ProtoReflect.Descriptor instead.

func (*SearchDocumentsResponse) GetDocuments

func (x *SearchDocumentsResponse) GetDocuments() []*DocumentInfo

func (*SearchDocumentsResponse) ProtoMessage

func (*SearchDocumentsResponse) ProtoMessage()

func (*SearchDocumentsResponse) ProtoReflect

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

func (*SearchDocumentsResponse) Reset

func (x *SearchDocumentsResponse) Reset()

func (*SearchDocumentsResponse) String

func (x *SearchDocumentsResponse) String() string

type TriggerWorkflowRequest

type TriggerWorkflowRequest struct {
	WorkflowID string                                  `protobuf:"bytes,1,opt,name=workflowID,proto3" json:"workflowID,omitempty"`
	Target     *TriggerWorkflowRequest_WorkflowTarget  `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	Attr       *TriggerWorkflowRequest_WorkflowJobAttr `protobuf:"bytes,3,opt,name=attr,proto3" json:"attr,omitempty"`
	// contains filtered or unexported fields
}

func (*TriggerWorkflowRequest) Descriptor deprecated

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

Deprecated: Use TriggerWorkflowRequest.ProtoReflect.Descriptor instead.

func (*TriggerWorkflowRequest) GetAttr

func (*TriggerWorkflowRequest) GetTarget

func (*TriggerWorkflowRequest) GetWorkflowID

func (x *TriggerWorkflowRequest) GetWorkflowID() string

func (*TriggerWorkflowRequest) ProtoMessage

func (*TriggerWorkflowRequest) ProtoMessage()

func (*TriggerWorkflowRequest) ProtoReflect

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

func (*TriggerWorkflowRequest) Reset

func (x *TriggerWorkflowRequest) Reset()

func (*TriggerWorkflowRequest) String

func (x *TriggerWorkflowRequest) String() string

type TriggerWorkflowRequest_WorkflowJobAttr

type TriggerWorkflowRequest_WorkflowJobAttr struct {
	Reason  string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
	Timeout int64  `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*TriggerWorkflowRequest_WorkflowJobAttr) Descriptor deprecated

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

Deprecated: Use TriggerWorkflowRequest_WorkflowJobAttr.ProtoReflect.Descriptor instead.

func (*TriggerWorkflowRequest_WorkflowJobAttr) GetReason

func (*TriggerWorkflowRequest_WorkflowJobAttr) GetTimeout

func (*TriggerWorkflowRequest_WorkflowJobAttr) ProtoMessage

func (*TriggerWorkflowRequest_WorkflowJobAttr) ProtoReflect

func (*TriggerWorkflowRequest_WorkflowJobAttr) Reset

func (*TriggerWorkflowRequest_WorkflowJobAttr) String

type TriggerWorkflowRequest_WorkflowTarget

type TriggerWorkflowRequest_WorkflowTarget struct {
	EntryID       int64 `protobuf:"varint,1,opt,name=entryID,proto3" json:"entryID,omitempty"`
	ParentEntryID int64 `protobuf:"varint,2,opt,name=parentEntryID,proto3" json:"parentEntryID,omitempty"`
	// contains filtered or unexported fields
}

func (*TriggerWorkflowRequest_WorkflowTarget) Descriptor deprecated

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

Deprecated: Use TriggerWorkflowRequest_WorkflowTarget.ProtoReflect.Descriptor instead.

func (*TriggerWorkflowRequest_WorkflowTarget) GetEntryID

func (*TriggerWorkflowRequest_WorkflowTarget) GetParentEntryID

func (x *TriggerWorkflowRequest_WorkflowTarget) GetParentEntryID() int64

func (*TriggerWorkflowRequest_WorkflowTarget) ProtoMessage

func (*TriggerWorkflowRequest_WorkflowTarget) ProtoMessage()

func (*TriggerWorkflowRequest_WorkflowTarget) ProtoReflect

func (*TriggerWorkflowRequest_WorkflowTarget) Reset

func (*TriggerWorkflowRequest_WorkflowTarget) String

type TriggerWorkflowResponse

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

func (*TriggerWorkflowResponse) Descriptor deprecated

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

Deprecated: Use TriggerWorkflowResponse.ProtoReflect.Descriptor instead.

func (*TriggerWorkflowResponse) GetJobID

func (x *TriggerWorkflowResponse) GetJobID() string

func (*TriggerWorkflowResponse) ProtoMessage

func (*TriggerWorkflowResponse) ProtoMessage()

func (*TriggerWorkflowResponse) ProtoReflect

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

func (*TriggerWorkflowResponse) Reset

func (x *TriggerWorkflowResponse) Reset()

func (*TriggerWorkflowResponse) String

func (x *TriggerWorkflowResponse) String() string

type UnimplementedAuthServer

type UnimplementedAuthServer struct {
}

UnimplementedAuthServer should be embedded to have forward compatible implementations.

func (UnimplementedAuthServer) AccessToken

type UnimplementedDocumentServer

type UnimplementedDocumentServer struct {
}

UnimplementedDocumentServer should be embedded to have forward compatible implementations.

func (UnimplementedDocumentServer) GetDocumentDetail

func (UnimplementedDocumentServer) ListDocuments

func (UnimplementedDocumentServer) SearchDocuments

func (UnimplementedDocumentServer) UpdateDocument

type UnimplementedEntriesServer

type UnimplementedEntriesServer struct {
}

UnimplementedEntriesServer should be embedded to have forward compatible implementations.

func (UnimplementedEntriesServer) ChangeParent

func (UnimplementedEntriesServer) CreateEntry

func (UnimplementedEntriesServer) DeleteEntries

func (UnimplementedEntriesServer) DeleteEntry

func (UnimplementedEntriesServer) FindEntryDetail

func (UnimplementedEntriesServer) GetEntryDetail

func (UnimplementedEntriesServer) GroupTree

func (UnimplementedEntriesServer) ReadFile

func (UnimplementedEntriesServer) UpdateEntry

func (UnimplementedEntriesServer) WriteFile

type UnimplementedInboxServer

type UnimplementedInboxServer struct {
}

UnimplementedInboxServer should be embedded to have forward compatible implementations.

func (UnimplementedInboxServer) QuickInbox

type UnimplementedNotifyServer

type UnimplementedNotifyServer struct {
}

UnimplementedNotifyServer should be embedded to have forward compatible implementations.

type UnimplementedPropertiesServer

type UnimplementedPropertiesServer struct {
}

UnimplementedPropertiesServer should be embedded to have forward compatible implementations.

func (UnimplementedPropertiesServer) AddProperty

func (UnimplementedPropertiesServer) DeleteProperty

func (UnimplementedPropertiesServer) UpdateProperty

type UnimplementedRoomServer

type UnimplementedRoomServer struct {
}

UnimplementedRoomServer should be embedded to have forward compatible implementations.

func (UnimplementedRoomServer) ChatInRoom

func (UnimplementedRoomServer) ClearRoom

func (UnimplementedRoomServer) DeleteRoom

func (UnimplementedRoomServer) ListRooms

func (UnimplementedRoomServer) OpenRoom

func (UnimplementedRoomServer) UpdateRoom

type UnimplementedWorkflowServer

type UnimplementedWorkflowServer struct {
}

UnimplementedWorkflowServer should be embedded to have forward compatible implementations.

func (UnimplementedWorkflowServer) TriggerWorkflow

type UnsafeAuthServer

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

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

type UnsafeDocumentServer

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

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

type UnsafeEntriesServer

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

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

type UnsafeInboxServer

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

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

type UnsafeNotifyServer

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

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

type UnsafePropertiesServer

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

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

type UnsafeRoomServer

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

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

type UnsafeWorkflowServer

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

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

type UpdateDocumentRequest

type UpdateDocumentRequest struct {
	Document *DocumentDescribe                  `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
	SetMark  UpdateDocumentRequest_DocumentMark `protobuf:"varint,2,opt,name=setMark,proto3,enum=api.v1.UpdateDocumentRequest_DocumentMark" json:"setMark,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateDocumentRequest) Descriptor deprecated

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

Deprecated: Use UpdateDocumentRequest.ProtoReflect.Descriptor instead.

func (*UpdateDocumentRequest) GetDocument

func (x *UpdateDocumentRequest) GetDocument() *DocumentDescribe

func (*UpdateDocumentRequest) GetSetMark

func (*UpdateDocumentRequest) ProtoMessage

func (*UpdateDocumentRequest) ProtoMessage()

func (*UpdateDocumentRequest) ProtoReflect

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

func (*UpdateDocumentRequest) Reset

func (x *UpdateDocumentRequest) Reset()

func (*UpdateDocumentRequest) String

func (x *UpdateDocumentRequest) String() string

type UpdateDocumentRequest_DocumentMark

type UpdateDocumentRequest_DocumentMark int32
const (
	UpdateDocumentRequest_Unchanged UpdateDocumentRequest_DocumentMark = 0
	UpdateDocumentRequest_Marked    UpdateDocumentRequest_DocumentMark = 1
	UpdateDocumentRequest_Unmarked  UpdateDocumentRequest_DocumentMark = 2
	UpdateDocumentRequest_Read      UpdateDocumentRequest_DocumentMark = 3
	UpdateDocumentRequest_Unread    UpdateDocumentRequest_DocumentMark = 4
)

func (UpdateDocumentRequest_DocumentMark) Descriptor

func (UpdateDocumentRequest_DocumentMark) Enum

func (UpdateDocumentRequest_DocumentMark) EnumDescriptor deprecated

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

Deprecated: Use UpdateDocumentRequest_DocumentMark.Descriptor instead.

func (UpdateDocumentRequest_DocumentMark) Number

func (UpdateDocumentRequest_DocumentMark) String

func (UpdateDocumentRequest_DocumentMark) Type

type UpdateDocumentResponse

type UpdateDocumentResponse struct {
	Document *DocumentDescribe `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateDocumentResponse) Descriptor deprecated

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

Deprecated: Use UpdateDocumentResponse.ProtoReflect.Descriptor instead.

func (*UpdateDocumentResponse) GetDocument

func (x *UpdateDocumentResponse) GetDocument() *DocumentDescribe

func (*UpdateDocumentResponse) ProtoMessage

func (*UpdateDocumentResponse) ProtoMessage()

func (*UpdateDocumentResponse) ProtoReflect

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

func (*UpdateDocumentResponse) Reset

func (x *UpdateDocumentResponse) Reset()

func (*UpdateDocumentResponse) String

func (x *UpdateDocumentResponse) String() string

type UpdateEntryRequest

type UpdateEntryRequest struct {
	Entry *EntryDetail `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEntryRequest) Descriptor deprecated

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

Deprecated: Use UpdateEntryRequest.ProtoReflect.Descriptor instead.

func (*UpdateEntryRequest) GetEntry

func (x *UpdateEntryRequest) GetEntry() *EntryDetail

func (*UpdateEntryRequest) ProtoMessage

func (*UpdateEntryRequest) ProtoMessage()

func (*UpdateEntryRequest) ProtoReflect

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

func (*UpdateEntryRequest) Reset

func (x *UpdateEntryRequest) Reset()

func (*UpdateEntryRequest) String

func (x *UpdateEntryRequest) String() string

type UpdateEntryResponse

type UpdateEntryResponse struct {
	Entry *EntryDetail `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEntryResponse) Descriptor deprecated

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

Deprecated: Use UpdateEntryResponse.ProtoReflect.Descriptor instead.

func (*UpdateEntryResponse) GetEntry

func (x *UpdateEntryResponse) GetEntry() *EntryDetail

func (*UpdateEntryResponse) ProtoMessage

func (*UpdateEntryResponse) ProtoMessage()

func (*UpdateEntryResponse) ProtoReflect

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

func (*UpdateEntryResponse) Reset

func (x *UpdateEntryResponse) Reset()

func (*UpdateEntryResponse) String

func (x *UpdateEntryResponse) String() string

type UpdatePropertyRequest

type UpdatePropertyRequest struct {
	EntryID int64  `protobuf:"varint,1,opt,name=entryID,proto3" json:"entryID,omitempty"`
	Key     string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Value   string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePropertyRequest) Descriptor deprecated

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

Deprecated: Use UpdatePropertyRequest.ProtoReflect.Descriptor instead.

func (*UpdatePropertyRequest) GetEntryID

func (x *UpdatePropertyRequest) GetEntryID() int64

func (*UpdatePropertyRequest) GetKey

func (x *UpdatePropertyRequest) GetKey() string

func (*UpdatePropertyRequest) GetValue

func (x *UpdatePropertyRequest) GetValue() string

func (*UpdatePropertyRequest) ProtoMessage

func (*UpdatePropertyRequest) ProtoMessage()

func (*UpdatePropertyRequest) ProtoReflect

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

func (*UpdatePropertyRequest) Reset

func (x *UpdatePropertyRequest) Reset()

func (*UpdatePropertyRequest) String

func (x *UpdatePropertyRequest) String() string

type UpdatePropertyResponse

type UpdatePropertyResponse struct {
	Entry      *EntryInfo  `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	Properties []*Property `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePropertyResponse) Descriptor deprecated

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

Deprecated: Use UpdatePropertyResponse.ProtoReflect.Descriptor instead.

func (*UpdatePropertyResponse) GetEntry

func (x *UpdatePropertyResponse) GetEntry() *EntryInfo

func (*UpdatePropertyResponse) GetProperties

func (x *UpdatePropertyResponse) GetProperties() []*Property

func (*UpdatePropertyResponse) ProtoMessage

func (*UpdatePropertyResponse) ProtoMessage()

func (*UpdatePropertyResponse) ProtoReflect

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

func (*UpdatePropertyResponse) Reset

func (x *UpdatePropertyResponse) Reset()

func (*UpdatePropertyResponse) String

func (x *UpdatePropertyResponse) String() string

type UpdateRoomRequest

type UpdateRoomRequest struct {
	RoomID int64  `protobuf:"varint,1,opt,name=roomID,proto3" json:"roomID,omitempty"`
	Prompt string `protobuf:"bytes,2,opt,name=prompt,proto3" json:"prompt,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRoomRequest) Descriptor deprecated

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

Deprecated: Use UpdateRoomRequest.ProtoReflect.Descriptor instead.

func (*UpdateRoomRequest) GetPrompt

func (x *UpdateRoomRequest) GetPrompt() string

func (*UpdateRoomRequest) GetRoomID

func (x *UpdateRoomRequest) GetRoomID() int64

func (*UpdateRoomRequest) ProtoMessage

func (*UpdateRoomRequest) ProtoMessage()

func (*UpdateRoomRequest) ProtoReflect

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

func (*UpdateRoomRequest) Reset

func (x *UpdateRoomRequest) Reset()

func (*UpdateRoomRequest) String

func (x *UpdateRoomRequest) String() string

type UpdateRoomResponse

type UpdateRoomResponse struct {
	RoomID int64 `protobuf:"varint,1,opt,name=roomID,proto3" json:"roomID,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRoomResponse) Descriptor deprecated

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

Deprecated: Use UpdateRoomResponse.ProtoReflect.Descriptor instead.

func (*UpdateRoomResponse) GetRoomID

func (x *UpdateRoomResponse) GetRoomID() int64

func (*UpdateRoomResponse) ProtoMessage

func (*UpdateRoomResponse) ProtoMessage()

func (*UpdateRoomResponse) ProtoReflect

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

func (*UpdateRoomResponse) Reset

func (x *UpdateRoomResponse) Reset()

func (*UpdateRoomResponse) String

func (x *UpdateRoomResponse) String() string

type WebFileType

type WebFileType int32
const (
	WebFileType_BookmarkFile   WebFileType = 0
	WebFileType_HtmlFile       WebFileType = 1
	WebFileType_RawHtmlFile    WebFileType = 2
	WebFileType_WebArchiveFile WebFileType = 3
)

func (WebFileType) Descriptor

func (WebFileType) Enum

func (x WebFileType) Enum() *WebFileType

func (WebFileType) EnumDescriptor deprecated

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

Deprecated: Use WebFileType.Descriptor instead.

func (WebFileType) Number

func (x WebFileType) Number() protoreflect.EnumNumber

func (WebFileType) String

func (x WebFileType) String() string

func (WebFileType) Type

type WorkflowClient

type WorkflowClient interface {
	TriggerWorkflow(ctx context.Context, in *TriggerWorkflowRequest, opts ...grpc.CallOption) (*TriggerWorkflowResponse, error)
}

WorkflowClient is the client API for Workflow service.

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

func NewWorkflowClient

func NewWorkflowClient(cc grpc.ClientConnInterface) WorkflowClient

type WorkflowServer

type WorkflowServer interface {
	TriggerWorkflow(context.Context, *TriggerWorkflowRequest) (*TriggerWorkflowResponse, error)
}

WorkflowServer is the server API for Workflow service. All implementations should embed UnimplementedWorkflowServer for forward compatibility

type WriteFileRequest

type WriteFileRequest struct {
	EntryID int64  `protobuf:"varint,1,opt,name=entryID,proto3" json:"entryID,omitempty"`
	Off     int64  `protobuf:"varint,2,opt,name=off,proto3" json:"off,omitempty"`
	Len     int64  `protobuf:"varint,3,opt,name=len,proto3" json:"len,omitempty"`
	Data    []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*WriteFileRequest) Descriptor deprecated

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

Deprecated: Use WriteFileRequest.ProtoReflect.Descriptor instead.

func (*WriteFileRequest) GetData

func (x *WriteFileRequest) GetData() []byte

func (*WriteFileRequest) GetEntryID

func (x *WriteFileRequest) GetEntryID() int64

func (*WriteFileRequest) GetLen

func (x *WriteFileRequest) GetLen() int64

func (*WriteFileRequest) GetOff

func (x *WriteFileRequest) GetOff() int64

func (*WriteFileRequest) ProtoMessage

func (*WriteFileRequest) ProtoMessage()

func (*WriteFileRequest) ProtoReflect

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

func (*WriteFileRequest) Reset

func (x *WriteFileRequest) Reset()

func (*WriteFileRequest) String

func (x *WriteFileRequest) String() string

type WriteFileResponse

type WriteFileResponse struct {
	Len int64 `protobuf:"varint,1,opt,name=len,proto3" json:"len,omitempty"`
	// contains filtered or unexported fields
}

func (*WriteFileResponse) Descriptor deprecated

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

Deprecated: Use WriteFileResponse.ProtoReflect.Descriptor instead.

func (*WriteFileResponse) GetLen

func (x *WriteFileResponse) GetLen() int64

func (*WriteFileResponse) ProtoMessage

func (*WriteFileResponse) ProtoMessage()

func (*WriteFileResponse) ProtoReflect

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

func (*WriteFileResponse) Reset

func (x *WriteFileResponse) Reset()

func (*WriteFileResponse) String

func (x *WriteFileResponse) String() string

Jump to

Keyboard shortcuts

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