docstore

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 57 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DocsDefaultPageSize   = 16
	DocShortContentLength = 128
)
View Source
const (
	DocStoreService_ListTemplates_FullMethodName           = "/services.docstore.DocStoreService/ListTemplates"
	DocStoreService_GetTemplate_FullMethodName             = "/services.docstore.DocStoreService/GetTemplate"
	DocStoreService_CreateTemplate_FullMethodName          = "/services.docstore.DocStoreService/CreateTemplate"
	DocStoreService_UpdateTemplate_FullMethodName          = "/services.docstore.DocStoreService/UpdateTemplate"
	DocStoreService_DeleteTemplate_FullMethodName          = "/services.docstore.DocStoreService/DeleteTemplate"
	DocStoreService_ListDocuments_FullMethodName           = "/services.docstore.DocStoreService/ListDocuments"
	DocStoreService_GetDocument_FullMethodName             = "/services.docstore.DocStoreService/GetDocument"
	DocStoreService_CreateDocument_FullMethodName          = "/services.docstore.DocStoreService/CreateDocument"
	DocStoreService_UpdateDocument_FullMethodName          = "/services.docstore.DocStoreService/UpdateDocument"
	DocStoreService_DeleteDocument_FullMethodName          = "/services.docstore.DocStoreService/DeleteDocument"
	DocStoreService_ToggleDocument_FullMethodName          = "/services.docstore.DocStoreService/ToggleDocument"
	DocStoreService_ChangeDocumentOwner_FullMethodName     = "/services.docstore.DocStoreService/ChangeDocumentOwner"
	DocStoreService_GetDocumentReferences_FullMethodName   = "/services.docstore.DocStoreService/GetDocumentReferences"
	DocStoreService_GetDocumentRelations_FullMethodName    = "/services.docstore.DocStoreService/GetDocumentRelations"
	DocStoreService_AddDocumentReference_FullMethodName    = "/services.docstore.DocStoreService/AddDocumentReference"
	DocStoreService_RemoveDocumentReference_FullMethodName = "/services.docstore.DocStoreService/RemoveDocumentReference"
	DocStoreService_AddDocumentRelation_FullMethodName     = "/services.docstore.DocStoreService/AddDocumentRelation"
	DocStoreService_RemoveDocumentRelation_FullMethodName  = "/services.docstore.DocStoreService/RemoveDocumentRelation"
	DocStoreService_GetComments_FullMethodName             = "/services.docstore.DocStoreService/GetComments"
	DocStoreService_PostComment_FullMethodName             = "/services.docstore.DocStoreService/PostComment"
	DocStoreService_EditComment_FullMethodName             = "/services.docstore.DocStoreService/EditComment"
	DocStoreService_DeleteComment_FullMethodName           = "/services.docstore.DocStoreService/DeleteComment"
	DocStoreService_GetDocumentAccess_FullMethodName       = "/services.docstore.DocStoreService/GetDocumentAccess"
	DocStoreService_SetDocumentAccess_FullMethodName       = "/services.docstore.DocStoreService/SetDocumentAccess"
	DocStoreService_ListDocumentActivity_FullMethodName    = "/services.docstore.DocStoreService/ListDocumentActivity"
	DocStoreService_ListDocumentReqs_FullMethodName        = "/services.docstore.DocStoreService/ListDocumentReqs"
	DocStoreService_CreateDocumentReq_FullMethodName       = "/services.docstore.DocStoreService/CreateDocumentReq"
	DocStoreService_UpdateDocumentReq_FullMethodName       = "/services.docstore.DocStoreService/UpdateDocumentReq"
	DocStoreService_DeleteDocumentReq_FullMethodName       = "/services.docstore.DocStoreService/DeleteDocumentReq"
	DocStoreService_ListUserDocuments_FullMethodName       = "/services.docstore.DocStoreService/ListUserDocuments"
	DocStoreService_ListCategories_FullMethodName          = "/services.docstore.DocStoreService/ListCategories"
	DocStoreService_CreateCategory_FullMethodName          = "/services.docstore.DocStoreService/CreateCategory"
	DocStoreService_UpdateCategory_FullMethodName          = "/services.docstore.DocStoreService/UpdateCategory"
	DocStoreService_DeleteCategory_FullMethodName          = "/services.docstore.DocStoreService/DeleteCategory"
)
View Source
const (
	ActivityDefaultPageSize = 10
)
View Source
const (
	CommentsDefaultPageSize = 8
)
View Source
const DocRequestMinimumWaitTime = 24 * time.Hour

Variables

View Source
var DocStoreService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "services.docstore.DocStoreService",
	HandlerType: (*DocStoreServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListTemplates",
			Handler:    _DocStoreService_ListTemplates_Handler,
		},
		{
			MethodName: "GetTemplate",
			Handler:    _DocStoreService_GetTemplate_Handler,
		},
		{
			MethodName: "CreateTemplate",
			Handler:    _DocStoreService_CreateTemplate_Handler,
		},
		{
			MethodName: "UpdateTemplate",
			Handler:    _DocStoreService_UpdateTemplate_Handler,
		},
		{
			MethodName: "DeleteTemplate",
			Handler:    _DocStoreService_DeleteTemplate_Handler,
		},
		{
			MethodName: "ListDocuments",
			Handler:    _DocStoreService_ListDocuments_Handler,
		},
		{
			MethodName: "GetDocument",
			Handler:    _DocStoreService_GetDocument_Handler,
		},
		{
			MethodName: "CreateDocument",
			Handler:    _DocStoreService_CreateDocument_Handler,
		},
		{
			MethodName: "UpdateDocument",
			Handler:    _DocStoreService_UpdateDocument_Handler,
		},
		{
			MethodName: "DeleteDocument",
			Handler:    _DocStoreService_DeleteDocument_Handler,
		},
		{
			MethodName: "ToggleDocument",
			Handler:    _DocStoreService_ToggleDocument_Handler,
		},
		{
			MethodName: "ChangeDocumentOwner",
			Handler:    _DocStoreService_ChangeDocumentOwner_Handler,
		},
		{
			MethodName: "GetDocumentReferences",
			Handler:    _DocStoreService_GetDocumentReferences_Handler,
		},
		{
			MethodName: "GetDocumentRelations",
			Handler:    _DocStoreService_GetDocumentRelations_Handler,
		},
		{
			MethodName: "AddDocumentReference",
			Handler:    _DocStoreService_AddDocumentReference_Handler,
		},
		{
			MethodName: "RemoveDocumentReference",
			Handler:    _DocStoreService_RemoveDocumentReference_Handler,
		},
		{
			MethodName: "AddDocumentRelation",
			Handler:    _DocStoreService_AddDocumentRelation_Handler,
		},
		{
			MethodName: "RemoveDocumentRelation",
			Handler:    _DocStoreService_RemoveDocumentRelation_Handler,
		},
		{
			MethodName: "GetComments",
			Handler:    _DocStoreService_GetComments_Handler,
		},
		{
			MethodName: "PostComment",
			Handler:    _DocStoreService_PostComment_Handler,
		},
		{
			MethodName: "EditComment",
			Handler:    _DocStoreService_EditComment_Handler,
		},
		{
			MethodName: "DeleteComment",
			Handler:    _DocStoreService_DeleteComment_Handler,
		},
		{
			MethodName: "GetDocumentAccess",
			Handler:    _DocStoreService_GetDocumentAccess_Handler,
		},
		{
			MethodName: "SetDocumentAccess",
			Handler:    _DocStoreService_SetDocumentAccess_Handler,
		},
		{
			MethodName: "ListDocumentActivity",
			Handler:    _DocStoreService_ListDocumentActivity_Handler,
		},
		{
			MethodName: "ListDocumentReqs",
			Handler:    _DocStoreService_ListDocumentReqs_Handler,
		},
		{
			MethodName: "CreateDocumentReq",
			Handler:    _DocStoreService_CreateDocumentReq_Handler,
		},
		{
			MethodName: "UpdateDocumentReq",
			Handler:    _DocStoreService_UpdateDocumentReq_Handler,
		},
		{
			MethodName: "DeleteDocumentReq",
			Handler:    _DocStoreService_DeleteDocumentReq_Handler,
		},
		{
			MethodName: "ListUserDocuments",
			Handler:    _DocStoreService_ListUserDocuments_Handler,
		},
		{
			MethodName: "ListCategories",
			Handler:    _DocStoreService_ListCategories_Handler,
		},
		{
			MethodName: "CreateCategory",
			Handler:    _DocStoreService_CreateCategory_Handler,
		},
		{
			MethodName: "UpdateCategory",
			Handler:    _DocStoreService_UpdateCategory_Handler,
		},
		{
			MethodName: "DeleteCategory",
			Handler:    _DocStoreService_DeleteCategory_Handler,
		},
	},
	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)

View Source
var File_services_docstore_docstore_proto protoreflect.FileDescriptor
View Source
var PermsRemap = map[string]string{

	"DocStoreService/EditComment":             "DocStoreService/PostComment",
	"DocStoreService/GetComments":             "DocStoreService/GetDocument",
	"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/UpdateCategory":          "DocStoreService/CreateCategory",
	"DocStoreService/UpdateDocumentReq":       "DocStoreService/CreateDocumentReq",
	"DocStoreService/UpdateTemplate":          "DocStoreService/CreateTemplate",
}

Functions

func RegisterDocStoreServiceServer

func RegisterDocStoreServiceServer(s grpc.ServiceRegistrar, srv DocStoreServiceServer)

Types

type AddDocumentReferenceRequest

type AddDocumentReferenceRequest struct {
	Reference *documents.DocumentReference `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"`
	// contains filtered or unexported fields
}

func (*AddDocumentReferenceRequest) Descriptor deprecated

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

Deprecated: Use AddDocumentReferenceRequest.ProtoReflect.Descriptor instead.

func (*AddDocumentReferenceRequest) GetReference

func (*AddDocumentReferenceRequest) ProtoMessage

func (*AddDocumentReferenceRequest) ProtoMessage()

func (*AddDocumentReferenceRequest) ProtoReflect

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

AllErrors returns a list of validation violation errors.

func (AddDocumentReferenceRequestMultiError) Error

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

Cause function returns cause value.

func (AddDocumentReferenceRequestValidationError) Error

Error satisfies the builtin error interface

func (AddDocumentReferenceRequestValidationError) ErrorName

ErrorName returns error name.

func (AddDocumentReferenceRequestValidationError) Field

Field function returns field value.

func (AddDocumentReferenceRequestValidationError) Key

Key function returns key value.

func (AddDocumentReferenceRequestValidationError) Reason

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 (*AddDocumentReferenceResponse) ProtoMessage

func (*AddDocumentReferenceResponse) ProtoMessage()

func (*AddDocumentReferenceResponse) ProtoReflect

func (*AddDocumentReferenceResponse) Reset

func (x *AddDocumentReferenceResponse) Reset()

func (*AddDocumentReferenceResponse) 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

AllErrors returns a list of validation violation errors.

func (AddDocumentReferenceResponseMultiError) Error

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

Cause function returns cause value.

func (AddDocumentReferenceResponseValidationError) Error

Error satisfies the builtin error interface

func (AddDocumentReferenceResponseValidationError) ErrorName

ErrorName returns error name.

func (AddDocumentReferenceResponseValidationError) Field

Field function returns field value.

func (AddDocumentReferenceResponseValidationError) Key

Key function returns key value.

func (AddDocumentReferenceResponseValidationError) Reason

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 (*AddDocumentRelationRequest) ProtoMessage

func (*AddDocumentRelationRequest) ProtoMessage()

func (*AddDocumentRelationRequest) ProtoReflect

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

AllErrors returns a list of validation violation errors.

func (AddDocumentRelationRequestMultiError) Error

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

Cause function returns cause value.

func (AddDocumentRelationRequestValidationError) Error

Error satisfies the builtin error interface

func (AddDocumentRelationRequestValidationError) ErrorName

ErrorName returns error name.

func (AddDocumentRelationRequestValidationError) Field

Field function returns field value.

func (AddDocumentRelationRequestValidationError) Key

Key function returns key value.

func (AddDocumentRelationRequestValidationError) Reason

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 (*AddDocumentRelationResponse) ProtoMessage

func (*AddDocumentRelationResponse) ProtoMessage()

func (*AddDocumentRelationResponse) ProtoReflect

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

AllErrors returns a list of validation violation errors.

func (AddDocumentRelationResponseMultiError) Error

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

Cause function returns cause value.

func (AddDocumentRelationResponseValidationError) Error

Error satisfies the builtin error interface

func (AddDocumentRelationResponseValidationError) ErrorName

ErrorName returns error name.

func (AddDocumentRelationResponseValidationError) Field

Field function returns field value.

func (AddDocumentRelationResponseValidationError) Key

Key function returns key value.

func (AddDocumentRelationResponseValidationError) Reason

Reason function returns reason value.

type ChangeDocumentOwnerRequest added in v0.8.16

type ChangeDocumentOwnerRequest struct {
	DocumentId uint64 `protobuf:"varint,1,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"`
	NewUserId  *int32 `protobuf:"varint,2,opt,name=new_user_id,json=newUserId,proto3,oneof" json:"new_user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeDocumentOwnerRequest) Descriptor deprecated added in v0.8.16

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

Deprecated: Use ChangeDocumentOwnerRequest.ProtoReflect.Descriptor instead.

func (*ChangeDocumentOwnerRequest) GetDocumentId added in v0.8.16

func (x *ChangeDocumentOwnerRequest) GetDocumentId() uint64

func (*ChangeDocumentOwnerRequest) GetNewUserId added in v0.8.16

func (x *ChangeDocumentOwnerRequest) GetNewUserId() int32

func (*ChangeDocumentOwnerRequest) ProtoMessage added in v0.8.16

func (*ChangeDocumentOwnerRequest) ProtoMessage()

func (*ChangeDocumentOwnerRequest) ProtoReflect added in v0.8.16

func (*ChangeDocumentOwnerRequest) Reset added in v0.8.16

func (x *ChangeDocumentOwnerRequest) Reset()

func (*ChangeDocumentOwnerRequest) String added in v0.8.16

func (x *ChangeDocumentOwnerRequest) String() string

func (*ChangeDocumentOwnerRequest) Validate added in v0.8.16

func (m *ChangeDocumentOwnerRequest) Validate() error

Validate checks the field values on ChangeDocumentOwnerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ChangeDocumentOwnerRequest) ValidateAll added in v0.8.16

func (m *ChangeDocumentOwnerRequest) ValidateAll() error

ValidateAll checks the field values on ChangeDocumentOwnerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ChangeDocumentOwnerRequestMultiError, or nil if none found.

type ChangeDocumentOwnerRequestMultiError added in v0.8.16

type ChangeDocumentOwnerRequestMultiError []error

ChangeDocumentOwnerRequestMultiError is an error wrapping multiple validation errors returned by ChangeDocumentOwnerRequest.ValidateAll() if the designated constraints aren't met.

func (ChangeDocumentOwnerRequestMultiError) AllErrors added in v0.8.16

AllErrors returns a list of validation violation errors.

func (ChangeDocumentOwnerRequestMultiError) Error added in v0.8.16

Error returns a concatenation of all the error messages it wraps.

type ChangeDocumentOwnerRequestValidationError added in v0.8.16

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

ChangeDocumentOwnerRequestValidationError is the validation error returned by ChangeDocumentOwnerRequest.Validate if the designated constraints aren't met.

func (ChangeDocumentOwnerRequestValidationError) Cause added in v0.8.16

Cause function returns cause value.

func (ChangeDocumentOwnerRequestValidationError) Error added in v0.8.16

Error satisfies the builtin error interface

func (ChangeDocumentOwnerRequestValidationError) ErrorName added in v0.8.16

ErrorName returns error name.

func (ChangeDocumentOwnerRequestValidationError) Field added in v0.8.16

Field function returns field value.

func (ChangeDocumentOwnerRequestValidationError) Key added in v0.8.16

Key function returns key value.

func (ChangeDocumentOwnerRequestValidationError) Reason added in v0.8.16

Reason function returns reason value.

type ChangeDocumentOwnerResponse added in v0.8.16

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

func (*ChangeDocumentOwnerResponse) Descriptor deprecated added in v0.8.16

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

Deprecated: Use ChangeDocumentOwnerResponse.ProtoReflect.Descriptor instead.

func (*ChangeDocumentOwnerResponse) ProtoMessage added in v0.8.16

func (*ChangeDocumentOwnerResponse) ProtoMessage()

func (*ChangeDocumentOwnerResponse) ProtoReflect added in v0.8.16

func (*ChangeDocumentOwnerResponse) Reset added in v0.8.16

func (x *ChangeDocumentOwnerResponse) Reset()

func (*ChangeDocumentOwnerResponse) String added in v0.8.16

func (x *ChangeDocumentOwnerResponse) String() string

func (*ChangeDocumentOwnerResponse) Validate added in v0.8.16

func (m *ChangeDocumentOwnerResponse) Validate() error

Validate checks the field values on ChangeDocumentOwnerResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ChangeDocumentOwnerResponse) ValidateAll added in v0.8.16

func (m *ChangeDocumentOwnerResponse) ValidateAll() error

ValidateAll checks the field values on ChangeDocumentOwnerResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ChangeDocumentOwnerResponseMultiError, or nil if none found.

type ChangeDocumentOwnerResponseMultiError added in v0.8.16

type ChangeDocumentOwnerResponseMultiError []error

ChangeDocumentOwnerResponseMultiError is an error wrapping multiple validation errors returned by ChangeDocumentOwnerResponse.ValidateAll() if the designated constraints aren't met.

func (ChangeDocumentOwnerResponseMultiError) AllErrors added in v0.8.16

AllErrors returns a list of validation violation errors.

func (ChangeDocumentOwnerResponseMultiError) Error added in v0.8.16

Error returns a concatenation of all the error messages it wraps.

type ChangeDocumentOwnerResponseValidationError added in v0.8.16

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

ChangeDocumentOwnerResponseValidationError is the validation error returned by ChangeDocumentOwnerResponse.Validate if the designated constraints aren't met.

func (ChangeDocumentOwnerResponseValidationError) Cause added in v0.8.16

Cause function returns cause value.

func (ChangeDocumentOwnerResponseValidationError) Error added in v0.8.16

Error satisfies the builtin error interface

func (ChangeDocumentOwnerResponseValidationError) ErrorName added in v0.8.16

ErrorName returns error name.

func (ChangeDocumentOwnerResponseValidationError) Field added in v0.8.16

Field function returns field value.

func (ChangeDocumentOwnerResponseValidationError) Key added in v0.8.16

Key function returns key value.

func (ChangeDocumentOwnerResponseValidationError) Reason added in v0.8.16

Reason function returns reason value.

type CreateCategoryRequest added in v0.8.0

type CreateCategoryRequest struct {
	Category *documents.Category `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCategoryRequest) Descriptor deprecated added in v0.8.0

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

