Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterDocStoreServiceServer(s grpc.ServiceRegistrar, srv DocStoreServiceServer)
- type AddDocumentReferenceRequest
- func (*AddDocumentReferenceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddDocumentReferenceRequest) GetReference() *documents.DocumentReference
- func (*AddDocumentReferenceRequest) ProtoMessage()
- func (x *AddDocumentReferenceRequest) ProtoReflect() protoreflect.Message
- func (x *AddDocumentReferenceRequest) Reset()
- func (m *AddDocumentReferenceRequest) Sanitize() error
- func (x *AddDocumentReferenceRequest) String() string
- func (m *AddDocumentReferenceRequest) Validate() error
- func (m *AddDocumentReferenceRequest) ValidateAll() error
- type AddDocumentReferenceRequestMultiError
- type AddDocumentReferenceRequestValidationError
- func (e AddDocumentReferenceRequestValidationError) Cause() error
- func (e AddDocumentReferenceRequestValidationError) Error() string
- func (e AddDocumentReferenceRequestValidationError) ErrorName() string
- func (e AddDocumentReferenceRequestValidationError) Field() string
- func (e AddDocumentReferenceRequestValidationError) Key() bool
- func (e AddDocumentReferenceRequestValidationError) Reason() string
- type AddDocumentReferenceResponse
- func (*AddDocumentReferenceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddDocumentReferenceResponse) GetId() uint64
- func (*AddDocumentReferenceResponse) ProtoMessage()
- func (x *AddDocumentReferenceResponse) ProtoReflect() protoreflect.Message
- func (x *AddDocumentReferenceResponse) Reset()
- func (m *AddDocumentReferenceResponse) Sanitize() error
- func (x *AddDocumentReferenceResponse) String() string
- func (m *AddDocumentReferenceResponse) Validate() error
- func (m *AddDocumentReferenceResponse) ValidateAll() error
- type AddDocumentReferenceResponseMultiError
- type AddDocumentReferenceResponseValidationError
- func (e AddDocumentReferenceResponseValidationError) Cause() error
- func (e AddDocumentReferenceResponseValidationError) Error() string
- func (e AddDocumentReferenceResponseValidationError) ErrorName() string
- func (e AddDocumentReferenceResponseValidationError) Field() string
- func (e AddDocumentReferenceResponseValidationError) Key() bool
- func (e AddDocumentReferenceResponseValidationError) Reason() string
- type AddDocumentRelationRequest
- func (*AddDocumentRelationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddDocumentRelationRequest) GetRelation() *documents.DocumentRelation
- func (*AddDocumentRelationRequest) ProtoMessage()
- func (x *AddDocumentRelationRequest) ProtoReflect() protoreflect.Message
- func (x *AddDocumentRelationRequest) Reset()
- func (m *AddDocumentRelationRequest) Sanitize() error
- func (x *AddDocumentRelationRequest) String() string
- func (m *AddDocumentRelationRequest) Validate() error
- func (m *AddDocumentRelationRequest) ValidateAll() error
- type AddDocumentRelationRequestMultiError
- type AddDocumentRelationRequestValidationError
- func (e AddDocumentRelationRequestValidationError) Cause() error
- func (e AddDocumentRelationRequestValidationError) Error() string
- func (e AddDocumentRelationRequestValidationError) ErrorName() string
- func (e AddDocumentRelationRequestValidationError) Field() string
- func (e AddDocumentRelationRequestValidationError) Key() bool
- func (e AddDocumentRelationRequestValidationError) Reason() string
- type AddDocumentRelationResponse
- func (*AddDocumentRelationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddDocumentRelationResponse) GetId() uint64
- func (*AddDocumentRelationResponse) ProtoMessage()
- func (x *AddDocumentRelationResponse) ProtoReflect() protoreflect.Message
- func (x *AddDocumentRelationResponse) Reset()
- func (m *AddDocumentRelationResponse) Sanitize() error
- func (x *AddDocumentRelationResponse) String() string
- func (m *AddDocumentRelationResponse) Validate() error
- func (m *AddDocumentRelationResponse) ValidateAll() error
- type AddDocumentRelationResponseMultiError
- type AddDocumentRelationResponseValidationError
- func (e AddDocumentRelationResponseValidationError) Cause() error
- func (e AddDocumentRelationResponseValidationError) Error() string
- func (e AddDocumentRelationResponseValidationError) ErrorName() string
- func (e AddDocumentRelationResponseValidationError) Field() string
- func (e AddDocumentRelationResponseValidationError) Key() bool
- func (e AddDocumentRelationResponseValidationError) Reason() string
- type ChangeDocumentOwnerRequest
- func (*ChangeDocumentOwnerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeDocumentOwnerRequest) GetDocumentId() uint64
- func (x *ChangeDocumentOwnerRequest) GetNewUserId() int32
- func (*ChangeDocumentOwnerRequest) ProtoMessage()
- func (x *ChangeDocumentOwnerRequest) ProtoReflect() protoreflect.Message
- func (x *ChangeDocumentOwnerRequest) Reset()
- func (m *ChangeDocumentOwnerRequest) Sanitize() error
- func (x *ChangeDocumentOwnerRequest) String() string
- func (m *ChangeDocumentOwnerRequest) Validate() error
- func (m *ChangeDocumentOwnerRequest) ValidateAll() error
- type ChangeDocumentOwnerRequestMultiError
- type ChangeDocumentOwnerRequestValidationError
- func (e ChangeDocumentOwnerRequestValidationError) Cause() error
- func (e ChangeDocumentOwnerRequestValidationError) Error() string
- func (e ChangeDocumentOwnerRequestValidationError) ErrorName() string
- func (e ChangeDocumentOwnerRequestValidationError) Field() string
- func (e ChangeDocumentOwnerRequestValidationError) Key() bool
- func (e ChangeDocumentOwnerRequestValidationError) Reason() string
- type ChangeDocumentOwnerResponse
- func (*ChangeDocumentOwnerResponse) Descriptor() ([]byte, []int)deprecated
- func (*ChangeDocumentOwnerResponse) ProtoMessage()
- func (x *ChangeDocumentOwnerResponse) ProtoReflect() protoreflect.Message
- func (x *ChangeDocumentOwnerResponse) Reset()
- func (m *ChangeDocumentOwnerResponse) Sanitize() error
- func (x *ChangeDocumentOwnerResponse) String() string
- func (m *ChangeDocumentOwnerResponse) Validate() error
- func (m *ChangeDocumentOwnerResponse) ValidateAll() error
- type ChangeDocumentOwnerResponseMultiError
- type ChangeDocumentOwnerResponseValidationError
- func (e ChangeDocumentOwnerResponseValidationError) Cause() error
- func (e ChangeDocumentOwnerResponseValidationError) Error() string
- func (e ChangeDocumentOwnerResponseValidationError) ErrorName() string
- func (e ChangeDocumentOwnerResponseValidationError) Field() string
- func (e ChangeDocumentOwnerResponseValidationError) Key() bool
- func (e ChangeDocumentOwnerResponseValidationError) Reason() string
- type CreateCategoryRequest
- func (*CreateCategoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCategoryRequest) GetCategory() *documents.Category
- func (*CreateCategoryRequest) ProtoMessage()
- func (x *CreateCategoryRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCategoryRequest) Reset()
- func (m *CreateCategoryRequest) Sanitize() error
- func (x *CreateCategoryRequest) String() string
- func (m *CreateCategoryRequest) Validate() error
- func (m *CreateCategoryRequest) ValidateAll() error
- type CreateCategoryRequestMultiError
- type CreateCategoryRequestValidationError
- func (e CreateCategoryRequestValidationError) Cause() error
- func (e CreateCategoryRequestValidationError) Error() string
- func (e CreateCategoryRequestValidationError) ErrorName() string
- func (e CreateCategoryRequestValidationError) Field() string
- func (e CreateCategoryRequestValidationError) Key() bool
- func (e CreateCategoryRequestValidationError) Reason() string
- type CreateCategoryResponse
- func (*CreateCategoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCategoryResponse) GetId() uint64
- func (*CreateCategoryResponse) ProtoMessage()
- func (x *CreateCategoryResponse) ProtoReflect() protoreflect.Message
- func (x *CreateCategoryResponse) Reset()
- func (m *CreateCategoryResponse) Sanitize() error
- func (x *CreateCategoryResponse) String() string
- func (m *CreateCategoryResponse) Validate() error
- func (m *CreateCategoryResponse) ValidateAll() error
- type CreateCategoryResponseMultiError
- type CreateCategoryResponseValidationError
- func (e CreateCategoryResponseValidationError) Cause() error
- func (e CreateCategoryResponseValidationError) Error() string
- func (e CreateCategoryResponseValidationError) ErrorName() string
- func (e CreateCategoryResponseValidationError) Field() string
- func (e CreateCategoryResponseValidationError) Key() bool
- func (e CreateCategoryResponseValidationError) Reason() string
- type CreateDocumentReqRequest
- func (*CreateDocumentReqRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDocumentReqRequest) GetData() *documents.DocActivityData
- func (x *CreateDocumentReqRequest) GetDocumentId() uint64
- func (x *CreateDocumentReqRequest) GetReason() string
- func (x *CreateDocumentReqRequest) GetRequestType() documents.DocActivityType
- func (*CreateDocumentReqRequest) ProtoMessage()
- func (x *CreateDocumentReqRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDocumentReqRequest) Reset()
- func (m *CreateDocumentReqRequest) Sanitize() error
- func (x *CreateDocumentReqRequest) String() string
- func (m *CreateDocumentReqRequest) Validate() error
- func (m *CreateDocumentReqRequest) ValidateAll() error
- type CreateDocumentReqRequestMultiError
- type CreateDocumentReqRequestValidationError
- func (e CreateDocumentReqRequestValidationError) Cause() error
- func (e CreateDocumentReqRequestValidationError) Error() string
- func (e CreateDocumentReqRequestValidationError) ErrorName() string
- func (e CreateDocumentReqRequestValidationError) Field() string
- func (e CreateDocumentReqRequestValidationError) Key() bool
- func (e CreateDocumentReqRequestValidationError) Reason() string
- type CreateDocumentReqResponse
- func (*CreateDocumentReqResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDocumentReqResponse) GetRequest() *documents.DocRequest
- func (*CreateDocumentReqResponse) ProtoMessage()
- func (x *CreateDocumentReqResponse) ProtoReflect() protoreflect.Message
- func (x *CreateDocumentReqResponse) Reset()
- func (m *CreateDocumentReqResponse) Sanitize() error
- func (x *CreateDocumentReqResponse) String() string
- func (m *CreateDocumentReqResponse) Validate() error
- func (m *CreateDocumentReqResponse) ValidateAll() error
- type CreateDocumentReqResponseMultiError
- type CreateDocumentReqResponseValidationError
- func (e CreateDocumentReqResponseValidationError) Cause() error
- func (e CreateDocumentReqResponseValidationError) Error() string
- func (e CreateDocumentReqResponseValidationError) ErrorName() string
- func (e CreateDocumentReqResponseValidationError) Field() string
- func (e CreateDocumentReqResponseValidationError) Key() bool
- func (e CreateDocumentReqResponseValidationError) Reason() string
- type CreateDocumentRequest
- func (*CreateDocumentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDocumentRequest) GetAccess() *documents.DocumentAccess
- func (x *CreateDocumentRequest) GetCategoryId() uint64
- func (x *CreateDocumentRequest) GetClosed() bool
- func (x *CreateDocumentRequest) GetContent() *content.Content
- func (x *CreateDocumentRequest) GetContentType() content.ContentType
- func (x *CreateDocumentRequest) GetData() string
- func (x *CreateDocumentRequest) GetPublic() bool
- func (x *CreateDocumentRequest) GetState() string
- func (x *CreateDocumentRequest) GetTemplateId() uint64
- func (x *CreateDocumentRequest) GetTitle() string
- func (*CreateDocumentRequest) ProtoMessage()
- func (x *CreateDocumentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDocumentRequest) Reset()
- func (m *CreateDocumentRequest) Sanitize() error
- func (x *CreateDocumentRequest) String() string
- func (m *CreateDocumentRequest) Validate() error
- func (m *CreateDocumentRequest) ValidateAll() error
- type CreateDocumentRequestMultiError
- type CreateDocumentRequestValidationError
- func (e CreateDocumentRequestValidationError) Cause() error
- func (e CreateDocumentRequestValidationError) Error() string
- func (e CreateDocumentRequestValidationError) ErrorName() string
- func (e CreateDocumentRequestValidationError) Field() string
- func (e CreateDocumentRequestValidationError) Key() bool
- func (e CreateDocumentRequestValidationError) Reason() string
- type CreateDocumentResponse
- func (*CreateDocumentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDocumentResponse) GetDocumentId() uint64
- func (*CreateDocumentResponse) ProtoMessage()
- func (x *CreateDocumentResponse) ProtoReflect() protoreflect.Message
- func (x *CreateDocumentResponse) Reset()
- func (m *CreateDocumentResponse) Sanitize() error
- func (x *CreateDocumentResponse) String() string
- func (m *CreateDocumentResponse) Validate() error
- func (m *CreateDocumentResponse) ValidateAll() error
- type CreateDocumentResponseMultiError
- type CreateDocumentResponseValidationError
- func (e CreateDocumentResponseValidationError) Cause() error
- func (e CreateDocumentResponseValidationError) Error() string
- func (e CreateDocumentResponseValidationError) ErrorName() string
- func (e CreateDocumentResponseValidationError) Field() string
- func (e CreateDocumentResponseValidationError) Key() bool
- func (e CreateDocumentResponseValidationError) Reason() string
- type CreateTemplateRequest
- func (*CreateTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTemplateRequest) GetTemplate() *documents.Template
- func (*CreateTemplateRequest) ProtoMessage()
- func (x *CreateTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTemplateRequest) Reset()
- func (m *CreateTemplateRequest) Sanitize() error
- func (x *CreateTemplateRequest) String() string
- func (m *CreateTemplateRequest) Validate() error
- func (m *CreateTemplateRequest) ValidateAll() error
- type CreateTemplateRequestMultiError
- type CreateTemplateRequestValidationError
- func (e CreateTemplateRequestValidationError) Cause() error
- func (e CreateTemplateRequestValidationError) Error() string
- func (e CreateTemplateRequestValidationError) ErrorName() string
- func (e CreateTemplateRequestValidationError) Field() string
- func (e CreateTemplateRequestValidationError) Key() bool
- func (e CreateTemplateRequestValidationError) Reason() string
- type CreateTemplateResponse
- func (*CreateTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTemplateResponse) GetId() uint64
- func (*CreateTemplateResponse) ProtoMessage()
- func (x *CreateTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *CreateTemplateResponse) Reset()
- func (m *CreateTemplateResponse) Sanitize() error
- func (x *CreateTemplateResponse) String() string
- func (m *CreateTemplateResponse) Validate() error
- func (m *CreateTemplateResponse) ValidateAll() error
- type CreateTemplateResponseMultiError
- type CreateTemplateResponseValidationError
- func (e CreateTemplateResponseValidationError) Cause() error
- func (e CreateTemplateResponseValidationError) Error() string
- func (e CreateTemplateResponseValidationError) ErrorName() string
- func (e CreateTemplateResponseValidationError) Field() string
- func (e CreateTemplateResponseValidationError) Key() bool
- func (e CreateTemplateResponseValidationError) Reason() string
- type DeleteCategoryRequest
- func (*DeleteCategoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCategoryRequest) GetIds() []uint64
- func (*DeleteCategoryRequest) ProtoMessage()
- func (x *DeleteCategoryRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCategoryRequest) Reset()
- func (m *DeleteCategoryRequest) Sanitize() error
- func (x *DeleteCategoryRequest) String() string
- func (m *DeleteCategoryRequest) Validate() error
- func (m *DeleteCategoryRequest) ValidateAll() error
- type DeleteCategoryRequestMultiError
- type DeleteCategoryRequestValidationError
- func (e DeleteCategoryRequestValidationError) Cause() error
- func (e DeleteCategoryRequestValidationError) Error() string
- func (e DeleteCategoryRequestValidationError) ErrorName() string
- func (e DeleteCategoryRequestValidationError) Field() string
- func (e DeleteCategoryRequestValidationError) Key() bool
- func (e DeleteCategoryRequestValidationError) Reason() string
- type DeleteCategoryResponse
- func (*DeleteCategoryResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteCategoryResponse) ProtoMessage()
- func (x *DeleteCategoryResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteCategoryResponse) Reset()
- func (m *DeleteCategoryResponse) Sanitize() error
- func (x *DeleteCategoryResponse) String() string
- func (m *DeleteCategoryResponse) Validate() error
- func (m *DeleteCategoryResponse) ValidateAll() error
- type DeleteCategoryResponseMultiError
- type DeleteCategoryResponseValidationError
- func (e DeleteCategoryResponseValidationError) Cause() error
- func (e DeleteCategoryResponseValidationError) Error() string
- func (e DeleteCategoryResponseValidationError) ErrorName() string
- func (e DeleteCategoryResponseValidationError) Field() string
- func (e DeleteCategoryResponseValidationError) Key() bool
- func (e DeleteCategoryResponseValidationError) Reason() string
- type DeleteCommentRequest
- func (*DeleteCommentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCommentRequest) GetCommentId() uint64
- func (*DeleteCommentRequest) ProtoMessage()
- func (x *DeleteCommentRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCommentRequest) Reset()
- func (m *DeleteCommentRequest) Sanitize() error
- func (x *DeleteCommentRequest) String() string
- func (m *DeleteCommentRequest) Validate() error
- func (m *DeleteCommentRequest) ValidateAll() error
- type DeleteCommentRequestMultiError
- type DeleteCommentRequestValidationError
- func (e DeleteCommentRequestValidationError) Cause() error
- func (e DeleteCommentRequestValidationError) Error() string
- func (e DeleteCommentRequestValidationError) ErrorName() string
- func (e DeleteCommentRequestValidationError) Field() string
- func (e DeleteCommentRequestValidationError) Key() bool
- func (e DeleteCommentRequestValidationError) Reason() string
- type DeleteCommentResponse
- func (*DeleteCommentResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteCommentResponse) ProtoMessage()
- func (x *DeleteCommentResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteCommentResponse) Reset()
- func (m *DeleteCommentResponse) Sanitize() error
- func (x *DeleteCommentResponse) String() string
- func (m *DeleteCommentResponse) Validate() error
- func (m *DeleteCommentResponse) ValidateAll() error
- type DeleteCommentResponseMultiError
- type DeleteCommentResponseValidationError
- func (e DeleteCommentResponseValidationError) Cause() error
- func (e DeleteCommentResponseValidationError) Error() string
- func (e DeleteCommentResponseValidationError) ErrorName() string
- func (e DeleteCommentResponseValidationError) Field() string
- func (e DeleteCommentResponseValidationError) Key() bool
- func (e DeleteCommentResponseValidationError) Reason() string
- type DeleteDocumentReqRequest
- func (*DeleteDocumentReqRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDocumentReqRequest) GetRequestId() uint64
- func (*DeleteDocumentReqRequest) ProtoMessage()
- func (x *DeleteDocumentReqRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDocumentReqRequest) Reset()
- func (m *DeleteDocumentReqRequest) Sanitize() error
- func (x *DeleteDocumentReqRequest) String() string
- func (m *DeleteDocumentReqRequest) Validate() error
- func (m *DeleteDocumentReqRequest) ValidateAll() error
- type DeleteDocumentReqRequestMultiError
- type DeleteDocumentReqRequestValidationError
- func (e DeleteDocumentReqRequestValidationError) Cause() error
- func (e DeleteDocumentReqRequestValidationError) Error() string
- func (e DeleteDocumentReqRequestValidationError) ErrorName() string
- func (e DeleteDocumentReqRequestValidationError) Field() string
- func (e DeleteDocumentReqRequestValidationError) Key() bool
- func (e DeleteDocumentReqRequestValidationError) Reason() string
- type DeleteDocumentReqResponse
- func (*DeleteDocumentReqResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteDocumentReqResponse) ProtoMessage()
- func (x *DeleteDocumentReqResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteDocumentReqResponse) Reset()
- func (m *DeleteDocumentReqResponse) Sanitize() error
- func (x *DeleteDocumentReqResponse) String() string
- func (m *DeleteDocumentReqResponse) Validate() error
- func (m *DeleteDocumentReqResponse) ValidateAll() error
- type DeleteDocumentReqResponseMultiError
- type DeleteDocumentReqResponseValidationError
- func (e DeleteDocumentReqResponseValidationError) Cause() error
- func (e DeleteDocumentReqResponseValidationError) Error() string
- func (e DeleteDocumentReqResponseValidationError) ErrorName() string
- func (e DeleteDocumentReqResponseValidationError) Field() string
- func (e DeleteDocumentReqResponseValidationError) Key() bool
- func (e DeleteDocumentReqResponseValidationError) Reason() string
- type DeleteDocumentRequest
- func (*DeleteDocumentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDocumentRequest) GetDocumentId() uint64
- func (*DeleteDocumentRequest) ProtoMessage()
- func (x *DeleteDocumentRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDocumentRequest) Reset()
- func (m *DeleteDocumentRequest) Sanitize() error
- func (x *DeleteDocumentRequest) String() string
- func (m *DeleteDocumentRequest) Validate() error
- func (m *DeleteDocumentRequest) ValidateAll() error
- type DeleteDocumentRequestMultiError
- type DeleteDocumentRequestValidationError
- func (e DeleteDocumentRequestValidationError) Cause() error
- func (e DeleteDocumentRequestValidationError) Error() string
- func (e DeleteDocumentRequestValidationError) ErrorName() string
- func (e DeleteDocumentRequestValidationError) Field() string
- func (e DeleteDocumentRequestValidationError) Key() bool
- func (e DeleteDocumentRequestValidationError) Reason() string
- type DeleteDocumentResponse
- func (*DeleteDocumentResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteDocumentResponse) ProtoMessage()
- func (x *DeleteDocumentResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteDocumentResponse) Reset()
- func (m *DeleteDocumentResponse) Sanitize() error
- func (x *DeleteDocumentResponse) String() string
- func (m *DeleteDocumentResponse) Validate() error
- func (m *DeleteDocumentResponse) ValidateAll() error
- type DeleteDocumentResponseMultiError
- type DeleteDocumentResponseValidationError
- func (e DeleteDocumentResponseValidationError) Cause() error
- func (e DeleteDocumentResponseValidationError) Error() string
- func (e DeleteDocumentResponseValidationError) ErrorName() string
- func (e DeleteDocumentResponseValidationError) Field() string
- func (e DeleteDocumentResponseValidationError) Key() bool
- func (e DeleteDocumentResponseValidationError) Reason() string
- type DeleteTemplateRequest
- func (*DeleteTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTemplateRequest) GetId() uint64
- func (*DeleteTemplateRequest) ProtoMessage()
- func (x *DeleteTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTemplateRequest) Reset()
- func (m *DeleteTemplateRequest) Sanitize() error
- func (x *DeleteTemplateRequest) String() string
- func (m *DeleteTemplateRequest) Validate() error
- func (m *DeleteTemplateRequest) ValidateAll() error
- type DeleteTemplateRequestMultiError
- type DeleteTemplateRequestValidationError
- func (e DeleteTemplateRequestValidationError) Cause() error
- func (e DeleteTemplateRequestValidationError) Error() string
- func (e DeleteTemplateRequestValidationError) ErrorName() string
- func (e DeleteTemplateRequestValidationError) Field() string
- func (e DeleteTemplateRequestValidationError) Key() bool
- func (e DeleteTemplateRequestValidationError) Reason() string
- type DeleteTemplateResponse
- func (*DeleteTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteTemplateResponse) ProtoMessage()
- func (x *DeleteTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteTemplateResponse) Reset()
- func (m *DeleteTemplateResponse) Sanitize() error
- func (x *DeleteTemplateResponse) String() string
- func (m *DeleteTemplateResponse) Validate() error
- func (m *DeleteTemplateResponse) ValidateAll() error
- type DeleteTemplateResponseMultiError
- type DeleteTemplateResponseValidationError
- func (e DeleteTemplateResponseValidationError) Cause() error
- func (e DeleteTemplateResponseValidationError) Error() string
- func (e DeleteTemplateResponseValidationError) ErrorName() string
- func (e DeleteTemplateResponseValidationError) Field() string
- func (e DeleteTemplateResponseValidationError) Key() bool
- func (e DeleteTemplateResponseValidationError) Reason() string
- type DocStoreServiceClient
- type DocStoreServiceServer
- type EditCommentRequest
- func (*EditCommentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EditCommentRequest) GetComment() *documents.Comment
- func (*EditCommentRequest) ProtoMessage()
- func (x *EditCommentRequest) ProtoReflect() protoreflect.Message
- func (x *EditCommentRequest) Reset()
- func (m *EditCommentRequest) Sanitize() error
- func (x *EditCommentRequest) String() string
- func (m *EditCommentRequest) Validate() error
- func (m *EditCommentRequest) ValidateAll() error
- type EditCommentRequestMultiError
- type EditCommentRequestValidationError
- func (e EditCommentRequestValidationError) Cause() error
- func (e EditCommentRequestValidationError) Error() string
- func (e EditCommentRequestValidationError) ErrorName() string
- func (e EditCommentRequestValidationError) Field() string
- func (e EditCommentRequestValidationError) Key() bool
- func (e EditCommentRequestValidationError) Reason() string
- type EditCommentResponse
- func (*EditCommentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EditCommentResponse) GetComment() *documents.Comment
- func (*EditCommentResponse) ProtoMessage()
- func (x *EditCommentResponse) ProtoReflect() protoreflect.Message
- func (x *EditCommentResponse) Reset()
- func (m *EditCommentResponse) Sanitize() error
- func (x *EditCommentResponse) String() string
- func (m *EditCommentResponse) Validate() error
- func (m *EditCommentResponse) ValidateAll() error
- type EditCommentResponseMultiError
- type EditCommentResponseValidationError
- func (e EditCommentResponseValidationError) Cause() error
- func (e EditCommentResponseValidationError) Error() string
- func (e EditCommentResponseValidationError) ErrorName() string
- func (e EditCommentResponseValidationError) Field() string
- func (e EditCommentResponseValidationError) Key() bool
- func (e EditCommentResponseValidationError) Reason() string
- type GetCommentsRequest
- func (*GetCommentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommentsRequest) GetDocumentId() uint64
- func (x *GetCommentsRequest) GetPagination() *database.PaginationRequest
- func (*GetCommentsRequest) ProtoMessage()
- func (x *GetCommentsRequest) ProtoReflect() protoreflect.Message
- func (x *GetCommentsRequest) Reset()
- func (m *GetCommentsRequest) Sanitize() error
- func (x *GetCommentsRequest) String() string
- func (m *GetCommentsRequest) Validate() error
- func (m *GetCommentsRequest) ValidateAll() error
- type GetCommentsRequestMultiError
- type GetCommentsRequestValidationError
- func (e GetCommentsRequestValidationError) Cause() error
- func (e GetCommentsRequestValidationError) Error() string
- func (e GetCommentsRequestValidationError) ErrorName() string
- func (e GetCommentsRequestValidationError) Field() string
- func (e GetCommentsRequestValidationError) Key() bool
- func (e GetCommentsRequestValidationError) Reason() string
- type GetCommentsResponse
- func (*GetCommentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommentsResponse) GetComments() []*documents.Comment
- func (x *GetCommentsResponse) GetPagination() *database.PaginationResponse
- func (*GetCommentsResponse) ProtoMessage()
- func (x *GetCommentsResponse) ProtoReflect() protoreflect.Message
- func (x *GetCommentsResponse) Reset()
- func (m *GetCommentsResponse) Sanitize() error
- func (x *GetCommentsResponse) String() string
- func (m *GetCommentsResponse) Validate() error
- func (m *GetCommentsResponse) ValidateAll() error
- type GetCommentsResponseMultiError
- type GetCommentsResponseValidationError
- func (e GetCommentsResponseValidationError) Cause() error
- func (e GetCommentsResponseValidationError) Error() string
- func (e GetCommentsResponseValidationError) ErrorName() string
- func (e GetCommentsResponseValidationError) Field() string
- func (e GetCommentsResponseValidationError) Key() bool
- func (e GetCommentsResponseValidationError) Reason() string
- type GetDocumentAccessRequest
- func (*GetDocumentAccessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDocumentAccessRequest) GetDocumentId() uint64
- func (*GetDocumentAccessRequest) ProtoMessage()
- func (x *GetDocumentAccessRequest) ProtoReflect() protoreflect.Message
- func (x *GetDocumentAccessRequest) Reset()
- func (m *GetDocumentAccessRequest) Sanitize() error
- func (x *GetDocumentAccessRequest) String() string
- func (m *GetDocumentAccessRequest) Validate() error
- func (m *GetDocumentAccessRequest) ValidateAll() error
- type GetDocumentAccessRequestMultiError
- type GetDocumentAccessRequestValidationError
- func (e GetDocumentAccessRequestValidationError) Cause() error
- func (e GetDocumentAccessRequestValidationError) Error() string
- func (e GetDocumentAccessRequestValidationError) ErrorName() string
- func (e GetDocumentAccessRequestValidationError) Field() string
- func (e GetDocumentAccessRequestValidationError) Key() bool
- func (e GetDocumentAccessRequestValidationError) Reason() string
- type GetDocumentAccessResponse
- func (*GetDocumentAccessResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDocumentAccessResponse) GetAccess() *documents.DocumentAccess
- func (*GetDocumentAccessResponse) ProtoMessage()
- func (x *GetDocumentAccessResponse) ProtoReflect() protoreflect.Message
- func (x *GetDocumentAccessResponse) Reset()
- func (m *GetDocumentAccessResponse) Sanitize() error
- func (x *GetDocumentAccessResponse) String() string
- func (m *GetDocumentAccessResponse) Validate() error
- func (m *GetDocumentAccessResponse) ValidateAll() error
- type GetDocumentAccessResponseMultiError
- type GetDocumentAccessResponseValidationError
- func (e GetDocumentAccessResponseValidationError) Cause() error
- func (e GetDocumentAccessResponseValidationError) Error() string
- func (e GetDocumentAccessResponseValidationError) ErrorName() string
- func (e GetDocumentAccessResponseValidationError) Field() string
- func (e GetDocumentAccessResponseValidationError) Key() bool
- func (e GetDocumentAccessResponseValidationError) Reason() string
- type GetDocumentReferencesRequest
- func (*GetDocumentReferencesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDocumentReferencesRequest) GetDocumentId() uint64
- func (*GetDocumentReferencesRequest) ProtoMessage()
- func (x *GetDocumentReferencesRequest) ProtoReflect() protoreflect.Message
- func (x *GetDocumentReferencesRequest) Reset()
- func (m *GetDocumentReferencesRequest) Sanitize() error
- func (x *GetDocumentReferencesRequest) String() string
- func (m *GetDocumentReferencesRequest) Validate() error
- func (m *GetDocumentReferencesRequest) ValidateAll() error
- type GetDocumentReferencesRequestMultiError
- type GetDocumentReferencesRequestValidationError
- func (e GetDocumentReferencesRequestValidationError) Cause() error
- func (e GetDocumentReferencesRequestValidationError) Error() string
- func (e GetDocumentReferencesRequestValidationError) ErrorName() string
- func (e GetDocumentReferencesRequestValidationError) Field() string
- func (e GetDocumentReferencesRequestValidationError) Key() bool
- func (e GetDocumentReferencesRequestValidationError) Reason() string
- type GetDocumentReferencesResponse
- func (*GetDocumentReferencesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDocumentReferencesResponse) GetReferences() []*documents.DocumentReference
- func (*GetDocumentReferencesResponse) ProtoMessage()
- func (x *GetDocumentReferencesResponse) ProtoReflect() protoreflect.Message
- func (x *GetDocumentReferencesResponse) Reset()
- func (m *GetDocumentReferencesResponse) Sanitize() error
- func (x *GetDocumentReferencesResponse) String() string
- func (m *GetDocumentReferencesResponse) Validate() error
- func (m *GetDocumentReferencesResponse) ValidateAll() error
- type GetDocumentReferencesResponseMultiError
- type GetDocumentReferencesResponseValidationError
- func (e GetDocumentReferencesResponseValidationError) Cause() error
- func (e GetDocumentReferencesResponseValidationError) Error() string
- func (e GetDocumentReferencesResponseValidationError) ErrorName() string
- func (e GetDocumentReferencesResponseValidationError) Field() string
- func (e GetDocumentReferencesResponseValidationError) Key() bool
- func (e GetDocumentReferencesResponseValidationError) Reason() string
- type GetDocumentRelationsRequest
- func (*GetDocumentRelationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDocumentRelationsRequest) GetDocumentId() uint64
- func (*GetDocumentRelationsRequest) ProtoMessage()
- func (x *GetDocumentRelationsRequest) ProtoReflect() protoreflect.Message
- func (x *GetDocumentRelationsRequest) Reset()
- func (m *GetDocumentRelationsRequest) Sanitize() error
- func (x *GetDocumentRelationsRequest) String() string
- func (m *GetDocumentRelationsRequest) Validate() error
- func (m *GetDocumentRelationsRequest) ValidateAll() error
- type GetDocumentRelationsRequestMultiError
- type GetDocumentRelationsRequestValidationError
- func (e GetDocumentRelationsRequestValidationError) Cause() error
- func (e GetDocumentRelationsRequestValidationError) Error() string
- func (e GetDocumentRelationsRequestValidationError) ErrorName() string
- func (e GetDocumentRelationsRequestValidationError) Field() string
- func (e GetDocumentRelationsRequestValidationError) Key() bool
- func (e GetDocumentRelationsRequestValidationError) Reason() string
- type GetDocumentRelationsResponse
- func (*GetDocumentRelationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDocumentRelationsResponse) GetRelations() []*documents.DocumentRelation
- func (*GetDocumentRelationsResponse) ProtoMessage()
- func (x *GetDocumentRelationsResponse) ProtoReflect() protoreflect.Message
- func (x *GetDocumentRelationsResponse) Reset()
- func (m *GetDocumentRelationsResponse) Sanitize() error
- func (x *GetDocumentRelationsResponse) String() string
- func (m *GetDocumentRelationsResponse) Validate() error
- func (m *GetDocumentRelationsResponse) ValidateAll() error
- type GetDocumentRelationsResponseMultiError
- type GetDocumentRelationsResponseValidationError
- func (e GetDocumentRelationsResponseValidationError) Cause() error
- func (e GetDocumentRelationsResponseValidationError) Error() string
- func (e GetDocumentRelationsResponseValidationError) ErrorName() string
- func (e GetDocumentRelationsResponseValidationError) Field() string
- func (e GetDocumentRelationsResponseValidationError) Key() bool
- func (e GetDocumentRelationsResponseValidationError) Reason() string
- type GetDocumentRequest
- func (*GetDocumentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDocumentRequest) GetDocumentId() uint64
- func (x *GetDocumentRequest) GetInfoOnly() bool
- func (*GetDocumentRequest) ProtoMessage()
- func (x *GetDocumentRequest) ProtoReflect() protoreflect.Message
- func (x *GetDocumentRequest) Reset()
- func (m *GetDocumentRequest) Sanitize() error
- func (x *GetDocumentRequest) String() string
- func (m *GetDocumentRequest) Validate() error
- func (m *GetDocumentRequest) ValidateAll() error
- type GetDocumentRequestMultiError
- type GetDocumentRequestValidationError
- func (e GetDocumentRequestValidationError) Cause() error
- func (e GetDocumentRequestValidationError) Error() string
- func (e GetDocumentRequestValidationError) ErrorName() string
- func (e GetDocumentRequestValidationError) Field() string
- func (e GetDocumentRequestValidationError) Key() bool
- func (e GetDocumentRequestValidationError) Reason() string
- type GetDocumentResponse
- func (*GetDocumentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDocumentResponse) GetAccess() *documents.DocumentAccess
- func (x *GetDocumentResponse) GetDocument() *documents.Document
- func (*GetDocumentResponse) ProtoMessage()
- func (x *GetDocumentResponse) ProtoReflect() protoreflect.Message
- func (x *GetDocumentResponse) Reset()
- func (m *GetDocumentResponse) Sanitize() error
- func (x *GetDocumentResponse) String() string
- func (m *GetDocumentResponse) Validate() error
- func (m *GetDocumentResponse) ValidateAll() error
- type GetDocumentResponseMultiError
- type GetDocumentResponseValidationError
- func (e GetDocumentResponseValidationError) Cause() error
- func (e GetDocumentResponseValidationError) Error() string
- func (e GetDocumentResponseValidationError) ErrorName() string
- func (e GetDocumentResponseValidationError) Field() string
- func (e GetDocumentResponseValidationError) Key() bool
- func (e GetDocumentResponseValidationError) Reason() string
- type GetTemplateRequest
- func (*GetTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTemplateRequest) GetData() *documents.TemplateData
- func (x *GetTemplateRequest) GetRender() bool
- func (x *GetTemplateRequest) GetTemplateId() uint64
- func (*GetTemplateRequest) ProtoMessage()
- func (x *GetTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *GetTemplateRequest) Reset()
- func (m *GetTemplateRequest) Sanitize() error
- func (x *GetTemplateRequest) String() string
- func (m *GetTemplateRequest) Validate() error
- func (m *GetTemplateRequest) ValidateAll() error
- type GetTemplateRequestMultiError
- type GetTemplateRequestValidationError
- func (e GetTemplateRequestValidationError) Cause() error
- func (e GetTemplateRequestValidationError) Error() string
- func (e GetTemplateRequestValidationError) ErrorName() string
- func (e GetTemplateRequestValidationError) Field() string
- func (e GetTemplateRequestValidationError) Key() bool
- func (e GetTemplateRequestValidationError) Reason() string
- type GetTemplateResponse
- func (*GetTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTemplateResponse) GetRendered() bool
- func (x *GetTemplateResponse) GetTemplate() *documents.Template
- func (*GetTemplateResponse) ProtoMessage()
- func (x *GetTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *GetTemplateResponse) Reset()
- func (m *GetTemplateResponse) Sanitize() error
- func (x *GetTemplateResponse) String() string
- func (m *GetTemplateResponse) Validate() error
- func (m *GetTemplateResponse) ValidateAll() error
- type GetTemplateResponseMultiError
- type GetTemplateResponseValidationError
- func (e GetTemplateResponseValidationError) Cause() error
- func (e GetTemplateResponseValidationError) Error() string
- func (e GetTemplateResponseValidationError) ErrorName() string
- func (e GetTemplateResponseValidationError) Field() string
- func (e GetTemplateResponseValidationError) Key() bool
- func (e GetTemplateResponseValidationError) Reason() string
- type ListCategoriesRequest
- func (*ListCategoriesRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListCategoriesRequest) ProtoMessage()
- func (x *ListCategoriesRequest) ProtoReflect() protoreflect.Message
- func (x *ListCategoriesRequest) Reset()
- func (m *ListCategoriesRequest) Sanitize() error
- func (x *ListCategoriesRequest) String() string
- func (m *ListCategoriesRequest) Validate() error
- func (m *ListCategoriesRequest) ValidateAll() error
- type ListCategoriesRequestMultiError
- type ListCategoriesRequestValidationError
- func (e ListCategoriesRequestValidationError) Cause() error
- func (e ListCategoriesRequestValidationError) Error() string
- func (e ListCategoriesRequestValidationError) ErrorName() string
- func (e ListCategoriesRequestValidationError) Field() string
- func (e ListCategoriesRequestValidationError) Key() bool
- func (e ListCategoriesRequestValidationError) Reason() string
- type ListCategoriesResponse
- func (*ListCategoriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCategoriesResponse) GetCategory() []*documents.Category
- func (*ListCategoriesResponse) ProtoMessage()
- func (x *ListCategoriesResponse) ProtoReflect() protoreflect.Message
- func (x *ListCategoriesResponse) Reset()
- func (m *ListCategoriesResponse) Sanitize() error
- func (x *ListCategoriesResponse) String() string
- func (m *ListCategoriesResponse) Validate() error
- func (m *ListCategoriesResponse) ValidateAll() error
- type ListCategoriesResponseMultiError
- type ListCategoriesResponseValidationError
- func (e ListCategoriesResponseValidationError) Cause() error
- func (e ListCategoriesResponseValidationError) Error() string
- func (e ListCategoriesResponseValidationError) ErrorName() string
- func (e ListCategoriesResponseValidationError) Field() string
- func (e ListCategoriesResponseValidationError) Key() bool
- func (e ListCategoriesResponseValidationError) Reason() string
- type ListDocumentActivityRequest
- func (*ListDocumentActivityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDocumentActivityRequest) GetActivityTypes() []documents.DocActivityType
- func (x *ListDocumentActivityRequest) GetDocumentId() uint64
- func (x *ListDocumentActivityRequest) GetPagination() *database.PaginationRequest
- func (*ListDocumentActivityRequest) ProtoMessage()
- func (x *ListDocumentActivityRequest) ProtoReflect() protoreflect.Message
- func (x *ListDocumentActivityRequest) Reset()
- func (m *ListDocumentActivityRequest) Sanitize() error
- func (x *ListDocumentActivityRequest) String() string
- func (m *ListDocumentActivityRequest) Validate() error
- func (m *ListDocumentActivityRequest) ValidateAll() error
- type ListDocumentActivityRequestMultiError
- type ListDocumentActivityRequestValidationError
- func (e ListDocumentActivityRequestValidationError) Cause() error
- func (e ListDocumentActivityRequestValidationError) Error() string
- func (e ListDocumentActivityRequestValidationError) ErrorName() string
- func (e ListDocumentActivityRequestValidationError) Field() string
- func (e ListDocumentActivityRequestValidationError) Key() bool
- func (e ListDocumentActivityRequestValidationError) Reason() string
- type ListDocumentActivityResponse
- func (*ListDocumentActivityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDocumentActivityResponse) GetActivity() []*documents.DocActivity
- func (x *ListDocumentActivityResponse) GetPagination() *database.PaginationResponse
- func (*ListDocumentActivityResponse) ProtoMessage()
- func (x *ListDocumentActivityResponse) ProtoReflect() protoreflect.Message
- func (x *ListDocumentActivityResponse) Reset()
- func (m *ListDocumentActivityResponse) Sanitize() error
- func (x *ListDocumentActivityResponse) String() string
- func (m *ListDocumentActivityResponse) Validate() error
- func (m *ListDocumentActivityResponse) ValidateAll() error
- type ListDocumentActivityResponseMultiError
- type ListDocumentActivityResponseValidationError
- func (e ListDocumentActivityResponseValidationError) Cause() error
- func (e ListDocumentActivityResponseValidationError) Error() string
- func (e ListDocumentActivityResponseValidationError) ErrorName() string
- func (e ListDocumentActivityResponseValidationError) Field() string
- func (e ListDocumentActivityResponseValidationError) Key() bool
- func (e ListDocumentActivityResponseValidationError) Reason() string
- type ListDocumentPinsRequest
- func (*ListDocumentPinsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDocumentPinsRequest) GetPagination() *database.PaginationRequest
- func (*ListDocumentPinsRequest) ProtoMessage()
- func (x *ListDocumentPinsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDocumentPinsRequest) Reset()
- func (m *ListDocumentPinsRequest) Sanitize() error
- func (x *ListDocumentPinsRequest) String() string
- func (m *ListDocumentPinsRequest) Validate() error
- func (m *ListDocumentPinsRequest) ValidateAll() error
- type ListDocumentPinsRequestMultiError
- type ListDocumentPinsRequestValidationError
- func (e ListDocumentPinsRequestValidationError) Cause() error
- func (e ListDocumentPinsRequestValidationError) Error() string
- func (e ListDocumentPinsRequestValidationError) ErrorName() string
- func (e ListDocumentPinsRequestValidationError) Field() string
- func (e ListDocumentPinsRequestValidationError) Key() bool
- func (e ListDocumentPinsRequestValidationError) Reason() string
- type ListDocumentPinsResponse
- func (*ListDocumentPinsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDocumentPinsResponse) GetDocuments() []*documents.DocumentShort
- func (x *ListDocumentPinsResponse) GetPagination() *database.PaginationResponse
- func (*ListDocumentPinsResponse) ProtoMessage()
- func (x *ListDocumentPinsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDocumentPinsResponse) Reset()
- func (m *ListDocumentPinsResponse) Sanitize() error
- func (x *ListDocumentPinsResponse) String() string
- func (m *ListDocumentPinsResponse) Validate() error
- func (m *ListDocumentPinsResponse) ValidateAll() error
- type ListDocumentPinsResponseMultiError
- type ListDocumentPinsResponseValidationError
- func (e ListDocumentPinsResponseValidationError) Cause() error
- func (e ListDocumentPinsResponseValidationError) Error() string
- func (e ListDocumentPinsResponseValidationError) ErrorName() string
- func (e ListDocumentPinsResponseValidationError) Field() string
- func (e ListDocumentPinsResponseValidationError) Key() bool
- func (e ListDocumentPinsResponseValidationError) Reason() string
- type ListDocumentReqsRequest
- func (*ListDocumentReqsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDocumentReqsRequest) GetDocumentId() uint64
- func (x *ListDocumentReqsRequest) GetPagination() *database.PaginationRequest
- func (*ListDocumentReqsRequest) ProtoMessage()
- func (x *ListDocumentReqsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDocumentReqsRequest) Reset()
- func (m *ListDocumentReqsRequest) Sanitize() error
- func (x *ListDocumentReqsRequest) String() string
- func (m *ListDocumentReqsRequest) Validate() error
- func (m *ListDocumentReqsRequest) ValidateAll() error
- type ListDocumentReqsRequestMultiError
- type ListDocumentReqsRequestValidationError
- func (e ListDocumentReqsRequestValidationError) Cause() error
- func (e ListDocumentReqsRequestValidationError) Error() string
- func (e ListDocumentReqsRequestValidationError) ErrorName() string
- func (e ListDocumentReqsRequestValidationError) Field() string
- func (e ListDocumentReqsRequestValidationError) Key() bool
- func (e ListDocumentReqsRequestValidationError) Reason() string
- type ListDocumentReqsResponse
- func (*ListDocumentReqsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDocumentReqsResponse) GetPagination() *database.PaginationResponse
- func (x *ListDocumentReqsResponse) GetRequests() []*documents.DocRequest
- func (*ListDocumentReqsResponse) ProtoMessage()
- func (x *ListDocumentReqsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDocumentReqsResponse) Reset()
- func (m *ListDocumentReqsResponse) Sanitize() error
- func (x *ListDocumentReqsResponse) String() string
- func (m *ListDocumentReqsResponse) Validate() error
- func (m *ListDocumentReqsResponse) ValidateAll() error
- type ListDocumentReqsResponseMultiError
- type ListDocumentReqsResponseValidationError
- func (e ListDocumentReqsResponseValidationError) Cause() error
- func (e ListDocumentReqsResponseValidationError) Error() string
- func (e ListDocumentReqsResponseValidationError) ErrorName() string
- func (e ListDocumentReqsResponseValidationError) Field() string
- func (e ListDocumentReqsResponseValidationError) Key() bool
- func (e ListDocumentReqsResponseValidationError) Reason() string
- type ListDocumentsRequest
- func (*ListDocumentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDocumentsRequest) GetCategoryIds() []uint64
- func (x *ListDocumentsRequest) GetClosed() bool
- func (x *ListDocumentsRequest) GetCreatorIds() []int32
- func (x *ListDocumentsRequest) GetDocumentIds() []uint64
- func (x *ListDocumentsRequest) GetFrom() *timestamp.Timestamp
- func (x *ListDocumentsRequest) GetPagination() *database.PaginationRequest
- func (x *ListDocumentsRequest) GetSearch() string
- func (x *ListDocumentsRequest) GetSort() *database.Sort
- func (x *ListDocumentsRequest) GetTo() *timestamp.Timestamp
- func (*ListDocumentsRequest) ProtoMessage()
- func (x *ListDocumentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDocumentsRequest) Reset()
- func (m *ListDocumentsRequest) Sanitize() error
- func (x *ListDocumentsRequest) String() string
- func (m *ListDocumentsRequest) Validate() error
- func (m *ListDocumentsRequest) ValidateAll() error
- type ListDocumentsRequestMultiError
- type ListDocumentsRequestValidationError
- func (e ListDocumentsRequestValidationError) Cause() error
- func (e ListDocumentsRequestValidationError) Error() string
- func (e ListDocumentsRequestValidationError) ErrorName() string
- func (e ListDocumentsRequestValidationError) Field() string
- func (e ListDocumentsRequestValidationError) Key() bool
- func (e ListDocumentsRequestValidationError) Reason() string
- type ListDocumentsResponse
- func (*ListDocumentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDocumentsResponse) GetDocuments() []*documents.DocumentShort
- func (x *ListDocumentsResponse) GetPagination() *database.PaginationResponse
- func (*ListDocumentsResponse) ProtoMessage()
- func (x *ListDocumentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDocumentsResponse) Reset()
- func (m *ListDocumentsResponse) Sanitize() error
- func (x *ListDocumentsResponse) String() string
- func (m *ListDocumentsResponse) Validate() error
- func (m *ListDocumentsResponse) ValidateAll() error
- type ListDocumentsResponseMultiError
- type ListDocumentsResponseValidationError
- func (e ListDocumentsResponseValidationError) Cause() error
- func (e ListDocumentsResponseValidationError) Error() string
- func (e ListDocumentsResponseValidationError) ErrorName() string
- func (e ListDocumentsResponseValidationError) Field() string
- func (e ListDocumentsResponseValidationError) Key() bool
- func (e ListDocumentsResponseValidationError) Reason() string
- type ListTemplatesRequest
- func (*ListTemplatesRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListTemplatesRequest) ProtoMessage()
- func (x *ListTemplatesRequest) ProtoReflect() protoreflect.Message
- func (x *ListTemplatesRequest) Reset()
- func (m *ListTemplatesRequest) Sanitize() error
- func (x *ListTemplatesRequest) String() string
- func (m *ListTemplatesRequest) Validate() error
- func (m *ListTemplatesRequest) ValidateAll() error
- type ListTemplatesRequestMultiError
- type ListTemplatesRequestValidationError
- func (e ListTemplatesRequestValidationError) Cause() error
- func (e ListTemplatesRequestValidationError) Error() string
- func (e ListTemplatesRequestValidationError) ErrorName() string
- func (e ListTemplatesRequestValidationError) Field() string
- func (e ListTemplatesRequestValidationError) Key() bool
- func (e ListTemplatesRequestValidationError) Reason() string
- type ListTemplatesResponse
- func (*ListTemplatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTemplatesResponse) GetTemplates() []*documents.TemplateShort
- func (*ListTemplatesResponse) ProtoMessage()
- func (x *ListTemplatesResponse) ProtoReflect() protoreflect.Message
- func (x *ListTemplatesResponse) Reset()
- func (m *ListTemplatesResponse) Sanitize() error
- func (x *ListTemplatesResponse) String() string
- func (m *ListTemplatesResponse) Validate() error
- func (m *ListTemplatesResponse) ValidateAll() error
- type ListTemplatesResponseMultiError
- type ListTemplatesResponseValidationError
- func (e ListTemplatesResponseValidationError) Cause() error
- func (e ListTemplatesResponseValidationError) Error() string
- func (e ListTemplatesResponseValidationError) ErrorName() string
- func (e ListTemplatesResponseValidationError) Field() string
- func (e ListTemplatesResponseValidationError) Key() bool
- func (e ListTemplatesResponseValidationError) Reason() string
- type ListUserDocumentsRequest
- func (*ListUserDocumentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserDocumentsRequest) GetClosed() bool
- func (x *ListUserDocumentsRequest) GetPagination() *database.PaginationRequest
- func (x *ListUserDocumentsRequest) GetRelations() []documents.DocRelation
- func (x *ListUserDocumentsRequest) GetUserId() int32
- func (*ListUserDocumentsRequest) ProtoMessage()
- func (x *ListUserDocumentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserDocumentsRequest) Reset()
- func (m *ListUserDocumentsRequest) Sanitize() error
- func (x *ListUserDocumentsRequest) String() string
- func (m *ListUserDocumentsRequest) Validate() error
- func (m *ListUserDocumentsRequest) ValidateAll() error
- type ListUserDocumentsRequestMultiError
- type ListUserDocumentsRequestValidationError
- func (e ListUserDocumentsRequestValidationError) Cause() error
- func (e ListUserDocumentsRequestValidationError) Error() string
- func (e ListUserDocumentsRequestValidationError) ErrorName() string
- func (e ListUserDocumentsRequestValidationError) Field() string
- func (e ListUserDocumentsRequestValidationError) Key() bool
- func (e ListUserDocumentsRequestValidationError) Reason() string
- type ListUserDocumentsResponse
- func (*ListUserDocumentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserDocumentsResponse) GetPagination() *database.PaginationResponse
- func (x *ListUserDocumentsResponse) GetRelations() []*documents.DocumentRelation
- func (*ListUserDocumentsResponse) ProtoMessage()
- func (x *ListUserDocumentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListUserDocumentsResponse) Reset()
- func (m *ListUserDocumentsResponse) Sanitize() error
- func (x *ListUserDocumentsResponse) String() string
- func (m *ListUserDocumentsResponse) Validate() error
- func (m *ListUserDocumentsResponse) ValidateAll() error
- type ListUserDocumentsResponseMultiError
- type ListUserDocumentsResponseValidationError
- func (e ListUserDocumentsResponseValidationError) Cause() error
- func (e ListUserDocumentsResponseValidationError) Error() string
- func (e ListUserDocumentsResponseValidationError) ErrorName() string
- func (e ListUserDocumentsResponseValidationError) Field() string
- func (e ListUserDocumentsResponseValidationError) Key() bool
- func (e ListUserDocumentsResponseValidationError) Reason() string
- type Params
- type PostCommentRequest
- func (*PostCommentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PostCommentRequest) GetComment() *documents.Comment
- func (*PostCommentRequest) ProtoMessage()
- func (x *PostCommentRequest) ProtoReflect() protoreflect.Message
- func (x *PostCommentRequest) Reset()
- func (m *PostCommentRequest) Sanitize() error
- func (x *PostCommentRequest) String() string
- func (m *PostCommentRequest) Validate() error
- func (m *PostCommentRequest) ValidateAll() error
- type PostCommentRequestMultiError
- type PostCommentRequestValidationError
- func (e PostCommentRequestValidationError) Cause() error
- func (e PostCommentRequestValidationError) Error() string
- func (e PostCommentRequestValidationError) ErrorName() string
- func (e PostCommentRequestValidationError) Field() string
- func (e PostCommentRequestValidationError) Key() bool
- func (e PostCommentRequestValidationError) Reason() string
- type PostCommentResponse
- func (*PostCommentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PostCommentResponse) GetComment() *documents.Comment
- func (*PostCommentResponse) ProtoMessage()
- func (x *PostCommentResponse) ProtoReflect() protoreflect.Message
- func (x *PostCommentResponse) Reset()
- func (m *PostCommentResponse) Sanitize() error
- func (x *PostCommentResponse) String() string
- func (m *PostCommentResponse) Validate() error
- func (m *PostCommentResponse) ValidateAll() error
- type PostCommentResponseMultiError
- type PostCommentResponseValidationError
- func (e PostCommentResponseValidationError) Cause() error
- func (e PostCommentResponseValidationError) Error() string
- func (e PostCommentResponseValidationError) ErrorName() string
- func (e PostCommentResponseValidationError) Field() string
- func (e PostCommentResponseValidationError) Key() bool
- func (e PostCommentResponseValidationError) Reason() string
- type RemoveDocumentReferenceRequest
- func (*RemoveDocumentReferenceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveDocumentReferenceRequest) GetId() uint64
- func (*RemoveDocumentReferenceRequest) ProtoMessage()
- func (x *RemoveDocumentReferenceRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveDocumentReferenceRequest) Reset()
- func (m *RemoveDocumentReferenceRequest) Sanitize() error
- func (x *RemoveDocumentReferenceRequest) String() string
- func (m *RemoveDocumentReferenceRequest) Validate() error
- func (m *RemoveDocumentReferenceRequest) ValidateAll() error
- type RemoveDocumentReferenceRequestMultiError
- type RemoveDocumentReferenceRequestValidationError
- func (e RemoveDocumentReferenceRequestValidationError) Cause() error
- func (e RemoveDocumentReferenceRequestValidationError) Error() string
- func (e RemoveDocumentReferenceRequestValidationError) ErrorName() string
- func (e RemoveDocumentReferenceRequestValidationError) Field() string
- func (e RemoveDocumentReferenceRequestValidationError) Key() bool
- func (e RemoveDocumentReferenceRequestValidationError) Reason() string
- type RemoveDocumentReferenceResponse
- func (*RemoveDocumentReferenceResponse) Descriptor() ([]byte, []int)deprecated
- func (*RemoveDocumentReferenceResponse) ProtoMessage()
- func (x *RemoveDocumentReferenceResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveDocumentReferenceResponse) Reset()
- func (m *RemoveDocumentReferenceResponse) Sanitize() error
- func (x *RemoveDocumentReferenceResponse) String() string
- func (m *RemoveDocumentReferenceResponse) Validate() error
- func (m *RemoveDocumentReferenceResponse) ValidateAll() error
- type RemoveDocumentReferenceResponseMultiError
- type RemoveDocumentReferenceResponseValidationError
- func (e RemoveDocumentReferenceResponseValidationError) Cause() error
- func (e RemoveDocumentReferenceResponseValidationError) Error() string
- func (e RemoveDocumentReferenceResponseValidationError) ErrorName() string
- func (e RemoveDocumentReferenceResponseValidationError) Field() string
- func (e RemoveDocumentReferenceResponseValidationError) Key() bool
- func (e RemoveDocumentReferenceResponseValidationError) Reason() string
- type RemoveDocumentRelationRequest
- func (*RemoveDocumentRelationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveDocumentRelationRequest) GetId() uint64
- func (*RemoveDocumentRelationRequest) ProtoMessage()
- func (x *RemoveDocumentRelationRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveDocumentRelationRequest) Reset()
- func (m *RemoveDocumentRelationRequest) Sanitize() error
- func (x *RemoveDocumentRelationRequest) String() string
- func (m *RemoveDocumentRelationRequest) Validate() error
- func (m *RemoveDocumentRelationRequest) ValidateAll() error
- type RemoveDocumentRelationRequestMultiError
- type RemoveDocumentRelationRequestValidationError
- func (e RemoveDocumentRelationRequestValidationError) Cause() error
- func (e RemoveDocumentRelationRequestValidationError) Error() string
- func (e RemoveDocumentRelationRequestValidationError) ErrorName() string
- func (e RemoveDocumentRelationRequestValidationError) Field() string
- func (e RemoveDocumentRelationRequestValidationError) Key() bool
- func (e RemoveDocumentRelationRequestValidationError) Reason() string
- type RemoveDocumentRelationResponse
- func (*RemoveDocumentRelationResponse) Descriptor() ([]byte, []int)deprecated
- func (*RemoveDocumentRelationResponse) ProtoMessage()
- func (x *RemoveDocumentRelationResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveDocumentRelationResponse) Reset()
- func (m *RemoveDocumentRelationResponse) Sanitize() error
- func (x *RemoveDocumentRelationResponse) String() string
- func (m *RemoveDocumentRelationResponse) Validate() error
- func (m *RemoveDocumentRelationResponse) ValidateAll() error
- type RemoveDocumentRelationResponseMultiError
- type RemoveDocumentRelationResponseValidationError
- func (e RemoveDocumentRelationResponseValidationError) Cause() error
- func (e RemoveDocumentRelationResponseValidationError) Error() string
- func (e RemoveDocumentRelationResponseValidationError) ErrorName() string
- func (e RemoveDocumentRelationResponseValidationError) Field() string
- func (e RemoveDocumentRelationResponseValidationError) Key() bool
- func (e RemoveDocumentRelationResponseValidationError) Reason() string
- type Server
- func (s *Server) AddDocumentReference(ctx context.Context, req *AddDocumentReferenceRequest) (*AddDocumentReferenceResponse, error)
- func (s *Server) AddDocumentRelation(ctx context.Context, req *AddDocumentRelationRequest) (*AddDocumentRelationResponse, error)
- func (s *Server) ChangeDocumentOwner(ctx context.Context, req *ChangeDocumentOwnerRequest) (*ChangeDocumentOwnerResponse, error)
- func (s *Server) CreateCategory(ctx context.Context, req *CreateCategoryRequest) (*CreateCategoryResponse, error)
- func (s *Server) CreateDocument(ctx context.Context, req *CreateDocumentRequest) (*CreateDocumentResponse, error)
- func (s *Server) CreateDocumentReq(ctx context.Context, req *CreateDocumentReqRequest) (*CreateDocumentReqResponse, error)
- func (s *Server) CreateTemplate(ctx context.Context, req *CreateTemplateRequest) (*CreateTemplateResponse, error)
- func (s *Server) DeleteCategory(ctx context.Context, req *DeleteCategoryRequest) (*DeleteCategoryResponse, error)
- func (s *Server) DeleteComment(ctx context.Context, req *DeleteCommentRequest) (*DeleteCommentResponse, error)
- func (s *Server) DeleteDocument(ctx context.Context, req *DeleteDocumentRequest) (*DeleteDocumentResponse, error)
- func (s *Server) DeleteDocumentReq(ctx context.Context, req *DeleteDocumentReqRequest) (*DeleteDocumentReqResponse, error)
- func (s *Server) DeleteTemplate(ctx context.Context, req *DeleteTemplateRequest) (*DeleteTemplateResponse, error)
- func (s *Server) EditComment(ctx context.Context, req *EditCommentRequest) (*EditCommentResponse, error)
- func (s *Server) GetComments(ctx context.Context, req *GetCommentsRequest) (*GetCommentsResponse, error)
- func (s *Server) GetDocument(ctx context.Context, req *GetDocumentRequest) (*GetDocumentResponse, error)
- func (s *Server) GetDocumentAccess(ctx context.Context, req *GetDocumentAccessRequest) (*GetDocumentAccessResponse, error)
- func (s *Server) GetDocumentReferences(ctx context.Context, req *GetDocumentReferencesRequest) (*GetDocumentReferencesResponse, error)
- func (s *Server) GetDocumentRelations(ctx context.Context, req *GetDocumentRelationsRequest) (*GetDocumentRelationsResponse, error)
- func (s *Server) GetPermsRemap() map[string]string
- func (s *Server) GetTemplate(ctx context.Context, req *GetTemplateRequest) (*GetTemplateResponse, error)
- func (s *Server) ListCategories(ctx context.Context, req *ListCategoriesRequest) (*ListCategoriesResponse, error)
- func (s *Server) ListDocumentActivity(ctx context.Context, req *ListDocumentActivityRequest) (*ListDocumentActivityResponse, error)
- func (s *Server) ListDocumentPins(ctx context.Context, req *ListDocumentPinsRequest) (*ListDocumentPinsResponse, error)
- func (s *Server) ListDocumentReqs(ctx context.Context, req *ListDocumentReqsRequest) (*ListDocumentReqsResponse, error)
- func (s *Server) ListDocuments(ctx context.Context, req *ListDocumentsRequest) (*ListDocumentsResponse, error)
- func (s *Server) ListTemplates(ctx context.Context, req *ListTemplatesRequest) (*ListTemplatesResponse, error)
- func (s *Server) ListUserDocuments(ctx context.Context, req *ListUserDocumentsRequest) (*ListUserDocumentsResponse, error)
- func (s *Server) PostComment(ctx context.Context, req *PostCommentRequest) (*PostCommentResponse, error)
- func (s *Server) RegisterServer(srv *grpc.Server)
- func (s *Server) RemoveDocumentReference(ctx context.Context, req *RemoveDocumentReferenceRequest) (*RemoveDocumentReferenceResponse, error)
- func (s *Server) RemoveDocumentRelation(ctx context.Context, req *RemoveDocumentRelationRequest) (*RemoveDocumentRelationResponse, error)
- func (s *Server) SetDocumentAccess(ctx context.Context, req *SetDocumentAccessRequest) (*SetDocumentAccessResponse, error)
- func (s *Server) SetDocumentReminder(ctx context.Context, req *SetDocumentReminderRequest) (*SetDocumentReminderResponse, error)
- func (s *Server) ToggleDocument(ctx context.Context, req *ToggleDocumentRequest) (*ToggleDocumentResponse, error)
- func (s *Server) ToggleDocumentPin(ctx context.Context, req *ToggleDocumentPinRequest) (*ToggleDocumentPinResponse, error)
- func (s *Server) UpdateCategory(ctx context.Context, req *UpdateCategoryRequest) (*UpdateCategoryResponse, error)
- func (s *Server) UpdateDocument(ctx context.Context, req *UpdateDocumentRequest) (*UpdateDocumentResponse, error)
- func (s *Server) UpdateDocumentReq(ctx context.Context, req *UpdateDocumentReqRequest) (*UpdateDocumentReqResponse, error)
- func (s *Server) UpdateTemplate(ctx context.Context, req *UpdateTemplateRequest) (*UpdateTemplateResponse, error)
- type SetDocumentAccessRequest
- func (*SetDocumentAccessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetDocumentAccessRequest) GetAccess() *documents.DocumentAccess
- func (x *SetDocumentAccessRequest) GetDocumentId() uint64
- func (*SetDocumentAccessRequest) ProtoMessage()
- func (x *SetDocumentAccessRequest) ProtoReflect() protoreflect.Message
- func (x *SetDocumentAccessRequest) Reset()
- func (m *SetDocumentAccessRequest) Sanitize() error
- func (x *SetDocumentAccessRequest) String() string
- func (m *SetDocumentAccessRequest) Validate() error
- func (m *SetDocumentAccessRequest) ValidateAll() error
- type SetDocumentAccessRequestMultiError
- type SetDocumentAccessRequestValidationError
- func (e SetDocumentAccessRequestValidationError) Cause() error
- func (e SetDocumentAccessRequestValidationError) Error() string
- func (e SetDocumentAccessRequestValidationError) ErrorName() string
- func (e SetDocumentAccessRequestValidationError) Field() string
- func (e SetDocumentAccessRequestValidationError) Key() bool
- func (e SetDocumentAccessRequestValidationError) Reason() string
- type SetDocumentAccessResponse
- func (*SetDocumentAccessResponse) Descriptor() ([]byte, []int)deprecated
- func (*SetDocumentAccessResponse) ProtoMessage()
- func (x *SetDocumentAccessResponse) ProtoReflect() protoreflect.Message
- func (x *SetDocumentAccessResponse) Reset()
- func (m *SetDocumentAccessResponse) Sanitize() error
- func (x *SetDocumentAccessResponse) String() string
- func (m *SetDocumentAccessResponse) Validate() error
- func (m *SetDocumentAccessResponse) ValidateAll() error
- type SetDocumentAccessResponseMultiError
- type SetDocumentAccessResponseValidationError
- func (e SetDocumentAccessResponseValidationError) Cause() error
- func (e SetDocumentAccessResponseValidationError) Error() string
- func (e SetDocumentAccessResponseValidationError) ErrorName() string
- func (e SetDocumentAccessResponseValidationError) Field() string
- func (e SetDocumentAccessResponseValidationError) Key() bool
- func (e SetDocumentAccessResponseValidationError) Reason() string
- type SetDocumentReminderRequest
- func (*SetDocumentReminderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetDocumentReminderRequest) GetDocumentId() uint64
- func (x *SetDocumentReminderRequest) GetMessage() string
- func (x *SetDocumentReminderRequest) GetReminderTime() *timestamp.Timestamp
- func (*SetDocumentReminderRequest) ProtoMessage()
- func (x *SetDocumentReminderRequest) ProtoReflect() protoreflect.Message
- func (x *SetDocumentReminderRequest) Reset()
- func (m *SetDocumentReminderRequest) Sanitize() error
- func (x *SetDocumentReminderRequest) String() string
- func (m *SetDocumentReminderRequest) Validate() error
- func (m *SetDocumentReminderRequest) ValidateAll() error
- type SetDocumentReminderRequestMultiError
- type SetDocumentReminderRequestValidationError
- func (e SetDocumentReminderRequestValidationError) Cause() error
- func (e SetDocumentReminderRequestValidationError) Error() string
- func (e SetDocumentReminderRequestValidationError) ErrorName() string
- func (e SetDocumentReminderRequestValidationError) Field() string
- func (e SetDocumentReminderRequestValidationError) Key() bool
- func (e SetDocumentReminderRequestValidationError) Reason() string
- type SetDocumentReminderResponse
- func (*SetDocumentReminderResponse) Descriptor() ([]byte, []int)deprecated
- func (*SetDocumentReminderResponse) ProtoMessage()
- func (x *SetDocumentReminderResponse) ProtoReflect() protoreflect.Message
- func (x *SetDocumentReminderResponse) Reset()
- func (m *SetDocumentReminderResponse) Sanitize() error
- func (x *SetDocumentReminderResponse) String() string
- func (m *SetDocumentReminderResponse) Validate() error
- func (m *SetDocumentReminderResponse) ValidateAll() error
- type SetDocumentReminderResponseMultiError
- type SetDocumentReminderResponseValidationError
- func (e SetDocumentReminderResponseValidationError) Cause() error
- func (e SetDocumentReminderResponseValidationError) Error() string
- func (e SetDocumentReminderResponseValidationError) ErrorName() string
- func (e SetDocumentReminderResponseValidationError) Field() string
- func (e SetDocumentReminderResponseValidationError) Key() bool
- func (e SetDocumentReminderResponseValidationError) Reason() string
- type ToggleDocumentPinRequest
- func (*ToggleDocumentPinRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ToggleDocumentPinRequest) GetDocumentId() uint64
- func (x *ToggleDocumentPinRequest) GetState() bool
- func (*ToggleDocumentPinRequest) ProtoMessage()
- func (x *ToggleDocumentPinRequest) ProtoReflect() protoreflect.Message
- func (x *ToggleDocumentPinRequest) Reset()
- func (m *ToggleDocumentPinRequest) Sanitize() error
- func (x *ToggleDocumentPinRequest) String() string
- func (m *ToggleDocumentPinRequest) Validate() error
- func (m *ToggleDocumentPinRequest) ValidateAll() error
- type ToggleDocumentPinRequestMultiError
- type ToggleDocumentPinRequestValidationError
- func (e ToggleDocumentPinRequestValidationError) Cause() error
- func (e ToggleDocumentPinRequestValidationError) Error() string
- func (e ToggleDocumentPinRequestValidationError) ErrorName() string
- func (e ToggleDocumentPinRequestValidationError) Field() string
- func (e ToggleDocumentPinRequestValidationError) Key() bool
- func (e ToggleDocumentPinRequestValidationError) Reason() string
- type ToggleDocumentPinResponse
- func (*ToggleDocumentPinResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ToggleDocumentPinResponse) GetState() bool
- func (*ToggleDocumentPinResponse) ProtoMessage()
- func (x *ToggleDocumentPinResponse) ProtoReflect() protoreflect.Message
- func (x *ToggleDocumentPinResponse) Reset()
- func (m *ToggleDocumentPinResponse) Sanitize() error
- func (x *ToggleDocumentPinResponse) String() string
- func (m *ToggleDocumentPinResponse) Validate() error
- func (m *ToggleDocumentPinResponse) ValidateAll() error
- type ToggleDocumentPinResponseMultiError
- type ToggleDocumentPinResponseValidationError
- func (e ToggleDocumentPinResponseValidationError) Cause() error
- func (e ToggleDocumentPinResponseValidationError) Error() string
- func (e ToggleDocumentPinResponseValidationError) ErrorName() string
- func (e ToggleDocumentPinResponseValidationError) Field() string
- func (e ToggleDocumentPinResponseValidationError) Key() bool
- func (e ToggleDocumentPinResponseValidationError) Reason() string
- type ToggleDocumentRequest
- func (*ToggleDocumentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ToggleDocumentRequest) GetClosed() bool
- func (x *ToggleDocumentRequest) GetDocumentId() uint64
- func (*ToggleDocumentRequest) ProtoMessage()
- func (x *ToggleDocumentRequest) ProtoReflect() protoreflect.Message
- func (x *ToggleDocumentRequest) Reset()
- func (m *ToggleDocumentRequest) Sanitize() error
- func (x *ToggleDocumentRequest) String() string
- func (m *ToggleDocumentRequest) Validate() error
- func (m *ToggleDocumentRequest) ValidateAll() error
- type ToggleDocumentRequestMultiError
- type ToggleDocumentRequestValidationError
- func (e ToggleDocumentRequestValidationError) Cause() error
- func (e ToggleDocumentRequestValidationError) Error() string
- func (e ToggleDocumentRequestValidationError) ErrorName() string
- func (e ToggleDocumentRequestValidationError) Field() string
- func (e ToggleDocumentRequestValidationError) Key() bool
- func (e ToggleDocumentRequestValidationError) Reason() string
- type ToggleDocumentResponse
- func (*ToggleDocumentResponse) Descriptor() ([]byte, []int)deprecated
- func (*ToggleDocumentResponse) ProtoMessage()
- func (x *ToggleDocumentResponse) ProtoReflect() protoreflect.Message
- func (x *ToggleDocumentResponse) Reset()
- func (m *ToggleDocumentResponse) Sanitize() error
- func (x *ToggleDocumentResponse) String() string
- func (m *ToggleDocumentResponse) Validate() error
- func (m *ToggleDocumentResponse) ValidateAll() error
- type ToggleDocumentResponseMultiError
- type ToggleDocumentResponseValidationError
- func (e ToggleDocumentResponseValidationError) Cause() error
- func (e ToggleDocumentResponseValidationError) Error() string
- func (e ToggleDocumentResponseValidationError) ErrorName() string
- func (e ToggleDocumentResponseValidationError) Field() string
- func (e ToggleDocumentResponseValidationError) Key() bool
- func (e ToggleDocumentResponseValidationError) Reason() string
- type UnimplementedDocStoreServiceServer
- func (UnimplementedDocStoreServiceServer) AddDocumentReference(context.Context, *AddDocumentReferenceRequest) (*AddDocumentReferenceResponse, error)
- func (UnimplementedDocStoreServiceServer) AddDocumentRelation(context.Context, *AddDocumentRelationRequest) (*AddDocumentRelationResponse, error)
- func (UnimplementedDocStoreServiceServer) ChangeDocumentOwner(context.Context, *ChangeDocumentOwnerRequest) (*ChangeDocumentOwnerResponse, error)
- func (UnimplementedDocStoreServiceServer) CreateCategory(context.Context, *CreateCategoryRequest) (*CreateCategoryResponse, error)
- func (UnimplementedDocStoreServiceServer) CreateDocument(context.Context, *CreateDocumentRequest) (*CreateDocumentResponse, error)
- func (UnimplementedDocStoreServiceServer) CreateDocumentReq(context.Context, *CreateDocumentReqRequest) (*CreateDocumentReqResponse, error)
- func (UnimplementedDocStoreServiceServer) CreateTemplate(context.Context, *CreateTemplateRequest) (*CreateTemplateResponse, error)
- func (UnimplementedDocStoreServiceServer) DeleteCategory(context.Context, *DeleteCategoryRequest) (*DeleteCategoryResponse, error)
- func (UnimplementedDocStoreServiceServer) DeleteComment(context.Context, *DeleteCommentRequest) (*DeleteCommentResponse, error)
- func (UnimplementedDocStoreServiceServer) DeleteDocument(context.Context, *DeleteDocumentRequest) (*DeleteDocumentResponse, error)
- func (UnimplementedDocStoreServiceServer) DeleteDocumentReq(context.Context, *DeleteDocumentReqRequest) (*DeleteDocumentReqResponse, error)
- func (UnimplementedDocStoreServiceServer) DeleteTemplate(context.Context, *DeleteTemplateRequest) (*DeleteTemplateResponse, error)
- func (UnimplementedDocStoreServiceServer) EditComment(context.Context, *EditCommentRequest) (*EditCommentResponse, error)
- func (UnimplementedDocStoreServiceServer) GetComments(context.Context, *GetCommentsRequest) (*GetCommentsResponse, error)
- func (UnimplementedDocStoreServiceServer) GetDocument(context.Context, *GetDocumentRequest) (*GetDocumentResponse, error)
- func (UnimplementedDocStoreServiceServer) GetDocumentAccess(context.Context, *GetDocumentAccessRequest) (*GetDocumentAccessResponse, error)
- func (UnimplementedDocStoreServiceServer) GetDocumentReferences(context.Context, *GetDocumentReferencesRequest) (*GetDocumentReferencesResponse, error)
- func (UnimplementedDocStoreServiceServer) GetDocumentRelations(context.Context, *GetDocumentRelationsRequest) (*GetDocumentRelationsResponse, error)
- func (UnimplementedDocStoreServiceServer) GetTemplate(context.Context, *GetTemplateRequest) (*GetTemplateResponse, error)
- func (UnimplementedDocStoreServiceServer) ListCategories(context.Context, *ListCategoriesRequest) (*ListCategoriesResponse, error)
- func (UnimplementedDocStoreServiceServer) ListDocumentActivity(context.Context, *ListDocumentActivityRequest) (*ListDocumentActivityResponse, error)
- func (UnimplementedDocStoreServiceServer) ListDocumentPins(context.Context, *ListDocumentPinsRequest) (*ListDocumentPinsResponse, error)
- func (UnimplementedDocStoreServiceServer) ListDocumentReqs(context.Context, *ListDocumentReqsRequest) (*ListDocumentReqsResponse, error)
- func (UnimplementedDocStoreServiceServer) ListDocuments(context.Context, *ListDocumentsRequest) (*ListDocumentsResponse, error)
- func (UnimplementedDocStoreServiceServer) ListTemplates(context.Context, *ListTemplatesRequest) (*ListTemplatesResponse, error)
- func (UnimplementedDocStoreServiceServer) ListUserDocuments(context.Context, *ListUserDocumentsRequest) (*ListUserDocumentsResponse, error)
- func (UnimplementedDocStoreServiceServer) PostComment(context.Context, *PostCommentRequest) (*PostCommentResponse, error)
- func (UnimplementedDocStoreServiceServer) RemoveDocumentReference(context.Context, *RemoveDocumentReferenceRequest) (*RemoveDocumentReferenceResponse, error)
- func (UnimplementedDocStoreServiceServer) RemoveDocumentRelation(context.Context, *RemoveDocumentRelationRequest) (*RemoveDocumentRelationResponse, error)
- func (UnimplementedDocStoreServiceServer) SetDocumentAccess(context.Context, *SetDocumentAccessRequest) (*SetDocumentAccessResponse, error)
- func (UnimplementedDocStoreServiceServer) SetDocumentReminder(context.Context, *SetDocumentReminderRequest) (*SetDocumentReminderResponse, error)
- func (UnimplementedDocStoreServiceServer) ToggleDocument(context.Context, *ToggleDocumentRequest) (*ToggleDocumentResponse, error)
- func (UnimplementedDocStoreServiceServer) ToggleDocumentPin(context.Context, *ToggleDocumentPinRequest) (*ToggleDocumentPinResponse, error)
- func (UnimplementedDocStoreServiceServer) UpdateCategory(context.Context, *UpdateCategoryRequest) (*UpdateCategoryResponse, error)
- func (UnimplementedDocStoreServiceServer) UpdateDocument(context.Context, *UpdateDocumentRequest) (*UpdateDocumentResponse, error)
- func (UnimplementedDocStoreServiceServer) UpdateDocumentReq(context.Context, *UpdateDocumentReqRequest) (*UpdateDocumentReqResponse, error)
- func (UnimplementedDocStoreServiceServer) UpdateTemplate(context.Context, *UpdateTemplateRequest) (*UpdateTemplateResponse, error)
- type UnsafeDocStoreServiceServer
- type UpdateCategoryRequest
- func (*UpdateCategoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCategoryRequest) GetCategory() *documents.Category
- func (*UpdateCategoryRequest) ProtoMessage()
- func (x *UpdateCategoryRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCategoryRequest) Reset()
- func (m *UpdateCategoryRequest) Sanitize() error
- func (x *UpdateCategoryRequest) String() string
- func (m *UpdateCategoryRequest) Validate() error
- func (m *UpdateCategoryRequest) ValidateAll() error
- type UpdateCategoryRequestMultiError
- type UpdateCategoryRequestValidationError
- func (e UpdateCategoryRequestValidationError) Cause() error
- func (e UpdateCategoryRequestValidationError) Error() string
- func (e UpdateCategoryRequestValidationError) ErrorName() string
- func (e UpdateCategoryRequestValidationError) Field() string
- func (e UpdateCategoryRequestValidationError) Key() bool
- func (e UpdateCategoryRequestValidationError) Reason() string
- type UpdateCategoryResponse
- func (*UpdateCategoryResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateCategoryResponse) ProtoMessage()
- func (x *UpdateCategoryResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateCategoryResponse) Reset()
- func (m *UpdateCategoryResponse) Sanitize() error
- func (x *UpdateCategoryResponse) String() string
- func (m *UpdateCategoryResponse) Validate() error
- func (m *UpdateCategoryResponse) ValidateAll() error
- type UpdateCategoryResponseMultiError
- type UpdateCategoryResponseValidationError
- func (e UpdateCategoryResponseValidationError) Cause() error
- func (e UpdateCategoryResponseValidationError) Error() string
- func (e UpdateCategoryResponseValidationError) ErrorName() string
- func (e UpdateCategoryResponseValidationError) Field() string
- func (e UpdateCategoryResponseValidationError) Key() bool
- func (e UpdateCategoryResponseValidationError) Reason() string
- type UpdateDocumentReqRequest
- func (*UpdateDocumentReqRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDocumentReqRequest) GetAccepted() bool
- func (x *UpdateDocumentReqRequest) GetData() *documents.DocActivityData
- func (x *UpdateDocumentReqRequest) GetDocumentId() uint64
- func (x *UpdateDocumentReqRequest) GetReason() string
- func (x *UpdateDocumentReqRequest) GetRequestId() uint64
- func (*UpdateDocumentReqRequest) ProtoMessage()
- func (x *UpdateDocumentReqRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDocumentReqRequest) Reset()
- func (m *UpdateDocumentReqRequest) Sanitize() error
- func (x *UpdateDocumentReqRequest) String() string
- func (m *UpdateDocumentReqRequest) Validate() error
- func (m *UpdateDocumentReqRequest) ValidateAll() error
- type UpdateDocumentReqRequestMultiError
- type UpdateDocumentReqRequestValidationError
- func (e UpdateDocumentReqRequestValidationError) Cause() error
- func (e UpdateDocumentReqRequestValidationError) Error() string
- func (e UpdateDocumentReqRequestValidationError) ErrorName() string
- func (e UpdateDocumentReqRequestValidationError) Field() string
- func (e UpdateDocumentReqRequestValidationError) Key() bool
- func (e UpdateDocumentReqRequestValidationError) Reason() string
- type UpdateDocumentReqResponse
- func (*UpdateDocumentReqResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDocumentReqResponse) GetRequest() *documents.DocRequest
- func (*UpdateDocumentReqResponse) ProtoMessage()
- func (x *UpdateDocumentReqResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateDocumentReqResponse) Reset()
- func (m *UpdateDocumentReqResponse) Sanitize() error
- func (x *UpdateDocumentReqResponse) String() string
- func (m *UpdateDocumentReqResponse) Validate() error
- func (m *UpdateDocumentReqResponse) ValidateAll() error
- type UpdateDocumentReqResponseMultiError
- type UpdateDocumentReqResponseValidationError
- func (e UpdateDocumentReqResponseValidationError) Cause() error
- func (e UpdateDocumentReqResponseValidationError) Error() string
- func (e UpdateDocumentReqResponseValidationError) ErrorName() string
- func (e UpdateDocumentReqResponseValidationError) Field() string
- func (e UpdateDocumentReqResponseValidationError) Key() bool
- func (e UpdateDocumentReqResponseValidationError) Reason() string
- type UpdateDocumentRequest
- func (*UpdateDocumentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDocumentRequest) GetAccess() *documents.DocumentAccess
- func (x *UpdateDocumentRequest) GetCategoryId() uint64
- func (x *UpdateDocumentRequest) GetClosed() bool
- func (x *UpdateDocumentRequest) GetContent() *content.Content
- func (x *UpdateDocumentRequest) GetContentType() content.ContentType
- func (x *UpdateDocumentRequest) GetData() string
- func (x *UpdateDocumentRequest) GetDocumentId() uint64
- func (x *UpdateDocumentRequest) GetPublic() bool
- func (x *UpdateDocumentRequest) GetState() string
- func (x *UpdateDocumentRequest) GetTitle() string
- func (*UpdateDocumentRequest) ProtoMessage()
- func (x *UpdateDocumentRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDocumentRequest) Reset()
- func (m *UpdateDocumentRequest) Sanitize() error
- func (x *UpdateDocumentRequest) String() string
- func (m *UpdateDocumentRequest) Validate() error
- func (m *UpdateDocumentRequest) ValidateAll() error
- type UpdateDocumentRequestMultiError
- type UpdateDocumentRequestValidationError
- func (e UpdateDocumentRequestValidationError) Cause() error
- func (e UpdateDocumentRequestValidationError) Error() string
- func (e UpdateDocumentRequestValidationError) ErrorName() string
- func (e UpdateDocumentRequestValidationError) Field() string
- func (e UpdateDocumentRequestValidationError) Key() bool
- func (e UpdateDocumentRequestValidationError) Reason() string
- type UpdateDocumentResponse
- func (*UpdateDocumentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDocumentResponse) GetDocumentId() uint64
- func (*UpdateDocumentResponse) ProtoMessage()
- func (x *UpdateDocumentResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateDocumentResponse) Reset()
- func (m *UpdateDocumentResponse) Sanitize() error
- func (x *UpdateDocumentResponse) String() string
- func (m *UpdateDocumentResponse) Validate() error
- func (m *UpdateDocumentResponse) ValidateAll() error
- type UpdateDocumentResponseMultiError
- type UpdateDocumentResponseValidationError
- func (e UpdateDocumentResponseValidationError) Cause() error
- func (e UpdateDocumentResponseValidationError) Error() string
- func (e UpdateDocumentResponseValidationError) ErrorName() string
- func (e UpdateDocumentResponseValidationError) Field() string
- func (e UpdateDocumentResponseValidationError) Key() bool
- func (e UpdateDocumentResponseValidationError) Reason() string
- type UpdateTemplateRequest
- func (*UpdateTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTemplateRequest) GetTemplate() *documents.Template
- func (*UpdateTemplateRequest) ProtoMessage()
- func (x *UpdateTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTemplateRequest) Reset()
- func (m *UpdateTemplateRequest) Sanitize() error
- func (x *UpdateTemplateRequest) String() string
- func (m *UpdateTemplateRequest) Validate() error
- func (m *UpdateTemplateRequest) ValidateAll() error
- type UpdateTemplateRequestMultiError
- type UpdateTemplateRequestValidationError
- func (e UpdateTemplateRequestValidationError) Cause() error
- func (e UpdateTemplateRequestValidationError) Error() string
- func (e UpdateTemplateRequestValidationError) ErrorName() string
- func (e UpdateTemplateRequestValidationError) Field() string
- func (e UpdateTemplateRequestValidationError) Key() bool
- func (e UpdateTemplateRequestValidationError) Reason() string
- type UpdateTemplateResponse
- func (*UpdateTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTemplateResponse) GetTemplate() *documents.Template
- func (*UpdateTemplateResponse) ProtoMessage()
- func (x *UpdateTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateTemplateResponse) Reset()
- func (m *UpdateTemplateResponse) Sanitize() error
- func (x *UpdateTemplateResponse) String() string
- func (m *UpdateTemplateResponse) Validate() error
- func (m *UpdateTemplateResponse) ValidateAll() error
- type UpdateTemplateResponseMultiError
- type UpdateTemplateResponseValidationError
- func (e UpdateTemplateResponseValidationError) Cause() error
- func (e UpdateTemplateResponseValidationError) Error() string
- func (e UpdateTemplateResponseValidationError) ErrorName() string
- func (e UpdateTemplateResponseValidationError) Field() string
- func (e UpdateTemplateResponseValidationError) Key() bool
- func (e UpdateTemplateResponseValidationError) Reason() string
- type Workflow
- type WorkflowParams
Constants ¶
const ( CommentsDefaultPageSize = 8 CommentsMaxLength = 2048 )
const ( DocsDefaultPageSize = 16 DocSummaryLength = 128 )
const ( DocStoreService_ListTemplates_FullMethodName = "/services.docstore.DocStoreService/ListTemplates" DocStoreService_GetTemplate_FullMethodName = "/services.docstore.DocStoreService/GetTemplate" DocStoreService_CreateTemplate_FullMethodName = "/services.docstore.DocStoreService/CreateTemplate" DocStoreService_UpdateTemplate_FullMethodName = "/services.docstore.DocStoreService/UpdateTemplate" DocStoreService_DeleteTemplate_FullMethodName = "/services.docstore.DocStoreService/DeleteTemplate" DocStoreService_ListDocuments_FullMethodName = "/services.docstore.DocStoreService/ListDocuments" DocStoreService_GetDocument_FullMethodName = "/services.docstore.DocStoreService/GetDocument" DocStoreService_CreateDocument_FullMethodName = "/services.docstore.DocStoreService/CreateDocument" DocStoreService_UpdateDocument_FullMethodName = "/services.docstore.DocStoreService/UpdateDocument" DocStoreService_DeleteDocument_FullMethodName = "/services.docstore.DocStoreService/DeleteDocument" DocStoreService_ToggleDocument_FullMethodName = "/services.docstore.DocStoreService/ToggleDocument" DocStoreService_ChangeDocumentOwner_FullMethodName = "/services.docstore.DocStoreService/ChangeDocumentOwner" DocStoreService_GetDocumentReferences_FullMethodName = "/services.docstore.DocStoreService/GetDocumentReferences" DocStoreService_GetDocumentRelations_FullMethodName = "/services.docstore.DocStoreService/GetDocumentRelations" DocStoreService_AddDocumentReference_FullMethodName = "/services.docstore.DocStoreService/AddDocumentReference" DocStoreService_RemoveDocumentReference_FullMethodName = "/services.docstore.DocStoreService/RemoveDocumentReference" DocStoreService_AddDocumentRelation_FullMethodName = "/services.docstore.DocStoreService/AddDocumentRelation" DocStoreService_RemoveDocumentRelation_FullMethodName = "/services.docstore.DocStoreService/RemoveDocumentRelation" DocStoreService_GetComments_FullMethodName = "/services.docstore.DocStoreService/GetComments" DocStoreService_PostComment_FullMethodName = "/services.docstore.DocStoreService/PostComment" DocStoreService_EditComment_FullMethodName = "/services.docstore.DocStoreService/EditComment" DocStoreService_DeleteComment_FullMethodName = "/services.docstore.DocStoreService/DeleteComment" DocStoreService_GetDocumentAccess_FullMethodName = "/services.docstore.DocStoreService/GetDocumentAccess" DocStoreService_SetDocumentAccess_FullMethodName = "/services.docstore.DocStoreService/SetDocumentAccess" DocStoreService_ListDocumentActivity_FullMethodName = "/services.docstore.DocStoreService/ListDocumentActivity" DocStoreService_ListDocumentReqs_FullMethodName = "/services.docstore.DocStoreService/ListDocumentReqs" DocStoreService_CreateDocumentReq_FullMethodName = "/services.docstore.DocStoreService/CreateDocumentReq" DocStoreService_UpdateDocumentReq_FullMethodName = "/services.docstore.DocStoreService/UpdateDocumentReq" DocStoreService_DeleteDocumentReq_FullMethodName = "/services.docstore.DocStoreService/DeleteDocumentReq" DocStoreService_ListUserDocuments_FullMethodName = "/services.docstore.DocStoreService/ListUserDocuments" DocStoreService_ListCategories_FullMethodName = "/services.docstore.DocStoreService/ListCategories" DocStoreService_CreateCategory_FullMethodName = "/services.docstore.DocStoreService/CreateCategory" DocStoreService_UpdateCategory_FullMethodName = "/services.docstore.DocStoreService/UpdateCategory" DocStoreService_DeleteCategory_FullMethodName = "/services.docstore.DocStoreService/DeleteCategory" DocStoreService_ListDocumentPins_FullMethodName = "/services.docstore.DocStoreService/ListDocumentPins" DocStoreService_ToggleDocumentPin_FullMethodName = "/services.docstore.DocStoreService/ToggleDocumentPin" DocStoreService_SetDocumentReminder_FullMethodName = "/services.docstore.DocStoreService/SetDocumentReminder" )
const (
ActivityDefaultPageSize = 10
)
const DocRequestMinimumWaitTime = 24 * time.Hour
Variables ¶
var DocStoreService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "services.docstore.DocStoreService", HandlerType: (*DocStoreServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListTemplates", Handler: _DocStoreService_ListTemplates_Handler, }, { MethodName: "GetTemplate", Handler: _DocStoreService_GetTemplate_Handler, }, { MethodName: "CreateTemplate", Handler: _DocStoreService_CreateTemplate_Handler, }, { MethodName: "UpdateTemplate", Handler: _DocStoreService_UpdateTemplate_Handler, }, { MethodName: "DeleteTemplate", Handler: _DocStoreService_DeleteTemplate_Handler, }, { MethodName: "ListDocuments", Handler: _DocStoreService_ListDocuments_Handler, }, { MethodName: "GetDocument", Handler: _DocStoreService_GetDocument_Handler, }, { MethodName: "CreateDocument", Handler: _DocStoreService_CreateDocument_Handler, }, { MethodName: "UpdateDocument", Handler: _DocStoreService_UpdateDocument_Handler, }, { MethodName: "DeleteDocument", Handler: _DocStoreService_DeleteDocument_Handler, }, { MethodName: "ToggleDocument", Handler: _DocStoreService_ToggleDocument_Handler, }, { MethodName: "ChangeDocumentOwner", Handler: _DocStoreService_ChangeDocumentOwner_Handler, }, { MethodName: "GetDocumentReferences", Handler: _DocStoreService_GetDocumentReferences_Handler, }, { MethodName: "GetDocumentRelations", Handler: _DocStoreService_GetDocumentRelations_Handler, }, { MethodName: "AddDocumentReference", Handler: _DocStoreService_AddDocumentReference_Handler, }, { MethodName: "RemoveDocumentReference", Handler: _DocStoreService_RemoveDocumentReference_Handler, }, { MethodName: "AddDocumentRelation", Handler: _DocStoreService_AddDocumentRelation_Handler, }, { MethodName: "RemoveDocumentRelation", Handler: _DocStoreService_RemoveDocumentRelation_Handler, }, { MethodName: "GetComments", Handler: _DocStoreService_GetComments_Handler, }, { MethodName: "PostComment", Handler: _DocStoreService_PostComment_Handler, }, { MethodName: "EditComment", Handler: _DocStoreService_EditComment_Handler, }, { MethodName: "DeleteComment", Handler: _DocStoreService_DeleteComment_Handler, }, { MethodName: "GetDocumentAccess", Handler: _DocStoreService_GetDocumentAccess_Handler, }, { MethodName: "SetDocumentAccess", Handler: _DocStoreService_SetDocumentAccess_Handler, }, { MethodName: "ListDocumentActivity", Handler: _DocStoreService_ListDocumentActivity_Handler, }, { MethodName: "ListDocumentReqs", Handler: _DocStoreService_ListDocumentReqs_Handler, }, { MethodName: "CreateDocumentReq", Handler: _DocStoreService_CreateDocumentReq_Handler, }, { MethodName: "UpdateDocumentReq", Handler: _DocStoreService_UpdateDocumentReq_Handler, }, { MethodName: "DeleteDocumentReq", Handler: _DocStoreService_DeleteDocumentReq_Handler, }, { MethodName: "ListUserDocuments", Handler: _DocStoreService_ListUserDocuments_Handler, }, { MethodName: "ListCategories", Handler: _DocStoreService_ListCategories_Handler, }, { MethodName: "CreateCategory", Handler: _DocStoreService_CreateCategory_Handler, }, { MethodName: "UpdateCategory", Handler: _DocStoreService_UpdateCategory_Handler, }, { MethodName: "DeleteCategory", Handler: _DocStoreService_DeleteCategory_Handler, }, { MethodName: "ListDocumentPins", Handler: _DocStoreService_ListDocumentPins_Handler, }, { MethodName: "ToggleDocumentPin", Handler: _DocStoreService_ToggleDocumentPin_Handler, }, { MethodName: "SetDocumentReminder", Handler: _DocStoreService_SetDocumentReminder_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "services/docstore/docstore.proto", }
DocStoreService_ServiceDesc is the grpc.ServiceDesc for DocStoreService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_services_docstore_docstore_proto protoreflect.FileDescriptor
var PermsRemap = map[string]string{
"DocStoreService/EditComment": "DocStoreService/PostComment",
"DocStoreService/GetComments": "DocStoreService/ListDocuments",
"DocStoreService/GetDocument": "DocStoreService/ListDocuments",
"DocStoreService/GetDocumentAccess": "DocStoreService/ListDocuments",
"DocStoreService/GetDocumentReferences": "DocStoreService/ListDocuments",
"DocStoreService/GetDocumentRelations": "DocStoreService/ListDocuments",
"DocStoreService/GetTemplate": "DocStoreService/ListTemplates",
"DocStoreService/ListDocumentPins": "DocStoreService/ListDocuments",
"DocStoreService/RemoveDocumentReference": "DocStoreService/AddDocumentReference",
"DocStoreService/RemoveDocumentRelation": "DocStoreService/AddDocumentRelation",
"DocStoreService/SetDocumentAccess": "DocStoreService/CreateDocument",
"DocStoreService/UpdateCategory": "DocStoreService/CreateCategory",
"DocStoreService/UpdateDocumentReq": "DocStoreService/CreateDocumentReq",
"DocStoreService/UpdateTemplate": "DocStoreService/CreateTemplate",
}
Functions ¶
func RegisterDocStoreServiceServer ¶
func RegisterDocStoreServiceServer(s grpc.ServiceRegistrar, srv DocStoreServiceServer)
Types ¶
type AddDocumentReferenceRequest ¶
type AddDocumentReferenceRequest struct { Reference *documents.DocumentReference `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` // contains filtered or unexported fields }
func (*AddDocumentReferenceRequest) Descriptor
deprecated
func (*AddDocumentReferenceRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddDocumentReferenceRequest.ProtoReflect.Descriptor instead.
func (*AddDocumentReferenceRequest) GetReference ¶
func (x *AddDocumentReferenceRequest) GetReference() *documents.DocumentReference
func (*AddDocumentReferenceRequest) ProtoMessage ¶
func (*AddDocumentReferenceRequest) ProtoMessage()
func (*AddDocumentReferenceRequest) ProtoReflect ¶
func (x *AddDocumentReferenceRequest) ProtoReflect() protoreflect.Message
func (*AddDocumentReferenceRequest) Reset ¶
func (x *AddDocumentReferenceRequest) Reset()
func (*AddDocumentReferenceRequest) Sanitize ¶ added in v0.9.4
func (m *AddDocumentReferenceRequest) Sanitize() error
func (*AddDocumentReferenceRequest) String ¶
func (x *AddDocumentReferenceRequest) String() string
func (*AddDocumentReferenceRequest) Validate ¶
func (m *AddDocumentReferenceRequest) Validate() error
Validate checks the field values on AddDocumentReferenceRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AddDocumentReferenceRequest) ValidateAll ¶
func (m *AddDocumentReferenceRequest) ValidateAll() error
ValidateAll checks the field values on AddDocumentReferenceRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddDocumentReferenceRequestMultiError, or nil if none found.
type AddDocumentReferenceRequestMultiError ¶
type AddDocumentReferenceRequestMultiError []error
AddDocumentReferenceRequestMultiError is an error wrapping multiple validation errors returned by AddDocumentReferenceRequest.ValidateAll() if the designated constraints aren't met.
func (AddDocumentReferenceRequestMultiError) AllErrors ¶
func (m AddDocumentReferenceRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddDocumentReferenceRequestMultiError) Error ¶
func (m AddDocumentReferenceRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddDocumentReferenceRequestValidationError ¶
type AddDocumentReferenceRequestValidationError struct {
// contains filtered or unexported fields
}
AddDocumentReferenceRequestValidationError is the validation error returned by AddDocumentReferenceRequest.Validate if the designated constraints aren't met.
func (AddDocumentReferenceRequestValidationError) Cause ¶
func (e AddDocumentReferenceRequestValidationError) Cause() error
Cause function returns cause value.
func (AddDocumentReferenceRequestValidationError) Error ¶
func (e AddDocumentReferenceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddDocumentReferenceRequestValidationError) ErrorName ¶
func (e AddDocumentReferenceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddDocumentReferenceRequestValidationError) Field ¶
func (e AddDocumentReferenceRequestValidationError) Field() string
Field function returns field value.
func (AddDocumentReferenceRequestValidationError) Key ¶
func (e AddDocumentReferenceRequestValidationError) Key() bool
Key function returns key value.
func (AddDocumentReferenceRequestValidationError) Reason ¶
func (e AddDocumentReferenceRequestValidationError) Reason() string
Reason function returns reason value.
type AddDocumentReferenceResponse ¶
type AddDocumentReferenceResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*AddDocumentReferenceResponse) Descriptor
deprecated
func (*AddDocumentReferenceResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddDocumentReferenceResponse.ProtoReflect.Descriptor instead.
func (*AddDocumentReferenceResponse) GetId ¶
func (x *AddDocumentReferenceResponse) GetId() uint64
func (*AddDocumentReferenceResponse) ProtoMessage ¶
func (*AddDocumentReferenceResponse) ProtoMessage()
func (*AddDocumentReferenceResponse) ProtoReflect ¶
func (x *AddDocumentReferenceResponse) ProtoReflect() protoreflect.Message
func (*AddDocumentReferenceResponse) Reset ¶
func (x *AddDocumentReferenceResponse) Reset()
func (*AddDocumentReferenceResponse) Sanitize ¶ added in v0.9.4
func (m *AddDocumentReferenceResponse) Sanitize() error
func (*AddDocumentReferenceResponse) String ¶
func (x *AddDocumentReferenceResponse) String() string
func (*AddDocumentReferenceResponse) Validate ¶
func (m *AddDocumentReferenceResponse) Validate() error
Validate checks the field values on AddDocumentReferenceResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AddDocumentReferenceResponse) ValidateAll ¶
func (m *AddDocumentReferenceResponse) ValidateAll() error
ValidateAll checks the field values on AddDocumentReferenceResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddDocumentReferenceResponseMultiError, or nil if none found.
type AddDocumentReferenceResponseMultiError ¶
type AddDocumentReferenceResponseMultiError []error
AddDocumentReferenceResponseMultiError is an error wrapping multiple validation errors returned by AddDocumentReferenceResponse.ValidateAll() if the designated constraints aren't met.
func (AddDocumentReferenceResponseMultiError) AllErrors ¶
func (m AddDocumentReferenceResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddDocumentReferenceResponseMultiError) Error ¶
func (m AddDocumentReferenceResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddDocumentReferenceResponseValidationError ¶
type AddDocumentReferenceResponseValidationError struct {
// contains filtered or unexported fields
}
AddDocumentReferenceResponseValidationError is the validation error returned by AddDocumentReferenceResponse.Validate if the designated constraints aren't met.
func (AddDocumentReferenceResponseValidationError) Cause ¶
func (e AddDocumentReferenceResponseValidationError) Cause() error
Cause function returns cause value.
func (AddDocumentReferenceResponseValidationError) Error ¶
func (e AddDocumentReferenceResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AddDocumentReferenceResponseValidationError) ErrorName ¶
func (e AddDocumentReferenceResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AddDocumentReferenceResponseValidationError) Field ¶
func (e AddDocumentReferenceResponseValidationError) Field() string
Field function returns field value.
func (AddDocumentReferenceResponseValidationError) Key ¶
func (e AddDocumentReferenceResponseValidationError) Key() bool
Key function returns key value.
func (AddDocumentReferenceResponseValidationError) Reason ¶
func (e AddDocumentReferenceResponseValidationError) Reason() string
Reason function returns reason value.
type AddDocumentRelationRequest ¶
type AddDocumentRelationRequest struct { Relation *documents.DocumentRelation `protobuf:"bytes,1,opt,name=relation,proto3" json:"relation,omitempty"` // contains filtered or unexported fields }
func (*AddDocumentRelationRequest) Descriptor
deprecated
func (*AddDocumentRelationRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddDocumentRelationRequest.ProtoReflect.Descriptor instead.
func (*AddDocumentRelationRequest) GetRelation ¶
func (x *AddDocumentRelationRequest) GetRelation() *documents.DocumentRelation
func (*AddDocumentRelationRequest) ProtoMessage ¶
func (*AddDocumentRelationRequest) ProtoMessage()
func (*AddDocumentRelationRequest) ProtoReflect ¶
func (x *AddDocumentRelationRequest) ProtoReflect() protoreflect.Message
func (*AddDocumentRelationRequest) Reset ¶
func (x *AddDocumentRelationRequest) Reset()
func (*AddDocumentRelationRequest) Sanitize ¶ added in v0.9.4
func (m *AddDocumentRelationRequest) Sanitize() error
func (*AddDocumentRelationRequest) String ¶
func (x *AddDocumentRelationRequest) String() string
func (*AddDocumentRelationRequest) Validate ¶
func (m *AddDocumentRelationRequest) Validate() error
Validate checks the field values on AddDocumentRelationRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AddDocumentRelationRequest) ValidateAll ¶
func (m *AddDocumentRelationRequest) ValidateAll() error
ValidateAll checks the field values on AddDocumentRelationRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddDocumentRelationRequestMultiError, or nil if none found.
type AddDocumentRelationRequestMultiError ¶
type AddDocumentRelationRequestMultiError []error
AddDocumentRelationRequestMultiError is an error wrapping multiple validation errors returned by AddDocumentRelationRequest.ValidateAll() if the designated constraints aren't met.
func (AddDocumentRelationRequestMultiError) AllErrors ¶
func (m AddDocumentRelationRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddDocumentRelationRequestMultiError) Error ¶
func (m AddDocumentRelationRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddDocumentRelationRequestValidationError ¶
type AddDocumentRelationRequestValidationError struct {
// contains filtered or unexported fields
}
AddDocumentRelationRequestValidationError is the validation error returned by AddDocumentRelationRequest.Validate if the designated constraints aren't met.
func (AddDocumentRelationRequestValidationError) Cause ¶
func (e AddDocumentRelationRequestValidationError) Cause() error
Cause function returns cause value.
func (AddDocumentRelationRequestValidationError) Error ¶
func (e AddDocumentRelationRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddDocumentRelationRequestValidationError) ErrorName ¶
func (e AddDocumentRelationRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddDocumentRelationRequestValidationError) Field ¶
func (e AddDocumentRelationRequestValidationError) Field() string
Field function returns field value.
func (AddDocumentRelationRequestValidationError) Key ¶
func (e AddDocumentRelationRequestValidationError) Key() bool
Key function returns key value.
func (AddDocumentRelationRequestValidationError) Reason ¶
func (e AddDocumentRelationRequestValidationError) Reason() string
Reason function returns reason value.
type AddDocumentRelationResponse ¶
type AddDocumentRelationResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*AddDocumentRelationResponse) Descriptor
deprecated
func (*AddDocumentRelationResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddDocumentRelationResponse.ProtoReflect.Descriptor instead.
func (*AddDocumentRelationResponse) GetId ¶
func (x *AddDocumentRelationResponse) GetId() uint64
func (*AddDocumentRelationResponse) ProtoMessage ¶
func (*AddDocumentRelationResponse) ProtoMessage()
func (*AddDocumentRelationResponse) ProtoReflect ¶
func (x *AddDocumentRelationResponse) ProtoReflect() protoreflect.Message
func (*AddDocumentRelationResponse) Reset ¶
func (x *AddDocumentRelationResponse) Reset()
func (*AddDocumentRelationResponse) Sanitize ¶ added in v0.9.4
func (m *AddDocumentRelationResponse) Sanitize() error
func (*AddDocumentRelationResponse) String ¶
func (x *AddDocumentRelationResponse) String() string
func (*AddDocumentRelationResponse) Validate ¶
func (m *AddDocumentRelationResponse) Validate() error
Validate checks the field values on AddDocumentRelationResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AddDocumentRelationResponse) ValidateAll ¶
func (m *AddDocumentRelationResponse) ValidateAll() error
ValidateAll checks the field values on AddDocumentRelationResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddDocumentRelationResponseMultiError, or nil if none found.
type AddDocumentRelationResponseMultiError ¶
type AddDocumentRelationResponseMultiError []error
AddDocumentRelationResponseMultiError is an error wrapping multiple validation errors returned by AddDocumentRelationResponse.ValidateAll() if the designated constraints aren't met.
func (AddDocumentRelationResponseMultiError) AllErrors ¶
func (m AddDocumentRelationResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddDocumentRelationResponseMultiError) Error ¶
func (m AddDocumentRelationResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddDocumentRelationResponseValidationError ¶
type AddDocumentRelationResponseValidationError struct {
// contains filtered or unexported fields
}
AddDocumentRelationResponseValidationError is the validation error returned by AddDocumentRelationResponse.Validate if the designated constraints aren't met.
func (AddDocumentRelationResponseValidationError) Cause ¶
func (e AddDocumentRelationResponseValidationError) Cause() error
Cause function returns cause value.
func (AddDocumentRelationResponseValidationError) Error ¶
func (e AddDocumentRelationResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AddDocumentRelationResponseValidationError) ErrorName ¶
func (e AddDocumentRelationResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AddDocumentRelationResponseValidationError) Field ¶
func (e AddDocumentRelationResponseValidationError) Field() string
Field function returns field value.
func (AddDocumentRelationResponseValidationError) Key ¶
func (e AddDocumentRelationResponseValidationError) Key() bool
Key function returns key value.
func (AddDocumentRelationResponseValidationError) Reason ¶
func (e AddDocumentRelationResponseValidationError) Reason() string
Reason function returns reason value.
type ChangeDocumentOwnerRequest ¶
type ChangeDocumentOwnerRequest struct { DocumentId uint64 `protobuf:"varint,1,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` NewUserId *int32 `protobuf:"varint,2,opt,name=new_user_id,json=newUserId,proto3,oneof" json:"new_user_id,omitempty"` // contains filtered or unexported fields }
func (*ChangeDocumentOwnerRequest) Descriptor
deprecated
func (*ChangeDocumentOwnerRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangeDocumentOwnerRequest.ProtoReflect.Descriptor instead.
func (*ChangeDocumentOwnerRequest) GetDocumentId ¶
func (x *ChangeDocumentOwnerRequest) GetDocumentId() uint64
func (*ChangeDocumentOwnerRequest) GetNewUserId ¶
func (x *ChangeDocumentOwnerRequest) GetNewUserId() int32
func (*ChangeDocumentOwnerRequest) ProtoMessage ¶
func (*ChangeDocumentOwnerRequest) ProtoMessage()
func (*ChangeDocumentOwnerRequest) ProtoReflect ¶
func (x *ChangeDocumentOwnerRequest) ProtoReflect() protoreflect.Message
func (*ChangeDocumentOwnerRequest) Reset ¶
func (x *ChangeDocumentOwnerRequest) Reset()
func (*ChangeDocumentOwnerRequest) Sanitize ¶ added in v0.9.4
func (m *ChangeDocumentOwnerRequest) Sanitize() error
func (*ChangeDocumentOwnerRequest) String ¶
func (x *ChangeDocumentOwnerRequest) String() string
func (*ChangeDocumentOwnerRequest) Validate ¶
func (m *ChangeDocumentOwnerRequest) Validate() error
Validate checks the field values on ChangeDocumentOwnerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ChangeDocumentOwnerRequest) ValidateAll ¶
func (m *ChangeDocumentOwnerRequest) ValidateAll() error
ValidateAll checks the field values on ChangeDocumentOwnerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ChangeDocumentOwnerRequestMultiError, or nil if none found.
type ChangeDocumentOwnerRequestMultiError ¶
type ChangeDocumentOwnerRequestMultiError []error
ChangeDocumentOwnerRequestMultiError is an error wrapping multiple validation errors returned by ChangeDocumentOwnerRequest.ValidateAll() if the designated constraints aren't met.
func (ChangeDocumentOwnerRequestMultiError) AllErrors ¶
func (m ChangeDocumentOwnerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ChangeDocumentOwnerRequestMultiError) Error ¶
func (m ChangeDocumentOwnerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ChangeDocumentOwnerRequestValidationError ¶
type ChangeDocumentOwnerRequestValidationError struct {
// contains filtered or unexported fields
}
ChangeDocumentOwnerRequestValidationError is the validation error returned by ChangeDocumentOwnerRequest.Validate if the designated constraints aren't met.
func (ChangeDocumentOwnerRequestValidationError) Cause ¶
func (e ChangeDocumentOwnerRequestValidationError) Cause() error
Cause function returns cause value.
func (ChangeDocumentOwnerRequestValidationError) Error ¶
func (e ChangeDocumentOwnerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ChangeDocumentOwnerRequestValidationError) ErrorName ¶
func (e ChangeDocumentOwnerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ChangeDocumentOwnerRequestValidationError) Field ¶
func (e ChangeDocumentOwnerRequestValidationError) Field() string
Field function returns field value.
func (ChangeDocumentOwnerRequestValidationError) Key ¶
func (e ChangeDocumentOwnerRequestValidationError) Key() bool
Key function returns key value.
func (ChangeDocumentOwnerRequestValidationError) Reason ¶
func (e ChangeDocumentOwnerRequestValidationError) Reason() string
Reason function returns reason value.
type ChangeDocumentOwnerResponse ¶
type ChangeDocumentOwnerResponse struct {
// contains filtered or unexported fields
}
func (*ChangeDocumentOwnerResponse) Descriptor
deprecated
func (*ChangeDocumentOwnerResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChangeDocumentOwnerResponse.ProtoReflect.Descriptor instead.
func (*ChangeDocumentOwnerResponse) ProtoMessage ¶
func (*ChangeDocumentOwnerResponse) ProtoMessage()
func (*ChangeDocumentOwnerResponse) ProtoReflect ¶
func (x *ChangeDocumentOwnerResponse) ProtoReflect() protoreflect.Message
func (*ChangeDocumentOwnerResponse) Reset ¶
func (x *ChangeDocumentOwnerResponse) Reset()
func (*ChangeDocumentOwnerResponse) Sanitize ¶ added in v0.9.4
func (m *ChangeDocumentOwnerResponse) Sanitize() error
func (*ChangeDocumentOwnerResponse) String ¶
func (x *ChangeDocumentOwnerResponse) String() string
func (*ChangeDocumentOwnerResponse) Validate ¶
func (m *ChangeDocumentOwnerResponse) Validate() error
Validate checks the field values on ChangeDocumentOwnerResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ChangeDocumentOwnerResponse) ValidateAll ¶
func (m *ChangeDocumentOwnerResponse) ValidateAll() error
ValidateAll checks the field values on ChangeDocumentOwnerResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ChangeDocumentOwnerResponseMultiError, or nil if none found.
type ChangeDocumentOwnerResponseMultiError ¶
type ChangeDocumentOwnerResponseMultiError []error
ChangeDocumentOwnerResponseMultiError is an error wrapping multiple validation errors returned by ChangeDocumentOwnerResponse.ValidateAll() if the designated constraints aren't met.
func (ChangeDocumentOwnerResponseMultiError) AllErrors ¶
func (m ChangeDocumentOwnerResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ChangeDocumentOwnerResponseMultiError) Error ¶
func (m ChangeDocumentOwnerResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ChangeDocumentOwnerResponseValidationError ¶
type ChangeDocumentOwnerResponseValidationError struct {
// contains filtered or unexported fields
}
ChangeDocumentOwnerResponseValidationError is the validation error returned by ChangeDocumentOwnerResponse.Validate if the designated constraints aren't met.
func (ChangeDocumentOwnerResponseValidationError) Cause ¶
func (e ChangeDocumentOwnerResponseValidationError) Cause() error
Cause function returns cause value.
func (ChangeDocumentOwnerResponseValidationError) Error ¶
func (e ChangeDocumentOwnerResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ChangeDocumentOwnerResponseValidationError) ErrorName ¶
func (e ChangeDocumentOwnerResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ChangeDocumentOwnerResponseValidationError) Field ¶
func (e ChangeDocumentOwnerResponseValidationError) Field() string
Field function returns field value.
func (ChangeDocumentOwnerResponseValidationError) Key ¶
func (e ChangeDocumentOwnerResponseValidationError) Key() bool
Key function returns key value.
func (ChangeDocumentOwnerResponseValidationError) Reason ¶
func (e ChangeDocumentOwnerResponseValidationError) Reason() string
Reason function returns reason value.
type CreateCategoryRequest ¶
type CreateCategoryRequest struct { Category *documents.Category `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"` // contains filtered or unexported fields }
func (*CreateCategoryRequest) Descriptor
deprecated
func (*CreateCategoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCategoryRequest.ProtoReflect.Descriptor instead.
func (*CreateCategoryRequest) GetCategory ¶
func (x *CreateCategoryRequest) GetCategory() *documents.Category
func (*CreateCategoryRequest) ProtoMessage ¶
func (*CreateCategoryRequest) ProtoMessage()
func (*CreateCategoryRequest) ProtoReflect ¶
func (x *CreateCategoryRequest) ProtoReflect() protoreflect.Message
func (*CreateCategoryRequest) Reset ¶
func (x *CreateCategoryRequest) Reset()
func (*CreateCategoryRequest) Sanitize ¶ added in v0.9.4
func (m *CreateCategoryRequest) Sanitize() error
func (*CreateCategoryRequest) String ¶
func (x *CreateCategoryRequest) String() string
func (*CreateCategoryRequest) Validate ¶
func (m *CreateCategoryRequest) Validate() error
Validate checks the field values on CreateCategoryRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateCategoryRequest) ValidateAll ¶
func (m *CreateCategoryRequest) ValidateAll() error
ValidateAll checks the field values on CreateCategoryRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateCategoryRequestMultiError, or nil if none found.
type CreateCategoryRequestMultiError ¶
type CreateCategoryRequestMultiError []error
CreateCategoryRequestMultiError is an error wrapping multiple validation errors returned by CreateCategoryRequest.ValidateAll() if the designated constraints aren't met.
func (CreateCategoryRequestMultiError) AllErrors ¶
func (m CreateCategoryRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateCategoryRequestMultiError) Error ¶
func (m CreateCategoryRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateCategoryRequestValidationError ¶
type CreateCategoryRequestValidationError struct {
// contains filtered or unexported fields
}
CreateCategoryRequestValidationError is the validation error returned by CreateCategoryRequest.Validate if the designated constraints aren't met.
func (CreateCategoryRequestValidationError) Cause ¶
func (e CreateCategoryRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateCategoryRequestValidationError) Error ¶
func (e CreateCategoryRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateCategoryRequestValidationError) ErrorName ¶
func (e CreateCategoryRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateCategoryRequestValidationError) Field ¶
func (e CreateCategoryRequestValidationError) Field() string
Field function returns field value.
func (CreateCategoryRequestValidationError) Key ¶
func (e CreateCategoryRequestValidationError) Key() bool
Key function returns key value.
func (CreateCategoryRequestValidationError) Reason ¶
func (e CreateCategoryRequestValidationError) Reason() string
Reason function returns reason value.
type CreateCategoryResponse ¶
type CreateCategoryResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateCategoryResponse) Descriptor
deprecated
func (*CreateCategoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateCategoryResponse.ProtoReflect.Descriptor instead.
func (*CreateCategoryResponse) GetId ¶
func (x *CreateCategoryResponse) GetId() uint64
func (*CreateCategoryResponse) ProtoMessage ¶
func (*CreateCategoryResponse) ProtoMessage()
func (*CreateCategoryResponse) ProtoReflect ¶
func (x *CreateCategoryResponse) ProtoReflect() protoreflect.Message
func (*CreateCategoryResponse) Reset ¶
func (x *CreateCategoryResponse) Reset()
func (*CreateCategoryResponse) Sanitize ¶ added in v0.9.4
func (m *CreateCategoryResponse) Sanitize() error
func (*CreateCategoryResponse) String ¶
func (x *CreateCategoryResponse) String() string
func (*CreateCategoryResponse) Validate ¶
func (m *CreateCategoryResponse) Validate() error
Validate checks the field values on CreateCategoryResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateCategoryResponse) ValidateAll ¶
func (m *CreateCategoryResponse) ValidateAll() error
ValidateAll checks the field values on CreateCategoryResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateCategoryResponseMultiError, or nil if none found.
type CreateCategoryResponseMultiError ¶
type CreateCategoryResponseMultiError []error
CreateCategoryResponseMultiError is an error wrapping multiple validation errors returned by CreateCategoryResponse.ValidateAll() if the designated constraints aren't met.
func (CreateCategoryResponseMultiError) AllErrors ¶
func (m CreateCategoryResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateCategoryResponseMultiError) Error ¶
func (m CreateCategoryResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateCategoryResponseValidationError ¶
type CreateCategoryResponseValidationError struct {
// contains filtered or unexported fields
}
CreateCategoryResponseValidationError is the validation error returned by CreateCategoryResponse.Validate if the designated constraints aren't met.
func (CreateCategoryResponseValidationError) Cause ¶
func (e CreateCategoryResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateCategoryResponseValidationError) Error ¶
func (e CreateCategoryResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateCategoryResponseValidationError) ErrorName ¶
func (e CreateCategoryResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateCategoryResponseValidationError) Field ¶
func (e CreateCategoryResponseValidationError) Field() string
Field function returns field value.
func (CreateCategoryResponseValidationError) Key ¶
func (e CreateCategoryResponseValidationError) Key() bool
Key function returns key value.
func (CreateCategoryResponseValidationError) Reason ¶
func (e CreateCategoryResponseValidationError) Reason() string
Reason function returns reason value.
type CreateDocumentReqRequest ¶
type CreateDocumentReqRequest struct { DocumentId uint64 `protobuf:"varint,1,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` RequestType documents.DocActivityType `` /* 136-byte string literal not displayed */ // @sanitize Reason *string `protobuf:"bytes,3,opt,name=reason,proto3,oneof" json:"reason,omitempty"` Data *documents.DocActivityData `protobuf:"bytes,4,opt,name=data,proto3,oneof" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreateDocumentReqRequest) Descriptor
deprecated
func (*CreateDocumentReqRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDocumentReqRequest.ProtoReflect.Descriptor instead.
func (*CreateDocumentReqRequest) GetData ¶
func (x *CreateDocumentReqRequest) GetData() *documents.DocActivityData
func (*CreateDocumentReqRequest) GetDocumentId ¶
func (x *CreateDocumentReqRequest) GetDocumentId() uint64
func (*CreateDocumentReqRequest) GetReason ¶
func (x *CreateDocumentReqRequest) GetReason() string
func (*CreateDocumentReqRequest) GetRequestType ¶
func (x *CreateDocumentReqRequest) GetRequestType() documents.DocActivityType
func (*CreateDocumentReqRequest) ProtoMessage ¶
func (*CreateDocumentReqRequest) ProtoMessage()
func (*CreateDocumentReqRequest) ProtoReflect ¶
func (x *CreateDocumentReqRequest) ProtoReflect() protoreflect.Message
func (*CreateDocumentReqRequest) Reset ¶
func (x *CreateDocumentReqRequest) Reset()
func (*CreateDocumentReqRequest) Sanitize ¶
func (m *CreateDocumentReqRequest) Sanitize() error
func (*CreateDocumentReqRequest) String ¶
func (x *CreateDocumentReqRequest) String() string
func (*CreateDocumentReqRequest) Validate ¶
func (m *CreateDocumentReqRequest) Validate() error
Validate checks the field values on CreateDocumentReqRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateDocumentReqRequest) ValidateAll ¶
func (m *CreateDocumentReqRequest) ValidateAll() error
ValidateAll checks the field values on CreateDocumentReqRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateDocumentReqRequestMultiError, or nil if none found.
type CreateDocumentReqRequestMultiError ¶
type CreateDocumentReqRequestMultiError []error
CreateDocumentReqRequestMultiError is an error wrapping multiple validation errors returned by CreateDocumentReqRequest.ValidateAll() if the designated constraints aren't met.
func (CreateDocumentReqRequestMultiError) AllErrors ¶
func (m CreateDocumentReqRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateDocumentReqRequestMultiError) Error ¶
func (m CreateDocumentReqRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateDocumentReqRequestValidationError ¶
type CreateDocumentReqRequestValidationError struct {
// contains filtered or unexported fields
}
CreateDocumentReqRequestValidationError is the validation error returned by CreateDocumentReqRequest.Validate if the designated constraints aren't met.
func (CreateDocumentReqRequestValidationError) Cause ¶
func (e CreateDocumentReqRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateDocumentReqRequestValidationError) Error ¶
func (e CreateDocumentReqRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateDocumentReqRequestValidationError) ErrorName ¶
func (e CreateDocumentReqRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateDocumentReqRequestValidationError) Field ¶
func (e CreateDocumentReqRequestValidationError) Field() string
Field function returns field value.
func (CreateDocumentReqRequestValidationError) Key ¶
func (e CreateDocumentReqRequestValidationError) Key() bool
Key function returns key value.
func (CreateDocumentReqRequestValidationError) Reason ¶
func (e CreateDocumentReqRequestValidationError) Reason() string
Reason function returns reason value.
type CreateDocumentReqResponse ¶
type CreateDocumentReqResponse struct { Request *documents.DocRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*CreateDocumentReqResponse) Descriptor
deprecated
func (*CreateDocumentReqResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateDocumentReqResponse.ProtoReflect.Descriptor instead.
func (*CreateDocumentReqResponse) GetRequest ¶
func (x *CreateDocumentReqResponse) GetRequest() *documents.DocRequest
func (*CreateDocumentReqResponse) ProtoMessage ¶
func (*CreateDocumentReqResponse) ProtoMessage()
func (*CreateDocumentReqResponse) ProtoReflect ¶
func (x *CreateDocumentReqResponse) ProtoReflect() protoreflect.Message
func (*CreateDocumentReqResponse) Reset ¶
func (x *CreateDocumentReqResponse) Reset()
func (*CreateDocumentReqResponse) Sanitize ¶ added in v0.9.4
func (m *CreateDocumentReqResponse) Sanitize() error
func (*CreateDocumentReqResponse) String ¶
func (x *CreateDocumentReqResponse) String() string
func (*CreateDocumentReqResponse) Validate ¶
func (m *CreateDocumentReqResponse) Validate() error
Validate checks the field values on CreateDocumentReqResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateDocumentReqResponse) ValidateAll ¶
func (m *CreateDocumentReqResponse) ValidateAll() error
ValidateAll checks the field values on CreateDocumentReqResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateDocumentReqResponseMultiError, or nil if none found.
type CreateDocumentReqResponseMultiError ¶
type CreateDocumentReqResponseMultiError []error
CreateDocumentReqResponseMultiError is an error wrapping multiple validation errors returned by CreateDocumentReqResponse.ValidateAll() if the designated constraints aren't met.
func (CreateDocumentReqResponseMultiError) AllErrors ¶
func (m CreateDocumentReqResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateDocumentReqResponseMultiError) Error ¶
func (m CreateDocumentReqResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateDocumentReqResponseValidationError ¶
type CreateDocumentReqResponseValidationError struct {
// contains filtered or unexported fields
}
CreateDocumentReqResponseValidationError is the validation error returned by CreateDocumentReqResponse.Validate if the designated constraints aren't met.
func (CreateDocumentReqResponseValidationError) Cause ¶
func (e CreateDocumentReqResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateDocumentReqResponseValidationError) Error ¶
func (e CreateDocumentReqResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateDocumentReqResponseValidationError) ErrorName ¶
func (e CreateDocumentReqResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateDocumentReqResponseValidationError) Field ¶
func (e CreateDocumentReqResponseValidationError) Field() string
Field function returns field value.
func (CreateDocumentReqResponseValidationError) Key ¶
func (e CreateDocumentReqResponseValidationError) Key() bool
Key function returns key value.
func (CreateDocumentReqResponseValidationError) Reason ¶
func (e CreateDocumentReqResponseValidationError) Reason() string
Reason function returns reason value.
type CreateDocumentRequest ¶
type CreateDocumentRequest struct { CategoryId *uint64 `protobuf:"varint,1,opt,name=category_id,json=categoryId,proto3,oneof" json:"category_id,omitempty" alias:"category_id"` // @gotags: alias:"category_id" // @sanitize: method=StripTags Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" alias:"title"` // @gotags: alias:"title" // @sanitize Content *content.Content `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` ContentType content.ContentType `` // @gotags: alias:"content_type" /* 158-byte string literal not displayed */ Data *string `protobuf:"bytes,5,opt,name=data,proto3,oneof" json:"data,omitempty" alias:"data"` // @gotags: alias:"data" // @sanitize State string `protobuf:"bytes,6,opt,name=state,proto3" json:"state,omitempty" alias:"state"` // @gotags: alias:"state" Closed bool `protobuf:"varint,7,opt,name=closed,proto3" json:"closed,omitempty" alias:"closed"` // @gotags: alias:"closed" Public bool `protobuf:"varint,8,opt,name=public,proto3" json:"public,omitempty" alias:"public"` // @gotags: alias:"public" Access *documents.DocumentAccess `protobuf:"bytes,9,opt,name=access,proto3,oneof" json:"access,omitempty"` TemplateId *uint64 `protobuf:"varint,10,opt,name=template_id,json=templateId,proto3,oneof" json:"template_id,omitempty"` // contains filtered or unexported fields }
func (*CreateDocumentRequest) Descriptor
deprecated
func (*CreateDocumentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDocumentRequest.ProtoReflect.Descriptor instead.
func (*CreateDocumentRequest) GetAccess ¶
func (x *CreateDocumentRequest) GetAccess() *documents.DocumentAccess
func (*CreateDocumentRequest) GetCategoryId ¶
func (x *CreateDocumentRequest) GetCategoryId() uint64
func (*CreateDocumentRequest) GetClosed ¶
func (x *CreateDocumentRequest) GetClosed() bool
func (*CreateDocumentRequest) GetContent ¶
func (x *CreateDocumentRequest) GetContent() *content.Content
func (*CreateDocumentRequest) GetContentType ¶
func (x *CreateDocumentRequest) GetContentType() content.ContentType
func (*CreateDocumentRequest) GetData ¶
func (x *CreateDocumentRequest) GetData() string
func (*CreateDocumentRequest) GetPublic ¶
func (x *CreateDocumentRequest) GetPublic() bool
func (*CreateDocumentRequest) GetState ¶
func (x *CreateDocumentRequest) GetState() string
func (*CreateDocumentRequest) GetTemplateId ¶
func (x *CreateDocumentRequest) GetTemplateId() uint64
func (*CreateDocumentRequest) GetTitle ¶
func (x *CreateDocumentRequest) GetTitle() string
func (*CreateDocumentRequest) ProtoMessage ¶
func (*CreateDocumentRequest) ProtoMessage()
func (*CreateDocumentRequest) ProtoReflect ¶
func (x *CreateDocumentRequest) ProtoReflect() protoreflect.Message
func (*CreateDocumentRequest) Reset ¶
func (x *CreateDocumentRequest) Reset()
func (*CreateDocumentRequest) Sanitize ¶
func (m *CreateDocumentRequest) Sanitize() error
func (*CreateDocumentRequest) String ¶
func (x *CreateDocumentRequest) String() string
func (*CreateDocumentRequest) Validate ¶
func (m *CreateDocumentRequest) Validate() error
Validate checks the field values on CreateDocumentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateDocumentRequest) ValidateAll ¶
func (m *CreateDocumentRequest) ValidateAll() error
ValidateAll checks the field values on CreateDocumentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateDocumentRequestMultiError, or nil if none found.
type CreateDocumentRequestMultiError ¶
type CreateDocumentRequestMultiError []error
CreateDocumentRequestMultiError is an error wrapping multiple validation errors returned by CreateDocumentRequest.ValidateAll() if the designated constraints aren't met.
func (CreateDocumentRequestMultiError) AllErrors ¶
func (m CreateDocumentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateDocumentRequestMultiError) Error ¶
func (m CreateDocumentRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateDocumentRequestValidationError ¶
type CreateDocumentRequestValidationError struct {
// contains filtered or unexported fields
}
CreateDocumentRequestValidationError is the validation error returned by CreateDocumentRequest.Validate if the designated constraints aren't met.
func (CreateDocumentRequestValidationError) Cause ¶
func (e CreateDocumentRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateDocumentRequestValidationError) Error ¶
func (e CreateDocumentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateDocumentRequestValidationError) ErrorName ¶
func (e CreateDocumentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateDocumentRequestValidationError) Field ¶
func (e CreateDocumentRequestValidationError) Field() string
Field function returns field value.
func (CreateDocumentRequestValidationError) Key ¶
func (e CreateDocumentRequestValidationError) Key() bool
Key function returns key value.
func (CreateDocumentRequestValidationError) Reason ¶
func (e CreateDocumentRequestValidationError) Reason() string
Reason function returns reason value.
type CreateDocumentResponse ¶
type CreateDocumentResponse struct { DocumentId uint64 `protobuf:"varint,1,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty" alias:"id"` // @gotags: alias:"id" // contains filtered or unexported fields }
func (*CreateDocumentResponse) Descriptor
deprecated
func (*CreateDocumentResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateDocumentResponse.ProtoReflect.Descriptor instead.
func (*CreateDocumentResponse) GetDocumentId ¶
func (x *CreateDocumentResponse) GetDocumentId() uint64
func (*CreateDocumentResponse) ProtoMessage ¶
func (*CreateDocumentResponse) ProtoMessage()
func (*CreateDocumentResponse) ProtoReflect ¶
func (x *CreateDocumentResponse) ProtoReflect() protoreflect.Message
func (*CreateDocumentResponse) Reset ¶
func (x *CreateDocumentResponse) Reset()
func (*CreateDocumentResponse) Sanitize ¶ added in v0.9.4
func (m *CreateDocumentResponse) Sanitize() error
func (*CreateDocumentResponse) String ¶
func (x *CreateDocumentResponse) String() string
func (*CreateDocumentResponse) Validate ¶
func (m *CreateDocumentResponse) Validate() error
Validate checks the field values on CreateDocumentResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateDocumentResponse) ValidateAll ¶
func (m *CreateDocumentResponse) ValidateAll() error
ValidateAll checks the field values on CreateDocumentResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateDocumentResponseMultiError, or nil if none found.
type CreateDocumentResponseMultiError ¶
type CreateDocumentResponseMultiError []error
CreateDocumentResponseMultiError is an error wrapping multiple validation errors returned by CreateDocumentResponse.ValidateAll() if the designated constraints aren't met.
func (CreateDocumentResponseMultiError) AllErrors ¶
func (m CreateDocumentResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateDocumentResponseMultiError) Error ¶
func (m CreateDocumentResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateDocumentResponseValidationError ¶
type CreateDocumentResponseValidationError struct {
// contains filtered or unexported fields
}
CreateDocumentResponseValidationError is the validation error returned by CreateDocumentResponse.Validate if the designated constraints aren't met.
func (CreateDocumentResponseValidationError) Cause ¶
func (e CreateDocumentResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateDocumentResponseValidationError) Error ¶
func (e CreateDocumentResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateDocumentResponseValidationError) ErrorName ¶
func (e CreateDocumentResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateDocumentResponseValidationError) Field ¶
func (e CreateDocumentResponseValidationError) Field() string
Field function returns field value.
func (CreateDocumentResponseValidationError) Key ¶
func (e CreateDocumentResponseValidationError) Key() bool
Key function returns key value.
func (CreateDocumentResponseValidationError) Reason ¶
func (e CreateDocumentResponseValidationError) Reason() string
Reason function returns reason value.
type CreateTemplateRequest ¶
type CreateTemplateRequest struct { Template *documents.Template `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` // contains filtered or unexported fields }
func (*CreateTemplateRequest) Descriptor
deprecated
func (*CreateTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTemplateRequest.ProtoReflect.Descriptor instead.
func (*CreateTemplateRequest) GetTemplate ¶
func (x *CreateTemplateRequest) GetTemplate() *documents.Template
func (*CreateTemplateRequest) ProtoMessage ¶
func (*CreateTemplateRequest) ProtoMessage()
func (*CreateTemplateRequest) ProtoReflect ¶
func (x *CreateTemplateRequest) ProtoReflect() protoreflect.Message
func (*CreateTemplateRequest) Reset ¶
func (x *CreateTemplateRequest) Reset()
func (*CreateTemplateRequest) Sanitize ¶ added in v0.9.4
func (m *CreateTemplateRequest) Sanitize() error
func (*CreateTemplateRequest) String ¶
func (x *CreateTemplateRequest) String() string
func (*CreateTemplateRequest) Validate ¶
func (m *CreateTemplateRequest) Validate() error
Validate checks the field values on CreateTemplateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateTemplateRequest) ValidateAll ¶
func (m *CreateTemplateRequest) ValidateAll() error
ValidateAll checks the field values on CreateTemplateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateTemplateRequestMultiError, or nil if none found.
type CreateTemplateRequestMultiError ¶
type CreateTemplateRequestMultiError []error
CreateTemplateRequestMultiError is an error wrapping multiple validation errors returned by CreateTemplateRequest.ValidateAll() if the designated constraints aren't met.
func (CreateTemplateRequestMultiError) AllErrors ¶
func (m CreateTemplateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateTemplateRequestMultiError) Error ¶
func (m CreateTemplateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateTemplateRequestValidationError ¶
type CreateTemplateRequestValidationError struct {
// contains filtered or unexported fields
}
CreateTemplateRequestValidationError is the validation error returned by CreateTemplateRequest.Validate if the designated constraints aren't met.
func (CreateTemplateRequestValidationError) Cause ¶
func (e CreateTemplateRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateTemplateRequestValidationError) Error ¶
func (e CreateTemplateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateTemplateRequestValidationError) ErrorName ¶
func (e CreateTemplateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateTemplateRequestValidationError) Field ¶
func (e CreateTemplateRequestValidationError) Field() string
Field function returns field value.
func (CreateTemplateRequestValidationError) Key ¶
func (e CreateTemplateRequestValidationError) Key() bool
Key function returns key value.
func (CreateTemplateRequestValidationError) Reason ¶
func (e CreateTemplateRequestValidationError) Reason() string
Reason function returns reason value.
type CreateTemplateResponse ¶
type CreateTemplateResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateTemplateResponse) Descriptor
deprecated
func (*CreateTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateTemplateResponse.ProtoReflect.Descriptor instead.
func (*CreateTemplateResponse) GetId ¶
func (x *CreateTemplateResponse) GetId() uint64
func (*CreateTemplateResponse) ProtoMessage ¶
func (*CreateTemplateResponse) ProtoMessage()
func (*CreateTemplateResponse) ProtoReflect ¶
func (x *CreateTemplateResponse) ProtoReflect() protoreflect.Message
func (*CreateTemplateResponse) Reset ¶
func (x *CreateTemplateResponse) Reset()
func (*CreateTemplateResponse) Sanitize ¶ added in v0.9.4
func (m *CreateTemplateResponse) Sanitize() error
func (*CreateTemplateResponse) String ¶
func (x *CreateTemplateResponse) String() string
func (*CreateTemplateResponse) Validate ¶
func (m *CreateTemplateResponse) Validate() error
Validate checks the field values on CreateTemplateResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateTemplateResponse) ValidateAll ¶
func (m *CreateTemplateResponse) ValidateAll() error
ValidateAll checks the field values on CreateTemplateResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateTemplateResponseMultiError, or nil if none found.
type CreateTemplateResponseMultiError ¶
type CreateTemplateResponseMultiError []error
CreateTemplateResponseMultiError is an error wrapping multiple validation errors returned by CreateTemplateResponse.ValidateAll() if the designated constraints aren't met.
func (CreateTemplateResponseMultiError) AllErrors ¶
func (m CreateTemplateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateTemplateResponseMultiError) Error ¶
func (m CreateTemplateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateTemplateResponseValidationError ¶
type CreateTemplateResponseValidationError struct {
// contains filtered or unexported fields
}
CreateTemplateResponseValidationError is the validation error returned by CreateTemplateResponse.Validate if the designated constraints aren't met.
func (CreateTemplateResponseValidationError) Cause ¶
func (e CreateTemplateResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateTemplateResponseValidationError) Error ¶
func (e CreateTemplateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateTemplateResponseValidationError) ErrorName ¶
func (e CreateTemplateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateTemplateResponseValidationError) Field ¶
func (e CreateTemplateResponseValidationError) Field() string
Field function returns field value.
func (CreateTemplateResponseValidationError) Key ¶
func (e CreateTemplateResponseValidationError) Key() bool
Key function returns key value.
func (CreateTemplateResponseValidationError) Reason ¶
func (e CreateTemplateResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteCategoryRequest ¶
type DeleteCategoryRequest struct { Ids []uint64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*DeleteCategoryRequest) Descriptor
deprecated
func (*DeleteCategoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCategoryRequest.ProtoReflect.Descriptor instead.
func (*DeleteCategoryRequest) GetIds ¶
func (x *DeleteCategoryRequest) GetIds() []uint64
func (*DeleteCategoryRequest) ProtoMessage ¶
func (*DeleteCategoryRequest) ProtoMessage()
func (*DeleteCategoryRequest) ProtoReflect ¶
func (x *DeleteCategoryRequest) ProtoReflect() protoreflect.Message
func (*DeleteCategoryRequest) Reset ¶
func (x *DeleteCategoryRequest) Reset()
func (*DeleteCategoryRequest) Sanitize ¶ added in v0.9.4
func (m *DeleteCategoryRequest) Sanitize() error
func (*DeleteCategoryRequest) String ¶
func (x *DeleteCategoryRequest) String() string
func (*DeleteCategoryRequest) Validate ¶
func (m *DeleteCategoryRequest) Validate() error
Validate checks the field values on DeleteCategoryRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteCategoryRequest) ValidateAll ¶
func (m *DeleteCategoryRequest) ValidateAll() error
ValidateAll checks the field values on DeleteCategoryRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteCategoryRequestMultiError, or nil if none found.
type DeleteCategoryRequestMultiError ¶
type DeleteCategoryRequestMultiError []error
DeleteCategoryRequestMultiError is an error wrapping multiple validation errors returned by DeleteCategoryRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteCategoryRequestMultiError) AllErrors ¶
func (m DeleteCategoryRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteCategoryRequestMultiError) Error ¶
func (m DeleteCategoryRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteCategoryRequestValidationError ¶
type DeleteCategoryRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteCategoryRequestValidationError is the validation error returned by DeleteCategoryRequest.Validate if the designated constraints aren't met.
func (DeleteCategoryRequestValidationError) Cause ¶
func (e DeleteCategoryRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteCategoryRequestValidationError) Error ¶
func (e DeleteCategoryRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteCategoryRequestValidationError) ErrorName ¶
func (e DeleteCategoryRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteCategoryRequestValidationError) Field ¶
func (e DeleteCategoryRequestValidationError) Field() string
Field function returns field value.
func (DeleteCategoryRequestValidationError) Key ¶
func (e DeleteCategoryRequestValidationError) Key() bool
Key function returns key value.
func (DeleteCategoryRequestValidationError) Reason ¶
func (e DeleteCategoryRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteCategoryResponse ¶
type DeleteCategoryResponse struct {
// contains filtered or unexported fields
}
func (*DeleteCategoryResponse) Descriptor
deprecated
func (*DeleteCategoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCategoryResponse.ProtoReflect.Descriptor instead.
func (*DeleteCategoryResponse) ProtoMessage ¶
func (*DeleteCategoryResponse) ProtoMessage()
func (*DeleteCategoryResponse) ProtoReflect ¶
func (x *DeleteCategoryResponse) ProtoReflect() protoreflect.Message
func (*DeleteCategoryResponse) Reset ¶
func (x *DeleteCategoryResponse) Reset()
func (*DeleteCategoryResponse) Sanitize ¶ added in v0.9.4
func (m *DeleteCategoryResponse) Sanitize() error
func (*DeleteCategoryResponse) String ¶
func (x *DeleteCategoryResponse) String() string
func (*DeleteCategoryResponse) Validate ¶
func (m *DeleteCategoryResponse) Validate() error
Validate checks the field values on DeleteCategoryResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteCategoryResponse) ValidateAll ¶
func (m *DeleteCategoryResponse) ValidateAll() error
ValidateAll checks the field values on DeleteCategoryResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteCategoryResponseMultiError, or nil if none found.
type DeleteCategoryResponseMultiError ¶
type DeleteCategoryResponseMultiError []error
DeleteCategoryResponseMultiError is an error wrapping multiple validation errors returned by DeleteCategoryResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteCategoryResponseMultiError) AllErrors ¶
func (m DeleteCategoryResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteCategoryResponseMultiError) Error ¶
func (m DeleteCategoryResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteCategoryResponseValidationError ¶
type DeleteCategoryResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteCategoryResponseValidationError is the validation error returned by DeleteCategoryResponse.Validate if the designated constraints aren't met.
func (DeleteCategoryResponseValidationError) Cause ¶
func (e DeleteCategoryResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteCategoryResponseValidationError) Error ¶
func (e DeleteCategoryResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteCategoryResponseValidationError) ErrorName ¶
func (e DeleteCategoryResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteCategoryResponseValidationError) Field ¶
func (e DeleteCategoryResponseValidationError) Field() string
Field function returns field value.
func (DeleteCategoryResponseValidationError) Key ¶
func (e DeleteCategoryResponseValidationError) Key() bool
Key function returns key value.
func (DeleteCategoryResponseValidationError) Reason ¶
func (e DeleteCategoryResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteCommentRequest ¶
type DeleteCommentRequest struct { CommentId uint64 `protobuf:"varint,1,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteCommentRequest) Descriptor
deprecated
func (*DeleteCommentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCommentRequest.ProtoReflect.Descriptor instead.
func (*DeleteCommentRequest) GetCommentId ¶
func (x *DeleteCommentRequest) GetCommentId() uint64
func (*DeleteCommentRequest) ProtoMessage ¶
func (*DeleteCommentRequest) ProtoMessage()
func (*DeleteCommentRequest) ProtoReflect ¶
func (x *DeleteCommentRequest) ProtoReflect() protoreflect.Message
func (*DeleteCommentRequest) Reset ¶
func (x *DeleteCommentRequest) Reset()
func (*DeleteCommentRequest) Sanitize ¶ added in v0.9.4
func (m *DeleteCommentRequest) Sanitize() error
func (*DeleteCommentRequest) String ¶
func (x *DeleteCommentRequest) String() string
func (*DeleteCommentRequest) Validate ¶
func (m *DeleteCommentRequest) Validate() error
Validate checks the field values on DeleteCommentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteCommentRequest) ValidateAll ¶
func (m *DeleteCommentRequest) ValidateAll() error
ValidateAll checks the field values on DeleteCommentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteCommentRequestMultiError, or nil if none found.
type DeleteCommentRequestMultiError ¶
type DeleteCommentRequestMultiError []error
DeleteCommentRequestMultiError is an error wrapping multiple validation errors returned by DeleteCommentRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteCommentRequestMultiError) AllErrors ¶
func (m DeleteCommentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteCommentRequestMultiError) Error ¶
func (m DeleteCommentRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteCommentRequestValidationError ¶
type DeleteCommentRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteCommentRequestValidationError is the validation error returned by DeleteCommentRequest.Validate if the designated constraints aren't met.
func (DeleteCommentRequestValidationError) Cause ¶
func (e DeleteCommentRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteCommentRequestValidationError) Error ¶
func (e DeleteCommentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteCommentRequestValidationError) ErrorName ¶
func (e DeleteCommentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteCommentRequestValidationError) Field ¶
func (e DeleteCommentRequestValidationError) Field() string
Field function returns field value.
func (DeleteCommentRequestValidationError) Key ¶
func (e DeleteCommentRequestValidationError) Key() bool
Key function returns key value.
func (DeleteCommentRequestValidationError) Reason ¶
func (e DeleteCommentRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteCommentResponse ¶
type DeleteCommentResponse struct {
// contains filtered or unexported fields
}
func (*DeleteCommentResponse) Descriptor
deprecated
func (*DeleteCommentResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCommentResponse.ProtoReflect.Descriptor instead.
func (*DeleteCommentResponse) ProtoMessage ¶
func (*DeleteCommentResponse) ProtoMessage()
func (*DeleteCommentResponse) ProtoReflect ¶
func (x *DeleteCommentResponse) ProtoReflect() protoreflect.Message
func (*DeleteCommentResponse) Reset ¶
func (x *DeleteCommentResponse) Reset()
func (*DeleteCommentResponse) Sanitize ¶ added in v0.9.4
func (m *DeleteCommentResponse) Sanitize() error
func (*DeleteCommentResponse) String ¶
func (x *DeleteCommentResponse) String() string
func (*DeleteCommentResponse) Validate ¶
func (m *DeleteCommentResponse) Validate() error
Validate checks the field values on DeleteCommentResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteCommentResponse) ValidateAll ¶
func (m *DeleteCommentResponse) ValidateAll() error
ValidateAll checks the field values on DeleteCommentResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteCommentResponseMultiError, or nil if none found.
type DeleteCommentResponseMultiError ¶
type DeleteCommentResponseMultiError []error
DeleteCommentResponseMultiError is an error wrapping multiple validation errors returned by DeleteCommentResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteCommentResponseMultiError) AllErrors ¶
func (m DeleteCommentResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteCommentResponseMultiError) Error ¶
func (m DeleteCommentResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteCommentResponseValidationError ¶
type DeleteCommentResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteCommentResponseValidationError is the validation error returned by DeleteCommentResponse.Validate if the designated constraints aren't met.
func (DeleteCommentResponseValidationError) Cause ¶
func (e DeleteCommentResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteCommentResponseValidationError) Error ¶
func (e DeleteCommentResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteCommentResponseValidationError) ErrorName ¶
func (e DeleteCommentResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteCommentResponseValidationError) Field ¶
func (e DeleteCommentResponseValidationError) Field() string
Field function returns field value.
func (DeleteCommentResponseValidationError) Key ¶
func (e DeleteCommentResponseValidationError) Key() bool
Key function returns key value.
func (DeleteCommentResponseValidationError) Reason ¶
func (e DeleteCommentResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteDocumentReqRequest ¶
type DeleteDocumentReqRequest struct { RequestId uint64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteDocumentReqRequest) Descriptor
deprecated
func (*DeleteDocumentReqRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDocumentReqRequest.ProtoReflect.Descriptor instead.
func (*DeleteDocumentReqRequest) GetRequestId ¶
func (x *DeleteDocumentReqRequest) GetRequestId() uint64
func (*DeleteDocumentReqRequest) ProtoMessage ¶
func (*DeleteDocumentReqRequest) ProtoMessage()
func (*DeleteDocumentReqRequest) ProtoReflect ¶
func (x *DeleteDocumentReqRequest) ProtoReflect() protoreflect.Message
func (*DeleteDocumentReqRequest) Reset ¶
func (x *DeleteDocumentReqRequest) Reset()
func (*DeleteDocumentReqRequest) Sanitize ¶ added in v0.9.4
func (m *DeleteDocumentReqRequest) Sanitize() error
func (*DeleteDocumentReqRequest) String ¶
func (x *DeleteDocumentReqRequest) String() string
func (*DeleteDocumentReqRequest) Validate ¶
func (m *DeleteDocumentReqRequest) Validate() error
Validate checks the field values on DeleteDocumentReqRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteDocumentReqRequest) ValidateAll ¶
func (m *DeleteDocumentReqRequest) ValidateAll() error
ValidateAll checks the field values on DeleteDocumentReqRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteDocumentReqRequestMultiError, or nil if none found.
type DeleteDocumentReqRequestMultiError ¶
type DeleteDocumentReqRequestMultiError []error
DeleteDocumentReqRequestMultiError is an error wrapping multiple validation errors returned by DeleteDocumentReqRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteDocumentReqRequestMultiError) AllErrors ¶
func (m DeleteDocumentReqRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteDocumentReqRequestMultiError) Error ¶
func (m DeleteDocumentReqRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteDocumentReqRequestValidationError ¶
type DeleteDocumentReqRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteDocumentReqRequestValidationError is the validation error returned by DeleteDocumentReqRequest.Validate if the designated constraints aren't met.
func (DeleteDocumentReqRequestValidationError) Cause ¶
func (e DeleteDocumentReqRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteDocumentReqRequestValidationError) Error ¶
func (e DeleteDocumentReqRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteDocumentReqRequestValidationError) ErrorName ¶
func (e DeleteDocumentReqRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteDocumentReqRequestValidationError) Field ¶
func (e DeleteDocumentReqRequestValidationError) Field() string
Field function returns field value.
func (DeleteDocumentReqRequestValidationError) Key ¶
func (e DeleteDocumentReqRequestValidationError) Key() bool
Key function returns key value.
func (DeleteDocumentReqRequestValidationError) Reason ¶
func (e DeleteDocumentReqRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteDocumentReqResponse ¶
type DeleteDocumentReqResponse struct {
// contains filtered or unexported fields
}
func (*DeleteDocumentReqResponse) Descriptor
deprecated
func (*DeleteDocumentReqResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDocumentReqResponse.ProtoReflect.Descriptor instead.
func (*DeleteDocumentReqResponse) ProtoMessage ¶
func (*DeleteDocumentReqResponse) ProtoMessage()
func (*DeleteDocumentReqResponse) ProtoReflect ¶
func (x *DeleteDocumentReqResponse) ProtoReflect() protoreflect.Message
func (*DeleteDocumentReqResponse) Reset ¶
func (x *DeleteDocumentReqResponse) Reset()
func (*DeleteDocumentReqResponse) Sanitize ¶ added in v0.9.4
func (m *DeleteDocumentReqResponse) Sanitize() error
func (*DeleteDocumentReqResponse) String ¶
func (x *DeleteDocumentReqResponse) String() string
func (*DeleteDocumentReqResponse) Validate ¶
func (m *DeleteDocumentReqResponse) Validate() error
Validate checks the field values on DeleteDocumentReqResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteDocumentReqResponse) ValidateAll ¶
func (m *DeleteDocumentReqResponse) ValidateAll() error
ValidateAll checks the field values on DeleteDocumentReqResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteDocumentReqResponseMultiError, or nil if none found.
type DeleteDocumentReqResponseMultiError ¶
type DeleteDocumentReqResponseMultiError []error
DeleteDocumentReqResponseMultiError is an error wrapping multiple validation errors returned by DeleteDocumentReqResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteDocumentReqResponseMultiError) AllErrors ¶
func (m DeleteDocumentReqResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteDocumentReqResponseMultiError) Error ¶
func (m DeleteDocumentReqResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteDocumentReqResponseValidationError ¶
type DeleteDocumentReqResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteDocumentReqResponseValidationError is the validation error returned by DeleteDocumentReqResponse.Validate if the designated constraints aren't met.
func (DeleteDocumentReqResponseValidationError) Cause ¶
func (e DeleteDocumentReqResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteDocumentReqResponseValidationError) Error ¶
func (e DeleteDocumentReqResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteDocumentReqResponseValidationError) ErrorName ¶
func (e DeleteDocumentReqResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteDocumentReqResponseValidationError) Field ¶
func (e DeleteDocumentReqResponseValidationError) Field() string
Field function returns field value.
func (DeleteDocumentReqResponseValidationError) Key ¶
func (e DeleteDocumentReqResponseValidationError) Key() bool
Key function returns key value.
func (DeleteDocumentReqResponseValidationError) Reason ¶
func (e DeleteDocumentReqResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteDocumentRequest ¶
type DeleteDocumentRequest struct { DocumentId uint64 `protobuf:"varint,1,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty" alias:"id"` // @gotags: alias:"id" // contains filtered or unexported fields }
func (*DeleteDocumentRequest) Descriptor
deprecated
func (*DeleteDocumentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDocumentRequest.ProtoReflect.Descriptor instead.
func (*DeleteDocumentRequest) GetDocumentId ¶
func (x *DeleteDocumentRequest) GetDocumentId() uint64
func (*DeleteDocumentRequest) ProtoMessage ¶
func (*DeleteDocumentRequest) ProtoMessage()
func (*DeleteDocumentRequest) ProtoReflect ¶
func (x *DeleteDocumentRequest) ProtoReflect() protoreflect.Message
func (*DeleteDocumentRequest) Reset ¶
func (x *DeleteDocumentRequest) Reset()
func (*DeleteDocumentRequest) Sanitize ¶ added in v0.9.4
func (m *DeleteDocumentRequest) Sanitize() error
func (*DeleteDocumentRequest) String ¶
func (x *DeleteDocumentRequest) String() string
func (*DeleteDocumentRequest) Validate ¶
func (m *DeleteDocumentRequest) Validate() error
Validate checks the field values on DeleteDocumentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteDocumentRequest) ValidateAll ¶
func (m *DeleteDocumentRequest) ValidateAll() error
ValidateAll checks the field values on DeleteDocumentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteDocumentRequestMultiError, or nil if none found.
type DeleteDocumentRequestMultiError ¶
type DeleteDocumentRequestMultiError []error
DeleteDocumentRequestMultiError is an error wrapping multiple validation errors returned by DeleteDocumentRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteDocumentRequestMultiError) AllErrors ¶
func (m DeleteDocumentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteDocumentRequestMultiError) Error ¶
func (m DeleteDocumentRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteDocumentRequestValidationError ¶
type DeleteDocumentRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteDocumentRequestValidationError is the validation error returned by DeleteDocumentRequest.Validate if the designated constraints aren't met.
func (DeleteDocumentRequestValidationError) Cause ¶
func (e DeleteDocumentRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteDocumentRequestValidationError) Error ¶
func (e DeleteDocumentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteDocumentRequestValidationError) ErrorName ¶
func (e DeleteDocumentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteDocumentRequestValidationError) Field ¶
func (e DeleteDocumentRequestValidationError) Field() string
Field function returns field value.
func (DeleteDocumentRequestValidationError) Key ¶
func (e DeleteDocumentRequestValidationError) Key() bool
Key function returns key value.
func (DeleteDocumentRequestValidationError) Reason ¶
func (e DeleteDocumentRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteDocumentResponse ¶
type DeleteDocumentResponse struct {
// contains filtered or unexported fields
}
func (*DeleteDocumentResponse) Descriptor
deprecated
func (*DeleteDocumentResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDocumentResponse.ProtoReflect.Descriptor instead.
func (*DeleteDocumentResponse) ProtoMessage ¶
func (*DeleteDocumentResponse) ProtoMessage()
func (*DeleteDocumentResponse) ProtoReflect ¶
func (x *DeleteDocumentResponse) ProtoReflect() protoreflect.Message
func (*DeleteDocumentResponse) Reset ¶
func (x *DeleteDocumentResponse) Reset()
func (*DeleteDocumentResponse) Sanitize ¶ added in v0.9.4
func (m *DeleteDocumentResponse) Sanitize() error
func (*DeleteDocumentResponse) String ¶
func (x *DeleteDocumentResponse) String() string
func (*DeleteDocumentResponse) Validate ¶
func (m *DeleteDocumentResponse) Validate() error
Validate checks the field values on DeleteDocumentResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteDocumentResponse) ValidateAll ¶
func (m *DeleteDocumentResponse) ValidateAll() error
ValidateAll checks the field values on DeleteDocumentResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteDocumentResponseMultiError, or nil if none found.
type DeleteDocumentResponseMultiError ¶
type DeleteDocumentResponseMultiError []error
DeleteDocumentResponseMultiError is an error wrapping multiple validation errors returned by DeleteDocumentResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteDocumentResponseMultiError) AllErrors ¶
func (m DeleteDocumentResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteDocumentResponseMultiError) Error ¶
func (m DeleteDocumentResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteDocumentResponseValidationError ¶
type DeleteDocumentResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteDocumentResponseValidationError is the validation error returned by DeleteDocumentResponse.Validate if the designated constraints aren't met.
func (DeleteDocumentResponseValidationError) Cause ¶
func (e DeleteDocumentResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteDocumentResponseValidationError) Error ¶
func (e DeleteDocumentResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteDocumentResponseValidationError) ErrorName ¶
func (e DeleteDocumentResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteDocumentResponseValidationError) Field ¶
func (e DeleteDocumentResponseValidationError) Field() string
Field function returns field value.
func (DeleteDocumentResponseValidationError) Key ¶
func (e DeleteDocumentResponseValidationError) Key() bool
Key function returns key value.
func (DeleteDocumentResponseValidationError) Reason ¶
func (e DeleteDocumentResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteTemplateRequest ¶
type DeleteTemplateRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteTemplateRequest) Descriptor
deprecated
func (*DeleteTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTemplateRequest.ProtoReflect.Descriptor instead.
func (*DeleteTemplateRequest) GetId ¶
func (x *DeleteTemplateRequest) GetId() uint64
func (*DeleteTemplateRequest) ProtoMessage ¶
func (*DeleteTemplateRequest) ProtoMessage()
func (*DeleteTemplateRequest) ProtoReflect ¶
func (x *DeleteTemplateRequest) ProtoReflect() protoreflect.Message
func (*DeleteTemplateRequest) Reset ¶
func (x *DeleteTemplateRequest) Reset()
func (*DeleteTemplateRequest) Sanitize ¶ added in v0.9.4
func (m *DeleteTemplateRequest) Sanitize() error
func (*DeleteTemplateRequest) String ¶
func (x *DeleteTemplateRequest) String() string
func (*DeleteTemplateRequest) Validate ¶
func (m *DeleteTemplateRequest) Validate() error
Validate checks the field values on DeleteTemplateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteTemplateRequest) ValidateAll ¶
func (m *DeleteTemplateRequest) ValidateAll() error
ValidateAll checks the field values on DeleteTemplateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteTemplateRequestMultiError, or nil if none found.
type DeleteTemplateRequestMultiError ¶
type DeleteTemplateRequestMultiError []error
DeleteTemplateRequestMultiError is an error wrapping multiple validation errors returned by DeleteTemplateRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteTemplateRequestMultiError) AllErrors ¶
func (m DeleteTemplateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteTemplateRequestMultiError) Error ¶
func (m DeleteTemplateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteTemplateRequestValidationError ¶
type DeleteTemplateRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteTemplateRequestValidationError is the validation error returned by DeleteTemplateRequest.Validate if the designated constraints aren't met.
func (DeleteTemplateRequestValidationError) Cause ¶
func (e DeleteTemplateRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteTemplateRequestValidationError) Error ¶
func (e DeleteTemplateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTemplateRequestValidationError) ErrorName ¶
func (e DeleteTemplateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTemplateRequestValidationError) Field ¶
func (e DeleteTemplateRequestValidationError) Field() string
Field function returns field value.
func (DeleteTemplateRequestValidationError) Key ¶
func (e DeleteTemplateRequestValidationError) Key() bool
Key function returns key value.
func (DeleteTemplateRequestValidationError) Reason ¶
func (e DeleteTemplateRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteTemplateResponse ¶
type DeleteTemplateResponse struct {
// contains filtered or unexported fields
}
func (*DeleteTemplateResponse) Descriptor
deprecated
func (*DeleteTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTemplateResponse.ProtoReflect.Descriptor instead.
func (*DeleteTemplateResponse) ProtoMessage ¶
func (*DeleteTemplateResponse) ProtoMessage()
func (*DeleteTemplateResponse) ProtoReflect ¶
func (x *DeleteTemplateResponse) ProtoReflect() protoreflect.Message
func (*DeleteTemplateResponse) Reset ¶
func (x *DeleteTemplateResponse) Reset()
func (*DeleteTemplateResponse) Sanitize ¶ added in v0.9.4
func (m *DeleteTemplateResponse) Sanitize() error
func (*DeleteTemplateResponse) String ¶
func (x *DeleteTemplateResponse) String() string
func (*DeleteTemplateResponse) Validate ¶
func (m *DeleteTemplateResponse) Validate() error
Validate checks the field values on DeleteTemplateResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteTemplateResponse) ValidateAll ¶
func (m *DeleteTemplateResponse) ValidateAll() error
ValidateAll checks the field values on DeleteTemplateResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteTemplateResponseMultiError, or nil if none found.
type DeleteTemplateResponseMultiError ¶
type DeleteTemplateResponseMultiError []error
DeleteTemplateResponseMultiError is an error wrapping multiple validation errors returned by DeleteTemplateResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteTemplateResponseMultiError) AllErrors ¶
func (m DeleteTemplateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteTemplateResponseMultiError) Error ¶
func (m DeleteTemplateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteTemplateResponseValidationError ¶
type DeleteTemplateResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteTemplateResponseValidationError is the validation error returned by DeleteTemplateResponse.Validate if the designated constraints aren't met.
func (DeleteTemplateResponseValidationError) Cause ¶
func (e DeleteTemplateResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteTemplateResponseValidationError) Error ¶
func (e DeleteTemplateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTemplateResponseValidationError) ErrorName ¶
func (e DeleteTemplateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTemplateResponseValidationError) Field ¶
func (e DeleteTemplateResponseValidationError) Field() string
Field function returns field value.
func (DeleteTemplateResponseValidationError) Key ¶
func (e DeleteTemplateResponseValidationError) Key() bool
Key function returns key value.
func (DeleteTemplateResponseValidationError) Reason ¶
func (e DeleteTemplateResponseValidationError) Reason() string
Reason function returns reason value.
type DocStoreServiceClient ¶
type DocStoreServiceClient interface { // @perm ListTemplates(ctx context.Context, in *ListTemplatesRequest, opts ...grpc.CallOption) (*ListTemplatesResponse, error) // @perm: Name=ListTemplates GetTemplate(ctx context.Context, in *GetTemplateRequest, opts ...grpc.CallOption) (*GetTemplateResponse, error) // @perm CreateTemplate(ctx context.Context, in *CreateTemplateRequest, opts ...grpc.CallOption) (*CreateTemplateResponse, error) // @perm: Name=CreateTemplate UpdateTemplate(ctx context.Context, in *UpdateTemplateRequest, opts ...grpc.CallOption) (*UpdateTemplateResponse, error) // @perm DeleteTemplate(ctx context.Context, in *DeleteTemplateRequest, opts ...grpc.CallOption) (*DeleteTemplateResponse, error) // @perm ListDocuments(ctx context.Context, in *ListDocumentsRequest, opts ...grpc.CallOption) (*ListDocumentsResponse, error) // @perm: Name=ListDocuments GetDocument(ctx context.Context, in *GetDocumentRequest, opts ...grpc.CallOption) (*GetDocumentResponse, error) // @perm CreateDocument(ctx context.Context, in *CreateDocumentRequest, opts ...grpc.CallOption) (*CreateDocumentResponse, error) // @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"} UpdateDocument(ctx context.Context, in *UpdateDocumentRequest, opts ...grpc.CallOption) (*UpdateDocumentResponse, error) // @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"} DeleteDocument(ctx context.Context, in *DeleteDocumentRequest, opts ...grpc.CallOption) (*DeleteDocumentResponse, error) // @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"} ToggleDocument(ctx context.Context, in *ToggleDocumentRequest, opts ...grpc.CallOption) (*ToggleDocumentResponse, error) // @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"} ChangeDocumentOwner(ctx context.Context, in *ChangeDocumentOwnerRequest, opts ...grpc.CallOption) (*ChangeDocumentOwnerResponse, error) // @perm: Name=ListDocuments GetDocumentReferences(ctx context.Context, in *GetDocumentReferencesRequest, opts ...grpc.CallOption) (*GetDocumentReferencesResponse, error) // @perm: Name=ListDocuments GetDocumentRelations(ctx context.Context, in *GetDocumentRelationsRequest, opts ...grpc.CallOption) (*GetDocumentRelationsResponse, error) // @perm AddDocumentReference(ctx context.Context, in *AddDocumentReferenceRequest, opts ...grpc.CallOption) (*AddDocumentReferenceResponse, error) // @perm: Name=AddDocumentReference RemoveDocumentReference(ctx context.Context, in *RemoveDocumentReferenceRequest, opts ...grpc.CallOption) (*RemoveDocumentReferenceResponse, error) // @perm AddDocumentRelation(ctx context.Context, in *AddDocumentRelationRequest, opts ...grpc.CallOption) (*AddDocumentRelationResponse, error) // @perm: Name=AddDocumentRelation RemoveDocumentRelation(ctx context.Context, in *RemoveDocumentRelationRequest, opts ...grpc.CallOption) (*RemoveDocumentRelationResponse, error) // @perm: Name=ListDocuments GetComments(ctx context.Context, in *GetCommentsRequest, opts ...grpc.CallOption) (*GetCommentsResponse, error) // @perm PostComment(ctx context.Context, in *PostCommentRequest, opts ...grpc.CallOption) (*PostCommentResponse, error) // @perm: Name=PostComment EditComment(ctx context.Context, in *EditCommentRequest, opts ...grpc.CallOption) (*EditCommentResponse, error) // @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"} DeleteComment(ctx context.Context, in *DeleteCommentRequest, opts ...grpc.CallOption) (*DeleteCommentResponse, error) // @perm: Name=ListDocuments GetDocumentAccess(ctx context.Context, in *GetDocumentAccessRequest, opts ...grpc.CallOption) (*GetDocumentAccessResponse, error) // @perm: Name=CreateDocument SetDocumentAccess(ctx context.Context, in *SetDocumentAccessRequest, opts ...grpc.CallOption) (*SetDocumentAccessResponse, error) // @perm ListDocumentActivity(ctx context.Context, in *ListDocumentActivityRequest, opts ...grpc.CallOption) (*ListDocumentActivityResponse, error) // @perm ListDocumentReqs(ctx context.Context, in *ListDocumentReqsRequest, opts ...grpc.CallOption) (*ListDocumentReqsResponse, error) // @perm: Attrs=Types/StringList:[]string{"Access", "Closure", "Update", "Deletion", "OwnerChange"} CreateDocumentReq(ctx context.Context, in *CreateDocumentReqRequest, opts ...grpc.CallOption) (*CreateDocumentReqResponse, error) // @perm: Name=CreateDocumentReq UpdateDocumentReq(ctx context.Context, in *UpdateDocumentReqRequest, opts ...grpc.CallOption) (*UpdateDocumentReqResponse, error) // @perm DeleteDocumentReq(ctx context.Context, in *DeleteDocumentReqRequest, opts ...grpc.CallOption) (*DeleteDocumentReqResponse, error) // @perm ListUserDocuments(ctx context.Context, in *ListUserDocumentsRequest, opts ...grpc.CallOption) (*ListUserDocumentsResponse, error) // @perm ListCategories(ctx context.Context, in *ListCategoriesRequest, opts ...grpc.CallOption) (*ListCategoriesResponse, error) // @perm CreateCategory(ctx context.Context, in *CreateCategoryRequest, opts ...grpc.CallOption) (*CreateCategoryResponse, error) // @perm: Name=CreateCategory UpdateCategory(ctx context.Context, in *UpdateCategoryRequest, opts ...grpc.CallOption) (*UpdateCategoryResponse, error) // @perm DeleteCategory(ctx context.Context, in *DeleteCategoryRequest, opts ...grpc.CallOption) (*DeleteCategoryResponse, error) // @perm: Name=ListDocuments ListDocumentPins(ctx context.Context, in *ListDocumentPinsRequest, opts ...grpc.CallOption) (*ListDocumentPinsResponse, error) // @perm ToggleDocumentPin(ctx context.Context, in *ToggleDocumentPinRequest, opts ...grpc.CallOption) (*ToggleDocumentPinResponse, error) // @perm SetDocumentReminder(ctx context.Context, in *SetDocumentReminderRequest, opts ...grpc.CallOption) (*SetDocumentReminderResponse, error) }
DocStoreServiceClient is the client API for DocStoreService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDocStoreServiceClient ¶
func NewDocStoreServiceClient(cc grpc.ClientConnInterface) DocStoreServiceClient
func NewTestDocStoreServiceClient ¶
func NewTestDocStoreServiceClient(srv DocStoreServiceServer) (DocStoreServiceClient, context.Context, context.CancelFunc)
type DocStoreServiceServer ¶
type DocStoreServiceServer interface { // @perm ListTemplates(context.Context, *ListTemplatesRequest) (*ListTemplatesResponse, error) // @perm: Name=ListTemplates GetTemplate(context.Context, *GetTemplateRequest) (*GetTemplateResponse, error) // @perm CreateTemplate(context.Context, *CreateTemplateRequest) (*CreateTemplateResponse, error) // @perm: Name=CreateTemplate UpdateTemplate(context.Context, *UpdateTemplateRequest) (*UpdateTemplateResponse, error) // @perm DeleteTemplate(context.Context, *DeleteTemplateRequest) (*DeleteTemplateResponse, error) // @perm ListDocuments(context.Context, *ListDocumentsRequest) (*ListDocumentsResponse, error) // @perm: Name=ListDocuments GetDocument(context.Context, *GetDocumentRequest) (*GetDocumentResponse, error) // @perm CreateDocument(context.Context, *CreateDocumentRequest) (*CreateDocumentResponse, error) // @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"} UpdateDocument(context.Context, *UpdateDocumentRequest) (*UpdateDocumentResponse, error) // @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"} DeleteDocument(context.Context, *DeleteDocumentRequest) (*DeleteDocumentResponse, error) // @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"} ToggleDocument(context.Context, *ToggleDocumentRequest) (*ToggleDocumentResponse, error) // @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"} ChangeDocumentOwner(context.Context, *ChangeDocumentOwnerRequest) (*ChangeDocumentOwnerResponse, error) // @perm: Name=ListDocuments GetDocumentReferences(context.Context, *GetDocumentReferencesRequest) (*GetDocumentReferencesResponse, error) // @perm: Name=ListDocuments GetDocumentRelations(context.Context, *GetDocumentRelationsRequest) (*GetDocumentRelationsResponse, error) // @perm AddDocumentReference(context.Context, *AddDocumentReferenceRequest) (*AddDocumentReferenceResponse, error) // @perm: Name=AddDocumentReference RemoveDocumentReference(context.Context, *RemoveDocumentReferenceRequest) (*RemoveDocumentReferenceResponse, error) // @perm AddDocumentRelation(context.Context, *AddDocumentRelationRequest) (*AddDocumentRelationResponse, error) // @perm: Name=AddDocumentRelation RemoveDocumentRelation(context.Context, *RemoveDocumentRelationRequest) (*RemoveDocumentRelationResponse, error) // @perm: Name=ListDocuments GetComments(context.Context, *GetCommentsRequest) (*GetCommentsResponse, error) // @perm PostComment(context.Context, *PostCommentRequest) (*PostCommentResponse, error) // @perm: Name=PostComment EditComment(context.Context, *EditCommentRequest) (*EditCommentResponse, error) // @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"} DeleteComment(context.Context, *DeleteCommentRequest) (*DeleteCommentResponse, error) // @perm: Name=ListDocuments GetDocumentAccess(context.Context, *GetDocumentAccessRequest) (*GetDocumentAccessResponse, error) // @perm: Name=CreateDocument SetDocumentAccess(context.Context, *SetDocumentAccessRequest) (*SetDocumentAccessResponse, error) // @perm ListDocumentActivity(context.Context, *ListDocumentActivityRequest) (*ListDocumentActivityResponse, error) // @perm ListDocumentReqs(context.Context, *ListDocumentReqsRequest) (*ListDocumentReqsResponse, error) // @perm: Attrs=Types/StringList:[]string{"Access", "Closure", "Update", "Deletion", "OwnerChange"} CreateDocumentReq(context.Context, *CreateDocumentReqRequest) (*CreateDocumentReqResponse, error) // @perm: Name=CreateDocumentReq UpdateDocumentReq(context.Context, *UpdateDocumentReqRequest) (*UpdateDocumentReqResponse, error) // @perm DeleteDocumentReq(context.Context, *DeleteDocumentReqRequest) (*DeleteDocumentReqResponse, error) // @perm ListUserDocuments(context.Context, *ListUserDocumentsRequest) (*ListUserDocumentsResponse, error) // @perm ListCategories(context.Context, *ListCategoriesRequest) (*ListCategoriesResponse, error) // @perm CreateCategory(context.Context, *CreateCategoryRequest) (*CreateCategoryResponse, error) // @perm: Name=CreateCategory UpdateCategory(context.Context, *UpdateCategoryRequest) (*UpdateCategoryResponse, error) // @perm DeleteCategory(context.Context, *DeleteCategoryRequest) (*DeleteCategoryResponse, error) // @perm: Name=ListDocuments ListDocumentPins(context.Context, *ListDocumentPinsRequest) (*ListDocumentPinsResponse, error) // @perm ToggleDocumentPin(context.Context, *ToggleDocumentPinRequest) (*ToggleDocumentPinResponse, error) // @perm SetDocumentReminder(context.Context, *SetDocumentReminderRequest) (*SetDocumentReminderResponse, error) // contains filtered or unexported methods }
DocStoreServiceServer is the server API for DocStoreService service. All implementations must embed UnimplementedDocStoreServiceServer for forward compatibility
type EditCommentRequest ¶
type EditCommentRequest struct { Comment *documents.Comment `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*EditCommentRequest) Descriptor
deprecated
func (*EditCommentRequest) Descriptor() ([]byte, []int)
Deprecated: Use EditCommentRequest.ProtoReflect.Descriptor instead.
func (*EditCommentRequest) GetComment ¶
func (x *EditCommentRequest) GetComment() *documents.Comment
func (*EditCommentRequest) ProtoMessage ¶
func (*EditCommentRequest) ProtoMessage()
func (*EditCommentRequest) ProtoReflect ¶
func (x *EditCommentRequest) ProtoReflect() protoreflect.Message
func (*EditCommentRequest) Reset ¶
func (x *EditCommentRequest) Reset()
func (*EditCommentRequest) Sanitize ¶ added in v0.9.4
func (m *EditCommentRequest) Sanitize() error
func (*EditCommentRequest) String ¶
func (x *EditCommentRequest) String() string
func (*EditCommentRequest) Validate ¶
func (m *EditCommentRequest) Validate() error
Validate checks the field values on EditCommentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EditCommentRequest) ValidateAll ¶
func (m *EditCommentRequest) ValidateAll() error
ValidateAll checks the field values on EditCommentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EditCommentRequestMultiError, or nil if none found.
type EditCommentRequestMultiError ¶
type EditCommentRequestMultiError []error
EditCommentRequestMultiError is an error wrapping multiple validation errors returned by EditCommentRequest.ValidateAll() if the designated constraints aren't met.
func (EditCommentRequestMultiError) AllErrors ¶
func (m EditCommentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EditCommentRequestMultiError) Error ¶
func (m EditCommentRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EditCommentRequestValidationError ¶
type EditCommentRequestValidationError struct {
// contains filtered or unexported fields
}
EditCommentRequestValidationError is the validation error returned by EditCommentRequest.Validate if the designated constraints aren't met.
func (EditCommentRequestValidationError) Cause ¶
func (e EditCommentRequestValidationError) Cause() error
Cause function returns cause value.
func (EditCommentRequestValidationError) Error ¶
func (e EditCommentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (EditCommentRequestValidationError) ErrorName ¶
func (e EditCommentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (EditCommentRequestValidationError) Field ¶
func (e EditCommentRequestValidationError) Field() string
Field function returns field value.
func (EditCommentRequestValidationError) Key ¶
func (e EditCommentRequestValidationError) Key() bool
Key function returns key value.
func (EditCommentRequestValidationError) Reason ¶
func (e EditCommentRequestValidationError) Reason() string
Reason function returns reason value.
type EditCommentResponse ¶
type EditCommentResponse struct { Comment *documents.Comment `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*EditCommentResponse) Descriptor
deprecated
func (*EditCommentResponse) Descriptor() ([]byte, []int)
Deprecated: Use EditCommentResponse.ProtoReflect.Descriptor instead.
func (*EditCommentResponse) GetComment ¶
func (x *EditCommentResponse) GetComment() *documents.Comment
func (*EditCommentResponse) ProtoMessage ¶
func (*EditCommentResponse) ProtoMessage()
func (*EditCommentResponse) ProtoReflect ¶
func (x *EditCommentResponse) ProtoReflect() protoreflect.Message
func (*EditCommentResponse) Reset ¶
func (x *EditCommentResponse) Reset()
func (*EditCommentResponse) Sanitize ¶ added in v0.9.4
func (m *EditCommentResponse) Sanitize() error
func (*EditCommentResponse) String ¶
func (x *EditCommentResponse) String() string
func (*EditCommentResponse) Validate ¶
func (m *EditCommentResponse) Validate() error
Validate checks the field values on EditCommentResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EditCommentResponse) ValidateAll ¶
func (m *EditCommentResponse) ValidateAll() error
ValidateAll checks the field values on EditCommentResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EditCommentResponseMultiError, or nil if none found.
type EditCommentResponseMultiError ¶
type EditCommentResponseMultiError []error
EditCommentResponseMultiError is an error wrapping multiple validation errors returned by EditCommentResponse.ValidateAll() if the designated constraints aren't met.
func (EditCommentResponseMultiError) AllErrors ¶
func (m EditCommentResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EditCommentResponseMultiError) Error ¶
func (m EditCommentResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EditCommentResponseValidationError ¶
type EditCommentResponseValidationError struct {
// contains filtered or unexported fields
}
EditCommentResponseValidationError is the validation error returned by EditCommentResponse.Validate if the designated constraints aren't met.
func (EditCommentResponseValidationError) Cause ¶
func (e EditCommentResponseValidationError) Cause() error
Cause function returns cause value.
func (EditCommentResponseValidationError) Error ¶
func (e EditCommentResponseValidationError) Error() string
Error satisfies the builtin error interface
func (EditCommentResponseValidationError) ErrorName ¶
func (e EditCommentResponseValidationError) ErrorName() string
ErrorName returns error name.
func (EditCommentResponseValidationError) Field ¶
func (e EditCommentResponseValidationError) Field() string
Field function returns field value.
func (EditCommentResponseValidationError) Key ¶
func (e EditCommentResponseValidationError) Key() bool
Key function returns key value.
func (EditCommentResponseValidationError) Reason ¶
func (e EditCommentResponseValidationError) Reason() string
Reason function returns reason value.
type GetCommentsRequest ¶
type GetCommentsRequest struct { Pagination *database.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` DocumentId uint64 `protobuf:"varint,2,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` // contains filtered or unexported fields }
func (*GetCommentsRequest) Descriptor
deprecated
func (*GetCommentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCommentsRequest.ProtoReflect.Descriptor instead.
func (*GetCommentsRequest) GetDocumentId ¶
func (x *GetCommentsRequest) GetDocumentId() uint64
func (*GetCommentsRequest) GetPagination ¶
func (x *GetCommentsRequest) GetPagination() *database.PaginationRequest
func (*GetCommentsRequest) ProtoMessage ¶
func (*GetCommentsRequest) ProtoMessage()
func (*GetCommentsRequest) ProtoReflect ¶
func (x *GetCommentsRequest) ProtoReflect() protoreflect.Message
func (*GetCommentsRequest) Reset ¶
func (x *GetCommentsRequest) Reset()
func (*GetCommentsRequest) Sanitize ¶ added in v0.9.4
func (m *GetCommentsRequest) Sanitize() error
func (*GetCommentsRequest) String ¶
func (x *GetCommentsRequest) String() string
func (*GetCommentsRequest) Validate ¶
func (m *GetCommentsRequest) Validate() error
Validate checks the field values on GetCommentsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetCommentsRequest) ValidateAll ¶
func (m *GetCommentsRequest) ValidateAll() error
ValidateAll checks the field values on GetCommentsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCommentsRequestMultiError, or nil if none found.
type GetCommentsRequestMultiError ¶
type GetCommentsRequestMultiError []error
GetCommentsRequestMultiError is an error wrapping multiple validation errors returned by GetCommentsRequest.ValidateAll() if the designated constraints aren't met.
func (GetCommentsRequestMultiError) AllErrors ¶
func (m GetCommentsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetCommentsRequestMultiError) Error ¶
func (m GetCommentsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetCommentsRequestValidationError ¶
type GetCommentsRequestValidationError struct {
// contains filtered or unexported fields
}
GetCommentsRequestValidationError is the validation error returned by GetCommentsRequest.Validate if the designated constraints aren't met.
func (GetCommentsRequestValidationError) Cause ¶
func (e GetCommentsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetCommentsRequestValidationError) Error ¶
func (e GetCommentsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetCommentsRequestValidationError) ErrorName ¶
func (e GetCommentsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetCommentsRequestValidationError) Field ¶
func (e GetCommentsRequestValidationError) Field() string
Field function returns field value.
func (GetCommentsRequestValidationError) Key ¶
func (e GetCommentsRequestValidationError) Key() bool
Key function returns key value.
func (GetCommentsRequestValidationError) Reason ¶
func (e GetCommentsRequestValidationError) Reason() string
Reason function returns reason value.
type GetCommentsResponse ¶
type GetCommentsResponse struct { Pagination *database.PaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Comments []*documents.Comment `protobuf:"bytes,2,rep,name=comments,proto3" json:"comments,omitempty"` // contains filtered or unexported fields }
func (*GetCommentsResponse) Descriptor
deprecated
func (*GetCommentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCommentsResponse.ProtoReflect.Descriptor instead.
func (*GetCommentsResponse) GetComments ¶
func (x *GetCommentsResponse) GetComments() []*documents.Comment
func (*GetCommentsResponse) GetPagination ¶
func (x *GetCommentsResponse) GetPagination() *database.PaginationResponse
func (*GetCommentsResponse) ProtoMessage ¶
func (*GetCommentsResponse) ProtoMessage()
func (*GetCommentsResponse) ProtoReflect ¶
func (x *GetCommentsResponse) ProtoReflect() protoreflect.Message
func (*GetCommentsResponse) Reset ¶
func (x *GetCommentsResponse) Reset()
func (*GetCommentsResponse) Sanitize ¶ added in v0.9.4
func (m *GetCommentsResponse) Sanitize() error
func (*GetCommentsResponse) String ¶
func (x *GetCommentsResponse) String() string
func (*GetCommentsResponse) Validate ¶
func (m *GetCommentsResponse) Validate() error
Validate checks the field values on GetCommentsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetCommentsResponse) ValidateAll ¶
func (m *GetCommentsResponse) ValidateAll() error
ValidateAll checks the field values on GetCommentsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCommentsResponseMultiError, or nil if none found.
type GetCommentsResponseMultiError ¶
type GetCommentsResponseMultiError []error
GetCommentsResponseMultiError is an error wrapping multiple validation errors returned by GetCommentsResponse.ValidateAll() if the designated constraints aren't met.
func (GetCommentsResponseMultiError) AllErrors ¶
func (m GetCommentsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetCommentsResponseMultiError) Error ¶
func (m GetCommentsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetCommentsResponseValidationError ¶
type GetCommentsResponseValidationError struct {
// contains filtered or unexported fields
}
GetCommentsResponseValidationError is the validation error returned by GetCommentsResponse.Validate if the designated constraints aren't met.
func (GetCommentsResponseValidationError) Cause ¶
func (e GetCommentsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetCommentsResponseValidationError) Error ¶
func (e GetCommentsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetCommentsResponseValidationError) ErrorName ¶
func (e GetCommentsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetCommentsResponseValidationError) Field ¶
func (e GetCommentsResponseValidationError) Field() string
Field function returns field value.
func (GetCommentsResponseValidationError) Key ¶
func (e GetCommentsResponseValidationError) Key() bool
Key function returns key value.
func (GetCommentsResponseValidationError) Reason ¶
func (e GetCommentsResponseValidationError) Reason() string
Reason function returns reason value.
type GetDocumentAccessRequest ¶
type GetDocumentAccessRequest struct { DocumentId uint64 `protobuf:"varint,1,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` // contains filtered or unexported fields }
func (*GetDocumentAccessRequest) Descriptor
deprecated
func (*GetDocumentAccessRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDocumentAccessRequest.ProtoReflect.Descriptor instead.
func (*GetDocumentAccessRequest) GetDocumentId ¶
func (x *GetDocumentAccessRequest) GetDocumentId() uint64
func (*GetDocumentAccessRequest) ProtoMessage ¶
func (*GetDocumentAccessRequest) ProtoMessage()
func (*GetDocumentAccessRequest) ProtoReflect ¶
func (x *GetDocumentAccessRequest) ProtoReflect() protoreflect.Message
func (*GetDocumentAccessRequest) Reset ¶
func (x *GetDocumentAccessRequest) Reset()
func (*GetDocumentAccessRequest) Sanitize ¶ added in v0.9.4
func (m *GetDocumentAccessRequest) Sanitize() error
func (*GetDocumentAccessRequest) String ¶
func (x *GetDocumentAccessRequest) String() string
func (*GetDocumentAccessRequest) Validate ¶
func (m *GetDocumentAccessRequest) Validate() error
Validate checks the field values on GetDocumentAccessRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetDocumentAccessRequest) ValidateAll ¶
func (m *GetDocumentAccessRequest) ValidateAll() error
ValidateAll checks the field values on GetDocumentAccessRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetDocumentAccessRequestMultiError, or nil if none found.
type GetDocumentAccessRequestMultiError ¶
type GetDocumentAccessRequestMultiError []error
GetDocumentAccessRequestMultiError is an error wrapping multiple validation errors returned by GetDocumentAccessRequest.ValidateAll() if the designated constraints aren't met.
func (GetDocumentAccessRequestMultiError) AllErrors ¶
func (m GetDocumentAccessRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDocumentAccessRequestMultiError) Error ¶
func (m GetDocumentAccessRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDocumentAccessRequestValidationError ¶
type GetDocumentAccessRequestValidationError struct {
// contains filtered or unexported fields
}
GetDocumentAccessRequestValidationError is the validation error returned by GetDocumentAccessRequest.Validate if the designated constraints aren't met.
func (GetDocumentAccessRequestValidationError) Cause ¶
func (e GetDocumentAccessRequestValidationError) Cause() error
Cause function returns cause value.
func (GetDocumentAccessRequestValidationError) Error ¶
func (e GetDocumentAccessRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetDocumentAccessRequestValidationError) ErrorName ¶
func (e GetDocumentAccessRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetDocumentAccessRequestValidationError) Field ¶
func (e GetDocumentAccessRequestValidationError) Field() string
Field function returns field value.
func (GetDocumentAccessRequestValidationError) Key ¶
func (e GetDocumentAccessRequestValidationError) Key() bool
Key function returns key value.
func (GetDocumentAccessRequestValidationError) Reason ¶
func (e GetDocumentAccessRequestValidationError) Reason() string
Reason function returns reason value.
type GetDocumentAccessResponse ¶
type GetDocumentAccessResponse struct { Access *documents.DocumentAccess `protobuf:"bytes,1,opt,name=access,proto3" json:"access,omitempty"` // contains filtered or unexported fields }
func (*GetDocumentAccessResponse) Descriptor
deprecated
func (*GetDocumentAccessResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDocumentAccessResponse.ProtoReflect.Descriptor instead.
func (*GetDocumentAccessResponse) GetAccess ¶
func (x *GetDocumentAccessResponse) GetAccess() *documents.DocumentAccess
func (*GetDocumentAccessResponse) ProtoMessage ¶
func (*GetDocumentAccessResponse) ProtoMessage()
func (*GetDocumentAccessResponse) ProtoReflect ¶
func (x *GetDocumentAccessResponse) ProtoReflect() protoreflect.Message
func (*GetDocumentAccessResponse) Reset ¶
func (x *GetDocumentAccessResponse) Reset()
func (*GetDocumentAccessResponse) Sanitize ¶ added in v0.9.4
func (m *GetDocumentAccessResponse) Sanitize() error
func (*GetDocumentAccessResponse) String ¶
func (x *GetDocumentAccessResponse) String() string
func (*GetDocumentAccessResponse) Validate ¶
func (m *GetDocumentAccessResponse) Validate() error
Validate checks the field values on GetDocumentAccessResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetDocumentAccessResponse) ValidateAll ¶
func (m *GetDocumentAccessResponse) ValidateAll() error
ValidateAll checks the field values on GetDocumentAccessResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetDocumentAccessResponseMultiError, or nil if none found.
type GetDocumentAccessResponseMultiError ¶
type GetDocumentAccessResponseMultiError []error
GetDocumentAccessResponseMultiError is an error wrapping multiple validation errors returned by GetDocumentAccessResponse.ValidateAll() if the designated constraints aren't met.
func (GetDocumentAccessResponseMultiError) AllErrors ¶
func (m GetDocumentAccessResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDocumentAccessResponseMultiError) Error ¶
func (m GetDocumentAccessResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDocumentAccessResponseValidationError ¶
type GetDocumentAccessResponseValidationError struct {
// contains filtered or unexported fields
}
GetDocumentAccessResponseValidationError is the validation error returned by GetDocumentAccessResponse.Validate if the designated constraints aren't met.
func (GetDocumentAccessResponseValidationError) Cause ¶
func (e GetDocumentAccessResponseValidationError) Cause() error
Cause function returns cause value.
func (GetDocumentAccessResponseValidationError) Error ¶
func (e GetDocumentAccessResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetDocumentAccessResponseValidationError) ErrorName ¶
func (e GetDocumentAccessResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetDocumentAccessResponseValidationError) Field ¶
func (e GetDocumentAccessResponseValidationError) Field() string
Field function returns field value.
func (GetDocumentAccessResponseValidationError) Key ¶
func (e GetDocumentAccessResponseValidationError) Key() bool
Key function returns key value.
func (GetDocumentAccessResponseValidationError) Reason ¶
func (e GetDocumentAccessResponseValidationError) Reason() string
Reason function returns reason value.
type GetDocumentReferencesRequest ¶
type GetDocumentReferencesRequest struct { DocumentId uint64 `protobuf:"varint,1,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` // contains filtered or unexported fields }
func (*GetDocumentReferencesRequest) Descriptor
deprecated
func (*GetDocumentReferencesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDocumentReferencesRequest.ProtoReflect.Descriptor instead.
func (*GetDocumentReferencesRequest) GetDocumentId ¶
func (x *GetDocumentReferencesRequest) GetDocumentId() uint64
func (*GetDocumentReferencesRequest) ProtoMessage ¶
func (*GetDocumentReferencesRequest) ProtoMessage()
func (*GetDocumentReferencesRequest) ProtoReflect ¶
func (x *GetDocumentReferencesRequest) ProtoReflect() protoreflect.Message
func (*GetDocumentReferencesRequest) Reset ¶
func (x *GetDocumentReferencesRequest) Reset()
func (*GetDocumentReferencesRequest) Sanitize ¶ added in v0.9.4
func (m *GetDocumentReferencesRequest) Sanitize() error
func (*GetDocumentReferencesRequest) String ¶
func (x *GetDocumentReferencesRequest) String() string
func (*GetDocumentReferencesRequest) Validate ¶
func (m *GetDocumentReferencesRequest) Validate() error
Validate checks the field values on GetDocumentReferencesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetDocumentReferencesRequest) ValidateAll ¶
func (m *GetDocumentReferencesRequest) ValidateAll() error
ValidateAll checks the field values on GetDocumentReferencesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetDocumentReferencesRequestMultiError, or nil if none found.
type GetDocumentReferencesRequestMultiError ¶
type GetDocumentReferencesRequestMultiError []error
GetDocumentReferencesRequestMultiError is an error wrapping multiple validation errors returned by GetDocumentReferencesRequest.ValidateAll() if the designated constraints aren't met.
func (GetDocumentReferencesRequestMultiError) AllErrors ¶
func (m GetDocumentReferencesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDocumentReferencesRequestMultiError) Error ¶
func (m GetDocumentReferencesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDocumentReferencesRequestValidationError ¶
type GetDocumentReferencesRequestValidationError struct {
// contains filtered or unexported fields
}
GetDocumentReferencesRequestValidationError is the validation error returned by GetDocumentReferencesRequest.Validate if the designated constraints aren't met.
func (GetDocumentReferencesRequestValidationError) Cause ¶
func (e GetDocumentReferencesRequestValidationError) Cause() error
Cause function returns cause value.
func (GetDocumentReferencesRequestValidationError) Error ¶
func (e GetDocumentReferencesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetDocumentReferencesRequestValidationError) ErrorName ¶
func (e GetDocumentReferencesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetDocumentReferencesRequestValidationError) Field ¶
func (e GetDocumentReferencesRequestValidationError) Field() string
Field function returns field value.
func (GetDocumentReferencesRequestValidationError) Key ¶
func (e GetDocumentReferencesRequestValidationError) Key() bool
Key function returns key value.
func (GetDocumentReferencesRequestValidationError) Reason ¶
func (e GetDocumentReferencesRequestValidationError) Reason() string
Reason function returns reason value.
type GetDocumentReferencesResponse ¶
type GetDocumentReferencesResponse struct { References []*documents.DocumentReference `protobuf:"bytes,1,rep,name=references,proto3" json:"references,omitempty" alias:"reference"` // @gotags: alias:"reference" // contains filtered or unexported fields }
func (*GetDocumentReferencesResponse) Descriptor
deprecated
func (*GetDocumentReferencesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDocumentReferencesResponse.ProtoReflect.Descriptor instead.
func (*GetDocumentReferencesResponse) GetReferences ¶
func (x *GetDocumentReferencesResponse) GetReferences() []*documents.DocumentReference
func (*GetDocumentReferencesResponse) ProtoMessage ¶
func (*GetDocumentReferencesResponse) ProtoMessage()
func (*GetDocumentReferencesResponse) ProtoReflect ¶
func (x *GetDocumentReferencesResponse) ProtoReflect() protoreflect.Message
func (*GetDocumentReferencesResponse) Reset ¶
func (x *GetDocumentReferencesResponse) Reset()
func (*GetDocumentReferencesResponse) Sanitize ¶ added in v0.9.4
func (m *GetDocumentReferencesResponse) Sanitize() error
func (*GetDocumentReferencesResponse) String ¶
func (x *GetDocumentReferencesResponse) String() string
func (*GetDocumentReferencesResponse) Validate ¶
func (m *GetDocumentReferencesResponse) Validate() error
Validate checks the field values on GetDocumentReferencesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetDocumentReferencesResponse) ValidateAll ¶
func (m *GetDocumentReferencesResponse) ValidateAll() error
ValidateAll checks the field values on GetDocumentReferencesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetDocumentReferencesResponseMultiError, or nil if none found.
type GetDocumentReferencesResponseMultiError ¶
type GetDocumentReferencesResponseMultiError []error
GetDocumentReferencesResponseMultiError is an error wrapping multiple validation errors returned by GetDocumentReferencesResponse.ValidateAll() if the designated constraints aren't met.
func (GetDocumentReferencesResponseMultiError) AllErrors ¶
func (m GetDocumentReferencesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDocumentReferencesResponseMultiError) Error ¶
func (m GetDocumentReferencesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDocumentReferencesResponseValidationError ¶
type GetDocumentReferencesResponseValidationError struct {
// contains filtered or unexported fields
}
GetDocumentReferencesResponseValidationError is the validation error returned by GetDocumentReferencesResponse.Validate if the designated constraints aren't met.
func (GetDocumentReferencesResponseValidationError) Cause ¶
func (e GetDocumentReferencesResponseValidationError) Cause() error
Cause function returns cause value.
func (GetDocumentReferencesResponseValidationError) Error ¶
func (e GetDocumentReferencesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetDocumentReferencesResponseValidationError) ErrorName ¶
func (e GetDocumentReferencesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetDocumentReferencesResponseValidationError) Field ¶
func (e GetDocumentReferencesResponseValidationError) Field() string
Field function returns field value.
func (GetDocumentReferencesResponseValidationError) Key ¶
func (e GetDocumentReferencesResponseValidationError) Key() bool
Key function returns key value.
func (GetDocumentReferencesResponseValidationError) Reason ¶
func (e GetDocumentReferencesResponseValidationError) Reason() string
Reason function returns reason value.
type GetDocumentRelationsRequest ¶
type GetDocumentRelationsRequest struct { DocumentId uint64 `protobuf:"varint,1,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` // contains filtered or unexported fields }
func (*GetDocumentRelationsRequest) Descriptor
deprecated
func (*GetDocumentRelationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDocumentRelationsRequest.ProtoReflect.Descriptor instead.
func (*GetDocumentRelationsRequest) GetDocumentId ¶
func (x *GetDocumentRelationsRequest) GetDocumentId() uint64
func (*GetDocumentRelationsRequest) ProtoMessage ¶
func (*GetDocumentRelationsRequest) ProtoMessage()
func (*GetDocumentRelationsRequest) ProtoReflect ¶
func (x *GetDocumentRelationsRequest) ProtoReflect() protoreflect.Message
func (*GetDocumentRelationsRequest) Reset ¶
func (x *GetDocumentRelationsRequest) Reset()
func (*GetDocumentRelationsRequest) Sanitize ¶ added in v0.9.4
func (m *GetDocumentRelationsRequest) Sanitize() error
func (*GetDocumentRelationsRequest) String ¶
func (x *GetDocumentRelationsRequest) String() string
func (*GetDocumentRelationsRequest) Validate ¶
func (m *GetDocumentRelationsRequest) Validate() error
Validate checks the field values on GetDocumentRelationsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetDocumentRelationsRequest) ValidateAll ¶
func (m *GetDocumentRelationsRequest) ValidateAll() error
ValidateAll checks the field values on GetDocumentRelationsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetDocumentRelationsRequestMultiError, or nil if none found.
type GetDocumentRelationsRequestMultiError ¶
type GetDocumentRelationsRequestMultiError []error
GetDocumentRelationsRequestMultiError is an error wrapping multiple validation errors returned by GetDocumentRelationsRequest.ValidateAll() if the designated constraints aren't met.
func (GetDocumentRelationsRequestMultiError) AllErrors ¶
func (m GetDocumentRelationsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDocumentRelationsRequestMultiError) Error ¶
func (m GetDocumentRelationsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDocumentRelationsRequestValidationError ¶
type GetDocumentRelationsRequestValidationError struct {
// contains filtered or unexported fields
}
GetDocumentRelationsRequestValidationError is the validation error returned by GetDocumentRelationsRequest.Validate if the designated constraints aren't met.
func (GetDocumentRelationsRequestValidationError) Cause ¶
func (e GetDocumentRelationsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetDocumentRelationsRequestValidationError) Error ¶
func (e GetDocumentRelationsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetDocumentRelationsRequestValidationError) ErrorName ¶
func (e GetDocumentRelationsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetDocumentRelationsRequestValidationError) Field ¶
func (e GetDocumentRelationsRequestValidationError) Field() string
Field function returns field value.
func (GetDocumentRelationsRequestValidationError) Key ¶
func (e GetDocumentRelationsRequestValidationError) Key() bool
Key function returns key value.
func (GetDocumentRelationsRequestValidationError) Reason ¶
func (e GetDocumentRelationsRequestValidationError) Reason() string
Reason function returns reason value.
type GetDocumentRelationsResponse ¶
type GetDocumentRelationsResponse struct { Relations []*documents.DocumentRelation `protobuf:"bytes,1,rep,name=relations,proto3" json:"relations,omitempty" alias:"relation"` // @gotags: alias:"relation" // contains filtered or unexported fields }
func (*GetDocumentRelationsResponse) Descriptor
deprecated
func (*GetDocumentRelationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDocumentRelationsResponse.ProtoReflect.Descriptor instead.
func (*GetDocumentRelationsResponse) GetRelations ¶
func (x *GetDocumentRelationsResponse) GetRelations() []*documents.DocumentRelation
func (*GetDocumentRelationsResponse) ProtoMessage ¶
func (*GetDocumentRelationsResponse) ProtoMessage()
func (*GetDocumentRelationsResponse) ProtoReflect ¶
func (x *GetDocumentRelationsResponse) ProtoReflect() protoreflect.Message
func (*GetDocumentRelationsResponse) Reset ¶
func (x *GetDocumentRelationsResponse) Reset()
func (*GetDocumentRelationsResponse) Sanitize ¶ added in v0.9.4
func (m *GetDocumentRelationsResponse) Sanitize() error
func (*GetDocumentRelationsResponse) String ¶
func (x *GetDocumentRelationsResponse) String() string
func (*GetDocumentRelationsResponse) Validate ¶
func (m *GetDocumentRelationsResponse) Validate() error
Validate checks the field values on GetDocumentRelationsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetDocumentRelationsResponse) ValidateAll ¶
func (m *GetDocumentRelationsResponse) ValidateAll() error
ValidateAll checks the field values on GetDocumentRelationsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetDocumentRelationsResponseMultiError, or nil if none found.
type GetDocumentRelationsResponseMultiError ¶
type GetDocumentRelationsResponseMultiError []error
GetDocumentRelationsResponseMultiError is an error wrapping multiple validation errors returned by GetDocumentRelationsResponse.ValidateAll() if the designated constraints aren't met.
func (GetDocumentRelationsResponseMultiError) AllErrors ¶
func (m GetDocumentRelationsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDocumentRelationsResponseMultiError) Error ¶
func (m GetDocumentRelationsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDocumentRelationsResponseValidationError ¶
type GetDocumentRelationsResponseValidationError struct {
// contains filtered or unexported fields
}
GetDocumentRelationsResponseValidationError is the validation error returned by GetDocumentRelationsResponse.Validate if the designated constraints aren't met.
func (GetDocumentRelationsResponseValidationError) Cause ¶
func (e GetDocumentRelationsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetDocumentRelationsResponseValidationError) Error ¶
func (e GetDocumentRelationsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetDocumentRelationsResponseValidationError) ErrorName ¶
func (e GetDocumentRelationsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetDocumentRelationsResponseValidationError) Field ¶
func (e GetDocumentRelationsResponseValidationError) Field() string
Field function returns field value.
func (GetDocumentRelationsResponseValidationError) Key ¶
func (e GetDocumentRelationsResponseValidationError) Key() bool
Key function returns key value.
func (GetDocumentRelationsResponseValidationError) Reason ¶
func (e GetDocumentRelationsResponseValidationError) Reason() string
Reason function returns reason value.
type GetDocumentRequest ¶
type GetDocumentRequest struct { DocumentId uint64 `protobuf:"varint,1,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` InfoOnly *bool `protobuf:"varint,2,opt,name=info_only,json=infoOnly,proto3,oneof" json:"info_only,omitempty"` // contains filtered or unexported fields }
func (*GetDocumentRequest) Descriptor
deprecated
func (*GetDocumentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDocumentRequest.ProtoReflect.Descriptor instead.
func (*GetDocumentRequest) GetDocumentId ¶
func (x *GetDocumentRequest) GetDocumentId() uint64
func (*GetDocumentRequest) GetInfoOnly ¶
func (x *GetDocumentRequest) GetInfoOnly() bool
func (*GetDocumentRequest) ProtoMessage ¶
func (*GetDocumentRequest) ProtoMessage()
func (*GetDocumentRequest) ProtoReflect ¶
func (x *GetDocumentRequest) ProtoReflect() protoreflect.Message
func (*GetDocumentRequest) Reset ¶
func (x *GetDocumentRequest) Reset()
func (*GetDocumentRequest) Sanitize ¶ added in v0.9.4
func (m *GetDocumentRequest) Sanitize() error
func (*GetDocumentRequest) String ¶
func (x *GetDocumentRequest) String() string
func (*GetDocumentRequest) Validate ¶
func (m *GetDocumentRequest) Validate() error
Validate checks the field values on GetDocumentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetDocumentRequest) ValidateAll ¶
func (m *GetDocumentRequest) ValidateAll() error
ValidateAll checks the field values on GetDocumentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetDocumentRequestMultiError, or nil if none found.
type GetDocumentRequestMultiError ¶
type GetDocumentRequestMultiError []error
GetDocumentRequestMultiError is an error wrapping multiple validation errors returned by GetDocumentRequest.ValidateAll() if the designated constraints aren't met.
func (GetDocumentRequestMultiError) AllErrors ¶
func (m GetDocumentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDocumentRequestMultiError) Error ¶
func (m GetDocumentRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDocumentRequestValidationError ¶
type GetDocumentRequestValidationError struct {
// contains filtered or unexported fields
}
GetDocumentRequestValidationError is the validation error returned by GetDocumentRequest.Validate if the designated constraints aren't met.
func (GetDocumentRequestValidationError) Cause ¶
func (e GetDocumentRequestValidationError) Cause() error
Cause function returns cause value.
func (GetDocumentRequestValidationError) Error ¶
func (e GetDocumentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetDocumentRequestValidationError) ErrorName ¶
func (e GetDocumentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetDocumentRequestValidationError) Field ¶
func (e GetDocumentRequestValidationError) Field() string
Field function returns field value.
func (GetDocumentRequestValidationError) Key ¶
func (e GetDocumentRequestValidationError) Key() bool
Key function returns key value.
func (GetDocumentRequestValidationError) Reason ¶
func (e GetDocumentRequestValidationError) Reason() string
Reason function returns reason value.
type GetDocumentResponse ¶
type GetDocumentResponse struct { Document *documents.Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` Access *documents.DocumentAccess `protobuf:"bytes,2,opt,name=access,proto3" json:"access,omitempty"` // contains filtered or unexported fields }
func (*GetDocumentResponse) Descriptor
deprecated
func (*GetDocumentResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDocumentResponse.ProtoReflect.Descriptor instead.
func (*GetDocumentResponse) GetAccess ¶
func (x *GetDocumentResponse) GetAccess() *documents.DocumentAccess
func (*GetDocumentResponse) GetDocument ¶
func (x *GetDocumentResponse) GetDocument() *documents.Document
func (*GetDocumentResponse) ProtoMessage ¶
func (*GetDocumentResponse) ProtoMessage()
func (*GetDocumentResponse) ProtoReflect ¶
func (x *GetDocumentResponse) ProtoReflect() protoreflect.Message
func (*GetDocumentResponse) Reset ¶
func (x *GetDocumentResponse) Reset()
func (*GetDocumentResponse) Sanitize ¶ added in v0.9.4
func (m *GetDocumentResponse) Sanitize() error
func (*GetDocumentResponse) String ¶
func (x *GetDocumentResponse) String() string
func (*GetDocumentResponse) Validate ¶
func (m *GetDocumentResponse) Validate() error
Validate checks the field values on GetDocumentResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetDocumentResponse) ValidateAll ¶
func (m *GetDocumentResponse) ValidateAll() error
ValidateAll checks the field values on GetDocumentResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetDocumentResponseMultiError, or nil if none found.
type GetDocumentResponseMultiError ¶
type GetDocumentResponseMultiError []error
GetDocumentResponseMultiError is an error wrapping multiple validation errors returned by GetDocumentResponse.ValidateAll() if the designated constraints aren't met.
func (GetDocumentResponseMultiError) AllErrors ¶
func (m GetDocumentResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDocumentResponseMultiError) Error ¶
func (m GetDocumentResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDocumentResponseValidationError ¶
type GetDocumentResponseValidationError struct {
// contains filtered or unexported fields
}
GetDocumentResponseValidationError is the validation error returned by GetDocumentResponse.Validate if the designated constraints aren't met.
func (GetDocumentResponseValidationError) Cause ¶
func (e GetDocumentResponseValidationError) Cause() error
Cause function returns cause value.
func (GetDocumentResponseValidationError) Error ¶
func (e GetDocumentResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetDocumentResponseValidationError) ErrorName ¶
func (e GetDocumentResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetDocumentResponseValidationError) Field ¶
func (e GetDocumentResponseValidationError) Field() string
Field function returns field value.
func (GetDocumentResponseValidationError) Key ¶
func (e GetDocumentResponseValidationError) Key() bool
Key function returns key value.
func (GetDocumentResponseValidationError) Reason ¶
func (e GetDocumentResponseValidationError) Reason() string
Reason function returns reason value.
type GetTemplateRequest ¶
type GetTemplateRequest struct { TemplateId uint64 `protobuf:"varint,1,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` Data *documents.TemplateData `protobuf:"bytes,2,opt,name=data,proto3,oneof" json:"data,omitempty"` Render *bool `protobuf:"varint,3,opt,name=render,proto3,oneof" json:"render,omitempty"` // contains filtered or unexported fields }
func (*GetTemplateRequest) Descriptor
deprecated
func (*GetTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTemplateRequest.ProtoReflect.Descriptor instead.
func (*GetTemplateRequest) GetData ¶
func (x *GetTemplateRequest) GetData() *documents.TemplateData
func (*GetTemplateRequest) GetRender ¶
func (x *GetTemplateRequest) GetRender() bool
func (*GetTemplateRequest) GetTemplateId ¶
func (x *GetTemplateRequest) GetTemplateId() uint64
func (*GetTemplateRequest) ProtoMessage ¶
func (*GetTemplateRequest) ProtoMessage()
func (*GetTemplateRequest) ProtoReflect ¶
func (x *GetTemplateRequest) ProtoReflect() protoreflect.Message
func (*GetTemplateRequest) Reset ¶
func (x *GetTemplateRequest) Reset()
func (*GetTemplateRequest) Sanitize ¶ added in v0.9.4
func (m *GetTemplateRequest) Sanitize() error
func (*GetTemplateRequest) String ¶
func (x *GetTemplateRequest) String() string
func (*GetTemplateRequest) Validate ¶
func (m *GetTemplateRequest) Validate() error
Validate checks the field values on GetTemplateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetTemplateRequest) ValidateAll ¶
func (m *GetTemplateRequest) ValidateAll() error
ValidateAll checks the field values on GetTemplateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetTemplateRequestMultiError, or nil if none found.
type GetTemplateRequestMultiError ¶
type GetTemplateRequestMultiError []error
GetTemplateRequestMultiError is an error wrapping multiple validation errors returned by GetTemplateRequest.ValidateAll() if the designated constraints aren't met.
func (GetTemplateRequestMultiError) AllErrors ¶
func (m GetTemplateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTemplateRequestMultiError) Error ¶
func (m GetTemplateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTemplateRequestValidationError ¶
type GetTemplateRequestValidationError struct {
// contains filtered or unexported fields
}
GetTemplateRequestValidationError is the validation error returned by GetTemplateRequest.Validate if the designated constraints aren't met.
func (GetTemplateRequestValidationError) Cause ¶
func (e GetTemplateRequestValidationError) Cause() error
Cause function returns cause value.
func (GetTemplateRequestValidationError) Error ¶
func (e GetTemplateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetTemplateRequestValidationError) ErrorName ¶
func (e GetTemplateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetTemplateRequestValidationError) Field ¶
func (e GetTemplateRequestValidationError) Field() string
Field function returns field value.
func (GetTemplateRequestValidationError) Key ¶
func (e GetTemplateRequestValidationError) Key() bool
Key function returns key value.
func (GetTemplateRequestValidationError) Reason ¶
func (e GetTemplateRequestValidationError) Reason() string
Reason function returns reason value.
type GetTemplateResponse ¶
type GetTemplateResponse struct { Template *documents.Template `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` Rendered bool `protobuf:"varint,2,opt,name=rendered,proto3" json:"rendered,omitempty"` // contains filtered or unexported fields }
func (*GetTemplateResponse) Descriptor
deprecated
func (*GetTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTemplateResponse.ProtoReflect.Descriptor instead.
func (*GetTemplateResponse) GetRendered ¶
func (x *GetTemplateResponse) GetRendered() bool
func (*GetTemplateResponse) GetTemplate ¶
func (x *GetTemplateResponse) GetTemplate() *documents.Template
func (*GetTemplateResponse) ProtoMessage ¶
func (*GetTemplateResponse) ProtoMessage()
func (*GetTemplateResponse) ProtoReflect ¶
func (x *GetTemplateResponse) ProtoReflect() protoreflect.Message
func (*GetTemplateResponse) Reset ¶
func (x *GetTemplateResponse) Reset()
func (*GetTemplateResponse) Sanitize ¶ added in v0.9.4
func (m *GetTemplateResponse) Sanitize() error
func (*GetTemplateResponse) String ¶
func (x *GetTemplateResponse) String() string
func (*GetTemplateResponse) Validate ¶
func (m *GetTemplateResponse) Validate() error
Validate checks the field values on GetTemplateResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetTemplateResponse) ValidateAll ¶
func (m *GetTemplateResponse) ValidateAll() error
ValidateAll checks the field values on GetTemplateResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetTemplateResponseMultiError, or nil if none found.
type GetTemplateResponseMultiError ¶
type GetTemplateResponseMultiError []error
GetTemplateResponseMultiError is an error wrapping multiple validation errors returned by GetTemplateResponse.ValidateAll() if the designated constraints aren't met.
func (GetTemplateResponseMultiError) AllErrors ¶
func (m GetTemplateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTemplateResponseMultiError) Error ¶
func (m GetTemplateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTemplateResponseValidationError ¶
type GetTemplateResponseValidationError struct {
// contains filtered or unexported fields
}
GetTemplateResponseValidationError is the validation error returned by GetTemplateResponse.Validate if the designated constraints aren't met.
func (GetTemplateResponseValidationError) Cause ¶
func (e GetTemplateResponseValidationError) Cause() error
Cause function returns cause value.
func (GetTemplateResponseValidationError) Error ¶
func (e GetTemplateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetTemplateResponseValidationError) ErrorName ¶
func (e GetTemplateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetTemplateResponseValidationError) Field ¶
func (e GetTemplateResponseValidationError) Field() string
Field function returns field value.
func (GetTemplateResponseValidationError) Key ¶
func (e GetTemplateResponseValidationError) Key() bool
Key function returns key value.
func (GetTemplateResponseValidationError) Reason ¶
func (e GetTemplateResponseValidationError) Reason() string
Reason function returns reason value.
type ListCategoriesRequest ¶
type ListCategoriesRequest struct {
// contains filtered or unexported fields
}
func (*ListCategoriesRequest) Descriptor
deprecated
func (*ListCategoriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCategoriesRequest.ProtoReflect.Descriptor instead.
func (*ListCategoriesRequest) ProtoMessage ¶
func (*ListCategoriesRequest) ProtoMessage()
func (*ListCategoriesRequest) ProtoReflect ¶
func (x *ListCategoriesRequest) ProtoReflect() protoreflect.Message
func (*ListCategoriesRequest) Reset ¶
func (x *ListCategoriesRequest) Reset()
func (*ListCategoriesRequest) Sanitize ¶ added in v0.9.4
func (m *ListCategoriesRequest) Sanitize() error
func (*ListCategoriesRequest) String ¶
func (x *ListCategoriesRequest) String() string
func (*ListCategoriesRequest) Validate ¶
func (m *ListCategoriesRequest) Validate() error
Validate checks the field values on ListCategoriesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListCategoriesRequest) ValidateAll ¶
func (m *ListCategoriesRequest) ValidateAll() error
ValidateAll checks the field values on ListCategoriesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListCategoriesRequestMultiError, or nil if none found.
type ListCategoriesRequestMultiError ¶
type ListCategoriesRequestMultiError []error
ListCategoriesRequestMultiError is an error wrapping multiple validation errors returned by ListCategoriesRequest.ValidateAll() if the designated constraints aren't met.
func (ListCategoriesRequestMultiError) AllErrors ¶
func (m ListCategoriesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListCategoriesRequestMultiError) Error ¶
func (m ListCategoriesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListCategoriesRequestValidationError ¶
type ListCategoriesRequestValidationError struct {
// contains filtered or unexported fields
}
ListCategoriesRequestValidationError is the validation error returned by ListCategoriesRequest.Validate if the designated constraints aren't met.
func (ListCategoriesRequestValidationError) Cause ¶
func (e ListCategoriesRequestValidationError) Cause() error
Cause function returns cause value.
func (ListCategoriesRequestValidationError) Error ¶
func (e ListCategoriesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListCategoriesRequestValidationError) ErrorName ¶
func (e ListCategoriesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListCategoriesRequestValidationError) Field ¶
func (e ListCategoriesRequestValidationError) Field() string
Field function returns field value.
func (ListCategoriesRequestValidationError) Key ¶
func (e ListCategoriesRequestValidationError) Key() bool
Key function returns key value.
func (ListCategoriesRequestValidationError) Reason ¶
func (e ListCategoriesRequestValidationError) Reason() string
Reason function returns reason value.
type ListCategoriesResponse ¶
type ListCategoriesResponse struct { Category []*documents.Category `protobuf:"bytes,1,rep,name=category,proto3" json:"category,omitempty"` // contains filtered or unexported fields }
func (*ListCategoriesResponse) Descriptor
deprecated
func (*ListCategoriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCategoriesResponse.ProtoReflect.Descriptor instead.
func (*ListCategoriesResponse) GetCategory ¶
func (x *ListCategoriesResponse) GetCategory() []*documents.Category
func (*ListCategoriesResponse) ProtoMessage ¶
func (*ListCategoriesResponse) ProtoMessage()
func (*ListCategoriesResponse) ProtoReflect ¶
func (x *ListCategoriesResponse) ProtoReflect() protoreflect.Message
func (*ListCategoriesResponse) Reset ¶
func (x *ListCategoriesResponse) Reset()
func (*ListCategoriesResponse) Sanitize ¶ added in v0.9.4
func (m *ListCategoriesResponse) Sanitize() error
func (*ListCategoriesResponse) String ¶
func (x *ListCategoriesResponse) String() string
func (*ListCategoriesResponse) Validate ¶
func (m *ListCategoriesResponse) Validate() error
Validate checks the field values on ListCategoriesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListCategoriesResponse) ValidateAll ¶
func (m *ListCategoriesResponse) ValidateAll() error
ValidateAll checks the field values on ListCategoriesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListCategoriesResponseMultiError, or nil if none found.
type ListCategoriesResponseMultiError ¶
type ListCategoriesResponseMultiError []error
ListCategoriesResponseMultiError is an error wrapping multiple validation errors returned by ListCategoriesResponse.ValidateAll() if the designated constraints aren't met.
func (ListCategoriesResponseMultiError) AllErrors ¶
func (m ListCategoriesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListCategoriesResponseMultiError) Error ¶
func (m ListCategoriesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListCategoriesResponseValidationError ¶
type ListCategoriesResponseValidationError struct {
// contains filtered or unexported fields
}
ListCategoriesResponseValidationError is the validation error returned by ListCategoriesResponse.Validate if the designated constraints aren't met.
func (ListCategoriesResponseValidationError) Cause ¶
func (e ListCategoriesResponseValidationError) Cause() error
Cause function returns cause value.
func (ListCategoriesResponseValidationError) Error ¶
func (e ListCategoriesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListCategoriesResponseValidationError) ErrorName ¶
func (e ListCategoriesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListCategoriesResponseValidationError) Field ¶
func (e ListCategoriesResponseValidationError) Field() string
Field function returns field value.
func (ListCategoriesResponseValidationError) Key ¶
func (e ListCategoriesResponseValidationError) Key() bool
Key function returns key value.
func (ListCategoriesResponseValidationError) Reason ¶
func (e ListCategoriesResponseValidationError) Reason() string
Reason function returns reason value.
type ListDocumentActivityRequest ¶
type ListDocumentActivityRequest struct { Pagination *database.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` DocumentId uint64 `protobuf:"varint,2,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` // Search params ActivityTypes []documents.DocActivityType `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ListDocumentActivityRequest) Descriptor
deprecated
func (*ListDocumentActivityRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDocumentActivityRequest.ProtoReflect.Descriptor instead.
func (*ListDocumentActivityRequest) GetActivityTypes ¶
func (x *ListDocumentActivityRequest) GetActivityTypes() []documents.DocActivityType
func (*ListDocumentActivityRequest) GetDocumentId ¶
func (x *ListDocumentActivityRequest) GetDocumentId() uint64
func (*ListDocumentActivityRequest) GetPagination ¶
func (x *ListDocumentActivityRequest) GetPagination() *database.PaginationRequest
func (*ListDocumentActivityRequest) ProtoMessage ¶
func (*ListDocumentActivityRequest) ProtoMessage()
func (*ListDocumentActivityRequest) ProtoReflect ¶
func (x *ListDocumentActivityRequest) ProtoReflect() protoreflect.Message
func (*ListDocumentActivityRequest) Reset ¶
func (x *ListDocumentActivityRequest) Reset()
func (*ListDocumentActivityRequest) Sanitize ¶ added in v0.9.4
func (m *ListDocumentActivityRequest) Sanitize() error
func (*ListDocumentActivityRequest) String ¶
func (x *ListDocumentActivityRequest) String() string
func (*ListDocumentActivityRequest) Validate ¶
func (m *ListDocumentActivityRequest) Validate() error
Validate checks the field values on ListDocumentActivityRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListDocumentActivityRequest) ValidateAll ¶
func (m *ListDocumentActivityRequest) ValidateAll() error
ValidateAll checks the field values on ListDocumentActivityRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListDocumentActivityRequestMultiError, or nil if none found.
type ListDocumentActivityRequestMultiError ¶
type ListDocumentActivityRequestMultiError []error
ListDocumentActivityRequestMultiError is an error wrapping multiple validation errors returned by ListDocumentActivityRequest.ValidateAll() if the designated constraints aren't met.
func (ListDocumentActivityRequestMultiError) AllErrors ¶
func (m ListDocumentActivityRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDocumentActivityRequestMultiError) Error ¶
func (m ListDocumentActivityRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDocumentActivityRequestValidationError ¶
type ListDocumentActivityRequestValidationError struct {
// contains filtered or unexported fields
}
ListDocumentActivityRequestValidationError is the validation error returned by ListDocumentActivityRequest.Validate if the designated constraints aren't met.
func (ListDocumentActivityRequestValidationError) Cause ¶
func (e ListDocumentActivityRequestValidationError) Cause() error
Cause function returns cause value.
func (ListDocumentActivityRequestValidationError) Error ¶
func (e ListDocumentActivityRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListDocumentActivityRequestValidationError) ErrorName ¶
func (e ListDocumentActivityRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListDocumentActivityRequestValidationError) Field ¶
func (e ListDocumentActivityRequestValidationError) Field() string
Field function returns field value.
func (ListDocumentActivityRequestValidationError) Key ¶
func (e ListDocumentActivityRequestValidationError) Key() bool
Key function returns key value.
func (ListDocumentActivityRequestValidationError) Reason ¶
func (e ListDocumentActivityRequestValidationError) Reason() string
Reason function returns reason value.
type ListDocumentActivityResponse ¶
type ListDocumentActivityResponse struct { Pagination *database.PaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Activity []*documents.DocActivity `protobuf:"bytes,2,rep,name=activity,proto3" json:"activity,omitempty"` // contains filtered or unexported fields }
func (*ListDocumentActivityResponse) Descriptor
deprecated
func (*ListDocumentActivityResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDocumentActivityResponse.ProtoReflect.Descriptor instead.
func (*ListDocumentActivityResponse) GetActivity ¶
func (x *ListDocumentActivityResponse) GetActivity() []*documents.DocActivity
func (*ListDocumentActivityResponse) GetPagination ¶
func (x *ListDocumentActivityResponse) GetPagination() *database.PaginationResponse
func (*ListDocumentActivityResponse) ProtoMessage ¶
func (*ListDocumentActivityResponse) ProtoMessage()
func (*ListDocumentActivityResponse) ProtoReflect ¶
func (x *ListDocumentActivityResponse) ProtoReflect() protoreflect.Message
func (*ListDocumentActivityResponse) Reset ¶
func (x *ListDocumentActivityResponse) Reset()
func (*ListDocumentActivityResponse) Sanitize ¶ added in v0.9.4
func (m *ListDocumentActivityResponse) Sanitize() error
func (*ListDocumentActivityResponse) String ¶
func (x *ListDocumentActivityResponse) String() string
func (*ListDocumentActivityResponse) Validate ¶
func (m *ListDocumentActivityResponse) Validate() error
Validate checks the field values on ListDocumentActivityResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListDocumentActivityResponse) ValidateAll ¶
func (m *ListDocumentActivityResponse) ValidateAll() error
ValidateAll checks the field values on ListDocumentActivityResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListDocumentActivityResponseMultiError, or nil if none found.
type ListDocumentActivityResponseMultiError ¶
type ListDocumentActivityResponseMultiError []error
ListDocumentActivityResponseMultiError is an error wrapping multiple validation errors returned by ListDocumentActivityResponse.ValidateAll() if the designated constraints aren't met.
func (ListDocumentActivityResponseMultiError) AllErrors ¶
func (m ListDocumentActivityResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDocumentActivityResponseMultiError) Error ¶
func (m ListDocumentActivityResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDocumentActivityResponseValidationError ¶
type ListDocumentActivityResponseValidationError struct {
// contains filtered or unexported fields
}
ListDocumentActivityResponseValidationError is the validation error returned by ListDocumentActivityResponse.Validate if the designated constraints aren't met.
func (ListDocumentActivityResponseValidationError) Cause ¶
func (e ListDocumentActivityResponseValidationError) Cause() error
Cause function returns cause value.
func (ListDocumentActivityResponseValidationError) Error ¶
func (e ListDocumentActivityResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListDocumentActivityResponseValidationError) ErrorName ¶
func (e ListDocumentActivityResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListDocumentActivityResponseValidationError) Field ¶
func (e ListDocumentActivityResponseValidationError) Field() string
Field function returns field value.
func (ListDocumentActivityResponseValidationError) Key ¶
func (e ListDocumentActivityResponseValidationError) Key() bool
Key function returns key value.
func (ListDocumentActivityResponseValidationError) Reason ¶
func (e ListDocumentActivityResponseValidationError) Reason() string
Reason function returns reason value.
type ListDocumentPinsRequest ¶
type ListDocumentPinsRequest struct { Pagination *database.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ListDocumentPinsRequest) Descriptor
deprecated
func (*ListDocumentPinsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDocumentPinsRequest.ProtoReflect.Descriptor instead.
func (*ListDocumentPinsRequest) GetPagination ¶
func (x *ListDocumentPinsRequest) GetPagination() *database.PaginationRequest
func (*ListDocumentPinsRequest) ProtoMessage ¶
func (*ListDocumentPinsRequest) ProtoMessage()
func (*ListDocumentPinsRequest) ProtoReflect ¶
func (x *ListDocumentPinsRequest) ProtoReflect() protoreflect.Message
func (*ListDocumentPinsRequest) Reset ¶
func (x *ListDocumentPinsRequest) Reset()
func (*ListDocumentPinsRequest) Sanitize ¶ added in v0.9.4
func (m *ListDocumentPinsRequest) Sanitize() error
func (*ListDocumentPinsRequest) String ¶
func (x *ListDocumentPinsRequest) String() string
func (*ListDocumentPinsRequest) Validate ¶
func (m *ListDocumentPinsRequest) Validate() error
Validate checks the field values on ListDocumentPinsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListDocumentPinsRequest) ValidateAll ¶
func (m *ListDocumentPinsRequest) ValidateAll() error
ValidateAll checks the field values on ListDocumentPinsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListDocumentPinsRequestMultiError, or nil if none found.
type ListDocumentPinsRequestMultiError ¶
type ListDocumentPinsRequestMultiError []error
ListDocumentPinsRequestMultiError is an error wrapping multiple validation errors returned by ListDocumentPinsRequest.ValidateAll() if the designated constraints aren't met.
func (ListDocumentPinsRequestMultiError) AllErrors ¶
func (m ListDocumentPinsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDocumentPinsRequestMultiError) Error ¶
func (m ListDocumentPinsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDocumentPinsRequestValidationError ¶
type ListDocumentPinsRequestValidationError struct {
// contains filtered or unexported fields
}
ListDocumentPinsRequestValidationError is the validation error returned by ListDocumentPinsRequest.Validate if the designated constraints aren't met.
func (ListDocumentPinsRequestValidationError) Cause ¶
func (e ListDocumentPinsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListDocumentPinsRequestValidationError) Error ¶
func (e ListDocumentPinsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListDocumentPinsRequestValidationError) ErrorName ¶
func (e ListDocumentPinsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListDocumentPinsRequestValidationError) Field ¶
func (e ListDocumentPinsRequestValidationError) Field() string
Field function returns field value.
func (ListDocumentPinsRequestValidationError) Key ¶
func (e ListDocumentPinsRequestValidationError) Key() bool
Key function returns key value.
func (ListDocumentPinsRequestValidationError) Reason ¶
func (e ListDocumentPinsRequestValidationError) Reason() string
Reason function returns reason value.
type ListDocumentPinsResponse ¶
type ListDocumentPinsResponse struct { Pagination *database.PaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Documents []*documents.DocumentShort `protobuf:"bytes,2,rep,name=documents,proto3" json:"documents,omitempty"` // contains filtered or unexported fields }
func (*ListDocumentPinsResponse) Descriptor
deprecated
func (*ListDocumentPinsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDocumentPinsResponse.ProtoReflect.Descriptor instead.
func (*ListDocumentPinsResponse) GetDocuments ¶
func (x *ListDocumentPinsResponse) GetDocuments() []*documents.DocumentShort
func (*ListDocumentPinsResponse) GetPagination ¶
func (x *ListDocumentPinsResponse) GetPagination() *database.PaginationResponse
func (*ListDocumentPinsResponse) ProtoMessage ¶
func (*ListDocumentPinsResponse) ProtoMessage()
func (*ListDocumentPinsResponse) ProtoReflect ¶
func (x *ListDocumentPinsResponse) ProtoReflect() protoreflect.Message
func (*ListDocumentPinsResponse) Reset ¶
func (x *ListDocumentPinsResponse) Reset()
func (*ListDocumentPinsResponse) Sanitize ¶ added in v0.9.4
func (m *ListDocumentPinsResponse) Sanitize() error
func (*ListDocumentPinsResponse) String ¶
func (x *ListDocumentPinsResponse) String() string
func (*ListDocumentPinsResponse) Validate ¶
func (m *ListDocumentPinsResponse) Validate() error
Validate checks the field values on ListDocumentPinsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListDocumentPinsResponse) ValidateAll ¶
func (m *ListDocumentPinsResponse) ValidateAll() error
ValidateAll checks the field values on ListDocumentPinsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListDocumentPinsResponseMultiError, or nil if none found.
type ListDocumentPinsResponseMultiError ¶
type ListDocumentPinsResponseMultiError []error
ListDocumentPinsResponseMultiError is an error wrapping multiple validation errors returned by ListDocumentPinsResponse.ValidateAll() if the designated constraints aren't met.
func (ListDocumentPinsResponseMultiError) AllErrors ¶
func (m ListDocumentPinsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDocumentPinsResponseMultiError) Error ¶
func (m ListDocumentPinsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDocumentPinsResponseValidationError ¶
type ListDocumentPinsResponseValidationError struct {
// contains filtered or unexported fields
}
ListDocumentPinsResponseValidationError is the validation error returned by ListDocumentPinsResponse.Validate if the designated constraints aren't met.
func (ListDocumentPinsResponseValidationError) Cause ¶
func (e ListDocumentPinsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListDocumentPinsResponseValidationError) Error ¶
func (e ListDocumentPinsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListDocumentPinsResponseValidationError) ErrorName ¶
func (e ListDocumentPinsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListDocumentPinsResponseValidationError) Field ¶
func (e ListDocumentPinsResponseValidationError) Field() string
Field function returns field value.
func (ListDocumentPinsResponseValidationError) Key ¶
func (e ListDocumentPinsResponseValidationError) Key() bool
Key function returns key value.
func (ListDocumentPinsResponseValidationError) Reason ¶
func (e ListDocumentPinsResponseValidationError) Reason() string
Reason function returns reason value.
type ListDocumentReqsRequest ¶
type ListDocumentReqsRequest struct { Pagination *database.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` DocumentId uint64 `protobuf:"varint,2,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` // contains filtered or unexported fields }
func (*ListDocumentReqsRequest) Descriptor
deprecated
func (*ListDocumentReqsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDocumentReqsRequest.ProtoReflect.Descriptor instead.
func (*ListDocumentReqsRequest) GetDocumentId ¶
func (x *ListDocumentReqsRequest) GetDocumentId() uint64
func (*ListDocumentReqsRequest) GetPagination ¶
func (x *ListDocumentReqsRequest) GetPagination() *database.PaginationRequest
func (*ListDocumentReqsRequest) ProtoMessage ¶
func (*ListDocumentReqsRequest) ProtoMessage()
func (*ListDocumentReqsRequest) ProtoReflect ¶
func (x *ListDocumentReqsRequest) ProtoReflect() protoreflect.Message
func (*ListDocumentReqsRequest) Reset ¶
func (x *ListDocumentReqsRequest) Reset()
func (*ListDocumentReqsRequest) Sanitize ¶ added in v0.9.4
func (m *ListDocumentReqsRequest) Sanitize() error
func (*ListDocumentReqsRequest) String ¶
func (x *ListDocumentReqsRequest) String() string
func (*ListDocumentReqsRequest) Validate ¶
func (m *ListDocumentReqsRequest) Validate() error
Validate checks the field values on ListDocumentReqsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListDocumentReqsRequest) ValidateAll ¶
func (m *ListDocumentReqsRequest) ValidateAll() error
ValidateAll checks the field values on ListDocumentReqsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListDocumentReqsRequestMultiError, or nil if none found.
type ListDocumentReqsRequestMultiError ¶
type ListDocumentReqsRequestMultiError []error
ListDocumentReqsRequestMultiError is an error wrapping multiple validation errors returned by ListDocumentReqsRequest.ValidateAll() if the designated constraints aren't met.
func (ListDocumentReqsRequestMultiError) AllErrors ¶
func (m ListDocumentReqsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDocumentReqsRequestMultiError) Error ¶
func (m ListDocumentReqsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDocumentReqsRequestValidationError ¶
type ListDocumentReqsRequestValidationError struct {
// contains filtered or unexported fields
}
ListDocumentReqsRequestValidationError is the validation error returned by ListDocumentReqsRequest.Validate if the designated constraints aren't met.
func (ListDocumentReqsRequestValidationError) Cause ¶
func (e ListDocumentReqsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListDocumentReqsRequestValidationError) Error ¶
func (e ListDocumentReqsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListDocumentReqsRequestValidationError) ErrorName ¶
func (e ListDocumentReqsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListDocumentReqsRequestValidationError) Field ¶
func (e ListDocumentReqsRequestValidationError) Field() string
Field function returns field value.
func (ListDocumentReqsRequestValidationError) Key ¶
func (e ListDocumentReqsRequestValidationError) Key() bool
Key function returns key value.
func (ListDocumentReqsRequestValidationError) Reason ¶
func (e ListDocumentReqsRequestValidationError) Reason() string
Reason function returns reason value.
type ListDocumentReqsResponse ¶
type ListDocumentReqsResponse struct { Pagination *database.PaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Requests []*documents.DocRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
func (*ListDocumentReqsResponse) Descriptor
deprecated
func (*ListDocumentReqsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDocumentReqsResponse.ProtoReflect.Descriptor instead.
func (*ListDocumentReqsResponse) GetPagination ¶
func (x *ListDocumentReqsResponse) GetPagination() *database.PaginationResponse
func (*ListDocumentReqsResponse) GetRequests ¶
func (x *ListDocumentReqsResponse) GetRequests() []*documents.DocRequest
func (*ListDocumentReqsResponse) ProtoMessage ¶
func (*ListDocumentReqsResponse) ProtoMessage()
func (*ListDocumentReqsResponse) ProtoReflect ¶
func (x *ListDocumentReqsResponse) ProtoReflect() protoreflect.Message
func (*ListDocumentReqsResponse) Reset ¶
func (x *ListDocumentReqsResponse) Reset()
func (*ListDocumentReqsResponse) Sanitize ¶ added in v0.9.4
func (m *ListDocumentReqsResponse) Sanitize() error
func (*ListDocumentReqsResponse) String ¶
func (x *ListDocumentReqsResponse) String() string
func (*ListDocumentReqsResponse) Validate ¶
func (m *ListDocumentReqsResponse) Validate() error
Validate checks the field values on ListDocumentReqsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListDocumentReqsResponse) ValidateAll ¶
func (m *ListDocumentReqsResponse) ValidateAll() error
ValidateAll checks the field values on ListDocumentReqsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListDocumentReqsResponseMultiError, or nil if none found.
type ListDocumentReqsResponseMultiError ¶
type ListDocumentReqsResponseMultiError []error
ListDocumentReqsResponseMultiError is an error wrapping multiple validation errors returned by ListDocumentReqsResponse.ValidateAll() if the designated constraints aren't met.
func (ListDocumentReqsResponseMultiError) AllErrors ¶
func (m ListDocumentReqsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDocumentReqsResponseMultiError) Error ¶
func (m ListDocumentReqsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDocumentReqsResponseValidationError ¶
type ListDocumentReqsResponseValidationError struct {
// contains filtered or unexported fields
}
ListDocumentReqsResponseValidationError is the validation error returned by ListDocumentReqsResponse.Validate if the designated constraints aren't met.
func (ListDocumentReqsResponseValidationError) Cause ¶
func (e ListDocumentReqsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListDocumentReqsResponseValidationError) Error ¶
func (e ListDocumentReqsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListDocumentReqsResponseValidationError) ErrorName ¶
func (e ListDocumentReqsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListDocumentReqsResponseValidationError) Field ¶
func (e ListDocumentReqsResponseValidationError) Field() string
Field function returns field value.
func (ListDocumentReqsResponseValidationError) Key ¶
func (e ListDocumentReqsResponseValidationError) Key() bool
Key function returns key value.
func (ListDocumentReqsResponseValidationError) Reason ¶
func (e ListDocumentReqsResponseValidationError) Reason() string
Reason function returns reason value.
type ListDocumentsRequest ¶
type ListDocumentsRequest struct { Pagination *database.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Sort *database.Sort `protobuf:"bytes,2,opt,name=sort,proto3,oneof" json:"sort,omitempty"` // Search params Search *string `protobuf:"bytes,3,opt,name=search,proto3,oneof" json:"search,omitempty"` CategoryIds []uint64 `protobuf:"varint,4,rep,packed,name=category_ids,json=categoryIds,proto3" json:"category_ids,omitempty"` CreatorIds []int32 `protobuf:"varint,5,rep,packed,name=creator_ids,json=creatorIds,proto3" json:"creator_ids,omitempty"` From *timestamp.Timestamp `protobuf:"bytes,6,opt,name=from,proto3,oneof" json:"from,omitempty"` To *timestamp.Timestamp `protobuf:"bytes,7,opt,name=to,proto3,oneof" json:"to,omitempty"` Closed *bool `protobuf:"varint,8,opt,name=closed,proto3,oneof" json:"closed,omitempty"` DocumentIds []uint64 `protobuf:"varint,9,rep,packed,name=document_ids,json=documentIds,proto3" json:"document_ids,omitempty"` // contains filtered or unexported fields }
func (*ListDocumentsRequest) Descriptor
deprecated
func (*ListDocumentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDocumentsRequest.ProtoReflect.Descriptor instead.
func (*ListDocumentsRequest) GetCategoryIds ¶
func (x *ListDocumentsRequest) GetCategoryIds() []uint64
func (*ListDocumentsRequest) GetClosed ¶
func (x *ListDocumentsRequest) GetClosed() bool
func (*ListDocumentsRequest) GetCreatorIds ¶
func (x *ListDocumentsRequest) GetCreatorIds() []int32
func (*ListDocumentsRequest) GetDocumentIds ¶
func (x *ListDocumentsRequest) GetDocumentIds() []uint64
func (*ListDocumentsRequest) GetFrom ¶
func (x *ListDocumentsRequest) GetFrom() *timestamp.Timestamp
func (*ListDocumentsRequest) GetPagination ¶
func (x *ListDocumentsRequest) GetPagination() *database.PaginationRequest
func (*ListDocumentsRequest) GetSearch ¶
func (x *ListDocumentsRequest) GetSearch() string
func (*ListDocumentsRequest) GetSort ¶ added in v0.9.3
func (x *ListDocumentsRequest) GetSort() *database.Sort
func (*ListDocumentsRequest) GetTo ¶
func (x *ListDocumentsRequest) GetTo() *timestamp.Timestamp
func (*ListDocumentsRequest) ProtoMessage ¶
func (*ListDocumentsRequest) ProtoMessage()
func (*ListDocumentsRequest) ProtoReflect ¶
func (x *ListDocumentsRequest) ProtoReflect() protoreflect.Message
func (*ListDocumentsRequest) Reset ¶
func (x *ListDocumentsRequest) Reset()
func (*ListDocumentsRequest) Sanitize ¶ added in v0.9.4
func (m *ListDocumentsRequest) Sanitize() error
func (*ListDocumentsRequest) String ¶
func (x *ListDocumentsRequest) String() string
func (*ListDocumentsRequest) Validate ¶
func (m *ListDocumentsRequest) Validate() error
Validate checks the field values on ListDocumentsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListDocumentsRequest) ValidateAll ¶
func (m *ListDocumentsRequest) ValidateAll() error
ValidateAll checks the field values on ListDocumentsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListDocumentsRequestMultiError, or nil if none found.
type ListDocumentsRequestMultiError ¶
type ListDocumentsRequestMultiError []error
ListDocumentsRequestMultiError is an error wrapping multiple validation errors returned by ListDocumentsRequest.ValidateAll() if the designated constraints aren't met.
func (ListDocumentsRequestMultiError) AllErrors ¶
func (m ListDocumentsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDocumentsRequestMultiError) Error ¶
func (m ListDocumentsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDocumentsRequestValidationError ¶
type ListDocumentsRequestValidationError struct {
// contains filtered or unexported fields
}
ListDocumentsRequestValidationError is the validation error returned by ListDocumentsRequest.Validate if the designated constraints aren't met.
func (ListDocumentsRequestValidationError) Cause ¶
func (e ListDocumentsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListDocumentsRequestValidationError) Error ¶
func (e ListDocumentsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListDocumentsRequestValidationError) ErrorName ¶
func (e ListDocumentsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListDocumentsRequestValidationError) Field ¶
func (e ListDocumentsRequestValidationError) Field() string
Field function returns field value.
func (ListDocumentsRequestValidationError) Key ¶
func (e ListDocumentsRequestValidationError) Key() bool
Key function returns key value.
func (ListDocumentsRequestValidationError) Reason ¶
func (e ListDocumentsRequestValidationError) Reason() string
Reason function returns reason value.
type ListDocumentsResponse ¶
type ListDocumentsResponse struct { Pagination *database.PaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Documents []*documents.DocumentShort `protobuf:"bytes,2,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() []*documents.DocumentShort
func (*ListDocumentsResponse) GetPagination ¶
func (x *ListDocumentsResponse) GetPagination() *database.PaginationResponse
func (*ListDocumentsResponse) ProtoMessage ¶
func (*ListDocumentsResponse) ProtoMessage()
func (*ListDocumentsResponse) ProtoReflect ¶
func (x *ListDocumentsResponse) ProtoReflect() protoreflect.Message
func (*ListDocumentsResponse) Reset ¶
func (x *ListDocumentsResponse) Reset()
func (*ListDocumentsResponse) Sanitize ¶ added in v0.9.4
func (m *ListDocumentsResponse) Sanitize() error
func (*ListDocumentsResponse) String ¶
func (x *ListDocumentsResponse) String() string
func (*ListDocumentsResponse) Validate ¶
func (m *ListDocumentsResponse) Validate() error
Validate checks the field values on ListDocumentsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListDocumentsResponse) ValidateAll ¶
func (m *ListDocumentsResponse) ValidateAll() error
ValidateAll checks the field values on ListDocumentsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListDocumentsResponseMultiError, or nil if none found.
type ListDocumentsResponseMultiError ¶
type ListDocumentsResponseMultiError []error
ListDocumentsResponseMultiError is an error wrapping multiple validation errors returned by ListDocumentsResponse.ValidateAll() if the designated constraints aren't met.
func (ListDocumentsResponseMultiError) AllErrors ¶
func (m ListDocumentsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDocumentsResponseMultiError) Error ¶
func (m ListDocumentsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDocumentsResponseValidationError ¶
type ListDocumentsResponseValidationError struct {
// contains filtered or unexported fields
}
ListDocumentsResponseValidationError is the validation error returned by ListDocumentsResponse.Validate if the designated constraints aren't met.
func (ListDocumentsResponseValidationError) Cause ¶
func (e ListDocumentsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListDocumentsResponseValidationError) Error ¶
func (e ListDocumentsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListDocumentsResponseValidationError) ErrorName ¶
func (e ListDocumentsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListDocumentsResponseValidationError) Field ¶
func (e ListDocumentsResponseValidationError) Field() string
Field function returns field value.
func (ListDocumentsResponseValidationError) Key ¶
func (e ListDocumentsResponseValidationError) Key() bool
Key function returns key value.
func (ListDocumentsResponseValidationError) Reason ¶
func (e ListDocumentsResponseValidationError) Reason() string
Reason function returns reason value.
type ListTemplatesRequest ¶
type ListTemplatesRequest struct {
// contains filtered or unexported fields
}
func (*ListTemplatesRequest) Descriptor
deprecated
func (*ListTemplatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTemplatesRequest.ProtoReflect.Descriptor instead.
func (*ListTemplatesRequest) ProtoMessage ¶
func (*ListTemplatesRequest) ProtoMessage()
func (*ListTemplatesRequest) ProtoReflect ¶
func (x *ListTemplatesRequest) ProtoReflect() protoreflect.Message
func (*ListTemplatesRequest) Reset ¶
func (x *ListTemplatesRequest) Reset()
func (*ListTemplatesRequest) Sanitize ¶ added in v0.9.4
func (m *ListTemplatesRequest) Sanitize() error
func (*ListTemplatesRequest) String ¶
func (x *ListTemplatesRequest) String() string
func (*ListTemplatesRequest) Validate ¶
func (m *ListTemplatesRequest) Validate() error
Validate checks the field values on ListTemplatesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListTemplatesRequest) ValidateAll ¶
func (m *ListTemplatesRequest) ValidateAll() error
ValidateAll checks the field values on ListTemplatesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTemplatesRequestMultiError, or nil if none found.
type ListTemplatesRequestMultiError ¶
type ListTemplatesRequestMultiError []error
ListTemplatesRequestMultiError is an error wrapping multiple validation errors returned by ListTemplatesRequest.ValidateAll() if the designated constraints aren't met.
func (ListTemplatesRequestMultiError) AllErrors ¶
func (m ListTemplatesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTemplatesRequestMultiError) Error ¶
func (m ListTemplatesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTemplatesRequestValidationError ¶
type ListTemplatesRequestValidationError struct {
// contains filtered or unexported fields
}
ListTemplatesRequestValidationError is the validation error returned by ListTemplatesRequest.Validate if the designated constraints aren't met.
func (ListTemplatesRequestValidationError) Cause ¶
func (e ListTemplatesRequestValidationError) Cause() error
Cause function returns cause value.
func (ListTemplatesRequestValidationError) Error ¶
func (e ListTemplatesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListTemplatesRequestValidationError) ErrorName ¶
func (e ListTemplatesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListTemplatesRequestValidationError) Field ¶
func (e ListTemplatesRequestValidationError) Field() string
Field function returns field value.
func (ListTemplatesRequestValidationError) Key ¶
func (e ListTemplatesRequestValidationError) Key() bool
Key function returns key value.
func (ListTemplatesRequestValidationError) Reason ¶
func (e ListTemplatesRequestValidationError) Reason() string
Reason function returns reason value.
type ListTemplatesResponse ¶
type ListTemplatesResponse struct { Templates []*documents.TemplateShort `protobuf:"bytes,1,rep,name=templates,proto3" json:"templates,omitempty"` // contains filtered or unexported fields }
func (*ListTemplatesResponse) Descriptor
deprecated
func (*ListTemplatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTemplatesResponse.ProtoReflect.Descriptor instead.
func (*ListTemplatesResponse) GetTemplates ¶
func (x *ListTemplatesResponse) GetTemplates() []*documents.TemplateShort
func (*ListTemplatesResponse) ProtoMessage ¶
func (*ListTemplatesResponse) ProtoMessage()
func (*ListTemplatesResponse) ProtoReflect ¶
func (x *ListTemplatesResponse) ProtoReflect() protoreflect.Message
func (*ListTemplatesResponse) Reset ¶
func (x *ListTemplatesResponse) Reset()
func (*ListTemplatesResponse) Sanitize ¶ added in v0.9.4
func (m *ListTemplatesResponse) Sanitize() error
func (*ListTemplatesResponse) String ¶
func (x *ListTemplatesResponse) String() string
func (*ListTemplatesResponse) Validate ¶
func (m *ListTemplatesResponse) Validate() error
Validate checks the field values on ListTemplatesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListTemplatesResponse) ValidateAll ¶
func (m *ListTemplatesResponse) ValidateAll() error
ValidateAll checks the field values on ListTemplatesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTemplatesResponseMultiError, or nil if none found.
type ListTemplatesResponseMultiError ¶
type ListTemplatesResponseMultiError []error
ListTemplatesResponseMultiError is an error wrapping multiple validation errors returned by ListTemplatesResponse.ValidateAll() if the designated constraints aren't met.
func (ListTemplatesResponseMultiError) AllErrors ¶
func (m ListTemplatesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTemplatesResponseMultiError) Error ¶
func (m ListTemplatesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTemplatesResponseValidationError ¶
type ListTemplatesResponseValidationError struct {
// contains filtered or unexported fields
}
ListTemplatesResponseValidationError is the validation error returned by ListTemplatesResponse.Validate if the designated constraints aren't met.
func (ListTemplatesResponseValidationError) Cause ¶
func (e ListTemplatesResponseValidationError) Cause() error
Cause function returns cause value.
func (ListTemplatesResponseValidationError) Error ¶
func (e ListTemplatesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListTemplatesResponseValidationError) ErrorName ¶
func (e ListTemplatesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListTemplatesResponseValidationError) Field ¶
func (e ListTemplatesResponseValidationError) Field() string
Field function returns field value.
func (ListTemplatesResponseValidationError) Key ¶
func (e ListTemplatesResponseValidationError) Key() bool
Key function returns key value.
func (ListTemplatesResponseValidationError) Reason ¶
func (e ListTemplatesResponseValidationError) Reason() string
Reason function returns reason value.
type ListUserDocumentsRequest ¶
type ListUserDocumentsRequest struct { Pagination *database.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` UserId int32 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Relations []documents.DocRelation `protobuf:"varint,3,rep,packed,name=relations,proto3,enum=resources.documents.DocRelation" json:"relations,omitempty"` Closed *bool `protobuf:"varint,8,opt,name=closed,proto3,oneof" json:"closed,omitempty"` // contains filtered or unexported fields }
func (*ListUserDocumentsRequest) Descriptor
deprecated
func (*ListUserDocumentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUserDocumentsRequest.ProtoReflect.Descriptor instead.
func (*ListUserDocumentsRequest) GetClosed ¶ added in v0.9.2
func (x *ListUserDocumentsRequest) GetClosed() bool
func (*ListUserDocumentsRequest) GetPagination ¶
func (x *ListUserDocumentsRequest) GetPagination() *database.PaginationRequest
func (*ListUserDocumentsRequest) GetRelations ¶
func (x *ListUserDocumentsRequest) GetRelations() []documents.DocRelation
func (*ListUserDocumentsRequest) GetUserId ¶
func (x *ListUserDocumentsRequest) GetUserId() int32
func (*ListUserDocumentsRequest) ProtoMessage ¶
func (*ListUserDocumentsRequest) ProtoMessage()
func (*ListUserDocumentsRequest) ProtoReflect ¶
func (x *ListUserDocumentsRequest) ProtoReflect() protoreflect.Message
func (*ListUserDocumentsRequest) Reset ¶
func (x *ListUserDocumentsRequest) Reset()
func (*ListUserDocumentsRequest) Sanitize ¶ added in v0.9.4
func (m *ListUserDocumentsRequest) Sanitize() error
func (*ListUserDocumentsRequest) String ¶
func (x *ListUserDocumentsRequest) String() string
func (*ListUserDocumentsRequest) Validate ¶
func (m *ListUserDocumentsRequest) Validate() error
Validate checks the field values on ListUserDocumentsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListUserDocumentsRequest) ValidateAll ¶
func (m *ListUserDocumentsRequest) ValidateAll() error
ValidateAll checks the field values on ListUserDocumentsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserDocumentsRequestMultiError, or nil if none found.
type ListUserDocumentsRequestMultiError ¶
type ListUserDocumentsRequestMultiError []error
ListUserDocumentsRequestMultiError is an error wrapping multiple validation errors returned by ListUserDocumentsRequest.ValidateAll() if the designated constraints aren't met.
func (ListUserDocumentsRequestMultiError) AllErrors ¶
func (m ListUserDocumentsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUserDocumentsRequestMultiError) Error ¶
func (m ListUserDocumentsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUserDocumentsRequestValidationError ¶
type ListUserDocumentsRequestValidationError struct {
// contains filtered or unexported fields
}
ListUserDocumentsRequestValidationError is the validation error returned by ListUserDocumentsRequest.Validate if the designated constraints aren't met.
func (ListUserDocumentsRequestValidationError) Cause ¶
func (e ListUserDocumentsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListUserDocumentsRequestValidationError) Error ¶
func (e ListUserDocumentsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserDocumentsRequestValidationError) ErrorName ¶
func (e ListUserDocumentsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserDocumentsRequestValidationError) Field ¶
func (e ListUserDocumentsRequestValidationError) Field() string
Field function returns field value.
func (ListUserDocumentsRequestValidationError) Key ¶
func (e ListUserDocumentsRequestValidationError) Key() bool
Key function returns key value.
func (ListUserDocumentsRequestValidationError) Reason ¶
func (e ListUserDocumentsRequestValidationError) Reason() string
Reason function returns reason value.
type ListUserDocumentsResponse ¶
type ListUserDocumentsResponse struct { Pagination *database.PaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Relations []*documents.DocumentRelation `protobuf:"bytes,2,rep,name=relations,proto3" json:"relations,omitempty"` // contains filtered or unexported fields }
func (*ListUserDocumentsResponse) Descriptor
deprecated
func (*ListUserDocumentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUserDocumentsResponse.ProtoReflect.Descriptor instead.
func (*ListUserDocumentsResponse) GetPagination ¶
func (x *ListUserDocumentsResponse) GetPagination() *database.PaginationResponse
func (*ListUserDocumentsResponse) GetRelations ¶
func (x *ListUserDocumentsResponse) GetRelations() []*documents.DocumentRelation
func (*ListUserDocumentsResponse) ProtoMessage ¶
func (*ListUserDocumentsResponse) ProtoMessage()
func (*ListUserDocumentsResponse) ProtoReflect ¶
func (x *ListUserDocumentsResponse) ProtoReflect() protoreflect.Message
func (*ListUserDocumentsResponse) Reset ¶
func (x *ListUserDocumentsResponse) Reset()
func (*ListUserDocumentsResponse) Sanitize ¶ added in v0.9.4
func (m *ListUserDocumentsResponse) Sanitize() error
func (*ListUserDocumentsResponse) String ¶
func (x *ListUserDocumentsResponse) String() string
func (*ListUserDocumentsResponse) Validate ¶
func (m *ListUserDocumentsResponse) Validate() error
Validate checks the field values on ListUserDocumentsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListUserDocumentsResponse) ValidateAll ¶
func (m *ListUserDocumentsResponse) ValidateAll() error
ValidateAll checks the field values on ListUserDocumentsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserDocumentsResponseMultiError, or nil if none found.
type ListUserDocumentsResponseMultiError ¶
type ListUserDocumentsResponseMultiError []error
ListUserDocumentsResponseMultiError is an error wrapping multiple validation errors returned by ListUserDocumentsResponse.ValidateAll() if the designated constraints aren't met.
func (ListUserDocumentsResponseMultiError) AllErrors ¶
func (m ListUserDocumentsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUserDocumentsResponseMultiError) Error ¶
func (m ListUserDocumentsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUserDocumentsResponseValidationError ¶
type ListUserDocumentsResponseValidationError struct {
// contains filtered or unexported fields
}
ListUserDocumentsResponseValidationError is the validation error returned by ListUserDocumentsResponse.Validate if the designated constraints aren't met.
func (ListUserDocumentsResponseValidationError) Cause ¶
func (e ListUserDocumentsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListUserDocumentsResponseValidationError) Error ¶
func (e ListUserDocumentsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserDocumentsResponseValidationError) ErrorName ¶
func (e ListUserDocumentsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserDocumentsResponseValidationError) Field ¶
func (e ListUserDocumentsResponseValidationError) Field() string
Field function returns field value.
func (ListUserDocumentsResponseValidationError) Key ¶
func (e ListUserDocumentsResponseValidationError) Key() bool
Key function returns key value.
func (ListUserDocumentsResponseValidationError) Reason ¶
func (e ListUserDocumentsResponseValidationError) Reason() string
Reason function returns reason value.
type Params ¶ added in v0.9.4
type Params struct { fx.In DB *sql.DB Perms perms.Permissions Cache *mstlystcdata.Cache Enricher *mstlystcdata.UserAwareEnricher Aud audit.IAuditer Ui userinfo.UserInfoRetriever Notif notifi.INotifi HTMLDiffer *htmldiffer.Differ }
type PostCommentRequest ¶
type PostCommentRequest struct { Comment *documents.Comment `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*PostCommentRequest) Descriptor
deprecated
func (*PostCommentRequest) Descriptor() ([]byte, []int)
Deprecated: Use PostCommentRequest.ProtoReflect.Descriptor instead.
func (*PostCommentRequest) GetComment ¶
func (x *PostCommentRequest) GetComment() *documents.Comment
func (*PostCommentRequest) ProtoMessage ¶
func (*PostCommentRequest) ProtoMessage()
func (*PostCommentRequest) ProtoReflect ¶
func (x *PostCommentRequest) ProtoReflect() protoreflect.Message
func (*PostCommentRequest) Reset ¶
func (x *PostCommentRequest) Reset()
func (*PostCommentRequest) Sanitize ¶ added in v0.9.4
func (m *PostCommentRequest) Sanitize() error
func (*PostCommentRequest) String ¶
func (x *PostCommentRequest) String() string
func (*PostCommentRequest) Validate ¶
func (m *PostCommentRequest) Validate() error
Validate checks the field values on PostCommentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PostCommentRequest) ValidateAll ¶
func (m *PostCommentRequest) ValidateAll() error
ValidateAll checks the field values on PostCommentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PostCommentRequestMultiError, or nil if none found.
type PostCommentRequestMultiError ¶
type PostCommentRequestMultiError []error
PostCommentRequestMultiError is an error wrapping multiple validation errors returned by PostCommentRequest.ValidateAll() if the designated constraints aren't met.
func (PostCommentRequestMultiError) AllErrors ¶
func (m PostCommentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PostCommentRequestMultiError) Error ¶
func (m PostCommentRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PostCommentRequestValidationError ¶
type PostCommentRequestValidationError struct {
// contains filtered or unexported fields
}
PostCommentRequestValidationError is the validation error returned by PostCommentRequest.Validate if the designated constraints aren't met.
func (PostCommentRequestValidationError) Cause ¶
func (e PostCommentRequestValidationError) Cause() error
Cause function returns cause value.
func (PostCommentRequestValidationError) Error ¶
func (e PostCommentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PostCommentRequestValidationError) ErrorName ¶
func (e PostCommentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PostCommentRequestValidationError) Field ¶
func (e PostCommentRequestValidationError) Field() string
Field function returns field value.
func (PostCommentRequestValidationError) Key ¶
func (e PostCommentRequestValidationError) Key() bool
Key function returns key value.
func (PostCommentRequestValidationError) Reason ¶
func (e PostCommentRequestValidationError) Reason() string
Reason function returns reason value.
type PostCommentResponse ¶
type PostCommentResponse struct { Comment *documents.Comment `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*PostCommentResponse) Descriptor
deprecated
func (*PostCommentResponse) Descriptor() ([]byte, []int)
Deprecated: Use PostCommentResponse.ProtoReflect.Descriptor instead.
func (*PostCommentResponse) GetComment ¶
func (x *PostCommentResponse) GetComment() *documents.Comment
func (*PostCommentResponse) ProtoMessage ¶
func (*PostCommentResponse) ProtoMessage()
func (*PostCommentResponse) ProtoReflect ¶
func (x *PostCommentResponse) ProtoReflect() protoreflect.Message
func (*PostCommentResponse) Reset ¶
func (x *PostCommentResponse) Reset()
func (*PostCommentResponse) Sanitize ¶ added in v0.9.4
func (m *PostCommentResponse) Sanitize() error
func (*PostCommentResponse) String ¶
func (x *PostCommentResponse) String() string
func (*PostCommentResponse) Validate ¶
func (m *PostCommentResponse) Validate() error
Validate checks the field values on PostCommentResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PostCommentResponse) ValidateAll ¶
func (m *PostCommentResponse) ValidateAll() error
ValidateAll checks the field values on PostCommentResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PostCommentResponseMultiError, or nil if none found.
type PostCommentResponseMultiError ¶
type PostCommentResponseMultiError []error
PostCommentResponseMultiError is an error wrapping multiple validation errors returned by PostCommentResponse.ValidateAll() if the designated constraints aren't met.
func (PostCommentResponseMultiError) AllErrors ¶
func (m PostCommentResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PostCommentResponseMultiError) Error ¶
func (m PostCommentResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PostCommentResponseValidationError ¶
type PostCommentResponseValidationError struct {
// contains filtered or unexported fields
}
PostCommentResponseValidationError is the validation error returned by PostCommentResponse.Validate if the designated constraints aren't met.
func (PostCommentResponseValidationError) Cause ¶
func (e PostCommentResponseValidationError) Cause() error
Cause function returns cause value.
func (PostCommentResponseValidationError) Error ¶
func (e PostCommentResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PostCommentResponseValidationError) ErrorName ¶
func (e PostCommentResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PostCommentResponseValidationError) Field ¶
func (e PostCommentResponseValidationError) Field() string
Field function returns field value.
func (PostCommentResponseValidationError) Key ¶
func (e PostCommentResponseValidationError) Key() bool
Key function returns key value.
func (PostCommentResponseValidationError) Reason ¶
func (e PostCommentResponseValidationError) Reason() string
Reason function returns reason value.
type RemoveDocumentReferenceRequest ¶
type RemoveDocumentReferenceRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RemoveDocumentReferenceRequest) Descriptor
deprecated
func (*RemoveDocumentReferenceRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDocumentReferenceRequest.ProtoReflect.Descriptor instead.
func (*RemoveDocumentReferenceRequest) GetId ¶
func (x *RemoveDocumentReferenceRequest) GetId() uint64
func (*RemoveDocumentReferenceRequest) ProtoMessage ¶
func (*RemoveDocumentReferenceRequest) ProtoMessage()
func (*RemoveDocumentReferenceRequest) ProtoReflect ¶
func (x *RemoveDocumentReferenceRequest) ProtoReflect() protoreflect.Message
func (*RemoveDocumentReferenceRequest) Reset ¶
func (x *RemoveDocumentReferenceRequest) Reset()
func (*RemoveDocumentReferenceRequest) Sanitize ¶ added in v0.9.4
func (m *RemoveDocumentReferenceRequest) Sanitize() error
func (*RemoveDocumentReferenceRequest) String ¶
func (x *RemoveDocumentReferenceRequest) String() string
func (*RemoveDocumentReferenceRequest) Validate ¶
func (m *RemoveDocumentReferenceRequest) Validate() error
Validate checks the field values on RemoveDocumentReferenceRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RemoveDocumentReferenceRequest) ValidateAll ¶
func (m *RemoveDocumentReferenceRequest) ValidateAll() error
ValidateAll checks the field values on RemoveDocumentReferenceRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RemoveDocumentReferenceRequestMultiError, or nil if none found.
type RemoveDocumentReferenceRequestMultiError ¶
type RemoveDocumentReferenceRequestMultiError []error
RemoveDocumentReferenceRequestMultiError is an error wrapping multiple validation errors returned by RemoveDocumentReferenceRequest.ValidateAll() if the designated constraints aren't met.
func (RemoveDocumentReferenceRequestMultiError) AllErrors ¶
func (m RemoveDocumentReferenceRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RemoveDocumentReferenceRequestMultiError) Error ¶
func (m RemoveDocumentReferenceRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RemoveDocumentReferenceRequestValidationError ¶
type RemoveDocumentReferenceRequestValidationError struct {
// contains filtered or unexported fields
}
RemoveDocumentReferenceRequestValidationError is the validation error returned by RemoveDocumentReferenceRequest.Validate if the designated constraints aren't met.
func (RemoveDocumentReferenceRequestValidationError) Cause ¶
func (e RemoveDocumentReferenceRequestValidationError) Cause() error
Cause function returns cause value.
func (RemoveDocumentReferenceRequestValidationError) Error ¶
func (e RemoveDocumentReferenceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RemoveDocumentReferenceRequestValidationError) ErrorName ¶
func (e RemoveDocumentReferenceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RemoveDocumentReferenceRequestValidationError) Field ¶
func (e RemoveDocumentReferenceRequestValidationError) Field() string
Field function returns field value.
func (RemoveDocumentReferenceRequestValidationError) Key ¶
func (e RemoveDocumentReferenceRequestValidationError) Key() bool
Key function returns key value.
func (RemoveDocumentReferenceRequestValidationError) Reason ¶
func (e RemoveDocumentReferenceRequestValidationError) Reason() string
Reason function returns reason value.
type RemoveDocumentReferenceResponse ¶
type RemoveDocumentReferenceResponse struct {
// contains filtered or unexported fields
}
func (*RemoveDocumentReferenceResponse) Descriptor
deprecated
func (*RemoveDocumentReferenceResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDocumentReferenceResponse.ProtoReflect.Descriptor instead.
func (*RemoveDocumentReferenceResponse) ProtoMessage ¶
func (*RemoveDocumentReferenceResponse) ProtoMessage()
func (*RemoveDocumentReferenceResponse) ProtoReflect ¶
func (x *RemoveDocumentReferenceResponse) ProtoReflect() protoreflect.Message
func (*RemoveDocumentReferenceResponse) Reset ¶
func (x *RemoveDocumentReferenceResponse) Reset()
func (*RemoveDocumentReferenceResponse) Sanitize ¶ added in v0.9.4
func (m *RemoveDocumentReferenceResponse) Sanitize() error
func (*RemoveDocumentReferenceResponse) String ¶
func (x *RemoveDocumentReferenceResponse) String() string
func (*RemoveDocumentReferenceResponse) Validate ¶
func (m *RemoveDocumentReferenceResponse) Validate() error
Validate checks the field values on RemoveDocumentReferenceResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RemoveDocumentReferenceResponse) ValidateAll ¶
func (m *RemoveDocumentReferenceResponse) ValidateAll() error
ValidateAll checks the field values on RemoveDocumentReferenceResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RemoveDocumentReferenceResponseMultiError, or nil if none found.
type RemoveDocumentReferenceResponseMultiError ¶
type RemoveDocumentReferenceResponseMultiError []error
RemoveDocumentReferenceResponseMultiError is an error wrapping multiple validation errors returned by RemoveDocumentReferenceResponse.ValidateAll() if the designated constraints aren't met.
func (RemoveDocumentReferenceResponseMultiError) AllErrors ¶
func (m RemoveDocumentReferenceResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RemoveDocumentReferenceResponseMultiError) Error ¶
func (m RemoveDocumentReferenceResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RemoveDocumentReferenceResponseValidationError ¶
type RemoveDocumentReferenceResponseValidationError struct {
// contains filtered or unexported fields
}
RemoveDocumentReferenceResponseValidationError is the validation error returned by RemoveDocumentReferenceResponse.Validate if the designated constraints aren't met.
func (RemoveDocumentReferenceResponseValidationError) Cause ¶
func (e RemoveDocumentReferenceResponseValidationError) Cause() error
Cause function returns cause value.
func (RemoveDocumentReferenceResponseValidationError) Error ¶
func (e RemoveDocumentReferenceResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RemoveDocumentReferenceResponseValidationError) ErrorName ¶
func (e RemoveDocumentReferenceResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RemoveDocumentReferenceResponseValidationError) Field ¶
func (e RemoveDocumentReferenceResponseValidationError) Field() string
Field function returns field value.
func (RemoveDocumentReferenceResponseValidationError) Key ¶
func (e RemoveDocumentReferenceResponseValidationError) Key() bool
Key function returns key value.
func (RemoveDocumentReferenceResponseValidationError) Reason ¶
func (e RemoveDocumentReferenceResponseValidationError) Reason() string
Reason function returns reason value.
type RemoveDocumentRelationRequest ¶
type RemoveDocumentRelationRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RemoveDocumentRelationRequest) Descriptor
deprecated
func (*RemoveDocumentRelationRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDocumentRelationRequest.ProtoReflect.Descriptor instead.
func (*RemoveDocumentRelationRequest) GetId ¶
func (x *RemoveDocumentRelationRequest) GetId() uint64
func (*RemoveDocumentRelationRequest) ProtoMessage ¶
func (*RemoveDocumentRelationRequest) ProtoMessage()
func (*RemoveDocumentRelationRequest) ProtoReflect ¶
func (x *RemoveDocumentRelationRequest) ProtoReflect() protoreflect.Message
func (*RemoveDocumentRelationRequest) Reset ¶
func (x *RemoveDocumentRelationRequest) Reset()
func (*RemoveDocumentRelationRequest) Sanitize ¶ added in v0.9.4
func (m *RemoveDocumentRelationRequest) Sanitize() error
func (*RemoveDocumentRelationRequest) String ¶
func (x *RemoveDocumentRelationRequest) String() string
func (*RemoveDocumentRelationRequest) Validate ¶
func (m *RemoveDocumentRelationRequest) Validate() error
Validate checks the field values on RemoveDocumentRelationRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RemoveDocumentRelationRequest) ValidateAll ¶
func (m *RemoveDocumentRelationRequest) ValidateAll() error
ValidateAll checks the field values on RemoveDocumentRelationRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RemoveDocumentRelationRequestMultiError, or nil if none found.
type RemoveDocumentRelationRequestMultiError ¶
type RemoveDocumentRelationRequestMultiError []error
RemoveDocumentRelationRequestMultiError is an error wrapping multiple validation errors returned by RemoveDocumentRelationRequest.ValidateAll() if the designated constraints aren't met.
func (RemoveDocumentRelationRequestMultiError) AllErrors ¶
func (m RemoveDocumentRelationRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RemoveDocumentRelationRequestMultiError) Error ¶
func (m RemoveDocumentRelationRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RemoveDocumentRelationRequestValidationError ¶
type RemoveDocumentRelationRequestValidationError struct {
// contains filtered or unexported fields
}
RemoveDocumentRelationRequestValidationError is the validation error returned by RemoveDocumentRelationRequest.Validate if the designated constraints aren't met.
func (RemoveDocumentRelationRequestValidationError) Cause ¶
func (e RemoveDocumentRelationRequestValidationError) Cause() error
Cause function returns cause value.
func (RemoveDocumentRelationRequestValidationError) Error ¶
func (e RemoveDocumentRelationRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RemoveDocumentRelationRequestValidationError) ErrorName ¶
func (e RemoveDocumentRelationRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RemoveDocumentRelationRequestValidationError) Field ¶
func (e RemoveDocumentRelationRequestValidationError) Field() string
Field function returns field value.
func (RemoveDocumentRelationRequestValidationError) Key ¶
func (e RemoveDocumentRelationRequestValidationError) Key() bool
Key function returns key value.
func (RemoveDocumentRelationRequestValidationError) Reason ¶
func (e RemoveDocumentRelationRequestValidationError) Reason() string
Reason function returns reason value.
type RemoveDocumentRelationResponse ¶
type RemoveDocumentRelationResponse struct {
// contains filtered or unexported fields
}
func (*RemoveDocumentRelationResponse) Descriptor
deprecated
func (*RemoveDocumentRelationResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDocumentRelationResponse.ProtoReflect.Descriptor instead.
func (*RemoveDocumentRelationResponse) ProtoMessage ¶
func (*RemoveDocumentRelationResponse) ProtoMessage()
func (*RemoveDocumentRelationResponse) ProtoReflect ¶
func (x *RemoveDocumentRelationResponse) ProtoReflect() protoreflect.Message
func (*RemoveDocumentRelationResponse) Reset ¶
func (x *RemoveDocumentRelationResponse) Reset()
func (*RemoveDocumentRelationResponse) Sanitize ¶ added in v0.9.4
func (m *RemoveDocumentRelationResponse) Sanitize() error
func (*RemoveDocumentRelationResponse) String ¶
func (x *RemoveDocumentRelationResponse) String() string
func (*RemoveDocumentRelationResponse) Validate ¶
func (m *RemoveDocumentRelationResponse) Validate() error
Validate checks the field values on RemoveDocumentRelationResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RemoveDocumentRelationResponse) ValidateAll ¶
func (m *RemoveDocumentRelationResponse) ValidateAll() error
ValidateAll checks the field values on RemoveDocumentRelationResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RemoveDocumentRelationResponseMultiError, or nil if none found.
type RemoveDocumentRelationResponseMultiError ¶
type RemoveDocumentRelationResponseMultiError []error
RemoveDocumentRelationResponseMultiError is an error wrapping multiple validation errors returned by RemoveDocumentRelationResponse.ValidateAll() if the designated constraints aren't met.
func (RemoveDocumentRelationResponseMultiError) AllErrors ¶
func (m RemoveDocumentRelationResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RemoveDocumentRelationResponseMultiError) Error ¶
func (m RemoveDocumentRelationResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RemoveDocumentRelationResponseValidationError ¶
type RemoveDocumentRelationResponseValidationError struct {
// contains filtered or unexported fields
}
RemoveDocumentRelationResponseValidationError is the validation error returned by RemoveDocumentRelationResponse.Validate if the designated constraints aren't met.
func (RemoveDocumentRelationResponseValidationError) Cause ¶
func (e RemoveDocumentRelationResponseValidationError) Cause() error
Cause function returns cause value.
func (RemoveDocumentRelationResponseValidationError) Error ¶
func (e RemoveDocumentRelationResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RemoveDocumentRelationResponseValidationError) ErrorName ¶
func (e RemoveDocumentRelationResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RemoveDocumentRelationResponseValidationError) Field ¶
func (e RemoveDocumentRelationResponseValidationError) Field() string
Field function returns field value.
func (RemoveDocumentRelationResponseValidationError) Key ¶
func (e RemoveDocumentRelationResponseValidationError) Key() bool
Key function returns key value.
func (RemoveDocumentRelationResponseValidationError) Reason ¶
func (e RemoveDocumentRelationResponseValidationError) Reason() string
Reason function returns reason value.
type Server ¶
type Server struct { DocStoreServiceServer // contains filtered or unexported fields }
func (*Server) AddDocumentReference ¶
func (s *Server) AddDocumentReference(ctx context.Context, req *AddDocumentReferenceRequest) (*AddDocumentReferenceResponse, error)
func (*Server) AddDocumentRelation ¶
func (s *Server) AddDocumentRelation(ctx context.Context, req *AddDocumentRelationRequest) (*AddDocumentRelationResponse, error)
func (*Server) ChangeDocumentOwner ¶
func (s *Server) ChangeDocumentOwner(ctx context.Context, req *ChangeDocumentOwnerRequest) (*ChangeDocumentOwnerResponse, error)
func (*Server) CreateCategory ¶
func (s *Server) CreateCategory(ctx context.Context, req *CreateCategoryRequest) (*CreateCategoryResponse, error)
func (*Server) CreateDocument ¶
func (s *Server) CreateDocument(ctx context.Context, req *CreateDocumentRequest) (*CreateDocumentResponse, error)
func (*Server) CreateDocumentReq ¶
func (s *Server) CreateDocumentReq(ctx context.Context, req *CreateDocumentReqRequest) (*CreateDocumentReqResponse, error)
func (*Server) CreateTemplate ¶
func (s *Server) CreateTemplate(ctx context.Context, req *CreateTemplateRequest) (*CreateTemplateResponse, error)
func (*Server) DeleteCategory ¶
func (s *Server) DeleteCategory(ctx context.Context, req *DeleteCategoryRequest) (*DeleteCategoryResponse, error)
func (*Server) DeleteComment ¶
func (s *Server) DeleteComment(ctx context.Context, req *DeleteCommentRequest) (*DeleteCommentResponse, error)
func (*Server) DeleteDocument ¶
func (s *Server) DeleteDocument(ctx context.Context, req *DeleteDocumentRequest) (*DeleteDocumentResponse, error)
func (*Server) DeleteDocumentReq ¶
func (s *Server) DeleteDocumentReq(ctx context.Context, req *DeleteDocumentReqRequest) (*DeleteDocumentReqResponse, error)
func (*Server) DeleteTemplate ¶
func (s *Server) DeleteTemplate(ctx context.Context, req *DeleteTemplateRequest) (*DeleteTemplateResponse, error)
func (*Server) EditComment ¶
func (s *Server) EditComment(ctx context.Context, req *EditCommentRequest) (*EditCommentResponse, error)
func (*Server) GetComments ¶
func (s *Server) GetComments(ctx context.Context, req *GetCommentsRequest) (*GetCommentsResponse, error)
func (*Server) GetDocument ¶
func (s *Server) GetDocument(ctx context.Context, req *GetDocumentRequest) (*GetDocumentResponse, error)
func (*Server) GetDocumentAccess ¶
func (s *Server) GetDocumentAccess(ctx context.Context, req *GetDocumentAccessRequest) (*GetDocumentAccessResponse, error)
func (*Server) GetDocumentReferences ¶
func (s *Server) GetDocumentReferences(ctx context.Context, req *GetDocumentReferencesRequest) (*GetDocumentReferencesResponse, error)
func (*Server) GetDocumentRelations ¶
func (s *Server) GetDocumentRelations(ctx context.Context, req *GetDocumentRelationsRequest) (*GetDocumentRelationsResponse, error)
func (*Server) GetPermsRemap ¶
func (*Server) GetTemplate ¶
func (s *Server) GetTemplate(ctx context.Context, req *GetTemplateRequest) (*GetTemplateResponse, error)
func (*Server) ListCategories ¶
func (s *Server) ListCategories(ctx context.Context, req *ListCategoriesRequest) (*ListCategoriesResponse, error)
func (*Server) ListDocumentActivity ¶
func (s *Server) ListDocumentActivity(ctx context.Context, req *ListDocumentActivityRequest) (*ListDocumentActivityResponse, error)
func (*Server) ListDocumentPins ¶
func (s *Server) ListDocumentPins(ctx context.Context, req *ListDocumentPinsRequest) (*ListDocumentPinsResponse, error)
func (*Server) ListDocumentReqs ¶
func (s *Server) ListDocumentReqs(ctx context.Context, req *ListDocumentReqsRequest) (*ListDocumentReqsResponse, error)
func (*Server) ListDocuments ¶
func (s *Server) ListDocuments(ctx context.Context, req *ListDocumentsRequest) (*ListDocumentsResponse, error)
func (*Server) ListTemplates ¶
func (s *Server) ListTemplates(ctx context.Context, req *ListTemplatesRequest) (*ListTemplatesResponse, error)
func (*Server) ListUserDocuments ¶
func (s *Server) ListUserDocuments(ctx context.Context, req *ListUserDocumentsRequest) (*ListUserDocumentsResponse, error)
func (*Server) PostComment ¶
func (s *Server) PostComment(ctx context.Context, req *PostCommentRequest) (*PostCommentResponse, error)
func (*Server) RegisterServer ¶
func (*Server) RemoveDocumentReference ¶
func (s *Server) RemoveDocumentReference(ctx context.Context, req *RemoveDocumentReferenceRequest) (*RemoveDocumentReferenceResponse, error)
func (*Server) RemoveDocumentRelation ¶
func (s *Server) RemoveDocumentRelation(ctx context.Context, req *RemoveDocumentRelationRequest) (*RemoveDocumentRelationResponse, error)
func (*Server) SetDocumentAccess ¶
func (s *Server) SetDocumentAccess(ctx context.Context, req *SetDocumentAccessRequest) (*SetDocumentAccessResponse, error)
func (*Server) SetDocumentReminder ¶ added in v0.9.4
func (s *Server) SetDocumentReminder(ctx context.Context, req *SetDocumentReminderRequest) (*SetDocumentReminderResponse, error)
func (*Server) ToggleDocument ¶
func (s *Server) ToggleDocument(ctx context.Context, req *ToggleDocumentRequest) (*ToggleDocumentResponse, error)
func (*Server) ToggleDocumentPin ¶
func (s *Server) ToggleDocumentPin(ctx context.Context, req *ToggleDocumentPinRequest) (*ToggleDocumentPinResponse, error)
func (*Server) UpdateCategory ¶
func (s *Server) UpdateCategory(ctx context.Context, req *UpdateCategoryRequest) (*UpdateCategoryResponse, error)
func (*Server) UpdateDocument ¶
func (s *Server) UpdateDocument(ctx context.Context, req *UpdateDocumentRequest) (*UpdateDocumentResponse, error)
func (*Server) UpdateDocumentReq ¶
func (s *Server) UpdateDocumentReq(ctx context.Context, req *UpdateDocumentReqRequest) (*UpdateDocumentReqResponse, error)
func (*Server) UpdateTemplate ¶
func (s *Server) UpdateTemplate(ctx context.Context, req *UpdateTemplateRequest) (*UpdateTemplateResponse, error)
type SetDocumentAccessRequest ¶
type SetDocumentAccessRequest struct { DocumentId uint64 `protobuf:"varint,1,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` Access *documents.DocumentAccess `protobuf:"bytes,2,opt,name=access,proto3" json:"access,omitempty"` // contains filtered or unexported fields }
func (*SetDocumentAccessRequest) Descriptor
deprecated
func (*SetDocumentAccessRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetDocumentAccessRequest.ProtoReflect.Descriptor instead.
func (*SetDocumentAccessRequest) GetAccess ¶
func (x *SetDocumentAccessRequest) GetAccess() *documents.DocumentAccess
func (*SetDocumentAccessRequest) GetDocumentId ¶
func (x *SetDocumentAccessRequest) GetDocumentId() uint64
func (*SetDocumentAccessRequest) ProtoMessage ¶
func (*SetDocumentAccessRequest) ProtoMessage()
func (*SetDocumentAccessRequest) ProtoReflect ¶
func (x *SetDocumentAccessRequest) ProtoReflect() protoreflect.Message
func (*SetDocumentAccessRequest) Reset ¶
func (x *SetDocumentAccessRequest) Reset()
func (*SetDocumentAccessRequest) Sanitize ¶ added in v0.9.4
func (m *SetDocumentAccessRequest) Sanitize() error
func (*SetDocumentAccessRequest) String ¶
func (x *SetDocumentAccessRequest) String() string
func (*SetDocumentAccessRequest) Validate ¶
func (m *SetDocumentAccessRequest) Validate() error
Validate checks the field values on SetDocumentAccessRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SetDocumentAccessRequest) ValidateAll ¶
func (m *SetDocumentAccessRequest) ValidateAll() error
ValidateAll checks the field values on SetDocumentAccessRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SetDocumentAccessRequestMultiError, or nil if none found.
type SetDocumentAccessRequestMultiError ¶
type SetDocumentAccessRequestMultiError []error
SetDocumentAccessRequestMultiError is an error wrapping multiple validation errors returned by SetDocumentAccessRequest.ValidateAll() if the designated constraints aren't met.
func (SetDocumentAccessRequestMultiError) AllErrors ¶
func (m SetDocumentAccessRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SetDocumentAccessRequestMultiError) Error ¶
func (m SetDocumentAccessRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SetDocumentAccessRequestValidationError ¶
type SetDocumentAccessRequestValidationError struct {
// contains filtered or unexported fields
}
SetDocumentAccessRequestValidationError is the validation error returned by SetDocumentAccessRequest.Validate if the designated constraints aren't met.
func (SetDocumentAccessRequestValidationError) Cause ¶
func (e SetDocumentAccessRequestValidationError) Cause() error
Cause function returns cause value.
func (SetDocumentAccessRequestValidationError) Error ¶
func (e SetDocumentAccessRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SetDocumentAccessRequestValidationError) ErrorName ¶
func (e SetDocumentAccessRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SetDocumentAccessRequestValidationError) Field ¶
func (e SetDocumentAccessRequestValidationError) Field() string
Field function returns field value.
func (SetDocumentAccessRequestValidationError) Key ¶
func (e SetDocumentAccessRequestValidationError) Key() bool
Key function returns key value.
func (SetDocumentAccessRequestValidationError) Reason ¶
func (e SetDocumentAccessRequestValidationError) Reason() string
Reason function returns reason value.
type SetDocumentAccessResponse ¶
type SetDocumentAccessResponse struct {
// contains filtered or unexported fields
}
func (*SetDocumentAccessResponse) Descriptor
deprecated
func (*SetDocumentAccessResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetDocumentAccessResponse.ProtoReflect.Descriptor instead.
func (*SetDocumentAccessResponse) ProtoMessage ¶
func (*SetDocumentAccessResponse) ProtoMessage()
func (*SetDocumentAccessResponse) ProtoReflect ¶
func (x *SetDocumentAccessResponse) ProtoReflect() protoreflect.Message
func (*SetDocumentAccessResponse) Reset ¶
func (x *SetDocumentAccessResponse) Reset()
func (*SetDocumentAccessResponse) Sanitize ¶ added in v0.9.4
func (m *SetDocumentAccessResponse) Sanitize() error
func (*SetDocumentAccessResponse) String ¶
func (x *SetDocumentAccessResponse) String() string
func (*SetDocumentAccessResponse) Validate ¶
func (m *SetDocumentAccessResponse) Validate() error
Validate checks the field values on SetDocumentAccessResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SetDocumentAccessResponse) ValidateAll ¶
func (m *SetDocumentAccessResponse) ValidateAll() error
ValidateAll checks the field values on SetDocumentAccessResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SetDocumentAccessResponseMultiError, or nil if none found.
type SetDocumentAccessResponseMultiError ¶
type SetDocumentAccessResponseMultiError []error
SetDocumentAccessResponseMultiError is an error wrapping multiple validation errors returned by SetDocumentAccessResponse.ValidateAll() if the designated constraints aren't met.
func (SetDocumentAccessResponseMultiError) AllErrors ¶
func (m SetDocumentAccessResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SetDocumentAccessResponseMultiError) Error ¶
func (m SetDocumentAccessResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SetDocumentAccessResponseValidationError ¶
type SetDocumentAccessResponseValidationError struct {
// contains filtered or unexported fields
}
SetDocumentAccessResponseValidationError is the validation error returned by SetDocumentAccessResponse.Validate if the designated constraints aren't met.
func (SetDocumentAccessResponseValidationError) Cause ¶
func (e SetDocumentAccessResponseValidationError) Cause() error
Cause function returns cause value.
func (SetDocumentAccessResponseValidationError) Error ¶
func (e SetDocumentAccessResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SetDocumentAccessResponseValidationError) ErrorName ¶
func (e SetDocumentAccessResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SetDocumentAccessResponseValidationError) Field ¶
func (e SetDocumentAccessResponseValidationError) Field() string
Field function returns field value.
func (SetDocumentAccessResponseValidationError) Key ¶
func (e SetDocumentAccessResponseValidationError) Key() bool
Key function returns key value.
func (SetDocumentAccessResponseValidationError) Reason ¶
func (e SetDocumentAccessResponseValidationError) Reason() string
Reason function returns reason value.
type SetDocumentReminderRequest ¶ added in v0.9.4
type SetDocumentReminderRequest struct { DocumentId uint64 `protobuf:"varint,1,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` ReminderTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=reminder_time,json=reminderTime,proto3,oneof" json:"reminder_time,omitempty"` // @sanitize: method=StripTags Message *string `protobuf:"bytes,3,opt,name=message,proto3,oneof" json:"message,omitempty"` // contains filtered or unexported fields }
func (*SetDocumentReminderRequest) Descriptor
deprecated
added in
v0.9.4
func (*SetDocumentReminderRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetDocumentReminderRequest.ProtoReflect.Descriptor instead.
func (*SetDocumentReminderRequest) GetDocumentId ¶ added in v0.9.4
func (x *SetDocumentReminderRequest) GetDocumentId() uint64
func (*SetDocumentReminderRequest) GetMessage ¶ added in v0.9.4
func (x *SetDocumentReminderRequest) GetMessage() string
func (*SetDocumentReminderRequest) GetReminderTime ¶ added in v0.9.4
func (x *SetDocumentReminderRequest) GetReminderTime() *timestamp.Timestamp
func (*SetDocumentReminderRequest) ProtoMessage ¶ added in v0.9.4
func (*SetDocumentReminderRequest) ProtoMessage()
func (*SetDocumentReminderRequest) ProtoReflect ¶ added in v0.9.4
func (x *SetDocumentReminderRequest) ProtoReflect() protoreflect.Message
func (*SetDocumentReminderRequest) Reset ¶ added in v0.9.4
func (x *SetDocumentReminderRequest) Reset()
func (*SetDocumentReminderRequest) Sanitize ¶ added in v0.9.4
func (m *SetDocumentReminderRequest) Sanitize() error
func (*SetDocumentReminderRequest) String ¶ added in v0.9.4
func (x *SetDocumentReminderRequest) String() string
func (*SetDocumentReminderRequest) Validate ¶ added in v0.9.4
func (m *SetDocumentReminderRequest) Validate() error
Validate checks the field values on SetDocumentReminderRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SetDocumentReminderRequest) ValidateAll ¶ added in v0.9.4
func (m *SetDocumentReminderRequest) ValidateAll() error
ValidateAll checks the field values on SetDocumentReminderRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SetDocumentReminderRequestMultiError, or nil if none found.
type SetDocumentReminderRequestMultiError ¶ added in v0.9.4
type SetDocumentReminderRequestMultiError []error
SetDocumentReminderRequestMultiError is an error wrapping multiple validation errors returned by SetDocumentReminderRequest.ValidateAll() if the designated constraints aren't met.
func (SetDocumentReminderRequestMultiError) AllErrors ¶ added in v0.9.4
func (m SetDocumentReminderRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SetDocumentReminderRequestMultiError) Error ¶ added in v0.9.4
func (m SetDocumentReminderRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SetDocumentReminderRequestValidationError ¶ added in v0.9.4
type SetDocumentReminderRequestValidationError struct {
// contains filtered or unexported fields
}
SetDocumentReminderRequestValidationError is the validation error returned by SetDocumentReminderRequest.Validate if the designated constraints aren't met.
func (SetDocumentReminderRequestValidationError) Cause ¶ added in v0.9.4
func (e SetDocumentReminderRequestValidationError) Cause() error
Cause function returns cause value.
func (SetDocumentReminderRequestValidationError) Error ¶ added in v0.9.4
func (e SetDocumentReminderRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SetDocumentReminderRequestValidationError) ErrorName ¶ added in v0.9.4
func (e SetDocumentReminderRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SetDocumentReminderRequestValidationError) Field ¶ added in v0.9.4
func (e SetDocumentReminderRequestValidationError) Field() string
Field function returns field value.
func (SetDocumentReminderRequestValidationError) Key ¶ added in v0.9.4
func (e SetDocumentReminderRequestValidationError) Key() bool
Key function returns key value.
func (SetDocumentReminderRequestValidationError) Reason ¶ added in v0.9.4
func (e SetDocumentReminderRequestValidationError) Reason() string
Reason function returns reason value.
type SetDocumentReminderResponse ¶ added in v0.9.4
type SetDocumentReminderResponse struct {
// contains filtered or unexported fields
}
func (*SetDocumentReminderResponse) Descriptor
deprecated
added in
v0.9.4
func (*SetDocumentReminderResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetDocumentReminderResponse.ProtoReflect.Descriptor instead.
func (*SetDocumentReminderResponse) ProtoMessage ¶ added in v0.9.4
func (*SetDocumentReminderResponse) ProtoMessage()
func (*SetDocumentReminderResponse) ProtoReflect ¶ added in v0.9.4
func (x *SetDocumentReminderResponse) ProtoReflect() protoreflect.Message
func (*SetDocumentReminderResponse) Reset ¶ added in v0.9.4
func (x *SetDocumentReminderResponse) Reset()
func (*SetDocumentReminderResponse) Sanitize ¶ added in v0.9.4
func (m *SetDocumentReminderResponse) Sanitize() error
func (*SetDocumentReminderResponse) String ¶ added in v0.9.4
func (x *SetDocumentReminderResponse) String() string
func (*SetDocumentReminderResponse) Validate ¶ added in v0.9.4
func (m *SetDocumentReminderResponse) Validate() error
Validate checks the field values on SetDocumentReminderResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SetDocumentReminderResponse) ValidateAll ¶ added in v0.9.4
func (m *SetDocumentReminderResponse) ValidateAll() error
ValidateAll checks the field values on SetDocumentReminderResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SetDocumentReminderResponseMultiError, or nil if none found.
type SetDocumentReminderResponseMultiError ¶ added in v0.9.4
type SetDocumentReminderResponseMultiError []error
SetDocumentReminderResponseMultiError is an error wrapping multiple validation errors returned by SetDocumentReminderResponse.ValidateAll() if the designated constraints aren't met.
func (SetDocumentReminderResponseMultiError) AllErrors ¶ added in v0.9.4
func (m SetDocumentReminderResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SetDocumentReminderResponseMultiError) Error ¶ added in v0.9.4
func (m SetDocumentReminderResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SetDocumentReminderResponseValidationError ¶ added in v0.9.4
type SetDocumentReminderResponseValidationError struct {
// contains filtered or unexported fields
}
SetDocumentReminderResponseValidationError is the validation error returned by SetDocumentReminderResponse.Validate if the designated constraints aren't met.
func (SetDocumentReminderResponseValidationError) Cause ¶ added in v0.9.4
func (e SetDocumentReminderResponseValidationError) Cause() error
Cause function returns cause value.
func (SetDocumentReminderResponseValidationError) Error ¶ added in v0.9.4
func (e SetDocumentReminderResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SetDocumentReminderResponseValidationError) ErrorName ¶ added in v0.9.4
func (e SetDocumentReminderResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SetDocumentReminderResponseValidationError) Field ¶ added in v0.9.4
func (e SetDocumentReminderResponseValidationError) Field() string
Field function returns field value.
func (SetDocumentReminderResponseValidationError) Key ¶ added in v0.9.4
func (e SetDocumentReminderResponseValidationError) Key() bool
Key function returns key value.
func (SetDocumentReminderResponseValidationError) Reason ¶ added in v0.9.4
func (e SetDocumentReminderResponseValidationError) Reason() string
Reason function returns reason value.
type ToggleDocumentPinRequest ¶
type ToggleDocumentPinRequest struct { DocumentId uint64 `protobuf:"varint,1,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` State bool `protobuf:"varint,2,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*ToggleDocumentPinRequest) Descriptor
deprecated
func (*ToggleDocumentPinRequest) Descriptor() ([]byte, []int)
Deprecated: Use ToggleDocumentPinRequest.ProtoReflect.Descriptor instead.
func (*ToggleDocumentPinRequest) GetDocumentId ¶
func (x *ToggleDocumentPinRequest) GetDocumentId() uint64
func (*ToggleDocumentPinRequest) GetState ¶
func (x *ToggleDocumentPinRequest) GetState() bool
func (*ToggleDocumentPinRequest) ProtoMessage ¶
func (*ToggleDocumentPinRequest) ProtoMessage()
func (*ToggleDocumentPinRequest) ProtoReflect ¶
func (x *ToggleDocumentPinRequest) ProtoReflect() protoreflect.Message
func (*ToggleDocumentPinRequest) Reset ¶
func (x *ToggleDocumentPinRequest) Reset()
func (*ToggleDocumentPinRequest) Sanitize ¶ added in v0.9.4
func (m *ToggleDocumentPinRequest) Sanitize() error
func (*ToggleDocumentPinRequest) String ¶
func (x *ToggleDocumentPinRequest) String() string
func (*ToggleDocumentPinRequest) Validate ¶
func (m *ToggleDocumentPinRequest) Validate() error
Validate checks the field values on ToggleDocumentPinRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ToggleDocumentPinRequest) ValidateAll ¶
func (m *ToggleDocumentPinRequest) ValidateAll() error
ValidateAll checks the field values on ToggleDocumentPinRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ToggleDocumentPinRequestMultiError, or nil if none found.
type ToggleDocumentPinRequestMultiError ¶
type ToggleDocumentPinRequestMultiError []error
ToggleDocumentPinRequestMultiError is an error wrapping multiple validation errors returned by ToggleDocumentPinRequest.ValidateAll() if the designated constraints aren't met.
func (ToggleDocumentPinRequestMultiError) AllErrors ¶
func (m ToggleDocumentPinRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ToggleDocumentPinRequestMultiError) Error ¶
func (m ToggleDocumentPinRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ToggleDocumentPinRequestValidationError ¶
type ToggleDocumentPinRequestValidationError struct {
// contains filtered or unexported fields
}
ToggleDocumentPinRequestValidationError is the validation error returned by ToggleDocumentPinRequest.Validate if the designated constraints aren't met.
func (ToggleDocumentPinRequestValidationError) Cause ¶
func (e ToggleDocumentPinRequestValidationError) Cause() error
Cause function returns cause value.
func (ToggleDocumentPinRequestValidationError) Error ¶
func (e ToggleDocumentPinRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ToggleDocumentPinRequestValidationError) ErrorName ¶
func (e ToggleDocumentPinRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ToggleDocumentPinRequestValidationError) Field ¶
func (e ToggleDocumentPinRequestValidationError) Field() string
Field function returns field value.
func (ToggleDocumentPinRequestValidationError) Key ¶
func (e ToggleDocumentPinRequestValidationError) Key() bool
Key function returns key value.
func (ToggleDocumentPinRequestValidationError) Reason ¶
func (e ToggleDocumentPinRequestValidationError) Reason() string
Reason function returns reason value.
type ToggleDocumentPinResponse ¶
type ToggleDocumentPinResponse struct { State bool `protobuf:"varint,1,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*ToggleDocumentPinResponse) Descriptor
deprecated
func (*ToggleDocumentPinResponse) Descriptor() ([]byte, []int)
Deprecated: Use ToggleDocumentPinResponse.ProtoReflect.Descriptor instead.
func (*ToggleDocumentPinResponse) GetState ¶
func (x *ToggleDocumentPinResponse) GetState() bool
func (*ToggleDocumentPinResponse) ProtoMessage ¶
func (*ToggleDocumentPinResponse) ProtoMessage()
func (*ToggleDocumentPinResponse) ProtoReflect ¶
func (x *ToggleDocumentPinResponse) ProtoReflect() protoreflect.Message
func (*ToggleDocumentPinResponse) Reset ¶
func (x *ToggleDocumentPinResponse) Reset()
func (*ToggleDocumentPinResponse) Sanitize ¶ added in v0.9.4
func (m *ToggleDocumentPinResponse) Sanitize() error
func (*ToggleDocumentPinResponse) String ¶
func (x *ToggleDocumentPinResponse) String() string
func (*ToggleDocumentPinResponse) Validate ¶
func (m *ToggleDocumentPinResponse) Validate() error
Validate checks the field values on ToggleDocumentPinResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ToggleDocumentPinResponse) ValidateAll ¶
func (m *ToggleDocumentPinResponse) ValidateAll() error
ValidateAll checks the field values on ToggleDocumentPinResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ToggleDocumentPinResponseMultiError, or nil if none found.
type ToggleDocumentPinResponseMultiError ¶
type ToggleDocumentPinResponseMultiError []error
ToggleDocumentPinResponseMultiError is an error wrapping multiple validation errors returned by ToggleDocumentPinResponse.ValidateAll() if the designated constraints aren't met.
func (ToggleDocumentPinResponseMultiError) AllErrors ¶
func (m ToggleDocumentPinResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ToggleDocumentPinResponseMultiError) Error ¶
func (m ToggleDocumentPinResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ToggleDocumentPinResponseValidationError ¶
type ToggleDocumentPinResponseValidationError struct {
// contains filtered or unexported fields
}
ToggleDocumentPinResponseValidationError is the validation error returned by ToggleDocumentPinResponse.Validate if the designated constraints aren't met.
func (ToggleDocumentPinResponseValidationError) Cause ¶
func (e ToggleDocumentPinResponseValidationError) Cause() error
Cause function returns cause value.
func (ToggleDocumentPinResponseValidationError) Error ¶
func (e ToggleDocumentPinResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ToggleDocumentPinResponseValidationError) ErrorName ¶
func (e ToggleDocumentPinResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ToggleDocumentPinResponseValidationError) Field ¶
func (e ToggleDocumentPinResponseValidationError) Field() string
Field function returns field value.
func (ToggleDocumentPinResponseValidationError) Key ¶
func (e ToggleDocumentPinResponseValidationError) Key() bool
Key function returns key value.
func (ToggleDocumentPinResponseValidationError) Reason ¶
func (e ToggleDocumentPinResponseValidationError) Reason() string
Reason function returns reason value.
type ToggleDocumentRequest ¶
type ToggleDocumentRequest struct { DocumentId uint64 `protobuf:"varint,1,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` Closed bool `protobuf:"varint,2,opt,name=closed,proto3" json:"closed,omitempty"` // contains filtered or unexported fields }
func (*ToggleDocumentRequest) Descriptor
deprecated
func (*ToggleDocumentRequest) Descriptor() ([]byte, []int)
Deprecated: Use ToggleDocumentRequest.ProtoReflect.Descriptor instead.
func (*ToggleDocumentRequest) GetClosed ¶
func (x *ToggleDocumentRequest) GetClosed() bool
func (*ToggleDocumentRequest) GetDocumentId ¶
func (x *ToggleDocumentRequest) GetDocumentId() uint64
func (*ToggleDocumentRequest) ProtoMessage ¶
func (*ToggleDocumentRequest) ProtoMessage()
func (*ToggleDocumentRequest) ProtoReflect ¶
func (x *ToggleDocumentRequest) ProtoReflect() protoreflect.Message
func (*ToggleDocumentRequest) Reset ¶
func (x *ToggleDocumentRequest) Reset()
func (*ToggleDocumentRequest) Sanitize ¶ added in v0.9.4
func (m *ToggleDocumentRequest) Sanitize() error
func (*ToggleDocumentRequest) String ¶
func (x *ToggleDocumentRequest) String() string
func (*ToggleDocumentRequest) Validate ¶
func (m *ToggleDocumentRequest) Validate() error
Validate checks the field values on ToggleDocumentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ToggleDocumentRequest) ValidateAll ¶
func (m *ToggleDocumentRequest) ValidateAll() error
ValidateAll checks the field values on ToggleDocumentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ToggleDocumentRequestMultiError, or nil if none found.
type ToggleDocumentRequestMultiError ¶
type ToggleDocumentRequestMultiError []error
ToggleDocumentRequestMultiError is an error wrapping multiple validation errors returned by ToggleDocumentRequest.ValidateAll() if the designated constraints aren't met.
func (ToggleDocumentRequestMultiError) AllErrors ¶
func (m ToggleDocumentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ToggleDocumentRequestMultiError) Error ¶
func (m ToggleDocumentRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ToggleDocumentRequestValidationError ¶
type ToggleDocumentRequestValidationError struct {
// contains filtered or unexported fields
}
ToggleDocumentRequestValidationError is the validation error returned by ToggleDocumentRequest.Validate if the designated constraints aren't met.
func (ToggleDocumentRequestValidationError) Cause ¶
func (e ToggleDocumentRequestValidationError) Cause() error
Cause function returns cause value.
func (ToggleDocumentRequestValidationError) Error ¶
func (e ToggleDocumentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ToggleDocumentRequestValidationError) ErrorName ¶
func (e ToggleDocumentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ToggleDocumentRequestValidationError) Field ¶
func (e ToggleDocumentRequestValidationError) Field() string
Field function returns field value.
func (ToggleDocumentRequestValidationError) Key ¶
func (e ToggleDocumentRequestValidationError) Key() bool
Key function returns key value.
func (ToggleDocumentRequestValidationError) Reason ¶
func (e ToggleDocumentRequestValidationError) Reason() string
Reason function returns reason value.
type ToggleDocumentResponse ¶
type ToggleDocumentResponse struct {
// contains filtered or unexported fields
}
func (*ToggleDocumentResponse) Descriptor
deprecated
func (*ToggleDocumentResponse) Descriptor() ([]byte, []int)
Deprecated: Use ToggleDocumentResponse.ProtoReflect.Descriptor instead.
func (*ToggleDocumentResponse) ProtoMessage ¶
func (*ToggleDocumentResponse) ProtoMessage()
func (*ToggleDocumentResponse) ProtoReflect ¶
func (x *ToggleDocumentResponse) ProtoReflect() protoreflect.Message
func (*ToggleDocumentResponse) Reset ¶
func (x *ToggleDocumentResponse) Reset()
func (*ToggleDocumentResponse) Sanitize ¶ added in v0.9.4
func (m *ToggleDocumentResponse) Sanitize() error
func (*ToggleDocumentResponse) String ¶
func (x *ToggleDocumentResponse) String() string
func (*ToggleDocumentResponse) Validate ¶
func (m *ToggleDocumentResponse) Validate() error
Validate checks the field values on ToggleDocumentResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ToggleDocumentResponse) ValidateAll ¶
func (m *ToggleDocumentResponse) ValidateAll() error
ValidateAll checks the field values on ToggleDocumentResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ToggleDocumentResponseMultiError, or nil if none found.
type ToggleDocumentResponseMultiError ¶
type ToggleDocumentResponseMultiError []error
ToggleDocumentResponseMultiError is an error wrapping multiple validation errors returned by ToggleDocumentResponse.ValidateAll() if the designated constraints aren't met.
func (ToggleDocumentResponseMultiError) AllErrors ¶
func (m ToggleDocumentResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ToggleDocumentResponseMultiError) Error ¶
func (m ToggleDocumentResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ToggleDocumentResponseValidationError ¶
type ToggleDocumentResponseValidationError struct {
// contains filtered or unexported fields
}
ToggleDocumentResponseValidationError is the validation error returned by ToggleDocumentResponse.Validate if the designated constraints aren't met.
func (ToggleDocumentResponseValidationError) Cause ¶
func (e ToggleDocumentResponseValidationError) Cause() error
Cause function returns cause value.
func (ToggleDocumentResponseValidationError) Error ¶
func (e ToggleDocumentResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ToggleDocumentResponseValidationError) ErrorName ¶
func (e ToggleDocumentResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ToggleDocumentResponseValidationError) Field ¶
func (e ToggleDocumentResponseValidationError) Field() string
Field function returns field value.
func (ToggleDocumentResponseValidationError) Key ¶
func (e ToggleDocumentResponseValidationError) Key() bool
Key function returns key value.
func (ToggleDocumentResponseValidationError) Reason ¶
func (e ToggleDocumentResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedDocStoreServiceServer ¶
type UnimplementedDocStoreServiceServer struct { }
UnimplementedDocStoreServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedDocStoreServiceServer) AddDocumentReference ¶
func (UnimplementedDocStoreServiceServer) AddDocumentReference(context.Context, *AddDocumentReferenceRequest) (*AddDocumentReferenceResponse, error)
func (UnimplementedDocStoreServiceServer) AddDocumentRelation ¶
func (UnimplementedDocStoreServiceServer) AddDocumentRelation(context.Context, *AddDocumentRelationRequest) (*AddDocumentRelationResponse, error)
func (UnimplementedDocStoreServiceServer) ChangeDocumentOwner ¶
func (UnimplementedDocStoreServiceServer) ChangeDocumentOwner(context.Context, *ChangeDocumentOwnerRequest) (*ChangeDocumentOwnerResponse, error)
func (UnimplementedDocStoreServiceServer) CreateCategory ¶
func (UnimplementedDocStoreServiceServer) CreateCategory(context.Context, *CreateCategoryRequest) (*CreateCategoryResponse, error)
func (UnimplementedDocStoreServiceServer) CreateDocument ¶
func (UnimplementedDocStoreServiceServer) CreateDocument(context.Context, *CreateDocumentRequest) (*CreateDocumentResponse, error)
func (UnimplementedDocStoreServiceServer) CreateDocumentReq ¶
func (UnimplementedDocStoreServiceServer) CreateDocumentReq(context.Context, *CreateDocumentReqRequest) (*CreateDocumentReqResponse, error)
func (UnimplementedDocStoreServiceServer) CreateTemplate ¶
func (UnimplementedDocStoreServiceServer) CreateTemplate(context.Context, *CreateTemplateRequest) (*CreateTemplateResponse, error)
func (UnimplementedDocStoreServiceServer) DeleteCategory ¶
func (UnimplementedDocStoreServiceServer) DeleteCategory(context.Context, *DeleteCategoryRequest) (*DeleteCategoryResponse, error)
func (UnimplementedDocStoreServiceServer) DeleteComment ¶
func (UnimplementedDocStoreServiceServer) DeleteComment(context.Context, *DeleteCommentRequest) (*DeleteCommentResponse, error)
func (UnimplementedDocStoreServiceServer) DeleteDocument ¶
func (UnimplementedDocStoreServiceServer) DeleteDocument(context.Context, *DeleteDocumentRequest) (*DeleteDocumentResponse, error)
func (UnimplementedDocStoreServiceServer) DeleteDocumentReq ¶
func (UnimplementedDocStoreServiceServer) DeleteDocumentReq(context.Context, *DeleteDocumentReqRequest) (*DeleteDocumentReqResponse, error)
func (UnimplementedDocStoreServiceServer) DeleteTemplate ¶
func (UnimplementedDocStoreServiceServer) DeleteTemplate(context.Context, *DeleteTemplateRequest) (*DeleteTemplateResponse, error)
func (UnimplementedDocStoreServiceServer) EditComment ¶
func (UnimplementedDocStoreServiceServer) EditComment(context.Context, *EditCommentRequest) (*EditCommentResponse, error)
func (UnimplementedDocStoreServiceServer) GetComments ¶
func (UnimplementedDocStoreServiceServer) GetComments(context.Context, *GetCommentsRequest) (*GetCommentsResponse, error)
func (UnimplementedDocStoreServiceServer) GetDocument ¶
func (UnimplementedDocStoreServiceServer) GetDocument(context.Context, *GetDocumentRequest) (*GetDocumentResponse, error)
func (UnimplementedDocStoreServiceServer) GetDocumentAccess ¶
func (UnimplementedDocStoreServiceServer) GetDocumentAccess(context.Context, *GetDocumentAccessRequest) (*GetDocumentAccessResponse, error)
func (UnimplementedDocStoreServiceServer) GetDocumentReferences ¶
func (UnimplementedDocStoreServiceServer) GetDocumentReferences(context.Context, *GetDocumentReferencesRequest) (*GetDocumentReferencesResponse, error)
func (UnimplementedDocStoreServiceServer) GetDocumentRelations ¶
func (UnimplementedDocStoreServiceServer) GetDocumentRelations(context.Context, *GetDocumentRelationsRequest) (*GetDocumentRelationsResponse, error)
func (UnimplementedDocStoreServiceServer) GetTemplate ¶
func (UnimplementedDocStoreServiceServer) GetTemplate(context.Context, *GetTemplateRequest) (*GetTemplateResponse, error)
func (UnimplementedDocStoreServiceServer) ListCategories ¶
func (UnimplementedDocStoreServiceServer) ListCategories(context.Context, *ListCategoriesRequest) (*ListCategoriesResponse, error)
func (UnimplementedDocStoreServiceServer) ListDocumentActivity ¶
func (UnimplementedDocStoreServiceServer) ListDocumentActivity(context.Context, *ListDocumentActivityRequest) (*ListDocumentActivityResponse, error)
func (UnimplementedDocStoreServiceServer) ListDocumentPins ¶
func (UnimplementedDocStoreServiceServer) ListDocumentPins(context.Context, *ListDocumentPinsRequest) (*ListDocumentPinsResponse, error)
func (UnimplementedDocStoreServiceServer) ListDocumentReqs ¶
func (UnimplementedDocStoreServiceServer) ListDocumentReqs(context.Context, *ListDocumentReqsRequest) (*ListDocumentReqsResponse, error)
func (UnimplementedDocStoreServiceServer) ListDocuments ¶
func (UnimplementedDocStoreServiceServer) ListDocuments(context.Context, *ListDocumentsRequest) (*ListDocumentsResponse, error)
func (UnimplementedDocStoreServiceServer) ListTemplates ¶
func (UnimplementedDocStoreServiceServer) ListTemplates(context.Context, *ListTemplatesRequest) (*ListTemplatesResponse, error)
func (UnimplementedDocStoreServiceServer) ListUserDocuments ¶
func (UnimplementedDocStoreServiceServer) ListUserDocuments(context.Context, *ListUserDocumentsRequest) (*ListUserDocumentsResponse, error)
func (UnimplementedDocStoreServiceServer) PostComment ¶
func (UnimplementedDocStoreServiceServer) PostComment(context.Context, *PostCommentRequest) (*PostCommentResponse, error)
func (UnimplementedDocStoreServiceServer) RemoveDocumentReference ¶
func (UnimplementedDocStoreServiceServer) RemoveDocumentReference(context.Context, *RemoveDocumentReferenceRequest) (*RemoveDocumentReferenceResponse, error)
func (UnimplementedDocStoreServiceServer) RemoveDocumentRelation ¶
func (UnimplementedDocStoreServiceServer) RemoveDocumentRelation(context.Context, *RemoveDocumentRelationRequest) (*RemoveDocumentRelationResponse, error)
func (UnimplementedDocStoreServiceServer) SetDocumentAccess ¶
func (UnimplementedDocStoreServiceServer) SetDocumentAccess(context.Context, *SetDocumentAccessRequest) (*SetDocumentAccessResponse, error)
func (UnimplementedDocStoreServiceServer) SetDocumentReminder ¶ added in v0.9.4
func (UnimplementedDocStoreServiceServer) SetDocumentReminder(context.Context, *SetDocumentReminderRequest) (*SetDocumentReminderResponse, error)
func (UnimplementedDocStoreServiceServer) ToggleDocument ¶
func (UnimplementedDocStoreServiceServer) ToggleDocument(context.Context, *ToggleDocumentRequest) (*ToggleDocumentResponse, error)
func (UnimplementedDocStoreServiceServer) ToggleDocumentPin ¶
func (UnimplementedDocStoreServiceServer) ToggleDocumentPin(context.Context, *ToggleDocumentPinRequest) (*ToggleDocumentPinResponse, error)
func (UnimplementedDocStoreServiceServer) UpdateCategory ¶
func (UnimplementedDocStoreServiceServer) UpdateCategory(context.Context, *UpdateCategoryRequest) (*UpdateCategoryResponse, error)
func (UnimplementedDocStoreServiceServer) UpdateDocument ¶
func (UnimplementedDocStoreServiceServer) UpdateDocument(context.Context, *UpdateDocumentRequest) (*UpdateDocumentResponse, error)
func (UnimplementedDocStoreServiceServer) UpdateDocumentReq ¶
func (UnimplementedDocStoreServiceServer) UpdateDocumentReq(context.Context, *UpdateDocumentReqRequest) (*UpdateDocumentReqResponse, error)
func (UnimplementedDocStoreServiceServer) UpdateTemplate ¶
func (UnimplementedDocStoreServiceServer) UpdateTemplate(context.Context, *UpdateTemplateRequest) (*UpdateTemplateResponse, error)
type UnsafeDocStoreServiceServer ¶
type UnsafeDocStoreServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDocStoreServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DocStoreServiceServer will result in compilation errors.
type UpdateCategoryRequest ¶
type UpdateCategoryRequest struct { Category *documents.Category `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"` // contains filtered or unexported fields }
func (*UpdateCategoryRequest) Descriptor
deprecated
func (*UpdateCategoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCategoryRequest.ProtoReflect.Descriptor instead.
func (*UpdateCategoryRequest) GetCategory ¶
func (x *UpdateCategoryRequest) GetCategory() *documents.Category
func (*UpdateCategoryRequest) ProtoMessage ¶
func (*UpdateCategoryRequest) ProtoMessage()
func (*UpdateCategoryRequest) ProtoReflect ¶
func (x *UpdateCategoryRequest) ProtoReflect() protoreflect.Message
func (*UpdateCategoryRequest) Reset ¶
func (x *UpdateCategoryRequest) Reset()
func (*UpdateCategoryRequest) Sanitize ¶ added in v0.9.4
func (m *UpdateCategoryRequest) Sanitize() error
func (*UpdateCategoryRequest) String ¶
func (x *UpdateCategoryRequest) String() string
func (*UpdateCategoryRequest) Validate ¶
func (m *UpdateCategoryRequest) Validate() error
Validate checks the field values on UpdateCategoryRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateCategoryRequest) ValidateAll ¶
func (m *UpdateCategoryRequest) ValidateAll() error
ValidateAll checks the field values on UpdateCategoryRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateCategoryRequestMultiError, or nil if none found.
type UpdateCategoryRequestMultiError ¶
type UpdateCategoryRequestMultiError []error
UpdateCategoryRequestMultiError is an error wrapping multiple validation errors returned by UpdateCategoryRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateCategoryRequestMultiError) AllErrors ¶
func (m UpdateCategoryRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateCategoryRequestMultiError) Error ¶
func (m UpdateCategoryRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateCategoryRequestValidationError ¶
type UpdateCategoryRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateCategoryRequestValidationError is the validation error returned by UpdateCategoryRequest.Validate if the designated constraints aren't met.
func (UpdateCategoryRequestValidationError) Cause ¶
func (e UpdateCategoryRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateCategoryRequestValidationError) Error ¶
func (e UpdateCategoryRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateCategoryRequestValidationError) ErrorName ¶
func (e UpdateCategoryRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateCategoryRequestValidationError) Field ¶
func (e UpdateCategoryRequestValidationError) Field() string
Field function returns field value.
func (UpdateCategoryRequestValidationError) Key ¶
func (e UpdateCategoryRequestValidationError) Key() bool
Key function returns key value.
func (UpdateCategoryRequestValidationError) Reason ¶
func (e UpdateCategoryRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateCategoryResponse ¶
type UpdateCategoryResponse struct {
// contains filtered or unexported fields
}
func (*UpdateCategoryResponse) Descriptor
deprecated
func (*UpdateCategoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCategoryResponse.ProtoReflect.Descriptor instead.
func (*UpdateCategoryResponse) ProtoMessage ¶
func (*UpdateCategoryResponse) ProtoMessage()
func (*UpdateCategoryResponse) ProtoReflect ¶
func (x *UpdateCategoryResponse) ProtoReflect() protoreflect.Message
func (*UpdateCategoryResponse) Reset ¶
func (x *UpdateCategoryResponse) Reset()
func (*UpdateCategoryResponse) Sanitize ¶ added in v0.9.4
func (m *UpdateCategoryResponse) Sanitize() error
func (*UpdateCategoryResponse) String ¶
func (x *UpdateCategoryResponse) String() string
func (*UpdateCategoryResponse) Validate ¶
func (m *UpdateCategoryResponse) Validate() error
Validate checks the field values on UpdateCategoryResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateCategoryResponse) ValidateAll ¶
func (m *UpdateCategoryResponse) ValidateAll() error
ValidateAll checks the field values on UpdateCategoryResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateCategoryResponseMultiError, or nil if none found.
type UpdateCategoryResponseMultiError ¶
type UpdateCategoryResponseMultiError []error
UpdateCategoryResponseMultiError is an error wrapping multiple validation errors returned by UpdateCategoryResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateCategoryResponseMultiError) AllErrors ¶
func (m UpdateCategoryResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateCategoryResponseMultiError) Error ¶
func (m UpdateCategoryResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateCategoryResponseValidationError ¶
type UpdateCategoryResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateCategoryResponseValidationError is the validation error returned by UpdateCategoryResponse.Validate if the designated constraints aren't met.
func (UpdateCategoryResponseValidationError) Cause ¶
func (e UpdateCategoryResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateCategoryResponseValidationError) Error ¶
func (e UpdateCategoryResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateCategoryResponseValidationError) ErrorName ¶
func (e UpdateCategoryResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateCategoryResponseValidationError) Field ¶
func (e UpdateCategoryResponseValidationError) Field() string
Field function returns field value.
func (UpdateCategoryResponseValidationError) Key ¶
func (e UpdateCategoryResponseValidationError) Key() bool
Key function returns key value.
func (UpdateCategoryResponseValidationError) Reason ¶
func (e UpdateCategoryResponseValidationError) Reason() string
Reason function returns reason value.
type UpdateDocumentReqRequest ¶
type UpdateDocumentReqRequest struct { DocumentId uint64 `protobuf:"varint,1,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` RequestId uint64 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // @sanitize Reason *string `protobuf:"bytes,3,opt,name=reason,proto3,oneof" json:"reason,omitempty"` Data *documents.DocActivityData `protobuf:"bytes,4,opt,name=data,proto3,oneof" json:"data,omitempty"` Accepted bool `protobuf:"varint,5,opt,name=accepted,proto3" json:"accepted,omitempty"` // contains filtered or unexported fields }
func (*UpdateDocumentReqRequest) Descriptor
deprecated
func (*UpdateDocumentReqRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDocumentReqRequest.ProtoReflect.Descriptor instead.
func (*UpdateDocumentReqRequest) GetAccepted ¶
func (x *UpdateDocumentReqRequest) GetAccepted() bool
func (*UpdateDocumentReqRequest) GetData ¶
func (x *UpdateDocumentReqRequest) GetData() *documents.DocActivityData
func (*UpdateDocumentReqRequest) GetDocumentId ¶
func (x *UpdateDocumentReqRequest) GetDocumentId() uint64
func (*UpdateDocumentReqRequest) GetReason ¶
func (x *UpdateDocumentReqRequest) GetReason() string
func (*UpdateDocumentReqRequest) GetRequestId ¶
func (x *UpdateDocumentReqRequest) GetRequestId() uint64
func (*UpdateDocumentReqRequest) ProtoMessage ¶
func (*UpdateDocumentReqRequest) ProtoMessage()
func (*UpdateDocumentReqRequest) ProtoReflect ¶
func (x *UpdateDocumentReqRequest) ProtoReflect() protoreflect.Message
func (*UpdateDocumentReqRequest) Reset ¶
func (x *UpdateDocumentReqRequest) Reset()
func (*UpdateDocumentReqRequest) Sanitize ¶
func (m *UpdateDocumentReqRequest) Sanitize() error
func (*UpdateDocumentReqRequest) String ¶
func (x *UpdateDocumentReqRequest) String() string
func (*UpdateDocumentReqRequest) Validate ¶
func (m *UpdateDocumentReqRequest) Validate() error
Validate checks the field values on UpdateDocumentReqRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateDocumentReqRequest) ValidateAll ¶
func (m *UpdateDocumentReqRequest) ValidateAll() error
ValidateAll checks the field values on UpdateDocumentReqRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateDocumentReqRequestMultiError, or nil if none found.
type UpdateDocumentReqRequestMultiError ¶
type UpdateDocumentReqRequestMultiError []error
UpdateDocumentReqRequestMultiError is an error wrapping multiple validation errors returned by UpdateDocumentReqRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateDocumentReqRequestMultiError) AllErrors ¶
func (m UpdateDocumentReqRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateDocumentReqRequestMultiError) Error ¶
func (m UpdateDocumentReqRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateDocumentReqRequestValidationError ¶
type UpdateDocumentReqRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateDocumentReqRequestValidationError is the validation error returned by UpdateDocumentReqRequest.Validate if the designated constraints aren't met.
func (UpdateDocumentReqRequestValidationError) Cause ¶
func (e UpdateDocumentReqRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateDocumentReqRequestValidationError) Error ¶
func (e UpdateDocumentReqRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateDocumentReqRequestValidationError) ErrorName ¶
func (e UpdateDocumentReqRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateDocumentReqRequestValidationError) Field ¶
func (e UpdateDocumentReqRequestValidationError) Field() string
Field function returns field value.
func (UpdateDocumentReqRequestValidationError) Key ¶
func (e UpdateDocumentReqRequestValidationError) Key() bool
Key function returns key value.
func (UpdateDocumentReqRequestValidationError) Reason ¶
func (e UpdateDocumentReqRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateDocumentReqResponse ¶
type UpdateDocumentReqResponse struct { Request *documents.DocRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*UpdateDocumentReqResponse) Descriptor
deprecated
func (*UpdateDocumentReqResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDocumentReqResponse.ProtoReflect.Descriptor instead.
func (*UpdateDocumentReqResponse) GetRequest ¶
func (x *UpdateDocumentReqResponse) GetRequest() *documents.DocRequest
func (*UpdateDocumentReqResponse) ProtoMessage ¶
func (*UpdateDocumentReqResponse) ProtoMessage()
func (*UpdateDocumentReqResponse) ProtoReflect ¶
func (x *UpdateDocumentReqResponse) ProtoReflect() protoreflect.Message
func (*UpdateDocumentReqResponse) Reset ¶
func (x *UpdateDocumentReqResponse) Reset()
func (*UpdateDocumentReqResponse) Sanitize ¶ added in v0.9.4
func (m *UpdateDocumentReqResponse) Sanitize() error
func (*UpdateDocumentReqResponse) String ¶
func (x *UpdateDocumentReqResponse) String() string
func (*UpdateDocumentReqResponse) Validate ¶
func (m *UpdateDocumentReqResponse) Validate() error
Validate checks the field values on UpdateDocumentReqResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateDocumentReqResponse) ValidateAll ¶
func (m *UpdateDocumentReqResponse) ValidateAll() error
ValidateAll checks the field values on UpdateDocumentReqResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateDocumentReqResponseMultiError, or nil if none found.
type UpdateDocumentReqResponseMultiError ¶
type UpdateDocumentReqResponseMultiError []error
UpdateDocumentReqResponseMultiError is an error wrapping multiple validation errors returned by UpdateDocumentReqResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateDocumentReqResponseMultiError) AllErrors ¶
func (m UpdateDocumentReqResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateDocumentReqResponseMultiError) Error ¶
func (m UpdateDocumentReqResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateDocumentReqResponseValidationError ¶
type UpdateDocumentReqResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateDocumentReqResponseValidationError is the validation error returned by UpdateDocumentReqResponse.Validate if the designated constraints aren't met.
func (UpdateDocumentReqResponseValidationError) Cause ¶
func (e UpdateDocumentReqResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateDocumentReqResponseValidationError) Error ¶
func (e UpdateDocumentReqResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateDocumentReqResponseValidationError) ErrorName ¶
func (e UpdateDocumentReqResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateDocumentReqResponseValidationError) Field ¶
func (e UpdateDocumentReqResponseValidationError) Field() string
Field function returns field value.
func (UpdateDocumentReqResponseValidationError) Key ¶
func (e UpdateDocumentReqResponseValidationError) Key() bool
Key function returns key value.
func (UpdateDocumentReqResponseValidationError) Reason ¶
func (e UpdateDocumentReqResponseValidationError) Reason() string
Reason function returns reason value.
type UpdateDocumentRequest ¶
type UpdateDocumentRequest struct { DocumentId uint64 `protobuf:"varint,1,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty" alias:"id"` // @gotags: alias:"id" CategoryId *uint64 `protobuf:"varint,2,opt,name=category_id,json=categoryId,proto3,oneof" json:"category_id,omitempty" alias:"category_id"` // @gotags: alias:"category_id" // @sanitize: method=StripTags Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty" alias:"title"` // @gotags: alias:"title" // @sanitize Content *content.Content `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` ContentType content.ContentType `` // @gotags: alias:"content_type" /* 158-byte string literal not displayed */ Data *string `protobuf:"bytes,6,opt,name=data,proto3,oneof" json:"data,omitempty" alias:"data"` // @gotags: alias:"data" // @sanitize State string `protobuf:"bytes,7,opt,name=state,proto3" json:"state,omitempty" alias:"state"` // @gotags: alias:"state" Closed bool `protobuf:"varint,8,opt,name=closed,proto3" json:"closed,omitempty" alias:"closed"` // @gotags: alias:"closed" Public bool `protobuf:"varint,9,opt,name=public,proto3" json:"public,omitempty" alias:"public"` // @gotags: alias:"public" Access *documents.DocumentAccess `protobuf:"bytes,10,opt,name=access,proto3,oneof" json:"access,omitempty"` // contains filtered or unexported fields }
func (*UpdateDocumentRequest) Descriptor
deprecated
func (*UpdateDocumentRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDocumentRequest.ProtoReflect.Descriptor instead.
func (*UpdateDocumentRequest) GetAccess ¶
func (x *UpdateDocumentRequest) GetAccess() *documents.DocumentAccess
func (*UpdateDocumentRequest) GetCategoryId ¶
func (x *UpdateDocumentRequest) GetCategoryId() uint64
func (*UpdateDocumentRequest) GetClosed ¶
func (x *UpdateDocumentRequest) GetClosed() bool
func (*UpdateDocumentRequest) GetContent ¶
func (x *UpdateDocumentRequest) GetContent() *content.Content
func (*UpdateDocumentRequest) GetContentType ¶
func (x *UpdateDocumentRequest) GetContentType() content.ContentType
func (*UpdateDocumentRequest) GetData ¶
func (x *UpdateDocumentRequest) GetData() string
func (*UpdateDocumentRequest) GetDocumentId ¶
func (x *UpdateDocumentRequest) GetDocumentId() uint64
func (*UpdateDocumentRequest) GetPublic ¶
func (x *UpdateDocumentRequest) GetPublic() bool
func (*UpdateDocumentRequest) GetState ¶
func (x *UpdateDocumentRequest) GetState() string
func (*UpdateDocumentRequest) GetTitle ¶
func (x *UpdateDocumentRequest) GetTitle() string
func (*UpdateDocumentRequest) ProtoMessage ¶
func (*UpdateDocumentRequest) ProtoMessage()
func (*UpdateDocumentRequest) ProtoReflect ¶
func (x *UpdateDocumentRequest) ProtoReflect() protoreflect.Message
func (*UpdateDocumentRequest) Reset ¶
func (x *UpdateDocumentRequest) Reset()
func (*UpdateDocumentRequest) Sanitize ¶
func (m *UpdateDocumentRequest) Sanitize() error
func (*UpdateDocumentRequest) String ¶
func (x *UpdateDocumentRequest) String() string
func (*UpdateDocumentRequest) Validate ¶
func (m *UpdateDocumentRequest) Validate() error
Validate checks the field values on UpdateDocumentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateDocumentRequest) ValidateAll ¶
func (m *UpdateDocumentRequest) ValidateAll() error
ValidateAll checks the field values on UpdateDocumentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateDocumentRequestMultiError, or nil if none found.
type UpdateDocumentRequestMultiError ¶
type UpdateDocumentRequestMultiError []error
UpdateDocumentRequestMultiError is an error wrapping multiple validation errors returned by UpdateDocumentRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateDocumentRequestMultiError) AllErrors ¶
func (m UpdateDocumentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateDocumentRequestMultiError) Error ¶
func (m UpdateDocumentRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateDocumentRequestValidationError ¶
type UpdateDocumentRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateDocumentRequestValidationError is the validation error returned by UpdateDocumentRequest.Validate if the designated constraints aren't met.
func (UpdateDocumentRequestValidationError) Cause ¶
func (e UpdateDocumentRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateDocumentRequestValidationError) Error ¶
func (e UpdateDocumentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateDocumentRequestValidationError) ErrorName ¶
func (e UpdateDocumentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateDocumentRequestValidationError) Field ¶
func (e UpdateDocumentRequestValidationError) Field() string
Field function returns field value.
func (UpdateDocumentRequestValidationError) Key ¶
func (e UpdateDocumentRequestValidationError) Key() bool
Key function returns key value.
func (UpdateDocumentRequestValidationError) Reason ¶
func (e UpdateDocumentRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateDocumentResponse ¶
type UpdateDocumentResponse struct { DocumentId uint64 `protobuf:"varint,1,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty" alias:"id"` // @gotags: alias:"id" // contains filtered or unexported fields }
func (*UpdateDocumentResponse) Descriptor
deprecated
func (*UpdateDocumentResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDocumentResponse.ProtoReflect.Descriptor instead.
func (*UpdateDocumentResponse) GetDocumentId ¶
func (x *UpdateDocumentResponse) GetDocumentId() uint64
func (*UpdateDocumentResponse) ProtoMessage ¶
func (*UpdateDocumentResponse) ProtoMessage()
func (*UpdateDocumentResponse) ProtoReflect ¶
func (x *UpdateDocumentResponse) ProtoReflect() protoreflect.Message
func (*UpdateDocumentResponse) Reset ¶
func (x *UpdateDocumentResponse) Reset()
func (*UpdateDocumentResponse) Sanitize ¶ added in v0.9.4
func (m *UpdateDocumentResponse) Sanitize() error
func (*UpdateDocumentResponse) String ¶
func (x *UpdateDocumentResponse) String() string
func (*UpdateDocumentResponse) Validate ¶
func (m *UpdateDocumentResponse) Validate() error
Validate checks the field values on UpdateDocumentResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateDocumentResponse) ValidateAll ¶
func (m *UpdateDocumentResponse) ValidateAll() error
ValidateAll checks the field values on UpdateDocumentResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateDocumentResponseMultiError, or nil if none found.
type UpdateDocumentResponseMultiError ¶
type UpdateDocumentResponseMultiError []error
UpdateDocumentResponseMultiError is an error wrapping multiple validation errors returned by UpdateDocumentResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateDocumentResponseMultiError) AllErrors ¶
func (m UpdateDocumentResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateDocumentResponseMultiError) Error ¶
func (m UpdateDocumentResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateDocumentResponseValidationError ¶
type UpdateDocumentResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateDocumentResponseValidationError is the validation error returned by UpdateDocumentResponse.Validate if the designated constraints aren't met.
func (UpdateDocumentResponseValidationError) Cause ¶
func (e UpdateDocumentResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateDocumentResponseValidationError) Error ¶
func (e UpdateDocumentResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateDocumentResponseValidationError) ErrorName ¶
func (e UpdateDocumentResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateDocumentResponseValidationError) Field ¶
func (e UpdateDocumentResponseValidationError) Field() string
Field function returns field value.
func (UpdateDocumentResponseValidationError) Key ¶
func (e UpdateDocumentResponseValidationError) Key() bool
Key function returns key value.
func (UpdateDocumentResponseValidationError) Reason ¶
func (e UpdateDocumentResponseValidationError) Reason() string
Reason function returns reason value.
type UpdateTemplateRequest ¶
type UpdateTemplateRequest struct { Template *documents.Template `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` // contains filtered or unexported fields }
func (*UpdateTemplateRequest) Descriptor
deprecated
func (*UpdateTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTemplateRequest.ProtoReflect.Descriptor instead.
func (*UpdateTemplateRequest) GetTemplate ¶
func (x *UpdateTemplateRequest) GetTemplate() *documents.Template
func (*UpdateTemplateRequest) ProtoMessage ¶
func (*UpdateTemplateRequest) ProtoMessage()
func (*UpdateTemplateRequest) ProtoReflect ¶
func (x *UpdateTemplateRequest) ProtoReflect() protoreflect.Message
func (*UpdateTemplateRequest) Reset ¶
func (x *UpdateTemplateRequest) Reset()
func (*UpdateTemplateRequest) Sanitize ¶ added in v0.9.4
func (m *UpdateTemplateRequest) Sanitize() error
func (*UpdateTemplateRequest) String ¶
func (x *UpdateTemplateRequest) String() string
func (*UpdateTemplateRequest) Validate ¶
func (m *UpdateTemplateRequest) Validate() error
Validate checks the field values on UpdateTemplateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateTemplateRequest) ValidateAll ¶
func (m *UpdateTemplateRequest) ValidateAll() error
ValidateAll checks the field values on UpdateTemplateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateTemplateRequestMultiError, or nil if none found.
type UpdateTemplateRequestMultiError ¶
type UpdateTemplateRequestMultiError []error
UpdateTemplateRequestMultiError is an error wrapping multiple validation errors returned by UpdateTemplateRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateTemplateRequestMultiError) AllErrors ¶
func (m UpdateTemplateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateTemplateRequestMultiError) Error ¶
func (m UpdateTemplateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateTemplateRequestValidationError ¶
type UpdateTemplateRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateTemplateRequestValidationError is the validation error returned by UpdateTemplateRequest.Validate if the designated constraints aren't met.
func (UpdateTemplateRequestValidationError) Cause ¶
func (e UpdateTemplateRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateTemplateRequestValidationError) Error ¶
func (e UpdateTemplateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateTemplateRequestValidationError) ErrorName ¶
func (e UpdateTemplateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateTemplateRequestValidationError) Field ¶
func (e UpdateTemplateRequestValidationError) Field() string
Field function returns field value.
func (UpdateTemplateRequestValidationError) Key ¶
func (e UpdateTemplateRequestValidationError) Key() bool
Key function returns key value.
func (UpdateTemplateRequestValidationError) Reason ¶
func (e UpdateTemplateRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateTemplateResponse ¶
type UpdateTemplateResponse struct { Template *documents.Template `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` // contains filtered or unexported fields }
func (*UpdateTemplateResponse) Descriptor
deprecated
func (*UpdateTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTemplateResponse.ProtoReflect.Descriptor instead.
func (*UpdateTemplateResponse) GetTemplate ¶
func (x *UpdateTemplateResponse) GetTemplate() *documents.Template
func (*UpdateTemplateResponse) ProtoMessage ¶
func (*UpdateTemplateResponse) ProtoMessage()
func (*UpdateTemplateResponse) ProtoReflect ¶
func (x *UpdateTemplateResponse) ProtoReflect() protoreflect.Message
func (*UpdateTemplateResponse) Reset ¶
func (x *UpdateTemplateResponse) Reset()
func (*UpdateTemplateResponse) Sanitize ¶ added in v0.9.4
func (m *UpdateTemplateResponse) Sanitize() error
func (*UpdateTemplateResponse) String ¶
func (x *UpdateTemplateResponse) String() string
func (*UpdateTemplateResponse) Validate ¶
func (m *UpdateTemplateResponse) Validate() error
Validate checks the field values on UpdateTemplateResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateTemplateResponse) ValidateAll ¶
func (m *UpdateTemplateResponse) ValidateAll() error
ValidateAll checks the field values on UpdateTemplateResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateTemplateResponseMultiError, or nil if none found.
type UpdateTemplateResponseMultiError ¶
type UpdateTemplateResponseMultiError []error
UpdateTemplateResponseMultiError is an error wrapping multiple validation errors returned by UpdateTemplateResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateTemplateResponseMultiError) AllErrors ¶
func (m UpdateTemplateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateTemplateResponseMultiError) Error ¶
func (m UpdateTemplateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateTemplateResponseValidationError ¶
type UpdateTemplateResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateTemplateResponseValidationError is the validation error returned by UpdateTemplateResponse.Validate if the designated constraints aren't met.
func (UpdateTemplateResponseValidationError) Cause ¶
func (e UpdateTemplateResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateTemplateResponseValidationError) Error ¶
func (e UpdateTemplateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateTemplateResponseValidationError) ErrorName ¶
func (e UpdateTemplateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateTemplateResponseValidationError) Field ¶
func (e UpdateTemplateResponseValidationError) Field() string
Field function returns field value.
func (UpdateTemplateResponseValidationError) Key ¶
func (e UpdateTemplateResponseValidationError) Key() bool
Key function returns key value.
func (UpdateTemplateResponseValidationError) Reason ¶
func (e UpdateTemplateResponseValidationError) Reason() string
Reason function returns reason value.
type Workflow ¶ added in v0.9.4
type Workflow struct {
// contains filtered or unexported fields
}
func NewWorkflow ¶ added in v0.9.4
func NewWorkflow(p WorkflowParams) *Workflow
Source Files ¶
- activity.go
- categories.go
- comments.go
- docstore.go
- docstore.pb.go
- docstore.pb.sanitizer.go
- docstore.pb.tester.go
- docstore.pb.validate.go
- docstore_grpc.pb.go
- docstore_user.go
- docstore_utils.go
- documents_access.go
- pins.go
- relref.go
- reminder.go
- requests.go
- service_perms.go
- templates.go
- templates_utils.go
- workflow_state.go
- workflow_users.go