Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterDocStoreServiceServer(s grpc.ServiceRegistrar, srv DocStoreServiceServer)
- type ACCESS_LEVEL_UPDATE_MODE
- func (ACCESS_LEVEL_UPDATE_MODE) Descriptor() protoreflect.EnumDescriptor
- func (x ACCESS_LEVEL_UPDATE_MODE) Enum() *ACCESS_LEVEL_UPDATE_MODE
- func (ACCESS_LEVEL_UPDATE_MODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x ACCESS_LEVEL_UPDATE_MODE) Number() protoreflect.EnumNumber
- func (x ACCESS_LEVEL_UPDATE_MODE) String() string
- func (ACCESS_LEVEL_UPDATE_MODE) Type() protoreflect.EnumType
- 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 (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 (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 (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 (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 CreateDocumentCategoryRequest
- func (*CreateDocumentCategoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDocumentCategoryRequest) GetCategory() *documents.DocumentCategory
- func (*CreateDocumentCategoryRequest) ProtoMessage()
- func (x *CreateDocumentCategoryRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDocumentCategoryRequest) Reset()
- func (x *CreateDocumentCategoryRequest) String() string
- func (m *CreateDocumentCategoryRequest) Validate() error
- func (m *CreateDocumentCategoryRequest) ValidateAll() error
- type CreateDocumentCategoryRequestMultiError
- type CreateDocumentCategoryRequestValidationError
- func (e CreateDocumentCategoryRequestValidationError) Cause() error
- func (e CreateDocumentCategoryRequestValidationError) Error() string
- func (e CreateDocumentCategoryRequestValidationError) ErrorName() string
- func (e CreateDocumentCategoryRequestValidationError) Field() string
- func (e CreateDocumentCategoryRequestValidationError) Key() bool
- func (e CreateDocumentCategoryRequestValidationError) Reason() string
- type CreateDocumentCategoryResponse
- func (*CreateDocumentCategoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDocumentCategoryResponse) GetId() uint64
- func (*CreateDocumentCategoryResponse) ProtoMessage()
- func (x *CreateDocumentCategoryResponse) ProtoReflect() protoreflect.Message
- func (x *CreateDocumentCategoryResponse) Reset()
- func (x *CreateDocumentCategoryResponse) String() string
- func (m *CreateDocumentCategoryResponse) Validate() error
- func (m *CreateDocumentCategoryResponse) ValidateAll() error
- type CreateDocumentCategoryResponseMultiError
- type CreateDocumentCategoryResponseValidationError
- func (e CreateDocumentCategoryResponseValidationError) Cause() error
- func (e CreateDocumentCategoryResponseValidationError) Error() string
- func (e CreateDocumentCategoryResponseValidationError) ErrorName() string
- func (e CreateDocumentCategoryResponseValidationError) Field() string
- func (e CreateDocumentCategoryResponseValidationError) Key() bool
- func (e CreateDocumentCategoryResponseValidationError) 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() string
- func (x *CreateDocumentRequest) GetContentType() documents.DOC_CONTENT_TYPE
- func (x *CreateDocumentRequest) GetData() string
- func (x *CreateDocumentRequest) GetPublic() bool
- func (x *CreateDocumentRequest) GetState() string
- func (x *CreateDocumentRequest) GetTitle() string
- func (*CreateDocumentRequest) ProtoMessage()
- func (x *CreateDocumentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDocumentRequest) Reset()
- 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 (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 (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 (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 DeleteDocumentCategoryRequest
- func (*DeleteDocumentCategoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDocumentCategoryRequest) GetIds() []uint64
- func (*DeleteDocumentCategoryRequest) ProtoMessage()
- func (x *DeleteDocumentCategoryRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDocumentCategoryRequest) Reset()
- func (x *DeleteDocumentCategoryRequest) String() string
- func (m *DeleteDocumentCategoryRequest) Validate() error
- func (m *DeleteDocumentCategoryRequest) ValidateAll() error
- type DeleteDocumentCategoryRequestMultiError
- type DeleteDocumentCategoryRequestValidationError
- func (e DeleteDocumentCategoryRequestValidationError) Cause() error
- func (e DeleteDocumentCategoryRequestValidationError) Error() string
- func (e DeleteDocumentCategoryRequestValidationError) ErrorName() string
- func (e DeleteDocumentCategoryRequestValidationError) Field() string
- func (e DeleteDocumentCategoryRequestValidationError) Key() bool
- func (e DeleteDocumentCategoryRequestValidationError) Reason() string
- type DeleteDocumentCategoryResponse
- func (*DeleteDocumentCategoryResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteDocumentCategoryResponse) ProtoMessage()
- func (x *DeleteDocumentCategoryResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteDocumentCategoryResponse) Reset()
- func (x *DeleteDocumentCategoryResponse) String() string
- func (m *DeleteDocumentCategoryResponse) Validate() error
- func (m *DeleteDocumentCategoryResponse) ValidateAll() error
- type DeleteDocumentCategoryResponseMultiError
- type DeleteDocumentCategoryResponseValidationError
- func (e DeleteDocumentCategoryResponseValidationError) Cause() error
- func (e DeleteDocumentCategoryResponseValidationError) Error() string
- func (e DeleteDocumentCategoryResponseValidationError) ErrorName() string
- func (e DeleteDocumentCategoryResponseValidationError) Field() string
- func (e DeleteDocumentCategoryResponseValidationError) Key() bool
- func (e DeleteDocumentCategoryResponseValidationError) Reason() string
- type DeleteDocumentCommentRequest
- func (*DeleteDocumentCommentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDocumentCommentRequest) GetCommentId() uint64
- func (*DeleteDocumentCommentRequest) ProtoMessage()
- func (x *DeleteDocumentCommentRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDocumentCommentRequest) Reset()
- func (x *DeleteDocumentCommentRequest) String() string
- func (m *DeleteDocumentCommentRequest) Validate() error
- func (m *DeleteDocumentCommentRequest) ValidateAll() error
- type DeleteDocumentCommentRequestMultiError
- type DeleteDocumentCommentRequestValidationError
- func (e DeleteDocumentCommentRequestValidationError) Cause() error
- func (e DeleteDocumentCommentRequestValidationError) Error() string
- func (e DeleteDocumentCommentRequestValidationError) ErrorName() string
- func (e DeleteDocumentCommentRequestValidationError) Field() string
- func (e DeleteDocumentCommentRequestValidationError) Key() bool
- func (e DeleteDocumentCommentRequestValidationError) Reason() string
- type DeleteDocumentCommentResponse
- func (*DeleteDocumentCommentResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteDocumentCommentResponse) ProtoMessage()
- func (x *DeleteDocumentCommentResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteDocumentCommentResponse) Reset()
- func (x *DeleteDocumentCommentResponse) String() string
- func (m *DeleteDocumentCommentResponse) Validate() error
- func (m *DeleteDocumentCommentResponse) ValidateAll() error
- type DeleteDocumentCommentResponseMultiError
- type DeleteDocumentCommentResponseValidationError
- func (e DeleteDocumentCommentResponseValidationError) Cause() error
- func (e DeleteDocumentCommentResponseValidationError) Error() string
- func (e DeleteDocumentCommentResponseValidationError) ErrorName() string
- func (e DeleteDocumentCommentResponseValidationError) Field() string
- func (e DeleteDocumentCommentResponseValidationError) Key() bool
- func (e DeleteDocumentCommentResponseValidationError) 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 (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 (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 (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 (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 EditDocumentCommentRequest
- func (*EditDocumentCommentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EditDocumentCommentRequest) GetComment() *documents.DocumentComment
- func (*EditDocumentCommentRequest) ProtoMessage()
- func (x *EditDocumentCommentRequest) ProtoReflect() protoreflect.Message
- func (x *EditDocumentCommentRequest) Reset()
- func (x *EditDocumentCommentRequest) String() string
- func (m *EditDocumentCommentRequest) Validate() error
- func (m *EditDocumentCommentRequest) ValidateAll() error
- type EditDocumentCommentRequestMultiError
- type EditDocumentCommentRequestValidationError
- func (e EditDocumentCommentRequestValidationError) Cause() error
- func (e EditDocumentCommentRequestValidationError) Error() string
- func (e EditDocumentCommentRequestValidationError) ErrorName() string
- func (e EditDocumentCommentRequestValidationError) Field() string
- func (e EditDocumentCommentRequestValidationError) Key() bool
- func (e EditDocumentCommentRequestValidationError) Reason() string
- type EditDocumentCommentResponse
- func (*EditDocumentCommentResponse) Descriptor() ([]byte, []int)deprecated
- func (*EditDocumentCommentResponse) ProtoMessage()
- func (x *EditDocumentCommentResponse) ProtoReflect() protoreflect.Message
- func (x *EditDocumentCommentResponse) Reset()
- func (x *EditDocumentCommentResponse) String() string
- func (m *EditDocumentCommentResponse) Validate() error
- func (m *EditDocumentCommentResponse) ValidateAll() error
- type EditDocumentCommentResponseMultiError
- type EditDocumentCommentResponseValidationError
- func (e EditDocumentCommentResponseValidationError) Cause() error
- func (e EditDocumentCommentResponseValidationError) Error() string
- func (e EditDocumentCommentResponseValidationError) ErrorName() string
- func (e EditDocumentCommentResponseValidationError) Field() string
- func (e EditDocumentCommentResponseValidationError) Key() bool
- func (e EditDocumentCommentResponseValidationError) 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 (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 (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 GetDocumentCommentsRequest
- func (*GetDocumentCommentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDocumentCommentsRequest) GetDocumentId() uint64
- func (x *GetDocumentCommentsRequest) GetPagination() *database.PaginationRequest
- func (*GetDocumentCommentsRequest) ProtoMessage()
- func (x *GetDocumentCommentsRequest) ProtoReflect() protoreflect.Message
- func (x *GetDocumentCommentsRequest) Reset()
- func (x *GetDocumentCommentsRequest) String() string
- func (m *GetDocumentCommentsRequest) Validate() error
- func (m *GetDocumentCommentsRequest) ValidateAll() error
- type GetDocumentCommentsRequestMultiError
- type GetDocumentCommentsRequestValidationError
- func (e GetDocumentCommentsRequestValidationError) Cause() error
- func (e GetDocumentCommentsRequestValidationError) Error() string
- func (e GetDocumentCommentsRequestValidationError) ErrorName() string
- func (e GetDocumentCommentsRequestValidationError) Field() string
- func (e GetDocumentCommentsRequestValidationError) Key() bool
- func (e GetDocumentCommentsRequestValidationError) Reason() string
- type GetDocumentCommentsResponse
- func (*GetDocumentCommentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDocumentCommentsResponse) GetComments() []*documents.DocumentComment
- func (x *GetDocumentCommentsResponse) GetPagination() *database.PaginationResponse
- func (*GetDocumentCommentsResponse) ProtoMessage()
- func (x *GetDocumentCommentsResponse) ProtoReflect() protoreflect.Message
- func (x *GetDocumentCommentsResponse) Reset()
- func (x *GetDocumentCommentsResponse) String() string
- func (m *GetDocumentCommentsResponse) Validate() error
- func (m *GetDocumentCommentsResponse) ValidateAll() error
- type GetDocumentCommentsResponseMultiError
- type GetDocumentCommentsResponseValidationError
- func (e GetDocumentCommentsResponseValidationError) Cause() error
- func (e GetDocumentCommentsResponseValidationError) Error() string
- func (e GetDocumentCommentsResponseValidationError) ErrorName() string
- func (e GetDocumentCommentsResponseValidationError) Field() string
- func (e GetDocumentCommentsResponseValidationError) Key() bool
- func (e GetDocumentCommentsResponseValidationError) 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 (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 (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 (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 (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 (*GetDocumentRequest) ProtoMessage()
- func (x *GetDocumentRequest) ProtoReflect() protoreflect.Message
- func (x *GetDocumentRequest) Reset()
- 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 (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() string
- func (x *GetTemplateRequest) GetRender() bool
- func (x *GetTemplateRequest) GetTemplateId() uint64
- func (*GetTemplateRequest) ProtoMessage()
- func (x *GetTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *GetTemplateRequest) Reset()
- 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 (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 ListDocumentCategoriesRequest
- func (*ListDocumentCategoriesRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListDocumentCategoriesRequest) ProtoMessage()
- func (x *ListDocumentCategoriesRequest) ProtoReflect() protoreflect.Message
- func (x *ListDocumentCategoriesRequest) Reset()
- func (x *ListDocumentCategoriesRequest) String() string
- func (m *ListDocumentCategoriesRequest) Validate() error
- func (m *ListDocumentCategoriesRequest) ValidateAll() error
- type ListDocumentCategoriesRequestMultiError
- type ListDocumentCategoriesRequestValidationError
- func (e ListDocumentCategoriesRequestValidationError) Cause() error
- func (e ListDocumentCategoriesRequestValidationError) Error() string
- func (e ListDocumentCategoriesRequestValidationError) ErrorName() string
- func (e ListDocumentCategoriesRequestValidationError) Field() string
- func (e ListDocumentCategoriesRequestValidationError) Key() bool
- func (e ListDocumentCategoriesRequestValidationError) Reason() string
- type ListDocumentCategoriesResponse
- func (*ListDocumentCategoriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDocumentCategoriesResponse) GetCategory() []*documents.DocumentCategory
- func (*ListDocumentCategoriesResponse) ProtoMessage()
- func (x *ListDocumentCategoriesResponse) ProtoReflect() protoreflect.Message
- func (x *ListDocumentCategoriesResponse) Reset()
- func (x *ListDocumentCategoriesResponse) String() string
- func (m *ListDocumentCategoriesResponse) Validate() error
- func (m *ListDocumentCategoriesResponse) ValidateAll() error
- type ListDocumentCategoriesResponseMultiError
- type ListDocumentCategoriesResponseValidationError
- func (e ListDocumentCategoriesResponseValidationError) Cause() error
- func (e ListDocumentCategoriesResponseValidationError) Error() string
- func (e ListDocumentCategoriesResponseValidationError) ErrorName() string
- func (e ListDocumentCategoriesResponseValidationError) Field() string
- func (e ListDocumentCategoriesResponseValidationError) Key() bool
- func (e ListDocumentCategoriesResponseValidationError) Reason() string
- type ListDocumentsRequest
- func (*ListDocumentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDocumentsRequest) GetCategoryIds() []uint64
- func (x *ListDocumentsRequest) GetCreatorIds() []int32
- func (x *ListDocumentsRequest) GetFrom() *timestamp.Timestamp
- func (x *ListDocumentsRequest) GetOrderBy() []*database.OrderBy
- func (x *ListDocumentsRequest) GetPagination() *database.PaginationRequest
- func (x *ListDocumentsRequest) GetSearch() string
- func (x *ListDocumentsRequest) GetTo() *timestamp.Timestamp
- func (*ListDocumentsRequest) ProtoMessage()
- func (x *ListDocumentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDocumentsRequest) Reset()
- 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 (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 (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 (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) GetPagination() *database.PaginationRequest
- func (x *ListUserDocumentsRequest) GetRelations() []documents.DOC_RELATION
- func (x *ListUserDocumentsRequest) GetUserId() int32
- func (*ListUserDocumentsRequest) ProtoMessage()
- func (x *ListUserDocumentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserDocumentsRequest) Reset()
- 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 (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 PostDocumentCommentRequest
- func (*PostDocumentCommentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PostDocumentCommentRequest) GetComment() *documents.DocumentComment
- func (*PostDocumentCommentRequest) ProtoMessage()
- func (x *PostDocumentCommentRequest) ProtoReflect() protoreflect.Message
- func (x *PostDocumentCommentRequest) Reset()
- func (x *PostDocumentCommentRequest) String() string
- func (m *PostDocumentCommentRequest) Validate() error
- func (m *PostDocumentCommentRequest) ValidateAll() error
- type PostDocumentCommentRequestMultiError
- type PostDocumentCommentRequestValidationError
- func (e PostDocumentCommentRequestValidationError) Cause() error
- func (e PostDocumentCommentRequestValidationError) Error() string
- func (e PostDocumentCommentRequestValidationError) ErrorName() string
- func (e PostDocumentCommentRequestValidationError) Field() string
- func (e PostDocumentCommentRequestValidationError) Key() bool
- func (e PostDocumentCommentRequestValidationError) Reason() string
- type PostDocumentCommentResponse
- func (*PostDocumentCommentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PostDocumentCommentResponse) GetId() uint64
- func (*PostDocumentCommentResponse) ProtoMessage()
- func (x *PostDocumentCommentResponse) ProtoReflect() protoreflect.Message
- func (x *PostDocumentCommentResponse) Reset()
- func (x *PostDocumentCommentResponse) String() string
- func (m *PostDocumentCommentResponse) Validate() error
- func (m *PostDocumentCommentResponse) ValidateAll() error
- type PostDocumentCommentResponseMultiError
- type PostDocumentCommentResponseValidationError
- func (e PostDocumentCommentResponseValidationError) Cause() error
- func (e PostDocumentCommentResponseValidationError) Error() string
- func (e PostDocumentCommentResponseValidationError) ErrorName() string
- func (e PostDocumentCommentResponseValidationError) Field() string
- func (e PostDocumentCommentResponseValidationError) Key() bool
- func (e PostDocumentCommentResponseValidationError) 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 (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 (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 (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 (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) CreateDocument(ctx context.Context, req *CreateDocumentRequest) (*CreateDocumentResponse, error)
- func (s *Server) CreateDocumentCategory(ctx context.Context, req *CreateDocumentCategoryRequest) (*CreateDocumentCategoryResponse, error)
- func (s *Server) CreateTemplate(ctx context.Context, req *CreateTemplateRequest) (*CreateTemplateResponse, error)
- func (s *Server) DeleteDocument(ctx context.Context, req *DeleteDocumentRequest) (*DeleteDocumentResponse, error)
- func (s *Server) DeleteDocumentCategory(ctx context.Context, req *DeleteDocumentCategoryRequest) (*DeleteDocumentCategoryResponse, error)
- func (s *Server) DeleteDocumentComment(ctx context.Context, req *DeleteDocumentCommentRequest) (*DeleteDocumentCommentResponse, error)
- func (s *Server) DeleteTemplate(ctx context.Context, req *DeleteTemplateRequest) (*DeleteTemplateResponse, error)
- func (s *Server) EditDocumentComment(ctx context.Context, req *EditDocumentCommentRequest) (*EditDocumentCommentResponse, 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) GetDocumentComments(ctx context.Context, req *GetDocumentCommentsRequest) (*GetDocumentCommentsResponse, 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) ListDocumentCategories(ctx context.Context, req *ListDocumentCategoriesRequest) (*ListDocumentCategoriesResponse, 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) PostDocumentComment(ctx context.Context, req *PostDocumentCommentRequest) (*PostDocumentCommentResponse, error)
- 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) UpdateDocument(ctx context.Context, req *UpdateDocumentRequest) (*UpdateDocumentResponse, error)
- func (s *Server) UpdateDocumentCategory(ctx context.Context, req *UpdateDocumentCategoryRequest) (*UpdateDocumentCategoryResponse, 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 (x *SetDocumentAccessRequest) GetMode() ACCESS_LEVEL_UPDATE_MODE
- func (*SetDocumentAccessRequest) ProtoMessage()
- func (x *SetDocumentAccessRequest) ProtoReflect() protoreflect.Message
- func (x *SetDocumentAccessRequest) Reset()
- 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 (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 UnimplementedDocStoreServiceServer
- func (UnimplementedDocStoreServiceServer) AddDocumentReference(context.Context, *AddDocumentReferenceRequest) (*AddDocumentReferenceResponse, error)
- func (UnimplementedDocStoreServiceServer) AddDocumentRelation(context.Context, *AddDocumentRelationRequest) (*AddDocumentRelationResponse, error)
- func (UnimplementedDocStoreServiceServer) CreateDocument(context.Context, *CreateDocumentRequest) (*CreateDocumentResponse, error)
- func (UnimplementedDocStoreServiceServer) CreateDocumentCategory(context.Context, *CreateDocumentCategoryRequest) (*CreateDocumentCategoryResponse, error)
- func (UnimplementedDocStoreServiceServer) CreateTemplate(context.Context, *CreateTemplateRequest) (*CreateTemplateResponse, error)
- func (UnimplementedDocStoreServiceServer) DeleteDocument(context.Context, *DeleteDocumentRequest) (*DeleteDocumentResponse, error)
- func (UnimplementedDocStoreServiceServer) DeleteDocumentCategory(context.Context, *DeleteDocumentCategoryRequest) (*DeleteDocumentCategoryResponse, error)
- func (UnimplementedDocStoreServiceServer) DeleteDocumentComment(context.Context, *DeleteDocumentCommentRequest) (*DeleteDocumentCommentResponse, error)
- func (UnimplementedDocStoreServiceServer) DeleteTemplate(context.Context, *DeleteTemplateRequest) (*DeleteTemplateResponse, error)
- func (UnimplementedDocStoreServiceServer) EditDocumentComment(context.Context, *EditDocumentCommentRequest) (*EditDocumentCommentResponse, error)
- func (UnimplementedDocStoreServiceServer) GetDocument(context.Context, *GetDocumentRequest) (*GetDocumentResponse, error)
- func (UnimplementedDocStoreServiceServer) GetDocumentAccess(context.Context, *GetDocumentAccessRequest) (*GetDocumentAccessResponse, error)
- func (UnimplementedDocStoreServiceServer) GetDocumentComments(context.Context, *GetDocumentCommentsRequest) (*GetDocumentCommentsResponse, 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) ListDocumentCategories(context.Context, *ListDocumentCategoriesRequest) (*ListDocumentCategoriesResponse, 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) PostDocumentComment(context.Context, *PostDocumentCommentRequest) (*PostDocumentCommentResponse, 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) UpdateDocument(context.Context, *UpdateDocumentRequest) (*UpdateDocumentResponse, error)
- func (UnimplementedDocStoreServiceServer) UpdateDocumentCategory(context.Context, *UpdateDocumentCategoryRequest) (*UpdateDocumentCategoryResponse, error)
- func (UnimplementedDocStoreServiceServer) UpdateTemplate(context.Context, *UpdateTemplateRequest) (*UpdateTemplateResponse, error)
- type UnsafeDocStoreServiceServer
- type UpdateDocumentCategoryRequest
- func (*UpdateDocumentCategoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDocumentCategoryRequest) GetCategory() *documents.DocumentCategory
- func (*UpdateDocumentCategoryRequest) ProtoMessage()
- func (x *UpdateDocumentCategoryRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDocumentCategoryRequest) Reset()
- func (x *UpdateDocumentCategoryRequest) String() string
- func (m *UpdateDocumentCategoryRequest) Validate() error
- func (m *UpdateDocumentCategoryRequest) ValidateAll() error
- type UpdateDocumentCategoryRequestMultiError
- type UpdateDocumentCategoryRequestValidationError
- func (e UpdateDocumentCategoryRequestValidationError) Cause() error
- func (e UpdateDocumentCategoryRequestValidationError) Error() string
- func (e UpdateDocumentCategoryRequestValidationError) ErrorName() string
- func (e UpdateDocumentCategoryRequestValidationError) Field() string
- func (e UpdateDocumentCategoryRequestValidationError) Key() bool
- func (e UpdateDocumentCategoryRequestValidationError) Reason() string
- type UpdateDocumentCategoryResponse
- func (*UpdateDocumentCategoryResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateDocumentCategoryResponse) ProtoMessage()
- func (x *UpdateDocumentCategoryResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateDocumentCategoryResponse) Reset()
- func (x *UpdateDocumentCategoryResponse) String() string
- func (m *UpdateDocumentCategoryResponse) Validate() error
- func (m *UpdateDocumentCategoryResponse) ValidateAll() error
- type UpdateDocumentCategoryResponseMultiError
- type UpdateDocumentCategoryResponseValidationError
- func (e UpdateDocumentCategoryResponseValidationError) Cause() error
- func (e UpdateDocumentCategoryResponseValidationError) Error() string
- func (e UpdateDocumentCategoryResponseValidationError) ErrorName() string
- func (e UpdateDocumentCategoryResponseValidationError) Field() string
- func (e UpdateDocumentCategoryResponseValidationError) Key() bool
- func (e UpdateDocumentCategoryResponseValidationError) 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() string
- func (x *UpdateDocumentRequest) GetContentType() documents.DOC_CONTENT_TYPE
- 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 (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 (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 (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) GetId() uint64
- func (*UpdateTemplateResponse) ProtoMessage()
- func (x *UpdateTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateTemplateResponse) Reset()
- 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
Constants ¶
const ( DocsDefaultPageLimit = 10 DocShortContentLength = 128 )
const ( DocStoreServicePerm perms.Category = "DocStoreService" DocStoreServiceAddDocumentReferencePerm perms.Name = "AddDocumentReference" DocStoreServiceAddDocumentRelationPerm perms.Name = "AddDocumentRelation" DocStoreServiceCreateDocumentPerm perms.Name = "CreateDocument" DocStoreServiceCreateDocumentCategoryPerm perms.Name = "CreateDocumentCategory" DocStoreServiceCreateTemplatePerm perms.Name = "CreateTemplate" DocStoreServiceDeleteDocumentPerm perms.Name = "DeleteDocument" DocStoreServiceDeleteDocumentAccessPermField perms.Key = "Access" DocStoreServiceDeleteDocumentCategoryPerm perms.Name = "DeleteDocumentCategory" DocStoreServiceDeleteDocumentCommentPerm perms.Name = "DeleteDocumentComment" DocStoreServiceDeleteDocumentCommentAccessPermField perms.Key = "Access" DocStoreServiceDeleteTemplatePerm perms.Name = "DeleteTemplate" DocStoreServiceGetDocumentPerm perms.Name = "GetDocument" DocStoreServiceGetDocumentCommentsPerm perms.Name = "GetDocumentComments" DocStoreServiceListDocumentCategoriesPerm perms.Name = "ListDocumentCategories" DocStoreServiceListDocumentsPerm perms.Name = "ListDocuments" DocStoreServiceListTemplatesPerm perms.Name = "ListTemplates" DocStoreServiceListUserDocumentsPerm perms.Name = "ListUserDocuments" DocStoreServicePostDocumentCommentPerm perms.Name = "PostDocumentComment" DocStoreServiceUpdateDocumentPerm perms.Name = "UpdateDocument" DocStoreServiceUpdateDocumentAccessPermField perms.Key = "Access" )
const (
CommentsDefaultPageLimit = 7
)
Variables ¶
var ( ErrFailedQuery = status.Error(codes.Internal, "errors.DocStoreService.ErrFailedQuery") ErrNotFoundOrNoPerms = status.Error(codes.NotFound, "errors.DocStoreService.ErrNotFoundOrNoPerms") )
var ( ACCESS_LEVEL_UPDATE_MODE_name = map[int32]string{ 0: "UPDATE", 1: "DELETE", 2: "CLEAR", } ACCESS_LEVEL_UPDATE_MODE_value = map[string]int32{ "UPDATE": 0, "DELETE": 1, "CLEAR": 2, } )
Enum value maps for ACCESS_LEVEL_UPDATE_MODE.
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: "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: "GetDocumentComments", Handler: _DocStoreService_GetDocumentComments_Handler, }, { MethodName: "PostDocumentComment", Handler: _DocStoreService_PostDocumentComment_Handler, }, { MethodName: "EditDocumentComment", Handler: _DocStoreService_EditDocumentComment_Handler, }, { MethodName: "DeleteDocumentComment", Handler: _DocStoreService_DeleteDocumentComment_Handler, }, { MethodName: "GetDocumentAccess", Handler: _DocStoreService_GetDocumentAccess_Handler, }, { MethodName: "SetDocumentAccess", Handler: _DocStoreService_SetDocumentAccess_Handler, }, { MethodName: "ListUserDocuments", Handler: _DocStoreService_ListUserDocuments_Handler, }, { MethodName: "ListDocumentCategories", Handler: _DocStoreService_ListDocumentCategories_Handler, }, { MethodName: "CreateDocumentCategory", Handler: _DocStoreService_CreateDocumentCategory_Handler, }, { MethodName: "UpdateDocumentCategory", Handler: _DocStoreService_UpdateDocumentCategory_Handler, }, { MethodName: "DeleteDocumentCategory", Handler: _DocStoreService_DeleteDocumentCategory_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 (
ErrTemplateNoPerms = status.Error(codes.PermissionDenied, "errors.DocStoreService.ErrTemplateNoPerms")
)
var File_services_docstore_docstore_proto protoreflect.FileDescriptor
var PermsRemap = map[string]string{
"DocStoreService/EditDocumentComment": "DocStoreService/PostDocumentComment",
"DocStoreService/GetDocumentAccess": "DocStoreService/GetDocument",
"DocStoreService/GetDocumentReferences": "DocStoreService/GetDocument",
"DocStoreService/GetDocumentRelations": "DocStoreService/GetDocument",
"DocStoreService/GetTemplate": "DocStoreService/ListTemplates",
"DocStoreService/RemoveDocumentReference": "DocStoreService/AddDocumentReference",
"DocStoreService/RemoveDocumentRelation": "DocStoreService/AddDocumentRelation",
"DocStoreService/SetDocumentAccess": "DocStoreService/CreateDocument",
"DocStoreService/UpdateDocumentCategory": "DocStoreService/CreateDocumentCategory",
"DocStoreService/UpdateTemplate": "DocStoreService/CreateTemplate",
}
Functions ¶
func RegisterDocStoreServiceServer ¶
func RegisterDocStoreServiceServer(s grpc.ServiceRegistrar, srv DocStoreServiceServer)
Types ¶
type ACCESS_LEVEL_UPDATE_MODE ¶
type ACCESS_LEVEL_UPDATE_MODE int32
const ( ACCESS_LEVEL_UPDATE_MODE_UPDATE ACCESS_LEVEL_UPDATE_MODE = 0 ACCESS_LEVEL_UPDATE_MODE_DELETE ACCESS_LEVEL_UPDATE_MODE = 1 ACCESS_LEVEL_UPDATE_MODE_CLEAR ACCESS_LEVEL_UPDATE_MODE = 2 )
func (ACCESS_LEVEL_UPDATE_MODE) Descriptor ¶
func (ACCESS_LEVEL_UPDATE_MODE) Descriptor() protoreflect.EnumDescriptor
func (ACCESS_LEVEL_UPDATE_MODE) Enum ¶
func (x ACCESS_LEVEL_UPDATE_MODE) Enum() *ACCESS_LEVEL_UPDATE_MODE
func (ACCESS_LEVEL_UPDATE_MODE) EnumDescriptor
deprecated
func (ACCESS_LEVEL_UPDATE_MODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use ACCESS_LEVEL_UPDATE_MODE.Descriptor instead.
func (ACCESS_LEVEL_UPDATE_MODE) Number ¶
func (x ACCESS_LEVEL_UPDATE_MODE) Number() protoreflect.EnumNumber
func (ACCESS_LEVEL_UPDATE_MODE) String ¶
func (x ACCESS_LEVEL_UPDATE_MODE) String() string
func (ACCESS_LEVEL_UPDATE_MODE) Type ¶
func (ACCESS_LEVEL_UPDATE_MODE) Type() protoreflect.EnumType
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) 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) 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) 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) 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 CreateDocumentCategoryRequest ¶
type CreateDocumentCategoryRequest struct { Category *documents.DocumentCategory `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"` // contains filtered or unexported fields }
func (*CreateDocumentCategoryRequest) Descriptor
deprecated
func (*CreateDocumentCategoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDocumentCategoryRequest.ProtoReflect.Descriptor instead.
func (*CreateDocumentCategoryRequest) GetCategory ¶
func (x *CreateDocumentCategoryRequest) GetCategory() *documents.DocumentCategory
func (*CreateDocumentCategoryRequest) ProtoMessage ¶
func (*CreateDocumentCategoryRequest) ProtoMessage()
func (*CreateDocumentCategoryRequest) ProtoReflect ¶
func (x *CreateDocumentCategoryRequest) ProtoReflect() protoreflect.Message
func (*CreateDocumentCategoryRequest) Reset ¶
func (x *CreateDocumentCategoryRequest) Reset()
func (*CreateDocumentCategoryRequest) String ¶
func (x *CreateDocumentCategoryRequest) String() string
func (*CreateDocumentCategoryRequest) Validate ¶
func (m *CreateDocumentCategoryRequest) Validate() error
Validate checks the field values on CreateDocumentCategoryRequest 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 (*CreateDocumentCategoryRequest) ValidateAll ¶
func (m *CreateDocumentCategoryRequest) ValidateAll() error
ValidateAll checks the field values on CreateDocumentCategoryRequest 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 CreateDocumentCategoryRequestMultiError, or nil if none found.
type CreateDocumentCategoryRequestMultiError ¶
type CreateDocumentCategoryRequestMultiError []error
CreateDocumentCategoryRequestMultiError is an error wrapping multiple validation errors returned by CreateDocumentCategoryRequest.ValidateAll() if the designated constraints aren't met.
func (CreateDocumentCategoryRequestMultiError) AllErrors ¶
func (m CreateDocumentCategoryRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateDocumentCategoryRequestMultiError) Error ¶
func (m CreateDocumentCategoryRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateDocumentCategoryRequestValidationError ¶
type CreateDocumentCategoryRequestValidationError struct {
// contains filtered or unexported fields
}
CreateDocumentCategoryRequestValidationError is the validation error returned by CreateDocumentCategoryRequest.Validate if the designated constraints aren't met.
func (CreateDocumentCategoryRequestValidationError) Cause ¶
func (e CreateDocumentCategoryRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateDocumentCategoryRequestValidationError) Error ¶
func (e CreateDocumentCategoryRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateDocumentCategoryRequestValidationError) ErrorName ¶
func (e CreateDocumentCategoryRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateDocumentCategoryRequestValidationError) Field ¶
func (e CreateDocumentCategoryRequestValidationError) Field() string
Field function returns field value.
func (CreateDocumentCategoryRequestValidationError) Key ¶
func (e CreateDocumentCategoryRequestValidationError) Key() bool
Key function returns key value.
func (CreateDocumentCategoryRequestValidationError) Reason ¶
func (e CreateDocumentCategoryRequestValidationError) Reason() string
Reason function returns reason value.
type CreateDocumentCategoryResponse ¶
type CreateDocumentCategoryResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateDocumentCategoryResponse) Descriptor
deprecated
func (*CreateDocumentCategoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateDocumentCategoryResponse.ProtoReflect.Descriptor instead.
func (*CreateDocumentCategoryResponse) GetId ¶
func (x *CreateDocumentCategoryResponse) GetId() uint64
func (*CreateDocumentCategoryResponse) ProtoMessage ¶
func (*CreateDocumentCategoryResponse) ProtoMessage()
func (*CreateDocumentCategoryResponse) ProtoReflect ¶
func (x *CreateDocumentCategoryResponse) ProtoReflect() protoreflect.Message
func (*CreateDocumentCategoryResponse) Reset ¶
func (x *CreateDocumentCategoryResponse) Reset()
func (*CreateDocumentCategoryResponse) String ¶
func (x *CreateDocumentCategoryResponse) String() string
func (*CreateDocumentCategoryResponse) Validate ¶
func (m *CreateDocumentCategoryResponse) Validate() error
Validate checks the field values on CreateDocumentCategoryResponse 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 (*CreateDocumentCategoryResponse) ValidateAll ¶
func (m *CreateDocumentCategoryResponse) ValidateAll() error
ValidateAll checks the field values on CreateDocumentCategoryResponse 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 CreateDocumentCategoryResponseMultiError, or nil if none found.
type CreateDocumentCategoryResponseMultiError ¶
type CreateDocumentCategoryResponseMultiError []error
CreateDocumentCategoryResponseMultiError is an error wrapping multiple validation errors returned by CreateDocumentCategoryResponse.ValidateAll() if the designated constraints aren't met.
func (CreateDocumentCategoryResponseMultiError) AllErrors ¶
func (m CreateDocumentCategoryResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateDocumentCategoryResponseMultiError) Error ¶
func (m CreateDocumentCategoryResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateDocumentCategoryResponseValidationError ¶
type CreateDocumentCategoryResponseValidationError struct {
// contains filtered or unexported fields
}
CreateDocumentCategoryResponseValidationError is the validation error returned by CreateDocumentCategoryResponse.Validate if the designated constraints aren't met.
func (CreateDocumentCategoryResponseValidationError) Cause ¶
func (e CreateDocumentCategoryResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateDocumentCategoryResponseValidationError) Error ¶
func (e CreateDocumentCategoryResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateDocumentCategoryResponseValidationError) ErrorName ¶
func (e CreateDocumentCategoryResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateDocumentCategoryResponseValidationError) Field ¶
func (e CreateDocumentCategoryResponseValidationError) Field() string
Field function returns field value.
func (CreateDocumentCategoryResponseValidationError) Key ¶
func (e CreateDocumentCategoryResponseValidationError) Key() bool
Key function returns key value.
func (CreateDocumentCategoryResponseValidationError) Reason ¶
func (e CreateDocumentCategoryResponseValidationError) 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" Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" alias:"title"` // @gotags: alias:"title" Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty" alias:"content"` // @gotags: alias:"content" ContentType documents.DOC_CONTENT_TYPE `` // @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" 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"` // 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() string
func (*CreateDocumentRequest) GetContentType ¶
func (x *CreateDocumentRequest) GetContentType() documents.DOC_CONTENT_TYPE
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) 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) 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) 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) 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) 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 DeleteDocumentCategoryRequest ¶
type DeleteDocumentCategoryRequest struct { Ids []uint64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*DeleteDocumentCategoryRequest) Descriptor
deprecated
func (*DeleteDocumentCategoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDocumentCategoryRequest.ProtoReflect.Descriptor instead.
func (*DeleteDocumentCategoryRequest) GetIds ¶
func (x *DeleteDocumentCategoryRequest) GetIds() []uint64
func (*DeleteDocumentCategoryRequest) ProtoMessage ¶
func (*DeleteDocumentCategoryRequest) ProtoMessage()
func (*DeleteDocumentCategoryRequest) ProtoReflect ¶
func (x *DeleteDocumentCategoryRequest) ProtoReflect() protoreflect.Message
func (*DeleteDocumentCategoryRequest) Reset ¶
func (x *DeleteDocumentCategoryRequest) Reset()
func (*DeleteDocumentCategoryRequest) String ¶
func (x *DeleteDocumentCategoryRequest) String() string
func (*DeleteDocumentCategoryRequest) Validate ¶
func (m *DeleteDocumentCategoryRequest) Validate() error
Validate checks the field values on DeleteDocumentCategoryRequest 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 (*DeleteDocumentCategoryRequest) ValidateAll ¶
func (m *DeleteDocumentCategoryRequest) ValidateAll() error
ValidateAll checks the field values on DeleteDocumentCategoryRequest 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 DeleteDocumentCategoryRequestMultiError, or nil if none found.
type DeleteDocumentCategoryRequestMultiError ¶
type DeleteDocumentCategoryRequestMultiError []error
DeleteDocumentCategoryRequestMultiError is an error wrapping multiple validation errors returned by DeleteDocumentCategoryRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteDocumentCategoryRequestMultiError) AllErrors ¶
func (m DeleteDocumentCategoryRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteDocumentCategoryRequestMultiError) Error ¶
func (m DeleteDocumentCategoryRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteDocumentCategoryRequestValidationError ¶
type DeleteDocumentCategoryRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteDocumentCategoryRequestValidationError is the validation error returned by DeleteDocumentCategoryRequest.Validate if the designated constraints aren't met.
func (DeleteDocumentCategoryRequestValidationError) Cause ¶
func (e DeleteDocumentCategoryRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteDocumentCategoryRequestValidationError) Error ¶
func (e DeleteDocumentCategoryRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteDocumentCategoryRequestValidationError) ErrorName ¶
func (e DeleteDocumentCategoryRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteDocumentCategoryRequestValidationError) Field ¶
func (e DeleteDocumentCategoryRequestValidationError) Field() string
Field function returns field value.
func (DeleteDocumentCategoryRequestValidationError) Key ¶
func (e DeleteDocumentCategoryRequestValidationError) Key() bool
Key function returns key value.
func (DeleteDocumentCategoryRequestValidationError) Reason ¶
func (e DeleteDocumentCategoryRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteDocumentCategoryResponse ¶
type DeleteDocumentCategoryResponse struct {
// contains filtered or unexported fields
}
func (*DeleteDocumentCategoryResponse) Descriptor
deprecated
func (*DeleteDocumentCategoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDocumentCategoryResponse.ProtoReflect.Descriptor instead.
func (*DeleteDocumentCategoryResponse) ProtoMessage ¶
func (*DeleteDocumentCategoryResponse) ProtoMessage()
func (*DeleteDocumentCategoryResponse) ProtoReflect ¶
func (x *DeleteDocumentCategoryResponse) ProtoReflect() protoreflect.Message
func (*DeleteDocumentCategoryResponse) Reset ¶
func (x *DeleteDocumentCategoryResponse) Reset()
func (*DeleteDocumentCategoryResponse) String ¶
func (x *DeleteDocumentCategoryResponse) String() string
func (*DeleteDocumentCategoryResponse) Validate ¶
func (m *DeleteDocumentCategoryResponse) Validate() error
Validate checks the field values on DeleteDocumentCategoryResponse 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 (*DeleteDocumentCategoryResponse) ValidateAll ¶
func (m *DeleteDocumentCategoryResponse) ValidateAll() error
ValidateAll checks the field values on DeleteDocumentCategoryResponse 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 DeleteDocumentCategoryResponseMultiError, or nil if none found.
type DeleteDocumentCategoryResponseMultiError ¶
type DeleteDocumentCategoryResponseMultiError []error
DeleteDocumentCategoryResponseMultiError is an error wrapping multiple validation errors returned by DeleteDocumentCategoryResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteDocumentCategoryResponseMultiError) AllErrors ¶
func (m DeleteDocumentCategoryResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteDocumentCategoryResponseMultiError) Error ¶
func (m DeleteDocumentCategoryResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteDocumentCategoryResponseValidationError ¶
type DeleteDocumentCategoryResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteDocumentCategoryResponseValidationError is the validation error returned by DeleteDocumentCategoryResponse.Validate if the designated constraints aren't met.
func (DeleteDocumentCategoryResponseValidationError) Cause ¶
func (e DeleteDocumentCategoryResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteDocumentCategoryResponseValidationError) Error ¶
func (e DeleteDocumentCategoryResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteDocumentCategoryResponseValidationError) ErrorName ¶
func (e DeleteDocumentCategoryResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteDocumentCategoryResponseValidationError) Field ¶
func (e DeleteDocumentCategoryResponseValidationError) Field() string
Field function returns field value.
func (DeleteDocumentCategoryResponseValidationError) Key ¶
func (e DeleteDocumentCategoryResponseValidationError) Key() bool
Key function returns key value.
func (DeleteDocumentCategoryResponseValidationError) Reason ¶
func (e DeleteDocumentCategoryResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteDocumentCommentRequest ¶
type DeleteDocumentCommentRequest struct { CommentId uint64 `protobuf:"varint,1,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteDocumentCommentRequest) Descriptor
deprecated
func (*DeleteDocumentCommentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDocumentCommentRequest.ProtoReflect.Descriptor instead.
func (*DeleteDocumentCommentRequest) GetCommentId ¶
func (x *DeleteDocumentCommentRequest) GetCommentId() uint64
func (*DeleteDocumentCommentRequest) ProtoMessage ¶
func (*DeleteDocumentCommentRequest) ProtoMessage()
func (*DeleteDocumentCommentRequest) ProtoReflect ¶
func (x *DeleteDocumentCommentRequest) ProtoReflect() protoreflect.Message
func (*DeleteDocumentCommentRequest) Reset ¶
func (x *DeleteDocumentCommentRequest) Reset()
func (*DeleteDocumentCommentRequest) String ¶
func (x *DeleteDocumentCommentRequest) String() string
func (*DeleteDocumentCommentRequest) Validate ¶
func (m *DeleteDocumentCommentRequest) Validate() error
Validate checks the field values on DeleteDocumentCommentRequest 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 (*DeleteDocumentCommentRequest) ValidateAll ¶
func (m *DeleteDocumentCommentRequest) ValidateAll() error
ValidateAll checks the field values on DeleteDocumentCommentRequest 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 DeleteDocumentCommentRequestMultiError, or nil if none found.
type DeleteDocumentCommentRequestMultiError ¶
type DeleteDocumentCommentRequestMultiError []error
DeleteDocumentCommentRequestMultiError is an error wrapping multiple validation errors returned by DeleteDocumentCommentRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteDocumentCommentRequestMultiError) AllErrors ¶
func (m DeleteDocumentCommentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteDocumentCommentRequestMultiError) Error ¶
func (m DeleteDocumentCommentRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteDocumentCommentRequestValidationError ¶
type DeleteDocumentCommentRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteDocumentCommentRequestValidationError is the validation error returned by DeleteDocumentCommentRequest.Validate if the designated constraints aren't met.
func (DeleteDocumentCommentRequestValidationError) Cause ¶
func (e DeleteDocumentCommentRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteDocumentCommentRequestValidationError) Error ¶
func (e DeleteDocumentCommentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteDocumentCommentRequestValidationError) ErrorName ¶
func (e DeleteDocumentCommentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteDocumentCommentRequestValidationError) Field ¶
func (e DeleteDocumentCommentRequestValidationError) Field() string
Field function returns field value.
func (DeleteDocumentCommentRequestValidationError) Key ¶
func (e DeleteDocumentCommentRequestValidationError) Key() bool
Key function returns key value.
func (DeleteDocumentCommentRequestValidationError) Reason ¶
func (e DeleteDocumentCommentRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteDocumentCommentResponse ¶
type DeleteDocumentCommentResponse struct {
// contains filtered or unexported fields
}
func (*DeleteDocumentCommentResponse) Descriptor
deprecated
func (*DeleteDocumentCommentResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDocumentCommentResponse.ProtoReflect.Descriptor instead.
func (*DeleteDocumentCommentResponse) ProtoMessage ¶
func (*DeleteDocumentCommentResponse) ProtoMessage()
func (*DeleteDocumentCommentResponse) ProtoReflect ¶
func (x *DeleteDocumentCommentResponse) ProtoReflect() protoreflect.Message
func (*DeleteDocumentCommentResponse) Reset ¶
func (x *DeleteDocumentCommentResponse) Reset()
func (*DeleteDocumentCommentResponse) String ¶
func (x *DeleteDocumentCommentResponse) String() string
func (*DeleteDocumentCommentResponse) Validate ¶
func (m *DeleteDocumentCommentResponse) Validate() error
Validate checks the field values on DeleteDocumentCommentResponse 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 (*DeleteDocumentCommentResponse) ValidateAll ¶
func (m *DeleteDocumentCommentResponse) ValidateAll() error
ValidateAll checks the field values on DeleteDocumentCommentResponse 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 DeleteDocumentCommentResponseMultiError, or nil if none found.
type DeleteDocumentCommentResponseMultiError ¶
type DeleteDocumentCommentResponseMultiError []error
DeleteDocumentCommentResponseMultiError is an error wrapping multiple validation errors returned by DeleteDocumentCommentResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteDocumentCommentResponseMultiError) AllErrors ¶
func (m DeleteDocumentCommentResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteDocumentCommentResponseMultiError) Error ¶
func (m DeleteDocumentCommentResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteDocumentCommentResponseValidationError ¶
type DeleteDocumentCommentResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteDocumentCommentResponseValidationError is the validation error returned by DeleteDocumentCommentResponse.Validate if the designated constraints aren't met.
func (DeleteDocumentCommentResponseValidationError) Cause ¶
func (e DeleteDocumentCommentResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteDocumentCommentResponseValidationError) Error ¶
func (e DeleteDocumentCommentResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteDocumentCommentResponseValidationError) ErrorName ¶
func (e DeleteDocumentCommentResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteDocumentCommentResponseValidationError) Field ¶
func (e DeleteDocumentCommentResponseValidationError) Field() string
Field function returns field value.
func (DeleteDocumentCommentResponseValidationError) Key ¶
func (e DeleteDocumentCommentResponseValidationError) Key() bool
Key function returns key value.
func (DeleteDocumentCommentResponseValidationError) Reason ¶
func (e DeleteDocumentCommentResponseValidationError) 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) 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) 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) 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) 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 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"}§[]string{"Own"} UpdateDocument(ctx context.Context, in *UpdateDocumentRequest, opts ...grpc.CallOption) (*UpdateDocumentResponse, error) // @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank"}§[]string{"Own"} DeleteDocument(ctx context.Context, in *DeleteDocumentRequest, opts ...grpc.CallOption) (*DeleteDocumentResponse, error) // @perm: Name=GetDocument GetDocumentReferences(ctx context.Context, in *GetDocumentReferencesRequest, opts ...grpc.CallOption) (*GetDocumentReferencesResponse, error) // @perm: Name=GetDocument 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 GetDocumentComments(ctx context.Context, in *GetDocumentCommentsRequest, opts ...grpc.CallOption) (*GetDocumentCommentsResponse, error) // @perm PostDocumentComment(ctx context.Context, in *PostDocumentCommentRequest, opts ...grpc.CallOption) (*PostDocumentCommentResponse, error) // @perm: Name=PostDocumentComment EditDocumentComment(ctx context.Context, in *EditDocumentCommentRequest, opts ...grpc.CallOption) (*EditDocumentCommentResponse, error) // @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank"}§[]string{"Own"} DeleteDocumentComment(ctx context.Context, in *DeleteDocumentCommentRequest, opts ...grpc.CallOption) (*DeleteDocumentCommentResponse, error) // @perm: Name=GetDocument 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 ListUserDocuments(ctx context.Context, in *ListUserDocumentsRequest, opts ...grpc.CallOption) (*ListUserDocumentsResponse, error) // @perm ListDocumentCategories(ctx context.Context, in *ListDocumentCategoriesRequest, opts ...grpc.CallOption) (*ListDocumentCategoriesResponse, error) // @perm CreateDocumentCategory(ctx context.Context, in *CreateDocumentCategoryRequest, opts ...grpc.CallOption) (*CreateDocumentCategoryResponse, error) // @perm: Name=CreateDocumentCategory UpdateDocumentCategory(ctx context.Context, in *UpdateDocumentCategoryRequest, opts ...grpc.CallOption) (*UpdateDocumentCategoryResponse, error) // @perm DeleteDocumentCategory(ctx context.Context, in *DeleteDocumentCategoryRequest, opts ...grpc.CallOption) (*DeleteDocumentCategoryResponse, 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 GetDocument(context.Context, *GetDocumentRequest) (*GetDocumentResponse, error) // @perm CreateDocument(context.Context, *CreateDocumentRequest) (*CreateDocumentResponse, error) // @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank"}§[]string{"Own"} UpdateDocument(context.Context, *UpdateDocumentRequest) (*UpdateDocumentResponse, error) // @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank"}§[]string{"Own"} DeleteDocument(context.Context, *DeleteDocumentRequest) (*DeleteDocumentResponse, error) // @perm: Name=GetDocument GetDocumentReferences(context.Context, *GetDocumentReferencesRequest) (*GetDocumentReferencesResponse, error) // @perm: Name=GetDocument 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 GetDocumentComments(context.Context, *GetDocumentCommentsRequest) (*GetDocumentCommentsResponse, error) // @perm PostDocumentComment(context.Context, *PostDocumentCommentRequest) (*PostDocumentCommentResponse, error) // @perm: Name=PostDocumentComment EditDocumentComment(context.Context, *EditDocumentCommentRequest) (*EditDocumentCommentResponse, error) // @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank"}§[]string{"Own"} DeleteDocumentComment(context.Context, *DeleteDocumentCommentRequest) (*DeleteDocumentCommentResponse, error) // @perm: Name=GetDocument GetDocumentAccess(context.Context, *GetDocumentAccessRequest) (*GetDocumentAccessResponse, error) // @perm: Name=CreateDocument SetDocumentAccess(context.Context, *SetDocumentAccessRequest) (*SetDocumentAccessResponse, error) // @perm ListUserDocuments(context.Context, *ListUserDocumentsRequest) (*ListUserDocumentsResponse, error) // @perm ListDocumentCategories(context.Context, *ListDocumentCategoriesRequest) (*ListDocumentCategoriesResponse, error) // @perm CreateDocumentCategory(context.Context, *CreateDocumentCategoryRequest) (*CreateDocumentCategoryResponse, error) // @perm: Name=CreateDocumentCategory UpdateDocumentCategory(context.Context, *UpdateDocumentCategoryRequest) (*UpdateDocumentCategoryResponse, error) // @perm DeleteDocumentCategory(context.Context, *DeleteDocumentCategoryRequest) (*DeleteDocumentCategoryResponse, error) // contains filtered or unexported methods }
DocStoreServiceServer is the server API for DocStoreService service. All implementations must embed UnimplementedDocStoreServiceServer for forward compatibility
type EditDocumentCommentRequest ¶
type EditDocumentCommentRequest struct { Comment *documents.DocumentComment `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*EditDocumentCommentRequest) Descriptor
deprecated
func (*EditDocumentCommentRequest) Descriptor() ([]byte, []int)
Deprecated: Use EditDocumentCommentRequest.ProtoReflect.Descriptor instead.
func (*EditDocumentCommentRequest) GetComment ¶
func (x *EditDocumentCommentRequest) GetComment() *documents.DocumentComment
func (*EditDocumentCommentRequest) ProtoMessage ¶
func (*EditDocumentCommentRequest) ProtoMessage()
func (*EditDocumentCommentRequest) ProtoReflect ¶
func (x *EditDocumentCommentRequest) ProtoReflect() protoreflect.Message
func (*EditDocumentCommentRequest) Reset ¶
func (x *EditDocumentCommentRequest) Reset()
func (*EditDocumentCommentRequest) String ¶
func (x *EditDocumentCommentRequest) String() string
func (*EditDocumentCommentRequest) Validate ¶
func (m *EditDocumentCommentRequest) Validate() error
Validate checks the field values on EditDocumentCommentRequest 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 (*EditDocumentCommentRequest) ValidateAll ¶
func (m *EditDocumentCommentRequest) ValidateAll() error
ValidateAll checks the field values on EditDocumentCommentRequest 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 EditDocumentCommentRequestMultiError, or nil if none found.
type EditDocumentCommentRequestMultiError ¶
type EditDocumentCommentRequestMultiError []error
EditDocumentCommentRequestMultiError is an error wrapping multiple validation errors returned by EditDocumentCommentRequest.ValidateAll() if the designated constraints aren't met.
func (EditDocumentCommentRequestMultiError) AllErrors ¶
func (m EditDocumentCommentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EditDocumentCommentRequestMultiError) Error ¶
func (m EditDocumentCommentRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EditDocumentCommentRequestValidationError ¶
type EditDocumentCommentRequestValidationError struct {
// contains filtered or unexported fields
}
EditDocumentCommentRequestValidationError is the validation error returned by EditDocumentCommentRequest.Validate if the designated constraints aren't met.
func (EditDocumentCommentRequestValidationError) Cause ¶
func (e EditDocumentCommentRequestValidationError) Cause() error
Cause function returns cause value.
func (EditDocumentCommentRequestValidationError) Error ¶
func (e EditDocumentCommentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (EditDocumentCommentRequestValidationError) ErrorName ¶
func (e EditDocumentCommentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (EditDocumentCommentRequestValidationError) Field ¶
func (e EditDocumentCommentRequestValidationError) Field() string
Field function returns field value.
func (EditDocumentCommentRequestValidationError) Key ¶
func (e EditDocumentCommentRequestValidationError) Key() bool
Key function returns key value.
func (EditDocumentCommentRequestValidationError) Reason ¶
func (e EditDocumentCommentRequestValidationError) Reason() string
Reason function returns reason value.
type EditDocumentCommentResponse ¶
type EditDocumentCommentResponse struct {
// contains filtered or unexported fields
}
func (*EditDocumentCommentResponse) Descriptor
deprecated
func (*EditDocumentCommentResponse) Descriptor() ([]byte, []int)
Deprecated: Use EditDocumentCommentResponse.ProtoReflect.Descriptor instead.
func (*EditDocumentCommentResponse) ProtoMessage ¶
func (*EditDocumentCommentResponse) ProtoMessage()
func (*EditDocumentCommentResponse) ProtoReflect ¶
func (x *EditDocumentCommentResponse) ProtoReflect() protoreflect.Message
func (*EditDocumentCommentResponse) Reset ¶
func (x *EditDocumentCommentResponse) Reset()
func (*EditDocumentCommentResponse) String ¶
func (x *EditDocumentCommentResponse) String() string
func (*EditDocumentCommentResponse) Validate ¶
func (m *EditDocumentCommentResponse) Validate() error
Validate checks the field values on EditDocumentCommentResponse 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 (*EditDocumentCommentResponse) ValidateAll ¶
func (m *EditDocumentCommentResponse) ValidateAll() error
ValidateAll checks the field values on EditDocumentCommentResponse 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 EditDocumentCommentResponseMultiError, or nil if none found.
type EditDocumentCommentResponseMultiError ¶
type EditDocumentCommentResponseMultiError []error
EditDocumentCommentResponseMultiError is an error wrapping multiple validation errors returned by EditDocumentCommentResponse.ValidateAll() if the designated constraints aren't met.
func (EditDocumentCommentResponseMultiError) AllErrors ¶
func (m EditDocumentCommentResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EditDocumentCommentResponseMultiError) Error ¶
func (m EditDocumentCommentResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EditDocumentCommentResponseValidationError ¶
type EditDocumentCommentResponseValidationError struct {
// contains filtered or unexported fields
}
EditDocumentCommentResponseValidationError is the validation error returned by EditDocumentCommentResponse.Validate if the designated constraints aren't met.
func (EditDocumentCommentResponseValidationError) Cause ¶
func (e EditDocumentCommentResponseValidationError) Cause() error
Cause function returns cause value.
func (EditDocumentCommentResponseValidationError) Error ¶
func (e EditDocumentCommentResponseValidationError) Error() string
Error satisfies the builtin error interface
func (EditDocumentCommentResponseValidationError) ErrorName ¶
func (e EditDocumentCommentResponseValidationError) ErrorName() string
ErrorName returns error name.
func (EditDocumentCommentResponseValidationError) Field ¶
func (e EditDocumentCommentResponseValidationError) Field() string
Field function returns field value.
func (EditDocumentCommentResponseValidationError) Key ¶
func (e EditDocumentCommentResponseValidationError) Key() bool
Key function returns key value.
func (EditDocumentCommentResponseValidationError) Reason ¶
func (e EditDocumentCommentResponseValidationError) 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 }
Access =================================================================
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) 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) 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 GetDocumentCommentsRequest ¶
type GetDocumentCommentsRequest 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 }
Comments ===============================================================
func (*GetDocumentCommentsRequest) Descriptor
deprecated
func (*GetDocumentCommentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDocumentCommentsRequest.ProtoReflect.Descriptor instead.
func (*GetDocumentCommentsRequest) GetDocumentId ¶
func (x *GetDocumentCommentsRequest) GetDocumentId() uint64
func (*GetDocumentCommentsRequest) GetPagination ¶
func (x *GetDocumentCommentsRequest) GetPagination() *database.PaginationRequest
func (*GetDocumentCommentsRequest) ProtoMessage ¶
func (*GetDocumentCommentsRequest) ProtoMessage()
func (*GetDocumentCommentsRequest) ProtoReflect ¶
func (x *GetDocumentCommentsRequest) ProtoReflect() protoreflect.Message
func (*GetDocumentCommentsRequest) Reset ¶
func (x *GetDocumentCommentsRequest) Reset()
func (*GetDocumentCommentsRequest) String ¶
func (x *GetDocumentCommentsRequest) String() string
func (*GetDocumentCommentsRequest) Validate ¶
func (m *GetDocumentCommentsRequest) Validate() error
Validate checks the field values on GetDocumentCommentsRequest 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 (*GetDocumentCommentsRequest) ValidateAll ¶
func (m *GetDocumentCommentsRequest) ValidateAll() error
ValidateAll checks the field values on GetDocumentCommentsRequest 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 GetDocumentCommentsRequestMultiError, or nil if none found.
type GetDocumentCommentsRequestMultiError ¶
type GetDocumentCommentsRequestMultiError []error
GetDocumentCommentsRequestMultiError is an error wrapping multiple validation errors returned by GetDocumentCommentsRequest.ValidateAll() if the designated constraints aren't met.
func (GetDocumentCommentsRequestMultiError) AllErrors ¶
func (m GetDocumentCommentsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDocumentCommentsRequestMultiError) Error ¶
func (m GetDocumentCommentsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDocumentCommentsRequestValidationError ¶
type GetDocumentCommentsRequestValidationError struct {
// contains filtered or unexported fields
}
GetDocumentCommentsRequestValidationError is the validation error returned by GetDocumentCommentsRequest.Validate if the designated constraints aren't met.
func (GetDocumentCommentsRequestValidationError) Cause ¶
func (e GetDocumentCommentsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetDocumentCommentsRequestValidationError) Error ¶
func (e GetDocumentCommentsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetDocumentCommentsRequestValidationError) ErrorName ¶
func (e GetDocumentCommentsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetDocumentCommentsRequestValidationError) Field ¶
func (e GetDocumentCommentsRequestValidationError) Field() string
Field function returns field value.
func (GetDocumentCommentsRequestValidationError) Key ¶
func (e GetDocumentCommentsRequestValidationError) Key() bool
Key function returns key value.
func (GetDocumentCommentsRequestValidationError) Reason ¶
func (e GetDocumentCommentsRequestValidationError) Reason() string
Reason function returns reason value.
type GetDocumentCommentsResponse ¶
type GetDocumentCommentsResponse struct { Pagination *database.PaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Comments []*documents.DocumentComment `protobuf:"bytes,2,rep,name=comments,proto3" json:"comments,omitempty"` // contains filtered or unexported fields }
func (*GetDocumentCommentsResponse) Descriptor
deprecated
func (*GetDocumentCommentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDocumentCommentsResponse.ProtoReflect.Descriptor instead.
func (*GetDocumentCommentsResponse) GetComments ¶
func (x *GetDocumentCommentsResponse) GetComments() []*documents.DocumentComment
func (*GetDocumentCommentsResponse) GetPagination ¶
func (x *GetDocumentCommentsResponse) GetPagination() *database.PaginationResponse
func (*GetDocumentCommentsResponse) ProtoMessage ¶
func (*GetDocumentCommentsResponse) ProtoMessage()
func (*GetDocumentCommentsResponse) ProtoReflect ¶
func (x *GetDocumentCommentsResponse) ProtoReflect() protoreflect.Message
func (*GetDocumentCommentsResponse) Reset ¶
func (x *GetDocumentCommentsResponse) Reset()
func (*GetDocumentCommentsResponse) String ¶
func (x *GetDocumentCommentsResponse) String() string
func (*GetDocumentCommentsResponse) Validate ¶
func (m *GetDocumentCommentsResponse) Validate() error
Validate checks the field values on GetDocumentCommentsResponse 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 (*GetDocumentCommentsResponse) ValidateAll ¶
func (m *GetDocumentCommentsResponse) ValidateAll() error
ValidateAll checks the field values on GetDocumentCommentsResponse 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 GetDocumentCommentsResponseMultiError, or nil if none found.
type GetDocumentCommentsResponseMultiError ¶
type GetDocumentCommentsResponseMultiError []error
GetDocumentCommentsResponseMultiError is an error wrapping multiple validation errors returned by GetDocumentCommentsResponse.ValidateAll() if the designated constraints aren't met.
func (GetDocumentCommentsResponseMultiError) AllErrors ¶
func (m GetDocumentCommentsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDocumentCommentsResponseMultiError) Error ¶
func (m GetDocumentCommentsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDocumentCommentsResponseValidationError ¶
type GetDocumentCommentsResponseValidationError struct {
// contains filtered or unexported fields
}
GetDocumentCommentsResponseValidationError is the validation error returned by GetDocumentCommentsResponse.Validate if the designated constraints aren't met.
func (GetDocumentCommentsResponseValidationError) Cause ¶
func (e GetDocumentCommentsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetDocumentCommentsResponseValidationError) Error ¶
func (e GetDocumentCommentsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetDocumentCommentsResponseValidationError) ErrorName ¶
func (e GetDocumentCommentsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetDocumentCommentsResponseValidationError) Field ¶
func (e GetDocumentCommentsResponseValidationError) Field() string
Field function returns field value.
func (GetDocumentCommentsResponseValidationError) Key ¶
func (e GetDocumentCommentsResponseValidationError) Key() bool
Key function returns key value.
func (GetDocumentCommentsResponseValidationError) Reason ¶
func (e GetDocumentCommentsResponseValidationError) 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) 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) 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) 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) 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"` // 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) ProtoMessage ¶
func (*GetDocumentRequest) ProtoMessage()
func (*GetDocumentRequest) ProtoReflect ¶
func (x *GetDocumentRequest) ProtoReflect() protoreflect.Message
func (*GetDocumentRequest) Reset ¶
func (x *GetDocumentRequest) Reset()
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) 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 *string `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() string
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) 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) 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 ListDocumentCategoriesRequest ¶
type ListDocumentCategoriesRequest struct {
// contains filtered or unexported fields
}
Categories
func (*ListDocumentCategoriesRequest) Descriptor
deprecated
func (*ListDocumentCategoriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDocumentCategoriesRequest.ProtoReflect.Descriptor instead.
func (*ListDocumentCategoriesRequest) ProtoMessage ¶
func (*ListDocumentCategoriesRequest) ProtoMessage()
func (*ListDocumentCategoriesRequest) ProtoReflect ¶
func (x *ListDocumentCategoriesRequest) ProtoReflect() protoreflect.Message
func (*ListDocumentCategoriesRequest) Reset ¶
func (x *ListDocumentCategoriesRequest) Reset()
func (*ListDocumentCategoriesRequest) String ¶
func (x *ListDocumentCategoriesRequest) String() string
func (*ListDocumentCategoriesRequest) Validate ¶
func (m *ListDocumentCategoriesRequest) Validate() error
Validate checks the field values on ListDocumentCategoriesRequest 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 (*ListDocumentCategoriesRequest) ValidateAll ¶
func (m *ListDocumentCategoriesRequest) ValidateAll() error
ValidateAll checks the field values on ListDocumentCategoriesRequest 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 ListDocumentCategoriesRequestMultiError, or nil if none found.
type ListDocumentCategoriesRequestMultiError ¶
type ListDocumentCategoriesRequestMultiError []error
ListDocumentCategoriesRequestMultiError is an error wrapping multiple validation errors returned by ListDocumentCategoriesRequest.ValidateAll() if the designated constraints aren't met.
func (ListDocumentCategoriesRequestMultiError) AllErrors ¶
func (m ListDocumentCategoriesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDocumentCategoriesRequestMultiError) Error ¶
func (m ListDocumentCategoriesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDocumentCategoriesRequestValidationError ¶
type ListDocumentCategoriesRequestValidationError struct {
// contains filtered or unexported fields
}
ListDocumentCategoriesRequestValidationError is the validation error returned by ListDocumentCategoriesRequest.Validate if the designated constraints aren't met.
func (ListDocumentCategoriesRequestValidationError) Cause ¶
func (e ListDocumentCategoriesRequestValidationError) Cause() error
Cause function returns cause value.
func (ListDocumentCategoriesRequestValidationError) Error ¶
func (e ListDocumentCategoriesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListDocumentCategoriesRequestValidationError) ErrorName ¶
func (e ListDocumentCategoriesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListDocumentCategoriesRequestValidationError) Field ¶
func (e ListDocumentCategoriesRequestValidationError) Field() string
Field function returns field value.
func (ListDocumentCategoriesRequestValidationError) Key ¶
func (e ListDocumentCategoriesRequestValidationError) Key() bool
Key function returns key value.
func (ListDocumentCategoriesRequestValidationError) Reason ¶
func (e ListDocumentCategoriesRequestValidationError) Reason() string
Reason function returns reason value.
type ListDocumentCategoriesResponse ¶
type ListDocumentCategoriesResponse struct { Category []*documents.DocumentCategory `protobuf:"bytes,1,rep,name=category,proto3" json:"category,omitempty"` // contains filtered or unexported fields }
func (*ListDocumentCategoriesResponse) Descriptor
deprecated
func (*ListDocumentCategoriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDocumentCategoriesResponse.ProtoReflect.Descriptor instead.
func (*ListDocumentCategoriesResponse) GetCategory ¶
func (x *ListDocumentCategoriesResponse) GetCategory() []*documents.DocumentCategory
func (*ListDocumentCategoriesResponse) ProtoMessage ¶
func (*ListDocumentCategoriesResponse) ProtoMessage()
func (*ListDocumentCategoriesResponse) ProtoReflect ¶
func (x *ListDocumentCategoriesResponse) ProtoReflect() protoreflect.Message
func (*ListDocumentCategoriesResponse) Reset ¶
func (x *ListDocumentCategoriesResponse) Reset()
func (*ListDocumentCategoriesResponse) String ¶
func (x *ListDocumentCategoriesResponse) String() string
func (*ListDocumentCategoriesResponse) Validate ¶
func (m *ListDocumentCategoriesResponse) Validate() error
Validate checks the field values on ListDocumentCategoriesResponse 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 (*ListDocumentCategoriesResponse) ValidateAll ¶
func (m *ListDocumentCategoriesResponse) ValidateAll() error
ValidateAll checks the field values on ListDocumentCategoriesResponse 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 ListDocumentCategoriesResponseMultiError, or nil if none found.
type ListDocumentCategoriesResponseMultiError ¶
type ListDocumentCategoriesResponseMultiError []error
ListDocumentCategoriesResponseMultiError is an error wrapping multiple validation errors returned by ListDocumentCategoriesResponse.ValidateAll() if the designated constraints aren't met.
func (ListDocumentCategoriesResponseMultiError) AllErrors ¶
func (m ListDocumentCategoriesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDocumentCategoriesResponseMultiError) Error ¶
func (m ListDocumentCategoriesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDocumentCategoriesResponseValidationError ¶
type ListDocumentCategoriesResponseValidationError struct {
// contains filtered or unexported fields
}
ListDocumentCategoriesResponseValidationError is the validation error returned by ListDocumentCategoriesResponse.Validate if the designated constraints aren't met.
func (ListDocumentCategoriesResponseValidationError) Cause ¶
func (e ListDocumentCategoriesResponseValidationError) Cause() error
Cause function returns cause value.
func (ListDocumentCategoriesResponseValidationError) Error ¶
func (e ListDocumentCategoriesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListDocumentCategoriesResponseValidationError) ErrorName ¶
func (e ListDocumentCategoriesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListDocumentCategoriesResponseValidationError) Field ¶
func (e ListDocumentCategoriesResponseValidationError) Field() string
Field function returns field value.
func (ListDocumentCategoriesResponseValidationError) Key ¶
func (e ListDocumentCategoriesResponseValidationError) Key() bool
Key function returns key value.
func (ListDocumentCategoriesResponseValidationError) Reason ¶
func (e ListDocumentCategoriesResponseValidationError) 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"` OrderBy []*database.OrderBy `protobuf:"bytes,2,rep,name=orderBy,proto3" json:"orderBy,omitempty"` // Search param 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"` // contains filtered or unexported fields }
Documents ==================================================================
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) GetCreatorIds ¶
func (x *ListDocumentsRequest) GetCreatorIds() []int32
func (*ListDocumentsRequest) GetFrom ¶ added in v0.6.0
func (x *ListDocumentsRequest) GetFrom() *timestamp.Timestamp
func (*ListDocumentsRequest) GetOrderBy ¶
func (x *ListDocumentsRequest) GetOrderBy() []*database.OrderBy
func (*ListDocumentsRequest) GetPagination ¶
func (x *ListDocumentsRequest) GetPagination() *database.PaginationRequest
func (*ListDocumentsRequest) GetSearch ¶
func (x *ListDocumentsRequest) GetSearch() string
func (*ListDocumentsRequest) GetTo ¶ added in v0.6.0
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) 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) 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
}
Templates ==================================================================
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) 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) 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.DOC_RELATION `protobuf:"varint,3,rep,packed,name=relations,proto3,enum=resources.documents.DOC_RELATION" json:"relations,omitempty"` // contains filtered or unexported fields }
func (*ListUserDocumentsRequest) Descriptor
deprecated
func (*ListUserDocumentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUserDocumentsRequest.ProtoReflect.Descriptor instead.
func (*ListUserDocumentsRequest) GetPagination ¶
func (x *ListUserDocumentsRequest) GetPagination() *database.PaginationRequest
func (*ListUserDocumentsRequest) GetRelations ¶
func (x *ListUserDocumentsRequest) GetRelations() []documents.DOC_RELATION
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) 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) 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 PostDocumentCommentRequest ¶
type PostDocumentCommentRequest struct { Comment *documents.DocumentComment `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*PostDocumentCommentRequest) Descriptor
deprecated
func (*PostDocumentCommentRequest) Descriptor() ([]byte, []int)
Deprecated: Use PostDocumentCommentRequest.ProtoReflect.Descriptor instead.
func (*PostDocumentCommentRequest) GetComment ¶
func (x *PostDocumentCommentRequest) GetComment() *documents.DocumentComment
func (*PostDocumentCommentRequest) ProtoMessage ¶
func (*PostDocumentCommentRequest) ProtoMessage()
func (*PostDocumentCommentRequest) ProtoReflect ¶
func (x *PostDocumentCommentRequest) ProtoReflect() protoreflect.Message
func (*PostDocumentCommentRequest) Reset ¶
func (x *PostDocumentCommentRequest) Reset()
func (*PostDocumentCommentRequest) String ¶
func (x *PostDocumentCommentRequest) String() string
func (*PostDocumentCommentRequest) Validate ¶
func (m *PostDocumentCommentRequest) Validate() error
Validate checks the field values on PostDocumentCommentRequest 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 (*PostDocumentCommentRequest) ValidateAll ¶
func (m *PostDocumentCommentRequest) ValidateAll() error
ValidateAll checks the field values on PostDocumentCommentRequest 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 PostDocumentCommentRequestMultiError, or nil if none found.
type PostDocumentCommentRequestMultiError ¶
type PostDocumentCommentRequestMultiError []error
PostDocumentCommentRequestMultiError is an error wrapping multiple validation errors returned by PostDocumentCommentRequest.ValidateAll() if the designated constraints aren't met.
func (PostDocumentCommentRequestMultiError) AllErrors ¶
func (m PostDocumentCommentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PostDocumentCommentRequestMultiError) Error ¶
func (m PostDocumentCommentRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PostDocumentCommentRequestValidationError ¶
type PostDocumentCommentRequestValidationError struct {
// contains filtered or unexported fields
}
PostDocumentCommentRequestValidationError is the validation error returned by PostDocumentCommentRequest.Validate if the designated constraints aren't met.
func (PostDocumentCommentRequestValidationError) Cause ¶
func (e PostDocumentCommentRequestValidationError) Cause() error
Cause function returns cause value.
func (PostDocumentCommentRequestValidationError) Error ¶
func (e PostDocumentCommentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PostDocumentCommentRequestValidationError) ErrorName ¶
func (e PostDocumentCommentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PostDocumentCommentRequestValidationError) Field ¶
func (e PostDocumentCommentRequestValidationError) Field() string
Field function returns field value.
func (PostDocumentCommentRequestValidationError) Key ¶
func (e PostDocumentCommentRequestValidationError) Key() bool
Key function returns key value.
func (PostDocumentCommentRequestValidationError) Reason ¶
func (e PostDocumentCommentRequestValidationError) Reason() string
Reason function returns reason value.
type PostDocumentCommentResponse ¶
type PostDocumentCommentResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*PostDocumentCommentResponse) Descriptor
deprecated
func (*PostDocumentCommentResponse) Descriptor() ([]byte, []int)
Deprecated: Use PostDocumentCommentResponse.ProtoReflect.Descriptor instead.
func (*PostDocumentCommentResponse) GetId ¶
func (x *PostDocumentCommentResponse) GetId() uint64
func (*PostDocumentCommentResponse) ProtoMessage ¶
func (*PostDocumentCommentResponse) ProtoMessage()
func (*PostDocumentCommentResponse) ProtoReflect ¶
func (x *PostDocumentCommentResponse) ProtoReflect() protoreflect.Message
func (*PostDocumentCommentResponse) Reset ¶
func (x *PostDocumentCommentResponse) Reset()
func (*PostDocumentCommentResponse) String ¶
func (x *PostDocumentCommentResponse) String() string
func (*PostDocumentCommentResponse) Validate ¶
func (m *PostDocumentCommentResponse) Validate() error
Validate checks the field values on PostDocumentCommentResponse 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 (*PostDocumentCommentResponse) ValidateAll ¶
func (m *PostDocumentCommentResponse) ValidateAll() error
ValidateAll checks the field values on PostDocumentCommentResponse 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 PostDocumentCommentResponseMultiError, or nil if none found.
type PostDocumentCommentResponseMultiError ¶
type PostDocumentCommentResponseMultiError []error
PostDocumentCommentResponseMultiError is an error wrapping multiple validation errors returned by PostDocumentCommentResponse.ValidateAll() if the designated constraints aren't met.
func (PostDocumentCommentResponseMultiError) AllErrors ¶
func (m PostDocumentCommentResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PostDocumentCommentResponseMultiError) Error ¶
func (m PostDocumentCommentResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PostDocumentCommentResponseValidationError ¶
type PostDocumentCommentResponseValidationError struct {
// contains filtered or unexported fields
}
PostDocumentCommentResponseValidationError is the validation error returned by PostDocumentCommentResponse.Validate if the designated constraints aren't met.
func (PostDocumentCommentResponseValidationError) Cause ¶
func (e PostDocumentCommentResponseValidationError) Cause() error
Cause function returns cause value.
func (PostDocumentCommentResponseValidationError) Error ¶
func (e PostDocumentCommentResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PostDocumentCommentResponseValidationError) ErrorName ¶
func (e PostDocumentCommentResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PostDocumentCommentResponseValidationError) Field ¶
func (e PostDocumentCommentResponseValidationError) Field() string
Field function returns field value.
func (PostDocumentCommentResponseValidationError) Key ¶
func (e PostDocumentCommentResponseValidationError) Key() bool
Key function returns key value.
func (PostDocumentCommentResponseValidationError) Reason ¶
func (e PostDocumentCommentResponseValidationError) 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) 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) 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) 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) 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 NewServer ¶
func NewServer(db *sql.DB, p perms.Permissions, c *mstlystcdata.Enricher, aud audit.IAuditer, ui userinfo.UserInfoRetriever, n notifi.INotifi) *Server
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) CreateDocument ¶
func (s *Server) CreateDocument(ctx context.Context, req *CreateDocumentRequest) (*CreateDocumentResponse, error)
func (*Server) CreateDocumentCategory ¶
func (s *Server) CreateDocumentCategory(ctx context.Context, req *CreateDocumentCategoryRequest) (*CreateDocumentCategoryResponse, error)
func (*Server) CreateTemplate ¶
func (s *Server) CreateTemplate(ctx context.Context, req *CreateTemplateRequest) (*CreateTemplateResponse, error)
func (*Server) DeleteDocument ¶
func (s *Server) DeleteDocument(ctx context.Context, req *DeleteDocumentRequest) (*DeleteDocumentResponse, error)
func (*Server) DeleteDocumentCategory ¶
func (s *Server) DeleteDocumentCategory(ctx context.Context, req *DeleteDocumentCategoryRequest) (*DeleteDocumentCategoryResponse, error)
func (*Server) DeleteDocumentComment ¶
func (s *Server) DeleteDocumentComment(ctx context.Context, req *DeleteDocumentCommentRequest) (*DeleteDocumentCommentResponse, error)
func (*Server) DeleteTemplate ¶
func (s *Server) DeleteTemplate(ctx context.Context, req *DeleteTemplateRequest) (*DeleteTemplateResponse, error)
func (*Server) EditDocumentComment ¶
func (s *Server) EditDocumentComment(ctx context.Context, req *EditDocumentCommentRequest) (*EditDocumentCommentResponse, 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) GetDocumentComments ¶
func (s *Server) GetDocumentComments(ctx context.Context, req *GetDocumentCommentsRequest) (*GetDocumentCommentsResponse, 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) ListDocumentCategories ¶
func (s *Server) ListDocumentCategories(ctx context.Context, req *ListDocumentCategoriesRequest) (*ListDocumentCategoriesResponse, 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) PostDocumentComment ¶
func (s *Server) PostDocumentComment(ctx context.Context, req *PostDocumentCommentRequest) (*PostDocumentCommentResponse, error)
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) UpdateDocument ¶
func (s *Server) UpdateDocument(ctx context.Context, req *UpdateDocumentRequest) (*UpdateDocumentResponse, error)
func (*Server) UpdateDocumentCategory ¶
func (s *Server) UpdateDocumentCategory(ctx context.Context, req *UpdateDocumentCategoryRequest) (*UpdateDocumentCategoryResponse, 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"` Mode ACCESS_LEVEL_UPDATE_MODE `protobuf:"varint,2,opt,name=mode,proto3,enum=services.docstore.ACCESS_LEVEL_UPDATE_MODE" json:"mode,omitempty"` Access *documents.DocumentAccess `protobuf:"bytes,3,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) GetMode ¶
func (x *SetDocumentAccessRequest) GetMode() ACCESS_LEVEL_UPDATE_MODE
func (*SetDocumentAccessRequest) ProtoMessage ¶
func (*SetDocumentAccessRequest) ProtoMessage()
func (*SetDocumentAccessRequest) ProtoReflect ¶
func (x *SetDocumentAccessRequest) ProtoReflect() protoreflect.Message
func (*SetDocumentAccessRequest) Reset ¶
func (x *SetDocumentAccessRequest) Reset()
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) 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 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) CreateDocument ¶
func (UnimplementedDocStoreServiceServer) CreateDocument(context.Context, *CreateDocumentRequest) (*CreateDocumentResponse, error)
func (UnimplementedDocStoreServiceServer) CreateDocumentCategory ¶
func (UnimplementedDocStoreServiceServer) CreateDocumentCategory(context.Context, *CreateDocumentCategoryRequest) (*CreateDocumentCategoryResponse, error)
func (UnimplementedDocStoreServiceServer) CreateTemplate ¶
func (UnimplementedDocStoreServiceServer) CreateTemplate(context.Context, *CreateTemplateRequest) (*CreateTemplateResponse, error)
func (UnimplementedDocStoreServiceServer) DeleteDocument ¶
func (UnimplementedDocStoreServiceServer) DeleteDocument(context.Context, *DeleteDocumentRequest) (*DeleteDocumentResponse, error)
func (UnimplementedDocStoreServiceServer) DeleteDocumentCategory ¶
func (UnimplementedDocStoreServiceServer) DeleteDocumentCategory(context.Context, *DeleteDocumentCategoryRequest) (*DeleteDocumentCategoryResponse, error)
func (UnimplementedDocStoreServiceServer) DeleteDocumentComment ¶
func (UnimplementedDocStoreServiceServer) DeleteDocumentComment(context.Context, *DeleteDocumentCommentRequest) (*DeleteDocumentCommentResponse, error)
func (UnimplementedDocStoreServiceServer) DeleteTemplate ¶
func (UnimplementedDocStoreServiceServer) DeleteTemplate(context.Context, *DeleteTemplateRequest) (*DeleteTemplateResponse, error)
func (UnimplementedDocStoreServiceServer) EditDocumentComment ¶
func (UnimplementedDocStoreServiceServer) EditDocumentComment(context.Context, *EditDocumentCommentRequest) (*EditDocumentCommentResponse, 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) GetDocumentComments ¶
func (UnimplementedDocStoreServiceServer) GetDocumentComments(context.Context, *GetDocumentCommentsRequest) (*GetDocumentCommentsResponse, 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) ListDocumentCategories ¶
func (UnimplementedDocStoreServiceServer) ListDocumentCategories(context.Context, *ListDocumentCategoriesRequest) (*ListDocumentCategoriesResponse, 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) PostDocumentComment ¶
func (UnimplementedDocStoreServiceServer) PostDocumentComment(context.Context, *PostDocumentCommentRequest) (*PostDocumentCommentResponse, 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) UpdateDocument ¶
func (UnimplementedDocStoreServiceServer) UpdateDocument(context.Context, *UpdateDocumentRequest) (*UpdateDocumentResponse, error)
func (UnimplementedDocStoreServiceServer) UpdateDocumentCategory ¶
func (UnimplementedDocStoreServiceServer) UpdateDocumentCategory(context.Context, *UpdateDocumentCategoryRequest) (*UpdateDocumentCategoryResponse, 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 UpdateDocumentCategoryRequest ¶
type UpdateDocumentCategoryRequest struct { Category *documents.DocumentCategory `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"` // contains filtered or unexported fields }
func (*UpdateDocumentCategoryRequest) Descriptor
deprecated
func (*UpdateDocumentCategoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDocumentCategoryRequest.ProtoReflect.Descriptor instead.
func (*UpdateDocumentCategoryRequest) GetCategory ¶
func (x *UpdateDocumentCategoryRequest) GetCategory() *documents.DocumentCategory
func (*UpdateDocumentCategoryRequest) ProtoMessage ¶
func (*UpdateDocumentCategoryRequest) ProtoMessage()
func (*UpdateDocumentCategoryRequest) ProtoReflect ¶
func (x *UpdateDocumentCategoryRequest) ProtoReflect() protoreflect.Message
func (*UpdateDocumentCategoryRequest) Reset ¶
func (x *UpdateDocumentCategoryRequest) Reset()
func (*UpdateDocumentCategoryRequest) String ¶
func (x *UpdateDocumentCategoryRequest) String() string
func (*UpdateDocumentCategoryRequest) Validate ¶
func (m *UpdateDocumentCategoryRequest) Validate() error
Validate checks the field values on UpdateDocumentCategoryRequest 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 (*UpdateDocumentCategoryRequest) ValidateAll ¶
func (m *UpdateDocumentCategoryRequest) ValidateAll() error
ValidateAll checks the field values on UpdateDocumentCategoryRequest 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 UpdateDocumentCategoryRequestMultiError, or nil if none found.
type UpdateDocumentCategoryRequestMultiError ¶
type UpdateDocumentCategoryRequestMultiError []error
UpdateDocumentCategoryRequestMultiError is an error wrapping multiple validation errors returned by UpdateDocumentCategoryRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateDocumentCategoryRequestMultiError) AllErrors ¶
func (m UpdateDocumentCategoryRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateDocumentCategoryRequestMultiError) Error ¶
func (m UpdateDocumentCategoryRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateDocumentCategoryRequestValidationError ¶
type UpdateDocumentCategoryRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateDocumentCategoryRequestValidationError is the validation error returned by UpdateDocumentCategoryRequest.Validate if the designated constraints aren't met.
func (UpdateDocumentCategoryRequestValidationError) Cause ¶
func (e UpdateDocumentCategoryRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateDocumentCategoryRequestValidationError) Error ¶
func (e UpdateDocumentCategoryRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateDocumentCategoryRequestValidationError) ErrorName ¶
func (e UpdateDocumentCategoryRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateDocumentCategoryRequestValidationError) Field ¶
func (e UpdateDocumentCategoryRequestValidationError) Field() string
Field function returns field value.
func (UpdateDocumentCategoryRequestValidationError) Key ¶
func (e UpdateDocumentCategoryRequestValidationError) Key() bool
Key function returns key value.
func (UpdateDocumentCategoryRequestValidationError) Reason ¶
func (e UpdateDocumentCategoryRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateDocumentCategoryResponse ¶
type UpdateDocumentCategoryResponse struct {
// contains filtered or unexported fields
}
func (*UpdateDocumentCategoryResponse) Descriptor
deprecated
func (*UpdateDocumentCategoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDocumentCategoryResponse.ProtoReflect.Descriptor instead.
func (*UpdateDocumentCategoryResponse) ProtoMessage ¶
func (*UpdateDocumentCategoryResponse) ProtoMessage()
func (*UpdateDocumentCategoryResponse) ProtoReflect ¶
func (x *UpdateDocumentCategoryResponse) ProtoReflect() protoreflect.Message
func (*UpdateDocumentCategoryResponse) Reset ¶
func (x *UpdateDocumentCategoryResponse) Reset()
func (*UpdateDocumentCategoryResponse) String ¶
func (x *UpdateDocumentCategoryResponse) String() string
func (*UpdateDocumentCategoryResponse) Validate ¶
func (m *UpdateDocumentCategoryResponse) Validate() error
Validate checks the field values on UpdateDocumentCategoryResponse 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 (*UpdateDocumentCategoryResponse) ValidateAll ¶
func (m *UpdateDocumentCategoryResponse) ValidateAll() error
ValidateAll checks the field values on UpdateDocumentCategoryResponse 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 UpdateDocumentCategoryResponseMultiError, or nil if none found.
type UpdateDocumentCategoryResponseMultiError ¶
type UpdateDocumentCategoryResponseMultiError []error
UpdateDocumentCategoryResponseMultiError is an error wrapping multiple validation errors returned by UpdateDocumentCategoryResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateDocumentCategoryResponseMultiError) AllErrors ¶
func (m UpdateDocumentCategoryResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateDocumentCategoryResponseMultiError) Error ¶
func (m UpdateDocumentCategoryResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateDocumentCategoryResponseValidationError ¶
type UpdateDocumentCategoryResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateDocumentCategoryResponseValidationError is the validation error returned by UpdateDocumentCategoryResponse.Validate if the designated constraints aren't met.
func (UpdateDocumentCategoryResponseValidationError) Cause ¶
func (e UpdateDocumentCategoryResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateDocumentCategoryResponseValidationError) Error ¶
func (e UpdateDocumentCategoryResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateDocumentCategoryResponseValidationError) ErrorName ¶
func (e UpdateDocumentCategoryResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateDocumentCategoryResponseValidationError) Field ¶
func (e UpdateDocumentCategoryResponseValidationError) Field() string
Field function returns field value.
func (UpdateDocumentCategoryResponseValidationError) Key ¶
func (e UpdateDocumentCategoryResponseValidationError) Key() bool
Key function returns key value.
func (UpdateDocumentCategoryResponseValidationError) Reason ¶
func (e UpdateDocumentCategoryResponseValidationError) 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" Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty" alias:"title"` // @gotags: alias:"title" Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty" alias:"content"` // @gotags: alias:"content" ContentType documents.DOC_CONTENT_TYPE `` // @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" 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() string
func (*UpdateDocumentRequest) GetContentType ¶
func (x *UpdateDocumentRequest) GetContentType() documents.DOC_CONTENT_TYPE
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) 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) 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) 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 { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*UpdateTemplateResponse) Descriptor
deprecated
func (*UpdateTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTemplateResponse.ProtoReflect.Descriptor instead.
func (*UpdateTemplateResponse) GetId ¶
func (x *UpdateTemplateResponse) GetId() uint64
func (*UpdateTemplateResponse) ProtoMessage ¶
func (*UpdateTemplateResponse) ProtoMessage()
func (*UpdateTemplateResponse) ProtoReflect ¶
func (x *UpdateTemplateResponse) ProtoReflect() protoreflect.Message
func (*UpdateTemplateResponse) Reset ¶
func (x *UpdateTemplateResponse) Reset()
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.