Deprecated: Use CreateCategoryRequest.ProtoReflect.Descriptor instead.

func (*CreateCategoryRequest) GetCategory added in v0.8.0

func (x *CreateCategoryRequest) GetCategory() *documents.Category

func (*CreateCategoryRequest) ProtoMessage added in v0.8.0

func (*CreateCategoryRequest) ProtoMessage()

func (*CreateCategoryRequest) ProtoReflect added in v0.8.0

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

func (*CreateCategoryRequest) Reset added in v0.8.0

func (x *CreateCategoryRequest) Reset()

func (*CreateCategoryRequest) String added in v0.8.0

func (x *CreateCategoryRequest) String() string

func (*CreateCategoryRequest) Validate added in v0.8.0

func (m *CreateCategoryRequest) Validate() error

Validate checks the field values on CreateCategoryRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateCategoryRequest) ValidateAll added in v0.8.0

func (m *CreateCategoryRequest) ValidateAll() error

ValidateAll checks the field values on CreateCategoryRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateCategoryRequestMultiError, or nil if none found.

type CreateCategoryRequestMultiError added in v0.8.0

type CreateCategoryRequestMultiError []error

CreateCategoryRequestMultiError is an error wrapping multiple validation errors returned by CreateCategoryRequest.ValidateAll() if the designated constraints aren't met.

func (CreateCategoryRequestMultiError) AllErrors added in v0.8.0

func (m CreateCategoryRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateCategoryRequestMultiError) Error added in v0.8.0

Error returns a concatenation of all the error messages it wraps.

type CreateCategoryRequestValidationError added in v0.8.0

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

CreateCategoryRequestValidationError is the validation error returned by CreateCategoryRequest.Validate if the designated constraints aren't met.

func (CreateCategoryRequestValidationError) Cause added in v0.8.0

Cause function returns cause value.

func (CreateCategoryRequestValidationError) Error added in v0.8.0

Error satisfies the builtin error interface

func (CreateCategoryRequestValidationError) ErrorName added in v0.8.0

ErrorName returns error name.

func (CreateCategoryRequestValidationError) Field added in v0.8.0

Field function returns field value.

func (CreateCategoryRequestValidationError) Key added in v0.8.0

Key function returns key value.

func (CreateCategoryRequestValidationError) Reason added in v0.8.0

Reason function returns reason value.

type CreateCategoryResponse added in v0.8.0

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

func (*CreateCategoryResponse) Descriptor deprecated added in v0.8.0

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

Deprecated: Use CreateCategoryResponse.ProtoReflect.Descriptor instead.

func (*CreateCategoryResponse) GetId added in v0.8.0

func (x *CreateCategoryResponse) GetId() uint64

func (*CreateCategoryResponse) ProtoMessage added in v0.8.0

func (*CreateCategoryResponse) ProtoMessage()

func (*CreateCategoryResponse) ProtoReflect added in v0.8.0

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

func (*CreateCategoryResponse) Reset added in v0.8.0

func (x *CreateCategoryResponse) Reset()

func (*CreateCategoryResponse) String added in v0.8.0

func (x *CreateCategoryResponse) String() string

func (*CreateCategoryResponse) Validate added in v0.8.0

func (m *CreateCategoryResponse) Validate() error

Validate checks the field values on CreateCategoryResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateCategoryResponse) ValidateAll added in v0.8.0

func (m *CreateCategoryResponse) ValidateAll() error

ValidateAll checks the field values on CreateCategoryResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateCategoryResponseMultiError, or nil if none found.

type CreateCategoryResponseMultiError added in v0.8.0

type CreateCategoryResponseMultiError []error

CreateCategoryResponseMultiError is an error wrapping multiple validation errors returned by CreateCategoryResponse.ValidateAll() if the designated constraints aren't met.

func (CreateCategoryResponseMultiError) AllErrors added in v0.8.0

func (m CreateCategoryResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateCategoryResponseMultiError) Error added in v0.8.0

Error returns a concatenation of all the error messages it wraps.

type CreateCategoryResponseValidationError added in v0.8.0

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

CreateCategoryResponseValidationError is the validation error returned by CreateCategoryResponse.Validate if the designated constraints aren't met.

func (CreateCategoryResponseValidationError) Cause added in v0.8.0

Cause function returns cause value.

func (CreateCategoryResponseValidationError) Error added in v0.8.0

Error satisfies the builtin error interface

func (CreateCategoryResponseValidationError) ErrorName added in v0.8.0

ErrorName returns error name.

func (CreateCategoryResponseValidationError) Field added in v0.8.0

Field function returns field value.

func (CreateCategoryResponseValidationError) Key added in v0.8.0

Key function returns key value.

func (CreateCategoryResponseValidationError) Reason added in v0.8.0

Reason function returns reason value.

type CreateDocumentReqRequest added in v0.8.16

type CreateDocumentReqRequest struct {
	DocumentId  uint64                    `protobuf:"varint,1,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"`
	RequestType documents.DocActivityType `` /* 136-byte string literal not displayed */
	// @sanitize
	Reason *string                    `protobuf:"bytes,3,opt,name=reason,proto3,oneof" json:"reason,omitempty"`
	Data   *documents.DocActivityData `protobuf:"bytes,4,opt,name=data,proto3,oneof" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDocumentReqRequest) Descriptor deprecated added in v0.8.16

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

Deprecated: Use CreateDocumentReqRequest.ProtoReflect.Descriptor instead.

func (*CreateDocumentReqRequest) GetData added in v0.8.19

func (*CreateDocumentReqRequest) GetDocumentId added in v0.8.16

func (x *CreateDocumentReqRequest) GetDocumentId() uint64

func (*CreateDocumentReqRequest) GetReason added in v0.8.16

func (x *CreateDocumentReqRequest) GetReason() string

func (*CreateDocumentReqRequest) GetRequestType added in v0.8.16

func (*CreateDocumentReqRequest) ProtoMessage added in v0.8.16

func (*CreateDocumentReqRequest) ProtoMessage()

func (*CreateDocumentReqRequest) ProtoReflect added in v0.8.16

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

func (*CreateDocumentReqRequest) Reset added in v0.8.16

func (x *CreateDocumentReqRequest) Reset()

func (*CreateDocumentReqRequest) Sanitize added in v0.8.16

func (m *CreateDocumentReqRequest) Sanitize() error

func (*CreateDocumentReqRequest) String added in v0.8.16

func (x *CreateDocumentReqRequest) String() string

func (*CreateDocumentReqRequest) Validate added in v0.8.16

func (m *CreateDocumentReqRequest) Validate() error

Validate checks the field values on CreateDocumentReqRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateDocumentReqRequest) ValidateAll added in v0.8.16

func (m *CreateDocumentReqRequest) ValidateAll() error

ValidateAll checks the field values on CreateDocumentReqRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateDocumentReqRequestMultiError, or nil if none found.

type CreateDocumentReqRequestMultiError added in v0.8.16

type CreateDocumentReqRequestMultiError []error

CreateDocumentReqRequestMultiError is an error wrapping multiple validation errors returned by CreateDocumentReqRequest.ValidateAll() if the designated constraints aren't met.

func (CreateDocumentReqRequestMultiError) AllErrors added in v0.8.16

func (m CreateDocumentReqRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateDocumentReqRequestMultiError) Error added in v0.8.16

Error returns a concatenation of all the error messages it wraps.

type CreateDocumentReqRequestValidationError added in v0.8.16

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

CreateDocumentReqRequestValidationError is the validation error returned by CreateDocumentReqRequest.Validate if the designated constraints aren't met.

func (CreateDocumentReqRequestValidationError) Cause added in v0.8.16

Cause function returns cause value.

func (CreateDocumentReqRequestValidationError) Error added in v0.8.16

Error satisfies the builtin error interface

func (CreateDocumentReqRequestValidationError) ErrorName added in v0.8.16

ErrorName returns error name.

func (CreateDocumentReqRequestValidationError) Field added in v0.8.16

Field function returns field value.

func (CreateDocumentReqRequestValidationError) Key added in v0.8.16

Key function returns key value.

func (CreateDocumentReqRequestValidationError) Reason added in v0.8.16

Reason function returns reason value.

type CreateDocumentReqResponse added in v0.8.16

type CreateDocumentReqResponse struct {
	Request *documents.DocRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDocumentReqResponse) Descriptor deprecated added in v0.8.16

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

Deprecated: Use CreateDocumentReqResponse.ProtoReflect.Descriptor instead.

func (*CreateDocumentReqResponse) GetRequest added in v0.8.16

func (*CreateDocumentReqResponse) ProtoMessage added in v0.8.16

func (*CreateDocumentReqResponse) ProtoMessage()

func (*CreateDocumentReqResponse) ProtoReflect added in v0.8.16

func (*CreateDocumentReqResponse) Reset added in v0.8.16

func (x *CreateDocumentReqResponse) Reset()

func (*CreateDocumentReqResponse) String added in v0.8.16

func (x *CreateDocumentReqResponse) String() string

func (*CreateDocumentReqResponse) Validate added in v0.8.16

func (m *CreateDocumentReqResponse) Validate() error

Validate checks the field values on CreateDocumentReqResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateDocumentReqResponse) ValidateAll added in v0.8.16

func (m *CreateDocumentReqResponse) ValidateAll() error

ValidateAll checks the field values on CreateDocumentReqResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateDocumentReqResponseMultiError, or nil if none found.

type CreateDocumentReqResponseMultiError added in v0.8.16

type CreateDocumentReqResponseMultiError []error

CreateDocumentReqResponseMultiError is an error wrapping multiple validation errors returned by CreateDocumentReqResponse.ValidateAll() if the designated constraints aren't met.

func (CreateDocumentReqResponseMultiError) AllErrors added in v0.8.16

AllErrors returns a list of validation violation errors.

func (CreateDocumentReqResponseMultiError) Error added in v0.8.16

Error returns a concatenation of all the error messages it wraps.

type CreateDocumentReqResponseValidationError added in v0.8.16

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

CreateDocumentReqResponseValidationError is the validation error returned by CreateDocumentReqResponse.Validate if the designated constraints aren't met.

func (CreateDocumentReqResponseValidationError) Cause added in v0.8.16

Cause function returns cause value.

func (CreateDocumentReqResponseValidationError) Error added in v0.8.16

Error satisfies the builtin error interface

func (CreateDocumentReqResponseValidationError) ErrorName added in v0.8.16

ErrorName returns error name.

func (CreateDocumentReqResponseValidationError) Field added in v0.8.16

Field function returns field value.

func (CreateDocumentReqResponseValidationError) Key added in v0.8.16

Key function returns key value.

func (CreateDocumentReqResponseValidationError) Reason added in v0.8.16

Reason function returns reason value.

type CreateDocumentRequest

type CreateDocumentRequest struct {
	CategoryId *uint64 `protobuf:"varint,1,opt,name=category_id,json=categoryId,proto3,oneof" json:"category_id,omitempty" alias:"category_id"` // @gotags: alias:"category_id"
	// @sanitize: method=StripTags
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" alias:"title"` // @gotags: alias:"title"
	// @sanitize
	Content     string                   `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty" alias:"content"` // @gotags: alias:"content"
	ContentType documents.DocContentType ``                                                                                    // @gotags: alias:"content_type"
	/* 156-byte string literal not displayed */
	Data *string `protobuf:"bytes,5,opt,name=data,proto3,oneof" json:"data,omitempty" alias:"data"` // @gotags: alias:"data"
	// @sanitize
	State      string                    `protobuf:"bytes,6,opt,name=state,proto3" json:"state,omitempty" alias:"state"`     // @gotags: alias:"state"
	Closed     bool                      `protobuf:"varint,7,opt,name=closed,proto3" json:"closed,omitempty" alias:"closed"` // @gotags: alias:"closed"
	Public     bool                      `protobuf:"varint,8,opt,name=public,proto3" json:"public,omitempty" alias:"public"` // @gotags: alias:"public"
	Access     *documents.DocumentAccess `protobuf:"bytes,9,opt,name=access,proto3,oneof" json:"access,omitempty"`
	TemplateId *uint64                   `protobuf:"varint,10,opt,name=template_id,json=templateId,proto3,oneof" json:"template_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDocumentRequest) Descriptor deprecated

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

Deprecated: Use CreateDocumentRequest.ProtoReflect.Descriptor instead.

func (*CreateDocumentRequest) GetAccess

func (*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.DocContentType

func (*CreateDocumentRequest) GetData

func (x *CreateDocumentRequest) GetData() string

func (*CreateDocumentRequest) GetPublic

func (x *CreateDocumentRequest) GetPublic() bool

func (*CreateDocumentRequest) GetState

func (x *CreateDocumentRequest) GetState() string

func (*CreateDocumentRequest) GetTemplateId added in v0.8.16

func (x *CreateDocumentRequest) GetTemplateId() uint64

func (*CreateDocumentRequest) GetTitle

func (x *CreateDocumentRequest) GetTitle() string

func (*CreateDocumentRequest) ProtoMessage

func (*CreateDocumentRequest) ProtoMessage()

func (*CreateDocumentRequest) ProtoReflect

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

func (*CreateDocumentRequest) Reset

func (x *CreateDocumentRequest) Reset()

func (*CreateDocumentRequest) Sanitize added in v0.8.1

func (m *CreateDocumentRequest) Sanitize() error

func (*CreateDocumentRequest) String

func (x *CreateDocumentRequest) String() string

func (*CreateDocumentRequest) Validate

func (m *CreateDocumentRequest) Validate() error

Validate checks the field values on CreateDocumentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateDocumentRequest) ValidateAll

func (m *CreateDocumentRequest) ValidateAll() error

ValidateAll checks the field values on CreateDocumentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateDocumentRequestMultiError, or nil if none found.

type CreateDocumentRequestMultiError

type CreateDocumentRequestMultiError []error

CreateDocumentRequestMultiError is an error wrapping multiple validation errors returned by CreateDocumentRequest.ValidateAll() if the designated constraints aren't met.

func (CreateDocumentRequestMultiError) AllErrors

func (m CreateDocumentRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateDocumentRequestMultiError) Error

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

Cause function returns cause value.

func (CreateDocumentRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateDocumentRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateDocumentRequestValidationError) Field

Field function returns field value.

func (CreateDocumentRequestValidationError) Key

Key function returns key value.

func (CreateDocumentRequestValidationError) Reason

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

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

Cause function returns cause value.

func (CreateDocumentResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateDocumentResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateDocumentResponseValidationError) Field

Field function returns field value.

func (CreateDocumentResponseValidationError) Key

Key function returns key value.

func (CreateDocumentResponseValidationError) Reason

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

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

Cause function returns cause value.

func (CreateTemplateRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateTemplateRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateTemplateRequestValidationError) Field

Field function returns field value.

func (CreateTemplateRequestValidationError) Key

Key function returns key value.

func (CreateTemplateRequestValidationError) Reason

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

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

Cause function returns cause value.

func (CreateTemplateResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateTemplateResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateTemplateResponseValidationError) Field

Field function returns field value.

func (CreateTemplateResponseValidationError) Key

Key function returns key value.

func (CreateTemplateResponseValidationError) Reason

Reason function returns reason value.

type DeleteCategoryRequest added in v0.8.0

type DeleteCategoryRequest struct {
	Ids []uint64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteCategoryRequest) Descriptor deprecated added in v0.8.0

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

Deprecated: Use DeleteCategoryRequest.ProtoReflect.Descriptor instead.

func (*DeleteCategoryRequest) GetIds added in v0.8.0

func (x *DeleteCategoryRequest) GetIds() []uint64

func (*DeleteCategoryRequest) ProtoMessage added in v0.8.0

func (*DeleteCategoryRequest) ProtoMessage()

func (*DeleteCategoryRequest) ProtoReflect added in v0.8.0

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

func (*DeleteCategoryRequest) Reset added in v0.8.0

func (x *DeleteCategoryRequest) Reset()

func (*DeleteCategoryRequest) String added in v0.8.0

func (x *DeleteCategoryRequest) String() string

func (*DeleteCategoryRequest) Validate added in v0.8.0

func (m *DeleteCategoryRequest) Validate() error

Validate checks the field values on DeleteCategoryRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteCategoryRequest) ValidateAll added in v0.8.0

func (m *DeleteCategoryRequest) ValidateAll() error

ValidateAll checks the field values on DeleteCategoryRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteCategoryRequestMultiError, or nil if none found.

type DeleteCategoryRequestMultiError added in v0.8.0

type DeleteCategoryRequestMultiError []error

DeleteCategoryRequestMultiError is an error wrapping multiple validation errors returned by DeleteCategoryRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteCategoryRequestMultiError) AllErrors added in v0.8.0

func (m DeleteCategoryRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteCategoryRequestMultiError) Error added in v0.8.0

Error returns a concatenation of all the error messages it wraps.

type DeleteCategoryRequestValidationError added in v0.8.0

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

DeleteCategoryRequestValidationError is the validation error returned by DeleteCategoryRequest.Validate if the designated constraints aren't met.

func (DeleteCategoryRequestValidationError) Cause added in v0.8.0

Cause function returns cause value.

func (DeleteCategoryRequestValidationError) Error added in v0.8.0

Error satisfies the builtin error interface

func (DeleteCategoryRequestValidationError) ErrorName added in v0.8.0

ErrorName returns error name.

func (DeleteCategoryRequestValidationError) Field added in v0.8.0

Field function returns field value.

func (DeleteCategoryRequestValidationError) Key added in v0.8.0

Key function returns key value.

func (DeleteCategoryRequestValidationError) Reason added in v0.8.0

Reason function returns reason value.

type DeleteCategoryResponse added in v0.8.0

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

func (*DeleteCategoryResponse) Descriptor deprecated added in v0.8.0

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

Deprecated: Use DeleteCategoryResponse.ProtoReflect.Descriptor instead.

func (*DeleteCategoryResponse) ProtoMessage added in v0.8.0

func (*DeleteCategoryResponse) ProtoMessage()

func (*DeleteCategoryResponse) ProtoReflect added in v0.8.0

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

func (*DeleteCategoryResponse) Reset added in v0.8.0

func (x *DeleteCategoryResponse) Reset()

func (*DeleteCategoryResponse) String added in v0.8.0

func (x *DeleteCategoryResponse) String() string

func (*DeleteCategoryResponse) Validate added in v0.8.0

func (m *DeleteCategoryResponse) Validate() error

Validate checks the field values on DeleteCategoryResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteCategoryResponse) ValidateAll added in v0.8.0

func (m *DeleteCategoryResponse) ValidateAll() error

ValidateAll checks the field values on DeleteCategoryResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteCategoryResponseMultiError, or nil if none found.

type DeleteCategoryResponseMultiError added in v0.8.0

type DeleteCategoryResponseMultiError []error

DeleteCategoryResponseMultiError is an error wrapping multiple validation errors returned by DeleteCategoryResponse.ValidateAll() if the designated constraints aren't met.

func (DeleteCategoryResponseMultiError) AllErrors added in v0.8.0

func (m DeleteCategoryResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteCategoryResponseMultiError) Error added in v0.8.0

Error returns a concatenation of all the error messages it wraps.

type DeleteCategoryResponseValidationError added in v0.8.0

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

DeleteCategoryResponseValidationError is the validation error returned by DeleteCategoryResponse.Validate if the designated constraints aren't met.

func (DeleteCategoryResponseValidationError) Cause added in v0.8.0

Cause function returns cause value.

func (DeleteCategoryResponseValidationError) Error added in v0.8.0

Error satisfies the builtin error interface

func (DeleteCategoryResponseValidationError) ErrorName added in v0.8.0

ErrorName returns error name.

func (DeleteCategoryResponseValidationError) Field added in v0.8.0

Field function returns field value.

func (DeleteCategoryResponseValidationError) Key added in v0.8.0

Key function returns key value.

func (DeleteCategoryResponseValidationError) Reason added in v0.8.0

Reason function returns reason value.

type DeleteCommentRequest added in v0.8.0

type DeleteCommentRequest struct {
	CommentId uint64 `protobuf:"varint,1,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteCommentRequest) Descriptor deprecated added in v0.8.0

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

Deprecated: Use DeleteCommentRequest.ProtoReflect.Descriptor instead.

func (*DeleteCommentRequest) GetCommentId added in v0.8.0

func (x *DeleteCommentRequest) GetCommentId() uint64

func (*DeleteCommentRequest) ProtoMessage added in v0.8.0

func (*DeleteCommentRequest) ProtoMessage()

func (*DeleteCommentRequest) ProtoReflect added in v0.8.0

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

func (*DeleteCommentRequest) Reset added in v0.8.0

func (x *DeleteCommentRequest) Reset()

func (*DeleteCommentRequest) String added in v0.8.0

func (x *DeleteCommentRequest) String() string

func (*DeleteCommentRequest) Validate added in v0.8.0

func (m *DeleteCommentRequest) Validate() error

Validate checks the field values on DeleteCommentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteCommentRequest) ValidateAll added in v0.8.0

