Documentation ¶
Index ¶
- Variables
- type ActivateClientRequest
- func (*ActivateClientRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ActivateClientRequest) GetClientKey() string
- func (*ActivateClientRequest) ProtoMessage()
- func (x *ActivateClientRequest) ProtoReflect() protoreflect.Message
- func (x *ActivateClientRequest) Reset()
- func (x *ActivateClientRequest) String() string
- type ActivateClientResponse
- func (*ActivateClientResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ActivateClientResponse) GetClientId() string
- func (*ActivateClientResponse) ProtoMessage()
- func (x *ActivateClientResponse) ProtoReflect() protoreflect.Message
- func (x *ActivateClientResponse) Reset()
- func (x *ActivateClientResponse) String() string
- type AttachDocumentRequest
- func (*AttachDocumentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AttachDocumentRequest) GetChangePack() *ChangePack
- func (x *AttachDocumentRequest) GetClientId() string
- func (*AttachDocumentRequest) ProtoMessage()
- func (x *AttachDocumentRequest) ProtoReflect() protoreflect.Message
- func (x *AttachDocumentRequest) Reset()
- func (x *AttachDocumentRequest) String() string
- type AttachDocumentResponse
- func (*AttachDocumentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AttachDocumentResponse) GetChangePack() *ChangePack
- func (x *AttachDocumentResponse) GetDocumentId() string
- func (*AttachDocumentResponse) ProtoMessage()
- func (x *AttachDocumentResponse) ProtoReflect() protoreflect.Message
- func (x *AttachDocumentResponse) Reset()
- func (x *AttachDocumentResponse) String() string
- type BroadcastRequest
- func (*BroadcastRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BroadcastRequest) GetClientId() string
- func (x *BroadcastRequest) GetDocumentId() string
- func (x *BroadcastRequest) GetPayload() []byte
- func (x *BroadcastRequest) GetTopic() string
- func (*BroadcastRequest) ProtoMessage()
- func (x *BroadcastRequest) ProtoReflect() protoreflect.Message
- func (x *BroadcastRequest) Reset()
- func (x *BroadcastRequest) String() string
- type BroadcastResponse
- type Change
- func (*Change) Descriptor() ([]byte, []int)deprecated
- func (x *Change) GetId() *ChangeID
- func (x *Change) GetMessage() string
- func (x *Change) GetOperations() []*Operation
- func (x *Change) GetPresenceChange() *PresenceChange
- func (*Change) ProtoMessage()
- func (x *Change) ProtoReflect() protoreflect.Message
- func (x *Change) Reset()
- func (x *Change) String() string
- type ChangeID
- func (*ChangeID) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeID) GetActorId() []byte
- func (x *ChangeID) GetClientSeq() uint32
- func (x *ChangeID) GetLamport() int64
- func (x *ChangeID) GetServerSeq() int64
- func (*ChangeID) ProtoMessage()
- func (x *ChangeID) ProtoReflect() protoreflect.Message
- func (x *ChangeID) Reset()
- func (x *ChangeID) String() string
- type ChangePack
- func (*ChangePack) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePack) GetChanges() []*Change
- func (x *ChangePack) GetCheckpoint() *Checkpoint
- func (x *ChangePack) GetDocumentKey() string
- func (x *ChangePack) GetIsRemoved() bool
- func (x *ChangePack) GetMinSyncedTicket() *TimeTicket
- func (x *ChangePack) GetSnapshot() []byte
- func (*ChangePack) ProtoMessage()
- func (x *ChangePack) ProtoReflect() protoreflect.Message
- func (x *ChangePack) Reset()
- func (x *ChangePack) String() string
- type Checkpoint
- type CreateProjectRequest
- func (*CreateProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProjectRequest) GetName() string
- func (*CreateProjectRequest) ProtoMessage()
- func (x *CreateProjectRequest) ProtoReflect() protoreflect.Message
- func (x *CreateProjectRequest) Reset()
- func (x *CreateProjectRequest) String() string
- type CreateProjectResponse
- func (*CreateProjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProjectResponse) GetProject() *Project
- func (*CreateProjectResponse) ProtoMessage()
- func (x *CreateProjectResponse) ProtoReflect() protoreflect.Message
- func (x *CreateProjectResponse) Reset()
- func (x *CreateProjectResponse) String() string
- type DeactivateClientRequest
- func (*DeactivateClientRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeactivateClientRequest) GetClientId() string
- func (*DeactivateClientRequest) ProtoMessage()
- func (x *DeactivateClientRequest) ProtoReflect() protoreflect.Message
- func (x *DeactivateClientRequest) Reset()
- func (x *DeactivateClientRequest) String() string
- type DeactivateClientResponse
- type DetachDocumentRequest
- func (*DetachDocumentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DetachDocumentRequest) GetChangePack() *ChangePack
- func (x *DetachDocumentRequest) GetClientId() string
- func (x *DetachDocumentRequest) GetDocumentId() string
- func (x *DetachDocumentRequest) GetRemoveIfNotAttached() bool
- func (*DetachDocumentRequest) ProtoMessage()
- func (x *DetachDocumentRequest) ProtoReflect() protoreflect.Message
- func (x *DetachDocumentRequest) Reset()
- func (x *DetachDocumentRequest) String() string
- type DetachDocumentResponse
- func (*DetachDocumentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DetachDocumentResponse) GetChangePack() *ChangePack
- func (*DetachDocumentResponse) ProtoMessage()
- func (x *DetachDocumentResponse) ProtoReflect() protoreflect.Message
- func (x *DetachDocumentResponse) Reset()
- func (x *DetachDocumentResponse) String() string
- type DocEvent
- func (*DocEvent) Descriptor() ([]byte, []int)deprecated
- func (x *DocEvent) GetBody() *DocEventBody
- func (x *DocEvent) GetPublisher() string
- func (x *DocEvent) GetType() DocEventType
- func (*DocEvent) ProtoMessage()
- func (x *DocEvent) ProtoReflect() protoreflect.Message
- func (x *DocEvent) Reset()
- func (x *DocEvent) String() string
- type DocEventBody
- func (*DocEventBody) Descriptor() ([]byte, []int)deprecated
- func (x *DocEventBody) GetPayload() []byte
- func (x *DocEventBody) GetTopic() string
- func (*DocEventBody) ProtoMessage()
- func (x *DocEventBody) ProtoReflect() protoreflect.Message
- func (x *DocEventBody) Reset()
- func (x *DocEventBody) String() string
- type DocEventType
- func (DocEventType) Descriptor() protoreflect.EnumDescriptor
- func (x DocEventType) Enum() *DocEventType
- func (DocEventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DocEventType) Number() protoreflect.EnumNumber
- func (x DocEventType) String() string
- func (DocEventType) Type() protoreflect.EnumType
- type DocumentSummary
- func (*DocumentSummary) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentSummary) GetAccessedAt() *timestamppb.Timestamp
- func (x *DocumentSummary) GetCreatedAt() *timestamppb.Timestamp
- func (x *DocumentSummary) GetId() string
- func (x *DocumentSummary) GetKey() string
- func (x *DocumentSummary) GetSnapshot() string
- func (x *DocumentSummary) GetUpdatedAt() *timestamppb.Timestamp
- func (*DocumentSummary) ProtoMessage()
- func (x *DocumentSummary) ProtoReflect() protoreflect.Message
- func (x *DocumentSummary) Reset()
- func (x *DocumentSummary) String() string
- type GetDocumentRequest
- func (*GetDocumentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDocumentRequest) GetDocumentKey() string
- func (x *GetDocumentRequest) GetProjectName() string
- func (*GetDocumentRequest) ProtoMessage()
- func (x *GetDocumentRequest) ProtoReflect() protoreflect.Message
- func (x *GetDocumentRequest) Reset()
- func (x *GetDocumentRequest) String() string
- type GetDocumentResponse
- func (*GetDocumentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDocumentResponse) GetDocument() *DocumentSummary
- func (*GetDocumentResponse) ProtoMessage()
- func (x *GetDocumentResponse) ProtoReflect() protoreflect.Message
- func (x *GetDocumentResponse) Reset()
- func (x *GetDocumentResponse) String() string
- type GetProjectRequest
- type GetProjectResponse
- func (*GetProjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProjectResponse) GetProject() *Project
- func (*GetProjectResponse) ProtoMessage()
- func (x *GetProjectResponse) ProtoReflect() protoreflect.Message
- func (x *GetProjectResponse) Reset()
- func (x *GetProjectResponse) String() string
- type GetSnapshotMetaRequest
- func (*GetSnapshotMetaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSnapshotMetaRequest) GetDocumentKey() string
- func (x *GetSnapshotMetaRequest) GetProjectName() string
- func (x *GetSnapshotMetaRequest) GetServerSeq() int64
- func (*GetSnapshotMetaRequest) ProtoMessage()
- func (x *GetSnapshotMetaRequest) ProtoReflect() protoreflect.Message
- func (x *GetSnapshotMetaRequest) Reset()
- func (x *GetSnapshotMetaRequest) String() string
- type GetSnapshotMetaResponse
- func (*GetSnapshotMetaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSnapshotMetaResponse) GetLamport() int64
- func (x *GetSnapshotMetaResponse) GetSnapshot() []byte
- func (*GetSnapshotMetaResponse) ProtoMessage()
- func (x *GetSnapshotMetaResponse) ProtoReflect() protoreflect.Message
- func (x *GetSnapshotMetaResponse) Reset()
- func (x *GetSnapshotMetaResponse) String() string
- type JSONElement
- func (*JSONElement) Descriptor() ([]byte, []int)deprecated
- func (m *JSONElement) GetBody() isJSONElement_Body
- func (x *JSONElement) GetCounter() *JSONElement_Counter
- func (x *JSONElement) GetJsonArray() *JSONElement_JSONArray
- func (x *JSONElement) GetJsonObject() *JSONElement_JSONObject
- func (x *JSONElement) GetPrimitive() *JSONElement_Primitive
- func (x *JSONElement) GetText() *JSONElement_Text
- func (x *JSONElement) GetTree() *JSONElement_Tree
- func (*JSONElement) ProtoMessage()
- func (x *JSONElement) ProtoReflect() protoreflect.Message
- func (x *JSONElement) Reset()
- func (x *JSONElement) String() string
- type JSONElementSimple
- func (*JSONElementSimple) Descriptor() ([]byte, []int)deprecated
- func (x *JSONElementSimple) GetCreatedAt() *TimeTicket
- func (x *JSONElementSimple) GetMovedAt() *TimeTicket
- func (x *JSONElementSimple) GetRemovedAt() *TimeTicket
- func (x *JSONElementSimple) GetType() ValueType
- func (x *JSONElementSimple) GetValue() []byte
- func (*JSONElementSimple) ProtoMessage()
- func (x *JSONElementSimple) ProtoReflect() protoreflect.Message
- func (x *JSONElementSimple) Reset()
- func (x *JSONElementSimple) String() string
- type JSONElement_Counter
- func (*JSONElement_Counter) Descriptor() ([]byte, []int)deprecated
- func (x *JSONElement_Counter) GetCreatedAt() *TimeTicket
- func (x *JSONElement_Counter) GetMovedAt() *TimeTicket
- func (x *JSONElement_Counter) GetRemovedAt() *TimeTicket
- func (x *JSONElement_Counter) GetType() ValueType
- func (x *JSONElement_Counter) GetValue() []byte
- func (*JSONElement_Counter) ProtoMessage()
- func (x *JSONElement_Counter) ProtoReflect() protoreflect.Message
- func (x *JSONElement_Counter) Reset()
- func (x *JSONElement_Counter) String() string
- type JSONElement_Counter_
- type JSONElement_JSONArray
- func (*JSONElement_JSONArray) Descriptor() ([]byte, []int)deprecated
- func (x *JSONElement_JSONArray) GetCreatedAt() *TimeTicket
- func (x *JSONElement_JSONArray) GetMovedAt() *TimeTicket
- func (x *JSONElement_JSONArray) GetNodes() []*RGANode
- func (x *JSONElement_JSONArray) GetRemovedAt() *TimeTicket
- func (*JSONElement_JSONArray) ProtoMessage()
- func (x *JSONElement_JSONArray) ProtoReflect() protoreflect.Message
- func (x *JSONElement_JSONArray) Reset()
- func (x *JSONElement_JSONArray) String() string
- type JSONElement_JSONObject
- func (*JSONElement_JSONObject) Descriptor() ([]byte, []int)deprecated
- func (x *JSONElement_JSONObject) GetCreatedAt() *TimeTicket
- func (x *JSONElement_JSONObject) GetMovedAt() *TimeTicket
- func (x *JSONElement_JSONObject) GetNodes() []*RHTNode
- func (x *JSONElement_JSONObject) GetRemovedAt() *TimeTicket
- func (*JSONElement_JSONObject) ProtoMessage()
- func (x *JSONElement_JSONObject) ProtoReflect() protoreflect.Message
- func (x *JSONElement_JSONObject) Reset()
- func (x *JSONElement_JSONObject) String() string
- type JSONElement_JsonArray
- type JSONElement_JsonObject
- type JSONElement_Primitive
- func (*JSONElement_Primitive) Descriptor() ([]byte, []int)deprecated
- func (x *JSONElement_Primitive) GetCreatedAt() *TimeTicket
- func (x *JSONElement_Primitive) GetMovedAt() *TimeTicket
- func (x *JSONElement_Primitive) GetRemovedAt() *TimeTicket
- func (x *JSONElement_Primitive) GetType() ValueType
- func (x *JSONElement_Primitive) GetValue() []byte
- func (*JSONElement_Primitive) ProtoMessage()
- func (x *JSONElement_Primitive) ProtoReflect() protoreflect.Message
- func (x *JSONElement_Primitive) Reset()
- func (x *JSONElement_Primitive) String() string
- type JSONElement_Primitive_
- type JSONElement_Text
- func (*JSONElement_Text) Descriptor() ([]byte, []int)deprecated
- func (x *JSONElement_Text) GetCreatedAt() *TimeTicket
- func (x *JSONElement_Text) GetMovedAt() *TimeTicket
- func (x *JSONElement_Text) GetNodes() []*TextNode
- func (x *JSONElement_Text) GetRemovedAt() *TimeTicket
- func (*JSONElement_Text) ProtoMessage()
- func (x *JSONElement_Text) ProtoReflect() protoreflect.Message
- func (x *JSONElement_Text) Reset()
- func (x *JSONElement_Text) String() string
- type JSONElement_Text_
- type JSONElement_Tree
- func (*JSONElement_Tree) Descriptor() ([]byte, []int)deprecated
- func (x *JSONElement_Tree) GetCreatedAt() *TimeTicket
- func (x *JSONElement_Tree) GetMovedAt() *TimeTicket
- func (x *JSONElement_Tree) GetNodes() []*TreeNode
- func (x *JSONElement_Tree) GetRemovedAt() *TimeTicket
- func (*JSONElement_Tree) ProtoMessage()
- func (x *JSONElement_Tree) ProtoReflect() protoreflect.Message
- func (x *JSONElement_Tree) Reset()
- func (x *JSONElement_Tree) String() string
- type JSONElement_Tree_
- type ListChangesRequest
- func (*ListChangesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListChangesRequest) GetDocumentKey() string
- func (x *ListChangesRequest) GetIsForward() bool
- func (x *ListChangesRequest) GetPageSize() int32
- func (x *ListChangesRequest) GetPreviousSeq() int64
- func (x *ListChangesRequest) GetProjectName() string
- func (*ListChangesRequest) ProtoMessage()
- func (x *ListChangesRequest) ProtoReflect() protoreflect.Message
- func (x *ListChangesRequest) Reset()
- func (x *ListChangesRequest) String() string
- type ListChangesResponse
- func (*ListChangesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListChangesResponse) GetChanges() []*Change
- func (*ListChangesResponse) ProtoMessage()
- func (x *ListChangesResponse) ProtoReflect() protoreflect.Message
- func (x *ListChangesResponse) Reset()
- func (x *ListChangesResponse) String() string
- type ListDocumentsRequest
- func (*ListDocumentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDocumentsRequest) GetIncludeSnapshot() bool
- func (x *ListDocumentsRequest) GetIsForward() bool
- func (x *ListDocumentsRequest) GetPageSize() int32
- func (x *ListDocumentsRequest) GetPreviousId() string
- func (x *ListDocumentsRequest) GetProjectName() string
- func (*ListDocumentsRequest) ProtoMessage()
- func (x *ListDocumentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDocumentsRequest) Reset()
- func (x *ListDocumentsRequest) String() string
- type ListDocumentsResponse
- func (*ListDocumentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDocumentsResponse) GetDocuments() []*DocumentSummary
- func (*ListDocumentsResponse) ProtoMessage()
- func (x *ListDocumentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDocumentsResponse) Reset()
- func (x *ListDocumentsResponse) String() string
- type ListProjectsRequest
- type ListProjectsResponse
- func (*ListProjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListProjectsResponse) GetProjects() []*Project
- func (*ListProjectsResponse) ProtoMessage()
- func (x *ListProjectsResponse) ProtoReflect() protoreflect.Message
- func (x *ListProjectsResponse) Reset()
- func (x *ListProjectsResponse) String() string
- type LogInRequest
- func (*LogInRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LogInRequest) GetPassword() string
- func (x *LogInRequest) GetUsername() string
- func (*LogInRequest) ProtoMessage()
- func (x *LogInRequest) ProtoReflect() protoreflect.Message
- func (x *LogInRequest) Reset()
- func (x *LogInRequest) String() string
- type LogInResponse
- type NodeAttr
- func (*NodeAttr) Descriptor() ([]byte, []int)deprecated
- func (x *NodeAttr) GetIsRemoved() bool
- func (x *NodeAttr) GetUpdatedAt() *TimeTicket
- func (x *NodeAttr) GetValue() string
- func (*NodeAttr) ProtoMessage()
- func (x *NodeAttr) ProtoReflect() protoreflect.Message
- func (x *NodeAttr) Reset()
- func (x *NodeAttr) String() string
- type Operation
- func (*Operation) Descriptor() ([]byte, []int)deprecated
- func (x *Operation) GetAdd() *Operation_Add
- func (m *Operation) GetBody() isOperation_Body
- func (x *Operation) GetEdit() *Operation_Edit
- func (x *Operation) GetIncrease() *Operation_Increase
- func (x *Operation) GetMove() *Operation_Move
- func (x *Operation) GetRemove() *Operation_Remove
- func (x *Operation) GetSelect() *Operation_Select
- func (x *Operation) GetSet() *Operation_Set
- func (x *Operation) GetStyle() *Operation_Style
- func (x *Operation) GetTreeEdit() *Operation_TreeEdit
- func (x *Operation) GetTreeStyle() *Operation_TreeStyle
- func (*Operation) ProtoMessage()
- func (x *Operation) ProtoReflect() protoreflect.Message
- func (x *Operation) Reset()
- func (x *Operation) String() string
- type Operation_Add
- func (*Operation_Add) Descriptor() ([]byte, []int)deprecated
- func (x *Operation_Add) GetExecutedAt() *TimeTicket
- func (x *Operation_Add) GetParentCreatedAt() *TimeTicket
- func (x *Operation_Add) GetPrevCreatedAt() *TimeTicket
- func (x *Operation_Add) GetValue() *JSONElementSimple
- func (*Operation_Add) ProtoMessage()
- func (x *Operation_Add) ProtoReflect() protoreflect.Message
- func (x *Operation_Add) Reset()
- func (x *Operation_Add) String() string
- type Operation_Add_
- type Operation_Edit
- func (*Operation_Edit) Descriptor() ([]byte, []int)deprecated
- func (x *Operation_Edit) GetAttributes() map[string]string
- func (x *Operation_Edit) GetContent() string
- func (x *Operation_Edit) GetCreatedAtMapByActor() map[string]*TimeTicket
- func (x *Operation_Edit) GetExecutedAt() *TimeTicket
- func (x *Operation_Edit) GetFrom() *TextNodePos
- func (x *Operation_Edit) GetParentCreatedAt() *TimeTicket
- func (x *Operation_Edit) GetTo() *TextNodePos
- func (*Operation_Edit) ProtoMessage()
- func (x *Operation_Edit) ProtoReflect() protoreflect.Message
- func (x *Operation_Edit) Reset()
- func (x *Operation_Edit) String() string
- type Operation_Edit_
- type Operation_Increase
- func (*Operation_Increase) Descriptor() ([]byte, []int)deprecated
- func (x *Operation_Increase) GetExecutedAt() *TimeTicket
- func (x *Operation_Increase) GetParentCreatedAt() *TimeTicket
- func (x *Operation_Increase) GetValue() *JSONElementSimple
- func (*Operation_Increase) ProtoMessage()
- func (x *Operation_Increase) ProtoReflect() protoreflect.Message
- func (x *Operation_Increase) Reset()
- func (x *Operation_Increase) String() string
- type Operation_Increase_
- type Operation_Move
- func (*Operation_Move) Descriptor() ([]byte, []int)deprecated
- func (x *Operation_Move) GetCreatedAt() *TimeTicket
- func (x *Operation_Move) GetExecutedAt() *TimeTicket
- func (x *Operation_Move) GetParentCreatedAt() *TimeTicket
- func (x *Operation_Move) GetPrevCreatedAt() *TimeTicket
- func (*Operation_Move) ProtoMessage()
- func (x *Operation_Move) ProtoReflect() protoreflect.Message
- func (x *Operation_Move) Reset()
- func (x *Operation_Move) String() string
- type Operation_Move_
- type Operation_Remove
- func (*Operation_Remove) Descriptor() ([]byte, []int)deprecated
- func (x *Operation_Remove) GetCreatedAt() *TimeTicket
- func (x *Operation_Remove) GetExecutedAt() *TimeTicket
- func (x *Operation_Remove) GetParentCreatedAt() *TimeTicket
- func (*Operation_Remove) ProtoMessage()
- func (x *Operation_Remove) ProtoReflect() protoreflect.Message
- func (x *Operation_Remove) Reset()
- func (x *Operation_Remove) String() string
- type Operation_Remove_
- type Operation_Select
- func (*Operation_Select) Descriptor() ([]byte, []int)deprecated
- func (x *Operation_Select) GetExecutedAt() *TimeTicket
- func (x *Operation_Select) GetFrom() *TextNodePos
- func (x *Operation_Select) GetParentCreatedAt() *TimeTicket
- func (x *Operation_Select) GetTo() *TextNodePos
- func (*Operation_Select) ProtoMessage()
- func (x *Operation_Select) ProtoReflect() protoreflect.Message
- func (x *Operation_Select) Reset()
- func (x *Operation_Select) String() string
- type Operation_Select_
- type Operation_Set
- func (*Operation_Set) Descriptor() ([]byte, []int)deprecated
- func (x *Operation_Set) GetExecutedAt() *TimeTicket
- func (x *Operation_Set) GetKey() string
- func (x *Operation_Set) GetParentCreatedAt() *TimeTicket
- func (x *Operation_Set) GetValue() *JSONElementSimple
- func (*Operation_Set) ProtoMessage()
- func (x *Operation_Set) ProtoReflect() protoreflect.Message
- func (x *Operation_Set) Reset()
- func (x *Operation_Set) String() string
- type Operation_Set_
- type Operation_Style
- func (*Operation_Style) Descriptor() ([]byte, []int)deprecated
- func (x *Operation_Style) GetAttributes() map[string]string
- func (x *Operation_Style) GetCreatedAtMapByActor() map[string]*TimeTicket
- func (x *Operation_Style) GetExecutedAt() *TimeTicket
- func (x *Operation_Style) GetFrom() *TextNodePos
- func (x *Operation_Style) GetParentCreatedAt() *TimeTicket
- func (x *Operation_Style) GetTo() *TextNodePos
- func (*Operation_Style) ProtoMessage()
- func (x *Operation_Style) ProtoReflect() protoreflect.Message
- func (x *Operation_Style) Reset()
- func (x *Operation_Style) String() string
- type Operation_Style_
- type Operation_TreeEdit
- func (*Operation_TreeEdit) Descriptor() ([]byte, []int)deprecated
- func (x *Operation_TreeEdit) GetContents() []*TreeNodes
- func (x *Operation_TreeEdit) GetCreatedAtMapByActor() map[string]*TimeTicket
- func (x *Operation_TreeEdit) GetExecutedAt() *TimeTicket
- func (x *Operation_TreeEdit) GetFrom() *TreePos
- func (x *Operation_TreeEdit) GetParentCreatedAt() *TimeTicket
- func (x *Operation_TreeEdit) GetSplitLevel() int32
- func (x *Operation_TreeEdit) GetTo() *TreePos
- func (*Operation_TreeEdit) ProtoMessage()
- func (x *Operation_TreeEdit) ProtoReflect() protoreflect.Message
- func (x *Operation_TreeEdit) Reset()
- func (x *Operation_TreeEdit) String() string
- type Operation_TreeEdit_
- type Operation_TreeStyle
- func (*Operation_TreeStyle) Descriptor() ([]byte, []int)deprecated
- func (x *Operation_TreeStyle) GetAttributes() map[string]string
- func (x *Operation_TreeStyle) GetAttributesToRemove() []string
- func (x *Operation_TreeStyle) GetCreatedAtMapByActor() map[string]*TimeTicket
- func (x *Operation_TreeStyle) GetExecutedAt() *TimeTicket
- func (x *Operation_TreeStyle) GetFrom() *TreePos
- func (x *Operation_TreeStyle) GetParentCreatedAt() *TimeTicket
- func (x *Operation_TreeStyle) GetTo() *TreePos
- func (*Operation_TreeStyle) ProtoMessage()
- func (x *Operation_TreeStyle) ProtoReflect() protoreflect.Message
- func (x *Operation_TreeStyle) Reset()
- func (x *Operation_TreeStyle) String() string
- type Operation_TreeStyle_
- type Presence
- type PresenceChange
- func (*PresenceChange) Descriptor() ([]byte, []int)deprecated
- func (x *PresenceChange) GetPresence() *Presence
- func (x *PresenceChange) GetType() PresenceChange_ChangeType
- func (*PresenceChange) ProtoMessage()
- func (x *PresenceChange) ProtoReflect() protoreflect.Message
- func (x *PresenceChange) Reset()
- func (x *PresenceChange) String() string
- type PresenceChange_ChangeType
- func (PresenceChange_ChangeType) Descriptor() protoreflect.EnumDescriptor
- func (x PresenceChange_ChangeType) Enum() *PresenceChange_ChangeType
- func (PresenceChange_ChangeType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PresenceChange_ChangeType) Number() protoreflect.EnumNumber
- func (x PresenceChange_ChangeType) String() string
- func (PresenceChange_ChangeType) Type() protoreflect.EnumType
- type Project
- func (*Project) Descriptor() ([]byte, []int)deprecated
- func (x *Project) GetAuthWebhookMethods() []string
- func (x *Project) GetAuthWebhookUrl() string
- func (x *Project) GetClientDeactivateThreshold() string
- func (x *Project) GetCreatedAt() *timestamppb.Timestamp
- func (x *Project) GetId() string
- func (x *Project) GetName() string
- func (x *Project) GetPublicKey() string
- func (x *Project) GetSecretKey() string
- func (x *Project) GetUpdatedAt() *timestamppb.Timestamp
- func (*Project) ProtoMessage()
- func (x *Project) ProtoReflect() protoreflect.Message
- func (x *Project) Reset()
- func (x *Project) String() string
- type PushPullChangesRequest
- func (*PushPullChangesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PushPullChangesRequest) GetChangePack() *ChangePack
- func (x *PushPullChangesRequest) GetClientId() string
- func (x *PushPullChangesRequest) GetDocumentId() string
- func (x *PushPullChangesRequest) GetPushOnly() bool
- func (*PushPullChangesRequest) ProtoMessage()
- func (x *PushPullChangesRequest) ProtoReflect() protoreflect.Message
- func (x *PushPullChangesRequest) Reset()
- func (x *PushPullChangesRequest) String() string
- type PushPullChangesResponse
- func (*PushPullChangesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PushPullChangesResponse) GetChangePack() *ChangePack
- func (*PushPullChangesResponse) ProtoMessage()
- func (x *PushPullChangesResponse) ProtoReflect() protoreflect.Message
- func (x *PushPullChangesResponse) Reset()
- func (x *PushPullChangesResponse) String() string
- type RGANode
- type RHTNode
- type RemoveDocumentByAdminRequest
- func (*RemoveDocumentByAdminRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveDocumentByAdminRequest) GetDocumentKey() string
- func (x *RemoveDocumentByAdminRequest) GetForce() bool
- func (x *RemoveDocumentByAdminRequest) GetProjectName() string
- func (*RemoveDocumentByAdminRequest) ProtoMessage()
- func (x *RemoveDocumentByAdminRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveDocumentByAdminRequest) Reset()
- func (x *RemoveDocumentByAdminRequest) String() string
- type RemoveDocumentByAdminResponse
- func (*RemoveDocumentByAdminResponse) Descriptor() ([]byte, []int)deprecated
- func (*RemoveDocumentByAdminResponse) ProtoMessage()
- func (x *RemoveDocumentByAdminResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveDocumentByAdminResponse) Reset()
- func (x *RemoveDocumentByAdminResponse) String() string
- type RemoveDocumentRequest
- func (*RemoveDocumentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveDocumentRequest) GetChangePack() *ChangePack
- func (x *RemoveDocumentRequest) GetClientId() string
- func (x *RemoveDocumentRequest) GetDocumentId() string
- func (*RemoveDocumentRequest) ProtoMessage()
- func (x *RemoveDocumentRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveDocumentRequest) Reset()
- func (x *RemoveDocumentRequest) String() string
- type RemoveDocumentResponse
- func (*RemoveDocumentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveDocumentResponse) GetChangePack() *ChangePack
- func (*RemoveDocumentResponse) ProtoMessage()
- func (x *RemoveDocumentResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveDocumentResponse) Reset()
- func (x *RemoveDocumentResponse) String() string
- type SearchDocumentsRequest
- func (*SearchDocumentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchDocumentsRequest) GetPageSize() int32
- func (x *SearchDocumentsRequest) GetProjectName() string
- func (x *SearchDocumentsRequest) GetQuery() string
- func (*SearchDocumentsRequest) ProtoMessage()
- func (x *SearchDocumentsRequest) ProtoReflect() protoreflect.Message
- func (x *SearchDocumentsRequest) Reset()
- func (x *SearchDocumentsRequest) String() string
- type SearchDocumentsResponse
- func (*SearchDocumentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchDocumentsResponse) GetDocuments() []*DocumentSummary
- func (x *SearchDocumentsResponse) GetTotalCount() int32
- func (*SearchDocumentsResponse) ProtoMessage()
- func (x *SearchDocumentsResponse) ProtoReflect() protoreflect.Message
- func (x *SearchDocumentsResponse) Reset()
- func (x *SearchDocumentsResponse) String() string
- type SignUpRequest
- func (*SignUpRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignUpRequest) GetPassword() string
- func (x *SignUpRequest) GetUsername() string
- func (*SignUpRequest) ProtoMessage()
- func (x *SignUpRequest) ProtoReflect() protoreflect.Message
- func (x *SignUpRequest) Reset()
- func (x *SignUpRequest) String() string
- type SignUpResponse
- type Snapshot
- func (*Snapshot) Descriptor() ([]byte, []int)deprecated
- func (x *Snapshot) GetPresences() map[string]*Presence
- func (x *Snapshot) GetRoot() *JSONElement
- func (*Snapshot) ProtoMessage()
- func (x *Snapshot) ProtoReflect() protoreflect.Message
- func (x *Snapshot) Reset()
- func (x *Snapshot) String() string
- type TextNode
- func (*TextNode) Descriptor() ([]byte, []int)deprecated
- func (x *TextNode) GetAttributes() map[string]*NodeAttr
- func (x *TextNode) GetId() *TextNodeID
- func (x *TextNode) GetInsPrevId() *TextNodeID
- func (x *TextNode) GetRemovedAt() *TimeTicket
- func (x *TextNode) GetValue() string
- func (*TextNode) ProtoMessage()
- func (x *TextNode) ProtoReflect() protoreflect.Message
- func (x *TextNode) Reset()
- func (x *TextNode) String() string
- type TextNodeID
- func (*TextNodeID) Descriptor() ([]byte, []int)deprecated
- func (x *TextNodeID) GetCreatedAt() *TimeTicket
- func (x *TextNodeID) GetOffset() int32
- func (*TextNodeID) ProtoMessage()
- func (x *TextNodeID) ProtoReflect() protoreflect.Message
- func (x *TextNodeID) Reset()
- func (x *TextNodeID) String() string
- type TextNodePos
- func (*TextNodePos) Descriptor() ([]byte, []int)deprecated
- func (x *TextNodePos) GetCreatedAt() *TimeTicket
- func (x *TextNodePos) GetOffset() int32
- func (x *TextNodePos) GetRelativeOffset() int32
- func (*TextNodePos) ProtoMessage()
- func (x *TextNodePos) ProtoReflect() protoreflect.Message
- func (x *TextNodePos) Reset()
- func (x *TextNodePos) String() string
- type TimeTicket
- func (*TimeTicket) Descriptor() ([]byte, []int)deprecated
- func (x *TimeTicket) GetActorId() []byte
- func (x *TimeTicket) GetDelimiter() uint32
- func (x *TimeTicket) GetLamport() int64
- func (*TimeTicket) ProtoMessage()
- func (x *TimeTicket) ProtoReflect() protoreflect.Message
- func (x *TimeTicket) Reset()
- func (x *TimeTicket) String() string
- type TreeNode
- func (*TreeNode) Descriptor() ([]byte, []int)deprecated
- func (x *TreeNode) GetAttributes() map[string]*NodeAttr
- func (x *TreeNode) GetDepth() int32
- func (x *TreeNode) GetId() *TreeNodeID
- func (x *TreeNode) GetInsNextId() *TreeNodeID
- func (x *TreeNode) GetInsPrevId() *TreeNodeID
- func (x *TreeNode) GetRemovedAt() *TimeTicket
- func (x *TreeNode) GetType() string
- func (x *TreeNode) GetValue() string
- func (*TreeNode) ProtoMessage()
- func (x *TreeNode) ProtoReflect() protoreflect.Message
- func (x *TreeNode) Reset()
- func (x *TreeNode) String() string
- type TreeNodeID
- func (*TreeNodeID) Descriptor() ([]byte, []int)deprecated
- func (x *TreeNodeID) GetCreatedAt() *TimeTicket
- func (x *TreeNodeID) GetOffset() int32
- func (*TreeNodeID) ProtoMessage()
- func (x *TreeNodeID) ProtoReflect() protoreflect.Message
- func (x *TreeNodeID) Reset()
- func (x *TreeNodeID) String() string
- type TreeNodes
- type TreePos
- type UpdatableProjectFields
- func (*UpdatableProjectFields) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatableProjectFields) GetAuthWebhookMethods() *UpdatableProjectFields_AuthWebhookMethods
- func (x *UpdatableProjectFields) GetAuthWebhookUrl() *wrapperspb.StringValue
- func (x *UpdatableProjectFields) GetClientDeactivateThreshold() *wrapperspb.StringValue
- func (x *UpdatableProjectFields) GetName() *wrapperspb.StringValue
- func (*UpdatableProjectFields) ProtoMessage()
- func (x *UpdatableProjectFields) ProtoReflect() protoreflect.Message
- func (x *UpdatableProjectFields) Reset()
- func (x *UpdatableProjectFields) String() string
- type UpdatableProjectFields_AuthWebhookMethods
- func (*UpdatableProjectFields_AuthWebhookMethods) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatableProjectFields_AuthWebhookMethods) GetMethods() []string
- func (*UpdatableProjectFields_AuthWebhookMethods) ProtoMessage()
- func (x *UpdatableProjectFields_AuthWebhookMethods) ProtoReflect() protoreflect.Message
- func (x *UpdatableProjectFields_AuthWebhookMethods) Reset()
- func (x *UpdatableProjectFields_AuthWebhookMethods) String() string
- type UpdateProjectRequest
- func (*UpdateProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProjectRequest) GetFields() *UpdatableProjectFields
- func (x *UpdateProjectRequest) GetId() string
- func (*UpdateProjectRequest) ProtoMessage()
- func (x *UpdateProjectRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateProjectRequest) Reset()
- func (x *UpdateProjectRequest) String() string
- type UpdateProjectResponse
- func (*UpdateProjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProjectResponse) GetProject() *Project
- func (*UpdateProjectResponse) ProtoMessage()
- func (x *UpdateProjectResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateProjectResponse) Reset()
- func (x *UpdateProjectResponse) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetCreatedAt() *timestamppb.Timestamp
- func (x *User) GetId() string
- func (x *User) GetUsername() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type ValueType
- type WatchDocumentRequest
- func (*WatchDocumentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WatchDocumentRequest) GetClientId() string
- func (x *WatchDocumentRequest) GetDocumentId() string
- func (*WatchDocumentRequest) ProtoMessage()
- func (x *WatchDocumentRequest) ProtoReflect() protoreflect.Message
- func (x *WatchDocumentRequest) Reset()
- func (x *WatchDocumentRequest) String() string
- type WatchDocumentResponse
- func (*WatchDocumentResponse) Descriptor() ([]byte, []int)deprecated
- func (m *WatchDocumentResponse) GetBody() isWatchDocumentResponse_Body
- func (x *WatchDocumentResponse) GetEvent() *DocEvent
- func (x *WatchDocumentResponse) GetInitialization() *WatchDocumentResponse_Initialization
- func (*WatchDocumentResponse) ProtoMessage()
- func (x *WatchDocumentResponse) ProtoReflect() protoreflect.Message
- func (x *WatchDocumentResponse) Reset()
- func (x *WatchDocumentResponse) String() string
- type WatchDocumentResponse_Event
- type WatchDocumentResponse_Initialization
- func (*WatchDocumentResponse_Initialization) Descriptor() ([]byte, []int)deprecated
- func (x *WatchDocumentResponse_Initialization) GetClientIds() []string
- func (*WatchDocumentResponse_Initialization) ProtoMessage()
- func (x *WatchDocumentResponse_Initialization) ProtoReflect() protoreflect.Message
- func (x *WatchDocumentResponse_Initialization) Reset()
- func (x *WatchDocumentResponse_Initialization) String() string
- type WatchDocumentResponse_Initialization_
Constants ¶
This section is empty.
Variables ¶
var ( ValueType_name = map[int32]string{ 0: "VALUE_TYPE_NULL", 1: "VALUE_TYPE_BOOLEAN", 2: "VALUE_TYPE_INTEGER", 3: "VALUE_TYPE_LONG", 4: "VALUE_TYPE_DOUBLE", 5: "VALUE_TYPE_STRING", 6: "VALUE_TYPE_BYTES", 7: "VALUE_TYPE_DATE", 8: "VALUE_TYPE_JSON_OBJECT", 9: "VALUE_TYPE_JSON_ARRAY", 10: "VALUE_TYPE_TEXT", 11: "VALUE_TYPE_INTEGER_CNT", 12: "VALUE_TYPE_LONG_CNT", 13: "VALUE_TYPE_TREE", } ValueType_value = map[string]int32{ "VALUE_TYPE_NULL": 0, "VALUE_TYPE_BOOLEAN": 1, "VALUE_TYPE_INTEGER": 2, "VALUE_TYPE_LONG": 3, "VALUE_TYPE_DOUBLE": 4, "VALUE_TYPE_STRING": 5, "VALUE_TYPE_BYTES": 6, "VALUE_TYPE_DATE": 7, "VALUE_TYPE_JSON_OBJECT": 8, "VALUE_TYPE_JSON_ARRAY": 9, "VALUE_TYPE_TEXT": 10, "VALUE_TYPE_INTEGER_CNT": 11, "VALUE_TYPE_LONG_CNT": 12, "VALUE_TYPE_TREE": 13, } )
Enum value maps for ValueType.
var ( DocEventType_name = map[int32]string{ 0: "DOC_EVENT_TYPE_DOCUMENT_CHANGED", 1: "DOC_EVENT_TYPE_DOCUMENT_WATCHED", 2: "DOC_EVENT_TYPE_DOCUMENT_UNWATCHED", 3: "DOC_EVENT_TYPE_DOCUMENT_BROADCAST", } DocEventType_value = map[string]int32{ "DOC_EVENT_TYPE_DOCUMENT_CHANGED": 0, "DOC_EVENT_TYPE_DOCUMENT_WATCHED": 1, "DOC_EVENT_TYPE_DOCUMENT_UNWATCHED": 2, "DOC_EVENT_TYPE_DOCUMENT_BROADCAST": 3, } )
Enum value maps for DocEventType.
var ( PresenceChange_ChangeType_name = map[int32]string{ 0: "CHANGE_TYPE_UNSPECIFIED", 1: "CHANGE_TYPE_PUT", 2: "CHANGE_TYPE_DELETE", 3: "CHANGE_TYPE_CLEAR", } PresenceChange_ChangeType_value = map[string]int32{ "CHANGE_TYPE_UNSPECIFIED": 0, "CHANGE_TYPE_PUT": 1, "CHANGE_TYPE_DELETE": 2, "CHANGE_TYPE_CLEAR": 3, } )
Enum value maps for PresenceChange_ChangeType.
var File_yorkie_v1_admin_proto protoreflect.FileDescriptor
var File_yorkie_v1_resources_proto protoreflect.FileDescriptor
var File_yorkie_v1_yorkie_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ActivateClientRequest ¶
type ActivateClientRequest struct { ClientKey string `protobuf:"bytes,1,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"` // contains filtered or unexported fields }
func (*ActivateClientRequest) Descriptor
deprecated
func (*ActivateClientRequest) Descriptor() ([]byte, []int)
Deprecated: Use ActivateClientRequest.ProtoReflect.Descriptor instead.
func (*ActivateClientRequest) GetClientKey ¶
func (x *ActivateClientRequest) GetClientKey() string
func (*ActivateClientRequest) ProtoMessage ¶
func (*ActivateClientRequest) ProtoMessage()
func (*ActivateClientRequest) ProtoReflect ¶ added in v0.4.11
func (x *ActivateClientRequest) ProtoReflect() protoreflect.Message
func (*ActivateClientRequest) Reset ¶
func (x *ActivateClientRequest) Reset()
func (*ActivateClientRequest) String ¶
func (x *ActivateClientRequest) String() string
type ActivateClientResponse ¶
type ActivateClientResponse struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // contains filtered or unexported fields }
func (*ActivateClientResponse) Descriptor
deprecated
func (*ActivateClientResponse) Descriptor() ([]byte, []int)
Deprecated: Use ActivateClientResponse.ProtoReflect.Descriptor instead.
func (*ActivateClientResponse) GetClientId ¶
func (x *ActivateClientResponse) GetClientId() string
func (*ActivateClientResponse) ProtoMessage ¶
func (*ActivateClientResponse) ProtoMessage()
func (*ActivateClientResponse) ProtoReflect ¶ added in v0.4.11
func (x *ActivateClientResponse) ProtoReflect() protoreflect.Message
func (*ActivateClientResponse) Reset ¶
func (x *ActivateClientResponse) Reset()
func (*ActivateClientResponse) String ¶
func (x *ActivateClientResponse) String() string
type AttachDocumentRequest ¶
type AttachDocumentRequest struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ChangePack *ChangePack `protobuf:"bytes,2,opt,name=change_pack,json=changePack,proto3" json:"change_pack,omitempty"` // contains filtered or unexported fields }
func (*AttachDocumentRequest) Descriptor
deprecated
func (*AttachDocumentRequest) Descriptor() ([]byte, []int)
Deprecated: Use AttachDocumentRequest.ProtoReflect.Descriptor instead.
func (*AttachDocumentRequest) GetChangePack ¶
func (x *AttachDocumentRequest) GetChangePack() *ChangePack
func (*AttachDocumentRequest) GetClientId ¶
func (x *AttachDocumentRequest) GetClientId() string
func (*AttachDocumentRequest) ProtoMessage ¶
func (*AttachDocumentRequest) ProtoMessage()
func (*AttachDocumentRequest) ProtoReflect ¶ added in v0.4.11
func (x *AttachDocumentRequest) ProtoReflect() protoreflect.Message
func (*AttachDocumentRequest) Reset ¶
func (x *AttachDocumentRequest) Reset()
func (*AttachDocumentRequest) String ¶
func (x *AttachDocumentRequest) String() string
type AttachDocumentResponse ¶
type AttachDocumentResponse struct { DocumentId string `protobuf:"bytes,1,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` ChangePack *ChangePack `protobuf:"bytes,2,opt,name=change_pack,json=changePack,proto3" json:"change_pack,omitempty"` // contains filtered or unexported fields }
func (*AttachDocumentResponse) Descriptor
deprecated
func (*AttachDocumentResponse) Descriptor() ([]byte, []int)
Deprecated: Use AttachDocumentResponse.ProtoReflect.Descriptor instead.
func (*AttachDocumentResponse) GetChangePack ¶
func (x *AttachDocumentResponse) GetChangePack() *ChangePack
func (*AttachDocumentResponse) GetDocumentId ¶ added in v0.3.3
func (x *AttachDocumentResponse) GetDocumentId() string
func (*AttachDocumentResponse) ProtoMessage ¶
func (*AttachDocumentResponse) ProtoMessage()
func (*AttachDocumentResponse) ProtoReflect ¶ added in v0.4.11
func (x *AttachDocumentResponse) ProtoReflect() protoreflect.Message
func (*AttachDocumentResponse) Reset ¶
func (x *AttachDocumentResponse) Reset()
func (*AttachDocumentResponse) String ¶
func (x *AttachDocumentResponse) String() string
type BroadcastRequest ¶ added in v0.4.7
type BroadcastRequest struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` DocumentId string `protobuf:"bytes,2,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` Topic string `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"` Payload []byte `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*BroadcastRequest) Descriptor
deprecated
added in
v0.4.7
func (*BroadcastRequest) Descriptor() ([]byte, []int)
Deprecated: Use BroadcastRequest.ProtoReflect.Descriptor instead.
func (*BroadcastRequest) GetClientId ¶ added in v0.4.7
func (x *BroadcastRequest) GetClientId() string
func (*BroadcastRequest) GetDocumentId ¶ added in v0.4.7
func (x *BroadcastRequest) GetDocumentId() string
func (*BroadcastRequest) GetPayload ¶ added in v0.4.7
func (x *BroadcastRequest) GetPayload() []byte
func (*BroadcastRequest) GetTopic ¶ added in v0.4.7
func (x *BroadcastRequest) GetTopic() string
func (*BroadcastRequest) ProtoMessage ¶ added in v0.4.7
func (*BroadcastRequest) ProtoMessage()
func (*BroadcastRequest) ProtoReflect ¶ added in v0.4.11
func (x *BroadcastRequest) ProtoReflect() protoreflect.Message
func (*BroadcastRequest) Reset ¶ added in v0.4.7
func (x *BroadcastRequest) Reset()
func (*BroadcastRequest) String ¶ added in v0.4.7
func (x *BroadcastRequest) String() string
type BroadcastResponse ¶ added in v0.4.7
type BroadcastResponse struct {
// contains filtered or unexported fields
}
func (*BroadcastResponse) Descriptor
deprecated
added in
v0.4.7
func (*BroadcastResponse) Descriptor() ([]byte, []int)
Deprecated: Use BroadcastResponse.ProtoReflect.Descriptor instead.
func (*BroadcastResponse) ProtoMessage ¶ added in v0.4.7
func (*BroadcastResponse) ProtoMessage()
func (*BroadcastResponse) ProtoReflect ¶ added in v0.4.11
func (x *BroadcastResponse) ProtoReflect() protoreflect.Message
func (*BroadcastResponse) Reset ¶ added in v0.4.7
func (x *BroadcastResponse) Reset()
func (*BroadcastResponse) String ¶ added in v0.4.7
func (x *BroadcastResponse) String() string
type Change ¶
type Change struct { Id *ChangeID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Operations []*Operation `protobuf:"bytes,3,rep,name=operations,proto3" json:"operations,omitempty"` PresenceChange *PresenceChange `protobuf:"bytes,4,opt,name=presence_change,json=presenceChange,proto3" json:"presence_change,omitempty"` // contains filtered or unexported fields }
func (*Change) Descriptor
deprecated
func (*Change) GetMessage ¶
func (*Change) GetOperations ¶
func (*Change) GetPresenceChange ¶ added in v0.4.5
func (x *Change) GetPresenceChange() *PresenceChange
func (*Change) ProtoMessage ¶
func (*Change) ProtoMessage()
func (*Change) ProtoReflect ¶ added in v0.4.11
func (x *Change) ProtoReflect() protoreflect.Message
type ChangeID ¶
type ChangeID struct { ClientSeq uint32 `protobuf:"varint,1,opt,name=client_seq,json=clientSeq,proto3" json:"client_seq,omitempty"` ServerSeq int64 `protobuf:"varint,2,opt,name=server_seq,json=serverSeq,proto3" json:"server_seq,omitempty"` Lamport int64 `protobuf:"varint,3,opt,name=lamport,proto3" json:"lamport,omitempty"` ActorId []byte `protobuf:"bytes,4,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"` // contains filtered or unexported fields }
func (*ChangeID) Descriptor
deprecated
func (*ChangeID) GetActorId ¶
func (*ChangeID) GetClientSeq ¶
func (*ChangeID) GetLamport ¶
func (*ChangeID) GetServerSeq ¶
func (*ChangeID) ProtoMessage ¶
func (*ChangeID) ProtoMessage()
func (*ChangeID) ProtoReflect ¶ added in v0.4.11
func (x *ChangeID) ProtoReflect() protoreflect.Message
type ChangePack ¶
type ChangePack struct { DocumentKey string `protobuf:"bytes,1,opt,name=document_key,json=documentKey,proto3" json:"document_key,omitempty"` Checkpoint *Checkpoint `protobuf:"bytes,2,opt,name=checkpoint,proto3" json:"checkpoint,omitempty"` Snapshot []byte `protobuf:"bytes,3,opt,name=snapshot,proto3" json:"snapshot,omitempty"` Changes []*Change `protobuf:"bytes,4,rep,name=changes,proto3" json:"changes,omitempty"` MinSyncedTicket *TimeTicket `protobuf:"bytes,5,opt,name=min_synced_ticket,json=minSyncedTicket,proto3" json:"min_synced_ticket,omitempty"` IsRemoved bool `protobuf:"varint,6,opt,name=is_removed,json=isRemoved,proto3" json:"is_removed,omitempty"` // contains filtered or unexported fields }
ChangePack is a message that contains all changes that occurred in a document. It is used to synchronize changes between clients and servers.
func (*ChangePack) Descriptor
deprecated
func (*ChangePack) Descriptor() ([]byte, []int)
Deprecated: Use ChangePack.ProtoReflect.Descriptor instead.
func (*ChangePack) GetChanges ¶
func (x *ChangePack) GetChanges() []*Change
func (*ChangePack) GetCheckpoint ¶
func (x *ChangePack) GetCheckpoint() *Checkpoint
func (*ChangePack) GetDocumentKey ¶
func (x *ChangePack) GetDocumentKey() string
func (*ChangePack) GetIsRemoved ¶ added in v0.3.3
func (x *ChangePack) GetIsRemoved() bool
func (*ChangePack) GetMinSyncedTicket ¶
func (x *ChangePack) GetMinSyncedTicket() *TimeTicket
func (*ChangePack) GetSnapshot ¶
func (x *ChangePack) GetSnapshot() []byte
func (*ChangePack) ProtoMessage ¶
func (*ChangePack) ProtoMessage()
func (*ChangePack) ProtoReflect ¶ added in v0.4.11
func (x *ChangePack) ProtoReflect() protoreflect.Message
func (*ChangePack) Reset ¶
func (x *ChangePack) Reset()
func (*ChangePack) String ¶
func (x *ChangePack) String() string
type Checkpoint ¶
type Checkpoint struct { ServerSeq int64 `protobuf:"varint,1,opt,name=server_seq,json=serverSeq,proto3" json:"server_seq,omitempty"` ClientSeq uint32 `protobuf:"varint,2,opt,name=client_seq,json=clientSeq,proto3" json:"client_seq,omitempty"` // contains filtered or unexported fields }
func (*Checkpoint) Descriptor
deprecated
func (*Checkpoint) Descriptor() ([]byte, []int)
Deprecated: Use Checkpoint.ProtoReflect.Descriptor instead.
func (*Checkpoint) GetClientSeq ¶
func (x *Checkpoint) GetClientSeq() uint32
func (*Checkpoint) GetServerSeq ¶
func (x *Checkpoint) GetServerSeq() int64
func (*Checkpoint) ProtoMessage ¶
func (*Checkpoint) ProtoMessage()
func (*Checkpoint) ProtoReflect ¶ added in v0.4.11
func (x *Checkpoint) ProtoReflect() protoreflect.Message
func (*Checkpoint) Reset ¶
func (x *Checkpoint) Reset()
func (*Checkpoint) String ¶
func (x *Checkpoint) String() string
type CreateProjectRequest ¶
type CreateProjectRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CreateProjectRequest) Descriptor
deprecated
func (*CreateProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateProjectRequest.ProtoReflect.Descriptor instead.
func (*CreateProjectRequest) GetName ¶
func (x *CreateProjectRequest) GetName() string
func (*CreateProjectRequest) ProtoMessage ¶
func (*CreateProjectRequest) ProtoMessage()
func (*CreateProjectRequest) ProtoReflect ¶ added in v0.4.11
func (x *CreateProjectRequest) ProtoReflect() protoreflect.Message
func (*CreateProjectRequest) Reset ¶
func (x *CreateProjectRequest) Reset()
func (*CreateProjectRequest) String ¶
func (x *CreateProjectRequest) String() string
type CreateProjectResponse ¶
type CreateProjectResponse struct { Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
func (*CreateProjectResponse) Descriptor
deprecated
func (*CreateProjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateProjectResponse.ProtoReflect.Descriptor instead.
func (*CreateProjectResponse) GetProject ¶
func (x *CreateProjectResponse) GetProject() *Project
func (*CreateProjectResponse) ProtoMessage ¶
func (*CreateProjectResponse) ProtoMessage()
func (*CreateProjectResponse) ProtoReflect ¶ added in v0.4.11
func (x *CreateProjectResponse) ProtoReflect() protoreflect.Message
func (*CreateProjectResponse) Reset ¶
func (x *CreateProjectResponse) Reset()
func (*CreateProjectResponse) String ¶
func (x *CreateProjectResponse) String() string
type DeactivateClientRequest ¶
type DeactivateClientRequest struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // contains filtered or unexported fields }
func (*DeactivateClientRequest) Descriptor
deprecated
func (*DeactivateClientRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeactivateClientRequest.ProtoReflect.Descriptor instead.
func (*DeactivateClientRequest) GetClientId ¶
func (x *DeactivateClientRequest) GetClientId() string
func (*DeactivateClientRequest) ProtoMessage ¶
func (*DeactivateClientRequest) ProtoMessage()
func (*DeactivateClientRequest) ProtoReflect ¶ added in v0.4.11
func (x *DeactivateClientRequest) ProtoReflect() protoreflect.Message
func (*DeactivateClientRequest) Reset ¶
func (x *DeactivateClientRequest) Reset()
func (*DeactivateClientRequest) String ¶
func (x *DeactivateClientRequest) String() string
type DeactivateClientResponse ¶
type DeactivateClientResponse struct {
// contains filtered or unexported fields
}
func (*DeactivateClientResponse) Descriptor
deprecated
func (*DeactivateClientResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeactivateClientResponse.ProtoReflect.Descriptor instead.
func (*DeactivateClientResponse) ProtoMessage ¶
func (*DeactivateClientResponse) ProtoMessage()
func (*DeactivateClientResponse) ProtoReflect ¶ added in v0.4.11
func (x *DeactivateClientResponse) ProtoReflect() protoreflect.Message
func (*DeactivateClientResponse) Reset ¶
func (x *DeactivateClientResponse) Reset()
func (*DeactivateClientResponse) String ¶
func (x *DeactivateClientResponse) String() string
type DetachDocumentRequest ¶
type DetachDocumentRequest struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` DocumentId string `protobuf:"bytes,2,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` ChangePack *ChangePack `protobuf:"bytes,3,opt,name=change_pack,json=changePack,proto3" json:"change_pack,omitempty"` RemoveIfNotAttached bool `protobuf:"varint,4,opt,name=remove_if_not_attached,json=removeIfNotAttached,proto3" json:"remove_if_not_attached,omitempty"` // contains filtered or unexported fields }
func (*DetachDocumentRequest) Descriptor
deprecated
func (*DetachDocumentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DetachDocumentRequest.ProtoReflect.Descriptor instead.
func (*DetachDocumentRequest) GetChangePack ¶
func (x *DetachDocumentRequest) GetChangePack() *ChangePack
func (*DetachDocumentRequest) GetClientId ¶
func (x *DetachDocumentRequest) GetClientId() string
func (*DetachDocumentRequest) GetDocumentId ¶ added in v0.3.3
func (x *DetachDocumentRequest) GetDocumentId() string
func (*DetachDocumentRequest) GetRemoveIfNotAttached ¶ added in v0.4.4
func (x *DetachDocumentRequest) GetRemoveIfNotAttached() bool
func (*DetachDocumentRequest) ProtoMessage ¶
func (*DetachDocumentRequest) ProtoMessage()
func (*DetachDocumentRequest) ProtoReflect ¶ added in v0.4.11
func (x *DetachDocumentRequest) ProtoReflect() protoreflect.Message
func (*DetachDocumentRequest) Reset ¶
func (x *DetachDocumentRequest) Reset()
func (*DetachDocumentRequest) String ¶
func (x *DetachDocumentRequest) String() string
type DetachDocumentResponse ¶
type DetachDocumentResponse struct { ChangePack *ChangePack `protobuf:"bytes,2,opt,name=change_pack,json=changePack,proto3" json:"change_pack,omitempty"` // contains filtered or unexported fields }
func (*DetachDocumentResponse) Descriptor
deprecated
func (*DetachDocumentResponse) Descriptor() ([]byte, []int)
Deprecated: Use DetachDocumentResponse.ProtoReflect.Descriptor instead.
func (*DetachDocumentResponse) GetChangePack ¶
func (x *DetachDocumentResponse) GetChangePack() *ChangePack
func (*DetachDocumentResponse) ProtoMessage ¶
func (*DetachDocumentResponse) ProtoMessage()
func (*DetachDocumentResponse) ProtoReflect ¶ added in v0.4.11
func (x *DetachDocumentResponse) ProtoReflect() protoreflect.Message
func (*DetachDocumentResponse) Reset ¶
func (x *DetachDocumentResponse) Reset()
func (*DetachDocumentResponse) String ¶
func (x *DetachDocumentResponse) String() string
type DocEvent ¶
type DocEvent struct { Type DocEventType `protobuf:"varint,1,opt,name=type,proto3,enum=yorkie.v1.DocEventType" json:"type,omitempty"` Publisher string `protobuf:"bytes,2,opt,name=publisher,proto3" json:"publisher,omitempty"` Body *DocEventBody `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*DocEvent) Descriptor
deprecated
func (*DocEvent) GetBody ¶ added in v0.4.7
func (x *DocEvent) GetBody() *DocEventBody
func (*DocEvent) GetPublisher ¶
func (*DocEvent) GetType ¶
func (x *DocEvent) GetType() DocEventType
func (*DocEvent) ProtoMessage ¶
func (*DocEvent) ProtoMessage()
func (*DocEvent) ProtoReflect ¶ added in v0.4.11
func (x *DocEvent) ProtoReflect() protoreflect.Message
type DocEventBody ¶ added in v0.4.7
type DocEventBody struct { Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*DocEventBody) Descriptor
deprecated
added in
v0.4.7
func (*DocEventBody) Descriptor() ([]byte, []int)
Deprecated: Use DocEventBody.ProtoReflect.Descriptor instead.
func (*DocEventBody) GetPayload ¶ added in v0.4.7
func (x *DocEventBody) GetPayload() []byte
func (*DocEventBody) GetTopic ¶ added in v0.4.7
func (x *DocEventBody) GetTopic() string
func (*DocEventBody) ProtoMessage ¶ added in v0.4.7
func (*DocEventBody) ProtoMessage()
func (*DocEventBody) ProtoReflect ¶ added in v0.4.11
func (x *DocEventBody) ProtoReflect() protoreflect.Message
func (*DocEventBody) Reset ¶ added in v0.4.7
func (x *DocEventBody) Reset()
func (*DocEventBody) String ¶ added in v0.4.7
func (x *DocEventBody) String() string
type DocEventType ¶
type DocEventType int32
const ( DocEventType_DOC_EVENT_TYPE_DOCUMENT_CHANGED DocEventType = 0 DocEventType_DOC_EVENT_TYPE_DOCUMENT_WATCHED DocEventType = 1 DocEventType_DOC_EVENT_TYPE_DOCUMENT_UNWATCHED DocEventType = 2 DocEventType_DOC_EVENT_TYPE_DOCUMENT_BROADCAST DocEventType = 3 )
func (DocEventType) Descriptor ¶ added in v0.4.11
func (DocEventType) Descriptor() protoreflect.EnumDescriptor
func (DocEventType) Enum ¶ added in v0.4.11
func (x DocEventType) Enum() *DocEventType
func (DocEventType) EnumDescriptor
deprecated
func (DocEventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DocEventType.Descriptor instead.
func (DocEventType) Number ¶ added in v0.4.11
func (x DocEventType) Number() protoreflect.EnumNumber
func (DocEventType) String ¶
func (x DocEventType) String() string
func (DocEventType) Type ¶ added in v0.4.11
func (DocEventType) Type() protoreflect.EnumType
type DocumentSummary ¶
type DocumentSummary struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Snapshot string `protobuf:"bytes,3,opt,name=snapshot,proto3" json:"snapshot,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` AccessedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=accessed_at,json=accessedAt,proto3" json:"accessed_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*DocumentSummary) Descriptor
deprecated
func (*DocumentSummary) Descriptor() ([]byte, []int)
Deprecated: Use DocumentSummary.ProtoReflect.Descriptor instead.
func (*DocumentSummary) GetAccessedAt ¶
func (x *DocumentSummary) GetAccessedAt() *timestamppb.Timestamp
func (*DocumentSummary) GetCreatedAt ¶
func (x *DocumentSummary) GetCreatedAt() *timestamppb.Timestamp
func (*DocumentSummary) GetId ¶
func (x *DocumentSummary) GetId() string
func (*DocumentSummary) GetKey ¶
func (x *DocumentSummary) GetKey() string
func (*DocumentSummary) GetSnapshot ¶
func (x *DocumentSummary) GetSnapshot() string
func (*DocumentSummary) GetUpdatedAt ¶
func (x *DocumentSummary) GetUpdatedAt() *timestamppb.Timestamp
func (*DocumentSummary) ProtoMessage ¶
func (*DocumentSummary) ProtoMessage()
func (*DocumentSummary) ProtoReflect ¶ added in v0.4.11
func (x *DocumentSummary) ProtoReflect() protoreflect.Message
func (*DocumentSummary) Reset ¶
func (x *DocumentSummary) Reset()
func (*DocumentSummary) String ¶
func (x *DocumentSummary) String() string
type GetDocumentRequest ¶
type GetDocumentRequest struct { ProjectName string `protobuf:"bytes,1,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` DocumentKey string `protobuf:"bytes,2,opt,name=document_key,json=documentKey,proto3" json:"document_key,omitempty"` // contains filtered or unexported fields }
func (*GetDocumentRequest) Descriptor
deprecated
func (*GetDocumentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDocumentRequest.ProtoReflect.Descriptor instead.
func (*GetDocumentRequest) GetDocumentKey ¶
func (x *GetDocumentRequest) GetDocumentKey() string
func (*GetDocumentRequest) GetProjectName ¶
func (x *GetDocumentRequest) GetProjectName() string
func (*GetDocumentRequest) ProtoMessage ¶
func (*GetDocumentRequest) ProtoMessage()
func (*GetDocumentRequest) ProtoReflect ¶ added in v0.4.11
func (x *GetDocumentRequest) ProtoReflect() protoreflect.Message
func (*GetDocumentRequest) Reset ¶
func (x *GetDocumentRequest) Reset()
func (*GetDocumentRequest) String ¶
func (x *GetDocumentRequest) String() string
type GetDocumentResponse ¶
type GetDocumentResponse struct { Document *DocumentSummary `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` // contains filtered or unexported fields }
func (*GetDocumentResponse) Descriptor
deprecated
func (*GetDocumentResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDocumentResponse.ProtoReflect.Descriptor instead.
func (*GetDocumentResponse) GetDocument ¶
func (x *GetDocumentResponse) GetDocument() *DocumentSummary
func (*GetDocumentResponse) ProtoMessage ¶
func (*GetDocumentResponse) ProtoMessage()
func (*GetDocumentResponse) ProtoReflect ¶ added in v0.4.11
func (x *GetDocumentResponse) ProtoReflect() protoreflect.Message
func (*GetDocumentResponse) Reset ¶
func (x *GetDocumentResponse) Reset()
func (*GetDocumentResponse) String ¶
func (x *GetDocumentResponse) String() string
type GetProjectRequest ¶
type GetProjectRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetProjectRequest) Descriptor
deprecated
func (*GetProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectRequest.ProtoReflect.Descriptor instead.
func (*GetProjectRequest) GetName ¶
func (x *GetProjectRequest) GetName() string
func (*GetProjectRequest) ProtoMessage ¶
func (*GetProjectRequest) ProtoMessage()
func (*GetProjectRequest) ProtoReflect ¶ added in v0.4.11
func (x *GetProjectRequest) ProtoReflect() protoreflect.Message
func (*GetProjectRequest) Reset ¶
func (x *GetProjectRequest) Reset()
func (*GetProjectRequest) String ¶
func (x *GetProjectRequest) String() string
type GetProjectResponse ¶
type GetProjectResponse struct { Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
func (*GetProjectResponse) Descriptor
deprecated
func (*GetProjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectResponse.ProtoReflect.Descriptor instead.
func (*GetProjectResponse) GetProject ¶
func (x *GetProjectResponse) GetProject() *Project
func (*GetProjectResponse) ProtoMessage ¶
func (*GetProjectResponse) ProtoMessage()
func (*GetProjectResponse) ProtoReflect ¶ added in v0.4.11
func (x *GetProjectResponse) ProtoReflect() protoreflect.Message
func (*GetProjectResponse) Reset ¶
func (x *GetProjectResponse) Reset()
func (*GetProjectResponse) String ¶
func (x *GetProjectResponse) String() string
type GetSnapshotMetaRequest ¶
type GetSnapshotMetaRequest struct { ProjectName string `protobuf:"bytes,1,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` DocumentKey string `protobuf:"bytes,2,opt,name=document_key,json=documentKey,proto3" json:"document_key,omitempty"` ServerSeq int64 `protobuf:"varint,3,opt,name=server_seq,json=serverSeq,proto3" json:"server_seq,omitempty"` // contains filtered or unexported fields }
func (*GetSnapshotMetaRequest) Descriptor
deprecated
func (*GetSnapshotMetaRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSnapshotMetaRequest.ProtoReflect.Descriptor instead.
func (*GetSnapshotMetaRequest) GetDocumentKey ¶
func (x *GetSnapshotMetaRequest) GetDocumentKey() string
func (*GetSnapshotMetaRequest) GetProjectName ¶
func (x *GetSnapshotMetaRequest) GetProjectName() string
func (*GetSnapshotMetaRequest) GetServerSeq ¶
func (x *GetSnapshotMetaRequest) GetServerSeq() int64
func (*GetSnapshotMetaRequest) ProtoMessage ¶
func (*GetSnapshotMetaRequest) ProtoMessage()
func (*GetSnapshotMetaRequest) ProtoReflect ¶ added in v0.4.11
func (x *GetSnapshotMetaRequest) ProtoReflect() protoreflect.Message
func (*GetSnapshotMetaRequest) Reset ¶
func (x *GetSnapshotMetaRequest) Reset()
func (*GetSnapshotMetaRequest) String ¶
func (x *GetSnapshotMetaRequest) String() string
type GetSnapshotMetaResponse ¶
type GetSnapshotMetaResponse struct { Snapshot []byte `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"` Lamport int64 `protobuf:"varint,2,opt,name=lamport,proto3" json:"lamport,omitempty"` // contains filtered or unexported fields }
func (*GetSnapshotMetaResponse) Descriptor
deprecated
func (*GetSnapshotMetaResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSnapshotMetaResponse.ProtoReflect.Descriptor instead.
func (*GetSnapshotMetaResponse) GetLamport ¶
func (x *GetSnapshotMetaResponse) GetLamport() int64
func (*GetSnapshotMetaResponse) GetSnapshot ¶
func (x *GetSnapshotMetaResponse) GetSnapshot() []byte
func (*GetSnapshotMetaResponse) ProtoMessage ¶
func (*GetSnapshotMetaResponse) ProtoMessage()
func (*GetSnapshotMetaResponse) ProtoReflect ¶ added in v0.4.11
func (x *GetSnapshotMetaResponse) ProtoReflect() protoreflect.Message
func (*GetSnapshotMetaResponse) Reset ¶
func (x *GetSnapshotMetaResponse) Reset()
func (*GetSnapshotMetaResponse) String ¶
func (x *GetSnapshotMetaResponse) String() string
type JSONElement ¶
type JSONElement struct { // Types that are assignable to Body: // // *JSONElement_JsonObject // *JSONElement_JsonArray // *JSONElement_Primitive_ // *JSONElement_Text_ // *JSONElement_Counter_ // *JSONElement_Tree_ Body isJSONElement_Body `protobuf_oneof:"body"` // contains filtered or unexported fields }
func (*JSONElement) Descriptor
deprecated
func (*JSONElement) Descriptor() ([]byte, []int)
Deprecated: Use JSONElement.ProtoReflect.Descriptor instead.
func (*JSONElement) GetBody ¶
func (m *JSONElement) GetBody() isJSONElement_Body
func (*JSONElement) GetCounter ¶
func (x *JSONElement) GetCounter() *JSONElement_Counter
func (*JSONElement) GetJsonArray ¶
func (x *JSONElement) GetJsonArray() *JSONElement_JSONArray
func (*JSONElement) GetJsonObject ¶
func (x *JSONElement) GetJsonObject() *JSONElement_JSONObject
func (*JSONElement) GetPrimitive ¶
func (x *JSONElement) GetPrimitive() *JSONElement_Primitive
func (*JSONElement) GetText ¶
func (x *JSONElement) GetText() *JSONElement_Text
func (*JSONElement) GetTree ¶ added in v0.4.0
func (x *JSONElement) GetTree() *JSONElement_Tree
func (*JSONElement) ProtoMessage ¶
func (*JSONElement) ProtoMessage()
func (*JSONElement) ProtoReflect ¶ added in v0.4.11
func (x *JSONElement) ProtoReflect() protoreflect.Message
func (*JSONElement) Reset ¶
func (x *JSONElement) Reset()
func (*JSONElement) String ¶
func (x *JSONElement) String() string
type JSONElementSimple ¶
type JSONElementSimple struct { CreatedAt *TimeTicket `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` MovedAt *TimeTicket `protobuf:"bytes,2,opt,name=moved_at,json=movedAt,proto3" json:"moved_at,omitempty"` RemovedAt *TimeTicket `protobuf:"bytes,3,opt,name=removed_at,json=removedAt,proto3" json:"removed_at,omitempty"` Type ValueType `protobuf:"varint,4,opt,name=type,proto3,enum=yorkie.v1.ValueType" json:"type,omitempty"` Value []byte `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*JSONElementSimple) Descriptor
deprecated
func (*JSONElementSimple) Descriptor() ([]byte, []int)
Deprecated: Use JSONElementSimple.ProtoReflect.Descriptor instead.
func (*JSONElementSimple) GetCreatedAt ¶
func (x *JSONElementSimple) GetCreatedAt() *TimeTicket
func (*JSONElementSimple) GetMovedAt ¶
func (x *JSONElementSimple) GetMovedAt() *TimeTicket
func (*JSONElementSimple) GetRemovedAt ¶
func (x *JSONElementSimple) GetRemovedAt() *TimeTicket
func (*JSONElementSimple) GetType ¶
func (x *JSONElementSimple) GetType() ValueType
func (*JSONElementSimple) GetValue ¶
func (x *JSONElementSimple) GetValue() []byte
func (*JSONElementSimple) ProtoMessage ¶
func (*JSONElementSimple) ProtoMessage()
func (*JSONElementSimple) ProtoReflect ¶ added in v0.4.11
func (x *JSONElementSimple) ProtoReflect() protoreflect.Message
func (*JSONElementSimple) Reset ¶
func (x *JSONElementSimple) Reset()
func (*JSONElementSimple) String ¶
func (x *JSONElementSimple) String() string
type JSONElement_Counter ¶
type JSONElement_Counter struct { Type ValueType `protobuf:"varint,1,opt,name=type,proto3,enum=yorkie.v1.ValueType" json:"type,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` CreatedAt *TimeTicket `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` MovedAt *TimeTicket `protobuf:"bytes,4,opt,name=moved_at,json=movedAt,proto3" json:"moved_at,omitempty"` RemovedAt *TimeTicket `protobuf:"bytes,5,opt,name=removed_at,json=removedAt,proto3" json:"removed_at,omitempty"` // contains filtered or unexported fields }
func (*JSONElement_Counter) Descriptor
deprecated
func (*JSONElement_Counter) Descriptor() ([]byte, []int)
Deprecated: Use JSONElement_Counter.ProtoReflect.Descriptor instead.
func (*JSONElement_Counter) GetCreatedAt ¶
func (x *JSONElement_Counter) GetCreatedAt() *TimeTicket
func (*JSONElement_Counter) GetMovedAt ¶
func (x *JSONElement_Counter) GetMovedAt() *TimeTicket
func (*JSONElement_Counter) GetRemovedAt ¶
func (x *JSONElement_Counter) GetRemovedAt() *TimeTicket
func (*JSONElement_Counter) GetType ¶
func (x *JSONElement_Counter) GetType() ValueType
func (*JSONElement_Counter) GetValue ¶
func (x *JSONElement_Counter) GetValue() []byte
func (*JSONElement_Counter) ProtoMessage ¶
func (*JSONElement_Counter) ProtoMessage()
func (*JSONElement_Counter) ProtoReflect ¶ added in v0.4.11
func (x *JSONElement_Counter) ProtoReflect() protoreflect.Message
func (*JSONElement_Counter) Reset ¶
func (x *JSONElement_Counter) Reset()
func (*JSONElement_Counter) String ¶
func (x *JSONElement_Counter) String() string
type JSONElement_Counter_ ¶
type JSONElement_Counter_ struct {
Counter *JSONElement_Counter `protobuf:"bytes,6,opt,name=counter,proto3,oneof"`
}
type JSONElement_JSONArray ¶
type JSONElement_JSONArray struct { Nodes []*RGANode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` CreatedAt *TimeTicket `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` MovedAt *TimeTicket `protobuf:"bytes,3,opt,name=moved_at,json=movedAt,proto3" json:"moved_at,omitempty"` RemovedAt *TimeTicket `protobuf:"bytes,4,opt,name=removed_at,json=removedAt,proto3" json:"removed_at,omitempty"` // contains filtered or unexported fields }
func (*JSONElement_JSONArray) Descriptor
deprecated
func (*JSONElement_JSONArray) Descriptor() ([]byte, []int)
Deprecated: Use JSONElement_JSONArray.ProtoReflect.Descriptor instead.
func (*JSONElement_JSONArray) GetCreatedAt ¶
func (x *JSONElement_JSONArray) GetCreatedAt() *TimeTicket
func (*JSONElement_JSONArray) GetMovedAt ¶
func (x *JSONElement_JSONArray) GetMovedAt() *TimeTicket
func (*JSONElement_JSONArray) GetNodes ¶
func (x *JSONElement_JSONArray) GetNodes() []*RGANode
func (*JSONElement_JSONArray) GetRemovedAt ¶
func (x *JSONElement_JSONArray) GetRemovedAt() *TimeTicket
func (*JSONElement_JSONArray) ProtoMessage ¶
func (*JSONElement_JSONArray) ProtoMessage()
func (*JSONElement_JSONArray) ProtoReflect ¶ added in v0.4.11
func (x *JSONElement_JSONArray) ProtoReflect() protoreflect.Message
func (*JSONElement_JSONArray) Reset ¶
func (x *JSONElement_JSONArray) Reset()
func (*JSONElement_JSONArray) String ¶
func (x *JSONElement_JSONArray) String() string
type JSONElement_JSONObject ¶
type JSONElement_JSONObject struct { Nodes []*RHTNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` CreatedAt *TimeTicket `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` MovedAt *TimeTicket `protobuf:"bytes,3,opt,name=moved_at,json=movedAt,proto3" json:"moved_at,omitempty"` RemovedAt *TimeTicket `protobuf:"bytes,4,opt,name=removed_at,json=removedAt,proto3" json:"removed_at,omitempty"` // contains filtered or unexported fields }
func (*JSONElement_JSONObject) Descriptor
deprecated
func (*JSONElement_JSONObject) Descriptor() ([]byte, []int)
Deprecated: Use JSONElement_JSONObject.ProtoReflect.Descriptor instead.
func (*JSONElement_JSONObject) GetCreatedAt ¶
func (x *JSONElement_JSONObject) GetCreatedAt() *TimeTicket
func (*JSONElement_JSONObject) GetMovedAt ¶
func (x *JSONElement_JSONObject) GetMovedAt() *TimeTicket
func (*JSONElement_JSONObject) GetNodes ¶
func (x *JSONElement_JSONObject) GetNodes() []*RHTNode
func (*JSONElement_JSONObject) GetRemovedAt ¶
func (x *JSONElement_JSONObject) GetRemovedAt() *TimeTicket
func (*JSONElement_JSONObject) ProtoMessage ¶
func (*JSONElement_JSONObject) ProtoMessage()
func (*JSONElement_JSONObject) ProtoReflect ¶ added in v0.4.11
func (x *JSONElement_JSONObject) ProtoReflect() protoreflect.Message
func (*JSONElement_JSONObject) Reset ¶
func (x *JSONElement_JSONObject) Reset()
func (*JSONElement_JSONObject) String ¶
func (x *JSONElement_JSONObject) String() string
type JSONElement_JsonArray ¶
type JSONElement_JsonArray struct {
JsonArray *JSONElement_JSONArray `protobuf:"bytes,2,opt,name=json_array,json=jsonArray,proto3,oneof"`
}
type JSONElement_JsonObject ¶
type JSONElement_JsonObject struct {
JsonObject *JSONElement_JSONObject `protobuf:"bytes,1,opt,name=json_object,json=jsonObject,proto3,oneof"`
}
type JSONElement_Primitive ¶
type JSONElement_Primitive struct { Type ValueType `protobuf:"varint,1,opt,name=type,proto3,enum=yorkie.v1.ValueType" json:"type,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` CreatedAt *TimeTicket `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` MovedAt *TimeTicket `protobuf:"bytes,4,opt,name=moved_at,json=movedAt,proto3" json:"moved_at,omitempty"` RemovedAt *TimeTicket `protobuf:"bytes,5,opt,name=removed_at,json=removedAt,proto3" json:"removed_at,omitempty"` // contains filtered or unexported fields }
func (*JSONElement_Primitive) Descriptor
deprecated
func (*JSONElement_Primitive) Descriptor() ([]byte, []int)
Deprecated: Use JSONElement_Primitive.ProtoReflect.Descriptor instead.
func (*JSONElement_Primitive) GetCreatedAt ¶
func (x *JSONElement_Primitive) GetCreatedAt() *TimeTicket
func (*JSONElement_Primitive) GetMovedAt ¶
func (x *JSONElement_Primitive) GetMovedAt() *TimeTicket
func (*JSONElement_Primitive) GetRemovedAt ¶
func (x *JSONElement_Primitive) GetRemovedAt() *TimeTicket
func (*JSONElement_Primitive) GetType ¶
func (x *JSONElement_Primitive) GetType() ValueType
func (*JSONElement_Primitive) GetValue ¶
func (x *JSONElement_Primitive) GetValue() []byte
func (*JSONElement_Primitive) ProtoMessage ¶
func (*JSONElement_Primitive) ProtoMessage()
func (*JSONElement_Primitive) ProtoReflect ¶ added in v0.4.11
func (x *JSONElement_Primitive) ProtoReflect() protoreflect.Message
func (*JSONElement_Primitive) Reset ¶
func (x *JSONElement_Primitive) Reset()
func (*JSONElement_Primitive) String ¶
func (x *JSONElement_Primitive) String() string
type JSONElement_Primitive_ ¶
type JSONElement_Primitive_ struct {
Primitive *JSONElement_Primitive `protobuf:"bytes,3,opt,name=primitive,proto3,oneof"`
}
type JSONElement_Text ¶
type JSONElement_Text struct { Nodes []*TextNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` CreatedAt *TimeTicket `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` MovedAt *TimeTicket `protobuf:"bytes,3,opt,name=moved_at,json=movedAt,proto3" json:"moved_at,omitempty"` RemovedAt *TimeTicket `protobuf:"bytes,4,opt,name=removed_at,json=removedAt,proto3" json:"removed_at,omitempty"` // contains filtered or unexported fields }
func (*JSONElement_Text) Descriptor
deprecated
func (*JSONElement_Text) Descriptor() ([]byte, []int)
Deprecated: Use JSONElement_Text.ProtoReflect.Descriptor instead.
func (*JSONElement_Text) GetCreatedAt ¶
func (x *JSONElement_Text) GetCreatedAt() *TimeTicket
func (*JSONElement_Text) GetMovedAt ¶
func (x *JSONElement_Text) GetMovedAt() *TimeTicket
func (*JSONElement_Text) GetNodes ¶
func (x *JSONElement_Text) GetNodes() []*TextNode
func (*JSONElement_Text) GetRemovedAt ¶
func (x *JSONElement_Text) GetRemovedAt() *TimeTicket
func (*JSONElement_Text) ProtoMessage ¶
func (*JSONElement_Text) ProtoMessage()
func (*JSONElement_Text) ProtoReflect ¶ added in v0.4.11
func (x *JSONElement_Text) ProtoReflect() protoreflect.Message
func (*JSONElement_Text) Reset ¶
func (x *JSONElement_Text) Reset()
func (*JSONElement_Text) String ¶
func (x *JSONElement_Text) String() string
type JSONElement_Text_ ¶
type JSONElement_Text_ struct {
Text *JSONElement_Text `protobuf:"bytes,5,opt,name=text,proto3,oneof"`
}
type JSONElement_Tree ¶ added in v0.4.0
type JSONElement_Tree struct { Nodes []*TreeNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` CreatedAt *TimeTicket `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` MovedAt *TimeTicket `protobuf:"bytes,3,opt,name=moved_at,json=movedAt,proto3" json:"moved_at,omitempty"` RemovedAt *TimeTicket `protobuf:"bytes,4,opt,name=removed_at,json=removedAt,proto3" json:"removed_at,omitempty"` // contains filtered or unexported fields }
func (*JSONElement_Tree) Descriptor
deprecated
added in
v0.4.0
func (*JSONElement_Tree) Descriptor() ([]byte, []int)
Deprecated: Use JSONElement_Tree.ProtoReflect.Descriptor instead.
func (*JSONElement_Tree) GetCreatedAt ¶ added in v0.4.0
func (x *JSONElement_Tree) GetCreatedAt() *TimeTicket
func (*JSONElement_Tree) GetMovedAt ¶ added in v0.4.0
func (x *JSONElement_Tree) GetMovedAt() *TimeTicket
func (*JSONElement_Tree) GetNodes ¶ added in v0.4.0
func (x *JSONElement_Tree) GetNodes() []*TreeNode
func (*JSONElement_Tree) GetRemovedAt ¶ added in v0.4.0
func (x *JSONElement_Tree) GetRemovedAt() *TimeTicket
func (*JSONElement_Tree) ProtoMessage ¶ added in v0.4.0
func (*JSONElement_Tree) ProtoMessage()
func (*JSONElement_Tree) ProtoReflect ¶ added in v0.4.11
func (x *JSONElement_Tree) ProtoReflect() protoreflect.Message
func (*JSONElement_Tree) Reset ¶ added in v0.4.0
func (x *JSONElement_Tree) Reset()
func (*JSONElement_Tree) String ¶ added in v0.4.0
func (x *JSONElement_Tree) String() string
type JSONElement_Tree_ ¶ added in v0.4.0
type JSONElement_Tree_ struct {
Tree *JSONElement_Tree `protobuf:"bytes,7,opt,name=tree,proto3,oneof"`
}
type ListChangesRequest ¶
type ListChangesRequest struct { ProjectName string `protobuf:"bytes,1,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` DocumentKey string `protobuf:"bytes,2,opt,name=document_key,json=documentKey,proto3" json:"document_key,omitempty"` PreviousSeq int64 `protobuf:"varint,3,opt,name=previous_seq,json=previousSeq,proto3" json:"previous_seq,omitempty"` PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` IsForward bool `protobuf:"varint,5,opt,name=is_forward,json=isForward,proto3" json:"is_forward,omitempty"` // contains filtered or unexported fields }
func (*ListChangesRequest) Descriptor
deprecated
func (*ListChangesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListChangesRequest.ProtoReflect.Descriptor instead.
func (*ListChangesRequest) GetDocumentKey ¶
func (x *ListChangesRequest) GetDocumentKey() string
func (*ListChangesRequest) GetIsForward ¶
func (x *ListChangesRequest) GetIsForward() bool
func (*ListChangesRequest) GetPageSize ¶
func (x *ListChangesRequest) GetPageSize() int32
func (*ListChangesRequest) GetPreviousSeq ¶
func (x *ListChangesRequest) GetPreviousSeq() int64
func (*ListChangesRequest) GetProjectName ¶
func (x *ListChangesRequest) GetProjectName() string
func (*ListChangesRequest) ProtoMessage ¶
func (*ListChangesRequest) ProtoMessage()
func (*ListChangesRequest) ProtoReflect ¶ added in v0.4.11
func (x *ListChangesRequest) ProtoReflect() protoreflect.Message
func (*ListChangesRequest) Reset ¶
func (x *ListChangesRequest) Reset()
func (*ListChangesRequest) String ¶
func (x *ListChangesRequest) String() string
type ListChangesResponse ¶
type ListChangesResponse struct { Changes []*Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*ListChangesResponse) Descriptor
deprecated
func (*ListChangesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListChangesResponse.ProtoReflect.Descriptor instead.
func (*ListChangesResponse) GetChanges ¶
func (x *ListChangesResponse) GetChanges() []*Change
func (*ListChangesResponse) ProtoMessage ¶
func (*ListChangesResponse) ProtoMessage()
func (*ListChangesResponse) ProtoReflect ¶ added in v0.4.11
func (x *ListChangesResponse) ProtoReflect() protoreflect.Message
func (*ListChangesResponse) Reset ¶
func (x *ListChangesResponse) Reset()
func (*ListChangesResponse) String ¶
func (x *ListChangesResponse) String() string
type ListDocumentsRequest ¶
type ListDocumentsRequest struct { ProjectName string `protobuf:"bytes,1,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` PreviousId string `protobuf:"bytes,2,opt,name=previous_id,json=previousId,proto3" json:"previous_id,omitempty"` PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` IsForward bool `protobuf:"varint,4,opt,name=is_forward,json=isForward,proto3" json:"is_forward,omitempty"` IncludeSnapshot bool `protobuf:"varint,5,opt,name=include_snapshot,json=includeSnapshot,proto3" json:"include_snapshot,omitempty"` // contains filtered or unexported fields }
func (*ListDocumentsRequest) Descriptor
deprecated
func (*ListDocumentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDocumentsRequest.ProtoReflect.Descriptor instead.
func (*ListDocumentsRequest) GetIncludeSnapshot ¶ added in v0.4.5
func (x *ListDocumentsRequest) GetIncludeSnapshot() bool
func (*ListDocumentsRequest) GetIsForward ¶
func (x *ListDocumentsRequest) GetIsForward() bool
func (*ListDocumentsRequest) GetPageSize ¶
func (x *ListDocumentsRequest) GetPageSize() int32
func (*ListDocumentsRequest) GetPreviousId ¶
func (x *ListDocumentsRequest) GetPreviousId() string
func (*ListDocumentsRequest) GetProjectName ¶
func (x *ListDocumentsRequest) GetProjectName() string
func (*ListDocumentsRequest) ProtoMessage ¶
func (*ListDocumentsRequest) ProtoMessage()
func (*ListDocumentsRequest) ProtoReflect ¶ added in v0.4.11
func (x *ListDocumentsRequest) ProtoReflect() protoreflect.Message
func (*ListDocumentsRequest) Reset ¶
func (x *ListDocumentsRequest) Reset()
func (*ListDocumentsRequest) String ¶
func (x *ListDocumentsRequest) String() string
type ListDocumentsResponse ¶
type ListDocumentsResponse struct { Documents []*DocumentSummary `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() []*DocumentSummary
func (*ListDocumentsResponse) ProtoMessage ¶
func (*ListDocumentsResponse) ProtoMessage()
func (*ListDocumentsResponse) ProtoReflect ¶ added in v0.4.11
func (x *ListDocumentsResponse) ProtoReflect() protoreflect.Message
func (*ListDocumentsResponse) Reset ¶
func (x *ListDocumentsResponse) Reset()
func (*ListDocumentsResponse) String ¶
func (x *ListDocumentsResponse) String() string
type ListProjectsRequest ¶
type ListProjectsRequest struct {
// contains filtered or unexported fields
}
func (*ListProjectsRequest) Descriptor
deprecated
func (*ListProjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectsRequest.ProtoReflect.Descriptor instead.
func (*ListProjectsRequest) ProtoMessage ¶
func (*ListProjectsRequest) ProtoMessage()
func (*ListProjectsRequest) ProtoReflect ¶ added in v0.4.11
func (x *ListProjectsRequest) ProtoReflect() protoreflect.Message
func (*ListProjectsRequest) Reset ¶
func (x *ListProjectsRequest) Reset()
func (*ListProjectsRequest) String ¶
func (x *ListProjectsRequest) String() string
type ListProjectsResponse ¶
type ListProjectsResponse struct { Projects []*Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"` // contains filtered or unexported fields }
func (*ListProjectsResponse) Descriptor
deprecated
func (*ListProjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectsResponse.ProtoReflect.Descriptor instead.
func (*ListProjectsResponse) GetProjects ¶
func (x *ListProjectsResponse) GetProjects() []*Project
func (*ListProjectsResponse) ProtoMessage ¶
func (*ListProjectsResponse) ProtoMessage()
func (*ListProjectsResponse) ProtoReflect ¶ added in v0.4.11
func (x *ListProjectsResponse) ProtoReflect() protoreflect.Message
func (*ListProjectsResponse) Reset ¶
func (x *ListProjectsResponse) Reset()
func (*ListProjectsResponse) String ¶
func (x *ListProjectsResponse) String() string
type LogInRequest ¶
type LogInRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*LogInRequest) Descriptor
deprecated
func (*LogInRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogInRequest.ProtoReflect.Descriptor instead.
func (*LogInRequest) GetPassword ¶
func (x *LogInRequest) GetPassword() string
func (*LogInRequest) GetUsername ¶
func (x *LogInRequest) GetUsername() string
func (*LogInRequest) ProtoMessage ¶
func (*LogInRequest) ProtoMessage()
func (*LogInRequest) ProtoReflect ¶ added in v0.4.11
func (x *LogInRequest) ProtoReflect() protoreflect.Message
func (*LogInRequest) Reset ¶
func (x *LogInRequest) Reset()
func (*LogInRequest) String ¶
func (x *LogInRequest) String() string
type LogInResponse ¶
type LogInResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*LogInResponse) Descriptor
deprecated
func (*LogInResponse) Descriptor() ([]byte, []int)
Deprecated: Use LogInResponse.ProtoReflect.Descriptor instead.
func (*LogInResponse) GetToken ¶
func (x *LogInResponse) GetToken() string
func (*LogInResponse) ProtoMessage ¶
func (*LogInResponse) ProtoMessage()
func (*LogInResponse) ProtoReflect ¶ added in v0.4.11
func (x *LogInResponse) ProtoReflect() protoreflect.Message
func (*LogInResponse) Reset ¶
func (x *LogInResponse) Reset()
func (*LogInResponse) String ¶
func (x *LogInResponse) String() string
type NodeAttr ¶ added in v0.4.2
type NodeAttr struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` UpdatedAt *TimeTicket `protobuf:"bytes,2,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` IsRemoved bool `protobuf:"varint,3,opt,name=is_removed,json=isRemoved,proto3" json:"is_removed,omitempty"` // contains filtered or unexported fields }
func (*NodeAttr) Descriptor
deprecated
added in
v0.4.2
func (*NodeAttr) GetIsRemoved ¶ added in v0.4.22
func (*NodeAttr) GetUpdatedAt ¶ added in v0.4.2
func (x *NodeAttr) GetUpdatedAt() *TimeTicket
func (*NodeAttr) ProtoMessage ¶ added in v0.4.2
func (*NodeAttr) ProtoMessage()
func (*NodeAttr) ProtoReflect ¶ added in v0.4.11
func (x *NodeAttr) ProtoReflect() protoreflect.Message
type Operation ¶
type Operation struct { // Types that are assignable to Body: // // *Operation_Set_ // *Operation_Add_ // *Operation_Move_ // *Operation_Remove_ // *Operation_Edit_ // *Operation_Select_ // *Operation_Style_ // *Operation_Increase_ // *Operation_TreeEdit_ // *Operation_TreeStyle_ Body isOperation_Body `protobuf_oneof:"body"` // contains filtered or unexported fields }
func (*Operation) Descriptor
deprecated
func (*Operation) GetAdd ¶
func (x *Operation) GetAdd() *Operation_Add
func (*Operation) GetEdit ¶
func (x *Operation) GetEdit() *Operation_Edit
func (*Operation) GetIncrease ¶
func (x *Operation) GetIncrease() *Operation_Increase
func (*Operation) GetMove ¶
func (x *Operation) GetMove() *Operation_Move
func (*Operation) GetRemove ¶
func (x *Operation) GetRemove() *Operation_Remove
func (*Operation) GetSelect ¶
func (x *Operation) GetSelect() *Operation_Select
func (*Operation) GetSet ¶
func (x *Operation) GetSet() *Operation_Set
func (*Operation) GetStyle ¶
func (x *Operation) GetStyle() *Operation_Style
func (*Operation) GetTreeEdit ¶ added in v0.4.0
func (x *Operation) GetTreeEdit() *Operation_TreeEdit
func (*Operation) GetTreeStyle ¶ added in v0.4.2
func (x *Operation) GetTreeStyle() *Operation_TreeStyle
func (*Operation) ProtoMessage ¶
func (*Operation) ProtoMessage()
func (*Operation) ProtoReflect ¶ added in v0.4.11
func (x *Operation) ProtoReflect() protoreflect.Message
type Operation_Add ¶
type Operation_Add struct { ParentCreatedAt *TimeTicket `protobuf:"bytes,1,opt,name=parent_created_at,json=parentCreatedAt,proto3" json:"parent_created_at,omitempty"` PrevCreatedAt *TimeTicket `protobuf:"bytes,2,opt,name=prev_created_at,json=prevCreatedAt,proto3" json:"prev_created_at,omitempty"` Value *JSONElementSimple `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` ExecutedAt *TimeTicket `protobuf:"bytes,4,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"` // contains filtered or unexported fields }
func (*Operation_Add) Descriptor
deprecated
func (*Operation_Add) Descriptor() ([]byte, []int)
Deprecated: Use Operation_Add.ProtoReflect.Descriptor instead.
func (*Operation_Add) GetExecutedAt ¶
func (x *Operation_Add) GetExecutedAt() *TimeTicket
func (*Operation_Add) GetParentCreatedAt ¶
func (x *Operation_Add) GetParentCreatedAt() *TimeTicket
func (*Operation_Add) GetPrevCreatedAt ¶
func (x *Operation_Add) GetPrevCreatedAt() *TimeTicket
func (*Operation_Add) GetValue ¶
func (x *Operation_Add) GetValue() *JSONElementSimple
func (*Operation_Add) ProtoMessage ¶
func (*Operation_Add) ProtoMessage()
func (*Operation_Add) ProtoReflect ¶ added in v0.4.11
func (x *Operation_Add) ProtoReflect() protoreflect.Message
func (*Operation_Add) Reset ¶
func (x *Operation_Add) Reset()
func (*Operation_Add) String ¶
func (x *Operation_Add) String() string
type Operation_Add_ ¶
type Operation_Add_ struct {
Add *Operation_Add `protobuf:"bytes,2,opt,name=add,proto3,oneof"`
}
type Operation_Edit ¶
type Operation_Edit struct { ParentCreatedAt *TimeTicket `protobuf:"bytes,1,opt,name=parent_created_at,json=parentCreatedAt,proto3" json:"parent_created_at,omitempty"` From *TextNodePos `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` To *TextNodePos `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` CreatedAtMapByActor map[string]*TimeTicket `` /* 212-byte string literal not displayed */ Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` ExecutedAt *TimeTicket `protobuf:"bytes,6,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"` Attributes map[string]string `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Operation_Edit) Descriptor
deprecated
func (*Operation_Edit) Descriptor() ([]byte, []int)
Deprecated: Use Operation_Edit.ProtoReflect.Descriptor instead.
func (*Operation_Edit) GetAttributes ¶ added in v0.3.0
func (x *Operation_Edit) GetAttributes() map[string]string
func (*Operation_Edit) GetContent ¶
func (x *Operation_Edit) GetContent() string
func (*Operation_Edit) GetCreatedAtMapByActor ¶
func (x *Operation_Edit) GetCreatedAtMapByActor() map[string]*TimeTicket
func (*Operation_Edit) GetExecutedAt ¶
func (x *Operation_Edit) GetExecutedAt() *TimeTicket
func (*Operation_Edit) GetFrom ¶
func (x *Operation_Edit) GetFrom() *TextNodePos
func (*Operation_Edit) GetParentCreatedAt ¶
func (x *Operation_Edit) GetParentCreatedAt() *TimeTicket
func (*Operation_Edit) GetTo ¶
func (x *Operation_Edit) GetTo() *TextNodePos
func (*Operation_Edit) ProtoMessage ¶
func (*Operation_Edit) ProtoMessage()
func (*Operation_Edit) ProtoReflect ¶ added in v0.4.11
func (x *Operation_Edit) ProtoReflect() protoreflect.Message
func (*Operation_Edit) Reset ¶
func (x *Operation_Edit) Reset()
func (*Operation_Edit) String ¶
func (x *Operation_Edit) String() string
type Operation_Edit_ ¶
type Operation_Edit_ struct {
Edit *Operation_Edit `protobuf:"bytes,5,opt,name=edit,proto3,oneof"`
}
type Operation_Increase ¶
type Operation_Increase struct { ParentCreatedAt *TimeTicket `protobuf:"bytes,1,opt,name=parent_created_at,json=parentCreatedAt,proto3" json:"parent_created_at,omitempty"` Value *JSONElementSimple `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` ExecutedAt *TimeTicket `protobuf:"bytes,3,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"` // contains filtered or unexported fields }
func (*Operation_Increase) Descriptor
deprecated
func (*Operation_Increase) Descriptor() ([]byte, []int)
Deprecated: Use Operation_Increase.ProtoReflect.Descriptor instead.
func (*Operation_Increase) GetExecutedAt ¶
func (x *Operation_Increase) GetExecutedAt() *TimeTicket
func (*Operation_Increase) GetParentCreatedAt ¶
func (x *Operation_Increase) GetParentCreatedAt() *TimeTicket
func (*Operation_Increase) GetValue ¶
func (x *Operation_Increase) GetValue() *JSONElementSimple
func (*Operation_Increase) ProtoMessage ¶
func (*Operation_Increase) ProtoMessage()
func (*Operation_Increase) ProtoReflect ¶ added in v0.4.11
func (x *Operation_Increase) ProtoReflect() protoreflect.Message
func (*Operation_Increase) Reset ¶
func (x *Operation_Increase) Reset()
func (*Operation_Increase) String ¶
func (x *Operation_Increase) String() string
type Operation_Increase_ ¶
type Operation_Increase_ struct {
Increase *Operation_Increase `protobuf:"bytes,8,opt,name=increase,proto3,oneof"`
}
type Operation_Move ¶
type Operation_Move struct { ParentCreatedAt *TimeTicket `protobuf:"bytes,1,opt,name=parent_created_at,json=parentCreatedAt,proto3" json:"parent_created_at,omitempty"` PrevCreatedAt *TimeTicket `protobuf:"bytes,2,opt,name=prev_created_at,json=prevCreatedAt,proto3" json:"prev_created_at,omitempty"` CreatedAt *TimeTicket `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` ExecutedAt *TimeTicket `protobuf:"bytes,4,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"` // contains filtered or unexported fields }
func (*Operation_Move) Descriptor
deprecated
func (*Operation_Move) Descriptor() ([]byte, []int)
Deprecated: Use Operation_Move.ProtoReflect.Descriptor instead.
func (*Operation_Move) GetCreatedAt ¶
func (x *Operation_Move) GetCreatedAt() *TimeTicket
func (*Operation_Move) GetExecutedAt ¶
func (x *Operation_Move) GetExecutedAt() *TimeTicket
func (*Operation_Move) GetParentCreatedAt ¶
func (x *Operation_Move) GetParentCreatedAt() *TimeTicket
func (*Operation_Move) GetPrevCreatedAt ¶
func (x *Operation_Move) GetPrevCreatedAt() *TimeTicket
func (*Operation_Move) ProtoMessage ¶
func (*Operation_Move) ProtoMessage()
func (*Operation_Move) ProtoReflect ¶ added in v0.4.11
func (x *Operation_Move) ProtoReflect() protoreflect.Message
func (*Operation_Move) Reset ¶
func (x *Operation_Move) Reset()
func (*Operation_Move) String ¶
func (x *Operation_Move) String() string
type Operation_Move_ ¶
type Operation_Move_ struct {
Move *Operation_Move `protobuf:"bytes,3,opt,name=move,proto3,oneof"`
}
type Operation_Remove ¶
type Operation_Remove struct { ParentCreatedAt *TimeTicket `protobuf:"bytes,1,opt,name=parent_created_at,json=parentCreatedAt,proto3" json:"parent_created_at,omitempty"` CreatedAt *TimeTicket `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` ExecutedAt *TimeTicket `protobuf:"bytes,3,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"` // contains filtered or unexported fields }
func (*Operation_Remove) Descriptor
deprecated
func (*Operation_Remove) Descriptor() ([]byte, []int)
Deprecated: Use Operation_Remove.ProtoReflect.Descriptor instead.
func (*Operation_Remove) GetCreatedAt ¶
func (x *Operation_Remove) GetCreatedAt() *TimeTicket
func (*Operation_Remove) GetExecutedAt ¶
func (x *Operation_Remove) GetExecutedAt() *TimeTicket
func (*Operation_Remove) GetParentCreatedAt ¶
func (x *Operation_Remove) GetParentCreatedAt() *TimeTicket
func (*Operation_Remove) ProtoMessage ¶
func (*Operation_Remove) ProtoMessage()
func (*Operation_Remove) ProtoReflect ¶ added in v0.4.11
func (x *Operation_Remove) ProtoReflect() protoreflect.Message
func (*Operation_Remove) Reset ¶
func (x *Operation_Remove) Reset()
func (*Operation_Remove) String ¶
func (x *Operation_Remove) String() string
type Operation_Remove_ ¶
type Operation_Remove_ struct {
Remove *Operation_Remove `protobuf:"bytes,4,opt,name=remove,proto3,oneof"`
}
type Operation_Select ¶
type Operation_Select struct { ParentCreatedAt *TimeTicket `protobuf:"bytes,1,opt,name=parent_created_at,json=parentCreatedAt,proto3" json:"parent_created_at,omitempty"` From *TextNodePos `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` To *TextNodePos `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` ExecutedAt *TimeTicket `protobuf:"bytes,4,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"` // contains filtered or unexported fields }
NOTE(hackerwins): Select Operation is not used in the current version. In the previous version, it was used to represent selection of Text. However, it has been replaced by Presence now. It is retained for backward compatibility purposes.
func (*Operation_Select) Descriptor
deprecated
func (*Operation_Select) Descriptor() ([]byte, []int)
Deprecated: Use Operation_Select.ProtoReflect.Descriptor instead.
func (*Operation_Select) GetExecutedAt ¶
func (x *Operation_Select) GetExecutedAt() *TimeTicket
func (*Operation_Select) GetFrom ¶
func (x *Operation_Select) GetFrom() *TextNodePos
func (*Operation_Select) GetParentCreatedAt ¶
func (x *Operation_Select) GetParentCreatedAt() *TimeTicket
func (*Operation_Select) GetTo ¶
func (x *Operation_Select) GetTo() *TextNodePos
func (*Operation_Select) ProtoMessage ¶
func (*Operation_Select) ProtoMessage()
func (*Operation_Select) ProtoReflect ¶ added in v0.4.11
func (x *Operation_Select) ProtoReflect() protoreflect.Message
func (*Operation_Select) Reset ¶
func (x *Operation_Select) Reset()
func (*Operation_Select) String ¶
func (x *Operation_Select) String() string
type Operation_Select_ ¶
type Operation_Select_ struct {
Select *Operation_Select `protobuf:"bytes,6,opt,name=select,proto3,oneof"`
}
type Operation_Set ¶
type Operation_Set struct { ParentCreatedAt *TimeTicket `protobuf:"bytes,1,opt,name=parent_created_at,json=parentCreatedAt,proto3" json:"parent_created_at,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Value *JSONElementSimple `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` ExecutedAt *TimeTicket `protobuf:"bytes,4,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"` // contains filtered or unexported fields }
func (*Operation_Set) Descriptor
deprecated
func (*Operation_Set) Descriptor() ([]byte, []int)
Deprecated: Use Operation_Set.ProtoReflect.Descriptor instead.
func (*Operation_Set) GetExecutedAt ¶
func (x *Operation_Set) GetExecutedAt() *TimeTicket
func (*Operation_Set) GetKey ¶
func (x *Operation_Set) GetKey() string
func (*Operation_Set) GetParentCreatedAt ¶
func (x *Operation_Set) GetParentCreatedAt() *TimeTicket
func (*Operation_Set) GetValue ¶
func (x *Operation_Set) GetValue() *JSONElementSimple
func (*Operation_Set) ProtoMessage ¶
func (*Operation_Set) ProtoMessage()
func (*Operation_Set) ProtoReflect ¶ added in v0.4.11
func (x *Operation_Set) ProtoReflect() protoreflect.Message
func (*Operation_Set) Reset ¶
func (x *Operation_Set) Reset()
func (*Operation_Set) String ¶
func (x *Operation_Set) String() string
type Operation_Set_ ¶
type Operation_Set_ struct {
Set *Operation_Set `protobuf:"bytes,1,opt,name=set,proto3,oneof"`
}
type Operation_Style ¶
type Operation_Style struct { ParentCreatedAt *TimeTicket `protobuf:"bytes,1,opt,name=parent_created_at,json=parentCreatedAt,proto3" json:"parent_created_at,omitempty"` From *TextNodePos `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` To *TextNodePos `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` Attributes map[string]string `` /* 161-byte string literal not displayed */ ExecutedAt *TimeTicket `protobuf:"bytes,5,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"` CreatedAtMapByActor map[string]*TimeTicket `` /* 212-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Operation_Style) Descriptor
deprecated
func (*Operation_Style) Descriptor() ([]byte, []int)
Deprecated: Use Operation_Style.ProtoReflect.Descriptor instead.
func (*Operation_Style) GetAttributes ¶
func (x *Operation_Style) GetAttributes() map[string]string
func (*Operation_Style) GetCreatedAtMapByActor ¶ added in v0.4.7
func (x *Operation_Style) GetCreatedAtMapByActor() map[string]*TimeTicket
func (*Operation_Style) GetExecutedAt ¶
func (x *Operation_Style) GetExecutedAt() *TimeTicket
func (*Operation_Style) GetFrom ¶
func (x *Operation_Style) GetFrom() *TextNodePos
func (*Operation_Style) GetParentCreatedAt ¶
func (x *Operation_Style) GetParentCreatedAt() *TimeTicket
func (*Operation_Style) GetTo ¶
func (x *Operation_Style) GetTo() *TextNodePos
func (*Operation_Style) ProtoMessage ¶
func (*Operation_Style) ProtoMessage()
func (*Operation_Style) ProtoReflect ¶ added in v0.4.11
func (x *Operation_Style) ProtoReflect() protoreflect.Message
func (*Operation_Style) Reset ¶
func (x *Operation_Style) Reset()
func (*Operation_Style) String ¶
func (x *Operation_Style) String() string
type Operation_Style_ ¶
type Operation_Style_ struct {
Style *Operation_Style `protobuf:"bytes,7,opt,name=style,proto3,oneof"`
}
type Operation_TreeEdit ¶ added in v0.4.0
type Operation_TreeEdit struct { ParentCreatedAt *TimeTicket `protobuf:"bytes,1,opt,name=parent_created_at,json=parentCreatedAt,proto3" json:"parent_created_at,omitempty"` From *TreePos `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` To *TreePos `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` CreatedAtMapByActor map[string]*TimeTicket `` /* 212-byte string literal not displayed */ Contents []*TreeNodes `protobuf:"bytes,5,rep,name=contents,proto3" json:"contents,omitempty"` SplitLevel int32 `protobuf:"varint,7,opt,name=split_level,json=splitLevel,proto3" json:"split_level,omitempty"` ExecutedAt *TimeTicket `protobuf:"bytes,6,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"` // contains filtered or unexported fields }
func (*Operation_TreeEdit) Descriptor
deprecated
added in
v0.4.0
func (*Operation_TreeEdit) Descriptor() ([]byte, []int)
Deprecated: Use Operation_TreeEdit.ProtoReflect.Descriptor instead.
func (*Operation_TreeEdit) GetContents ¶ added in v0.4.5
func (x *Operation_TreeEdit) GetContents() []*TreeNodes
func (*Operation_TreeEdit) GetCreatedAtMapByActor ¶ added in v0.4.6
func (x *Operation_TreeEdit) GetCreatedAtMapByActor() map[string]*TimeTicket
func (*Operation_TreeEdit) GetExecutedAt ¶ added in v0.4.0
func (x *Operation_TreeEdit) GetExecutedAt() *TimeTicket
func (*Operation_TreeEdit) GetFrom ¶ added in v0.4.0
func (x *Operation_TreeEdit) GetFrom() *TreePos
func (*Operation_TreeEdit) GetParentCreatedAt ¶ added in v0.4.0
func (x *Operation_TreeEdit) GetParentCreatedAt() *TimeTicket
func (*Operation_TreeEdit) GetSplitLevel ¶ added in v0.4.10
func (x *Operation_TreeEdit) GetSplitLevel() int32
func (*Operation_TreeEdit) GetTo ¶ added in v0.4.0
func (x *Operation_TreeEdit) GetTo() *TreePos
func (*Operation_TreeEdit) ProtoMessage ¶ added in v0.4.0
func (*Operation_TreeEdit) ProtoMessage()
func (*Operation_TreeEdit) ProtoReflect ¶ added in v0.4.11
func (x *Operation_TreeEdit) ProtoReflect() protoreflect.Message
func (*Operation_TreeEdit) Reset ¶ added in v0.4.0
func (x *Operation_TreeEdit) Reset()
func (*Operation_TreeEdit) String ¶ added in v0.4.0
func (x *Operation_TreeEdit) String() string
type Operation_TreeEdit_ ¶ added in v0.4.0
type Operation_TreeEdit_ struct {
TreeEdit *Operation_TreeEdit `protobuf:"bytes,9,opt,name=tree_edit,json=treeEdit,proto3,oneof"`
}
type Operation_TreeStyle ¶ added in v0.4.2
type Operation_TreeStyle struct { ParentCreatedAt *TimeTicket `protobuf:"bytes,1,opt,name=parent_created_at,json=parentCreatedAt,proto3" json:"parent_created_at,omitempty"` From *TreePos `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` To *TreePos `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` Attributes map[string]string `` /* 161-byte string literal not displayed */ ExecutedAt *TimeTicket `protobuf:"bytes,5,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"` AttributesToRemove []string `protobuf:"bytes,6,rep,name=attributes_to_remove,json=attributesToRemove,proto3" json:"attributes_to_remove,omitempty"` CreatedAtMapByActor map[string]*TimeTicket `` /* 212-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Operation_TreeStyle) Descriptor
deprecated
added in
v0.4.2
func (*Operation_TreeStyle) Descriptor() ([]byte, []int)
Deprecated: Use Operation_TreeStyle.ProtoReflect.Descriptor instead.
func (*Operation_TreeStyle) GetAttributes ¶ added in v0.4.2
func (x *Operation_TreeStyle) GetAttributes() map[string]string
func (*Operation_TreeStyle) GetAttributesToRemove ¶ added in v0.4.13
func (x *Operation_TreeStyle) GetAttributesToRemove() []string
func (*Operation_TreeStyle) GetCreatedAtMapByActor ¶ added in v0.4.19
func (x *Operation_TreeStyle) GetCreatedAtMapByActor() map[string]*TimeTicket
func (*Operation_TreeStyle) GetExecutedAt ¶ added in v0.4.2
func (x *Operation_TreeStyle) GetExecutedAt() *TimeTicket
func (*Operation_TreeStyle) GetFrom ¶ added in v0.4.2
func (x *Operation_TreeStyle) GetFrom() *TreePos
func (*Operation_TreeStyle) GetParentCreatedAt ¶ added in v0.4.2
func (x *Operation_TreeStyle) GetParentCreatedAt() *TimeTicket
func (*Operation_TreeStyle) GetTo ¶ added in v0.4.2
func (x *Operation_TreeStyle) GetTo() *TreePos
func (*Operation_TreeStyle) ProtoMessage ¶ added in v0.4.2
func (*Operation_TreeStyle) ProtoMessage()
func (*Operation_TreeStyle) ProtoReflect ¶ added in v0.4.11
func (x *Operation_TreeStyle) ProtoReflect() protoreflect.Message
func (*Operation_TreeStyle) Reset ¶ added in v0.4.2
func (x *Operation_TreeStyle) Reset()
func (*Operation_TreeStyle) String ¶ added in v0.4.2
func (x *Operation_TreeStyle) String() string
type Operation_TreeStyle_ ¶ added in v0.4.2
type Operation_TreeStyle_ struct {
TreeStyle *Operation_TreeStyle `protobuf:"bytes,10,opt,name=tree_style,json=treeStyle,proto3,oneof"`
}
type Presence ¶
type Presence struct { Data map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Presence) Descriptor
deprecated
func (*Presence) ProtoMessage ¶
func (*Presence) ProtoMessage()
func (*Presence) ProtoReflect ¶ added in v0.4.11
func (x *Presence) ProtoReflect() protoreflect.Message
type PresenceChange ¶ added in v0.4.5
type PresenceChange struct { Type PresenceChange_ChangeType `protobuf:"varint,1,opt,name=type,proto3,enum=yorkie.v1.PresenceChange_ChangeType" json:"type,omitempty"` Presence *Presence `protobuf:"bytes,2,opt,name=presence,proto3" json:"presence,omitempty"` // contains filtered or unexported fields }
func (*PresenceChange) Descriptor
deprecated
added in
v0.4.5
func (*PresenceChange) Descriptor() ([]byte, []int)
Deprecated: Use PresenceChange.ProtoReflect.Descriptor instead.
func (*PresenceChange) GetPresence ¶ added in v0.4.5
func (x *PresenceChange) GetPresence() *Presence
func (*PresenceChange) GetType ¶ added in v0.4.5
func (x *PresenceChange) GetType() PresenceChange_ChangeType
func (*PresenceChange) ProtoMessage ¶ added in v0.4.5
func (*PresenceChange) ProtoMessage()
func (*PresenceChange) ProtoReflect ¶ added in v0.4.11
func (x *PresenceChange) ProtoReflect() protoreflect.Message
func (*PresenceChange) Reset ¶ added in v0.4.5
func (x *PresenceChange) Reset()
func (*PresenceChange) String ¶ added in v0.4.5
func (x *PresenceChange) String() string
type PresenceChange_ChangeType ¶ added in v0.4.5
type PresenceChange_ChangeType int32
const ( PresenceChange_CHANGE_TYPE_UNSPECIFIED PresenceChange_ChangeType = 0 PresenceChange_CHANGE_TYPE_PUT PresenceChange_ChangeType = 1 PresenceChange_CHANGE_TYPE_DELETE PresenceChange_ChangeType = 2 PresenceChange_CHANGE_TYPE_CLEAR PresenceChange_ChangeType = 3 )
func (PresenceChange_ChangeType) Descriptor ¶ added in v0.4.11
func (PresenceChange_ChangeType) Descriptor() protoreflect.EnumDescriptor
func (PresenceChange_ChangeType) Enum ¶ added in v0.4.11
func (x PresenceChange_ChangeType) Enum() *PresenceChange_ChangeType
func (PresenceChange_ChangeType) EnumDescriptor
deprecated
added in
v0.4.5
func (PresenceChange_ChangeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PresenceChange_ChangeType.Descriptor instead.
func (PresenceChange_ChangeType) Number ¶ added in v0.4.11
func (x PresenceChange_ChangeType) Number() protoreflect.EnumNumber
func (PresenceChange_ChangeType) String ¶ added in v0.4.5
func (x PresenceChange_ChangeType) String() string
func (PresenceChange_ChangeType) Type ¶ added in v0.4.11
func (PresenceChange_ChangeType) Type() protoreflect.EnumType
type Project ¶
type Project struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` PublicKey string `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` SecretKey string `protobuf:"bytes,4,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"` AuthWebhookUrl string `protobuf:"bytes,5,opt,name=auth_webhook_url,json=authWebhookUrl,proto3" json:"auth_webhook_url,omitempty"` AuthWebhookMethods []string `protobuf:"bytes,6,rep,name=auth_webhook_methods,json=authWebhookMethods,proto3" json:"auth_webhook_methods,omitempty"` ClientDeactivateThreshold string `` /* 138-byte string literal not displayed */ CreatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Project) Descriptor
deprecated
func (*Project) GetAuthWebhookMethods ¶
func (*Project) GetAuthWebhookUrl ¶
func (*Project) GetClientDeactivateThreshold ¶ added in v0.3.1
func (*Project) GetCreatedAt ¶
func (x *Project) GetCreatedAt() *timestamppb.Timestamp
func (*Project) GetPublicKey ¶
func (*Project) GetSecretKey ¶
func (*Project) GetUpdatedAt ¶
func (x *Project) GetUpdatedAt() *timestamppb.Timestamp
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) ProtoReflect ¶ added in v0.4.11
func (x *Project) ProtoReflect() protoreflect.Message
type PushPullChangesRequest ¶ added in v0.3.3
type PushPullChangesRequest struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` DocumentId string `protobuf:"bytes,2,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` ChangePack *ChangePack `protobuf:"bytes,3,opt,name=change_pack,json=changePack,proto3" json:"change_pack,omitempty"` PushOnly bool `protobuf:"varint,4,opt,name=push_only,json=pushOnly,proto3" json:"push_only,omitempty"` // contains filtered or unexported fields }
func (*PushPullChangesRequest) Descriptor
deprecated
added in
v0.3.3
func (*PushPullChangesRequest) Descriptor() ([]byte, []int)
Deprecated: Use PushPullChangesRequest.ProtoReflect.Descriptor instead.
func (*PushPullChangesRequest) GetChangePack ¶ added in v0.3.3
func (x *PushPullChangesRequest) GetChangePack() *ChangePack
func (*PushPullChangesRequest) GetClientId ¶ added in v0.3.3
func (x *PushPullChangesRequest) GetClientId() string
func (*PushPullChangesRequest) GetDocumentId ¶ added in v0.3.3
func (x *PushPullChangesRequest) GetDocumentId() string
func (*PushPullChangesRequest) GetPushOnly ¶ added in v0.3.4
func (x *PushPullChangesRequest) GetPushOnly() bool
func (*PushPullChangesRequest) ProtoMessage ¶ added in v0.3.3
func (*PushPullChangesRequest) ProtoMessage()
func (*PushPullChangesRequest) ProtoReflect ¶ added in v0.4.11
func (x *PushPullChangesRequest) ProtoReflect() protoreflect.Message
func (*PushPullChangesRequest) Reset ¶ added in v0.3.3
func (x *PushPullChangesRequest) Reset()
func (*PushPullChangesRequest) String ¶ added in v0.3.3
func (x *PushPullChangesRequest) String() string
type PushPullChangesResponse ¶ added in v0.3.3
type PushPullChangesResponse struct { ChangePack *ChangePack `protobuf:"bytes,1,opt,name=change_pack,json=changePack,proto3" json:"change_pack,omitempty"` // contains filtered or unexported fields }
func (*PushPullChangesResponse) Descriptor
deprecated
added in
v0.3.3
func (*PushPullChangesResponse) Descriptor() ([]byte, []int)
Deprecated: Use PushPullChangesResponse.ProtoReflect.Descriptor instead.
func (*PushPullChangesResponse) GetChangePack ¶ added in v0.3.3
func (x *PushPullChangesResponse) GetChangePack() *ChangePack
func (*PushPullChangesResponse) ProtoMessage ¶ added in v0.3.3
func (*PushPullChangesResponse) ProtoMessage()
func (*PushPullChangesResponse) ProtoReflect ¶ added in v0.4.11
func (x *PushPullChangesResponse) ProtoReflect() protoreflect.Message
func (*PushPullChangesResponse) Reset ¶ added in v0.3.3
func (x *PushPullChangesResponse) Reset()
func (*PushPullChangesResponse) String ¶ added in v0.3.3
func (x *PushPullChangesResponse) String() string
type RGANode ¶
type RGANode struct { Next *RGANode `protobuf:"bytes,1,opt,name=next,proto3" json:"next,omitempty"` Element *JSONElement `protobuf:"bytes,2,opt,name=element,proto3" json:"element,omitempty"` // contains filtered or unexported fields }
func (*RGANode) Descriptor
deprecated
func (*RGANode) GetElement ¶
func (x *RGANode) GetElement() *JSONElement
func (*RGANode) ProtoMessage ¶
func (*RGANode) ProtoMessage()
func (*RGANode) ProtoReflect ¶ added in v0.4.11
func (x *RGANode) ProtoReflect() protoreflect.Message
type RHTNode ¶
type RHTNode struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Element *JSONElement `protobuf:"bytes,2,opt,name=element,proto3" json:"element,omitempty"` // contains filtered or unexported fields }
func (*RHTNode) Descriptor
deprecated
func (*RHTNode) GetElement ¶
func (x *RHTNode) GetElement() *JSONElement
func (*RHTNode) ProtoMessage ¶
func (*RHTNode) ProtoMessage()
func (*RHTNode) ProtoReflect ¶ added in v0.4.11
func (x *RHTNode) ProtoReflect() protoreflect.Message
type RemoveDocumentByAdminRequest ¶ added in v0.4.0
type RemoveDocumentByAdminRequest struct { ProjectName string `protobuf:"bytes,1,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` DocumentKey string `protobuf:"bytes,2,opt,name=document_key,json=documentKey,proto3" json:"document_key,omitempty"` Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` // contains filtered or unexported fields }
func (*RemoveDocumentByAdminRequest) Descriptor
deprecated
added in
v0.4.0
func (*RemoveDocumentByAdminRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDocumentByAdminRequest.ProtoReflect.Descriptor instead.
func (*RemoveDocumentByAdminRequest) GetDocumentKey ¶ added in v0.4.0
func (x *RemoveDocumentByAdminRequest) GetDocumentKey() string
func (*RemoveDocumentByAdminRequest) GetForce ¶ added in v0.4.3
func (x *RemoveDocumentByAdminRequest) GetForce() bool
func (*RemoveDocumentByAdminRequest) GetProjectName ¶ added in v0.4.0
func (x *RemoveDocumentByAdminRequest) GetProjectName() string
func (*RemoveDocumentByAdminRequest) ProtoMessage ¶ added in v0.4.0
func (*RemoveDocumentByAdminRequest) ProtoMessage()
func (*RemoveDocumentByAdminRequest) ProtoReflect ¶ added in v0.4.11
func (x *RemoveDocumentByAdminRequest) ProtoReflect() protoreflect.Message
func (*RemoveDocumentByAdminRequest) Reset ¶ added in v0.4.0
func (x *RemoveDocumentByAdminRequest) Reset()
func (*RemoveDocumentByAdminRequest) String ¶ added in v0.4.0
func (x *RemoveDocumentByAdminRequest) String() string
type RemoveDocumentByAdminResponse ¶ added in v0.4.0
type RemoveDocumentByAdminResponse struct {
// contains filtered or unexported fields
}
func (*RemoveDocumentByAdminResponse) Descriptor
deprecated
added in
v0.4.0
func (*RemoveDocumentByAdminResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDocumentByAdminResponse.ProtoReflect.Descriptor instead.
func (*RemoveDocumentByAdminResponse) ProtoMessage ¶ added in v0.4.0
func (*RemoveDocumentByAdminResponse) ProtoMessage()
func (*RemoveDocumentByAdminResponse) ProtoReflect ¶ added in v0.4.11
func (x *RemoveDocumentByAdminResponse) ProtoReflect() protoreflect.Message
func (*RemoveDocumentByAdminResponse) Reset ¶ added in v0.4.0
func (x *RemoveDocumentByAdminResponse) Reset()
func (*RemoveDocumentByAdminResponse) String ¶ added in v0.4.0
func (x *RemoveDocumentByAdminResponse) String() string
type RemoveDocumentRequest ¶ added in v0.3.3
type RemoveDocumentRequest struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` DocumentId string `protobuf:"bytes,2,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` ChangePack *ChangePack `protobuf:"bytes,3,opt,name=change_pack,json=changePack,proto3" json:"change_pack,omitempty"` // contains filtered or unexported fields }
func (*RemoveDocumentRequest) Descriptor
deprecated
added in
v0.3.3
func (*RemoveDocumentRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDocumentRequest.ProtoReflect.Descriptor instead.
func (*RemoveDocumentRequest) GetChangePack ¶ added in v0.3.3
func (x *RemoveDocumentRequest) GetChangePack() *ChangePack
func (*RemoveDocumentRequest) GetClientId ¶ added in v0.3.3
func (x *RemoveDocumentRequest) GetClientId() string
func (*RemoveDocumentRequest) GetDocumentId ¶ added in v0.3.3
func (x *RemoveDocumentRequest) GetDocumentId() string
func (*RemoveDocumentRequest) ProtoMessage ¶ added in v0.3.3
func (*RemoveDocumentRequest) ProtoMessage()
func (*RemoveDocumentRequest) ProtoReflect ¶ added in v0.4.11
func (x *RemoveDocumentRequest) ProtoReflect() protoreflect.Message
func (*RemoveDocumentRequest) Reset ¶ added in v0.3.3
func (x *RemoveDocumentRequest) Reset()
func (*RemoveDocumentRequest) String ¶ added in v0.3.3
func (x *RemoveDocumentRequest) String() string
type RemoveDocumentResponse ¶ added in v0.3.3
type RemoveDocumentResponse struct { ChangePack *ChangePack `protobuf:"bytes,1,opt,name=change_pack,json=changePack,proto3" json:"change_pack,omitempty"` // contains filtered or unexported fields }
func (*RemoveDocumentResponse) Descriptor
deprecated
added in
v0.3.3
func (*RemoveDocumentResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDocumentResponse.ProtoReflect.Descriptor instead.
func (*RemoveDocumentResponse) GetChangePack ¶ added in v0.3.3
func (x *RemoveDocumentResponse) GetChangePack() *ChangePack
func (*RemoveDocumentResponse) ProtoMessage ¶ added in v0.3.3
func (*RemoveDocumentResponse) ProtoMessage()
func (*RemoveDocumentResponse) ProtoReflect ¶ added in v0.4.11
func (x *RemoveDocumentResponse) ProtoReflect() protoreflect.Message
func (*RemoveDocumentResponse) Reset ¶ added in v0.3.3
func (x *RemoveDocumentResponse) Reset()
func (*RemoveDocumentResponse) String ¶ added in v0.3.3
func (x *RemoveDocumentResponse) String() string
type SearchDocumentsRequest ¶
type SearchDocumentsRequest struct { ProjectName string `protobuf:"bytes,1,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*SearchDocumentsRequest) Descriptor
deprecated
func (*SearchDocumentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchDocumentsRequest.ProtoReflect.Descriptor instead.
func (*SearchDocumentsRequest) GetPageSize ¶
func (x *SearchDocumentsRequest) GetPageSize() int32
func (*SearchDocumentsRequest) GetProjectName ¶
func (x *SearchDocumentsRequest) GetProjectName() string
func (*SearchDocumentsRequest) GetQuery ¶
func (x *SearchDocumentsRequest) GetQuery() string
func (*SearchDocumentsRequest) ProtoMessage ¶
func (*SearchDocumentsRequest) ProtoMessage()
func (*SearchDocumentsRequest) ProtoReflect ¶ added in v0.4.11
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 { TotalCount int32 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` Documents []*DocumentSummary `protobuf:"bytes,2,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() []*DocumentSummary
func (*SearchDocumentsResponse) GetTotalCount ¶
func (x *SearchDocumentsResponse) GetTotalCount() int32
func (*SearchDocumentsResponse) ProtoMessage ¶
func (*SearchDocumentsResponse) ProtoMessage()
func (*SearchDocumentsResponse) ProtoReflect ¶ added in v0.4.11
func (x *SearchDocumentsResponse) ProtoReflect() protoreflect.Message
func (*SearchDocumentsResponse) Reset ¶
func (x *SearchDocumentsResponse) Reset()
func (*SearchDocumentsResponse) String ¶
func (x *SearchDocumentsResponse) String() string
type SignUpRequest ¶
type SignUpRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*SignUpRequest) Descriptor
deprecated
func (*SignUpRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignUpRequest.ProtoReflect.Descriptor instead.
func (*SignUpRequest) GetPassword ¶
func (x *SignUpRequest) GetPassword() string
func (*SignUpRequest) GetUsername ¶
func (x *SignUpRequest) GetUsername() string
func (*SignUpRequest) ProtoMessage ¶
func (*SignUpRequest) ProtoMessage()
func (*SignUpRequest) ProtoReflect ¶ added in v0.4.11
func (x *SignUpRequest) ProtoReflect() protoreflect.Message
func (*SignUpRequest) Reset ¶
func (x *SignUpRequest) Reset()
func (*SignUpRequest) String ¶
func (x *SignUpRequest) String() string
type SignUpResponse ¶
type SignUpResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*SignUpResponse) Descriptor
deprecated
func (*SignUpResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignUpResponse.ProtoReflect.Descriptor instead.
func (*SignUpResponse) GetUser ¶
func (x *SignUpResponse) GetUser() *User
func (*SignUpResponse) ProtoMessage ¶
func (*SignUpResponse) ProtoMessage()
func (*SignUpResponse) ProtoReflect ¶ added in v0.4.11
func (x *SignUpResponse) ProtoReflect() protoreflect.Message
func (*SignUpResponse) Reset ¶
func (x *SignUpResponse) Reset()
func (*SignUpResponse) String ¶
func (x *SignUpResponse) String() string
type Snapshot ¶ added in v0.4.5
type Snapshot struct { Root *JSONElement `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` Presences map[string]*Presence `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
/////////////////////////////////////// Messages for Snapshot // ///////////////////////////////////////
func (*Snapshot) Descriptor
deprecated
added in
v0.4.5
func (*Snapshot) GetPresences ¶ added in v0.4.5
func (*Snapshot) GetRoot ¶ added in v0.4.5
func (x *Snapshot) GetRoot() *JSONElement
func (*Snapshot) ProtoMessage ¶ added in v0.4.5
func (*Snapshot) ProtoMessage()
func (*Snapshot) ProtoReflect ¶ added in v0.4.11
func (x *Snapshot) ProtoReflect() protoreflect.Message
type TextNode ¶
type TextNode struct { Id *TextNodeID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` RemovedAt *TimeTicket `protobuf:"bytes,3,opt,name=removed_at,json=removedAt,proto3" json:"removed_at,omitempty"` InsPrevId *TextNodeID `protobuf:"bytes,4,opt,name=ins_prev_id,json=insPrevId,proto3" json:"ins_prev_id,omitempty"` Attributes map[string]*NodeAttr `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TextNode) Descriptor
deprecated
func (*TextNode) GetAttributes ¶ added in v0.3.0
func (*TextNode) GetId ¶
func (x *TextNode) GetId() *TextNodeID
func (*TextNode) GetInsPrevId ¶
func (x *TextNode) GetInsPrevId() *TextNodeID
func (*TextNode) GetRemovedAt ¶
func (x *TextNode) GetRemovedAt() *TimeTicket
func (*TextNode) ProtoMessage ¶
func (*TextNode) ProtoMessage()
func (*TextNode) ProtoReflect ¶ added in v0.4.11
func (x *TextNode) ProtoReflect() protoreflect.Message
type TextNodeID ¶
type TextNodeID struct { CreatedAt *TimeTicket `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*TextNodeID) Descriptor
deprecated
func (*TextNodeID) Descriptor() ([]byte, []int)
Deprecated: Use TextNodeID.ProtoReflect.Descriptor instead.
func (*TextNodeID) GetCreatedAt ¶
func (x *TextNodeID) GetCreatedAt() *TimeTicket
func (*TextNodeID) GetOffset ¶
func (x *TextNodeID) GetOffset() int32
func (*TextNodeID) ProtoMessage ¶
func (*TextNodeID) ProtoMessage()
func (*TextNodeID) ProtoReflect ¶ added in v0.4.11
func (x *TextNodeID) ProtoReflect() protoreflect.Message
func (*TextNodeID) Reset ¶
func (x *TextNodeID) Reset()
func (*TextNodeID) String ¶
func (x *TextNodeID) String() string
type TextNodePos ¶
type TextNodePos struct { CreatedAt *TimeTicket `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` RelativeOffset int32 `protobuf:"varint,3,opt,name=relative_offset,json=relativeOffset,proto3" json:"relative_offset,omitempty"` // contains filtered or unexported fields }
func (*TextNodePos) Descriptor
deprecated
func (*TextNodePos) Descriptor() ([]byte, []int)
Deprecated: Use TextNodePos.ProtoReflect.Descriptor instead.
func (*TextNodePos) GetCreatedAt ¶
func (x *TextNodePos) GetCreatedAt() *TimeTicket
func (*TextNodePos) GetOffset ¶
func (x *TextNodePos) GetOffset() int32
func (*TextNodePos) GetRelativeOffset ¶
func (x *TextNodePos) GetRelativeOffset() int32
func (*TextNodePos) ProtoMessage ¶
func (*TextNodePos) ProtoMessage()
func (*TextNodePos) ProtoReflect ¶ added in v0.4.11
func (x *TextNodePos) ProtoReflect() protoreflect.Message
func (*TextNodePos) Reset ¶
func (x *TextNodePos) Reset()
func (*TextNodePos) String ¶
func (x *TextNodePos) String() string
type TimeTicket ¶
type TimeTicket struct { Lamport int64 `protobuf:"varint,1,opt,name=lamport,proto3" json:"lamport,omitempty"` Delimiter uint32 `protobuf:"varint,2,opt,name=delimiter,proto3" json:"delimiter,omitempty"` ActorId []byte `protobuf:"bytes,3,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"` // contains filtered or unexported fields }
func (*TimeTicket) Descriptor
deprecated
func (*TimeTicket) Descriptor() ([]byte, []int)
Deprecated: Use TimeTicket.ProtoReflect.Descriptor instead.
func (*TimeTicket) GetActorId ¶
func (x *TimeTicket) GetActorId() []byte
func (*TimeTicket) GetDelimiter ¶
func (x *TimeTicket) GetDelimiter() uint32
func (*TimeTicket) GetLamport ¶
func (x *TimeTicket) GetLamport() int64
func (*TimeTicket) ProtoMessage ¶
func (*TimeTicket) ProtoMessage()
func (*TimeTicket) ProtoReflect ¶ added in v0.4.11
func (x *TimeTicket) ProtoReflect() protoreflect.Message
func (*TimeTicket) Reset ¶
func (x *TimeTicket) Reset()
func (*TimeTicket) String ¶
func (x *TimeTicket) String() string
type TreeNode ¶ added in v0.4.0
type TreeNode struct { Id *TreeNodeID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` RemovedAt *TimeTicket `protobuf:"bytes,4,opt,name=removed_at,json=removedAt,proto3" json:"removed_at,omitempty"` InsPrevId *TreeNodeID `protobuf:"bytes,5,opt,name=ins_prev_id,json=insPrevId,proto3" json:"ins_prev_id,omitempty"` InsNextId *TreeNodeID `protobuf:"bytes,6,opt,name=ins_next_id,json=insNextId,proto3" json:"ins_next_id,omitempty"` Depth int32 `protobuf:"varint,7,opt,name=depth,proto3" json:"depth,omitempty"` Attributes map[string]*NodeAttr `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TreeNode) Descriptor
deprecated
added in
v0.4.0
func (*TreeNode) GetAttributes ¶ added in v0.4.2
func (*TreeNode) GetId ¶ added in v0.4.6
func (x *TreeNode) GetId() *TreeNodeID
func (*TreeNode) GetInsNextId ¶ added in v0.4.6
func (x *TreeNode) GetInsNextId() *TreeNodeID
func (*TreeNode) GetInsPrevId ¶ added in v0.4.6
func (x *TreeNode) GetInsPrevId() *TreeNodeID
func (*TreeNode) GetRemovedAt ¶ added in v0.4.0
func (x *TreeNode) GetRemovedAt() *TimeTicket
func (*TreeNode) ProtoMessage ¶ added in v0.4.0
func (*TreeNode) ProtoMessage()
func (*TreeNode) ProtoReflect ¶ added in v0.4.11
func (x *TreeNode) ProtoReflect() protoreflect.Message
type TreeNodeID ¶ added in v0.4.6
type TreeNodeID struct { CreatedAt *TimeTicket `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*TreeNodeID) Descriptor
deprecated
added in
v0.4.6
func (*TreeNodeID) Descriptor() ([]byte, []int)
Deprecated: Use TreeNodeID.ProtoReflect.Descriptor instead.
func (*TreeNodeID) GetCreatedAt ¶ added in v0.4.6
func (x *TreeNodeID) GetCreatedAt() *TimeTicket
func (*TreeNodeID) GetOffset ¶ added in v0.4.6
func (x *TreeNodeID) GetOffset() int32
func (*TreeNodeID) ProtoMessage ¶ added in v0.4.6
func (*TreeNodeID) ProtoMessage()
func (*TreeNodeID) ProtoReflect ¶ added in v0.4.11
func (x *TreeNodeID) ProtoReflect() protoreflect.Message
func (*TreeNodeID) Reset ¶ added in v0.4.6
func (x *TreeNodeID) Reset()
func (*TreeNodeID) String ¶ added in v0.4.6
func (x *TreeNodeID) String() string
type TreeNodes ¶ added in v0.4.5
type TreeNodes struct { Content []*TreeNode `protobuf:"bytes,1,rep,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*TreeNodes) Descriptor
deprecated
added in
v0.4.5
func (*TreeNodes) GetContent ¶ added in v0.4.5
func (*TreeNodes) ProtoMessage ¶ added in v0.4.5
func (*TreeNodes) ProtoMessage()
func (*TreeNodes) ProtoReflect ¶ added in v0.4.11
func (x *TreeNodes) ProtoReflect() protoreflect.Message
type TreePos ¶ added in v0.4.0
type TreePos struct { ParentId *TreeNodeID `protobuf:"bytes,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` LeftSiblingId *TreeNodeID `protobuf:"bytes,2,opt,name=left_sibling_id,json=leftSiblingId,proto3" json:"left_sibling_id,omitempty"` // contains filtered or unexported fields }
func (*TreePos) Descriptor
deprecated
added in
v0.4.0
func (*TreePos) GetLeftSiblingId ¶ added in v0.4.6
func (x *TreePos) GetLeftSiblingId() *TreeNodeID
func (*TreePos) GetParentId ¶ added in v0.4.6
func (x *TreePos) GetParentId() *TreeNodeID
func (*TreePos) ProtoMessage ¶ added in v0.4.0
func (*TreePos) ProtoMessage()
func (*TreePos) ProtoReflect ¶ added in v0.4.11
func (x *TreePos) ProtoReflect() protoreflect.Message
type UpdatableProjectFields ¶
type UpdatableProjectFields struct { Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` AuthWebhookUrl *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=auth_webhook_url,json=authWebhookUrl,proto3" json:"auth_webhook_url,omitempty"` AuthWebhookMethods *UpdatableProjectFields_AuthWebhookMethods `protobuf:"bytes,3,opt,name=auth_webhook_methods,json=authWebhookMethods,proto3" json:"auth_webhook_methods,omitempty"` ClientDeactivateThreshold *wrapperspb.StringValue `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdatableProjectFields) Descriptor
deprecated
func (*UpdatableProjectFields) Descriptor() ([]byte, []int)
Deprecated: Use UpdatableProjectFields.ProtoReflect.Descriptor instead.
func (*UpdatableProjectFields) GetAuthWebhookMethods ¶
func (x *UpdatableProjectFields) GetAuthWebhookMethods() *UpdatableProjectFields_AuthWebhookMethods
func (*UpdatableProjectFields) GetAuthWebhookUrl ¶
func (x *UpdatableProjectFields) GetAuthWebhookUrl() *wrapperspb.StringValue
func (*UpdatableProjectFields) GetClientDeactivateThreshold ¶ added in v0.3.1
func (x *UpdatableProjectFields) GetClientDeactivateThreshold() *wrapperspb.StringValue
func (*UpdatableProjectFields) GetName ¶
func (x *UpdatableProjectFields) GetName() *wrapperspb.StringValue
func (*UpdatableProjectFields) ProtoMessage ¶
func (*UpdatableProjectFields) ProtoMessage()
func (*UpdatableProjectFields) ProtoReflect ¶ added in v0.4.11
func (x *UpdatableProjectFields) ProtoReflect() protoreflect.Message
func (*UpdatableProjectFields) Reset ¶
func (x *UpdatableProjectFields) Reset()
func (*UpdatableProjectFields) String ¶
func (x *UpdatableProjectFields) String() string
type UpdatableProjectFields_AuthWebhookMethods ¶
type UpdatableProjectFields_AuthWebhookMethods struct { Methods []string `protobuf:"bytes,1,rep,name=methods,proto3" json:"methods,omitempty"` // contains filtered or unexported fields }
func (*UpdatableProjectFields_AuthWebhookMethods) Descriptor
deprecated
func (*UpdatableProjectFields_AuthWebhookMethods) Descriptor() ([]byte, []int)
Deprecated: Use UpdatableProjectFields_AuthWebhookMethods.ProtoReflect.Descriptor instead.
func (*UpdatableProjectFields_AuthWebhookMethods) GetMethods ¶
func (x *UpdatableProjectFields_AuthWebhookMethods) GetMethods() []string
func (*UpdatableProjectFields_AuthWebhookMethods) ProtoMessage ¶
func (*UpdatableProjectFields_AuthWebhookMethods) ProtoMessage()
func (*UpdatableProjectFields_AuthWebhookMethods) ProtoReflect ¶ added in v0.4.11
func (x *UpdatableProjectFields_AuthWebhookMethods) ProtoReflect() protoreflect.Message
func (*UpdatableProjectFields_AuthWebhookMethods) Reset ¶
func (x *UpdatableProjectFields_AuthWebhookMethods) Reset()
func (*UpdatableProjectFields_AuthWebhookMethods) String ¶
func (x *UpdatableProjectFields_AuthWebhookMethods) String() string
type UpdateProjectRequest ¶
type UpdateProjectRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Fields *UpdatableProjectFields `protobuf:"bytes,2,opt,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*UpdateProjectRequest) Descriptor
deprecated
func (*UpdateProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProjectRequest.ProtoReflect.Descriptor instead.
func (*UpdateProjectRequest) GetFields ¶
func (x *UpdateProjectRequest) GetFields() *UpdatableProjectFields
func (*UpdateProjectRequest) GetId ¶
func (x *UpdateProjectRequest) GetId() string
func (*UpdateProjectRequest) ProtoMessage ¶
func (*UpdateProjectRequest) ProtoMessage()
func (*UpdateProjectRequest) ProtoReflect ¶ added in v0.4.11
func (x *UpdateProjectRequest) ProtoReflect() protoreflect.Message
func (*UpdateProjectRequest) Reset ¶
func (x *UpdateProjectRequest) Reset()
func (*UpdateProjectRequest) String ¶
func (x *UpdateProjectRequest) String() string
type UpdateProjectResponse ¶
type UpdateProjectResponse struct { Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
func (*UpdateProjectResponse) Descriptor
deprecated
func (*UpdateProjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProjectResponse.ProtoReflect.Descriptor instead.
func (*UpdateProjectResponse) GetProject ¶
func (x *UpdateProjectResponse) GetProject() *Project
func (*UpdateProjectResponse) ProtoMessage ¶
func (*UpdateProjectResponse) ProtoMessage()
func (*UpdateProjectResponse) ProtoReflect ¶ added in v0.4.11
func (x *UpdateProjectResponse) ProtoReflect() protoreflect.Message
func (*UpdateProjectResponse) Reset ¶
func (x *UpdateProjectResponse) Reset()
func (*UpdateProjectResponse) String ¶
func (x *UpdateProjectResponse) String() string
type User ¶
type User struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetCreatedAt ¶
func (x *User) GetCreatedAt() *timestamppb.Timestamp
func (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶ added in v0.4.11
func (x *User) ProtoReflect() protoreflect.Message
type ValueType ¶
type ValueType int32
const ( ValueType_VALUE_TYPE_NULL ValueType = 0 ValueType_VALUE_TYPE_BOOLEAN ValueType = 1 ValueType_VALUE_TYPE_INTEGER ValueType = 2 ValueType_VALUE_TYPE_LONG ValueType = 3 ValueType_VALUE_TYPE_DOUBLE ValueType = 4 ValueType_VALUE_TYPE_STRING ValueType = 5 ValueType_VALUE_TYPE_BYTES ValueType = 6 ValueType_VALUE_TYPE_DATE ValueType = 7 ValueType_VALUE_TYPE_JSON_OBJECT ValueType = 8 ValueType_VALUE_TYPE_JSON_ARRAY ValueType = 9 ValueType_VALUE_TYPE_TEXT ValueType = 10 ValueType_VALUE_TYPE_INTEGER_CNT ValueType = 11 ValueType_VALUE_TYPE_LONG_CNT ValueType = 12 ValueType_VALUE_TYPE_TREE ValueType = 13 )
func (ValueType) Descriptor ¶ added in v0.4.11
func (ValueType) Descriptor() protoreflect.EnumDescriptor
func (ValueType) EnumDescriptor
deprecated
func (ValueType) Number ¶ added in v0.4.11
func (x ValueType) Number() protoreflect.EnumNumber
func (ValueType) Type ¶ added in v0.4.11
func (ValueType) Type() protoreflect.EnumType
type WatchDocumentRequest ¶ added in v0.3.3
type WatchDocumentRequest struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` DocumentId string `protobuf:"bytes,2,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` // contains filtered or unexported fields }
func (*WatchDocumentRequest) Descriptor
deprecated
added in
v0.3.3
func (*WatchDocumentRequest) Descriptor() ([]byte, []int)
Deprecated: Use WatchDocumentRequest.ProtoReflect.Descriptor instead.
func (*WatchDocumentRequest) GetClientId ¶ added in v0.4.5
func (x *WatchDocumentRequest) GetClientId() string
func (*WatchDocumentRequest) GetDocumentId ¶ added in v0.3.3
func (x *WatchDocumentRequest) GetDocumentId() string
func (*WatchDocumentRequest) ProtoMessage ¶ added in v0.3.3
func (*WatchDocumentRequest) ProtoMessage()
func (*WatchDocumentRequest) ProtoReflect ¶ added in v0.4.11
func (x *WatchDocumentRequest) ProtoReflect() protoreflect.Message
func (*WatchDocumentRequest) Reset ¶ added in v0.3.3
func (x *WatchDocumentRequest) Reset()
func (*WatchDocumentRequest) String ¶ added in v0.3.3
func (x *WatchDocumentRequest) String() string
type WatchDocumentResponse ¶ added in v0.3.3
type WatchDocumentResponse struct { // Types that are assignable to Body: // // *WatchDocumentResponse_Initialization_ // *WatchDocumentResponse_Event Body isWatchDocumentResponse_Body `protobuf_oneof:"body"` // contains filtered or unexported fields }
func (*WatchDocumentResponse) Descriptor
deprecated
added in
v0.3.3
func (*WatchDocumentResponse) Descriptor() ([]byte, []int)
Deprecated: Use WatchDocumentResponse.ProtoReflect.Descriptor instead.
func (*WatchDocumentResponse) GetBody ¶ added in v0.3.3
func (m *WatchDocumentResponse) GetBody() isWatchDocumentResponse_Body
func (*WatchDocumentResponse) GetEvent ¶ added in v0.3.3
func (x *WatchDocumentResponse) GetEvent() *DocEvent
func (*WatchDocumentResponse) GetInitialization ¶ added in v0.3.3
func (x *WatchDocumentResponse) GetInitialization() *WatchDocumentResponse_Initialization
func (*WatchDocumentResponse) ProtoMessage ¶ added in v0.3.3
func (*WatchDocumentResponse) ProtoMessage()
func (*WatchDocumentResponse) ProtoReflect ¶ added in v0.4.11
func (x *WatchDocumentResponse) ProtoReflect() protoreflect.Message
func (*WatchDocumentResponse) Reset ¶ added in v0.3.3
func (x *WatchDocumentResponse) Reset()
func (*WatchDocumentResponse) String ¶ added in v0.3.3
func (x *WatchDocumentResponse) String() string
type WatchDocumentResponse_Event ¶ added in v0.3.3
type WatchDocumentResponse_Event struct {
Event *DocEvent `protobuf:"bytes,2,opt,name=event,proto3,oneof"`
}
type WatchDocumentResponse_Initialization ¶ added in v0.3.3
type WatchDocumentResponse_Initialization struct { ClientIds []string `protobuf:"bytes,1,rep,name=client_ids,json=clientIds,proto3" json:"client_ids,omitempty"` // contains filtered or unexported fields }
func (*WatchDocumentResponse_Initialization) Descriptor
deprecated
added in
v0.3.3
func (*WatchDocumentResponse_Initialization) Descriptor() ([]byte, []int)
Deprecated: Use WatchDocumentResponse_Initialization.ProtoReflect.Descriptor instead.
func (*WatchDocumentResponse_Initialization) GetClientIds ¶ added in v0.4.5
func (x *WatchDocumentResponse_Initialization) GetClientIds() []string
func (*WatchDocumentResponse_Initialization) ProtoMessage ¶ added in v0.3.3
func (*WatchDocumentResponse_Initialization) ProtoMessage()
func (*WatchDocumentResponse_Initialization) ProtoReflect ¶ added in v0.4.11
func (x *WatchDocumentResponse_Initialization) ProtoReflect() protoreflect.Message
func (*WatchDocumentResponse_Initialization) Reset ¶ added in v0.3.3
func (x *WatchDocumentResponse_Initialization) Reset()
func (*WatchDocumentResponse_Initialization) String ¶ added in v0.3.3
func (x *WatchDocumentResponse_Initialization) String() string
type WatchDocumentResponse_Initialization_ ¶ added in v0.3.3
type WatchDocumentResponse_Initialization_ struct {
Initialization *WatchDocumentResponse_Initialization `protobuf:"bytes,1,opt,name=initialization,proto3,oneof"`
}