func (m *DeleteCommentRequest) ValidateAll() error

ValidateAll checks the field values on DeleteCommentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteCommentRequestMultiError, or nil if none found.

type DeleteCommentRequestMultiError added in v0.8.0

type DeleteCommentRequestMultiError []error

DeleteCommentRequestMultiError is an error wrapping multiple validation errors returned by DeleteCommentRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteCommentRequestMultiError) AllErrors added in v0.8.0

func (m DeleteCommentRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteCommentRequestMultiError) Error added in v0.8.0

Error returns a concatenation of all the error messages it wraps.

type DeleteCommentRequestValidationError added in v0.8.0

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

DeleteCommentRequestValidationError is the validation error returned by DeleteCommentRequest.Validate if the designated constraints aren't met.

func (DeleteCommentRequestValidationError) Cause added in v0.8.0

Cause function returns cause value.

func (DeleteCommentRequestValidationError) Error added in v0.8.0

Error satisfies the builtin error interface

func (DeleteCommentRequestValidationError) ErrorName added in v0.8.0

ErrorName returns error name.

func (DeleteCommentRequestValidationError) Field added in v0.8.0

Field function returns field value.

func (DeleteCommentRequestValidationError) Key added in v0.8.0

Key function returns key value.

func (DeleteCommentRequestValidationError) Reason added in v0.8.0

Reason function returns reason value.

type DeleteCommentResponse added in v0.8.0

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

func (*DeleteCommentResponse) Descriptor deprecated added in v0.8.0

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

Deprecated: Use DeleteCommentResponse.ProtoReflect.Descriptor instead.

func (*DeleteCommentResponse) ProtoMessage added in v0.8.0

func (*DeleteCommentResponse) ProtoMessage()

func (*DeleteCommentResponse) ProtoReflect added in v0.8.0

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

func (*DeleteCommentResponse) Reset added in v0.8.0

func (x *DeleteCommentResponse) Reset()

func (*DeleteCommentResponse) String added in v0.8.0

func (x *DeleteCommentResponse) String() string

func (*DeleteCommentResponse) Validate added in v0.8.0

func (m *DeleteCommentResponse) Validate() error

Validate checks the field values on DeleteCommentResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteCommentResponse) ValidateAll added in v0.8.0

func (m *DeleteCommentResponse) ValidateAll() error

ValidateAll checks the field values on DeleteCommentResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteCommentResponseMultiError, or nil if none found.

type DeleteCommentResponseMultiError added in v0.8.0

type DeleteCommentResponseMultiError []error

DeleteCommentResponseMultiError is an error wrapping multiple validation errors returned by DeleteCommentResponse.ValidateAll() if the designated constraints aren't met.

func (DeleteCommentResponseMultiError) AllErrors added in v0.8.0

func (m DeleteCommentResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteCommentResponseMultiError) Error added in v0.8.0

Error returns a concatenation of all the error messages it wraps.

type DeleteCommentResponseValidationError added in v0.8.0

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

DeleteCommentResponseValidationError is the validation error returned by DeleteCommentResponse.Validate if the designated constraints aren't met.

func (DeleteCommentResponseValidationError) Cause added in v0.8.0

Cause function returns cause value.

func (DeleteCommentResponseValidationError) Error added in v0.8.0

Error satisfies the builtin error interface

func (DeleteCommentResponseValidationError) ErrorName added in v0.8.0

ErrorName returns error name.

func (DeleteCommentResponseValidationError) Field added in v0.8.0

Field function returns field value.

func (DeleteCommentResponseValidationError) Key added in v0.8.0

Key function returns key value.

func (DeleteCommentResponseValidationError) Reason added in v0.8.0

Reason function returns reason value.

type DeleteDocumentReqRequest added in v0.8.16

type DeleteDocumentReqRequest struct {
	RequestId uint64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteDocumentReqRequest) Descriptor deprecated added in v0.8.16

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

Deprecated: Use DeleteDocumentReqRequest.ProtoReflect.Descriptor instead.

func (*DeleteDocumentReqRequest) GetRequestId added in v0.8.16

func (x *DeleteDocumentReqRequest) GetRequestId() uint64

func (*DeleteDocumentReqRequest) ProtoMessage added in v0.8.16

func (*DeleteDocumentReqRequest) ProtoMessage()

func (*DeleteDocumentReqRequest) ProtoReflect added in v0.8.16

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

func (*DeleteDocumentReqRequest) Reset added in v0.8.16

func (x *DeleteDocumentReqRequest) Reset()

func (*DeleteDocumentReqRequest) String added in v0.8.16

func (x *DeleteDocumentReqRequest) String() string

func (*DeleteDocumentReqRequest) Validate added in v0.8.16

func (m *DeleteDocumentReqRequest) Validate() error

Validate checks the field values on DeleteDocumentReqRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteDocumentReqRequest) ValidateAll added in v0.8.16

func (m *DeleteDocumentReqRequest) ValidateAll() error

ValidateAll checks the field values on DeleteDocumentReqRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteDocumentReqRequestMultiError, or nil if none found.

type DeleteDocumentReqRequestMultiError added in v0.8.16

type DeleteDocumentReqRequestMultiError []error

DeleteDocumentReqRequestMultiError is an error wrapping multiple validation errors returned by DeleteDocumentReqRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteDocumentReqRequestMultiError) AllErrors added in v0.8.16

func (m DeleteDocumentReqRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteDocumentReqRequestMultiError) Error added in v0.8.16

Error returns a concatenation of all the error messages it wraps.

type DeleteDocumentReqRequestValidationError added in v0.8.16

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

DeleteDocumentReqRequestValidationError is the validation error returned by DeleteDocumentReqRequest.Validate if the designated constraints aren't met.

func (DeleteDocumentReqRequestValidationError) Cause added in v0.8.16

Cause function returns cause value.

func (DeleteDocumentReqRequestValidationError) Error added in v0.8.16

Error satisfies the builtin error interface

func (DeleteDocumentReqRequestValidationError) ErrorName added in v0.8.16

ErrorName returns error name.

func (DeleteDocumentReqRequestValidationError) Field added in v0.8.16

Field function returns field value.

func (DeleteDocumentReqRequestValidationError) Key added in v0.8.16

Key function returns key value.

func (DeleteDocumentReqRequestValidationError) Reason added in v0.8.16

Reason function returns reason value.

type DeleteDocumentReqResponse added in v0.8.16

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

func (*DeleteDocumentReqResponse) Descriptor deprecated added in v0.8.16

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

Deprecated: Use DeleteDocumentReqResponse.ProtoReflect.Descriptor instead.

func (*DeleteDocumentReqResponse) ProtoMessage added in v0.8.16

func (*DeleteDocumentReqResponse) ProtoMessage()

func (*DeleteDocumentReqResponse) ProtoReflect added in v0.8.16

func (*DeleteDocumentReqResponse) Reset added in v0.8.16

func (x *DeleteDocumentReqResponse) Reset()

func (*DeleteDocumentReqResponse) String added in v0.8.16

func (x *DeleteDocumentReqResponse) String() string

func (*DeleteDocumentReqResponse) Validate added in v0.8.16

func (m *DeleteDocumentReqResponse) Validate() error

Validate checks the field values on DeleteDocumentReqResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteDocumentReqResponse) ValidateAll added in v0.8.16

func (m *DeleteDocumentReqResponse) ValidateAll() error

ValidateAll checks the field values on DeleteDocumentReqResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteDocumentReqResponseMultiError, or nil if none found.

type DeleteDocumentReqResponseMultiError added in v0.8.16

type DeleteDocumentReqResponseMultiError []error

DeleteDocumentReqResponseMultiError is an error wrapping multiple validation errors returned by DeleteDocumentReqResponse.ValidateAll() if the designated constraints aren't met.

func (DeleteDocumentReqResponseMultiError) AllErrors added in v0.8.16

AllErrors returns a list of validation violation errors.

func (DeleteDocumentReqResponseMultiError) Error added in v0.8.16

Error returns a concatenation of all the error messages it wraps.

type DeleteDocumentReqResponseValidationError added in v0.8.16

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

DeleteDocumentReqResponseValidationError is the validation error returned by DeleteDocumentReqResponse.Validate if the designated constraints aren't met.

func (DeleteDocumentReqResponseValidationError) Cause added in v0.8.16

Cause function returns cause value.

func (DeleteDocumentReqResponseValidationError) Error added in v0.8.16

Error satisfies the builtin error interface

func (DeleteDocumentReqResponseValidationError) ErrorName added in v0.8.16

ErrorName returns error name.

func (DeleteDocumentReqResponseValidationError) Field added in v0.8.16

Field function returns field value.

func (DeleteDocumentReqResponseValidationError) Key added in v0.8.16

Key function returns key value.

func (DeleteDocumentReqResponseValidationError) Reason added in v0.8.16

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

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

Cause function returns cause value.

func (DeleteDocumentRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteDocumentRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteDocumentRequestValidationError) Field

Field function returns field value.

func (DeleteDocumentRequestValidationError) Key

Key function returns key value.

func (DeleteDocumentRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteDocumentResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteDocumentResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteDocumentResponseValidationError) Field

Field function returns field value.

func (DeleteDocumentResponseValidationError) Key

Key function returns key value.

func (DeleteDocumentResponseValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteTemplateRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteTemplateRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteTemplateRequestValidationError) Field

Field function returns field value.

func (DeleteTemplateRequestValidationError) Key

Key function returns key value.

func (DeleteTemplateRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteTemplateResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteTemplateResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteTemplateResponseValidationError) Field

Field function returns field value.

func (DeleteTemplateResponseValidationError) Key

Key function returns key value.

func (DeleteTemplateResponseValidationError) Reason

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", "Any"}
	UpdateDocument(ctx context.Context, in *UpdateDocumentRequest, opts ...grpc.CallOption) (*UpdateDocumentResponse, error)
	// @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}
	DeleteDocument(ctx context.Context, in *DeleteDocumentRequest, opts ...grpc.CallOption) (*DeleteDocumentResponse, error)
	// @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}
	ToggleDocument(ctx context.Context, in *ToggleDocumentRequest, opts ...grpc.CallOption) (*ToggleDocumentResponse, error)
	// @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}
	ChangeDocumentOwner(ctx context.Context, in *ChangeDocumentOwnerRequest, opts ...grpc.CallOption) (*ChangeDocumentOwnerResponse, error)
	// @perm: Name=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: Name=GetDocument
	GetComments(ctx context.Context, in *GetCommentsRequest, opts ...grpc.CallOption) (*GetCommentsResponse, error)
	// @perm
	PostComment(ctx context.Context, in *PostCommentRequest, opts ...grpc.CallOption) (*PostCommentResponse, error)
	// @perm: Name=PostComment
	EditComment(ctx context.Context, in *EditCommentRequest, opts ...grpc.CallOption) (*EditCommentResponse, error)
	// @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}
	DeleteComment(ctx context.Context, in *DeleteCommentRequest, opts ...grpc.CallOption) (*DeleteCommentResponse, error)
	// @perm: Name=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
	ListDocumentActivity(ctx context.Context, in *ListDocumentActivityRequest, opts ...grpc.CallOption) (*ListDocumentActivityResponse, error)
	// @perm
	ListDocumentReqs(ctx context.Context, in *ListDocumentReqsRequest, opts ...grpc.CallOption) (*ListDocumentReqsResponse, error)
	// @perm: Attrs=Types/StringList:[]string{"Access", "Closure", "Update", "Deletion", "OwnerChange"}
	CreateDocumentReq(ctx context.Context, in *CreateDocumentReqRequest, opts ...grpc.CallOption) (*CreateDocumentReqResponse, error)
	// @perm: Name=CreateDocumentReq
	UpdateDocumentReq(ctx context.Context, in *UpdateDocumentReqRequest, opts ...grpc.CallOption) (*UpdateDocumentReqResponse, error)
	// @perm
	DeleteDocumentReq(ctx context.Context, in *DeleteDocumentReqRequest, opts ...grpc.CallOption) (*DeleteDocumentReqResponse, error)
	// @perm
	ListUserDocuments(ctx context.Context, in *ListUserDocumentsRequest, opts ...grpc.CallOption) (*ListUserDocumentsResponse, error)
	// @perm
	ListCategories(ctx context.Context, in *ListCategoriesRequest, opts ...grpc.CallOption) (*ListCategoriesResponse, error)
	// @perm
	CreateCategory(ctx context.Context, in *CreateCategoryRequest, opts ...grpc.CallOption) (*CreateCategoryResponse, error)
	// @perm: Name=CreateCategory
	UpdateCategory(ctx context.Context, in *UpdateCategoryRequest, opts ...grpc.CallOption) (*UpdateCategoryResponse, error)
	// @perm
	DeleteCategory(ctx context.Context, in *DeleteCategoryRequest, opts ...grpc.CallOption) (*DeleteCategoryResponse, error)
}

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.

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", "Any"}
	UpdateDocument(context.Context, *UpdateDocumentRequest) (*UpdateDocumentResponse, error)
	// @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}
	DeleteDocument(context.Context, *DeleteDocumentRequest) (*DeleteDocumentResponse, error)
	// @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}
	ToggleDocument(context.Context, *ToggleDocumentRequest) (*ToggleDocumentResponse, error)
	// @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}
	ChangeDocumentOwner(context.Context, *ChangeDocumentOwnerRequest) (*ChangeDocumentOwnerResponse, error)
	// @perm: Name=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: Name=GetDocument
	GetComments(context.Context, *GetCommentsRequest) (*GetCommentsResponse, error)
	// @perm
	PostComment(context.Context, *PostCommentRequest) (*PostCommentResponse, error)
	// @perm: Name=PostComment
	EditComment(context.Context, *EditCommentRequest) (*EditCommentResponse, error)
	// @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}
	DeleteComment(context.Context, *DeleteCommentRequest) (*DeleteCommentResponse, error)
	// @perm: Name=GetDocument
	GetDocumentAccess(context.Context, *GetDocumentAccessRequest) (*GetDocumentAccessResponse, error)
	// @perm: Name=CreateDocument
	SetDocumentAccess(context.Context, *SetDocumentAccessRequest) (*SetDocumentAccessResponse, error)
	// @perm
	ListDocumentActivity(context.Context, *ListDocumentActivityRequest) (*ListDocumentActivityResponse, error)
	// @perm
	ListDocumentReqs(context.Context, *ListDocumentReqsRequest) (*ListDocumentReqsResponse, error)
	// @perm: Attrs=Types/StringList:[]string{"Access", "Closure", "Update", "Deletion", "OwnerChange"}
	CreateDocumentReq(context.Context, *CreateDocumentReqRequest) (*CreateDocumentReqResponse, error)
	// @perm: Name=CreateDocumentReq
	UpdateDocumentReq(context.Context, *UpdateDocumentReqRequest) (*UpdateDocumentReqResponse, error)
	// @perm
	DeleteDocumentReq(context.Context, *DeleteDocumentReqRequest) (*DeleteDocumentReqResponse, error)
	// @perm
	ListUserDocuments(context.Context, *ListUserDocumentsRequest) (*ListUserDocumentsResponse, error)
	// @perm
	ListCategories(context.Context, *ListCategoriesRequest) (*ListCategoriesResponse, error)
	// @perm
	CreateCategory(context.Context, *CreateCategoryRequest) (*CreateCategoryResponse, error)
	// @perm: Name=CreateCategory
	UpdateCategory(context.Context, *UpdateCategoryRequest) (*UpdateCategoryResponse, error)
	// @perm
	DeleteCategory(context.Context, *DeleteCategoryRequest) (*DeleteCategoryResponse, error)
	// contains filtered or unexported methods
}

DocStoreServiceServer is the server API for DocStoreService service. All implementations must embed UnimplementedDocStoreServiceServer for forward compatibility

type EditCommentRequest added in v0.8.0

type EditCommentRequest struct {
	Comment *documents.Comment `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*EditCommentRequest) Descriptor deprecated added in v0.8.0

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

Deprecated: Use EditCommentRequest.ProtoReflect.Descriptor instead.

func (*EditCommentRequest) GetComment added in v0.8.0

func (x *EditCommentRequest) GetComment() *documents.Comment

func (*EditCommentRequest) ProtoMessage added in v0.8.0

func (*EditCommentRequest) ProtoMessage()

func (*EditCommentRequest) ProtoReflect added in v0.8.0

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

func (*EditCommentRequest) Reset added in v0.8.0

func (x *EditCommentRequest) Reset()

func (*EditCommentRequest) String added in v0.8.0

func (x *EditCommentRequest) String() string

func (*EditCommentRequest) Validate added in v0.8.0

func (m *EditCommentRequest) Validate() error

Validate checks the field values on EditCommentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EditCommentRequest) ValidateAll added in v0.8.0

func (m *EditCommentRequest) ValidateAll() error

ValidateAll checks the field values on EditCommentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EditCommentRequestMultiError, or nil if none found.

type EditCommentRequestMultiError added in v0.8.0

type EditCommentRequestMultiError []error

EditCommentRequestMultiError is an error wrapping multiple validation errors returned by EditCommentRequest.ValidateAll() if the designated constraints aren't met.

func (EditCommentRequestMultiError) AllErrors added in v0.8.0

func (m EditCommentRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EditCommentRequestMultiError) Error added in v0.8.0

Error returns a concatenation of all the error messages it wraps.

type EditCommentRequestValidationError added in v0.8.0

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

EditCommentRequestValidationError is the validation error returned by EditCommentRequest.Validate if the designated constraints aren't met.

func (EditCommentRequestValidationError) Cause added in v0.8.0

Cause function returns cause value.

func (EditCommentRequestValidationError) Error added in v0.8.0

Error satisfies the builtin error interface

func (EditCommentRequestValidationError) ErrorName added in v0.8.0

ErrorName returns error name.

func (EditCommentRequestValidationError) Field added in v0.8.0

Field function returns field value.

func (EditCommentRequestValidationError) Key added in v0.8.0

Key function returns key value.

func (EditCommentRequestValidationError) Reason added in v0.8.0

Reason function returns reason value.

type EditCommentResponse added in v0.8.0

type EditCommentResponse struct {
	Comment *documents.Comment `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*EditCommentResponse) Descriptor deprecated added in v0.8.0

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

Deprecated: Use EditCommentResponse.ProtoReflect.Descriptor instead.

func (*EditCommentResponse) GetComment added in v0.8.10

func (x *EditCommentResponse) GetComment() *documents.Comment

func (*EditCommentResponse) ProtoMessage added in v0.8.0

func (*EditCommentResponse) ProtoMessage()

func (*EditCommentResponse) ProtoReflect added in v0.8.0

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

func (*EditCommentResponse) Reset added in v0.8.0

func (x *EditCommentResponse) Reset()

func (*EditCommentResponse) String added in v0.8.0

func (x *EditCommentResponse) String() string

func (*EditCommentResponse) Validate added in v0.8.0

func (m *EditCommentResponse) Validate() error

Validate checks the field values on EditCommentResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EditCommentResponse) ValidateAll added in v0.8.0

func (m *EditCommentResponse) ValidateAll() error

ValidateAll checks the field values on EditCommentResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EditCommentResponseMultiError, or nil if none found.

type EditCommentResponseMultiError added in v0.8.0

type EditCommentResponseMultiError []error

EditCommentResponseMultiError is an error wrapping multiple validation errors returned by EditCommentResponse.ValidateAll() if the designated constraints aren't met.

func (EditCommentResponseMultiError) AllErrors added in v0.8.0

func (m EditCommentResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EditCommentResponseMultiError) Error added in v0.8.0

Error returns a concatenation of all the error messages it wraps.

type EditCommentResponseValidationError added in v0.8.0

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

EditCommentResponseValidationError is the validation error returned by EditCommentResponse.Validate if the designated constraints aren't met.

func (EditCommentResponseValidationError) Cause added in v0.8.0

Cause function returns cause value.

func (EditCommentResponseValidationError) Error added in v0.8.0

Error satisfies the builtin error interface

func (EditCommentResponseValidationError) ErrorName added in v0.8.0

ErrorName returns error name.

func (EditCommentResponseValidationError) Field added in v0.8.0

Field function returns field value.

func (EditCommentResponseValidationError) Key added in v0.8.0

Key function returns key value.

func (EditCommentResponseValidationError) Reason added in v0.8.0

Reason function returns reason value.

type GetCommentsRequest added in v0.8.0

type GetCommentsRequest struct {
	Pagination *database.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	DocumentId uint64                      `protobuf:"varint,2,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"`
	// contains filtered or unexported fields
}

Comments ===============================================================

func (*GetCommentsRequest) Descriptor deprecated added in v0.8.0

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

Deprecated: Use GetCommentsRequest.ProtoReflect.Descriptor instead.

func (*GetCommentsRequest) GetDocumentId added in v0.8.0

func (x *GetCommentsRequest) GetDocumentId() uint64

func (*GetCommentsRequest) GetPagination added in v0.8.0

func (x *GetCommentsRequest) GetPagination() *database.PaginationRequest

func (*GetCommentsRequest) ProtoMessage added in v0.8.0

func (*GetCommentsRequest) ProtoMessage()

func (*GetCommentsRequest) ProtoReflect added in v0.8.0

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

func (*GetCommentsRequest) Reset added in v0.8.0

func (x *GetCommentsRequest) Reset()

func (*GetCommentsRequest) String added in v0.8.0

func (x *GetCommentsRequest) String() string

func (*GetCommentsRequest) Validate added in v0.8.0

func (m *GetCommentsRequest) Validate() error

Validate checks the field values on GetCommentsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetCommentsRequest) ValidateAll added in v0.8.0

func (m *GetCommentsRequest) ValidateAll() error

ValidateAll checks the field values on GetCommentsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCommentsRequestMultiError, or nil if none found.

type GetCommentsRequestMultiError added in v0.8.0

type GetCommentsRequestMultiError []error

GetCommentsRequestMultiError is an error wrapping multiple validation errors returned by GetCommentsRequest.ValidateAll() if the designated constraints aren't met.

func (GetCommentsRequestMultiError) AllErrors added in v0.8.0

func (m GetCommentsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetCommentsRequestMultiError) Error added in v0.8.0

Error returns a concatenation of all the error messages it wraps.

type GetCommentsRequestValidationError added in v0.8.0

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

GetCommentsRequestValidationError is the validation error returned by GetCommentsRequest.Validate if the designated constraints aren't met.

func (GetCommentsRequestValidationError) Cause added in v0.8.0

Cause function returns cause value.

func (GetCommentsRequestValidationError) Error added in v0.8.0

Error satisfies the builtin error interface

func (GetCommentsRequestValidationError) ErrorName added in v0.8.0

ErrorName returns error name.

func (GetCommentsRequestValidationError) Field added in v0.8.0

Field function returns field value.

func (GetCommentsRequestValidationError) Key added in v0.8.0

Key function returns key value.

func (GetCommentsRequestValidationError) Reason added in v0.8.0

Reason function returns reason value.

type GetCommentsResponse added in v0.8.0

type GetCommentsResponse struct {
	Pagination *database.PaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Comments   []*documents.Comment         `protobuf:"bytes,2,rep,name=comments,proto3" json:"comments,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCommentsResponse) Descriptor deprecated added in v0.8.0

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

Deprecated: Use GetCommentsResponse.ProtoReflect.Descriptor instead.

func (*GetCommentsResponse) GetComments added in v0.8.0

func (x *GetCommentsResponse) GetComments() []*documents.Comment

func (*GetCommentsResponse) GetPagination added in v0.8.0

func (x *GetCommentsResponse) GetPagination() *database.PaginationResponse

func (*GetCommentsResponse) ProtoMessage added in v0.8.0

func (*GetCommentsResponse) ProtoMessage()

func (*GetCommentsResponse) ProtoReflect added in v0.8.0

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

func (*GetCommentsResponse) Reset added in v0.8.0

func (x *GetCommentsResponse) Reset()

func (*GetCommentsResponse) String added in v0.8.0

func (x *GetCommentsResponse) String() string

func (*GetCommentsResponse) Validate added in v0.8.0

func (m *GetCommentsResponse) Validate() error

Validate checks the field values on GetCommentsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetCommentsResponse) ValidateAll added in v0.8.0

func (m *GetCommentsResponse) ValidateAll() error

ValidateAll checks the field values on GetCommentsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCommentsResponseMultiError, or nil if none found.

type GetCommentsResponseMultiError added in v0.8.0

type GetCommentsResponseMultiError []error

GetCommentsResponseMultiError is an error wrapping multiple validation errors returned by GetCommentsResponse.ValidateAll() if the designated constraints aren't met.

func (GetCommentsResponseMultiError) AllErrors added in v0.8.0

func (m GetCommentsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetCommentsResponseMultiError) Error added in v0.8.0

Error returns a concatenation of all the error messages it wraps.

type GetCommentsResponseValidationError added in v0.8.0

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

GetCommentsResponseValidationError is the validation error returned by GetCommentsResponse.Validate if the designated constraints aren't met.

func (GetCommentsResponseValidationError) Cause added in v0.8.0

Cause function returns cause value.

func (GetCommentsResponseValidationError) Error added in v0.8.0

Error satisfies the builtin error interface

func (GetCommentsResponseValidationError) ErrorName added in v0.8.0

ErrorName returns error name.

func (GetCommentsResponseValidationError) Field added in v0.8.0

Field function returns field value.

func (GetCommentsResponseValidationError) Key added in v0.8.0

Key function returns key value.

func (GetCommentsResponseValidationError) Reason added in v0.8.0

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

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

Cause function returns cause value.

func (GetDocumentAccessRequestValidationError) Error

Error satisfies the builtin error interface

func (GetDocumentAccessRequestValidationError) ErrorName

ErrorName returns error name.

func (GetDocumentAccessRequestValidationError) Field

Field function returns field value.

func (GetDocumentAccessRequestValidationError) Key

Key function returns key value.

func (GetDocumentAccessRequestValidationError) Reason

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 (*GetDocumentAccessResponse) ProtoMessage

func (*GetDocumentAccessResponse) ProtoMessage()

func (*GetDocumentAccessResponse) ProtoReflect

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

AllErrors returns a list of validation violation errors.

func (GetDocumentAccessResponseMultiError) Error

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

Cause function returns cause value.

func (GetDocumentAccessResponseValidationError) Error

Error satisfies the builtin error interface

func (GetDocumentAccessResponseValidationError) ErrorName

ErrorName returns error name.

func (GetDocumentAccessResponseValidationError) Field

Field function returns field value.

func (GetDocumentAccessResponseValidationError) Key

Key function returns key value.

func (GetDocumentAccessResponseValidationError) Reason

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 (*GetDocumentReferencesRequest) Reset

func (x *GetDocumentReferencesRequest) Reset()

func (*GetDocumentReferencesRequest) 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

AllErrors returns a list of validation violation errors.

func (GetDocumentReferencesRequestMultiError) Error

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

Cause function returns cause value.

func (GetDocumentReferencesRequestValidationError) Error

Error satisfies the builtin error interface

func (GetDocumentReferencesRequestValidationError) ErrorName

ErrorName returns error name.

func (GetDocumentReferencesRequestValidationError) Field

Field function returns field value.

func (GetDocumentReferencesRequestValidationError) Key

Key function returns key value.

func (GetDocumentReferencesRequestValidationError) Reason

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 (*GetDocumentReferencesResponse) ProtoMessage

func (*GetDocumentReferencesResponse) ProtoMessage()

func (*GetDocumentReferencesResponse) ProtoReflect

func (*GetDocumentReferencesResponse) Reset

func (x *GetDocumentReferencesResponse) Reset()

func (*GetDocumentReferencesResponse) 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

AllErrors returns a list of validation violation errors.

func (GetDocumentReferencesResponseMultiError) Error

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

Cause function returns cause value.

func (GetDocumentReferencesResponseValidationError) Error

Error satisfies the builtin error interface

func (GetDocumentReferencesResponseValidationError) ErrorName

ErrorName returns error name.

func (GetDocumentReferencesResponseValidationError) Field

Field function returns field value.

func (GetDocumentReferencesResponseValidationError) Key

Key function returns key value.

func (GetDocumentReferencesResponseValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (GetDocumentRelationsRequestMultiError) Error

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

Cause function returns cause value.

func (GetDocumentRelationsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetDocumentRelationsRequestValidationError) ErrorName

ErrorName returns error name.

func (GetDocumentRelationsRequestValidationError) Field

Field function returns field value.

func (GetDocumentRelationsRequestValidationError) Key

Key function returns key value.

func (GetDocumentRelationsRequestValidationError) Reason

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 (*GetDocumentRelationsResponse) ProtoMessage

func (*GetDocumentRelationsResponse) ProtoMessage()

func (*GetDocumentRelationsResponse) ProtoReflect

func (*GetDocumentRelationsResponse) Reset

func (x *GetDocumentRelationsResponse) Reset()

func (*GetDocumentRelationsResponse) 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

AllErrors returns a list of validation violation errors.

func (GetDocumentRelationsResponseMultiError) Error

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

Cause function returns cause value.

func (GetDocumentRelationsResponseValidationError) Error

Error satisfies the builtin error interface

func (GetDocumentRelationsResponseValidationError) ErrorName

ErrorName returns error name.

func (GetDocumentRelationsResponseValidationError) Field

Field function returns field value.

func (GetDocumentRelationsResponseValidationError) Key

Key function returns key value.

func (GetDocumentRelationsResponseValidationError) Reason

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

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

Cause function returns cause value.

func (GetDocumentRequestValidationError) Error

Error satisfies the builtin error interface

func (GetDocumentRequestValidationError) ErrorName

ErrorName returns error name.

func (GetDocumentRequestValidationError) Field

Field function returns field value.

func (GetDocumentRequestValidationError) Key

Key function returns key value.

func (GetDocumentRequestValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (GetDocumentResponseValidationError) Error

Error satisfies the builtin error interface

func (GetDocumentResponseValidationError) ErrorName

ErrorName returns error name.

func (GetDocumentResponseValidationError) Field

Field function returns field value.

func (GetDocumentResponseValidationError) Key

Key function returns key value.

func (GetDocumentResponseValidationError) Reason

Reason function returns reason value.

type GetTemplateRequest

type GetTemplateRequest struct {
	TemplateId uint64                  `protobuf:"varint,1,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"`
	Data       *documents.TemplateData `protobuf:"bytes,2,opt,name=data,proto3,oneof" json:"data,omitempty"`
	Render     *bool                   `protobuf:"varint,3,opt,name=render,proto3,oneof" json:"render,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTemplateRequest) Descriptor deprecated

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

Deprecated: Use GetTemplateRequest.ProtoReflect.Descriptor instead.

func (*GetTemplateRequest) GetData

func (*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

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

Cause function returns cause value.

func (GetTemplateRequestValidationError) Error

Error satisfies the builtin error interface

func (GetTemplateRequestValidationError) ErrorName

ErrorName returns error name.

func (GetTemplateRequestValidationError) Field

Field function returns field value.

func (GetTemplateRequestValidationError) Key

Key function returns key value.

func (GetTemplateRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetTemplateResponseValidationError) Error

Error satisfies the builtin error interface

func (GetTemplateResponseValidationError) ErrorName

ErrorName returns error name.

func (GetTemplateResponseValidationError) Field

Field function returns field value.

func (GetTemplateResponseValidationError) Key

Key function returns key value.

func (GetTemplateResponseValidationError) Reason

Reason function returns reason value.

type ListCategoriesRequest added in v0.8.0

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

Categories

func (*ListCategoriesRequest) Descriptor deprecated added in v0.8.0

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

Deprecated: Use ListCategoriesRequest.ProtoReflect.Descriptor instead.

func (*ListCategoriesRequest) ProtoMessage added in v0.8.0

func (*ListCategoriesRequest) ProtoMessage()

func (*ListCategoriesRequest) ProtoReflect added in v0.8.0

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

func (*ListCategoriesRequest) Reset added in v0.8.0

func (x *ListCategoriesRequest) Reset()

func (*ListCategoriesRequest) String added in v0.8.0

func (x *ListCategoriesRequest) String() string

func (*ListCategoriesRequest) Validate added in v0.8.0

func (m *ListCategoriesRequest) Validate() error

Validate checks the field values on ListCategoriesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListCategoriesRequest) ValidateAll added in v0.8.0

func (m *ListCategoriesRequest) ValidateAll() error

ValidateAll checks the field values on ListCategoriesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListCategoriesRequestMultiError, or nil if none found.

type ListCategoriesRequestMultiError added in v0.8.0

type ListCategoriesRequestMultiError []error

ListCategoriesRequestMultiError is an error wrapping multiple validation errors returned by ListCategoriesRequest.ValidateAll() if the designated constraints aren't met.

func (ListCategoriesRequestMultiError) AllErrors added in v0.8.0

func (m ListCategoriesRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListCategoriesRequestMultiError) Error added in v0.8.0

Error returns a concatenation of all the error messages it wraps.

type ListCategoriesRequestValidationError added in v0.8.0

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

ListCategoriesRequestValidationError is the validation error returned by ListCategoriesRequest.Validate if the designated constraints aren't met.

func (ListCategoriesRequestValidationError) Cause added in v0.8.0

Cause function returns cause value.

func (ListCategoriesRequestValidationError) Error added in v0.8.0

Error satisfies the builtin error interface

func (ListCategoriesRequestValidationError) ErrorName added in v0.8.0

ErrorName returns error name.

func (ListCategoriesRequestValidationError) Field added in v0.8.0

Field function returns field value.

func (ListCategoriesRequestValidationError) Key added in v0.8.0

Key function returns key value.

func (ListCategoriesRequestValidationError) Reason added in v0.8.0

Reason function returns reason value.

type ListCategoriesResponse added in v0.8.0

type ListCategoriesResponse struct {
	Category []*documents.Category `protobuf:"bytes,1,rep,name=category,proto3" json:"category,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCategoriesResponse) Descriptor deprecated added in v0.8.0

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

Deprecated: Use ListCategoriesResponse.ProtoReflect.Descriptor instead.

func (*ListCategoriesResponse) GetCategory added in v0.8.0

func (x *ListCategoriesResponse) GetCategory() []*documents.Category

func (*ListCategoriesResponse) ProtoMessage added in v0.8.0

func (*ListCategoriesResponse) ProtoMessage()

func (*ListCategoriesResponse) ProtoReflect added in v0.8.0

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

func (*ListCategoriesResponse) Reset added in v0.8.0

func (x *ListCategoriesResponse) Reset()

func (*ListCategoriesResponse) String added in v0.8.0

func (x *ListCategoriesResponse) String() string

func (*ListCategoriesResponse) Validate added in v0.8.0

func (m *ListCategoriesResponse) Validate() error

Validate checks the field values on ListCategoriesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListCategoriesResponse) ValidateAll added in v0.8.0

func (m *ListCategoriesResponse) ValidateAll() error

ValidateAll checks the field values on ListCategoriesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListCategoriesResponseMultiError, or nil if none found.

type ListCategoriesResponseMultiError added in v0.8.0

type ListCategoriesResponseMultiError []error

ListCategoriesResponseMultiError is an error wrapping multiple validation errors returned by ListCategoriesResponse.ValidateAll() if the designated constraints aren't met.

func (ListCategoriesResponseMultiError) AllErrors added in v0.8.0

func (m ListCategoriesResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListCategoriesResponseMultiError) Error added in v0.8.0

Error returns a concatenation of all the error messages it wraps.

type ListCategoriesResponseValidationError added in v0.8.0

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

ListCategoriesResponseValidationError is the validation error returned by ListCategoriesResponse.Validate if the designated constraints aren't met.

func (ListCategoriesResponseValidationError) Cause added in v0.8.0

Cause function returns cause value.

func (ListCategoriesResponseValidationError) Error added in v0.8.0

Error satisfies the builtin error interface

func (ListCategoriesResponseValidationError) ErrorName added in v0.8.0

ErrorName returns error name.

func (ListCategoriesResponseValidationError) Field added in v0.8.0

Field function returns field value.

func (ListCategoriesResponseValidationError) Key added in v0.8.0

Key function returns key value.

func (ListCategoriesResponseValidationError) Reason added in v0.8.0

Reason function returns reason value.

type ListDocumentActivityRequest added in v0.8.16

type ListDocumentActivityRequest struct {
	Pagination *database.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	DocumentId uint64                      `protobuf:"varint,2,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"`
	// Search
	ActivityTypes []documents.DocActivityType `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

Document Activity and Requests =============================================

func (*ListDocumentActivityRequest) Descriptor deprecated added in v0.8.16

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

Deprecated: Use ListDocumentActivityRequest.ProtoReflect.Descriptor instead.

func (*ListDocumentActivityRequest) GetActivityTypes added in v0.8.16

func (x *ListDocumentActivityRequest) GetActivityTypes() []documents.DocActivityType

func (*ListDocumentActivityRequest) GetDocumentId added in v0.8.16

func (x *ListDocumentActivityRequest) GetDocumentId() uint64

func (*ListDocumentActivityRequest) GetPagination added in v0.8.16

func (*ListDocumentActivityRequest) ProtoMessage added in v0.8.16

func (*ListDocumentActivityRequest) ProtoMessage()

func (*ListDocumentActivityRequest) ProtoReflect added in v0.8.16

func (*ListDocumentActivityRequest) Reset added in v0.8.16

func (x *ListDocumentActivityRequest) Reset()

func (*ListDocumentActivityRequest) String added in v0.8.16

func (x *ListDocumentActivityRequest) String() string

func (*ListDocumentActivityRequest) Validate added in v0.8.16

func (m *ListDocumentActivityRequest) Validate() error

Validate checks the field values on ListDocumentActivityRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListDocumentActivityRequest) ValidateAll added in v0.8.16

func (m *ListDocumentActivityRequest) ValidateAll() error

ValidateAll checks the field values on ListDocumentActivityRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListDocumentActivityRequestMultiError, or nil if none found.

type ListDocumentActivityRequestMultiError added in v0.8.16

type ListDocumentActivityRequestMultiError []error

ListDocumentActivityRequestMultiError is an error wrapping multiple validation errors returned by ListDocumentActivityRequest.ValidateAll() if the designated constraints aren't met.

func (ListDocumentActivityRequestMultiError) AllErrors added in v0.8.16

AllErrors returns a list of validation violation errors.

func (ListDocumentActivityRequestMultiError) Error added in v0.8.16

Error returns a concatenation of all the error messages it wraps.

type ListDocumentActivityRequestValidationError added in v0.8.16

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

ListDocumentActivityRequestValidationError is the validation error returned by ListDocumentActivityRequest.Validate if the designated constraints aren't met.

func (ListDocumentActivityRequestValidationError) Cause added in v0.8.16

Cause function returns cause value.

func (ListDocumentActivityRequestValidationError) Error added in v0.8.16

Error satisfies the builtin error interface

func (ListDocumentActivityRequestValidationError) ErrorName added in v0.8.16

ErrorName returns error name.

func (ListDocumentActivityRequestValidationError) Field added in v0.8.16

Field function returns field value.

func (ListDocumentActivityRequestValidationError) Key added in v0.8.16

Key function returns key value.

func (ListDocumentActivityRequestValidationError) Reason added in v0.8.16

Reason function returns reason value.

type ListDocumentActivityResponse added in v0.8.16

type ListDocumentActivityResponse struct {
	Pagination *database.PaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Activity   []*documents.DocActivity     `protobuf:"bytes,2,rep,name=activity,proto3" json:"activity,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDocumentActivityResponse) Descriptor deprecated added in v0.8.16

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

Deprecated: Use ListDocumentActivityResponse.ProtoReflect.Descriptor instead.

func (*ListDocumentActivityResponse) GetActivity added in v0.8.16

func (*ListDocumentActivityResponse) GetPagination added in v0.8.16

func (*ListDocumentActivityResponse) ProtoMessage added in v0.8.16

func (*ListDocumentActivityResponse) ProtoMessage()

func (*ListDocumentActivityResponse) ProtoReflect added in v0.8.16

func (*ListDocumentActivityResponse) Reset added in v0.8.16

func (x *ListDocumentActivityResponse) Reset()

func (*ListDocumentActivityResponse) String added in v0.8.16

func (*ListDocumentActivityResponse) Validate added in v0.8.16

func (m *ListDocumentActivityResponse) Validate() error

Validate checks the field values on ListDocumentActivityResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListDocumentActivityResponse) ValidateAll added in v0.8.16

func (m *ListDocumentActivityResponse) ValidateAll() error

ValidateAll checks the field values on ListDocumentActivityResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListDocumentActivityResponseMultiError, or nil if none found.

type ListDocumentActivityResponseMultiError added in v0.8.16

type ListDocumentActivityResponseMultiError []error

ListDocumentActivityResponseMultiError is an error wrapping multiple validation errors returned by ListDocumentActivityResponse.ValidateAll() if the designated constraints aren't met.

func (ListDocumentActivityResponseMultiError) AllErrors added in v0.8.16

AllErrors returns a list of validation violation errors.

func (ListDocumentActivityResponseMultiError) Error added in v0.8.16

Error returns a concatenation of all the error messages it wraps.

type ListDocumentActivityResponseValidationError added in v0.8.16

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

ListDocumentActivityResponseValidationError is the validation error returned by ListDocumentActivityResponse.Validate if the designated constraints aren't met.

func (ListDocumentActivityResponseValidationError) Cause added in v0.8.16

Cause function returns cause value.

func (ListDocumentActivityResponseValidationError) Error added in v0.8.16

Error satisfies the builtin error interface

func (ListDocumentActivityResponseValidationError) ErrorName added in v0.8.16

ErrorName returns error name.

func (ListDocumentActivityResponseValidationError) Field added in v0.8.16

Field function returns field value.

func (ListDocumentActivityResponseValidationError) Key added in v0.8.16

Key function returns key value.

func (ListDocumentActivityResponseValidationError) Reason added in v0.8.16

Reason function returns reason value.

type ListDocumentReqsRequest added in v0.8.16

type ListDocumentReqsRequest struct {
	Pagination *database.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	DocumentId uint64                      `protobuf:"varint,2,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDocumentReqsRequest) Descriptor deprecated added in v0.8.16

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

Deprecated: Use ListDocumentReqsRequest.ProtoReflect.Descriptor instead.

func (*ListDocumentReqsRequest) GetDocumentId added in v0.8.16

func (x *ListDocumentReqsRequest) GetDocumentId() uint64

func (*ListDocumentReqsRequest) GetPagination added in v0.8.16

func (*ListDocumentReqsRequest) ProtoMessage added in v0.8.16

func (*ListDocumentReqsRequest) ProtoMessage()

func (*ListDocumentReqsRequest) ProtoReflect added in v0.8.16

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

func (*ListDocumentReqsRequest) Reset added in v0.8.16

func (x *ListDocumentReqsRequest) Reset()

func (*ListDocumentReqsRequest) String added in v0.8.16

func (x *ListDocumentReqsRequest) String() string

func (*ListDocumentReqsRequest) Validate added in v0.8.16

func (m *ListDocumentReqsRequest) Validate() error

Validate checks the field values on ListDocumentReqsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListDocumentReqsRequest) ValidateAll added in v0.8.16

func (m *ListDocumentReqsRequest) ValidateAll() error

ValidateAll checks the field values on ListDocumentReqsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListDocumentReqsRequestMultiError, or nil if none found.

type ListDocumentReqsRequestMultiError added in v0.8.16

type ListDocumentReqsRequestMultiError []error

ListDocumentReqsRequestMultiError is an error wrapping multiple validation errors returned by ListDocumentReqsRequest.ValidateAll() if the designated constraints aren't met.

func (ListDocumentReqsRequestMultiError) AllErrors added in v0.8.16

func (m ListDocumentReqsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListDocumentReqsRequestMultiError) Error added in v0.8.16

Error returns a concatenation of all the error messages it wraps.

type ListDocumentReqsRequestValidationError added in v0.8.16

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

ListDocumentReqsRequestValidationError is the validation error returned by ListDocumentReqsRequest.Validate if the designated constraints aren't met.

func (ListDocumentReqsRequestValidationError) Cause added in v0.8.16

Cause function returns cause value.

func (ListDocumentReqsRequestValidationError) Error added in v0.8.16

Error satisfies the builtin error interface

func (ListDocumentReqsRequestValidationError) ErrorName added in v0.8.16

ErrorName returns error name.

func (ListDocumentReqsRequestValidationError) Field added in v0.8.16

Field function returns field value.

func (ListDocumentReqsRequestValidationError) Key added in v0.8.16

Key function returns key value.

func (ListDocumentReqsRequestValidationError) Reason added in v0.8.16

Reason function returns reason value.

type ListDocumentReqsResponse added in v0.8.16

type ListDocumentReqsResponse struct {
	Pagination *database.PaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Requests   []*documents.DocRequest      `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDocumentReqsResponse) Descriptor deprecated added in v0.8.16

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

Deprecated: Use ListDocumentReqsResponse.ProtoReflect.Descriptor instead.

func (*ListDocumentReqsResponse) GetPagination added in v0.8.16

func (*ListDocumentReqsResponse) GetRequests added in v0.8.16

func (x *ListDocumentReqsResponse) GetRequests() []*documents.DocRequest

func (*ListDocumentReqsResponse) ProtoMessage added in v0.8.16

func (*ListDocumentReqsResponse) ProtoMessage()

func (*ListDocumentReqsResponse) ProtoReflect added in v0.8.16

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

func (*ListDocumentReqsResponse) Reset added in v0.8.16

func (x *ListDocumentReqsResponse) Reset()

func (*ListDocumentReqsResponse) String added in v0.8.16

func (x *ListDocumentReqsResponse) String() string

func (*ListDocumentReqsResponse) Validate added in v0.8.16

func (m *ListDocumentReqsResponse) Validate() error

Validate checks the field values on ListDocumentReqsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListDocumentReqsResponse) ValidateAll added in v0.8.16

func (m *ListDocumentReqsResponse) ValidateAll() error

ValidateAll checks the field values on ListDocumentReqsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListDocumentReqsResponseMultiError, or nil if none found.

type ListDocumentReqsResponseMultiError added in v0.8.16

type ListDocumentReqsResponseMultiError []error

ListDocumentReqsResponseMultiError is an error wrapping multiple validation errors returned by ListDocumentReqsResponse.ValidateAll() if the designated constraints aren't met.

func (ListDocumentReqsResponseMultiError) AllErrors added in v0.8.16

func (m ListDocumentReqsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListDocumentReqsResponseMultiError) Error added in v0.8.16

Error returns a concatenation of all the error messages it wraps.

type ListDocumentReqsResponseValidationError added in v0.8.16

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

ListDocumentReqsResponseValidationError is the validation error returned by ListDocumentReqsResponse.Validate if the designated constraints aren't met.

func (ListDocumentReqsResponseValidationError) Cause added in v0.8.16

Cause function returns cause value.

func (ListDocumentReqsResponseValidationError) Error added in v0.8.16

Error satisfies the builtin error interface

func (ListDocumentReqsResponseValidationError) ErrorName added in v0.8.16

ErrorName returns error name.

func (ListDocumentReqsResponseValidationError) Field added in v0.8.16

Field function returns field value.

func (ListDocumentReqsResponseValidationError) Key added in v0.8.16

Key function returns key value.

func (ListDocumentReqsResponseValidationError) Reason added in v0.8.16

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 params
	Search      *string              `protobuf:"bytes,3,opt,name=search,proto3,oneof" json:"search,omitempty"`
	CategoryIds []uint64             `protobuf:"varint,4,rep,packed,name=category_ids,json=categoryIds,proto3" json:"category_ids,omitempty"`
	CreatorIds  []int32              `protobuf:"varint,5,rep,packed,name=creator_ids,json=creatorIds,proto3" json:"creator_ids,omitempty"`
	From        *timestamp.Timestamp `protobuf:"bytes,6,opt,name=from,proto3,oneof" json:"from,omitempty"`
	To          *timestamp.Timestamp `protobuf:"bytes,7,opt,name=to,proto3,oneof" json:"to,omitempty"`
	Closed      *bool                `protobuf:"varint,8,opt,name=closed,proto3,oneof" json:"closed,omitempty"`
	DocumentIds []uint64             `protobuf:"varint,9,rep,packed,name=document_ids,json=documentIds,proto3" json:"document_ids,omitempty"`
	// contains filtered or unexported fields
}

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) GetClosed added in v0.7.3

func (x *ListDocumentsRequest) GetClosed() bool

func (*ListDocumentsRequest) GetCreatorIds

func (x *ListDocumentsRequest) GetCreatorIds() []int32

func (*ListDocumentsRequest) GetDocumentIds added in v0.8.11

func (x *ListDocumentsRequest) GetDocumentIds() []uint64

func (*ListDocumentsRequest) GetFrom added in v0.6.0

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 (*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

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

Cause function returns cause value.

func (ListDocumentsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListDocumentsRequestValidationError) ErrorName

ErrorName returns error name.

func (ListDocumentsRequestValidationError) Field

Field function returns field value.

func (ListDocumentsRequestValidationError) Key

Key function returns key value.

func (ListDocumentsRequestValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (ListDocumentsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListDocumentsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListDocumentsResponseValidationError) Field

Field function returns field value.

func (ListDocumentsResponseValidationError) Key

Key function returns key value.

func (ListDocumentsResponseValidationError) Reason

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

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

Cause function returns cause value.

func (ListTemplatesRequestValidationError) Error

Error satisfies the builtin error interface

func (ListTemplatesRequestValidationError) ErrorName

ErrorName returns error name.

func (ListTemplatesRequestValidationError) Field

Field function returns field value.

func (ListTemplatesRequestValidationError) Key

Key function returns key value.

func (ListTemplatesRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ListTemplatesResponseValidationError) Error

Error satisfies the builtin error interface

func (ListTemplatesResponseValidationError) ErrorName

ErrorName returns error name.

func (ListTemplatesResponseValidationError) Field

Field function returns field value.

func (ListTemplatesResponseValidationError) Key

Key function returns key value.

func (ListTemplatesResponseValidationError) Reason

Reason function returns reason value.

type ListUserDocumentsRequest

type ListUserDocumentsRequest struct {
	Pagination *database.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	UserId     int32                       `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Relations  []documents.DocRelation     `protobuf:"varint,3,rep,packed,name=relations,proto3,enum=resources.documents.DocRelation" json:"relations,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserDocumentsRequest) Descriptor deprecated

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

Deprecated: Use ListUserDocumentsRequest.ProtoReflect.Descriptor instead.

func (*ListUserDocumentsRequest) GetPagination

func (*ListUserDocumentsRequest) GetRelations

func (x *ListUserDocumentsRequest) GetRelations() []documents.DocRelation

func (*ListUserDocumentsRequest) GetUserId

func (x *ListUserDocumentsRequest) GetUserId() int32

func (*ListUserDocumentsRequest) ProtoMessage

func (*ListUserDocumentsRequest) ProtoMessage()

func (*ListUserDocumentsRequest) ProtoReflect

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

func (*ListUserDocumentsRequest) Reset

func (x *ListUserDocumentsRequest) Reset()

func (*ListUserDocumentsRequest) 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

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

Cause function returns cause value.

func (ListUserDocumentsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListUserDocumentsRequestValidationError) ErrorName

ErrorName returns error name.

func (ListUserDocumentsRequestValidationError) Field

Field function returns field value.

func (ListUserDocumentsRequestValidationError) Key

Key function returns key value.

func (ListUserDocumentsRequestValidationError) Reason

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 (*ListUserDocumentsResponse) GetRelations

func (*ListUserDocumentsResponse) ProtoMessage

func (*ListUserDocumentsResponse) ProtoMessage()

func (*ListUserDocumentsResponse) ProtoReflect

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

AllErrors returns a list of validation violation errors.

func (ListUserDocumentsResponseMultiError) Error

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

Cause function returns cause value.

func (ListUserDocumentsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListUserDocumentsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListUserDocumentsResponseValidationError) Field

Field function returns field value.

func (ListUserDocumentsResponseValidationError) Key

Key function returns key value.

func (ListUserDocumentsResponseValidationError) Reason

Reason function returns reason value.

type PostCommentRequest added in v0.8.0

type PostCommentRequest struct {
	Comment *documents.Comment `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*PostCommentRequest) Descriptor deprecated added in v0.8.0

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

Deprecated: Use PostCommentRequest.ProtoReflect.Descriptor instead.

func (*PostCommentRequest) GetComment added in v0.8.0

func (x *PostCommentRequest) GetComment() *documents.Comment

func (*PostCommentRequest) ProtoMessage added in v0.8.0

func (*PostCommentRequest) ProtoMessage()

func (*PostCommentRequest) ProtoReflect added in v0.8.0

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

func (*PostCommentRequest) Reset added in v0.8.0

func (x *PostCommentRequest) Reset()

func (*PostCommentRequest) String added in v0.8.0

func (x *PostCommentRequest) String() string

func (*PostCommentRequest) Validate added in v0.8.0

func (m *PostCommentRequest) Validate() error

Validate checks the field values on PostCommentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PostCommentRequest) ValidateAll added in v0.8.0

func (m *PostCommentRequest) ValidateAll() error

ValidateAll checks the field values on PostCommentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PostCommentRequestMultiError, or nil if none found.

type PostCommentRequestMultiError added in v0.8.0

type PostCommentRequestMultiError []error

PostCommentRequestMultiError is an error wrapping multiple validation errors returned by PostCommentRequest.ValidateAll() if the designated constraints aren't met.

func (PostCommentRequestMultiError) AllErrors added in v0.8.0

func (m PostCommentRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PostCommentRequestMultiError) Error added in v0.8.0

Error returns a concatenation of all the error messages it wraps.

type PostCommentRequestValidationError added in v0.8.0

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

PostCommentRequestValidationError is the validation error returned by PostCommentRequest.Validate if the designated constraints aren't met.

func (PostCommentRequestValidationError) Cause added in v0.8.0

Cause function returns cause value.

func (PostCommentRequestValidationError) Error added in v0.8.0

Error satisfies the builtin error interface

func (PostCommentRequestValidationError) ErrorName added in v0.8.0

ErrorName returns error name.

func (PostCommentRequestValidationError) Field added in v0.8.0

Field function returns field value.

func (PostCommentRequestValidationError) Key added in v0.8.0

Key function returns key value.

func (PostCommentRequestValidationError) Reason added in v0.8.0

Reason function returns reason value.

type PostCommentResponse added in v0.8.0

type PostCommentResponse struct {
	Comment *documents.Comment `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*PostCommentResponse) Descriptor deprecated added in v0.8.0

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

Deprecated: Use PostCommentResponse.ProtoReflect.Descriptor instead.

func (*PostCommentResponse) GetComment added in v0.8.21

func (x *PostCommentResponse) GetComment() *documents.Comment

func (*PostCommentResponse) ProtoMessage added in v0.8.0

func (*PostCommentResponse) ProtoMessage()

func (*PostCommentResponse) ProtoReflect added in v0.8.0

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

func (*PostCommentResponse) Reset added in v0.8.0

func (x *PostCommentResponse) Reset()

func (*PostCommentResponse) String added in v0.8.0

func (x *PostCommentResponse) String() string

func (*PostCommentResponse) Validate added in v0.8.0

func (m *PostCommentResponse) Validate() error

Validate checks the field values on PostCommentResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PostCommentResponse) ValidateAll added in v0.8.0

func (m *PostCommentResponse) ValidateAll() error

ValidateAll checks the field values on PostCommentResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PostCommentResponseMultiError, or nil if none found.

type PostCommentResponseMultiError added in v0.8.0

type PostCommentResponseMultiError []error

PostCommentResponseMultiError is an error wrapping multiple validation errors returned by PostCommentResponse.ValidateAll() if the designated constraints aren't met.

func (PostCommentResponseMultiError) AllErrors added in v0.8.0

func (m PostCommentResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PostCommentResponseMultiError) Error added in v0.8.0

Error returns a concatenation of all the error messages it wraps.

type PostCommentResponseValidationError added in v0.8.0

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

PostCommentResponseValidationError is the validation error returned by PostCommentResponse.Validate if the designated constraints aren't met.

func (PostCommentResponseValidationError) Cause added in v0.8.0

Cause function returns cause value.

func (PostCommentResponseValidationError) Error added in v0.8.0

Error satisfies the builtin error interface

func (PostCommentResponseValidationError) ErrorName added in v0.8.0

ErrorName returns error name.

func (PostCommentResponseValidationError) Field added in v0.8.0

Field function returns field value.

func (PostCommentResponseValidationError) Key added in v0.8.0

Key function returns key value.

func (PostCommentResponseValidationError) Reason added in v0.8.0

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 (*RemoveDocumentReferenceRequest) ProtoMessage

func (*RemoveDocumentReferenceRequest) ProtoMessage()

func (*RemoveDocumentReferenceRequest) ProtoReflect

func (*RemoveDocumentReferenceRequest) Reset

func (x *RemoveDocumentReferenceRequest) Reset()

func (*RemoveDocumentReferenceRequest) 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

AllErrors returns a list of validation violation errors.

func (RemoveDocumentReferenceRequestMultiError) Error

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

Cause function returns cause value.

func (RemoveDocumentReferenceRequestValidationError) Error

Error satisfies the builtin error interface

func (RemoveDocumentReferenceRequestValidationError) ErrorName

ErrorName returns error name.

func (RemoveDocumentReferenceRequestValidationError) Field

Field function returns field value.

func (RemoveDocumentReferenceRequestValidationError) Key

Key function returns key value.

func (RemoveDocumentReferenceRequestValidationError) Reason

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 (*RemoveDocumentReferenceResponse) Reset

func (*RemoveDocumentReferenceResponse) 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

AllErrors returns a list of validation violation errors.

func (RemoveDocumentReferenceResponseMultiError) Error

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

Cause function returns cause value.

func (RemoveDocumentReferenceResponseValidationError) Error

Error satisfies the builtin error interface

func (RemoveDocumentReferenceResponseValidationError) ErrorName

ErrorName returns error name.

func (RemoveDocumentReferenceResponseValidationError) Field

Field function returns field value.

func (RemoveDocumentReferenceResponseValidationError) Key

Key function returns key value.

func (RemoveDocumentReferenceResponseValidationError) Reason

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 (*RemoveDocumentRelationRequest) ProtoMessage

func (*RemoveDocumentRelationRequest) ProtoMessage()

func (*RemoveDocumentRelationRequest) ProtoReflect

func (*RemoveDocumentRelationRequest) Reset

func (x *RemoveDocumentRelationRequest) Reset()

func (*RemoveDocumentRelationRequest) 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

AllErrors returns a list of validation violation errors.

func (RemoveDocumentRelationRequestMultiError) Error

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

Cause function returns cause value.

func (RemoveDocumentRelationRequestValidationError) Error

Error satisfies the builtin error interface

func (RemoveDocumentRelationRequestValidationError) ErrorName

ErrorName returns error name.

func (RemoveDocumentRelationRequestValidationError) Field

Field function returns field value.

func (RemoveDocumentRelationRequestValidationError) Key

Key function returns key value.

func (RemoveDocumentRelationRequestValidationError) Reason

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 (*RemoveDocumentRelationResponse) Reset

func (x *RemoveDocumentRelationResponse) Reset()

func (*RemoveDocumentRelationResponse) 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

AllErrors returns a list of validation violation errors.

func (RemoveDocumentRelationResponseMultiError) Error

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

Cause function returns cause value.

func (RemoveDocumentRelationResponseValidationError) Error

Error satisfies the builtin error interface

func (RemoveDocumentRelationResponseValidationError) ErrorName

ErrorName returns error name.

func (RemoveDocumentRelationResponseValidationError) Field

Field function returns field value.

func (RemoveDocumentRelationResponseValidationError) Key

Key function returns key value.

func (RemoveDocumentRelationResponseValidationError) Reason

Reason function returns reason value.

type Server

type Server struct {
	DocStoreServiceServer
	// contains filtered or unexported fields
}

func (*Server) AddDocumentReference

func (*Server) AddDocumentRelation

func (s *Server) AddDocumentRelation(ctx context.Context, req *AddDocumentRelationRequest) (*AddDocumentRelationResponse, error)

func (*Server) ChangeDocumentOwner added in v0.8.16

func (s *Server) ChangeDocumentOwner(ctx context.Context, req *ChangeDocumentOwnerRequest) (*ChangeDocumentOwnerResponse, error)

func (*Server) CreateCategory added in v0.8.0

func (s *Server) CreateCategory(ctx context.Context, req *CreateCategoryRequest) (*CreateCategoryResponse, error)

func (*Server) CreateDocument

func (s *Server) CreateDocument(ctx context.Context, req *CreateDocumentRequest) (*CreateDocumentResponse, error)

func (*Server) CreateDocumentReq added in v0.8.16

func (s *Server) CreateDocumentReq(ctx context.Context, req *CreateDocumentReqRequest) (*CreateDocumentReqResponse, error)

func (*Server) CreateTemplate

func (s *Server) CreateTemplate(ctx context.Context, req *CreateTemplateRequest) (*CreateTemplateResponse, error)

func (*Server) DeleteCategory added in v0.8.0

func (s *Server) DeleteCategory(ctx context.Context, req *DeleteCategoryRequest) (*DeleteCategoryResponse, error)

func (*Server) DeleteComment added in v0.8.0

func (s *Server) DeleteComment(ctx context.Context, req *DeleteCommentRequest) (*DeleteCommentResponse, error)

func (*Server) DeleteDocument

func (s *Server) DeleteDocument(ctx context.Context, req *DeleteDocumentRequest) (*DeleteDocumentResponse, error)

func (*Server) DeleteDocumentReq added in v0.8.16

func (s *Server) DeleteDocumentReq(ctx context.Context, req *DeleteDocumentReqRequest) (*DeleteDocumentReqResponse, error)

func (*Server) DeleteTemplate

func (s *Server) DeleteTemplate(ctx context.Context, req *DeleteTemplateRequest) (*DeleteTemplateResponse, error)

func (*Server) EditComment added in v0.8.0

func (s *Server) EditComment(ctx context.Context, req *EditCommentRequest) (*EditCommentResponse, error)

func (*Server) GetComments added in v0.8.0

func (s *Server) GetComments(ctx context.Context, req *GetCommentsRequest) (*GetCommentsResponse, error)

func (*Server) GetDocument

func (s *Server) GetDocument(ctx context.Context, req *GetDocumentRequest) (*GetDocumentResponse, error)

func (*Server) GetDocumentAccess

func (s *Server) GetDocumentAccess(ctx context.Context, req *GetDocumentAccessRequest) (*GetDocumentAccessResponse, error)

func (*Server) GetDocumentReferences

func (*Server) GetDocumentRelations

func (*Server) GetPermsRemap

func (s *Server) GetPermsRemap() map[string]string

func (*Server) GetTemplate

func (s *Server) GetTemplate(ctx context.Context, req *GetTemplateRequest) (*GetTemplateResponse, error)

func (*Server) ListCategories added in v0.8.0

func (s *Server) ListCategories(ctx context.Context, req *ListCategoriesRequest) (*ListCategoriesResponse, error)

func (*Server) ListDocumentActivity added in v0.8.16

func (*Server) ListDocumentReqs added in v0.8.16

func (s *Server) ListDocumentReqs(ctx context.Context, req *ListDocumentReqsRequest) (*ListDocumentReqsResponse, error)

func (*Server) ListDocuments

func (s *Server) ListDocuments(ctx context.Context, req *ListDocumentsRequest) (*ListDocumentsResponse, error)

func (*Server) ListTemplates

func (s *Server) ListTemplates(ctx context.Context, req *ListTemplatesRequest) (*ListTemplatesResponse, error)

func (*Server) ListUserDocuments

func (s *Server) ListUserDocuments(ctx context.Context, req *ListUserDocumentsRequest) (*ListUserDocumentsResponse, error)

func (*Server) PostComment added in v0.8.0

func (s *Server) PostComment(ctx context.Context, req *PostCommentRequest) (*PostCommentResponse, error)

func (*Server) RegisterServer added in v0.8.0

func (s *Server) RegisterServer(srv *grpc.Server)

func (*Server) RemoveDocumentRelation

func (*Server) SetDocumentAccess

func (s *Server) SetDocumentAccess(ctx context.Context, req *SetDocumentAccessRequest) (*SetDocumentAccessResponse, error)

func (*Server) ToggleDocument added in v0.7.3

func (s *Server) ToggleDocument(ctx context.Context, req *ToggleDocumentRequest) (*ToggleDocumentResponse, error)

func (*Server) UpdateCategory added in v0.8.0

func (s *Server) UpdateCategory(ctx context.Context, req *UpdateCategoryRequest) (*UpdateCategoryResponse, error)

func (*Server) UpdateDocument

func (s *Server) UpdateDocument(ctx context.Context, req *UpdateDocumentRequest) (*UpdateDocumentResponse, error)

func (*Server) UpdateDocumentReq added in v0.8.16

func (s *Server) UpdateDocumentReq(ctx context.Context, req *UpdateDocumentReqRequest) (*UpdateDocumentReqResponse, error)

func (*Server) UpdateTemplate

func (s *Server) UpdateTemplate(ctx context.Context, req *UpdateTemplateRequest) (*UpdateTemplateResponse, error)

type SetDocumentAccessRequest

type SetDocumentAccessRequest struct {
	DocumentId uint64                          `protobuf:"varint,1,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"`
	Mode       documents.AccessLevelUpdateMode `protobuf:"varint,2,opt,name=mode,proto3,enum=resources.documents.AccessLevelUpdateMode" 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 (*SetDocumentAccessRequest) GetDocumentId

func (x *SetDocumentAccessRequest) GetDocumentId() uint64

func (*SetDocumentAccessRequest) GetMode

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

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

Cause function returns cause value.

func (SetDocumentAccessRequestValidationError) Error

Error satisfies the builtin error interface

func (SetDocumentAccessRequestValidationError) ErrorName

ErrorName returns error name.

func (SetDocumentAccessRequestValidationError) Field

Field function returns field value.

func (SetDocumentAccessRequestValidationError) Key

Key function returns key value.

func (SetDocumentAccessRequestValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (SetDocumentAccessResponseMultiError) Error

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

Cause function returns cause value.

func (SetDocumentAccessResponseValidationError) Error

Error satisfies the builtin error interface

func (SetDocumentAccessResponseValidationError) ErrorName

ErrorName returns error name.

func (SetDocumentAccessResponseValidationError) Field

Field function returns field value.

func (SetDocumentAccessResponseValidationError) Key

Key function returns key value.

func (SetDocumentAccessResponseValidationError) Reason

Reason function returns reason value.

type ToggleDocumentRequest added in v0.7.3

type ToggleDocumentRequest struct {
	DocumentId uint64 `protobuf:"varint,1,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"`
	Closed     bool   `protobuf:"varint,2,opt,name=closed,proto3" json:"closed,omitempty"`
	// contains filtered or unexported fields
}

func (*ToggleDocumentRequest) Descriptor deprecated added in v0.7.3

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

Deprecated: Use ToggleDocumentRequest.ProtoReflect.Descriptor instead.

func (*ToggleDocumentRequest) GetClosed added in v0.7.3

func (x *ToggleDocumentRequest) GetClosed() bool

func (*ToggleDocumentRequest) GetDocumentId added in v0.7.3

func (x *ToggleDocumentRequest) GetDocumentId() uint64

func (*ToggleDocumentRequest) ProtoMessage added in v0.7.3

func (*ToggleDocumentRequest) ProtoMessage()

func (*ToggleDocumentRequest) ProtoReflect added in v0.7.3

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

func (*ToggleDocumentRequest) Reset added in v0.7.3

func (x *ToggleDocumentRequest) Reset()

func (*ToggleDocumentRequest) String added in v0.7.3

func (x *ToggleDocumentRequest) String() string

func (*ToggleDocumentRequest) Validate added in v0.7.3

func (m *ToggleDocumentRequest) Validate() error

Validate checks the field values on ToggleDocumentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ToggleDocumentRequest) ValidateAll added in v0.7.3

func (m *ToggleDocumentRequest) ValidateAll() error

ValidateAll checks the field values on ToggleDocumentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ToggleDocumentRequestMultiError, or nil if none found.

type ToggleDocumentRequestMultiError added in v0.7.3

type ToggleDocumentRequestMultiError []error

ToggleDocumentRequestMultiError is an error wrapping multiple validation errors returned by ToggleDocumentRequest.ValidateAll() if the designated constraints aren't met.

func (ToggleDocumentRequestMultiError) AllErrors added in v0.7.3

func (m ToggleDocumentRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ToggleDocumentRequestMultiError) Error added in v0.7.3

Error returns a concatenation of all the error messages it wraps.

type ToggleDocumentRequestValidationError added in v0.7.3

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

ToggleDocumentRequestValidationError is the validation error returned by ToggleDocumentRequest.Validate if the designated constraints aren't met.

func (ToggleDocumentRequestValidationError) Cause added in v0.7.3

Cause function returns cause value.

func (ToggleDocumentRequestValidationError) Error added in v0.7.3

Error satisfies the builtin error interface

func (ToggleDocumentRequestValidationError) ErrorName added in v0.7.3

ErrorName returns error name.

func (ToggleDocumentRequestValidationError) Field added in v0.7.3

Field function returns field value.

func (ToggleDocumentRequestValidationError) Key added in v0.7.3

Key function returns key value.

func (ToggleDocumentRequestValidationError) Reason added in v0.7.3

Reason function returns reason value.

type ToggleDocumentResponse added in v0.7.3

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

func (*ToggleDocumentResponse) Descriptor deprecated added in v0.7.3

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

Deprecated: Use ToggleDocumentResponse.ProtoReflect.Descriptor instead.

func (*ToggleDocumentResponse) ProtoMessage added in v0.7.3

func (*ToggleDocumentResponse) ProtoMessage()

func (*ToggleDocumentResponse) ProtoReflect added in v0.7.3

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

func (*ToggleDocumentResponse) Reset added in v0.7.3

func (x *ToggleDocumentResponse) Reset()

func (*ToggleDocumentResponse) String added in v0.7.3

func (x *ToggleDocumentResponse) String() string

func (*ToggleDocumentResponse) Validate added in v0.7.3

func (m *ToggleDocumentResponse) Validate() error

Validate checks the field values on ToggleDocumentResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ToggleDocumentResponse) ValidateAll added in v0.7.3

func (m *ToggleDocumentResponse) ValidateAll() error

ValidateAll checks the field values on ToggleDocumentResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ToggleDocumentResponseMultiError, or nil if none found.

type ToggleDocumentResponseMultiError added in v0.7.3

type ToggleDocumentResponseMultiError []error

ToggleDocumentResponseMultiError is an error wrapping multiple validation errors returned by ToggleDocumentResponse.ValidateAll() if the designated constraints aren't met.

func (ToggleDocumentResponseMultiError) AllErrors added in v0.7.3

func (m ToggleDocumentResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ToggleDocumentResponseMultiError) Error added in v0.7.3

Error returns a concatenation of all the error messages it wraps.

type ToggleDocumentResponseValidationError added in v0.7.3

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

ToggleDocumentResponseValidationError is the validation error returned by ToggleDocumentResponse.Validate if the designated constraints aren't met.

func (ToggleDocumentResponseValidationError) Cause added in v0.7.3

Cause function returns cause value.

func (ToggleDocumentResponseValidationError) Error added in v0.7.3

Error satisfies the builtin error interface

func (ToggleDocumentResponseValidationError) ErrorName added in v0.7.3

ErrorName returns error name.

func (ToggleDocumentResponseValidationError) Field added in v0.7.3

Field function returns field value.

func (ToggleDocumentResponseValidationError) Key added in v0.7.3

Key function returns key value.

func (ToggleDocumentResponseValidationError) Reason added in v0.7.3

Reason function returns reason value.

type UnimplementedDocStoreServiceServer

type UnimplementedDocStoreServiceServer struct {
}

UnimplementedDocStoreServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedDocStoreServiceServer) AddDocumentRelation

func (UnimplementedDocStoreServiceServer) ChangeDocumentOwner added in v0.8.16

func (UnimplementedDocStoreServiceServer) CreateCategory added in v0.8.0

func (UnimplementedDocStoreServiceServer) CreateDocument

func (UnimplementedDocStoreServiceServer) CreateDocumentReq added in v0.8.16

func (UnimplementedDocStoreServiceServer) CreateTemplate

func (UnimplementedDocStoreServiceServer) DeleteCategory added in v0.8.0

func (UnimplementedDocStoreServiceServer) DeleteComment added in v0.8.0

func (UnimplementedDocStoreServiceServer) DeleteDocument

func (UnimplementedDocStoreServiceServer) DeleteDocumentReq added in v0.8.16

func (UnimplementedDocStoreServiceServer) DeleteTemplate

func (UnimplementedDocStoreServiceServer) EditComment added in v0.8.0

func (UnimplementedDocStoreServiceServer) GetComments added in v0.8.0

func (UnimplementedDocStoreServiceServer) GetDocument

func (UnimplementedDocStoreServiceServer) GetDocumentAccess

func (UnimplementedDocStoreServiceServer) GetTemplate

func (UnimplementedDocStoreServiceServer) ListCategories added in v0.8.0

func (UnimplementedDocStoreServiceServer) ListDocumentActivity added in v0.8.16

func (UnimplementedDocStoreServiceServer) ListDocumentReqs added in v0.8.16

func (UnimplementedDocStoreServiceServer) ListDocuments

func (UnimplementedDocStoreServiceServer) ListTemplates

func (UnimplementedDocStoreServiceServer) ListUserDocuments

func (UnimplementedDocStoreServiceServer) PostComment added in v0.8.0

func (UnimplementedDocStoreServiceServer) SetDocumentAccess

func (UnimplementedDocStoreServiceServer) ToggleDocument added in v0.7.3

func (UnimplementedDocStoreServiceServer) UpdateCategory added in v0.8.0

func (UnimplementedDocStoreServiceServer) UpdateDocument

func (UnimplementedDocStoreServiceServer) UpdateDocumentReq added in v0.8.16

func (UnimplementedDocStoreServiceServer) UpdateTemplate

type UnsafeDocStoreServiceServer

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

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

type UpdateCategoryRequest added in v0.8.0

type UpdateCategoryRequest struct {
	Category *documents.Category `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCategoryRequest) Descriptor deprecated added in v0.8.0

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

Deprecated: Use UpdateCategoryRequest.ProtoReflect.Descriptor instead.

func (*UpdateCategoryRequest) GetCategory added in v0.8.0

func (x *UpdateCategoryRequest) GetCategory() *documents.Category

func (*UpdateCategoryRequest) ProtoMessage added in v0.8.0

func (*UpdateCategoryRequest) ProtoMessage()

func (*UpdateCategoryRequest) ProtoReflect added in v0.8.0

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

func (*UpdateCategoryRequest) Reset added in v0.8.0

func (x *UpdateCategoryRequest) Reset()

func (*UpdateCategoryRequest) String added in v0.8.0

func (x *UpdateCategoryRequest) String() string

func (*UpdateCategoryRequest) Validate added in v0.8.0

func (m *UpdateCategoryRequest) Validate() error

Validate checks the field values on UpdateCategoryRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateCategoryRequest) ValidateAll added in v0.8.0

func (m *UpdateCategoryRequest) ValidateAll() error

ValidateAll checks the field values on UpdateCategoryRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateCategoryRequestMultiError, or nil if none found.

type UpdateCategoryRequestMultiError added in v0.8.0

type UpdateCategoryRequestMultiError []error

UpdateCategoryRequestMultiError is an error wrapping multiple validation errors returned by UpdateCategoryRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateCategoryRequestMultiError) AllErrors added in v0.8.0

func (m UpdateCategoryRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateCategoryRequestMultiError) Error added in v0.8.0

Error returns a concatenation of all the error messages it wraps.

type UpdateCategoryRequestValidationError added in v0.8.0

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

UpdateCategoryRequestValidationError is the validation error returned by UpdateCategoryRequest.Validate if the designated constraints aren't met.

func (UpdateCategoryRequestValidationError) Cause added in v0.8.0

Cause function returns cause value.

func (UpdateCategoryRequestValidationError) Error added in v0.8.0

Error satisfies the builtin error interface

func (UpdateCategoryRequestValidationError) ErrorName added in v0.8.0

ErrorName returns error name.

func (UpdateCategoryRequestValidationError) Field added in v0.8.0

Field function returns field value.

func (UpdateCategoryRequestValidationError) Key added in v0.8.0

Key function returns key value.

func (UpdateCategoryRequestValidationError) Reason added in v0.8.0

Reason function returns reason value.

type UpdateCategoryResponse added in v0.8.0

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

func (*UpdateCategoryResponse) Descriptor deprecated added in v0.8.0

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

Deprecated: Use UpdateCategoryResponse.ProtoReflect.Descriptor instead.

func (*UpdateCategoryResponse) ProtoMessage added in v0.8.0

func (*UpdateCategoryResponse) ProtoMessage()

func (*UpdateCategoryResponse) ProtoReflect added in v0.8.0

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

func (*UpdateCategoryResponse) Reset added in v0.8.0

func (x *UpdateCategoryResponse) Reset()

func (*UpdateCategoryResponse) String added in v0.8.0

func (x *UpdateCategoryResponse) String() string

func (*UpdateCategoryResponse) Validate added in v0.8.0

func (m *UpdateCategoryResponse) Validate() error

Validate checks the field values on UpdateCategoryResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateCategoryResponse) ValidateAll added in v0.8.0

func (m *UpdateCategoryResponse) ValidateAll() error

ValidateAll checks the field values on UpdateCategoryResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateCategoryResponseMultiError, or nil if none found.

type UpdateCategoryResponseMultiError added in v0.8.0

type UpdateCategoryResponseMultiError []error

UpdateCategoryResponseMultiError is an error wrapping multiple validation errors returned by UpdateCategoryResponse.ValidateAll() if the designated constraints aren't met.

func (UpdateCategoryResponseMultiError) AllErrors added in v0.8.0

func (m UpdateCategoryResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateCategoryResponseMultiError) Error added in v0.8.0

Error returns a concatenation of all the error messages it wraps.

type UpdateCategoryResponseValidationError added in v0.8.0

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

UpdateCategoryResponseValidationError is the validation error returned by UpdateCategoryResponse.Validate if the designated constraints aren't met.

func (UpdateCategoryResponseValidationError) Cause added in v0.8.0

Cause function returns cause value.

func (UpdateCategoryResponseValidationError) Error added in v0.8.0

Error satisfies the builtin error interface

func (UpdateCategoryResponseValidationError) ErrorName added in v0.8.0

ErrorName returns error name.

func (UpdateCategoryResponseValidationError) Field added in v0.8.0

Field function returns field value.

func (UpdateCategoryResponseValidationError) Key added in v0.8.0

Key function returns key value.

func (UpdateCategoryResponseValidationError) Reason added in v0.8.0

Reason function returns reason value.

type UpdateDocumentReqRequest added in v0.8.16

type UpdateDocumentReqRequest struct {
	DocumentId uint64 `protobuf:"varint,1,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"`
	RequestId  uint64 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// @sanitize
	Reason   *string                    `protobuf:"bytes,3,opt,name=reason,proto3,oneof" json:"reason,omitempty"`
	Data     *documents.DocActivityData `protobuf:"bytes,4,opt,name=data,proto3,oneof" json:"data,omitempty"`
	Accepted bool                       `protobuf:"varint,5,opt,name=accepted,proto3" json:"accepted,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateDocumentReqRequest) Descriptor deprecated added in v0.8.16

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

Deprecated: Use UpdateDocumentReqRequest.ProtoReflect.Descriptor instead.

func (*UpdateDocumentReqRequest) GetAccepted added in v0.8.16

func (x *UpdateDocumentReqRequest) GetAccepted() bool

func (*UpdateDocumentReqRequest) GetData added in v0.8.19

func (*UpdateDocumentReqRequest) GetDocumentId added in v0.8.16

func (x *UpdateDocumentReqRequest) GetDocumentId() uint64

func (*UpdateDocumentReqRequest) GetReason added in v0.8.16

func (x *UpdateDocumentReqRequest) GetReason() string

func (*UpdateDocumentReqRequest) GetRequestId added in v0.8.16

func (x *UpdateDocumentReqRequest) GetRequestId() uint64

func (*UpdateDocumentReqRequest) ProtoMessage added in v0.8.16

func (*UpdateDocumentReqRequest) ProtoMessage()

func (*UpdateDocumentReqRequest) ProtoReflect added in v0.8.16

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

func (*UpdateDocumentReqRequest) Reset added in v0.8.16

func (x *UpdateDocumentReqRequest) Reset()

func (*UpdateDocumentReqRequest) Sanitize added in v0.8.16

func (m *UpdateDocumentReqRequest) Sanitize() error

func (*UpdateDocumentReqRequest) String added in v0.8.16

func (x *UpdateDocumentReqRequest) String() string

func (*UpdateDocumentReqRequest) Validate added in v0.8.16

func (m *UpdateDocumentReqRequest) Validate() error

Validate checks the field values on UpdateDocumentReqRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateDocumentReqRequest) ValidateAll added in v0.8.16

func (m *UpdateDocumentReqRequest) ValidateAll() error

ValidateAll checks the field values on UpdateDocumentReqRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateDocumentReqRequestMultiError, or nil if none found.

type UpdateDocumentReqRequestMultiError added in v0.8.16

type UpdateDocumentReqRequestMultiError []error

UpdateDocumentReqRequestMultiError is an error wrapping multiple validation errors returned by UpdateDocumentReqRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateDocumentReqRequestMultiError) AllErrors added in v0.8.16

func (m UpdateDocumentReqRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateDocumentReqRequestMultiError) Error added in v0.8.16

Error returns a concatenation of all the error messages it wraps.

type UpdateDocumentReqRequestValidationError added in v0.8.16

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

UpdateDocumentReqRequestValidationError is the validation error returned by UpdateDocumentReqRequest.Validate if the designated constraints aren't met.

func (UpdateDocumentReqRequestValidationError) Cause added in v0.8.16

Cause function returns cause value.

func (UpdateDocumentReqRequestValidationError) Error added in v0.8.16

Error satisfies the builtin error interface

func (UpdateDocumentReqRequestValidationError) ErrorName added in v0.8.16

ErrorName returns error name.

func (UpdateDocumentReqRequestValidationError) Field added in v0.8.16

Field function returns field value.

func (UpdateDocumentReqRequestValidationError) Key added in v0.8.16

Key function returns key value.

func (UpdateDocumentReqRequestValidationError) Reason added in v0.8.16

Reason function returns reason value.

type UpdateDocumentReqResponse added in v0.8.16

type UpdateDocumentReqResponse struct {
	Request *documents.DocRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateDocumentReqResponse) Descriptor deprecated added in v0.8.16

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

Deprecated: Use UpdateDocumentReqResponse.ProtoReflect.Descriptor instead.

func (*UpdateDocumentReqResponse) GetRequest added in v0.8.16

func (*UpdateDocumentReqResponse) ProtoMessage added in v0.8.16

func (*UpdateDocumentReqResponse) ProtoMessage()

func (*UpdateDocumentReqResponse) ProtoReflect added in v0.8.16

func (*UpdateDocumentReqResponse) Reset added in v0.8.16

func (x *UpdateDocumentReqResponse) Reset()

func (*UpdateDocumentReqResponse) String added in v0.8.16

func (x *UpdateDocumentReqResponse) String() string

func (*UpdateDocumentReqResponse) Validate added in v0.8.16

func (m *UpdateDocumentReqResponse) Validate() error

Validate checks the field values on UpdateDocumentReqResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateDocumentReqResponse) ValidateAll added in v0.8.16

func (m *UpdateDocumentReqResponse) ValidateAll() error

ValidateAll checks the field values on UpdateDocumentReqResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateDocumentReqResponseMultiError, or nil if none found.

type UpdateDocumentReqResponseMultiError added in v0.8.16

type UpdateDocumentReqResponseMultiError []error

UpdateDocumentReqResponseMultiError is an error wrapping multiple validation errors returned by UpdateDocumentReqResponse.ValidateAll() if the designated constraints aren't met.

func (UpdateDocumentReqResponseMultiError) AllErrors added in v0.8.16

AllErrors returns a list of validation violation errors.

func (UpdateDocumentReqResponseMultiError) Error added in v0.8.16

Error returns a concatenation of all the error messages it wraps.

type UpdateDocumentReqResponseValidationError added in v0.8.16

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

UpdateDocumentReqResponseValidationError is the validation error returned by UpdateDocumentReqResponse.Validate if the designated constraints aren't met.

func (UpdateDocumentReqResponseValidationError) Cause added in v0.8.16

Cause function returns cause value.

func (UpdateDocumentReqResponseValidationError) Error added in v0.8.16

Error satisfies the builtin error interface

func (UpdateDocumentReqResponseValidationError) ErrorName added in v0.8.16

ErrorName returns error name.

func (UpdateDocumentReqResponseValidationError) Field added in v0.8.16

Field function returns field value.

func (UpdateDocumentReqResponseValidationError) Key added in v0.8.16

Key function returns key value.

func (UpdateDocumentReqResponseValidationError) Reason added in v0.8.16

Reason function returns reason value.

type UpdateDocumentRequest

type UpdateDocumentRequest struct {
	DocumentId uint64  `protobuf:"varint,1,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty" alias:"id"`                // @gotags: alias:"id"
	CategoryId *uint64 `protobuf:"varint,2,opt,name=category_id,json=categoryId,proto3,oneof" json:"category_id,omitempty" alias:"category_id"` // @gotags: alias:"category_id"
	// @sanitize: method=StripTags
	Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty" alias:"title"` // @gotags: alias:"title"
	// @sanitize
	Content     string                   `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty" alias:"content"` // @gotags: alias:"content"
	ContentType documents.DocContentType ``                                                                                    // @gotags: alias:"content_type"
	/* 156-byte string literal not displayed */
	Data *string `protobuf:"bytes,6,opt,name=data,proto3,oneof" json:"data,omitempty" alias:"data"` // @gotags: alias:"data"
	// @sanitize
	State  string                    `protobuf:"bytes,7,opt,name=state,proto3" json:"state,omitempty" alias:"state"`     // @gotags: alias:"state"
	Closed bool                      `protobuf:"varint,8,opt,name=closed,proto3" json:"closed,omitempty" alias:"closed"` // @gotags: alias:"closed"
	Public bool                      `protobuf:"varint,9,opt,name=public,proto3" json:"public,omitempty" alias:"public"` // @gotags: alias:"public"
	Access *documents.DocumentAccess `protobuf:"bytes,10,opt,name=access,proto3,oneof" json:"access,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateDocumentRequest) Descriptor deprecated

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

Deprecated: Use UpdateDocumentRequest.ProtoReflect.Descriptor instead.

func (*UpdateDocumentRequest) GetAccess

func (*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.DocContentType

func (*UpdateDocumentRequest) GetData

func (x *UpdateDocumentRequest) GetData() string

func (*UpdateDocumentRequest) GetDocumentId

func (x *UpdateDocumentRequest) GetDocumentId() uint64

func (*UpdateDocumentRequest) GetPublic

func (x *UpdateDocumentRequest) GetPublic() bool

func (*UpdateDocumentRequest) GetState

func (x *UpdateDocumentRequest) GetState() string

func (*UpdateDocumentRequest) GetTitle

func (x *UpdateDocumentRequest) GetTitle() string

func (*UpdateDocumentRequest) ProtoMessage

func (*UpdateDocumentRequest) ProtoMessage()

func (*UpdateDocumentRequest) ProtoReflect

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

func (*UpdateDocumentRequest) Reset

func (x *UpdateDocumentRequest) Reset()

func (*UpdateDocumentRequest) Sanitize added in v0.8.1

func (m *UpdateDocumentRequest) Sanitize() error

func (*UpdateDocumentRequest) String

func (x *UpdateDocumentRequest) String() string

func (*UpdateDocumentRequest) Validate

func (m *UpdateDocumentRequest) Validate() error

Validate checks the field values on UpdateDocumentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateDocumentRequest) ValidateAll

func (m *UpdateDocumentRequest) ValidateAll() error

ValidateAll checks the field values on UpdateDocumentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateDocumentRequestMultiError, or nil if none found.

type UpdateDocumentRequestMultiError

type UpdateDocumentRequestMultiError []error

UpdateDocumentRequestMultiError is an error wrapping multiple validation errors returned by UpdateDocumentRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateDocumentRequestMultiError) AllErrors

func (m UpdateDocumentRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateDocumentRequestMultiError) Error

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

Cause function returns cause value.

func (UpdateDocumentRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateDocumentRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateDocumentRequestValidationError) Field

Field function returns field value.

func (UpdateDocumentRequestValidationError) Key

Key function returns key value.

func (UpdateDocumentRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateDocumentResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateDocumentResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateDocumentResponseValidationError) Field

Field function returns field value.

func (UpdateDocumentResponseValidationError) Key

Key function returns key value.

func (UpdateDocumentResponseValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateTemplateRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateTemplateRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateTemplateRequestValidationError) Field

Field function returns field value.

func (UpdateTemplateRequestValidationError) Key

Key function returns key value.

func (UpdateTemplateRequestValidationError) Reason

Reason function returns reason value.

type UpdateTemplateResponse

type UpdateTemplateResponse struct {
	Template *documents.Template `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTemplateResponse) Descriptor deprecated

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

Deprecated: Use UpdateTemplateResponse.ProtoReflect.Descriptor instead.

func (*UpdateTemplateResponse) GetTemplate added in v0.8.21

func (x *UpdateTemplateResponse) GetTemplate() *documents.Template

func (*UpdateTemplateResponse) ProtoMessage

func (*UpdateTemplateResponse) ProtoMessage()

func (*UpdateTemplateResponse) ProtoReflect

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

func (*UpdateTemplateResponse) Reset

func (x *UpdateTemplateResponse) Reset()

func (*UpdateTemplateResponse) 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

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

Cause function returns cause value.

func (UpdateTemplateResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateTemplateResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateTemplateResponseValidationError) Field

Field function returns field value.

func (UpdateTemplateResponseValidationError) Key

Key function returns key value.

func (UpdateTemplateResponseValidationError) Reason

Reason function returns reason value.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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